Specifications

Revision C 16/01/96
Chapter 4 "Diablo 630" - 8
Set forward printing mode
Esc5 (27)(53) <1Bh><35h>
This command enables the printer to print text to the right of the right margin.
Text cannot be printed outside the printable area.
The Set Backward Printing Mode command, Esc 6, the Auto Backward Printing Mode command,
Esc /, and the carriage return control code, CR, all cancel forward printing.
LPRINT CHR$(27); CHR$(53); 'Forward printing
Set backward printing mode
Esc6 (27)(54) <1Bh><36h>
This command causes the printer to print text from right to left and also enables the printer to print
text to the left of the left margin.
Text cannot be printed outside the printable area.
The Set Forward Printing Mode command, Esc 5, the Auto Backward Printing Mode command, Esc
/, and the carriage return control code, CR, all cancel backward printing.
LPRINT CHR$(27); CHR$(54); 'Backward printing
Auto backward printing mode
Esc/ (27)(47) <1Bh><2Fh>
This command cancels forward printing mode or backward printing mode. Subsequent text is printed
within the left and right margins.
LPRINT CHR$(27); CHR$(47); 'Normal printing mode
Cancel auto backward printing mode
Esc\ (27)(92) <1Bh><5Ch>
The printer ignores this command.
Line feed
LF (10) <0Ah>
The LF control code (ASCII code 10) moves the current print position down the page by a distance
equal to the current VMI.
This code does not cause a carriage return to be performed.
A line feed that would move the print position below the bottom margin moves it to the top of the
next page instead and performs a page eject.
LPRINT CHR$(10); 'Line feed