Appendix B – Printer Control Codes
6824 Mobile Full Page Printer User Manual 65
Page Formatting Control Codes
These control codes change the formatting of the page:
• The page length (form length) and margin settings define the printable area
on the page, and must conform to the actual size of the paper used in the
printer.
• The line spacing control codes set the amount of space from one line to the
next, for line feeds. The page length, vertical tab, and skip over perforation
functions are dependent on the line spacing function.
Select Unidirectional (one line) Printing
Description: Turns on unidirectional printing for the current line only. The contents of the print buffer
are printed and the buffer is cleared before setting this mode. This allows more accurate
print positioning for the current line during text mode printing.
Decimal: 27 60
Hex: 1B 3C
ASCII: ESC “<”
Set Page Length (lines)
Description: Sets the length of the paper in lines. Range of n (number of lines) is 1 to 127. Default is
66.
This function depends on the line spacing and actual length of the paper. Top-of-Form
is reset to the current line and the Skip Over Perforation setting is canceled.
Decimal: 27 67 n
Hex: 1B 43 n
ASCII: ESC “C” n
Set Page Length (inches)
Description: Sets the length of the paper in inches. Range of n (number of lines) is 1 to 22. Default
is 11.
This function depends on the line spacing and actual length of the paper. Top-of-Form
is reset to the current line and the Skip Over Perforation setting is canceled.
Decimal: 27 67 0 n
Hex: 1B 43 00 n
ASCII: ESC “C” NUL n
Select 1/8-inch Line Spacing
Description: Sets the line spacing to 1/8 inch for subsequent lines.
Decimal: 27 48
Hex: 1B 30
ASCII: ESC “0”