Star Micronics XR-1500 Printer User Manual


 
1 Define draft download character(s) Both 1
<ESC>
& <NuL> <cl> <c2> en> cdl> . . . cdn>
1Bh 3Dh OOh ccl> <c2> c?D cdl> . . . cd0
27 61 0
<cl> <c2> CR>
cdl> . . . cd0
The command above enables the definition of “soft”characters to be downloaded.
This command is only valid if “DCWNLOAD” has been selected in the RAM
USAGE menu of the Memory Switch (see Chapter 3 for details), and the draft mode
has been selected before this command is executed.
The following rules are observed. <cl> and <c2> are binary values which determine
the character range which will be replaced by downloaded data. For instance, if
ccl>=20h and cc2>=30h, all characters from 20h through 30h will be overwritten
by the downloaded data. If a downloaded character is stored in the area 80h through
9Fh, it can only be printed in the character set #2 mode. It is possible to store
downloaded characters in the part of the character set reserved for IBM block
graphics (BOh through DFh, F4h and F5h). but these characters can only be printed
when the standard character set has been selected.
Eachcharacterisdefmedbyanattributebyte(ou)andll&~bytes(<dl>...<dn>).
The attribute byte, ol>. indicates whether the character is an ascender (not using the
lowest of the nine vertical dots) or a descender (not using the highest dot). It also
indicates the amount of white space to the left of the character (0 to 7 dots), and the
width of the character cell, including this space (4 to 15 dots). 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.
49