WINPRINT-SET-BKMODE

Usage

CALL "WIN$PRINTER" 
     USING WINPRINT-SET-BKMODE 
       desired-bkmode

Parameters

bkmode bkmode may be either:
78 WPRT-BKMODE-TRANSPARENT              VALUE 1.
78 WPRT-BKMODE-OPAQUE                   VALUE 2.

Description

WINPRINT-SET-BKMODE enables you to set the background mode for printing. This is useful for adding watermark effect to prints.

By calling this op-code, the printing mode of the current print job is set accordingly. Note that if you have multiple print jobs, and you are not setting the current print job, WINPRINT-SET-JOB must be called prior to this op-code to target the correct print. A call to this function with no active print will be ignored, and a value that differs from those specified above will be ignored.