OptionalContentOptions parameters
This page applies to Harlequin v14.0r0 and later; and to Harlequin Core but not Harlequin MultiRIP.
The OptionalContentOptions
PDF parameter allows you to fine tune which OptionalContent
groups the RIP prints. The entries that can be used in the OptionalContentOptions
dictionary in a dictionary of PDF parameters are as follows:
| (/ON or /OFF, optional), specifies the base visibility of all OCGs. This parameter is ignored when /Config is specified. When /BaseState is in use, no settings are taken from the job’s /D default OCCD. |
| (string, optional), specifies the name of an optional content configuration dictionary to use instead of /D. An error is reported if this OCCD is not in the job. |
| (/Print, optional), specifies that the /Print category from the Usage Dictionary should be applied for each group. This allows the RIP to emulate the manner in which Adobe Acrobat and other PDF file viewers (as defined by the PDF1.5 spec.) print PDF files with optional content. This is when Acrobat is printing (and not viewing), which is simulated by selecting the Acrobat layer option Apply Print Overrides. It is an error if the job does not contain the OCCD. |
/IgnoreParentVisibility | (boolean, optional), if |
| (array of strings, optional), the names (in string form) of optional content groups to show. A warning is issued if the OCGs are not found in the job. |
| (array of strings, optional), the names (in string form) of optional content groups to hide. A warning is issued if the OCGs are not found in the job. |
| (
The key The key The key The ProcSteps controls will turn on or off the visibility of Processing Steps OCGs. Processing Steps set to /ON are not visible unless either all enclosing OCGs are visible or When using a dictionary value for the ProcSteps key, entries are processed from least to most specific; for example, the following makes just the “Structural” Processing Steps visible and excludes those of the “Creasing” type:
TEXT
|
| (Boolean, optional), if |
Example:
<<
/OptionalContentOptions
<<
/Config (SpecialInk)
% use the (SpecialInk) Optional Content Configuration dictionary
% instead of the /D OCCD from /OCProperties in the /Catalogue dictionary
/Event /Print
% emulate Acrobat ApplyPrint Overrides
/ON [(SpecialMarks)(CutLines)]
% turn ON the (SpecialMarks) and (CutLines) groups, overriding the state
% that was set by /Event and /Config.
/OFF [(StaplePositions)]
% turn OFF the (StaplePositions) group, overriding the state that was set
% by /Config, /Event and /ON.
/SuppressPage true
% suppress normal page content
>>
>> setpdfparams
The order of application of these settings when determining OCG visibility is:
/Config
/BaseState
(only if/Config
has not been specified)/D (
only if neither/Config
nor/BaseState
has been specified)/Event (
ignored if/BaseState
has been specified)/ProcSteps
/ON
/OFF