M-S Cash Drawer A794 manual Transmit Printer ID, Remote Diagnostics Extension, Values of n

Models: A794

1 147
Download 147 pages 61.87 Kb
Page 110
Image 110

A794 Owner’s Guide

Chapter 6: Programming Information

Transmit Printer ID, Remote Diagnostics Extension

ASCII

GS I @ n

Hexadecimal

1D 49 40 n

Decimal

29 73 64 n

Values of n:

Refer to table

The command performs the remote diagnostic function specified by n as described in the following table.

Value of n

 

 

Remote Diagnostic Item

Function

ASCII

Hex

Dec

 

 

 

 

 

 

 

Space

20

32

Serial #,

Write to NVRAM

 

 

 

10 digit ASCII

Example, send 14 bytes to printer:

 

 

 

 

GS I @ 0x20 1234567890

!

21

33

Serial #

Write to NVRAM, and print on receipt to

 

 

 

 

verify

 

 

 

 

Example, send 14 bytes to printer:

 

 

 

 

GS I @ ! 1234567890

 

 

 

 

This will print on receipt: Serial # written:

 

 

 

 

1234567890

#

23

35

Serial #

Return Serial #, preceded by n to identify

 

 

 

 

Printer returns 12 bytes in above example:

 

 

 

 

#1234567890<CR>

$

24

36

Class/model #,

Write to NVRAM

 

 

 

15 digit ASCII

 

%

25

37

Class/model #

Write to NVRAM, and print on receipt to

 

 

 

 

verify

27

39

Class/model #

Return Class/model #, returns 17 bytes

+

2B

43

Boot firmware part #,

Return Boot firmware part #, returns 14 bytes

 

 

 

12 digit ASCII

 

/

2F

47

Boot firmware CRC,

Return Boot firmware CRC, returns 6 bytes

 

 

 

4 digit ASCII

 

3

33

51

Flash firmware part #,

Return Flash firmware part #, returns 14 bytes

 

 

 

12 digit ASCII

 

7

37

55

Flash firmware CRC,

Return Flash firmware CRC, returns 6 bytes

 

 

 

4 digit ASCII

 

Ç

80

128

Receipt lines tally,

Write to NVRAM

 

 

 

8 digit ASCII numeric,

Example, send 12 bytes to printer:

 

 

 

max 99,999,999

GS I @ Ç00010000

 

 

 

 

To set receipt lines tally to 10,000

ü

81

129

Receipt lines tally

Write to NVRAM, and print on receipt to

 

 

 

 

verify

 

 

 

 

Example, send 12 bytes to printer:

 

 

 

 

GS I @ ü00010000

 

 

 

 

This will print on receipt:

 

 

 

 

Receipt tally written: 10,000

é

82

130

Receipt lines tally

Clear receipt lines tally to 0

December 1999

105

Page 110
Image 110
M-S Cash Drawer A794 manual Transmit Printer ID, Remote Diagnostics Extension, Values of n