ABLE AP1200 Programmer's Manual - page 24
Ref: "ProgGuide1_7.docx"
Page 24 of 26
Document Revision: “1.7”
Document Date: “11 Sep. 2013”
Querying Configuration Information
In general, for each ESC,"X",m,.. command, the corresponding GS,"I",m command may be used to
query the current value. In some cases the information reported is different from the value(s) set.
m=3
Report Firmware Version.
In response to the command GS,"I",03H the printer transmits 2 packed BCD bytes. The first
byte contains the major and minor version, and the second byte contains the revision number.
eg:- 12H and 34H means Version 1.2.34
m=4
Report Baud rate, parity, word length and number of stop bits.
In response to the command GS,"I",04H the printer transmits a string of ASCII characters in
the same format as used in the ESC,"X",04H,... command. eg:- "19200,E,7,2"
m=6
Report Unit Serial Number.
In response to the command GS,"I",06H the printer transmits a string of up to 10 ASCII
characters terminated by a CR character. eg:- "123456",CR
This is the Unit Serial Number as set by the factory during printer test/setup.
m=9
Report Internal Defaults.
In response to the command GS,"I",09H the printer transmits 3 bytes. The first byte contains
the current values of the flags set using the ESC,"X",09H,n command. The following 2 bytes
are for Able diagnostics only.
m=11 Report Auto-Sleep Timeout Period.
In response to the command GS,"I",0BH the printer transmits 2 bytes which form a 16 bit
timeout value in seconds: (n1 + 256*n2).
m=15 Report Real-Time Voltage and Temperature Values.
In response to the command GS,"I",0FH the printer transmits 3 bytes.
n1 = Battery Voltage x 10
[ eg:- 43H means 6.7V ]
n2 = Printhead temperature in ºC
[ eg:- 14H means 20ºC]
n3 is a coded byte: bit 0 Charger is present
bit 1 Reserved
bit 2 Battery voltage is low(normally indicated byRed LED)
m=18 Report LED patterns.
Please refer to Able for details if required.
m=19 Report MT102FLAGS value.
m=20 Report MarkFeed and EjectFeed values.
m=23 Report AUXFLAGS value.
m=33 Report MaxDotsAtOnce value.
m=42 Report EjectOffset value
m=50 Report Spooling Mode Sleep Period value
m=52 Report Auto-Save Period value
m=66 Report Print Darkness
In response to each of the above commands (in the form GS,"I",m), the printer transmits the
current values of the parameters set using the corresponding ESC,"X",m,… command.