
Ref: "Ap1400ProgGuide1_2.docx" Page 2 of 42
Document Revision: “1.2”
Document Date: “9 Apr. 2013”
1. Table of Contents
1.
Table of Contents.........................................................................................................................2
2.
Introduction...................................................................................................................................3
Notes on Printer Firmware Revisions (Including Flash).......................................................................3
Copyright Notice and Disclaimer..........................................................................................................3
3.
Modes of Operation......................................................................................................................4
Paper Feed Button...............................................................................................................................4
Printing Method....................................................................................................................................4
Built-In Fonts........................................................................................................................................5
User Font..............................................................................................................................................5
Multiple Code Page Fonts....................................................................................................................5
Dot Addressable Graphics...................................................................................................................5
Serial Interface.....................................................................................................................................6
Data Buffer and Flow Control...............................................................................................................6
USB Interface.......................................................................................................................................7
Paper Out, Paper Low and Head Up Sensors.....................................................................................7
4.
Control Code Tables ....................................................................................................................8
Command Description Format.............................................................................................................8
Command Codes Received.................................................................................................................9
Graphics Commands .........................................................................................................................10
Formatting Commands.......................................................................................................................11
Formatting Commands (Continued)...................................................................................................12
Initialise and Request Status Commands..........................................................................................13
Initialise and Request Status Commands (Continued)......................................................................14
Barcode Commands ..........................................................................................................................15
Mark Sense Operation .......................................................................................................................15
Reserved Commands ........................................................................................................................15
Codes Transmitted.............................................................................................................................16
5.
Settings and Configuration .......................................................................................................17
Setting Configuration Information.......................................................................................................17
Saving Configuration Information.......................................................................................................19
Querying Configuration Information...................................................................................................20
6.
Command Summaries ...............................................................................................................21
Summary of Print Format Commands and Volatile Settings .............................................................21
Summary of Real Time Status Information........................................................................................21
Summary Of Non-Volatile Settings ....................................................................................................22
7.
Setting up USB functionality.....................................................................................................23
Installing LIBUSB. ..............................................................................................................................23
Installing USBPrintDll.........................................................................................................................24
Manual install of the USBPrintDll.......................................................................................................24
Testing the LIBUSB install. ................................................................................................................25
8.
The USBPrintDLL interface. ......................................................................................................26