Comment 15 for bug 264727

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

The #2 does not break anything. If the input stream is PostScript and if it gets inserted into the input data stream it does not break anything. It sets the requested paper size by means of PostScript and Ghostscript understnds this and in our case (HPIJS) we feed the input stream directly into Ghostscript.

foomatic-rip should ignore the code of this line if "PageSize" is not a PostScript type option (for HPIJS "PageSize" is command line type). In general, foomatic-rip should prioritize the "*PageSize Custom: ..." and "*FoomaticRIPOption PageSize=Custom: ..." lines in the PPD file if present.

Please check with foomatic-rip 3.x (all distros except Ubuntu Intrepid) and foomatic-rip 4.x (Ubuntu Intrepid). In foomatic-rip 4.x I have already found a problem, http://bugs.linux-foundation.org/show_bug.cgi?id=171, Lars Uebernickel will fix it before Intrepid release, most probably next week.