Hooks for adjusting setpagedevice
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP.
Certain keys in the page device, documented below, have values that are procedures or reference procedures. These hooks are used to change the behavior of jobs when they use setpagedevice
.
Most hooks need to call currentpagedevice
liberally. currentpagedevice
is not an expensive operation (it does not construct a dictionary on the fly, but just returns the page device dictionary in force at the time). All hooks are called after the setpagedevice
operator has merged its operand dictionary with the page device, so currentpagedevice
returns the up-to-date dictionary.