Print only certain pages based on page numbers

Please note this is for print/generate PDF using the print dialog in designer, not workflow.

Is it possible to generate a print file for certain pages of a document. For example, we have a letter that gets printed 4-Up on SRA3 letterhead. The production team want a PDF for pages 1-2 and a second PDF for pages 3-4.

Another example is where I have to create a separate print file for page 2 of a document as it gets printed on different equipment. Not every document has a page 2 though. The document is also variable length.

Can it be done with CSS or a Control Script perhaps?

We could use separate sections for each page, but then we would need to run it twice and modify the script to turn off a particular section.

You could use the separation option in the Output Preset and define there that you whish to seperate at the document level. Then again, it all depends on how you decide what makes a document. Is it a certain page number, is it a keyword on the page,etc…