Comment 44 for bug 310575

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

Can you do the following:

gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sOUTPUTFILE=%stdout -dLanguageLevel=3 combined.pdf > combined.ps
nc -w1 <IP of your printer> 9100 < combined.ps

Are the trays changed correctly now?

PPD=/etc/cups/ppd/<name of your print queue>.ppd /usr/lib/cups/filter/pstops 1 1 1 1 '' combined.ps > combined2.ps
nc -w1 <IP of your printer> 9100 < combined2.ps

Are the tray correctly changed here?

Create a print queue identical to your existing one, but printing into a file:

cupsctl FileDevice=yes
lpadmin -p test -E -v /tmp/printout -P /etc/cups/ppd/<name of your print queue>.ppd

Print combined.pdf into this queue. Attach /tmp/printout to this bug report (you must "sudo chown" it to you to be able to open and copy it). Do you get automatic tray changes here?