When using a non C locale such as fr_FR.ISO8859-1, the CUPS messages returned by lpq are translated. However, the parser in ParseJobs.C can only handle messages in English. As a result, dtprintinfo exits immediately with an error message. To fix that problem we force a LANG=C environment when calling lpq so that messages will be in English and will be processed correctly by dtprintinfo parser. |
||
|---|---|---|
| .. | ||
| PrintObj | ||
| BaseObj.C | ||
| BaseObj.h | ||
| Imakefile | ||