Tally T5023+ Programming Manual page 154

Multi-functional flat bed printer
Table of Contents

Advertisement

Definition of characters
Example of the definition of LQ characters:
The example shows the following steps:
Definition of two proportional LQ characters under the character codes of the
letters A and B; the character width of the first character amounts to ten dot
columns, that of the second character eighteen dot columns.
Printing of the newly defined characters in normal and elongated print.
BEGIN
PRINT(char(27),"p",char(1))
PRINT(char(27),"&",char(1),"AB")
PRINT(char(3,10,1))
PRINT(table 1)
PRINT(char(3,18,1))
PRINT(table 2)
PRINTLF("ABABABCDEFG")
PRINT(char(27),"%",char(1))
PRINTLF("ABABABCDEFG")
PRINT(char(14))
PRINTLF("ABABABCDEFG")
END
BEGIN table 1
char(0,8,0,0,4,0,0,8,0,0,4,0)
char(0,132,64,0,72,128,0,165,64)
char(0,90,128,0,37,0,0,26,0)
END Table 1
BEGIN table 2
char(0,8,0,0,4,0,0,8,0,0,4,0)
char(0,8,0,0,4,0,0,8,0,0,4,0)
char(0,8,0,0,4,0,0,8,0,0,4,0)
char(0,132,64,0,72,128,0,165,64)
char(0,90,128,0,37,0,0,26,0)
END table 2
Result:
144
T5023/5023+ - Programming Guide
Character set commands
New definition A
<-- and B (proport.)
<-- Different
character
<-- widths
<-- C to G not newly
defined

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

T5023

Table of Contents