Tally Genicom T5023+ Printer User Manual


 
Character set commands Definition of characters
T5023/5023+ - Programming Guide 143
Example of the definition of a draft character
The example shows the following steps:
Definition of a draft character under the character code of the letter A (left
space two dot columns, character width nine dot columns, right space one
dot column).
Printing of the newly defined character in normal, elongated and italic print.
Result:
BEGIN New definition of
PRINT(char(27),"&",char(0),"AA") <- character A
PRINT(char(2,9,1)) <- Character width
PRINT(table ) 9 dot columns
PRINTLF("AAAABCDEFG")
PRINT(char(27),"%",char(1))
PRINTLF("AAAABCDEFG") <- B to G not newly
PRINT(char(14)) defined
PRINTLF("AAAABCDEFG")
PRINT(char(27),"4")
PRINTLF("AAAABCDEFG")
END
BEGIN table
char(8,0,0,16,0,0,32,0,0)
char(64,0,0,255,255,255,64,0,0) <- Charcter width 9,
char(32,0,0,16,0,0,8,0,0) i.e. 27 data bytes
END table