Chapter 5: Programming commands
77
A776-PG00001 D 07/13
A776 (B780) Programming Guide
n
= 4 : Logo Definition
Bit Off/On
Hex Decimal Function
0
Off
00
0
No logo definition loaded by application.
On
01
1
Logo loaded by application
1
-
-
-
Undefined
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.
Continued . . .
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.
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
Range of
n
:
32–255
(not all defined but reserved)
Preforms the remote diagnostic function specified by
n
.
Eighteen remote diagnostic items are defined: eight printer ID items and ten printer tally items. Most of the diagnostic
items are maintained in non-volatile memory (NVRAM), but some are maintained in read-only memory (ROM).
The table that follows describes the variables.
The first item group in the table includes an example of data to send and to receive, Data sent from the host to write
to NVRAM must contain all digits required by the remote diagnostic item. All data must be ASCII. The printer returns all
ASCII data. It is preceded by the parameter
n
to identify the diagnostic item and is followed by a carriage return (0D) to
signify the end of the data.
The command performs the remote diagnostic function specified by
n
as described in the following table.
Value of
n
ASCII
Hex
Dec
Remote diagnostic item
Function
Space 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
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...