Star Micronics Rainbow NX-1000C User Manual page 84

Table of Contents

Advertisement

Define draft download characters
<27> <38> <0> <nl> <n2> <mO> <ml> ... <mll>
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.
< nl > is the character code of the first character defined and
<
n2 > is the
character code of the last character defined. nl and n2 must both be between
32 and 127 or both be between 160 and 255. nl must be equal to or less than
n2. Use of character code 32 (space) should be avoided if possible. Each
character is defined by an attribute byte
<
mO > and 11 data bytes
< ml > ... < mll > .
The most significant bit of the attribute byte is 1 if the character is an
ascender (positioned entirely above the baseline) or 0 if it is a descender
(descending below the baseline). The attribute byte also indicates the amount
of white space to the left of the character (0 to 7 dots, specified by bits 4
to 6), and the width of the character cell, including this space (4 to 15 dots,
specified by bits 0 to 3). The left space and cell width attributes are used
only in proportional spacing.
Each data byte indicates eight vertical dots, with the MSB being the
top dot and the LSB the bottom dot. These correspond to pins 1 to 8 or
2 to 9 of the print head, depending on whether the character is an ascender
or descender.
Define NLQ download characters
< 27 > < 38 > < 0 > < nl > < n2 > < mO > < ml > ... < m46 >
Defines one or more new NLQ characters and stores them in RAM for
later use. NLQ mode must be selected before this command is executed.
The parameters are the same as for the draft download character command
except that the attribute byte specifies right space instead of character width
and the dot density is doubled in each direction, so each character consists
of 16 dots vertically and 23 dots horizontally and requires 46 data bytes.
Dots defined by ml to m23 are printed on the first pass of the head. Dots
defined by m24 to m46 are printed on the second pass, the paper being scrolled
up half a dot between the two passes.
Select download character set
<27> <37> <49>
Selects the download character set.
Select ROM character set
<27> <37> <48>
Stops using the download character set and returns to the built-in ROM
character set.
74
[I
m:
I;
l;
II
II
II
U
U
lJ

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents