Datamax-O'Neil PrintPAD AN-14 User Manual

AN-14 (Line Printer and Easy Print Modes)
December 28, 2005
AVAILABLE GENERAL QUERIES
The printer can return a lot of information to the host. It can give some statu configuration. This is all done through a series of query commands that can be issued to the printer. Not all queries are in all printers, and some queries are available in later versions of printer firmware. All queries are of the same form and contain 6 bytes (0x1b, “{“ or 0x7b, TWO LETTER QUERY, “?” or 0x3f, and “}” or 0x7d):
ESC {<TWO LETTER QUERY>?} Legal two letter queries include:
QUERY MEANI
ESC{BL?} Bluetooth Configuration X ESC{BT?} Battery Condition X X ESC{CF?} General Configuration X X
ESC{CL?} Label Related Configuration Values X ESC{CV?} Configuration Version X X ESC{FN?} Font list – resident and downloaded X X ESC{GR?} Graphics list – resident and downloaded X X ESC{FM?} Formats list – resident and downloaded X
ESC{IR?}
ESC{MD?} Manufacturing date is returned X ESC{MY?} Memory size and status X X
ESC{PH?} Printhead size X X ESC{SN?} Serial Number is returned X ESC{ST?} Status – current state of printer X X ESC{TC?} TCP/IP and 802.11 radio configuration X ESC{VR?} Version – returns all versions X X
ESC{MC?} Return mag card configuration X X ESC{MR?} Return data read from magnetic card X X X
ESC{RS?} Returns card reader status information X X X ESC{SC?} Return smart card configuration X X
1
Original card reader on non-radio ready printers is approximately 1 inch thick. .BIN files that support this card reader will have a cr-xyz suffix on the name. The xyz are replaced by “m”, “s”, and “b”, if the Magnetic Card, Smart Card, or Button features are supported. An “x” occupies that position if the feature is not supported. For example, the 2tcr-msx.bin file is for the 2t printer with the original thick card reader that supports the Magnetic and Smart cards. Support for this card reader was last in Version 4.22 firmware.
2
The newer “Slim Card Reader” or SCR was first supported in Version 4.23 firmware and last supported in the 4t in version 4.33 and the 2t in version 4.34. This card reader is approximately ½ inch thick. The .BIN files that support this card reader have and scr suffix in the name. For example, 2t-scr.bin is for the 2t printer with the slim card reader. All scr .bin files support both the magnetic and smart card readers but do not support the button readers.
3
The radio ready printers have supported only the “Slim Card Reader” or SCR, beginning with Version 6.52. The .BIN files that support the card reader have an “s” in the suffix. For example, 2tr-s.bin is a radio ready 2t printer that supports the card reader.
IrDA Configuration (historical in newer printers without IrDA for returning printer type)
CARD READER SPECIFIC (2t/4t ONLY)
s of its current state as well as the current
NG
ORIGINAL
MF2/MF3/2t/4t
X X
1
SCR2 SCR3
CR
RADIO READY
2t/3l/4t
Similar to the queries, there are some commands. These have exa been replaced by “!” (0x21)
COMMAND MEANING
ESC{RE!}
CR SCR SCR
ESC{ME!} ESC{MD!} ESC{MZ!}
ESC{SP:n} Turn Smart Card Power ON (n=1) or OFF (n=0) X X X
ESC{RG:n}
ESC{RR:n}
ESC{SR:<string>
ESC{SW:<string>
The response to each query is similar. It consists of the comm followed by a series of parameter and data pairs. Each parameter and data pair are separated by a semicolon “;” (0x3b ). Each parameter is one or more letters that uniquely identify that parameter for the type of query. This parameter and data pair is separated by a colon. For example:
Query: ESC{PH?} Response: {PH!TD:0384;DD:203;M:M-T102 ;T:24.0C}
This is a response to the printhead query as indicated by the PH!. T printhead) – this printer is 384 dots wide. The next parameter is DD or Dot Density and is shown as 203 dpi. The M parameter is the mechanism type and is an M-T102. And finally the temperature of this printhead is 24.0 degrees Celsius.
In the tables below, the VALUES/FORMAT colum format of the retuned values. The meaning of that value, as indicated by the parenthesis below, is for informational purposes only and is NOT returned in the query data. An X in the printer type column indicates that parameter or value is present.
Reset the entire printer RESPONSE: {RE!}
CARD READER SPECIFIC
Enable Magnetic Card Reader RESPONSE: {ME!} Disable Magnetic Card Reader RESPONSE: MD!} Zero the Magnetic Card Buffer RESPONSE: {MZ!}
Turn Reader Green LED on/off/flash n = 0 OFF n = 1 ON n = F Flashing RESPONSE: {RG!n} Turn Reader Red LED on/off/flash n = 0 OFF n = 1 ON n = F Flashing RESPONSE: {RR!n} Sends <string> to smart card - string is smart card command – returns data returned by card Sends <string> to smart card – strin includes smart card command and possibly data
ns will show valid values that will be returned for each parameter, or the
ctly the same form as the queries, but the “?” has
ORIGINAL
MF2/MF3/2t/4t
X X
X X X X X
X
X
X X X X X X
and repeated, with the “?” replaced by a “!” (0x21). This is
he first parameter is TD or Total Dots (across
RADIO READY
2t/3l/4t
ESC {BL?} BLUETOOTH CONFIGURATION QUERY
PARAMETER MEANING VALUES/FORMAT
AD Bluetooth Address nn:nn:nn:nn:nn:nn X
F Friendly Name 32 chars max X SN Service Name 32 chars max X PR Profile SPP (fixed) X CL Class 040680 (fixed) X
D Discoverable Y (yes) or N (no) X
C Connectable Y (yes) or N (no) X
B Bondable Y (yes) or N (no) X
E Encryption Y (yes) or N (no) X
A Authentication Y (yes) or N (no) X
P Passkey
I Inactivity Timeout nn seconds X
PWR Power ON or OFF X
W Watchdog Period nn seconds X
ESC {BT?} BATTERY QUERY
PARAMETER MEANING VALUES/FORMAT
V or Voltage of single n.n volts X X
V1 and V2 or Voltage of each of 2 batteries
VE Voltage of batt eliminator n.n volts 4t only 4t only
T Temperature of battery Dep on type -> nn.nC
CH Charge
PS Power Source
Y (yes) or N (no) does not ret value
n.n volts (for V1) n.n volts (for V2)
Y (connected) N (not connected) A=DC over batt B=Batt over DC C=Batt Eliminator
ORIGINAL
MF2/MF3/2t/4t
RADIO READY
X
ORIGINAL
MF2/MF3/2t/4t
RADIO READY
X X
X X
(A/B are same
2t/3l/4t
2t/3l/4t
Always
returns NA
X
in thermal)
ESC {CF?} CONFIGURATION QUERY
PARAMETER MEANING VALUES/FORMAT
A White Space Advance Y (yes) or N (no) X X
B Baud Rate
D Darkness (Burn Adjust)
F Form Feed (act on FF) Y (yes) or N (no) X
G Beep when charger connected Y (yes) or N (no) X X H Handshake
J EZ Print Job Status Report Y (yes) or N (no) X
L
Default Protocol (Note: All emulations are a subset)
N Number of Data Bits
P Parity R RF Power Timeout nn (min) / NEVER X
S Sound (beeper) Y (yes) or N (no) X X
T
System Timeout (time before going to sleep)
ORIGINAL
MF2/MF3/2t/4t
012 024 048 096 192 384 576 115
-25%
-20%
-15%
-10%
-05% 00% 05% 10% 15% 20% 25% 30% 35%
B (both) H (hardware) S (software)
ESC (Line Printer) EZ (Easy Print) EMC1 (Custom 1) EMC2 (Custom 2) EMC3 (Custom 3) EMP1 (PGL) EMZ1 (CPCL) EMZ2 (Cog) EMZ3 (ZPL) 7 8 N (none) E (even) O (odd)
X (mf2/3)
X (all)
X (mf2/3)
X (all)
X (mf2/3)
X (all)
X X X X X X X X X X X X X
X X X
X X
X X X X X
nn (sec) / NEVER X X
RADIO READY
2t/3l/4t
X X X X X X X X X X X X X X X X X X X X X
X X X
X X X X X X X X X X X X X X
Loading...
+ 8 hidden pages