Dual density bit image graphics type 2 (esc y), High density bit image graphics (esc z), Print all characters (esc \) – Compuprint 4247-Z03 Programmer Manual User Manual
Page 41: Reverse line feed (esc ])
Dual Density Bit Image Graphics Type 2 (ESC Y)
1B
59
LL
HH
NN...NN
This control prints the supplied bit image data at 120 horizontal pel by 72 vertical pel. Bit image data can
be mixed with text data on the same line. Horizontally adjacent dots are not allowed and will be removed if
specified.
A two-byte count (LL HH) indicates the number of bytes that follow in this control. LL is the least significant
byte of the count; HH is the most significant byte. (The number of bytes that follow should equal HH
× 256
+ LL.) If the count equals X'0000', the control is ignored.
NN...NN are the bytes containing the bit image data. The data format is in 8-bit vertical slices, with the
least significant bit the bottom dot and the most significant bit the top dot. B'1' indicates a pel to be printed;
B'0' indicates an un-printed pel. Data that exceeds the right margin is discarded.
High Density Bit Image Graphics (ESC Z)
1B
5A
LL
HH
NN...NN
This control prints the supplied bit image data at 240 horizontal per by 72 vertical pel. Bit image data can
be mixed with text data on the same line.
A two-byte count (LL HH) indicates the number of bytes that follow in this control. LL is the least significant
byte of the count; HH is the most significant byte. (The number of bytes that follow should equal HH
× 256
+ LL.) If the count equals X'0000', the control is ignored.
NN...NN are the bytes containing the bit image data. The data format is in 8-bit vertical slices, with the
least significant bit the bottom dot and the most significant bit the top dot. B'1' indicates a pel to be printed;
B'0' indicates an un-printed pel. Data that exceeds the right margin is discarded.
Print All Characters (ESC \)
1B
5C
LL
HH
This control forces a specified number of characters to be interpreted as graphic characters, including
those that occur in the space normally reserved for controls.
A two-byte count (LL HH) indicates the number of bytes to be interpreted as printable graphics. LL is the
least significant byte of the count; HH is the most significant byte. (The number of bytes that follow should
equal HH
× 256 + LL.) If the count equals X'0000', the control is ignored.
Reverse Line Feed (ESC ])
1B
5D
This command causes the contents of the buffer to be printed and advances the paper one line in the
reverse direction from the paper path.
Chapter 1. Personal Printer Data Stream (PPDS)
21