Configuring the page device
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP.
The page device is a raster device rather than an input/output device of the core-RIP interface. (For the different PostScript-language meanings of “device”, see What is a device?) It is used to control the output of the RIP.
The page device is accessed through the operators setpagedevice
and currentpagedevice
. [RB3] explains carefully the mechanism by which these operate (section 6), but does not give much background. This chapter considers the page device from a functional point of view.
The chapter also describes the mechanisms which the Harlequin RIP offers to extend the functionality of the page device, and some of the extensions built in. Some of these extensions are subjects in their own right, however, and are considered more fully in their own chapters: for example page imposition (Imposition), color separation (Color separation), color formats (Continuous tone and color printers) and so on. See Page device keys for a full list.
The keys in the dictionary operand of setpagedevice
can be grouped as follows (whether they are listed in [RB3] or are RIP extensions):
- Built-in keys . These are present in all implementations and affect the operation of the RIP (except for some obsolete ones). For example,
/PageSize
is always present. - Device-specific keys . These are keys which have no bearing on the operation of the core-RIP, but are simply passed through the page device to the
%pagebuffer%
device. An example might be a printer with optional lamination of the emerging paper. A Boolean key could be introduced, say/Lamination
, which iftrue
causes lamination to occur and iffalse
not to. - Hooks . A hook is a procedure or similar that will be executed when a job reaches a particular point, allowing the behavior of jobs to be modified in some way.
/BeginPage
is an example of a hook which is defined in [RB3]./StartRender
,/OperatorActions
,/SensePageDevice
are examples of RIP extensions which are hooks. See Hooks for adjusting setpagedevice for details.