Print specified pages

How can I either print or export to PDF specific pages? There seems no way to do this. I tried to export to pdf, but it works only single page, and the result is blank.