PR INTL acro PRINTL Use the PRINTL macro instruction to write a line to a virtual printer.
The format of the PRINTL macro instruction is:
rI [label] I PRINTL I line [,length] [,ERROR:erraddr] L . ____ -l label
line
is an optional statement label.
specifies the line to be printed. It may be:, linetext'
lineaddr
(reg)
text enclosed in quotation marks.
the symbolic address of the line.
a register containing the address of the line.
length specifies the length of the line to be printed.
It may be:(See Note 1.)
(reg)
n.. a register containing the length.
a self-defining term indicating the length.ERROR:erraddr specifies the address of an error routine to be given control
if an error is found. IfERROR: is not coded and an error
occurs, control returns to the next sequential instruction in
the calling program, as it does if no error occurs.
1. Themaximum length allowed is 151 characters on a virtual 3211 or
133 characters on a virtual1403 or 3203. If you do not specify
the length, it defaults toljj characters, unless ilinetext
i
is
specified. In this case, the length is taken from the length of the
line text.
2• The first character of the line is
control character, which may be either
The validASA control characters are:
interpreted as a carriageASA (ANSI) or machine code. B.gX l1ganing l1f 40 Space 1 line before printing 0 FO Space 2 lines before printing 60 Space 3 lines before printing
+ 4E Suppress space before printing
1 FlSkip to channel 1
2 F2Skip to channel 2
3 F3Skip to channel 3 4 F4 Skip to channel 4 S F5 Skip to channel 5 6 F6 Skip to channel 6
7 F7Skip to channel 7
8 F8Skip to channel 8
9 F9Skip to channel 9 A C1 Skip to channel 10 B C2 Skip to channel 11
C
C3Skip to channel 12 330 VM/3
7 0 CMS Command and Macro Reference
The format of the PRINTL macro instruction is:
r
line
is an optional statement label.
specifies the line to be printed. It may be:
lineaddr
(reg)
text enclosed in quotation marks.
the symbolic address of the line.
a register containing the address of the line.
length specifies the length of the line to be printed.
It may be:
(reg)
n
a self-defining term indicating the length.
if an error is found. If
occurs, control returns to the next sequential instruction in
the calling program, as it does if no error occurs.
1. The
133 characters on a virtual
the length, it defaults to
i
is
specified. In this case, the length is taken from the length of the
line text.
2
control character, which may be either
The valid
interpreted as a carriage
+ 4E Suppress space before printing
1 Fl
2 F2
3 F3
7 F7
8 F8
9 F9
C
C3
7 0