Tally Genicom T5023 Printer User Manual


 
Definition of characters Character set commands
144
T5023/5023+ - Programming Guide
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.
Result:
BEGIN
PRINT(char(27),"p",char(1)) New definition A
PRINT(char(27),"&",char(1),"AB") <-- and B (proport.)
PRINT(char(3,10,1)) <-- Different
PRINT(table 1) character
PRINT(char(3,18,1)) <-- widths
PRINT(table 2)
PRINTLF("ABABABCDEFG")
PRINT(char(27),"%",char(1))
PRINTLF("ABABABCDEFG") <-- C to G not newly
PRINT(char(14)) defined
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