beautypg.com

Star Micronics Line Thermal/Dot Printer User Manual

Page 57

background image

Rev. 0.00

3-45

STAR Line Mode Command Specifications

ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1

[Name] Register download characters
[Code]

ASCII

ESC

& NUL n1

n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1

Hexadecimal

1B

26

00

n1

n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1

Decimal

27

38

0

n1

n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1

[Defined Area]

Thermal

: -

Slip

: 33 ≤ n1 ≤ n2 ≤ 127 (21h ≤ n1 ≤ n2 ≤ 7Fh), m = 0, 128 (00h, 80h), 0 ≤ d1 to d7 ≤ 255

Validation

: 33 ≤ n1 ≤ n2 ≤ 127 (21h ≤ n1 ≤ n2 ≤ 7Fh), m = 0, 128 (00h, 80h), 0 ≤ d1 to d7 ≤ 255

[Initial Value]

Thermal

: -

Slip

: -

Validation

: -

[Function]

Only registration is possible.

Registration data is printable after switching to slip or validation.

,

Registers download characters to the specified character code.

A maximum of 22 download characters can be registered for 7 x 9 and 5 x 9 fonts.

The range of the location to write download characters is specified by n1 and n2. (When there is one

character to register, n1 = n2.)

If one has been already registered to an address, it is overwritten.

This command registers download characters independent to each font.

m indicates the relationship of the character pattern and the print head (see figure below).

Definition data (d1 to d7) set the bits that correspond to the dots to print to “1,” and the bits that cor-

respond to the dots that are not printed to “0.”

Even if ESC @ (command initialization) is executed, the registered download character is not

cleared.

Registered data is shared by slip and validation.

Relationship of character pattern data and print head.

1. When m = 0 (00h)

2. When m = 128 (80h)

(Note) • When registering 7 x 9 fonts, dots adjacent in the horizontal direction do not print.

• When character rotation is specified, 7 x 9 font registered characters cannot be

printed. 5 x 9 font characters are always printed.












1

2

3

4

5

6

7

8

9

D8

D7

D6

D5

D4

D3

D2

D1

Pin No

(Not Used)

Upper

Lower












1

2

3

4

5

6

7

8

9

D8

D7

D6

D5

D4

D3

D2

D1

Pin No

(Not Used)

Upper

Lower