AddPageRange in the HqnControl procset
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP
This procedure is used to add file type specific handling of page ranges. If no handling procedure is installed for a file type, then the PostScript handling procedure will be used. Procedures will be called with the PageRange
array on the operand stack, and they are expected to consume it. Note that these procedures are not called to execute the file, but to pre-configure the environment in such a way that when the execution procedure is called only the requested pages will be rendered.
/MyType { statusdict /MyTypeRange 3 -1 roll put } bind
/HqnControl /ProcSet findresource /AddPageRange get exec