APEX & ANDES Series Printer Command Language Developer’s Manual 7A300007 Rev. 2
4 This command (ESC K n CR) must be sent prior to any printable characters on the line in order to take effect. Example 1: The following escape seque
5 Character Size and Line Spacing – Width and Height Double Wide ON SO This command sets any printed characters to double wide. Control Code: SO H
6 Character Attributes Emphasized Printing Mode ESC U n The Emphasized printing mode command will cause the printer to print text with bold appearan
7 Reverse Print ESC U n The reverse print command enables the user to print white letters on a black background .Reverse printing begins with the c
8 Horizontal Position Carriage Return CR This command prints the input buffer information and advances the paper to the next line. If the printer b
9 Vertical Position Line Feed LF This command prints the input buffer information and advances the paper to the next line. Total Feed Length = Vert
10 Set Vertical Tab Height ESC T V n This command sets the vertical tab length in dot lines. 0 ≤ n ≤ 255. The default value of the vertical tab is 2
11 z bar code is non-human readable t barcode type. n number of character bytes in data array. 1 ≤ n ≤ 255 h height of bar code
12 Code 128 Specifications Description Each symbol starts with Leading Quiet Zone, followed with Start Symbol, Data Symbols, ending with Stop Symbo
13 Example 1: The following escape sequence prints alphanumeric bar code "A2a", 12.5mm high, with human readable text: n = 3 printed chara
14 Interleaved 2 of 5 Specifications Description Each symbol starts with Leading Quiet Zone, followed with Start Symbol, Data Symbols, ending with S
15 Example 2: The following escape sequence will print a UPC-E bar code with the following: human readable, 30 mm high, containing “1234565” where 5
16 GS1 DataBar Specifications Description GS1 DataBar symbols can carry more information and identify small items than the current EAN/UPC bar code
17 6) 1(SOH)-12(FF) - pixels per X 7) 0(NULL)-3(ETX) - X pixels to undercut 8) 0(NULL)-3(ETX) - Y pixels to undercut 9) 1(SOH)-12(FF) * 2 - separator
18 27 90 54 3 13 1 0 0 1 22 49 50 51 52 53 54 55 56 57 48 49 50 51Expected Result (not to scale): Example: The following escape commands encode the
19 Expected Result (not to scale): Example: The following escape commands encode the data “12345678901” in UPC-A type. Due to space limitation CR L
20 Decimal: 27 90 54 9 12 1 0 0 1 22 49 50 51 52 53 54 55 56 57 48 49 50 Expected Result (not to scale): Example: The following escape commands enc
21 Decimal: 27 90 54 12 12 1 0 0 1 22 49 50 51 52 53 54 55 56 57 48 49 50 Expected Result (not to scale): QR CODE Specifications Description The cod
22 'M' --- MANUAL If you specify AUTO you do not need to specify the character mode. If you specify MANUAL you will need to specify the c
23 Compaction Mode Description Encoding Capability ‘0’ (Future Use) Byte Compaction Mode (BC) All characters, (0-255) ‘1’ (Recommended) Text Co
Copyrights Datamax-O’Neil is a registered trademark of Datamax-O’Neil Bluetooth is registered trademark of Bluetooth SIG, Inc. Wi-Fi is a registere
24 Example: The following escape commands encode the data “12345678”. Due to space limitation CR LF are not shown Escape Sequence:
25 The following 8-bit graphic command is used to print a single line of graphic Escape Sequence: ESC V SOH NUL 72 bytes of data Hexadecimal:
26 This data may be represented in hexadecimal: 0x55 0x55 0x00 0x00 0xAA 0x11 0x55 0x00 0x55 0x55 0x55 0x55 The RLE compressed graphics comma
27 Print Buffer Contents (Buffer Mode) EOT This command allows the printer to process all of the commands stored in the printer buffer. This comman
28 Printer Controls - Reset Cancel CAN This command deletes the entire printer buffer and resets the
29 Example 1: The command Esc M 0 0 0 CR Disables the power out timer Example 2: The command Esc M 9 9 0 CR Sets the timer to 99 seconds
30 Printer Status Commands Query Print Buffer & Timer-MCR Status STX This command will cause the printer to print the batter
31 Query Printer Model and Hardware Revision Level ESC P ) This command will cause the printer to send the hardware model to the host. Escape Sequ
32 Example: The following escape sequence sets the timer to 99 seconds and activates the MRC to read the track #1. Escape Sequence: ESC M 9 9 1 CR
33 Cancel Magnetic Card Data Read Command ESC C This command cancels the MCR read process. The printer returns to onli
Document Revision History Document Title: APEX and ANDES Series Printer Command Language Developer’s Manual Revision Date Revision History Revis
34 Black Mark Sensing Command Mode Forward Seek Black Mark ESC Q F n CR This command sets the printer to black mar
35 Enable Back Black Mark Sensor ESC Q b e CR This command will cause the printer to enable the back black mark sensor and automaticall
36 Printed Receipt/Label Presenter Negative Adjust (*) ESC Q D – n This command will cause the printer to move the paper backwards to
37 Mark Beginning of a Page BeginPage(); This command follows Esc P P command and is used to indicate the beginnin
38 Command Name Description <b>, </b> Bold Text enclosed by <b> and </b> appear in bold. <u>, </u> Underline
39 Type Value Barcode type 1 Code 39 2 Code 128 3 Code 2 of 5 4 UPC 5 Codabar height Sets the height of barcode in units of dots data
40 Form FiestaTM Form Fiesta is a Form and Label Generating Software that can be used to automate the label design process. It is provided to Datamax
41 Download - Printer Default Setup Select Setup Download mode ESC D S This command puts the printer into the Download mode. The printer will
42 Download – Self test Message Hardware Information Select Setup Download mode ESC D S This command puts the printer into the Download mode. The p
43 Download – Logo The Graphic Logo feature allows the storage of a formatted Bitmap file in nonvolatile memory. Up to eight memory sectors, of up to
i CONTENTS Introduction...
44 Escape Sequence: ESC L g 1 Hexadecimal: 1B 4C 67 31 Decimal: 27 76 103 49 Example 2: The following example replaces logo location 1 wit
45 Display Tables Information ESC D I CR Same description as the command directly above. This command is for Legacy printer’s compatibility. Escap
46 Select Load Operating Mode ESC F M m CR This command selects the load operating mode. Possible values for parameter m are ‘0’: Standard res
47 Select Font Row ESC F F f CR This command selects the row value for the font tables. The parameter f can be set in the range of
48 Example 1: BBX 08 23 0 0 BITMAP 0008 000F INCORRECT 0002 0003 Example 2: BBX 08 23 0 0
49 Bluetooth™ & WiFi Setup Command Datamax-O’Neil printers can be placed in pass-thru mode. In pass-thru mode, data communication will only occur
50 Emulation The printer’s default mode of operation of Datamax-O’Neil Printers is the Datamax-O’Neil Printer Command Language (ExPCL). The emulation
51 Esc C n This command is ignored by the Datamax-O’Neil printer. It is recognized but no action is taken Esc A n This command sets the number o
52 Communications Settings Dip Switch Settings The Datamax-O’Neil printers support Serial RS232, IrDA compatible infrared communication interfaces an
53 Serial Communication (RS232C) The RS232C Interface signals for the Datamax-O’Neil printers are terminated on a 6 PIN RJ type data connector locate
ii Download – Logo...43 Download – F
54 RS232C Technical Specifications Name Value Data Transfer Rate 1200 – 115200 Baud Word Length 10 or 11 bits Start Bit 1 Data Bits 8 Parity
55 Software Driver Installation You must install the USB driver before you can use USB communication on the printer. Turn on the printer and connect
56 Settings Value Name APEX#, where # matches the printer model Serial Settings 115200,8,n,2,n USB Settings 57600, 8, n, 2, n Discoverability mod
57 Wi-Fi Communication (Option) The printer control card communicates with the Wi-Fi interface at 115.2 K Baud/sec for serial interface printers and
58 Error/ Warning LED Panel LED # LED Color/ Status Description Action Required LED # 1 Communication RED/ Steady Low power indication: Charge
59 Appendix A: Flash Font Tables The tables below show the Font Table organization in the Datamax-O’Neil Printers. There are two classes of font tabl
60 Courier International Font Table Courier PC Line Graphic Table
61 Monospace Font Table Rotated Font Table
1 Introduction This manual is intended to be used by software developers and system integrators with the purpose of developing applications that can
2 Parenthesis is not part of the command unless specified otherwise: For example Esc K n CR Escape Sequence: ESC K 1 CR Hexadecimal: 1B 4B
3 Character Sets Select Character Set Esc F n This command will select the character set that will be used when printing extended characters (Hexade
Commentaires sur ces manuels