You are not logged in.

#1 2016-07-02 14:38:55

arslonga
Member
Registered: 2014-12-29
Posts: 7

[solved] lpr: print-ranges option is ignored

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

#2 2016-07-02 14:50:26

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: [solved] lpr: print-ranges option is ignored

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

#3 2016-07-02 15:01:00

arslonga
Member
Registered: 2014-12-29
Posts: 7

Re: [solved] lpr: print-ranges option is ignored

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

#4 2016-07-02 15:01:31

arslonga
Member
Registered: 2014-12-29
Posts: 7

Re: [solved] lpr: print-ranges option is ignored

Damn, I'm an idiot is page-ranges, not print-ranges...

Guess it's solved.

Offline

#5 2016-07-02 15:04:14

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: [solved] lpr: print-ranges option is ignored

That's funny. Thanks.

Offline

Board footer

Powered by FluxBB