Is there a way to send a PDF file (or files) to the printer via the command line, but print only, say, odd-numbered pages? E.g., lpr -{some option} *.pdf Or perhaps {some command to get odd-numbered pages} *.pdf | lpr. This would be faster than opening each file, opening the Print dialogue, and telling it to print pages 1, 3, 5, 7, 9... The idea is to print all odd pages, then I can print the even numbered pages on the other side of the paper.
|
|
|||
|
|
|
Try
You can find the documentation of this and other lpr options in the cups documentation. |
|||
|
|
An alternative to the cups solution by fschmitt - for example if you only have some limited lpr available - is the command psselect. For example for manual duplex printing in a printer without a duplex unit:
Well, only works if your printer has a rock solid paper transport mechanism ... -e selects only the even pages, -o odd ones, and -r reverses the selection |
|||
|
|
|
If you choose to preprocess the PDF (for example because your printing framework is not CUPS and doesn't support page selection), you can do it with pdftk.
Depending on how cheap your printer is, you may need to print the odd pages in reverse and the even pages in order: move |
|||||
|