Revision C 16/01/96
Carriage return
CR
The CR control code (ASCII 13) moves the current print position to the left margin on the
current line.
If automatic line feed is ON, this code moves the current print position to the left margin on
the next line.
LPRINT CHR$(13);
Automatic line feed
Esc5n
When automatic line feed is ON, a line feed is automatically performed every time a carriage
return is sent to the printer.
To turn the automatic line feed function ON, set n to 1.
To turn the automatic line feed function OFF, set n to 0.
LPRINT CHR$(27); CHR$(53); CHR$(1); 'Turn auto line feed on
Enable printer
DC1
The DC1 control code (ASCII 17) enables the printer to accept data for printing again after a
disable printer instruction.
LPRINT CHR$(17);
Disable printer
EscQ22
or
EscQ3
These two commands stop the printer from accepting any data for printing or any control
codes until it has received a DC1 code (enable printer).
The DC3 code (ASCII 19) is not recognized by the printer.
LPRINT CHR$(27); CHR$(81); CHR$(22); 'Disable printer
(13)
<0Dh>
(27)(53)n
<1Bh><35h>n
(17)
(11h>
(27)(81)(50)(50)
(27)(81)(51)
Chapter 6 " IBM Proprinter XL " - 7
<1Bh><51h><32h><32h>
<1Bh><51h><32h>