Skip to main content
Skip table of contents

(v13) PolicyReport procedures

This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP.

PolicyReport is a standard PostScript Level 2 page device hook (see [RB2], section 4.11). You can use it for a wide variety of purposes, but generally it is useful for passing on messages to the RIP monitor window or equivalent.

The Harlequin RIP itself sometimes makes use of PolicyReport. The Cassette Manager in GUI versions sets up a policy report to provide warnings of excess media width arising from a failure to match page size.

Adobe implementations of a4tray and lettertray (not documented in either the first or second edition of the PostScript Language Reference Manual but is present in most implementations; see (v13) Raster sizes: paper trays) produce a rangecheck error if the paper tray required by the operator is not present. They execute an error procedure within the policy report for page size. The Harlequin RIP does not normally do this, because normally such jobs should be printed irrespective of paper size requests. However, that behavior could be reinstated like this:

            userdict begin % may not be needed depending on context
            /lettertray {
              //lettertray exec
                /PolicyReport <<
                  /PageSize { /lettertray /rangecheck .error }
              >> setpagedevice
            } bind def end
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.