THERMAL PRINTING SOLUTIONS APOS PREMIUM PRINTER SERIES USER MANUAL Reference 3107312 Issue A August 2004 AXIOHM 1, rue d'Arcueil, BP 820 92542 MONTROUGE CEDEX FRANCE Tel : (33) 1 58 07 17 17, Fax : (33) 1 58 07 17 18 www.axiohm.
EVOLUTIONS Date 07/02 06/03 07/03 08/04 Issue Preliminary 1 Preliminary 2 Z A Modifications Creation Added USB connection and easy font command APOS Premium Printer Series User Manual Page 1 /136 Reference: FDE 3107312 Issue A
CONTENTS 1 GENERAL DESCRIPTION ................................................................. 5 2 SPECIFICATIONS................................................................................ 6 2.1 Physical specification .............................................................................. 6 2.1.1 Dimensions ............................................................................... 6 2.2 Print head specification ........................................................................
.2 Choosing the proper location for your printer................................... 26 4.3 Loading paper ....................................................................................... 26 4.4 Light indicator....................................................................................... 26 4.5 Connectors & cables ............................................................................. 26 4.5.1 Power connector .....................................................................
6.18 Flash Firmware Download Commands ............................................ 109 6.19 Boot Download .................................................................................... 114 6.20 User Flash Memory Commands ........................................................ 115 6.21 User Data Storage Commands........................................................... 117 6.22 Peripheral control commands............................................................ 117 6.
1 GENERAL DESCRIPTION This set-up guide describes how to set up and operate the high-speed, thermal, point-of-sale (POS) printer manufactured by Axiohm SAS. The printer has many features, which give advantages to retailers, and is versatile enough to be used in other applications such as for printing out tickets and coupons. Axiohm’s unique and patented paper-loading mechanism makes this printer the easiest-touse POS printer on the market.
2 SPECIFICATIONS 2.1 Physical specification 2.1.1 Dimensions 115mm 170mm 205mm 1390 g Height Width Depth Weight (with cutter) 2.2 Print head specification The APOS printer uses a fixed-head thermal print head, using thick-film techniques to ensure the highest performance. Print head type Printing width: Number of dots across width: Resolution (dot-density): Thermal line 72 mm 576 8 dots / mm 2.2.1 Power supply The printer requires a power supply of 24V at 2,2A minimum.
2.3 Environmental specifications 2.3.1 Environmental conditions Operating temperature: Storage temperature: Maximum humidity: +0°C - +50°C -40°C - +85°C 90% RH (non-condensing) 2.3.2 EMI and Safety standards applied The printer is designed to meet the following requirements: Europe CE Marking: Safety Standards: EN 60950 North America EMI: FCC Part 15 class A Safety standard UL60950, CAN/CSA C22.2 60950 Conditions of acceptability EMI is measured using Axiohm power supply adapter ref.
2.4 Operational performance 2.4.1 Paper specification Paper width Maximum paper roll diameter (Maximum paper roll length) Recommended papers Emulsion (sensitive) side 80mm 83mm 82m (using 60gsm paper) AXIOHM ref 3101123 KANZAKI P350 On outside of roll * You must contact Axiohm if you wish to use an alternative type of paper; otherwise your warranty might not be valid and you could cause damage to your printer. 2.4.
2.5 Characters 2.5.1 Print Modes ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ Available print modes: Standard Compressed Double High Double Wide Upside Down Rotated Underlined Bold Reverse Italic Scaled 2.5.2 Size Characters sizes for the Standard and Compressed modes: Standard ♦ ♦ ♦ Characters per Inch: 15.6 Characters per Line: 44 Cell Size: 13 x 24 Dots Compressed ♦ ♦ ♦ Characters per Inch: 20.
2.5.3 Print zone 576 dots (addressable) @ 8 dots/mm, centered on 80 mm Standard Mode: minimum margins: 2.5 mm (.098 inches) Top margin to knife cut: 17.8 mm (0.70 inches) Paper Width = 80 mm (3.15 in.) Printable Zone, 576 Dots = 72 mm (2.835 in.) Nominal Margins, 4 mm (0.157 in.) Cut Edge Cut Edge Top Margin, 17.8 mm (.70 in.) Minimum 44 Standard Columns = 71.5 mm (2.815 in.) 56 Compressed Columns = 70 mm (2.756 in.
2.5.
2.5.5 Print density and density of receipt print lines This function makes it possible to adjust the energy level of the print head to darken the printout. An adjustment should only be made when necessary. The factory setting is 100%. Warning: Choose an energy level no higher than necessary to achieve a dark printout. Failure to observe this rule may result in a printer service call or voiding of the printer warranty. Consult your Axiohm technical support specialist if you have any questions.
2.5.7 Character sets 2.5.7.
2.5.7.
2.5.7.
2.5.7.
2.5.7.
2.5.7.
2.5.7.
2.5.7.
2.5.7.
2.5.7.
3 WARRANTY The printers or spare parts are guaranteed for a standard period of one (1) year, beginning at the delivery date (ex-works). AXIOHM can set specific warranty terms for any Customer asking for warranty extension or other services concerning the warranty process. The printers are guaranteed against defective material and/or workmanship.
4 YOUR PRINTER 4.1 Getting ready to use the printer 4.1.1 Unpacking the printer The printer comes in a plain cardboard carton and separate pockets for: • • • One APOS printer One set-up guide One standard power supply with 24V power lead (optional) The model number and serial number (including manufacturing week and batch number) of the printer will be marked on the exterior of the packaging. Make sure that no parts are missing or damaged.
4.1.5 Cutter The printer may be fitted with Axiohm’s patented semi-rotating ceramic cutter. It is split with one blade in the lower cavity and the other fitted to the lid. These blades are also correctly aligned when the lid is closed to make paper loading very easy and jam-free. Partial cuts or full cuts are possible under software control. 4.1.6 Connectors The APOS printer can have up to 3 types of connectors: Power connector: fitted to the base of the unit near the front. (See section 2.5.
4.
4.5.1 Power connector The connector is a shielded 6-pin female mini-Din plug. 6 5 4 3 2 Pins 1, 3 &5: Pins 2, 4 & 6: Shield: GND 24V EARTH 1 4.5.2 Communications interface connectors The RS232 interface uses 9-pin D-type male connectors. 4.5.2.
4.5.2.2 USB Connector USB Connector TYPE B 4.5.2.3 Drawer kick-out connector The connector used to open a cash drawer and monitor, whether the drawer is opened or closed, is a 6-pin modular RJ11 connector.
4.6 Communication Interface Control 4.6.1 RS232 The RS-232C interface uses either XON/XOFF (software) or DTR/DSR (hardware) protocol to control the flow of information between the computer and the printer. In XON/XOFF mode, a particular character is sent back and forth between the host and the printer to regulate the communication. In DTR/DSR mode, changes in the DTR/DSR signal on the RS-232C interface controls the information flow. 4.6.1.
4.6.2 USB PARAMETERS Axiohm’s implementation of USB complies with “Universal Serial Bus Specification” rev 1.1 4.6.2.1 Capabilities Apos Premium is a device only, and doesn’t provide hub capabilities. Full speed communication (12Mbits/sec) is supported. 4.6.2.2 Connector The connector is located at the rear of the printer, and is specified as B-type Refer to USB specification rev 1.1 chapter 6 for more information. 4.6.2.
4.7 Self test description The self-test ticket can be printed by pressing both Reset and Paper feed button and releasing the Reset button. Here is the description of all the lines that you can read when you print a self-test. Model Number: This is an 8 digit number fixed by Axiohm. Serial Number: This is a 10 digit number fixed by Axiohm.
Communication Interface: RX Buffer Size Interface Type Parameters (RS232 only) Baud Rate Data Bits Stop Bit(s) Parity Flow Control Reception Errors Print Options: Diagnostics Default LPI Carriage Return Logo(s) defined User Char(s) defined This indicates the size of the Receive buffer. RS232 or USB interface. Baud rate Value. Number of data bits Number of stop bit(s) Type of parity to control frame validity Hardware or software handshaking.
4.8 Configuration menu Printers are generally shipped with all the functions and parameters pre-set at the factory. It is possible to change settings for various printer functions and to run certain tests using the configuration menu. Selecting functions or changing settings is done through the scrolling configuration menu feature. This feature prints instructions on the receipt for selecting and changing any of the functions and parameters.
4.8.
5 LIST OF CONTROL CODES Control codes are non-printable characters or sequences of characters, which affect the subsequent operation of the printer. For your convenience, they are grouped in logical sets of commands, which can be used in the same context. Code (Hexadecimal) 09 0A 0C 0D 10 10 04 n 10 05 n 11 n1...nl 12 13 14 n 15 n 16 n 17 18 19 1A 1B “BMP file” 1B 07 1B 0C 1B 12 1B 14 n 1B 16 n 1B 20 n 1B 21 n 1B 24 n1 n2 1B 25 n 1B 26 s c1 c2 n1 d1...nn dn 1B 27 m a2 a1 a0 d1 … dn 1B 2A m n1 n2 d1...
Code (Hexadecimal) 1B 44 [n]...k NUL 1B 45 n 1B 47 n 1B 49 n 1B 4A n 1B 4B n1 n2 d1...dn 1B 4C 1B 52 n 1B 53 1B 54 n 1B 56 n 1B 57 n1 n2...n8 1B 59 n1 n2 d1...
Code (Hexadecimal) 1D 11 al ah cl ch d1...dn 1D 21 n 1D 22 n 1D 22 55 n1 n2 1D 23 n 1D 24 nL nH 1D 2A n1 n2 d1...dn 1D 2F m 1D 3A 1D 40 n 1D 42 n 1D 48 n 1D 49 n 1D 49 40 n 1D 4C nL nH 1D 50 x y 1D 56 m 1D 56 m n 1D 57 nL nH 1D 5C nL nH 1D 5E r t m 1D 61 n 1D 66 n 1D 68 n 1D 6B m d1...dk NUL 1D 6B m n d1...
Code (Hexadecimal) 1F 0A n 1F 0B 4E 52 4A n 1F 0C 53 50 46 nL nH 1F 0D 43 4C 45 n 1F 26 H cn cm ln [dn1…dnk] lm 1F 56 1F 61 n 1F 62 1F 63 n 1F 64 1F 65 n 1F 69 n 1F 74 1F 76 n 1F 77n Command Voltage and Temperature Monitoring Set Print Density Max Speed Reset EEPROM Define user-Define Character Set With Variable Height Send Printer Software Version Process Ticket Counter Request Ticket Counter Set Cut Tag Request Cut Tag Return Logo Checksum Active user defined font selection Print Test Form Buffered statu
6 COMMAND DESCRIPTION 6.1 Command Conventions The following information describes how each command is organized: Command Name A designation (not the ASCII code) used to identify the command. Description A brief summary of the command, followed by detailed information, if necessary.
6.2 Reset commands CLEAR PRINTER Clears the print line buffer without printing and sets the printer to the following condition: DLE 10 16 ASCII Hexadecimal Decimal Exceptions None INITIALIZE PRINTER Clears the print line buffer and resets the printer to the default settings for the startup configuration (refer to Default settings below). Single Wide, Single-High, Non-Rotated, and Left-Aligned characters are set and User-defined characters or logo graphics are cleared.
6.3 Paper Cut commands PERFORM FULL KNIFE CUT Cuts the receipt. Use either Hex 19 or Hex 1B 69. There are two codes for this command. Both codes perform the same function. ASCII Hexadecimal Decimal EM 19 25 ESC i 1B 69 27 105 PERFORM PARTIAL KNIFE CUT Partially cuts the receipt. The length of the cut can be changed through the configuration menu. The default setting leaves 0.20 inches (5 mm) of paper on the left edge. See Setting Partial Cut Distance in Diagnostics. There are two codes for this command.
SELECT CUT MODE AND CUT PAPER Selects a mode for cutting paper and cuts the paper. There are two formats for this command: one requiring one parameter m; the other requiring two parameters, m and n; the format is indicated by the parameter m.
6.4 Sensor commands SELECT SENSORS TO STOP PRINTING Selects the paper sensor used to detect out-of-paper. The printer finishes printing the current line and feeds the paper before stopping.
6.5 Vertical Positioning and Print Commands The vertical positioning and print commands control the vertical print positions of characters on the receipt. PRINT AND FEED ONE LINE Prints one line from the buffer and feeds paper one line. ASCII Hexadecimal Decimal LF 0A 10 ACTIVATE CARRIAGE RETURN Prints one line from the buffer and feeds paper one line. The printer can be set through the configuration menu to ignore or use this command.
FEED N DOT ROWS Feeds the paper n dot rows (n/203 inch, n/8 mm), without printing. ASCII Hexadecimal Decimal NAK n 15 n 21 n Value of n n/203 inch 0-255 Range of n ADD N EXTRA DOT ROWS Adds n extra dot rows (n/203 inch, n/8 mm) to the character height to increase space between print lines or decrease the number of lines per inch.
PRINT Prints one line from the buffer and feeds paper one line. ETB 17 23 ASCII Hexadecimal Decimal SET COLUMN Prints the first character of the next print line in column n, which must be sent for each line not printed at column one. The value of n is set to one after each line. ESC DC4 n 1B 14 n 27 20 n ASCII Hexadecimal Decimal Value of n 1-44= Standard pitch 1-56= Compressed pitch Default of n 1 Exceptions This command cannot be used with Single or Double-Density graphics.
SET LINE SPACING Sets the line spacing to [n x horizontal or vertical motion units] . The minimum line spacing is 8.5 lines per inch. The line spacing equals the character height when n is too small. If the Set Horizontal and Vertical Minimum Motion Units command (1D 50) is used to change the horizontal and vertical minimum motion unit, the parameters of this command (SetLine Spacing) will be interpreted accordingly.
PRINT AND FEED N LINES Prints one line from the buffer and feeds paper n lines at the current line height.
6.6 Horizontal Positioning Commands The horizontal positioning commands control the horizontal print positions of characters on the receipt. HORIZONTAL TAB Moves the print position to the next tab position set by the Set Horizontal Tab Positions (1B 44 n1 n2 ... 00) command. The print position is reset to column one after each line. Tab treats the left margin as column one; therefore changes to the left margin will move the tab positions.
SET ABSOLUTE STARTING POSITION Sets the print starting position to the specified number of dots (up to the right margin) from the beginning of the line. The print starting position is reset to the first column after each line. If the Set Horizontal and Vertical Minimum Motion Units command (1D 50) is used to change the horizontal and vertical minimum motion unit, the parameters of this command (Set Absolute Print Position) will be interpreted accordingly.
SET RELATIVE PRINT POSITION Moves the print-starting position the specified number of dots times horizontal motion unit either right (up to the right margin) or left (up to the left margin) of the current position. The print starting position is reset to the first column after each line.
SELECT JUSTIFICATION Specifies the alignment of characters, graphics, logos, and bar codes (see the value of n table). ESC a n 1B 61 n 27 97 n ASCII Hexadecimal Decimal Range of n 0, 48 = Left aligned 1, 49 = Center aligned 2, 50 = Right aligned 0-2, 48-50 Default 0 (Left aligned) Value of n Exceptions : The command is valid only at the beginning of a line. SET LEFT MARGIN Sets the left margin of the printing area. The left margin is set to (((nH X 256) + nL) times horizontal motion unit) inches.
SET HORIZONTAL AND VERTICAL MINIMUM MOTION UNITS Sets the horizontal and vertical motion units to 1/x inch and 1/y inch respectively. When x or y is set to 0, the default setting for that motion unit is used. GS P x y 1D 50 x y 29 80 x y ASCII Hexadecimal Decimal Value of x Value of y Range of x Range of y Default of x: Default of y: Horizontal Vertical 0 – 255 0 - 255 180 360 SET PRINTING AREA WIDTH Sets the width of the printing area.
6.7 Printer configuration STORE 10 CHARACTERS USER REVISION NUMBER IN FLASH This command will store a 10-character user defined revision number downloaded to the printer.
6.8 Print Characteristics Commands These commands control what the printed information looks like, selection of character sets, definition of custom-defined characters, and setting of margins. The commands are described in order of their hexadecimal codes. SELECT PRINT MODE Selects the print mode: standard, compressed, emphasized, underlined, double high or doublewide.
SELECT DOUBLE-WIDE CHARACTERS Prints doublewide characters. The printer is reset to singlewide mode after a line has been printed or the Clear Printer (10) command is received. Doublewide characters may be used in the same line with singlewide characters. ASCII Hexadecimal Decimal DC2 12 18 Exceptions Doublewide characters may not be used in the same line with single or double-density graphics. SELECT SINGLE-WIDE CHARACTERS Prints singlewide characters.
SELECT OR CANCEL UNDERLINE MODE Turns underline mode on or off. Underlines cannot be printed for spaces set by the Horizontal Tab, Set Absolute Start Position, or Set Relative Print Position commands. Underline mode may also be turned ON and OFF with the Select Print Mode(s) command (1B 21). However with that command the bar thickness is not selectable.
SELECT OR CANCEL DOUBLE STRIKE Turns double strike mode on or off. (identical to Emphasized mode). The printer is reset to the standard print mode after a Clear Printer (10) command is received. ESC G n 1B 47 n 27 71 n ASCII Hexadecimal Decimal Value of n 0 = Off Default 1 = On (When 0 and 1 are the Least Significant Bit, LSB) 0 (Off) Exceptions Only the lowest bit of n is effective. Double-strike printing cannot be used with bit-images or downloaded bit-images.
SELECT OR CANCEL 90 DEGREE CLOCKWISE ROTATED PRINT Rotates characters 90 degrees clockwise. The command remains in effect until the printer is reset or until a Clear Printer (10) or Rotated Print (1B 12) command is received. See Summary of Rotated Printing in this document. ASCII Hexadecimal Decimal Value of n Default ESC V n 1B 56 n 27 86 n 0 = Cancel 1 = Set 0 (Cancel) SELECT OR CANCEL UPSIDE DOWN PRINT MODE Prints upside-down characters.
SELECT CHARACTER SIZE Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 6, as follows: Character Width Selection Hex Decimal 00 0 10 16 20 32 30 48 40 64 50 80 60 96 70 112 Width 1 (normal) 2 (two times width) 3 (three times width) 4 (four times width) 5 (five times width) 6 (six times width) 7 (seven times width) 8 (eight times width) Character Height Selection Hex Decimal 00 0 01 1 02 2 03 3 04 4 05 5 06 6 07 7 Height 1 (normal) 2 (two times height) 3 (three
SELECT OR CANCEL WHITE/BLACK REVERSE PRINT MODE Turns on White/Black reverse printing mode. In White/Black reverse printing mode, print dots and nonprint dots are reversed, which means that white characters are printed on a black background. When the White/Black reverse printing mode is selected it is also applied to character spacing which is set by RightSide Character Spacing (ESC SP).
SUMMARY OF ROTATED PRINTING The table shows the combinations of upside-down print, 90 degree clockwise rotated print, and 90-degree counterclockwise rotated print. 90-degree clockwise rotated and 90-degree counterclockwise-rotated print commands are mutually exclusive: The setting of the last received command is effective. The samples of the print show only the normal size characters. Doublewide and double-high characters are printed in the same orientation. They may also be mixed on the same line.
6.9 Font commands SELECT PITCH (COLUMN WIDTH) Selects the character pitch for a print line ASCII Hexadecimal Decimal ESC SYN n 1B 16 n 27 22 n Value of n 0 = Standard pitch 1 = Compressed pitch Default 0 (Standard pitch) Formulas The following table provides the print characteristics for both pitches on the receipt station. Pitch Standard Compressed Columns 44 56 CPI 15.6 20.3 Related Information See Print Specifications for a description of both pitches.
DEFINE USER-DEFINED CHARACTER SET Defines and enters downloaded characters into RAM. The command may be used to overwrite single characters. User-defined characters are available until power is turned off or the Initialize Printer command (1B 40) is received. Any invalid byte (s, c1, c2, n1, n2) aborts the command. ASCII Hexadecimal Decimal ESC & s c1 c2 n1 d1 ... nn dn 1B 26 s c1 c2 n1 d1 ... nn dn 27 38 s c1 c2 n1 d1 ...
DEFINE USER-DEFINED CHARACTER SET WITH VARIABLE HEIGHT Command format is similar to existing command 1B 26. The only difference resides in the height encoding H indicates the height in number of dots instead of number of byte (1B 26) to provide better resolution. Data are still encoded vertically.
CANCEL USER-DEFINED CHARACTER Cancels the pattern defined for the character code specified by n. After the user-defined character is canceled, the corresponding pattern from current active ROM Code Page is printed. ASCII Hexadecimal Decimal Range of n ESC ? n 1B 3F n 27 63 n 32-255 Exceptions This command is ignored if n is out of range or if the user-defined character is not defined. SELECT CHARACTER SET Selects the character set.
SELECT CHARACTER CODE TABLE SELECT INTERNATIONAL CHARACTER SET Selects the character set to be used. See Print Specifications for the character sets. There are two codes for this command. Both codes perform the same function.
COPY CHARACTER SET FROM ROM TO RAM Copies characters in the active ROM set to RAM. Use this command to re-initialize the User-Defined Character Set. ASCII Hexadecimal Decimal Default ESC : 0 0 0 1B 3A 30 30 30 27 58 0 0 0 current active ROM Code Page Related Information To modify characters in one of the character set variations, such as Rotated Print, Select one of the Rotated Print commands, copy to RAM, then use the Define User-Defined Character Set command (1B 26).
6.10 Graphics Commands These commands are used to enter and print graphics data and are described in order of their hexadecimal codes. PRINT RASTER GRAPHICS Prints one row of data. n1 . .. nl: bytes describing the line to print. ASCII Hexadecimal Decimal Value of n Range DC1 n1 ...nl 11 n1 ...nl 17 n1 ...nl n1…n72 = Data bytes 0-255 Exceptions Raster graphics is not available in Page Mode. PRINT ADVANCED RASTER GRAPHICS Prints a horizontal raster of graphics data one or multiple times.
SELECT BIT IMAGE MODE Sets the print resolution and enters one line of graphics data into the print buffer. Excess data is accepted but ignored. Any print command is required to print the data, after which the printer returns to normal processing mode. See the illustration for graphic representations of the bit image. ASCII Hexadecimal Decimal ESC * m n1 n2 d1 ... dn 1B 2A m n1 n2 d1 ... dn 27 42 m n1 n2 d1 ...
Related Information 8-Dot Single-Density Mode Receipt MSB Top of Bit Image d1 d2 d3 d4 dn dn LSB 24-Dot Single-Density Mode Top of Bit Image d1 d4 d7 MSB d2 d5 dn d3 d6 dn LSB APOS Premium Printer Series User Manual Page 71 /136 Reference: FDE 3107312 Issue A
SELECT SINGLE-DENSITY GRAPHICS Enters one line of 8-dot single-density graphics into the print buffer. Any print command is required to print the line, after which the printer returns to normal processing mode. Single-density mode allows 0-288 dot columns for 80-mm paper. The number of bytes sent is represented by the formulas in table. Each bit corresponds to two horizontal dots. Compare to Set Bit Image Mode (1B 2A, m=0) earlier in this document. ASCII Hexadecimal Decimal ESC K n1 n2 d1 ...
6.11 Logo commands SELECT THE CURRENT LOGO Selects a logo to be defined or printed. The active logo n remains in use until this command is sent again with a different logo n. When this command precedes a logo definition, that definition is stored in flash or RAM memory as logo n. If the logo is saved to flash (see command 1D 22 n), and if there is already a different definition in flash memory for logo n, the first is inactivated and the new definition is used.
DEFINE DOWNLOADED BIT IMAGE Enters a downloaded bit image (such as a logo) into RAM or Flash with the number of dots specified by n1 and n2. The downloaded bit image is available until power is turned off, another bit image is defined, or either Initialize Printer (1B 40), command is received. See the illustration below for a graphic representation of the downloaded bit image. Column Top of Graphic One Column 72 x 8 Max. Row One d1 d 65 d2 MSB dn Row 64 d Max.
DOWNLOAD BMP LOGO Enters a downloaded BMP logo into RAM or Flash. The downloaded BMP logo can be printed by using the Print Downloaded Image (1D 2F n) command. To download a BMP file to save it as a logo, send the ESC (1Bh) character followed by the whole BMP file.
RETURN LOGO CHECKSUM Returns the checksum of a logo downloaded using “download BMP logo” or with “Define Downloaded Bit Image”. ASCII Hexadecimal Decimal US e n 1F 65 n 31 101 n Returns 4 Bytes: Command ID + Flag + checksum of the logo specified by n. Byte 1 Byte 2 = 65h = 01 - if logo n exists - if logo n doesn’t exist. Byte 3 = Checksum (LSB) or 00h if logo n doesn’t exist. Byte 4 = Checksum (MSB) or 00h if logo n doesn’t exist. Checksum is two’s complement of sum of all bytes in the download sequence.
6.12 Printer Status Commands These commands enable the printer to communicate with the host computer. They are stored in the printer's data buffer as they are received, and are handled by the firmware in the order in which they were received. When a fault occurs, the printer will go busy at the communication interface and not respond to either of the Printer Status commands.
TRANSMIT PAPER SENSOR STATUS Sends status data to the host computer. The printer sends one byte to the host computer when it is not busy or in a fault condition. See the following table.
“US v” RETURNED STATUS DEFINITION n = 5: PRINTHEAD STATUS Two bytes are returned.
2nd byte Bit 0 1 … 7 Function Value 0 1 Status for dot 8 Status for dot 9 … Status for dot 15 OK OK … OK Damaged Damaged … Damaged 80th byte Bit Function Value 0 1 0 1 … 7 Status for dot 632 Status for dot 633 … Status for dot 639 OK OK … OK Damaged Damaged … Damaged APOS Premium Printer Series User Manual Page 80 /136 Reference: FDE 3107312 Issue A
TRANSMIT PRINTER ID Transmits the printer model, type of version as defined below. This command is processed as normal printer data.
TRANSMIT PRINTER ID, REMOTE DIAGNOSTICS EXTENSION Performs the remote diagnostic functions specified by n.
Value of n Hex Dec 82 130 83 131 84 132 85 86 87 133 134 135 90 144 91 92 93 Remote diagnostic item Function Receipt lines tally Receipt lines tally Clear receipt lines tally to 0 Return receipt lines tally, preceded by n to identify Printer returns 10 bytes in above example: â00010000 Knife cut tally, 8 digit ASCII numeric, max 99,999,999 Knife cut tally Knife cut tally Knife cut tally Write to NVRAM Write to NVRAM, and print on receipt to verify Clear knife cut tally to 0 Return knife cu
APOS Premium Printer Series User Manual Page 84 /136 Reference: FDE 3107312 Issue A
SELECT OR CANCEL UNSOLICITED STATUS MODE (USM) Selects whether the printer is to automatically return a 4 bytes status string whenever the status changes.
“GS a” RETURNED STATUS DEFINITION BYTE 1: PRINTER STATUS Bit Function Value 0 0 1 2 3 4 5 6 7 fixed fixed CDKO Printer Busy fixed Cover Position Feed Switch fixed Always 0 Always 0 Open Not Busy Closed No Media Feed Always 0 1 Close Busy Always 1 Open Media Feeding - “GS a” RETURNED STATUS DEFINITION BYTE 2: ERROR STATUS Bit Function 0 1 2 3 4 5 6 undefined undefined undefined Cutter Error Status fixed undefined Recoverable Error Status fixed 7 Value 0 1 OK Always 0 Failure - OK Failure Al
“GS a” RETURNED STATUS DEFINITION BYTE 4: MEDIA SENSOR STATUS Bit Function 0 1 2 3 4 5 6 7 undefined undefined undefined undefined fixed undefined undefined fixed Value 0 1 Always 0 - Always 0 - Notes: • All four bytes of status are always transmitted. • Recoverable errors include cover open, paper out, temperature or voltage is out of range. • This command is processed as normal printer data. • When the printer is disabled by the Select Peripheral Device command (ESC =), this command is disabled.
TRANSMIT STATUS Transmits the status specified by n. This is a batch mode command which transmits the response after all prior data in the receive buffer has been processed. There may be a time lag between the printer receiving this command and transmitting the response, depending on the receive buffer status.
STORE SELECTED SENSOR THRESHOLD IN FLASH This command will set the threshold value of the selected sensor. If the sensor A/D reading is below this threshold, the sensor status returned in the “US v” command will be zero. If the sensor A/D reading is at or above this threshold, the sensor status returned in the “US v” command will be one.
VOLTAGE AND TEMPERATURE MONITORING Returns the results of latest voltage and temperature measurements. US LF n 1F 0A n 31 10 n ASCII Hexadecimal Decimal Limit: Decimal: 132 ≤ n ≤ 133 Hex: 84 ≤ n ≤ 85 Always returns 7 Bytes : Command ID + zero terminated ASCII string.
6.13 Real Time Commands The Real Time commands provide an application interface to the printer even when the printer is not handling other commands.
MOVING DATA THROUGH THE BUFFER Applications should not let the buffer fill up with Real Time commands when the printer is busy at the communication interface. A busy condition can be determined by bit 3 of the response to GS ENQ or GS EOT 1 or DLE EOT 1. Other responses to GS EOT n or DLE EOT n can determine the reason for a particular busy condition.
n Decimal Hex Fault recovery mode 1 01 2 02 Restarts printing from the beginning of the line where a fault occurred, after recovering from the fault. Print settings that are normally preserved from line to line, such as character height and width, are still preserved with this operand. Recovers from a fault after clearing the receive and print buffers. Print settings that are normally preserved from line to line, such as character height and width, are still preserved with this operand.
REAL TIME STATUS TRANSMISSION Transmits the selected one byte printer status specified by n in Real Time according to the following parameters. This command includes two sequences: GS and DLE.
2 = Transmit communication interface Busy Status Bit 0 1 2 3 4 5 6 7 Status Off On Off On Off On On Off On Off On Off Hex 00 02 00 04 00 08 10 00 20 00 40 00 Decimal 0 2 0 4 0 8 16 0 32 0 64 0 Function Fixed to Off. Fixed to On. Cover closed. Cover open. Paper feed button is not pressed. Paper feed button is pressed. Fixed to On. Printing not stopped due to paper condition. Printing stopped due to paper condition. No error condition. Error condition exists in the printer. Fixed to Off.
REAL TIME PRINTER STATUS TRANSMISSION Transmits one byte status of the printer in real time. GS ENQ 1D 05 29 5 ASCII Hexadecimal Decimal Value of Byte Bit 0 1 2 3 4 5 6 7 Status Off Off Off On Off On Off On Off Off On On Hex 00 00 00 04 00 08 00 10 00 00 40 80 Decimal 0 0 0 4 0 8 0 16 0 0 64 128 APOS Premium Printer Series User Manual Function Undefined Undefined Cover closed. Cover open. Not busy at the communication interface. Printer is busy at the communication interface. CDKO Open. CDKO Close.
6.14 Bar Code Commands These commands format and print bar codes are described in order of their hexadecimal codes. SELECT PRINTING POSITION OF HRI CHARACTERS Prints HRI (Human Readable Interface) characters above or below the bar code.
PRINT BAR CODE Selects the bar code type and prints a bar code for the ASCII characters entered. If the width of the bar code exceeds one line, the bar code is not printed. There are two variations to this command. The first variation uses a NULL character to terminate the string; the second uses a length byte at the beginning of the string to compensate for the Code 128 bar code that can accept a NULL character as part of the data.
Second Variation Length of Byte Specified at Beginning of String The value of m selects the bar code system as described in the table. The variable d indicates the character code to be encoded into the specified bar code system. See the table. If character code d cannot be encoded, the printer prints the bar code data processed so far, and the following data is treated as normal data.
6.15 Page Mode Commands Page mode is one of two modes that the APOS PREMIUM controller uses to operate. Standard mode is typical of how most printers operate by printing data as it is received and feeding paper as the various paper feed commands are received. Page mode is different in that it processes or prepares the data as a “page” in memory before it prints it. Think of this as a virtual page. The page can be any area within certain parameters that you define.
PRINT DATA IN PAGE MODE Collectively prints all buffered data in the printing area. After printing, the printer does not clear the buffered data and sets values for Select Print Direction in Page Mode (ESC T) and Set Print Area in Page Mode (ESC W), and sets the position for buffering character data. ESC FF 1B 0C 27 12 ASCII Hexadecimal Decimal Exceptions This command is enabled only in page mode. SELECT PAGE MODE Switches from standard mode to page mode.
SELECT STANDARD MODE Switches from page mode to standard mode. In switching from page mode to standard mode, data buffered in page mode are cleared, the printing area set by Set Print Area in Page Mode (ESC W) is initialized and the print position is set to the beginning of the line.
B D A Default 0 Exceptions The command is valid only in page mode. The command is ignored if the value of n is out of the specified range.
SET PRINT AREA IN PAGE MODE Sets the position and size of the printing area in page mode. The command can be sent multiple times so that several different print areas, aligned in different print directions, can be developed in the printer’s page buffer before being printed using the Print Page Mode commands (FF or ESC FF). ASCII Hexadecimal Decimal Range of n Default ESC W n1, n2 ...n8 1B 57 n1, n2 ...n8 27 87 n1,n2 ...
SET ABSOLUTE VERTICAL PRINT POSITION IN PAGE MODE Sets the absolute vertical print starting position for buffer character data in page mode. The absolute print position is set to [(nL + nH X 256) x (vertical or horizontal motion unit)] inches. The vertical or horizontal motion unit for the paper roll is used and the horizontal starting buffer position does not move.
SET RELATIVE VERTICAL PRINT POSITION IN PAGE MODE Sets the relative vertical print starting position from the current position. This command can also change the horizontal and vertical motion unit. The unit of horizontal and vertical motion is specified by this command. This command functions as follows, depending on the print starting position set by Select Print Direction in Page Mode (ESC T): 1.
6.16 Macro Commands These commands are used to select and perform a user-defined sequence of printer operations. SELECT OR CANCEL MACRO DEFINITION Starts or ends macro definition. Macro definition begins when this command is received during normal operation and ends when this command is received during macro definition. The macro definition is cleared, during definition of the macro when the Execute Macro (GS ^) command is received. Normal printing occurs while the macro is defined.
Exceptions : If this command is received while a macro is being defined, the macro definition is aborted and the definition is cleared. If the macro is not defined or if r is 0, nothing is executed. 6.17 Drawer kick-out & internal buzzer Commands GENERATE SOLENOID PULSE Generates a pulse on pin “m” of the drawer kick-out connector in accordance with the table below. ASCII Hexadecimal Decimal ESC p m n1 n2 1B 70 m n1 n2 27 112 m n1 n2 Formulas n1 x 2 ms is the On time of the pulse.
6.18 Flash Firmware Download Commands These commands are used to load firmware into the printer. There are two ways to enter the download mode. 1. 2. While the printer is running normally, send the command, “Switch to Flash Download Mode (1B 5B 7D)” to leave normal operation and enter the download mode. If the Flash if found corrupted during Level 0 diagnostics the download mode is automatically entered after the printer has reset.
SWITCH TO FLASH DOWNLOAD MODE Puts the printer in flash download mode in preparation to receive commands controlling the downloading of objects into flash memory. When this command is received, the printer leaves normal operation and can no longer print transactions until the Reboot the Printer command (1D FF) is received or the printer is rebooted. This command does not affect the current communication parameters. Once the printer is in flash download mode, this command is no longer available.
SELECT FLASH MEMORY SECTOR TO DOWNLOAD Selects the flash sector (nn) for which the next download operation applies. The values of the possible sector are restricted, depending upon the flash part type. The printer transmits an ACK if the sector number is acceptable or an NAK if the sector number is not acceptable. Sector numbers start at 0 ASCII Hexadecimal Decimal Value and Range of n GS STX nn 1D 02 nn 29 2 nn 0-15 = 1M bytes Flash Exceptions : Available only in download mode.
ERASE ALL FLASH CONTENTS EXCEPT BOOT SECTOR Causes the entire flash memory to be erased. The printer returns ACK if the command is successful; NAK if it is unsuccessful. ASCII Hexadecimal Decimal GS SO 1D 0E 29 14 Exceptions: Available only in download mode. RETURN MAIN PROGRAM FLASH CRC Returns the CRC calculated over the flash firmware code space. The format of the response is ACK .
DOWNLOAD TO ACTIVE FLASH SECTOR Contains a start address (ah x 256 + al) and count (ch x 256 + cl) of binary bytes to load into the selected sector, followed by that many bytes. The start address is relative to the start of the sector. Addresses run from 0 to 64K. The printer may return one of several responses. ACK means that the data was written correctly and the host should transmit the next block. NAK means that, for some reason, the data was not written correctly.
6.19 Boot Download SET NEW BOOT CODE PARAMETERS Set the size for next boot code to be downloaded. ASCII Hexadecimal Decimal US ACK n 1F 06 n 31 06 n Value and Range of n 0-2 0 = 16 Kbytes 1 = 32 Kbytes 2 = 24 Kbytes Default 2 (24 Kbytes) Exceptions Available only in download mode. ERASE BOOT SECTOR + DOWNLOAD NEW BOOT CODE Wait for new boot code to be downloaded, then if CRC on this new boot code is valid, boot code sector is erased and reprogrammed with new code.
6.20 User Flash Memory Commands SELECT MEMORY TYPE (SRAM/FLASH) WHERE TO SAVE LOGOS OR USER-DEFINED FONTS Specifies whether to load the logos or user-defined characters to flash memory or to RAM (volatile memory). The selection remains in effect until it is changed via this command or until the power cycles. ASCII Hexadecimal Decimal Value of n GS " n 1D 22 n 29 34 n 48-51 n = 48 (ASCII n = 0) Loads active logo to RAM only. This is used to print a special logo but not have it take up flash memory.
RETURN USER FLASH MEMORY ALLOCATION STATUS Returns the amount of Flash memory available in user section. US w n 1F 77 n 31 119 n ASCII Hexadecimal Decimal Value of n 49 Returns the number of bytes available as a zero terminated ASCII string. ERASE USER FLASH SECTOR Erases a section of user flash memory and sends a carriage return when the operation is complete.
6.21 User Data Storage Commands WRITE TO USER DATA STORAGE Writes m bytes of data to the user data storage flash-page at the address specified. The printer waits for m bytes of data following the 3-bytes address, addr. ASCII Hexadecimal Decimal Value of m Addr ESC ‘ m a2 a1 a0 d1…dm 1B 27 m a2 a1 a0 d1…dm 27 39 m a2 a1 a0 d1…dm 0 – 255 (65536 x a2) + (256 x a1) + a0 If any of the memory locations addressed by this command are not currently erased, the command is not executed.
6.23 Transaction Monitoring Commands The following commands are provided as tools to monitor actual transaction completion, by providing synchronization mechanisms with cut commands. PROCESS TICKET COUNTER The ticket counter is a 16-bit counter in memory that gets incremented or cleared by sending a corresponding command to the printer.
SET CUT TAG The cut tag is a flag stored in memory, used to monitor the ticket transactions completion. Send this command prior to a cut command, and then monitor the result with command Request Cut Tag (1F 64) Sets the cut tag to the value specified by n US c n 1F 63 n 31 99 n ASCII Hexadecimal Decimal Value of n Cut tag value Range of n 0-255 REQUEST CUT TAG Returns Cut Tag status.
6.24 Easy Font Support The downloadable fonts are stored in Flash memory in a dedicated area, separate from the code and usual logos and user fonts storage areas. The area size is multiple of 64kbytes. Fonts may be downloaded at any given time, but cannot be deleted individually. Single Byte Fonts Single byte fonts (code pages) are downloaded differently from double byte fonts. Single byte fonts may be downloaded with the new 1C 4C command.
DOWNLOAD SINGLE BYTE FONT Download a single byte font code page to the printer. If the download is successful, an ACK will be returned. If unsuccessful, a NAK will be returned. A font must always be downloaded completely, which corresponds to 224 characters. The font name is used to identify the font. It will be printed on the diagnostics or configuration form. When a downloaded font is to be deleted, the font name is used to identify the font. Two fonts cannot have the same name.
DOWNLOAD DOUBLE BYTE FONT Download a single band of a double byte font characters to the printer. If the download is successful, an ACK will be returned. If unsuccessful, a NAK will be returned. If multiple font character bands are to be downloaded, the font name, code page selection, width, and height must be the same for all download commands. The start address of each command should be greater than the start address of the preceding download command. The font name is used to identify the font.
DOWNLOAD DOUBLE BYTE FONT COMPLETE Tells the printers that all bands for selected font are downloaded. If the download is successful, an ACK will be returned. If unsuccessful, a NAK will be returned. Syntax ASCII: Hex: FS 1C Operand Limit Returns f: Hex: ASCII: 8 character font name 0x20 ≤ f ≤ 0x7F OK: ACK Fault: NAK OK: 0x06 Fault: 0x15 Hex: E 45 f8 f8 READ FONT INFORMATION AND CHECKSUM If selected font exists, this command returns ACK followed by font information. Else it returns NAK.
DELETE FONTS To delete the Easyfont storage area, use command “Erase User Flash Sector “ 1D 40 n DOWNLOAD AND PRINT ONE CHARACTER Temporary download to printer SRAM and print character in normal, rotated and double high/ double wide modes. If download and print successful, an ACK will be returned. If unsuccessful, a NAK will be returned.
6.25 Configuration commands SET MAX POWER CONSUMPTION Synopsis: Set Maximum Power parameter Syntax: ASCII: Decimal: Hex: Operand: Limit: n = mode selection See table below US 31 1F ETX 3 03 EOT 4 04 n n n Description: This command will store the maximum power setting in non-volatile memory.
SET PRINT DENSITY Synopsis: Syntax: Limit: Setting Print density ASCII: US Decimal: 31 Hex: 1F VT 11 0B Decimal: 70 ≤ n ≤ 120 Hex: 46 ≤ n ≤ 78 N 83 4E R 80 52 J 69 4A n n n Description: Set the print density ( energy applied to paper ) in percent relative to nominal energy.
SET KNIFE OPTION Synopsis: Syntax: Set Knife Option ASCII: US Decimal: 31 Hex: 1F Operand: Limit: n = mode selection Decimal: 0≤n≤1 Hex: ETX 3 03 STX 2 02 n n n 00 ≤ n ≤ 01 Description: This command will store the knife option in non-volatile memory.
SET QUEUE TICKET MODE Synopsis: Syntax: Queue Ticket Mode ASCII: US Decimal: 31 Hex: 1F Operand: Limit: n = mode selection Decimal: 0≤n≤2 Hex: ETX 3 03 LF 160 A0 n n n 00 ≤ n ≤ 02 Description: This command will store the Set Queue Ticket Mode in non-volatile memory.
SET COMMUNICATION INTERFACE PARAMETERS Synopsis: Syntax: Description: Setting communication parameters ASCII: US STX n1 Decimal: 31 2 n1 Hex: 1F 02 n1 n2 n2 n2 n1 00h 03h Interface RS232 USB n2, bit [0..
SET DIAGNOSTICS MODE Synopsis: Syntax: Set diagnostics mode ASCII: US Decimal: 31 Hex: 1F Operand: Limit: n = mode selection Decimal: 0≤n≤2 Hex: ETX 3 03 NUL 0 00 n n n 00 ≤ n ≤ 02 Description: This command will store the printer diagnostics mode in non-volatile memory.
SET DEFAULT CODE PAGE Synopsis: Syntax: Set default code page ASCII: US Decimal: 31 Hex: 1F Operand: Limit: n = code page selection See table below ETX 3 03 Ç 128 80 n n n Description: This command will store the default code page in non-volatile memory. Note: The default code page selects which code page will be initially used by the printer until it is changed using the “ESC R” or “ESC t” commands.
RESET EEPROM Synopsis: Syntax: Reset EEPROM ASCII: US Decimal: 31 Hex: 1F Operand: Limit: n = security byte n=0 CR 13 0D C 67 43 L 76 4C E 69 45 n n n Description: This command will reset the non-volatile memory configuration items to their default values. Notes: This command must be sent while the printer is in its normal operating mode. Once the configuration parameters are downloaded to the printer using this command, the printer must be reset before they take effect.
7 TROUBLESHOOTING Axiohm printers are simple and generally trouble-free, but from time to time minor problems may occur. Follow these procedures to determine the cause and resolution of any problems the printer may be having. If the procedures in this section do not correct the problem, contact a service representative. 7.1 Light indicator When light is on continuously, the printer is ready to operate. When light is flashing, an error occurs. 7.2 Problems & Solutions 7.2.
7.2.3 Printing Problems Problem Printing quality is deteriorating Colored stripe on the receipt. Receipt does not come out all the way. Possible Causes Print head may be getting dirty. Paper is low. What to Do See next chapter ”Cleaning your printer”. Change the paper. Paper is jammed. Printer starts to print, but stops while the receipt is being printed. Receipt is not cut. Paper is jammed. Open the receipt cover, inspect the knife, and clear any jammed paper.
8 CLEANING YOUR PRINTER Depending on the environment in which the printer is used, it can accumulate dust. Therefore it is necessary to clean it periodically to maintain a good print quality. The cleaning period depends on the environment and the usage of the printer, but the print head should be cleaned at least once a year or up to one month in heavy duty applications. Cleaning Instructions: Unplug the printer. Never clean the head immediately after printing, the head may be hot.
9 SPARES All spare parts kits are supplied as individually packaged loose parts. It is possible to obtain different groups of spare parts kits. AXIHOM customer service will provide the list later.
K3107635 TOP & BOTTOM CASTING KIT APOS PREMIUM Lot of: For Products: APOS 2100-xxx (light grey) K3108077 TOP & BOTTOM CASTING KIT APOS PREMIUM Top casting (x1) Bottom casting (x1) Lot of: For Products: APOS 2101-xxx (black) Top casting (x1) Bottom casting (x1) CK60000A CLEANING KIT 60MM AXIOHM (10 items/kit) For Products: APOSxx-xx-xxx Lot of: Cleaning kits 60mm (x10) * Screws, washers, rivets and any other small hardware not mentioned in the contents list are supplied with the kits when nee