4.1 Normal-density bit image mode setting by ESC K + nl + nz

To convert the printer’s operation mode from Text to Normal-density Bit Image, the “ESC K +nl + nz” code must be input. (Here, the sign “+”is inserted for the purpose of legibility only and should not be input in actual operation.) Namely, when ESC (< 1 B> H and K (< 4B> H) codes and data ni and nz are input, the Printer recognizes the data following the “ESC K” as the bit image data.nl and nz are the hexadecimal numbers each consisting of 2 digits which define the amount of the bit image data to be transferred.

r-n represents the low-order two digits while nz represents the high-order two digits. In the normal-density bit image processing, the maximum number of dot positions printable per line is 576. Therefore, the values of ni and nz specified in excess of 576 dot positions are ignored and printing of the bit image data after the 576th dot position is not guaranteed.

Mixing of text data and bit image data is possible on the same line. NOTE: Assign values to nr and nz, respectively as follows.

n2

I I i I 1 I i

MSBLSB

215 216 213 212 2” 210 29 28

ni

MSBLSB

2’ 26 25 24 23 22 2’ 20

As shown above, nl is set hexadecimally as low-order bytes and nz as high-order byte.

(Ex. 1) Input data

Text (20 characters)

ESC

K

n = 576 Bit-image data

Next data

 

 

 

 

 

20 characters in text mode correspond to 120 bit-image positions (20 x 6 - 120). So the remaining printable positions in Bit-image mode are 456 (576 - 120 - 456). If 576 data are input as bit-image mode characters, the first 456 data can be printed but the remaining 120 data are ignored and thus not printed.

(Ex. 2) Input data

 

 

 

 

 

 

n2, ni

 

 

 

 

 

 

 

 

n’2, n’i

 

 

 

 

 

 

 

 

 

q

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data A

ESC

K

ni

nz

 

Data

B

 

 

Data C

ESC

K

n’i

n’z

Data

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit-image

data

 

j Text data

1 Bit-image

data {

 

 

 

 

 

 

 

 

/.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

576 bit-image positions

- 6 8 -