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