(v13) Other pagedevice hooks and history
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP.
Global Graphics Software added pagedevice
hooks at various times. A full summary follows:
| A hook to be run as rendering is about to start. This is not the end of page, as detected by the A See also (v13) StartRender procedures for more examples. | ||
| A hook to be run immediately before a partial paint | ||
| A hook to be run immediately after the job starts. The precise timing is that this hook is run before the job is actually run, but after the file is opened and initialized as You can use See also (v13) Using the job name from StartJob and EndJob hooks for hints on finding the job name from a | ||
| A hook to be run as the first painting operator is encountered | ||
| A hook to be run just after queueing all separations for rendering Outputting may abort for various reasons (memory or device problems, and so on), so this hook is not reliable as a way of telling if output has finished. Also, a call to | ||
| A hook to be run as the job is about to end. It is called at the job’s save level. This hook is run even if the job fails for some reason, allowing its use for clean-up operations. When the The See also (v13) Using the job name from StartJob and EndJob hooks for hints on finding the job name from a | ||
StartImage | A hook to be run at the start of images | ||
EndImage | A hook to be run at the end of images |
With the exception of StartPainting
, these hooks should not make graphic marks or cause pagedevice
deactivation.
You cannot use gsave
and grestore
within a /StartImage /EndImage
hook.