How to print selected pages

I have a large file and want to print out, but I don't want to print all, just some pages. Like if the file has 100 pages, I just want to print out page 3-34 and 67-87. How can I do?
By the way, I already try "lp -o page-ranges=value" command which doesn't work on my computer because -o <option> is not available on my Unix. So any other command I can use?

Try something like:

awk 'NR>2 && NR<35 || NR>66 && NR<88' file | lp

Regards

I tried, but it seem not work.
I entered "awk 'NR==2' file | lp" , the result is the printer printed the second line in the first page. But I want print the second page in the file. By the way, I am using Dot Matrix Printer, and in the file, page break uses Ctrl+L