Initialize printer (esc @), Select n/72 inch line spacing (esc a), Set vertical tabs (esc b) – Compuprint 4247-Z03 Programmer Manual User Manual
Page 74: Select n /72 inch line spacing (esc a)
Option
Alternate Code
NN
Horizontal
Density
(dots/in.)
Single-Density
ESC K
0
60
Double-Density
ESC L
1
120
High-Speed Double-Density *
ESC Y
2
120
Quadruple-Density *
ESC Z
3
240
CRT I
NONE
4
80
Plotter (1:1)
NONE
5
72
CRT II
NONE
6
90
Double-Density Plotter
NONE
7
144
Note: (*) Adjacent dots cannot be printed in this mode.
Initialize Printer (ESC @)
1B
40
This control resets all print related parameters to values previously saved and clears the buffer of printable
data.
Select n/72 Inch Line Spacing (ESC A)
1B
41
NN
This control sets a line spacing value for subsequent line feeds.
NN is a one-byte hexadecimal number that specifies the line spacing value of NN/72 inches.
The value of NN is 0 to 85. Following are example values for NN:
X'18'
3 LPI
X'12'
4 LPI
X'0C'
6 LPI
X'09'
8 LPI
X'08'
9 LPI
X'06'
12 LPI
Set Vertical Tabs (ESC B)
1B
42
N1
N2...00
This control sets the vertical stops. The maximum number of tab stops supported is 16. The settings are
not affected by subsequent changes in line spacing. The tab settings must be in ascending order (N1, N2,
etc.) with the 0 character indicating the end of the command. Values of N are 1 to 255. All settings are
stored in Channel 0. See “Select Vertical Tabs in Channels (ESC b)” on page 60. To clear the tab settings,
use ESC B 0.
54
Programmer Manual