beautypg.com

3-7 download – Star Micronics Dot Impact Printer User Manual

Page 41

background image

3-33

STAR Command Specifications

Rev. 0.70

3-3-7 Download

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

[Name] Register download characters (vertical 1 byte font)
[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]

33

33

33 ≤ n1 ≤ n2 ≤ 127 (21h ≤ n1 ≤ n2 ≤ 7Fh)

m = 0, 128 (00h, 80h)

00 ≤ d1 to d7 ≤ 255

[Initial Value]

---

[Function]

Registers download characters to the specified character code.

A maximum of 10 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 the registered

character is 1 character, 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 correspond to

the dots that are not printed to “0.”

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

This command is effective only a font other than the Thai font is selected as the character code table.

(Composed of vertical 1 byte except for the Thai font.)

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

9

2
3
4
5
6
7
8

Pin Used

Unused

D8 D7 D6 D5 D4 D3 D2 D1

Upper

Lower

1

9

2
3
4
5
6
7
8

Pin Used

Unused

D8 D7 D6 D5 D4 D3 D2 D1

Upper

Lower