M-S Cash Drawer A794 User Manual

Page 109

Advertising
background image

Chapter 6: Programming Information

A794 Owner’s Guide

December 1999

104

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

ID (Hexadecimal)

1, 49

Printer model ID

Axiohm A794

0x24

2, 50

Type ID

Installed options

Refer to next table

3, 51

ROM version ID

ROM version

0x00

4, 52

Logo Definition

Logo Definition

Refer to table below

n = 2 or 50: Type ID

Type ID (n = 2)
Bit

Off/On

Hex

Decimal

Function

0

Off
On

00
01

0
1

No two-byte character code installed.
Two-byte character code installed.

1

Off
On

00
02

0
2

No knife installed.
Knife installed.

2

-

-

-

Undefined.

3

-

-

-

Undefined.

4

Off

00

0

Not used. Fixed to Off.

5

-

-

-

Undefined

6

-

-

-

Undefined

7

Off

00

0

Not used. Fixed to Off.

n = 4 or 52: Logo Definition

Bit

Off/On

Hex

Decimal

Function

0

Off
On

00
01

0
1

No logo downloaded(SRAM or Flash)
Logo downloaded(SRAM or Flash)

1-7

Off

00

0

Not used. Fixed to Off.

Transmits the printer ID specified by n. This command is a batch mode command; that
is, the response is transmitted after all prior data in the receive buffer has been
processed. There may be a time lag between the printer receiving this command and
transmitting the response, depending on the receive buffer status.

When Auto Status Back (ASB) is enabled using the Enable/Disable Automatic Status
Back command (1D 61), the status transmitted by this command (Transmit Printer ID)
and the ASB status must be differentiated according to the information found in
Recognizing Data from the Printer, (in the Real Time Commands section in this
document).

Advertising