Comment 29 for bug 984082

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The cupsRasterInterpretPPD() of the CUPS image library understands the PostScript code in the PPD. So the selected setting of an option contains the code to set the output resolution to 600 dpi the function finds this, regardless of the name of the option and the name of the setting, for example also in the "Medium" setting of a "Quality" option. This is more reliable than option and setting names. I have found a PPD where the resolution option has the choices "1200dpi" and "4800CQ". You will think that the latter is the higher resolution, but the first contains the PostScript code for 1200 dpi the second for 600 dpi. Only if no resolution setting in the PPDs PostScript code is found, option and choice names are used and only if also this fails a default of 300 dpi is used.