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?

-- 
A3 pdf file is cropped and printed on A4 paper
https://bugs.launchpad.net/bugs/310575
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to