HP LineJet Printers - PCL-II/LinePrinter Plus Technical Reference Manual, 171249-001PX

182
Chapter 5 Configuring the Epson FX-1050 Emulation with Control Codes
Line Spacing 1/6 Inch (6 lpi)
ASCII Code ESC 2
Hex Code 1B 32
Dec Code 27 50
Purpose Sets the line spacing to 1/6 inch (6 lpi) for subsequent line feeds.
Discussion The 2 is ASCII
character
2, not hex 2.
When ESC 2 is received, all lines are printed at 6 lpi until a new
line spacing is selected or the printer is reset.
This control code overrides line spacing set at the control panel.
Example The following example illustrates 1/6-inch line spacing.
Line Spacing 1/8 Inch (8 lpi)
ASCII Code ESC 0
Hex Code 1B 30
Dec Code 27 48
Purpose Sets the line spacing to 1/8 inch (8 lpi) for subsequent line feeds.
Discussion The 0 is ASCII character 0 (zero), not hex 00. When ESC 0 is
received, all lines are printed at 8 lpi until a new line spacing is
selected or the printer is reset. This control code overrides line
spacing set at the control panel.
Example The following example illustrates 1/8-inch line spacing.