Env: xfce4 + ubuntu + bash
Printer is configured by hplip.
lp -o landscape -o fit-to-page -o media=A4 -o number-up=2 -o number-up-layout=lr -o page-ranges=320,289,321,300 ~/Documents/test.pdf
lp: Bad page-ranges values 289-289.
The pdf file has more than 500 pages. I want to incorporate a command in a script which can print random pages I select 2 pages on 1 side of an A4 sheet.
320,289,321,300
try selecting pages to print in numerical order (289,300,320,321
). It looks likelp
cannotseek
in a.pdf
.lp
commands - (320), (289,321) and (300). I repeatlp
can't seek.