Provides the ability to print arbitrary ranges of pages, rather than a single range as provided by SetPageRange().
The page range is specified as a comma separated list of hyphenated ranges, for example “1-2,4,7-10”.
Note that when previewing, pages that will not be printed are shown with a heavy grey background.
This is a read/write property.
enhancedFormatting.pageRange = sPageRange;
Check out the source code of the ScriptX Page Range sample.