Tally T5023+ Programming Manual page 45

Multi-functional flat bed printer
Table of Contents

Advertisement

Standard commands
Example:
Determining the document length at n inche
ESC
27
1B
Function:
ESC C NUL( n) sets the document length at n inches (absolute document
length independent of the line spacing). The value n must be between 1 (inch)
and 22 (inches).
Parameter value of n must be encrypted binarily
Note on which values the parameter n can have
R
In contrast to the ESC sequences of the standard, character set and
i
graphics commands for the document printer- specific additional com-
mands (CSI sequences), the command parameters n, n1, etc. are co-
ded as ASCII values. For example, three bytes are transferred for a
three- figure parameter value n = 123 (see "Additional commands"
chapter).
Program examples
All instructions in the program examples to demonstrate the standard control
commands are represented independently of a certain programming language.
This is done by formulating the program lines in a colloquial pseudo code. In
practice, this pseudo code, depending on the programming language used, must
be converted into the appropriate program instructions.
A
(n)
65
n
41
n
T5023/5023+ - Programming Guide
Notes about command description
s
ASCII character
Decimal
Hexadecimal
R
35

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

T5023

Table of Contents