Star Micronics XR-1520, XR-1020 Define draft download characters, Download Character Commands

Models: XR-1520 XR-1020

1 110
Download 110 pages 41.66 Kb
Page 101
Image 101
DOWNLOAD CHARACTER COMMANDS

DOWNLOAD CHARACTER COMMANDS

Define draft download characters

Mode

ASCII

 

 

 

Decimal

Hexadecimal

 

&SC>

“gt”

x0>

nl

2730

Od

10 26 00 nl

Std.

n2

m0

ml

m2

n2mOmlm2

n2mOmlm2

 

 

 

m3

... ml1

 

m3 ... ml1

m3 .. . ml1

Defines one or more new draft characters and stores them in RAM for later use, Memory Switch must be set to “DOWNLOAD”; other- wise RAM is used as an input buffer, not for downloading charac- ters, and this command is ignored. Draft mode must be selected before this command is executed.

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

Each character is defined by an attribute byte (m0) and 11 data bytes (mZ,m2,...mZZ).

The most significant bit of the attribute byte is 0 if the character is an ascender (positioned entirely above the baseline) or 1 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 areused only in proportional spacing. 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.

For further details, please refer to chapter 8.

93

Page 101
Image 101
Star Micronics XR-1520, XR-1020 manual Define draft download characters, Download Character Commands