You are not logged in.
Basically I want to print on both sides with a printer that has no hardware duplex support.
So I'm trying to use the following commands to print 4 pages on 2 sheets:
lpr -o print-ranges=11,15,23,27 -o page-set=odd -o outputorder=reverse file.pdf
lpr -o print-ranges=11,15,23,27 -o page-set=even file.pdf
This is not working because the print-ranges option is ignored and the whole document is being printed.
Printing only those pages from the Firefox PDF.js viewer works, it appears that is a command line problem.
Any advice?
CUPS: 2.1.4-1
Printer: Samsung_M2026W
Last edited by arslonga (2016-07-02 15:01:56)
Offline
Basically I want to print on both sides with a printer that has no hardware duplex support.
It's not a duplex printer? What physical steps do you envision?
Offline
My plan is to run the first command:
lpr -o print-ranges=11,15,23,27 -o page-set=odd -o outputorder=reverse file.pdf
print only odd pages in reverse order
then to take the printed sheets, turn them 180 degrees and then put them again in the paper tray,
finally to run the second command
lpr -o print-ranges=11,15,23,27 -o page-set=even file.pdf
For some reason my evil plan is ruined by cups that is ignoring the print-ranges option.
Offline
Damn, I'm an idiot is page-ranges, not print-ranges...
Guess it's solved.
Offline
That's funny. Thanks.
Offline