Get the name of the printer
lpstat -pGet the options:
lpoptions -p DCP1510 -lPrint:
lp -d DCP1510 file.pdf
Double sided with a non duplex printer:
lp -d DCP1510 -o page-set=odd file.pdf
lp -d DCP1510 -o page-set=even file.pdf
Flip the order so once the odd pages are printed, you print from the last even pages:
lp -d DCP1510 -o page-set=even -o outputorder=reverse file.pdfSkip the first two page:
lp -d DCP1510 -o page-ranges=3- file.pdfSelect the resolution:
lp -d DCP1510 -o Resolution=2400x600dpi file.pdf
Combining all the options above:
$ lp -d DCP1510 -o page-set=odd -o page-ranges=3-98 -o Resolution=2400x600dpi book.pdf
$ lp -d DCP1510 -o page-set=even -o page-ranges=3-98 -o Resolution=2400x600dpi -o outputorder=reverse book.pdf
This will first print the odd page and then the even page in reverse order. The cover (front and back) will be ignored.