Star Micronics NX-2415II Download Character, Define download characters, Ascii, Decimal

Models: NX-2415II

1 160
Download 160 pages 47.44 Kb
Page 103
Image 103
DOWNLOAD CHARACTER

I

DOWNLOAD CHARACTER

Define download characters

Mode

Std.

ASCII

 

 

Decimal

Hexadecimal

<ESC>. “’&”<0>

nf

27 38

0 nl

IB 26 00 n/

 

,t~

mO

ml m2

n2

mo

ml m2

n2

mo m/

m2

d[

(u

d.!

dl

w

([.1

dl

d2

d.1

Defines one or more new characters and stores them in RAM for

later use. EDS switch A-3 must be set OFF; otherwise RAM is used as an input buffer, not downloading characters, and this command is ignored.

nl is the character code of the first character defined and /12is the character code of the last character defined. nl must be equal to or less than n2.

The data for each character start with three bytes specifying propor- tional spacing attributes: the first byte, mo, specifies the left of the character; the second byte, ml, specifies the character width; the third byte, m2, specifies the right of the character.

These values must not exceed the following maximum limits:

Character mode

ml

mO+ ml + n/2

Draft

9

12

LQ pica

31

36

LQ elite

27

30

LQ semi-condensed

19

24

LQ proportional

38

42

Draft super/subscript

7

12

LQ super/subscript

19

36

LQ prop. super/subscript

38

42

Next comes the dot data. Normal character height is 24 dots, so there must be 3 x m/ bytes of dot data. If the printer is in super/subscript mode, however, the character height is 16dots, so there must be 2 x ml bytes of dot data.

Each data byte indicates eight vertical dots, with the most significant bit being the top dot, and the least significant bit being the bottom dot.

94

Page 103
Image 103
Star Micronics NX-2415II Download Character, Define download characters, Ascii, Decimal, Hexadecimal, mO+ ml + n/2