I need to make lpr print just the first page of my document, however it continues to print everything. Itried these commands:

lpr -P <myprinter> -o page-ranges=1 <myfile>
lp -d <myprinter> -o page-ranges=1 <myfile>
lp -d <myprinter> P 1 <myfile>
link|improve this question
Which version of CUPS? – pipitas Jan 14 '11 at 19:24
feedback

1 Answer

Appears it would be: lp -p 1

(plus whatever else you'll need to pass to lp to get it to print what you want to print).

http://www.computerhope.com/unix/ulp.htm

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.