EndJob (page device)
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP
Param | Val | ExType | Vers | Use? | HPS | Ref |
x | H | Y | All |
A dictionary of procedures, each of which is executed (in an arbitrary order) as the job is about to end. This hook is run even if the job fails for some reason, allowing its use for clean-up operations. The contents of the dictionary provided for this key in the operand dictionary of setpagedevice
is merged with the one in the page device so additional procedures can be added to this hook.
This hook is called at the job’s save level.
When an EndJob
hook is called, a boolean value is at the top of the operand stack, with true
indicating that the job terminated with an error. The EndJob
hook must leave the boolean on the stack but may examine its value to decide whether to perform any cleanup action.
See also Using the job name from StartJob and EndJob hooks for hints on finding the job name from an EndJob
hook.
Default: << >>