4.1. Normal-density bit image mode setting by ESC K + nl + n2
To | convert the | printer’s | operation mode | from | Text to | Bit | Image, | |||||||
t h e “ E S C | K | + In+ | n2 ” | code must be | input. | (Here, | the sign | “+" is | inserted for | |||||
the | purpose | of legibility only and should | not be | input | in | actual | operation.) Namely, | |||||||
w h e n E S C | ( < 1 B >H ) | and K (<4B>H ) codes and data | nl a n d | n2 are | input, | the | ||||||||
Printer recognizes the data following the “ESC | K” as the bit image data. lnand | n2 | ||||||||||||
are | the hexadecimal numbers each consisting of 2 digits | which | define | the | amount | |||||||||
of | the bit image | data | to | be | transferred. |
|
|
|
|
|
|
|
| |
n1 represents | the | two digits while n2 represents | the | two | digits. |
In the
printable per line is 480. Therefore, the values of nl and n2 specified in excess of 480 dot positions are ignored and printing of the bit image data after the 480th dot position is not guaranteed.
Mixing of text data and bit image data is possible on the same line.
NOTE: Assign values to n1 and n2, respectively as follows.
As shown above, n1 is set hexadecimally as
(Ex. 1) Input data
20 characters in text mode correspond | to 120 | 6 | = | 120). | |
So the remaining printable positions in | (480 - 120 = | 360). | |||
If 480 data are input as | characters, the first 360 | data can | be |
| printed |
but the remaining 120 data are ignored | and thus not printed. |
|
|
|
|
- 6 8 -