Tally Genicom T5023+ Printer User Manual


 
Notes about command description Standard commands
34
T5023/5023+ - Programming Guide
Example of a formal command description (command syntax):
Coding of decimal command parameters
All command parameters n or n1, n2, etc. in the ESC sequences of the Epson-
compatible commands must be transferred to the document printer in binary co-
ded form and not as ASCII characters. Several parameters are simply transfer-
red consecutively without separation characters (e. g. space or comma). The
binary coding of a paramater must be implemented in the user programm by me-
ans of a corresponding ASCII coding in hexadecimal or decimal encryption. In
the command syntax parameter values to be coded binarily are bracketed in the
first line (for example, (n) or (n1), (n2) (n3)...). In the subsequent lines with the
hexadecimal or decimal encryption of the command, the parameter descriptions
n, n1, etc. are repeated without brackets as variables for concrete values. Which
values a parameter can have are specified in the subsequent function descripti-
on.
ESC
27
1B
A
65
41
(n)
n
n
ASCII character
Decimal
Hexadecimal
Command name/ESC sequence
Decimal encryption according to ASCII table
Hexadecimal encryption according to ASCII table