This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP.

int dict pdfexecid -

Takes an execution context ID, as returned by pdfopen, and a dictionary of the same form as that passed to pdfexec and pdfopen. Any values present in the dictionary override those passed to the corresponding call to pdfopen . (Preceding calls to getPDFtrailer and getPDFobject make it possible to adapt the parameters to the contents of the file.)

pdfexecid images the file using the parameters in effect after any overrides.

From v11.0r2, pdfexecid can now specify PageRange, Page Order, and other parameters. PageRange is optional in pdfexecid ; if not specified, the value from pdfopen or setpdfparams is used.

Parameters that can't be used with/specified in pdfexecid result in:

%%[ Warning: Invalid param in pdfexecid dictionary. ]%%

Using PageRange also results in a Warning:

%%[ Warning: Page range restricts printing to the following page(s): 11-20 from an available 100]%%

pdfexecid has no side effects on the gstate or the pagedevice.