When converting to PDF- print only specific pages

Is there a way to choose which pages are printed to pdf? Typically we have a lot of data that makes up the report, and only want to print one page (e.g. the first and second). Is there a way to do this?

I figured out that you can use setVeryHidden(true) and it will not print the page.