Skip to main content
Skip table of contents

(v13) Instantiating PostScript plugin devices

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

The RIP devices provided by a PSDEV plugin need to be instantiated using PostScript language before they can be used, using the devmount and setdevparams operators. For example

TEXT
      statusdict begin mark
      (%mydevice0%) devstatus not
      {
        (%mydevice0%) dup devmount pop
        <<
            /Password 0
            /DeviceType 16#000b9999 % See Note below
            /Enable true
            /SearchOrder -1
        >> setdevparams
      } if cleartomark
    end

The number given for the DeviceType key links the device, as created in PostScript language in the interpreter, with its implementation in the DEVICETYPE structure. The number also appears in the DEVICETYPE structure.

The DeviceType key is a unique identifier for the device type. Therefore, to avoid clashes, it should contain your OEM number in the top 16 bits of the number, and then a number unique to your company in the bottom 16 bits.

This example is for an OEM with number 0xB.

The number is also returned in the D_PSDEV_GETDEVTYPE selector.

JavaScript errors detected

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

If this problem persists, please contact our support.