NBSpool for MPE Reference Guide

NBSpool Output Commands
3-69
PRINTDEF Control Strings
Control strings may be defined to be sent to the printer before and after the spool file is printed. The
control string is entered and displayed by entering or displaying the numeric value of the non-
printable characters and by delimiting the printable characters with quotes. The two need to be
separated by commas. For example:
27,”(s0p12H”,27,”&l1H”
The control string may be up to
192
ASCII characters long. A long control string may be entered in
one of two ways. Either continue typing until the entry is complete, allowing the terminal to
perform wrap around on the display:
Send before printing :
27,”(s0p12H”,27,”&l1H”,27”&l#Z”,27,”&a0G”,27,”*c100G”,27, “*t100R”
or enter two ampersands (
&&
) at the end of the line to signify a continuation line:
Send before printing : 27,”(s0p12H”,27,”&l1H”,27,”&l#Z”,27,&&
“&a0G”,27,”*c100G”,27,”*t100R”
Note. Typing long control strings correctly can be challenging. If you prefer, you can
type the escape sequences into a flat ASCII file. Keep that file unnumbered, and
reference it by its fully qualified name (
file.group.account
) in the fields
Send Before
Printing
or
Send After Printing
. For example, if you typed your control sequences into a
file named
LJ5LAN.DATA.NETBASE
and kept it unnumbered, you would enter its name in
the field:
Send Before Printing : LJ5LAN.DATA.NETBASE