y specifies the number of bytes in the vertical direction.

c1 specifies the beginning character code for the definition, and c2 specifies the final code.

x specifies the number of dots in the horizontal direction.

d is the dot data for the characters. The dot pattern is in the horizontal direction from the left side. Any remaining dots on the right side are blank.

The allowable character code range is from ASCII code 20H(32) to 7EH(126).

The data to define a user-defined character is (y × x) bytes.

Set a corresponding bit to 1 to print a dot or 0 to not print a dot.

ESC m nL nH d1 ... dk

[Name]

Select bit-image mode

 

 

[Format]

ASCII

ESC

m nL nH d1 ... k

 

Hex

1B

2A

m nL nH d1 ... k

 

Decimal

27

42

m nL nH d1 ... k

[Range]

m = 0, 1, 32, 33 (for the paper roll)

 

m = 0, 1 (for the slip paper)

0nL ≤ 255

0nH ≤ 3

0d ≤ 255

[Description]

Selects a bit-image mode using m for the number of dots specified by

 

 

nL and nH, as follows:

 

 

 

(For the paper roll)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Vertical Direction

Horizontal

 

 

 

 

direction

 

 

 

 

 

 

 

m

Mode

 

 

 

 

Number of Data (K)

 

Number of

Dot

Dot

 

 

 

 

 

 

 

Bits

Density

Density

 

 

 

 

 

 

 

0

8-dot single-density

8

60 DPI

90 DPI

nL + nH × 256

 

 

 

 

 

 

1

8-dot double-density

8

60 DPI

180 DPI

nL + nH × 256

 

 

 

 

 

 

32

24-dot single-density

24

180 DPI

90 DPI

(nL + nH × 256) × 3

 

 

 

 

 

 

33

24-dot double-density

24

180 DPI

180 DPI

(nL + nH × 256) × 3

 

 

 

 

 

 

 

5-6Commands

Page 67
Image 67
Epson TM-H5000/H5000P manual 6Commands, ESC m nL nH d1 ... dk