Adjusting HqnImpose2 marks on every flat
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP
The AdjustMargins
prefix allows the position of marks on a flat design to be configured, but there are occasions when more dynamic control is required, for example, to select different ControlFile
files for different separations in a pre-separated workflow. This can be done in a FilmOverlay
procedure, which will be called immediately before the Marks
array is processed at the end of every flat.
In the example below an extra key named /Colorant
is assumed to have been added to every ControlFile
dictionary in the Marks
array, and only the mark where the value of this key matches the current separation name will be imaged:
/FilmOverLay { Marks {
dup /Colorant known { begin
/Enabled Colorant currentsystemparams
/Separation get eq def end
} { pop } ifelse
} forall
} bind