Printing pages from 7 to 17 by lpr
lpr -P myprinter -o page-ranges=7-17
where myprinter
is the name of your printer
Masi, the command IS documented on your Ubuntu box, in the online-help for CUPS. Visit
http://localhost:631/help/options.html?TOPIC=Getting+Started&QUERY=#PAGERANGES
to see what I mean.