DOWNLOAD CHARACTER COMMANDS

Define 24-dot download characters

 

 

 

 

27 38

0

nl

IB 26

00

nl

Std.

n2

mO ml

m2

n2 mOml m2

n2 mOml m2

 

dl

d2

al

dl

d2

dx

dl

d2

.,. &

Clears the 48-dot download characters and defines one or more new 24-dot characters and stores them in RAM for later use. DIP switch 2 must be set to 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 n2 is 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 proportional 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 +m2

Pica

31

36

Elite

27

30

Semi-condensed

19

24

Proportional

37

42

Super/Subscript

19

36

Prop. superlsubscript

37

42

Next comes the dot data. Normal character height is 24 dots, so there must be 3 x ml bytes of dot data. If the printer is in super/subscript mode, however, the character height is 16 dots, 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.

For further details, please refer to chapter 7.

Chapter6 PRINTER CONTROL COMMANDS 61

Page 67
Image 67
Star Micronics SJ-48 manual Download Character Commands, Define 24-dot download characters