A script-enabled browser is required for this page to function properly.

SRW.SET_BEFORE_PRINTING_CODE built-in procedure

This procedure inserts a reference to the printer escape sequence to be executed before each line of the object. The printer escape sequence is inserted after the object is triggered to print but before it has actually printed. Printer codes are only used when running your report in character-mode.

Syntax


SRW.SET_BEFORE_PRINTING_CODE('code');

Parameter

Description

code

Is a valid printer code that is defined the the .pty file specified for DESFORMAT.

GUI access

You can also define this attribute using the Reports Builder user interface:

Property Inspector

set the Printer Code Before property

See also

About the Reports Builder built-in package (SRW)

SRW built-in package