Ref: "Ap1400ProgGuide1_2.docx"
Page 21 of 42
Document Revision: “1.2”
Document Date: “9 Apr. 2013”
6. Command Summaries
Summary of Print Format Commands and Volatile Settings
Function
Command
Clear Print Settings and Buffer
(Select single width, single height, no underlining, no extra inter-
character space, and default HTAB positions)
ESC,”@”
CAN (real-time)
Font Mode, Double Height, Double Width, Underlining
ESC,"!",n
Underlining only
ESC,"-",n
Inverted Print Mode
ESC,"{",n
Print positioning
HTAB
ESC,"$",n1,n2
ESC,"\",n1,n2
Line termination
(and Paper Feed)
LF
CR
ESC,"J",n
ESC,"d",n
Dot Addressable (Bit) Graphics
ESC,"*",..
Entering and exiting Spooling Mode
ESC,"L"
FF
Extra inter-character and inter-line spacing
ESC,” “,n
ESC,”2”
ESC,”3”,n
Set HTAB positions
ESC,"D",..
Request Printer STATUS BYTE
ESC,"u",n
ESC,"v"
GS,ENQ (real-time)
Select Barcode Size and Format
GS,"H",n
GS,"h",n
GS,"w",n
Print Barcode
GS,"k",..
Summary of Real Time Status Information
Information
How reported
Mechanism Status
GS,ENQ
STATUS BYTE bit 1 (Set = Mech is Active)
+
Data Buffer Status
GS,ENQ
STATUS BYTE bit 2 (Set = Buffer is Empty)
+
Paper Out Status
GS,ENQ
STATUS BYTE bit 3 (Set = Paper is Out)
+
Spool Mode Status
GS,ENQ
STATUS BYTE bit 5 (Set = In Spool Mode)
+
Real Time Input Voltage
GS,”I”,15
Also In Self Test
+