Tally Genicom T5023 Printer User Manual


 
Standard commands Controlling the configuration of the printer
T5023/5023+ - Programming Guide 41
Controlling the configuration of the printer
The status of the printer can be controlled from a program irrespective of the data to
be printed via the following control commands:
On some computers the MSB value (Most Significant Bit) is always constant
1. In practice that would mean that in the character table only characters
from the range of 80h to FFh could be addressed and then only italic or gra-
phics characters or characters defined by the user could be printed.
The 8th bit can be deleted using the command ESC =. Therefore, cha-
racters from the basic character table (range from 20h to 7Fh) can also
be printed.
On the other hand, for computers which can only transfer 7- bit data
(MSB value always constant 0), the 8th bit can be set to 1 by ESC >.
Then it is also possible to address italic or graphics characters, or cha-
racters defined by the user.
Command Function
ESC @ Initializing the printer
ESC < Selecting unidirectional printing for one line
ESC U (n) Unidirectional printing mode on/ off one line
ESC > Setting the 8th bit of incoming data (MSB = 1)
ESC = Deleting the 8th bit of incoming data (MSB = 0)
ESC # Terminating control of the 8th bit (= delete MSB
specification)
DC3 Switching printer off logically (Offline)
DC1 Switching printer on logically (Online)
ESC EM (n) Setting the automatic single sheet feeder mode on/off
i