Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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>
share|improve this question
    
Which version of CUPS? –  Kurt Pfeifle Jan 14 '11 at 19:24

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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