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>
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).