beautypg.com

Epson A794-D100 User Manual

Page 97

background image

A794 Owner’s Guide

Chapter 6: Programming Information

March 1999

91

Transmit Printer ID, Remote Diagnostics Extension

Performs the remote diagnostic functions specified by n.

Each returned message is defined as:

n + data +

ASCII

GS I @ n

Hexadecimal

1D 49 40 n

Decimal

29 73 64 n

Values of n

Refer to table

Value of n

Remote diagnostic item

Function

Hex

Dec

20

32

Serial #,
10 digit ASCII

Write to NVRAM
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

22

34

Serial #

Not available, cannot clear Serial # item

23

35

Serial #

Return Serial #, preceded by n to identify
Printer returns 12 bytes in above example:
#1234567890

24

36

Class/model #,
15 digit ASCII

Write to NVRAM

25

37

Class/model #

Write to NVRAM, and print on receipt to
verify

26

38

Class/model #

Not available, cannot clear Class/model # item

27

39

Class/model #

Return Class/model #, returns 17 bytes

28

40

Boot firmware part #

Not available, cannot write to ROM

29

41

Boot firmware part #

Not available, cannot write to ROM

2A

42

Boot firmware part #

Not available, cannot write to ROM

2B

43

Boot firmware part #,
12 digit ASCII

Return Boot firmware part #, returns 14 bytes

2C

44

Boot firmware CRC

Not available, cannot write to ROM

2D

45

Boot firmware CRC

Not available, cannot write to ROM

2E

46

Boot firmware CRC

Not available, cannot write to ROM

2F

47

Boot firmware CRC,
4 digit ASCII

Return Boot firmware CRC, returns 6 bytes

30

48

Flash firmware part #

Not available, cannot write to ROM