Select n/72 inch line spacing (esc a), Set vertical tabs (esc b), Set page length (esc c) – Compuprint 4247-Z03 Programmer Manual User Manual
Page 35
Image Length = 11 with a remainder of 2
Image Length = 12 bytes per character
If both printer provided images and downloaded images are to be printed from the same local font ID, we
recommend that the downloaded images be sent, using this control, at the start of a print job when the
print environment for the job is established. This ensures that the actual printed output appears as
intended.
It is also recommended that image data bits for the last vertical column of NLQ character patterns be all
zeros. The last vertical column will be clipped if NLQ character patterns are expanded for graphics
printing. Resident NLQ text character patterns do not contain image data (dots) in the last column of the
character box.
Select n/72 Inch Line Spacing (ESC A)
1B
41
NN
This control stores the line spacing value, in units of 1/72 inch, which is later selected by Invoke Text Line
Spacing (ESC 2). The valid values for NN are X'01' to X'FF' (1 to 255). The default line spacing is X'0C'
(six lines per inch).
A value of 0 is not valid and causes the printer to ignore this command. Following are example values for
NN:
X'00'
No Change
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
TT...TT
00
This control sets the vertical tab stops. The maximum number of tab stops supported is 64. The Null
control code terminates this sequence. If the Null terminator is missing, the printer treats the next 64 bytes
as tab stops and ignores all the data bytes following these 64 bytes until a Null is received. If the printer
receives this sequence without any tabs specified, all tab stops are cleared.
TT...TT are the tab values that specify the tab stops as line numbers, relative to the top of the physical
page. Tab stops must be specified in ascending order; entries not in ascending order are ignored.
Set Page Length (ESC C)
1B
43
LL
IN
This control sets the physical page length in lines or inches and resets skip perforation mode.
LL is a one-byte hexadecimal number that specifies the page length in lines. The value is converted to
inches based upon the current line spacing. Valid values for LL are X'01' to X'FF', but the resulting page
length in inches must be less than 113.8 inches (2890 mm). If LL equals 0, then parameter II (length is
inches) is used.
Chapter 1. Personal Printer Data Stream (PPDS)
15