ESC & s n m [a [p] s a] m–n+1

[Function]

Defining the download characters

[Code]

<1B>H<26>H<s>H<n>H<m>H[<a>H<p1>H<p2>··<ps a>]m – n + 1

[Range]

s = 3 (Font A, B)

 

s = 2 (Font C)

 

32 n

m 126

 

0

a

12 (Font A)

 

0

a

9 (Font B)

 

0

a

8 (Font C)

 

0

p1 ⋅ ⋅ ps a 255

[Outline]

Defines the font of download characters of alphanumeric characters.

 

• “s” indicates the number of bytes in vertical direction.

 

• “n” indicates the start character code and “m” the end character code. To define

 

 

only one character, set n = m.

 

Character codes definable includes 95 ASCII codes in total in the range of <20>H to

 

 

<7E>H.

 

• “a” indicates the number of dots to be defined in horizontal direction.

 

• “p” is the data to be defined, which indicate a pattern equal to “a” dots in horizontal

 

 

direction from the left end. The rest of the pattern on the right side is filled with

 

 

space.

 

• The number of data to be defined is “s a”.

 

Download characters thus defined remain valid until redefinition, execution of ESC

 

 

@, GS *, FS q, GS (A, deletion by ESC ?, or power OFF is performed.

[Caution]

Download characters and download bit images cannot be defined simultaneously.

 

Running this command clears the definition of the download bit image.

[Default]

Same as the internal character set.

[See Also]

ESC %, ESC ?

[Example]

 

 

12 dots

 

 

 

 

p1

p4

 

 

 

24 dots

p2

p5

 

 

 

 

p3

p6

 

 

 

Font A

p34

p35

p36

MSB

LSB

Create each data bit by setting “1” for a printed dot and “0” for an unprinted dot.

[Sample Program] Refer to Sample Program and Print Results for ESC %.

— 17 —

Page 22
Image 22
Citizen CT-S300 manual ESC & s n m a p s ⋅ a m-n+1, Msb Lsb