57
Slip printer: Prints a high density bit image of the number of dots specified by n1 and n2.
The value of n1 + 256 × n2 is between 1 and 420.
A maximum of 420 data bytes can printed in one line. Any data exceeding
420 bytes is ignored.
After printing the bit image, the printer automatically returns to the character
mode. The relationship between the pins on the print head and the data is the
same as those shown for the previous bit image code <ESC> “K”.
While printing a high density bit image, the horizontally adjacent dots
cannot be printed.
We will create the design below using a bit image.
First, since the volume of data is 30, n1 = (1E)H. If the data m1 ~ m30
is converted to hexadecimal, it appears as shown below.
Horizontal density is three times that of the bit image for <ESC>“k”.
(Compare the print samples.)
Data Binary Hexa-
decimal Data Binary Hexa-
decimal Data Binary Hexa-
decimal
m1 00000001 01 m11 00111110 3E m21 00111110 3E
m2 00011110 1E m12 00000010 02 m22 00101110 2E
m3 00111110 3E m13 00000010 02 m23 00101110 2E
m4 01011111 5F m14 00111110 3E m24 00111110 3E
m5 00011111 1F m15 00111110 3E m25 00101111 2F
m6 01011110 5E m16 00101111 2F m26 00101111 2F
m7 00011110 1E m17 00101111 2F m27 00111110 3E
m8 00111111 3F m18 00111110 3E m28 00111110 3E
m9 00101111 2F m19 00101110 2E m29 00000010 02
m10 00111110 3E m20 00101110 2E m30 00000010 02
EXAMPLE
Printing Sample