Page 3
100-240 Vac, 1.5/0.8 A, 50/60 Hz, output rated 24 Vdc, 2.3 A. Use of this product with a power supply other than the Axiohm power supply will require you to test this power supply and Axiohm printer for FCC and CE mark certification.
Page 4
Axiohm immediately. The Axiohm company is not responsible for any radio or television interference caused by unauthorized modification of this equipment or the substitution or attachment of connecting cables and equipment other than those specified by Axiohm.
Where to Get Additional Information The following publications contain more information about the A721 printer. Contact your sales representative to obtain additional copies of this Owner’s Guide or any of the publications listed below.
A721 Owner’s Guide Contents Contents Contents Chapter 1: About the A721 Printer Features and Options............................1 Receipt Station Features..........................1 Journal Station Features ..........................1 Slip/Validation Station Features ........................ 2 General Features ............................2 Options............................... 2 Maintaining and Cleaning the Printer........................ 2 Ordering Paper and Supplies..........................
Page 7
RS-232C Interface Connectors ........................ 49 Parallel Interface ............................. 52 Parallel Interface Connectors ........................52 Setting Switches .............................. 54 Chapter 6: A721 ESC/POS Commands List of A721 ESC/POS Commands......................... 57 A721 ESC/POS Command Descriptions......................59 Printer Function Commands........................59 August 1998...
Page 8
Graphics Commands ..........................122 Cash Drawer Status Commands ......................124 Chapter 8: Axiohm 5021 Printer Emulation Commands List of Axiohm 5021 Emulation Commands ....................125 Axiohm 5021 Emulation Command Descriptions..................126 Printer Function Commands........................126 Print Characteristics Commands ......................132 Printer Status Commands ........................
Page 9
Contents A721 Owner’s Guide Exception Table Entry Format ....................... 165 Maintaining the Exception Table ......................167 Appendix A: Specifications Printing Specifications ..........................169 Table 1: Speed and Print Modes ......................169 Table 2: Paper Specifications......................... 169 Table 3: Character and Line Specifications ................... 170 Print Zones ..............................
Chapter 1: About the A721 Printer The A721 printer is a fast, quiet, reliable, and very compact multiple-function printer. It prints receipts and a journal, validates and prints checks, and prints on a variety of single- or multiple-part slips. An additional option is the Magnetic Ink Character Recognition (MICR) check reader with parsing which reads account numbers on checks for easy verification.
Maintaining and Cleaning the Printer There is no customer maintenance required for the A721 printer. However, you may occasionally clean the cabinet as needed to remove dust and finger marks. Use any household cleaner designed for plastics, but test it first on a small, unseen area.
Slips and Forms The A721 printer prints on single- or multiple-part slips in the slip station. Slips must meet the following requirements (the receipt is included as one or two of the parts depending if it is one-ply or two-ply): Minimum Slip Size 2.75 inches (69.8 mm) wide by 5.0 inches (127 mm) long...
Model 322 Indiana Cash Drawer Model SLD Documentation Contact your sales representative to order the following documentation: Title Axiohm Number A721 Multifunction Printer: Owner’s Guide 7221-D100 A721 Multifunction Printer: Setup Guide 7221-D110 A721 Multifunction Printer: Service Guide 7221-D200 August 1998...
This chapter includes information about operating the printer controls, loading paper and ribbon cassettes, replacing the printhead, and working with slips, forms, and checks. Using the Controls The A721 printer includes the following buttons: • Paper Feed button used to advance paper. • Reset button used to initialize the printer.
Changing Paper The A721 features simple paper loading that is quick and efficient, saving both time and paper. Caution: Do not operate the printer if it runs out of paper. The printer will continue to operate, but data may be lost and the printhead may be damaged.
Page 16
A721 Owner’s Guide Chapter 2: Operating the Printer Loading the New Receipt Paper Roll Clamshell Rear Cover Slip Table Drop the new roll into the bucket and pull out several inches. Lay the end of the paper out over the top of the slip table, then close the rear cover and the clamshell.
Chapter 2: Operating the Printer A721 Owner’s Guide Changing Receipt/Journal Paper Note: Use these instructions if you are printing both receipts and a journal (record of transactions) or a journal only. If you are printing receipts only, see “Changing Receipt Paper” earlier in this chapter.
Page 18
A721 Owner’s Guide Chapter 2: Operating the Printer Loading the New Receipt/Journal Paper Roll Clamshell Rear Cover Take-up Assembly Paper Feed Drop the new receipt/journal roll into the bucket and pull out about 10 inches (25 cm) of paper. The paper should not extend farther than the back of the printer cabinet.
Chapter 2: Operating the Printer A721 Owner’s Guide Verifying Checks Follow this procedure to verify checks on printers with the MICR check reader option. The printer’s Magnetic Ink Character Reader (MICR) check reader reads the magnetic ink characters on the check in order for the host computer to verify that the check is good.
The A721 can print on slips and forms up to five-parts thick (the receipt is included as one or two of the parts depending if it is one-ply or two-ply). For more information on the types of slips and forms you can use, see “Ordering Paper and Supplies”...
Validating Slips and Checks The A721 can print on slips and forms up to five-parts thick (the receipt is included as one or two of the parts depending if it is one-ply or two-ply). For more information on the types of slips and forms you can use, see “Ordering Paper and Supplies”...
Cover (Cassette Cover removed for clarity) Note: Some A721 models may appear slightly different from what is shown in the illustration. The procedures are the same for all models unless otherwise noted. Open the cassette cover. Slide the carriage assembly (assembly that holds the printhead) to the center of the printer.
Button Note: Some A721 models may appear slightly different from what is shown in the illustration. The procedures are the same for all models unless otherwise noted. Press the Reset button to initialize the printer, and then unplug the power supply.
A721 Owner’s Guide Chapter 2: Operating the Printer Inserting the New Printhead Complete the following procedure to insert the new printhead. Reconnect the flex cable. The flex cable must be positioned as shown in the illustration. Note that it is under the anti-rotation bearing.
Chapter 2: Operating the Printer A721 Owner’s Guide Adjusting the Paper Low Sensor Before adjusting the paper low sensor, make sure the power is off. Place the printer on a level surface or adjust it while mounted on the host computer. Do not apply pressure to the top of the printer while making adjustments.
A721 Owner’s Guide Chapter 2: Operating the Printer Procedure The paper low sensor lights the paper low/out LED when the paper roll is almost empty. You can raise or lower the paper low sensor assembly to change the amount of paper left on the roll when the sensor lights the paper low/out LED.
Page 27
Chapter 2: Operating the Printer A721 Owner’s Guide August 1998...
Chapter 3: Diagnostics and Print Test Chapter 3: Diagnostics and Print Tests The following diagnostic tests are available for the A721: • Level 0 Diagnostics: Performed during the startup cycle and each time the printer is reset. • Level 1 Diagnostics: Performed using DIP switches or the Paper Feed button.
To run Level 1 diagnostics, use the DIP switches to change settings. See the following illustration for the location of the switches on the A721 printer. Keep these points in mind when using the DIP switches: • To turn a DIP switch on, push it down. To turn a DIP switch off, push it up.
• DH 4700 printer The A721 printer has one set of DIP switches, while some of the emulated printers have two or more sets. You can enter values for the extra switch packs into “internal switch packs” stored in NVRAM.
Page 31
Emulation Axiohm 5021 DH 4700 *The A721 ESC/POS includes Epson ESC/POS (in order to emulate the Epson 370/5 printer). Press the Paper Feed button. The green Slip In LED turns on. The printer emulation you selected is stored in NVRAM.
Page 32
See the tables in the following four sections to determine the switch pack you need for the emulation you have already chosen: • “A721 ESC/POS Internal Switch Pack Settings” • “Ithaca Peripherals Proprinter Internal Switch Pack Settings” • “Axiohm 5021 Internal Switch Pack Settings”...
Page 33
Use the print test to print the name of the emulation which is currently active and the settings of the NVRAM switch packs. See “Diagnostic Print Tests” later in this chapter for information about running the tests. A721 ESC/POS Internal Switch Pack Settings (Includes Epson ESC/POS) A721 ESC/POS Emulation: Internal Switch Pack 1...
Page 34
A721 Owner’s Guide Chapter 3: Diagnostics and Print Test A721 ESC/POS Emulation: Internal Switch Pack 3, Switches 2 and 3 Switch 2 Switch 3 Description Epson 40/33 character print zone (2.506 inches wide). Epson 42/35 character print zone (2.506 inches wide).
Page 36
A721 Owner’s Guide Chapter 3: Diagnostics and Print Test DH 4700 Internal Switch Pack Settings DH 4700 Emulation: Internal Switch Pack 1, Switches 1 and 2 Switch Settings Description Auto Line Feed OFF. Auto Line Feed ON. Unused. DH 4700 Emulation: Internal Switch Pack 1, Switches 3 and 4...
Page 37
Chapter 3: Diagnostics and Print Test A721 Owner’s Guide DH 4700 Emulation: Internal Switch Pack 2, Switches 1, 2, and 3 Switch 1 Switch 2 Switch 3 Description Set pitch to 33 characters/line. Set pitch to 36 characters/line. Set pitch to 40 characters/line.
Page 38
High signal (1) on pin 3 of cash drawer connector indicates cash drawer closed. *The A721 has one cash drawer connector for two drawers. If two drawers are connected, it is not possible to read drawer status. If a single drawer is connected, a status check is possible.
Before putting the printer into the flash download mode, install the program that implements the download protocol onto the host computer (or any IBM-compatible computer that can be connected to the printer for diagnostic purposes). This program is available from Axiohm. Contact your Axiohm sales representative for more information.
Chapter 3: Diagnostics and Print Test A721 Owner’s Guide Run the program that implements the download protocol. The program leads you through the download process. Note: This program must be installed on the host computer or to a computer that is connected to the printer for diagnostic purposes.
A721 Owner’s Guide Chapter 3: Diagnostics and Print Test You can check that the Data Scope mode parameters have been stored in NVRAM by printing out the configuration information. For more information, see “Diagnostic Print Tests” later in this chapter.
Chapter 3: Diagnostics and Print Test A721 Owner’s Guide Turn the printer back on. Turn the printer off and reset the DIP switches to what they were when you started. For normal operation settings, see “Switch Settings” in chapter 5.
Selecting the Font for the MICR Check Reader Use this procedure to select the font for the MICR check reader to read. There are two fonts that the A721 printer is able to recognize. However, the switches must be set to the font that will be read.
Chapter 3: Diagnostics and Print Test A721 Owner’s Guide Turn the printer off and reset the DIP switches to what they were when you started. For normal operation settings, see “Switch Settings” in chapter 5. Turn the printer back on.
A721 Owner’s Guide Chapter 3: Diagnostics and Print Test Set the DIP switches to the following settings: Switch 1 Switch 2 Switch 3 Switch 4 Switch 5 Switch 6 Switch 7 Switch 8 Turn the printer back on. The Slip In LED flashes until a slip is inserted. When the slip is positioned correctly, the Slip In LED is on steady.
Chapter 3: Diagnostics and Print Test A721 Owner’s Guide General Print Test This test produces a printout of all ROM CRC, internal switch pack, and configuration information (see the sample printout on the next page). In addition, it prints each character in the ASCII character set including all code pages and character types (single-wide, double-wide, and so forth).
A721 Owner’s Guide Chapter 3: Diagnostics and Print Test Sample of Configuration Printout The following sample shows a configuration printout, including ROM CRC and internal switch pack. August 1998...
Chapter 3: Diagnostics and Print Test A721 Owner’s Guide Adjusting the Printhead Gap If the print from the test is light, the gap between the printhead and the paper may be too large. If the print is smudged, the gap may be too small. You can easily adjust the printhead gap.
Chapter 4: When Something Goes Wrong Chapter 4: When Something Goes Wrong The A721 printer is a simple, generally trouble-free printer, but from time to time minor problems may occur. For example, the power supply may be interrupted or the paper may jam.
Reload the paper if necessary, and then close the cover. Press the Paper Feed button to make sure the paper is no longer jammed. For step-by-step paper loading instructions, see chapter 2. If this does not solve the problem, contact an Axiohm-authorized service representative. August 1998...
That dot is missing from For step-by-step instructions, see “Replacing the Printhead” in chapter 2. all characters that require it. Flex cable broken or badly worn The flex cable must be replaced. Contact an Axiohm-authorized service representative. August 1998...
Ribbon Tears or Frays More Quickly Than Expected Cause Action Ribbon out of specification Check that the ribbon you are using meets the specifications for the A721 printer. For more information see, “Ordering Paper and Supplies” in chapter 1. Printhead worn; causing it to tear Replace the printhead.
For serious problems, such as the printer not printing or not communicating with the host computer, contact an Axiohm-authorized service representative to arrange a service call. For self-maintenance organizations, a service guide is available: A721 Multifunction Printer: Service Guide (7221-D200). Contact your sales representative to order the service guide.
Page 55
Chapter 4: When Something Goes Wrong A721 Owner’s Guide August 1998...
This chapter describes how to create such a program or modify an existing one. Interfaces In order for the printer to communicate with the host computer, a communication link must be set up. The A721 supports the following industry standard interfaces: •...
• For DTR/DSR, changes in the DTR/DSR signal coordinate the information flow. The RS-232C version of the A721 offers the standard options which are selected with the DIP switches. For more information on these settings, see “Setting Switches” later in this chapter.
A721 Owner’s Guide Chapter 5: Communication DTR/DSR Protocol The DTR signal is used to control data transmission to the printer. It is driven low when the printer is ready to receive data and driven high when it cannot accept any more data. Data is transmitted from the printer after it confirms that the DSR signal is low.
Page 59
Chapter 5: Communication A721 Owner’s Guide RS-232C 9 Pin to 9 Pin Cable 7221 Printer 9 Pin Male 9 Pin Male Connector Connector RS-232C 9 Pin to 9 Pin Cable RS-232C 25-Pin (Host Computer) to 9-Pin Communication Connector Pin Assignments...
Page 60
A721 Owner’s Guide Chapter 5: Communication Power Cable Connector Pin Assignments The following illustration shows the power cable connector and pin assignments. The power cable connector is a 6-pin mini-DIN plug and is located at the rear of the printer.
Chapter 5: Communication A721 Owner’s Guide Parallel Interface The parallel interface is an industry standard IEEE 1284 bi-directional interface. It communicates in the following modes: compatibility, nibble, and byte. The following sections explain the interface protocols and connectors for the parallel interface. For information on the RS-232C interface protocols and connectors, see “RS-232C Interface”...
Page 62
A721 Owner’s Guide Chapter 5: Communication Power Cable Connector Pin Assignments The following illustration shows the power cable connector and pin assignments. The power cable connector is a 6-pin mini-DIN plug which mates with an integral shielded cable on the external power supply. It is located at the rear of the printer.
Chapter 5: Communication A721 Owner’s Guide Setting Switches The DIP switches are located at the rear of the printer as shown in the illustration. They are used to set the communication parameters as outlined in the table. These parameters must match those of the host computer in order for the host computer and the printer to communicate.
Chapter 6: A721 ESC/POS Commands Chapter 6: A721 ESC/POS Commands Commands control all operations and functions of the A721 printer. The commands in this chapter include the commands for the Epson 370/375 printer, allowing the A721 printer to emulate the Epson printers.
Page 67
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Hexadecimal Code Command Name Page 1B 52 International Character Set 1B 54 Select Print Direction in Page Mode 1B 55 Set/Cancel Uni-Printing 1B 56 Set/Cancel 90 Degree Clockwise Rotation 1B 57 Set Printing Area in Page Mode...
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands A721 ESC/POS Command Descriptions These commands include the commands for the Epson 370/375 printer. The command descriptions in this section are grouped in the following categories: • Printer Function Commands • Print Characteristics Commands •...
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Line Feed Hexadecimal Decimal ASCII Standard Mode Prints the data in the buffer and feeds the paper one line. Page Mode Sets the print starting position to the beginning of the next line. For more information see “Page Mode” later in this chapter.
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Cancel Print Data in Page Mode Deletes all the data to be printed in the “page” area. Any data from the previously selected “page” area that is also part of the current data to be printed is deleted.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Select Print Mode(s) Selects the print mode(s) specified by the value of n as outlined below. The default is 1. Hexadecimal Decimal ASCII 1B 21 n 27 33 n ESC ! n...
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Select Print Mode(s) (for Windows™ Printer Drivers) Selects the print mode(s) specified by the value of n as outlined below. The default is 1. This command is intended for use with Windows printer drivers developed with the Windows unitool. This command is nearly identical to Select Print Mode(s) (1B 21) except that the bits for Double-Strike and Underline are ignored.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Set Line Spacing to Default Spacing Sets the default spacing in either standard or page mode. Hexadecimal Decimal ASCII 1B 32 27 50 ESC 2 Standard Mode This command sets the line spacing to the default spacing as set in internal switch 2 (either 6 lines per inch or 7.2 lines per inch).
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Select Peripheral Device Selects or cancels a peripheral device designated by the value of n. When the printer is not selected, it reads all data but performs nothing except the Real Time Status Transmission or Real Time Request to Printer commands.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Set Horizontal Tab Positions Sets up to 32 tab positions as specified by the value of n and k. Default tabs are set at intervals of eight characters (columns 9, 17, 25). The tab is positioned using the calculation (character width) x n. Character width includes the right-side space of the character and is doubled when double-wide characters are used.
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Select Page Mode Changes mode from standard to page. Hexadecimal Decimal ASCII 1B 4C 27 76 ESC L This command collects and processes the data intended for printing on a specific area of the paper. When the Eject Slip command (0C) is received, the data is printed in the specified area and the printer returns to standard mode.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Select Print Direction in Page Mode Selects the printing direction and start position in page mode. See the illustration. Default for n is 0. For more information see “Page Mode” later in this chapter.
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Set Printing Area in Page Mode Sets the position and size of the printing area in page mode. For more information see “Page Mode” later in this chapter. Hexadecimal Decimal ASCII Value of n 1B 57 n1, n2 .
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Set Relative Print Position Sets the print starting position based on the current position, in the fundamental calculation pitch. The distance (in inches) from the current position is calculated as: [N x (fundamental calculation pitch)]. See the Set Fundamental Calculation Pitch command (1D 50).
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Select Print Paper(s) Selects the paper for printing. (See the following table.) The command is effective only at the beginning of a line. It is ignored when n is out of range. The default is n = 1.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Select Paper(s) For Setting Line Spacing Selects paper for use with the following commands: • Select Default Line Spacing (1B 32) • Set Line Spacing (1B 33) • Set Slip Eject Length (1B 43) The command is ignored if n is out of range.
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Enable/Disable Paper Feed Button Enables or disables the Paper Feed button. Hexadecimal Decimal ASCII 1B 63 35 n 27 99 53 n ESC c 5 n Note: Only the lowest bit of n is effective. When n is even, the paper feed button is enabled and when n is odd, the paper feed button is disabled.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Generate Pulse Outputs a pulse defined by n1 and n2 to open a cash drawer. The drawer connector solenoid should have a resistance of 24 ohms or more to avoid excessive current flow. Use the printer power supply (drawer connector pin 4) to power the drawer.
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Set Left Margin Sets the left margin as specified by n1 and n2. The left margin is calculated by [(n1 + 256 x n2) x horizontal direction of the fundamental calculation pitch)]. See the Set Fundamental Calculation Pitch command (1D 50).
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Set Printable Area Width Sets the width of the printable area as specified by n1 and n2. The default for n1 =144; for n2 = 1. See the illustrations. Hexadecimal Decimal ASCII...
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Print Characteristics Commands These commands affect the appearance of printed information. They control the following: • Character set selection • Character formatting • Print orientation The commands are listed numerically by hexadecimal code.
Page 87
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Value Range (in decimal) Description 0-10 (7 x 7) Number of u, l pairs (columns) 0-6 (5 x 9) = 0-255 Data for column i pins. u = the upper 8 pins. Bit 7 of u...
Page 88
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands The result is the character H as shown in the illustration. In order to define characters for either 7 x 7 or 5 x 9, the character set must be selected by the Select Print Mode(s) command (1B 21).
Page 89
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Set/Cancel Underline Turns underline mode on or off. The default value is n = 0. Underlines cannot be printed for 90 degree clockwise rotated characters or for spaces set by the Horizontal Tab, Set Absolute Start Position, or Set Relative Print Position commands.
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands International Character Set Selects and international character set as defined by n. The character sets are described in the International Character Code table and Hebrew Code table that follow. Hexadecimal Decimal ASCII...
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Set/Cancel 90 Degree Clockwise Rotation Starts or stops 90 degree clockwise rotated printing. Underlining may be on in rotated mode, but characters are not underlined. The command is ignored when n is out of range.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Graphics Commands These commands are used to control the way graphics are entered or printed. They are listed in numerical order of their hexadecimal codes. Select Bit Image Mode Selects the bit image mode using m. The number of dots is specified by n1 and n2. The number of horizontal dots is calculated as: n1 + 256 x n2.
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Define Downloaded Bit Image Defines a downloaded bit image as specified by n1 and n2. Hexadecimal Decimal ASCII 1D 2A n1 n2 [d] (n1 x n2 x 8)* 29 42 n1 n2 [d] (n1 x n2 x 8)* GS * n1 n2 [d] (n1 x n2 x 8)* *There are n1 x n2 x 8 data columns (the value [d]).
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Print Downloaded Bit Image Prints a downloaded bit image in the mode specified by m. If a downloaded bit image exceeds one line, the excess data is not printed. Downloaded bit images and user-defined character sets cannot be used simultaneously.
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Printer Status Commands These commands enable the printer to communicate with the host computer following the selected handshaking protocol, DTR/DSR, XON/XOFF, or bi-directional parallel. 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.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Transmit Paper Sensor Status Transmits the status of a paper sensor. Hexadecimal Decimal ASCII 1B 76 27 118 ESC v Receipt/Journal Paper Out Switch Status Receipt/Journal Paper Out Switch Sensor Receipt/Journal Paper Near End...
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Transmit Printer ID Transmits the printer’s ID to the host computer. Hexadecimal Decimal ASCII Value of n 1D 49 n 29 73 n GS I n The following table shows the printer ID as specified by n.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Enable/Disable Automatic Status Back (ASB) Enables or disables automatic status back (ASB) and specifies the status items to include. Hexadecimal Decimal ASCII 1D 61 n 29 97 n GS a n The bits of n are defined as follows:...
Page 100
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Second Byte (error information) Error Status Error Type Undefined Mechanical Error No Error Error Undefined Not Used Always 0 Unrecoverable Error No Error Error Not Used Always 0 Third Byte (paper sensor information)
Page 101
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Notes for Bit 1: • The slip paper status becomes 0 (Printable) after paper is loaded and becomes 1 (Not Printable) when the paper is ejected or the printer times out. •...
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Transmit Status Transmits the status specified by the value of n. In RS-232C communications, when DTR/DSR control is selected, the printer confirms that the host computer is ready to receive data (DSR signal is SPACE) and then transmits only one byte. If the host computer is not ready to receive data (DSR signal is MARK), the printer waits until the host computer is ready.
Page 103
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide n = 3: Slip Status (Transmits the values 00H - 0FH, indicating the remaining printable area) Number of Remaining Dots Slip Status (Hexadecimal) 0 - 8 00 (Transmitted when there is not enough...
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Real Time Commands The following three situations must be understood when using real time commands. First, the printer performs the real time command upon receiving it and will transmit status regardless of the condition of the DSR signal.
Page 105
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Real Time Status Transmission Transmits the printer status in real time. In RS-232C communications, the printer transmits only one status byte before checking the DSR state. The command is ignored if n is out of the specified range. Slip status may be incorrect for paper with holes.
Page 106
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands n = 3: Error Status Error Status Description Not Used Always 0 Not Used Always 1 Mechanical Error No Error Error Undefined Not Used Always 1 Unrecoverable Error No Error Error Not Used...
Page 107
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Notes: • For Bit 2, there is a lag between receipt of the Select Print Paper(s) command (1B 63 30) and the slip selection. During this time, Bit 2 remains 1 (slip paper not selected).
Page 108
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands Real Time Request to Printer Responds to a request from the host computer. The request is specified by the value of n. (See table below.) The printer performs the command upon receipt. The command is ignored if n is out of the specified range.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Bar Code Commands These commands format and print bar codes on the receipt station. Select Printing Position of HRI Characters (Receipt Station) Prints HRI characters (Human Readable Interface) above or below the bar code.
Page 110
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands First Variation: String terminated with NULL Character Hexadecimal Decimal ASCII 1D 6B m [d]n 00 29 107 m [d]n 0 GS k m [d]n NUL 0 = End of command. m = 0-6 (see the table)
Overview Page mode is one of two modes which the A721 printer 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 113
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Command Settings in Both Modes The command settings are treated the same in page mode as they are in standard mode. However, there are some differences: • The settings for the following commands are set independently in both modes:...
Page 114
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands • The print starting position for standard height characters is determined by the first line of the page and the direction. Depending on the direction, the print starting position will be in one of the four following positions.
Page 115
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Examples of Printing in Page Mode The first example is text on two lines at 9 dots per line with an auto-line feed. The text on the third line is double- high. See the sample printout and the sample code.
Page 116
A721 Owner’s Guide Chapter 6: A721 ESC/POS Commands The second example uses page mode to print sideways on a sample check. August 1998...
Page 117
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide 1B 63 30 04 1B 4C 1B 54 03 1B 44 0C 2D 38 00 “OCT 15” “96” “YOUR NAME HERE” “*12.67” “TWELVE AND 67/100” In this example, begin by selecting slip insertion paper. Then enter page mode and select the print direction to start at the upper right corner and proceed sideways down the page.
RAM when the printer is powered up, or kept in flash memory for later use. Either way, it is available from the flash memory whenever needed. These commands are only available for the A721 ESC POS emulation. Copy Downloaded Object to Flash Memory Copies the current downloaded object to flash memory.
Chapter 6: A721 ESC/POS Commands A721 Owner’s Guide Enable Loading the Object When Powering on the Printer Enables the object in flash memory to be copied to RAM when the printer is powered up or the Initialize Printer command (1B 40) is received. This command reverses the previous command, “Disable Loading the Object to RAM When Powering on the Printer”...
Chapter 7: Ithaca Peripherals Proprinter Emulation Commands Chapter 7: Ithaca Peripherals Proprinter Emulation Commands Commands control all operations and functions of the A721 printer. The commands in this chapter emulate the Ithaca Peripherals Proprinter emulation. List of Ithaca Peripherals Proprinter Emulation Commands This table lists the commands in numerical order according to their hexadecimal codes.
Page 121
Chapter 7: Ithaca Peripherals Proprinter Emulation Commands A721 Owner’s Guide Hexadecimal Code Command Name Page 1B 41 n 1B 32 Set Fine Line Spacing (n/72 Inch) 1B 3A Set 12 Characters/Inch 1B 41 0C 1B 32 Set Line Spacing to 1/6 Inch...
A721 Owner’s Guide Chapter 7: Ithaca Peripherals Proprinter Emulation Commands Ithaca Peripherals Proprinter Emulation Command Descriptions The command descriptions in this section are grouped in the following categories: • Printer Function Commands • Print Characteristics Commands • Graphics Commands • Printer Status Commands Within each group the commands are listed in numerical order according to their hexadecimal codes.
Chapter 7: Ithaca Peripherals Proprinter Emulation Commands A721 Owner’s Guide Line Feed Prints and feeds the paper one line. The line spacing set by the following commands is used: Set Line Spacing to 1/6 Inch (1B 41 0C 1B 32), Set Line Spacing to 1/8 Inch (1B 30), Set Fine Line Spacing (n/216 Inch) (1B 33 n), Set Fine Line Spacing (n/72 Inch) (1B 41 n 1B 32).
Page 124
A721 Owner’s Guide Chapter 7: Ithaca Peripherals Proprinter Emulation Commands Perform Validation: Open Forms Compensation Assembly Opens the forms compensation assembly and turns on the Slip In LED. A form can now be inserted for up to 14 lines of validation printing. Before a form can be printed, the forms compensation assembly must be closed using the Perform Validation: Forms Compensation Close Assembly (1B 13) command.
Chapter 7: Ithaca Peripherals Proprinter Emulation Commands A721 Owner’s Guide Set Line Spacing to 1/6 Inch Sets the line spacing to 1/6 inch or 6 lines/inch. Hexadecimal Decimal ASCII 1B 41 0C 1B 32 27 65 12 27 50 ESC A 12 ESC 2...
A721 Owner’s Guide Chapter 7: Ithaca Peripherals Proprinter Emulation Commands Fine Line Feed Prints and advances the paper the specified distance. Line spacing returns to the normal setting. The value, n, is equivalent to n/216 inches: for example 23/216 inches or 255/216 inches.
Chapter 7: Ithaca Peripherals Proprinter Emulation Commands A721 Owner’s Guide Print Characteristics Commands These commands affect the appearance of printed information. They control the following: • Character set selection • Character formatting The commands are listed in numerical order of their hexadecimal codes.
A721 Owner’s Guide Chapter 7: Ithaca Peripherals Proprinter Emulation Commands Set 10 Characters/Inch Sets the character size to 10 characters/inch. You can change character size in the middle of a line. To double the width from 10 characters/inch to 5 characters/inch, use the Set Single Line Double-Wide (0E) command.
Chapter 7: Ithaca Peripherals Proprinter Emulation Commands A721 Owner’s Guide Select Character Set (Code Page 437) Selects Code Page 437 (PC US). Hexadecimal Decimal ASCII 1B 37 27 55 ESC 7 Set 12 Characters/Inch Sets the character size to 12 characters/inch. You can change character size in the middle of a line.
A721 Owner’s Guide Chapter 7: Ithaca Peripherals Proprinter Emulation Commands Cancel Enhanced Printing Returns to normal print mode. Hexadecimal Decimal ASCII 1B 48 27 72 ESC H Set Superscript Starts superscript printing. (Superscript characters print above the normal print line.) The Set Superscript command must be sent before the characters to be printed in superscript.
Chapter 7: Ithaca Peripherals Proprinter Emulation Commands A721 Owner’s Guide Graphics Commands These commands control graphics printing. The commands are listed in numerical order of their hexadecimal codes. You can create a graphic image using a graphics software program or by doing the encoding yourself.
A721 Owner’s Guide Chapter 7: Ithaca Peripherals Proprinter Emulation Commands Single-Density Graphics Prints graphics in single-density format, in a 60 dots/inch by 72 dots/inch image pattern. Maximum dots/line = 144 Maximum dot resolution = 144 Maximum columns/line = 144 Hexadecimal...
Chapter 7: Ithaca Peripherals Proprinter Emulation Commands A721 Owner’s Guide Cash Drawer Status Commands Cash Drawer Status Elicits status response from printer. The printer returns a single byte containing the status of the paper roll and the cash drawer. Each bit is described in the table.
Chapter 8: Axiohm 5021 Printer Emulation Commands Chapter 8: Axiohm 5021 Printer Emulation Commands Commands control all operations and functions of the A721 printer. The commands in this chapter emulate the Axiohm 5021 printer. List of Axiohm 5021 Emulation Commands This table lists the commands in numerical order according to their hexadecimal codes.
Chapter 8: Axiohm 5021 Printer Emulation Commands A721 Owner’s Guide Axiohm 5021 Emulation Command Descriptions The command descriptions in this section are grouped in the following categories: • Printer Function Commands • Print Characteristics Commands • Printer Status Commands Within each group the commands are listed in numerical order according to their hexadecimal codes. Each command is described and the hexadecimal, decimal, and ASCII codes are listed.
Page 136
A721 Owner’s Guide Chapter 8: Axiohm 5021 Printer Emulation Commands Open Puts the printer online. The printer accepts all commands except Set Interline Spacing (1B 5B 72) and Write Device Control Memory (1B 5B 7F) when it is online. The printer accepts printable data only when it is online.
Page 137
Chapter 8: Axiohm 5021 Printer Emulation Commands A721 Owner’s Guide Read Slip Sensor Returns the state of the slip sensor in the forms compensation assembly of the printer. This command is processed only when the printer is online. Hexadecimal Decimal...
Page 138
A721 Owner’s Guide Chapter 8: Axiohm 5021 Printer Emulation Commands Reprint After Media Jam Informs the printer that printing may continue after a paper jam has occurred. The printer detects a paper jam when the jam detect sensor does not detect movement.
Page 139
Chapter 8: Axiohm 5021 Printer Emulation Commands A721 Owner’s Guide Warning: Due to the electrical characteristics of the printer, neighboring dots cannot both be fired within a horizontal row. Damage to the print mechanism may result. It is the responsibility of the character set creator to insure that this can not occur.
Page 140
A721 Owner’s Guide Chapter 8: Axiohm 5021 Printer Emulation Commands Download a Character Once a character has been defined, the associated codes can be downloaded into the printer. Use the Write Device Control Memory command. First, calculate the offset (in words) within the character RAM where the set of seven 16-bit values derived from creating the character are to be placed.
Chapter 8: Axiohm 5021 Printer Emulation Commands A721 Owner’s Guide Print Characteristics Commands These commands affect the appearance of printed information. They control the following: • Character formatting • Line spacing The commands are listed in numerical order of their hexadecimal codes.
A721 Owner’s Guide Chapter 8: Axiohm 5021 Printer Emulation Commands Printer Status Commands Read Status Returns the status of the printer. Printable data sent to the printer immediately after this command is not included in the print process or data buffer status.
Page 143
Chapter 8: Axiohm 5021 Printer Emulation Commands A721 Owner’s Guide Read and Clear Tallies Returns printer tallies for hours on and lines printed and then clears the tallies. The tallies are not cleared by the Reset (1B 5B 30) command.
A721 Owner’s Guide Chapter 9: DH 4700 Emulation Commands Chapter 9: DH 4700 Emulation Commands Commands control all operations and functions of the A721 printer. The commands in this chapter emulate the DH 4700 printer. List of DH 4700 Emulation Commands This table lists the commands in numerical order according to their hexadecimal codes.
Page 145
Chapter 9: DH 4700 Emulation Commands A721 Owner’s Guide Hexadecimal Code Command Name Page 1B 46 Form In (Parallel Printers Only) 1B 47 Select (Parallel Printers Only) 1B 48 Double-High Font 1B 49 Either Form-In Sensor (Not Implemented) 1B 4A...
A721 Owner’s Guide Chapter 9: DH 4700 Emulation Commands DH 4700 Command Descriptions The command descriptions in this section are grouped in the following categories: • Printer Function Commands • Print Characteristics Commands • Graphics Commands • Printer Status Commands Within each group the commands are listed in numerical order according to their hexadecimal codes.
Chapter 9: DH 4700 Emulation Commands A721 Owner’s Guide Carriage Return Prints the data in the buffer and advances the paper if Auto Line Feed is enabled either by the internal DIP switch settings or by the Set Up Parameters command (19 n). See “Chapter 3: Diagnostics and Print Test” for more information.
A721 Owner’s Guide Chapter 9: DH 4700 Emulation Commands Cash Drawer 1 Opens the cash drawer. If a Y-cable is used to split the cash drawer connector so two cash drawers can be connected to the printer, the cash drawer connected to the first connector (labeled 1 or A) will be opened. See “Chapter 5: Communication”...
Chapter 9: DH 4700 Emulation Commands A721 Owner’s Guide Receipt/Journal Print Closes the platen. The 1B 5A version of the command closes the platen when no form has been detected. This command enables the Receipt/Journal paper feed and disables the Slip/Validation feed.
Page 150
A721 Owner’s Guide Chapter 9: DH 4700 Emulation Commands Select Used for parallel printers only. Causes pin 13 on the 25-pin communication cable connector to function as the SELECT line. Internal switch pack #3, switch 8 must be set to OFF.
Chapter 9: DH 4700 Emulation Commands A721 Owner’s Guide Print Speed This command is not supported and is ignored if received. Hexadecimal Decimal ASCII 1B 53 27 83 ESC S Buffered Validate Opens the platen to allow a form to be inserted. Any data that is received after this command will not be printed until the form is detected.
A721 Owner’s Guide Chapter 9: DH 4700 Emulation Commands Print Characteristics Commands These commands affect the appearance of printed information. They control the following: • Character set selection • Character formatting • Print orientation The commands are listed numerically by hexadecimal code.
Page 153
Chapter 9: DH 4700 Emulation Commands A721 Owner’s Guide If a character set other than PC US (Code Page 437) is selected, the unique characters will be substituted with characters in the PC US set. See the following tables for the substitutions.
A721 Owner’s Guide Chapter 9: DH 4700 Emulation Commands Underline Print Activates the 9th wire on all character cells to underline all printable characters, including a space (blank) character. Hexadecimal Decimal ASCII 1B 43 27 67 ESC C Underline Off Turns off underline printing.
Page 155
Chapter 9: DH 4700 Emulation Commands A721 Owner’s Guide Pitch Selection Selects the character pitch, from 33 to 66 characters per line. The default character set is defined by the internal DIP switch settings. For more information, see “Chapter 3: Diagnostics and Print Test.”The Double Wide command may be used with any pitch to provide a total of 6...
A721 Owner’s Guide Chapter 9: DH 4700 Emulation Commands Graphics Commands These commands are used to control the way graphics are entered or printed. They are listed in numerical order of their hexadecimal codes. Graphics Enters graphics printing mode which prints all available dots (uses all wires in the printhead). Any combination of dots may be printed in a graphics cell.
Page 157
Chapter 9: DH 4700 Emulation Commands A721 Owner’s Guide Graphics: 5 Dot Enters or exits graphics printing mode which prints only the top five dots of the column (corresponding to the top five wires of the printhead). These top five dots correspond to the least significant five bits (bits 0-4) of the data sent to the printer as shown in the table.
A721 Owner’s Guide Chapter 9: DH 4700 Emulation Commands Printer Status Commands These commands enable the printer to communicate its status to the host computer. The commands are listed numerically by hexadecimal code. Status: 3 Bit Transmits the status of the paper sensors and the condition of the printer. This command is processed immediately.
A721 Owner’s Guide Chapter 10: Flash Download Commands Chapter 10: Flash Download Commands These commands are used to load firmware into the printer and to configure the printer. With the exception of the Put the Printer in Flash Download Mode command (1B 5B 7D), these commands are available only when the printer is in download mode.
Chapter 10: Flash Download Commands A721 Owner’s Guide Flash Download Command Descriptions These commands control downloading of flash memory. The printer returns either ACK or NAK to the host computer when each command is received: • ACK (hexadecimal 06) Sent when the printer has received a host transmission and has completed the request successfully.
A721 Owner’s Guide Chapter 10: Flash Download Commands Select Sector to Download Selects the flash sector for which the next download operation applies. The printer transmits ACK if the sector number is acceptable; NAK if unsuccessful. Hexadecimal Decimal ASCII Value of n...
Chapter 10: Flash Download Commands A721 Owner’s Guide Set Emulation Sets the printer to the emulation requested. The command assumes that the printer flash program memory (sectors 0, 1) have been correctly programmed. If these sectors have been erased, the printer returns NAK. The printer returns ACK if the command is performed successfully.
A721 Owner’s Guide Chapter 10: Flash Download Commands Read EEROM switches Returns the settings of the EEROM switches. This command is used to verify that the EEROM switches are set correctly. The command assumes that the printer flash program memory (sectors 0, 1) have been correctly programmed.
Chapter 10: Flash Download Commands A721 Owner’s Guide Read EEROM Parameter Returns the setting of the requested parameter. The command assumes that the printer flash program memory (sectors 0, 1) have been correctly programmed. If these sectors have been erased, the printer returns NAK. The printer transmits ACK, followed by the value of the request parameter.
A721 Owner’s Guide Chapter 10: Flash Download Commands Download Sector Contains a start address (ah*256 + al) and count (ch*256 + cl) of binary bytes to load into the selected sector, followed by that many data bytes. The start address is relative to the start of the sector.
If you would like a copy of a software utility that performs these functions rather than developing your own program using the command codes described in this section, please contact Axiohm. The software utility can be used as provided or can be incorporated into your own application.
If you would like a copy of a software utility that performs these functions rather than developing your own program using the command codes described in this section, please contact Axiohm. The software utility can be used as provided or can be incorporated into your own application.
Page 170
A721 Owner’s Guide Chapter 11: MICR Commands Other Parameters Error Number One Digit Returned Read OK Read error: bad character, empty field invalid length, check digit invalid Status Two Digits Returned No MICR data Mexican check Canadian check Error in transit number...
Chapter 11: MICR Commands A721 Owner’s Guide Sample Parsing Formats The following strings show various sample formats that you can use assuming they meet your parsing format needs. Included with the sample format is a description of the data that is returned to the application.
A721 Owner’s Guide Chapter 11: MICR Commands ESC w p K9 X T 18 X A 04C <CR> • U.S. check: all nine characters in the transit number (because there are no dashess) • Canadian check: dash in transit number removed; “9” inserted at beginning, resulting in a fully numeric nine character transit number •...
Chapter 11: MICR Commands A721 Owner’s Guide MICR Characters ASCII Hexadecimal Numerics 0...9 0x30...0x39 Unrecognized Character 0x3F Space 0x20 Amount symbol & 0x26 Dash symbol 0x27 “on us” symbol 0x28 Transit symbol 0x29 Once a parsing format is specified, the following values are returned:...
A721 Owner’s Guide Chapter 11: MICR Commands right of the rightmost transit symbol, separated by a space or a dash from the rest of the account number is the check serial number. txxxxxxxxxt cccc xxxxxxxxo txxxxxxxxxt cccc-xxxxxxxxo txxxxxxxxxt cccc xxxxxxxxo xx If all of these searches fail to produce the distinct check serial number, and the check serial number field has been specified in the parsing parameter string options, no check serial number will be returned.
Page 175
Chapter 11: MICR Commands A721 Owner’s Guide The next three words are used as six individual bytes to tell the firmware how to interpret the MICR characters which fall to the right of the rightmost transit symbol. Each of the six bytes is positional and consists of two parts: character type and number.
A721 Owner’s Guide Chapter 11: MICR Commands After the right transit symbol are four characters to skip, a seven digit account number, two characters to skip, and finally a four digit check serial #. The final character to skip need not be encoded. These would be bitwise...
Appendix A: Specifications A721 Owner’s Guide Print Zones The illustrations in this section show the printable area for the receipt, journal, slip, and validation stations. The illustrations are not to scale. References to a table are for Table 3: Character and Line Specifications on the previous page.
A721 Owner’s Guide Appendix A: Specifications Validation Print Zone The table referenced in the illustration is Table 3: Character and Line Specifications, earlier in this appendix. The following tables specify the location of the first line of validation from the bottom of the form for each emulation.
Page 183
*See “Set Internal Switch Pack Values in NVRAM” in chapter 3 for more information about setting the number of lines of validation. Using the DH 4700 emulation, the A721 can print up to 16 lines of validation at 8 lines/inch. Use internal switch pack 4 to change the settings.
A721 Owner’s Guide Appendix A: Specifications Slip Print Zone The table referenced in the illustration is Table 3: Character and Line Specifications on page 170. Dimensions 165 mm 147.3 mm (6.5 in.) (5.8 in.) w/Journal Receipt Only 259 mm 165 mm (6.5 in.)
Appendix A: Specifications A721 Owner’s Guide Power Requirements The A721 printer can receive power from a remote power supply. The voltage requirements are listed below: Voltage Maximum Short Term Current Maximum Long Term Current 24 V +/- 5% 2.4 Amps 1.4 Amps...
Code page 865 character set (Nordic languages), 180 print characteristics commands, 77 Commands printer function commands, 59 A721 ESC/POS, bar code commands, 100 printer status commands, 87 A721 ESC/POS, flash memory commands, 109 real time commands, 95 A721 ESC/POS, graphics commands, 84...
Page 191
Index A721 Owner’s Guide Connectors. See communication A721 ESC/POS, 84 Continuous slip printing test, 36 DH 4700 emulation, 147 Controls, 5 Ithaca Peripherals Proprinter emulation, 122 Cover open switch enabling/disabling, 33 —I— Indicators show problem, 42 —D— Interfaces. See Communication...
Page 192
A721 Owner’s Guide Index sample parsing formats, 162 continuous slip printing, 36 MICR read and print loop test. See Verification of checks general, 38 sample, 39 Print zones —N— receipt and journal, 172 slip, 175 Nordic languages character set, 180...
Page 193
Index A721 Owner’s Guide not feeding, 43 —T— ordering, 3 print zones, 175 Troubleshooting, 41 printing, 2, 11 carriage and paper jams, 42 skewing, 43 dots missing, 43 specifications, 3 dots print light, 44 validating, 12 indicators show problem, 42...
Need help?
Do you have a question about the A721 and is the answer not in the manual?
Questions and answers