Comment 47 for bug 310575

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

ferro, that means that the PostScript which current Ghostscript and current Poppler are producing from PDF input does not trigger paper tray changes in your printer.

To investigate how PostScript has to look like so that tray changes will happen (so that one can improve filters in the future) can you please try the following:

Make some copies of the printout file which you have attached in the last posting.

Have a look at all four page headers, beginning with "%%Page" and ending with "%%EndPageSetup". Now we try two approaches to make the PostScript file switching trays:

1st approach: Remove the very first "%%PageBoundingBox:" lines directly after "%%Page". Do not remove the "%%PageBoundingBox:" lines after "%%BeginPageSetup".

2nd approach: Somewhere between "%%BeginPageSetup" and "%%EndPageSetup" setup add the line

<</PageSize [XXX YYY] /ImagingBBox null>> setpagedevice

replacing XXX and YYY by the two numbers in the beginning of the line which ends with "setpagesize".

3rd approach: Do both the 1st and the 2nd approach.

Edit always all four page headers as described. Send all the three approaches unfiltered (with the "nc ..." command line) to the printer. Which of these approaches make the printer switching trays.

If you can get hold on a machine with an old CUPS 1.2.x environment where the tray switching still worked, please make a copy of your print queue which prints into a file there, too (see my previous postings, "lpadmin -p test ....") and post the output PostScript file from there.

This is all to allow improvements of the filters in the future. For Intrepid we will make an SRU to at least get back to Hardy's behavior of scaling down the A3 pages to A4.