Tally Genicom T5023+ User Manual

Page 151

Advertising
background image

Character set commands

Definition of characters

T5023/5023+ - Programming Guide

141

Transferring the number sequence to the printer

When the complete dot pattern of a character is encrypted as a number se-
quence, this number sequence is transferred to the printer (RAM) using the con-
trol command ESC &. Subsequently the character can be printed as a character
defined by the user.

If several characters are to be defined, normally each character definition must
be transferred separately using ESC &. Only characters of a continuous alpha-
bet range - for example, A – E or J – U, but not C, J and N - can be defined using
one ESC & command.

If more than one character is defined, all the number sequences (sequences of
data bytes) are added successively. The number of data bytes depends on the
width (parameter d1) and the height (24 or 16 dots) of the dot grid used:

Number of data bytes per character to be transferred:

with normal character height (24 dots = 3 bytes)
Number of bytes = d1* 3

with superscript/subscript characters (16 dots = 2 bytes)
Number of bytes = d1 * 2

The number of data bytes to be transferred according to the formula above must
be kept to exactly. If too little data is transferred using ESC &, subsequent con-
trol commands or character codes may be interpreted as character data. Also,
too much data is interpreted as control commands or character codes.

Before the encryption (number sequence) of a character defined by the
user can be transferred with ESC &, the print quality (LQ or draft) ap-
propriate for the character definition and the appropriate print mode
(proportional spacing or superscript/ subscript) must be set on the print-
er. If, for example, an LQ character is defined, the print quality must first
be set to LQ using ESC x (1). If another mode is activated during the
transfer, the characters cannot be used.

i

Advertising
This manual is related to the following products: