Define NLQ download characters

Mode

ASCII

 

 

 

 

Decimal

 

Hexadecimal

 

cESC>

“&I’

CO>

nl

 

27

38

0

nl

18

26 00

nl

Std.

n2

a0

al

 

a2

n2

a0

al a2

d?

a0

al a2

 

 

ml

m2

. . .

m69

ml

m2

...m49

ml m2

...m49

Defines one or more new NLQ characters and stores them in RAM for later use. EDS switch A-2 must be OFF. NLQ mode must be se- lected before this command is executed. The parameters are differ- ent from the draft character command. a0 specifies the left space, al specifies the character width, and a2 specifies the right space.

The dot density is doubled in each direction, so each character consists of 18 dots vertically and 23 dots horizontally and requires 69 data bytes. Since the vertical definition of the character is 18 dots, each byte represents a third of vertical definition.

For details, please refer to Chapter 5.

Define draft download characters

Mode

ASCII

 

 

 

Decimal

 

 

Hexadecimal

 

 

<ESC>

“=” nl

n2

<Dc4>

27

61 nl

n2

20

1B

3D

nl n2

14

IBM

a0

al

a2 ml

 

a0

al

a2

ml

a0

al

a2

ml

 

 

 

m2

. . . ml1

 

m2 . . . ml1

 

 

m2 . . . ml1

Defines one or more new draft characters and stores them in RAM for later use. Draft mode must be selected before this command is executed. nZ and n2 give the number of bytes of character data that will follow. a0 is the character code of the first character defined. al and a2 are attributes bytes. ml to ml 1 are the character data, and are the same as in <ESC> “W. The attribute byte al indicates whether the character is an ascender (not using the lowest of the nine vertical dots) or a descender (not using the highest dot) and whether it has a downward extension to 12 dots.

The attribute byte a2 gives proportional-spacing information. Bit 7 is ignored. Bits 4 to 6 specify the offset to the first byte printed (0 to 7), enabling leading spaces in the character to be ignored. Bits 0 to 3 specify the width of the character cell (maximum 11 dots). The character will be followed by a mandatory blank dot column which is not included in this width.

Characters defined by this command can be selected by &SC> “I” 4 or <ESC> “I” 5. This command is ignored when EDS switch A-2 is ON.

71

Page 79
Image 79
Star Micronics NX-1020 user manual Define NLQ download characters