Comment 14 for bug 263049

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

I have checked it now and it works as advertized on real printers. The "bc" dependency is really needed as page sizes and margins can be given as floating point numbers, whereas the shell's "$[...]" construct is only capable of calculating with integers. "bc" is usually already installed, so there will be no new package blowing up the desktop CDs.

I have committed the package to the SVN.

Current state now is that for all PPDs with a "Resolution" option or at least with a "*DefaultResolution: ..." entry the left hand side info box on the CUPS test page is absolutely correct. The right hand side info box will always show Ghostscript, also if the printer is a native PostScript printer used with a Ghostscript-less PPD file.

Suggestion for further improvement: Let cpdftocps also take paper size, margins, and resolution into conversion process, simply to assure that the conversion is done the best way possible.