Transmit Paper Sensor Status; Transmit Printer Id - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

88
Chapter 4: Programming Commands

Transmit paper sensor status

ASCII
ESC v
Hexadecimal
1B 76
Decimal
27 118
Values:
Status Byte (RS-232C)
Bit Function
0 Signifies
0
Paper low
Not low
1
Receipt cover
Closed
2
Receipt paper
Present
3
Knife position
Home position
4
Not used
Fixed to zero
5
Temperature
In valid range
6
Voltage
In valid range
7
Not used
Fixed to zero
Sends status data to the host computer. The printer sends one byte to the host computer when it is not busy or in a fault
condition. In DTS/DSR protocol, the printer waits for DSR = SPACE.
Related information
See busy line and fault conditions in the real time commands section of this document for details about fault condition
reporting.
In LEGACY emulation, this command is ignored.

Transmit printer ID

ASCII
GS I n
Hexadecimal
1D 49 n
Decimal
29 73 n
Value of n:
1, 49 = Printer model ID
2, 50 = Type ID
3, 51 = ROM version ID
4, 52 = Logo Definition
Transmits the printer ID specified by n as follows:
n
Printer ID
Specification
1, 49 Printer model ID
A799II
2, 50 Type ID
Installed options
3, 51 ROM version ID
ROM version
4, 52 Logo definition
Logo definition
n = 2 or 50: Type ID
Bit
Off/On
Hex
Decimal
0
Off
00
0
On
01
1
1
Off
00
0
1 Signifies
Low (only if paper low sensor is enabled)
Open
Out
Not home position
Fixed to zero
Too hot or too cold
Too high or too low
Fixed to zero
ID (Hexadecimal)
0x25
Refer to below
0x00
Refer to next
page
Function
No two-byte character code installed.
Two-byte character code installed.
No knife installed.
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents