Specifications
Revision C 16/01/96
Chapter 4 "Diablo 630" - 10
Carriage return
CR (13) <0Dh>
The CR control code (ASCII 13) moves the 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. You can turn on automatic line feed either using the Esc " command or with the control panel
switches.
The CR code cancels the following modes: shadow printing, bold printing, double-strike printing,
forward printing and backward printing.
LPRINT CHR$(13); 'Carriage return
Set automatic line feed
Esc" (27)(34) <1Bh><22h>
This command turns on the automatic line feed facility. Every time the printer executes a carriage
return it executes a line feed as well.
Invoking this code overrides any previous “auto LF” control panel setting you have made.
LPRINT CHR$(27); CHR$(34); 'Auto line feed on
Cancel automatic line feed
Esc# (27)(35) <1Bh><23h>
This command turns off the automatic line feed facility that you set with the Esc " command.
LPRINT CHR$(27); CHR$(35); 'Auto line feed off
Set graphics mode
Esc3 (27)(51) <1Bh><33h>
In graphics mode the print position does not change when a character is printed, hence consecutive
characters printed in this mode will be placed one on top of another.
In this mode the line feed and reverse line feed commands will move the print position down or up
by 1/48", and the space and backspace codes will move the print position right or left by 1/60",
irrespective of the current VMI and HMI settings.
Both the Esc 4 command and the carriage return control code, CR, cancel graphics mode.
LPRINT CHR$(27); CHR$(51); 'Turn graphics mode on