I have a PDF, with two pages. I want to print the first page x times and the second page y times. How would I go about this using lp? Is there a way to do this in a single command?

I'm using lp right now to print, so for an example I use the following command:

lp -d PRINTER -n x output.pdf

I don't know how to do it in one command, but how about two?

lp -d PRINTER -n x -P 1 output.pdf
lp -d PRINTER -n y -P 2 output.pdf
  • Also the conclusion I came to, sadly no way to write it in one command. – cenh Sep 30 '16 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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