Skip to main content
Skip table of contents

EraseColor in the page device


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

The EraseColor setpagedevice key (for more information see Raster devices and setpagedevice) is used to set the background color of the page, that is; those regions of the page where no objects have been painted. By default, the background color is clear for all colorants, that is; no ink:

CODE
<< /EraseColor {[/Separation /All /DeviceCMYK {pop 0 0 0 0}] setcolorspace 0 setcolor} >> setpagedevice

When color management is used, and especially when absolute rendering intents are used, it is usually good practice to set the background white of the output media to match a color managed CMYK white using this PostScript language fragment:

CODE
<< /EraseColor {0 0 0 0 setcmykcolor} >> setpagedevice

When using relative rendering intents, this lays down zero ink in most cases (although there are some rare exceptions with non-compliant ICC profiles). The value comes when using an absolute rendering intent where it is important to set the page background to match that of a color managed white object. If this is not done, there may be obvious boundary artifacts around white objects when white objects are color managed to a non-white, while the background remains clear.

Setting the erase color to a color managed CMYK white works well for all known practical print use cases.

If the EraseColor background is significantly non-white, it isn't recommended to be used with separation omission because the printed page background may have an unexpected color. For more information see Omit in SeparationDetails.

If object-based color management is used, (for more information see Object-based color management), the object type used when deriving the EraseColor is Other, also known as linework.

See Simple interception of device color spaces, and Color management for simulating paper color for additional detail for particular use cases.

If using an EraseColor with separation omission see Prevent unintentional auto-separation.

JavaScript errors detected

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

If this problem persists, please contact our support.