7156 Thermal Receipt and Impact Slip Printer (RS-232) Owner's Guide 7156-D100-V001
It is the policy of Axiohm IPB to improve products as new technology, components, software, and firmware become available. Axiohm IPB, therefore, reserves the right to change specifications without prior notice. All features, functions, and operations described herein may not be marketed by Axiohm IPB in all parts of the world. In some instances, photographs are of equipment prototypes. Therefore, before using this document, consult your sales representative for information that is applicable and current.
7156 Owner’s Guide Quick ReferenceAbout the 7156 Printer Quick Reference This Quick Reference will direct you to key areas of the Owner's Guide. For a complete listing of topics, see the Contents or Index. Ordering Paper and Supplies page 5 Where to order paper and other supplies. Setting Up the Printer page 11 How to set up the printer. Loading and Changing Paper page 20 How to change the receipt paper.
Quick Reference 7156 Owner’s Guide How to Use This Book Use this book as an installation guide for setting up and preparing the printer to run, as a training guide for teaching users how to operate the printer, or as a reference for programming the host system to communicate with the printer. The book also contains information about the character sets and graphics that are available. This book describes only RS-232C models of the 7156 printer.
7156 Owner’s Guide Contents Contents About the 7156 Printer 1 Features and Options...........................................................................................2 Receipt Station...............................................................................................2 Slip Station.....................................................................................................3 Both Stations.............................................................................................
About the 7156 Printer 7156 Owner’s Guide Putting In and Changing the Ribbon Cassette ................................................ 31 Removing the Ribbon Cassette .................................................................. 31 Putting In the Ribbon Cassette................................................................... 33 Printing on Forms or Checks ............................................................................ 34 Validating and Verifying Checks .................................
156 Owner’s Guide Contents Print Test ............................................................................................................ 66 Running the Print Test by Power Cycling the Printer.............................. 67 Running the Print Test by Opening and Closing the Cover .................... 67 Sample Print Test ........................................................................................ 68 Communication 61 Communication Overview............................................
About the 7156 Printer Appendix A: Specifications 7156 Owner’s Guide 147 Printing Specifications..................................................................................... 147 Power Requirements ....................................................................................... 148 Environmental Conditions.............................................................................. 148 Reliability................................................................................................
7156 Owner’s Guide About the 7156 Printer About the 7156 Printer The 7156 printer is a fast, quiet, relatively small and very reliable multiple function printer. It prints receipts, validates and prints checks, and prints on a variety of single- or multiple-part forms. There is no journal as it is kept electronically by the host system.
About the 7156 Printer 7156 Owner’s Guide The industry-standard RS-232C communication interface allows the 7156 to be connected to any host PC or terminal system that uses RS-232C. Control codes are provided for easy migration of applications written for Epson as well as other Axiohm printers. With thermal printing technology on the more frequently used receipt station, there is no ribbon cassette to change and paper loading is extremely simple.
7156 Owner’s Guide About the 7156 Printer Slip Station • Bi-directional, impact printing • Standard pitch (host selectable): 13.9 characters per inch, 66 columns • Compressed pitch (host selectable: 17.
About the 7156 Printer 7156 Owner’s Guide Options • Magnetic Ink Character Recognition (MICR) Reader built into the slip station for verifying checks • Custom MICR field parsing • Extended slip table for handling large forms (standard with MICR) • Paper cutter (receipt station) Thermal Printhead The 7156 uses a thermal printhead (on the receipt station) for printing receipts, and it is extremely fast and quiet.
7156 Owner’s Guide About the 7156 Printer Ordering Paper and Supplies Thermal receipt paper, ribbon cassettes, and forms can be ordered from several recommended and qualified suppliers. Ordering Thermal Receipt Paper The 7156 requires “fax grade” thermal paper with the following dimensions: • Diameter: 80 mm maximum (3.15 in.) • Length: 83 meters (273 ft.) • Width: 80 mm +/- .5 mm (3.15 +/- .008 in.) The paper must not be attached at the core.
About the 7156 Printer 7156 Owner’s Guide Kanzaki Specialty Papers Imaging Products 20 Cummings Street Ware, MA 01082-2002 Voice: 1(413)736-3216, 1(800)628-8386 (toll free) Fax: 1(413)731-8864 Paper grade: F380 (standard density), F180 (light density) In Japan: New OJI Paper Co.
7156 Owner’s Guide About the 7156 Printer Arjo-Wiggins Thermal Papers, Ltd. Whisby Road, North Hykeham Lincoln, Lincolnshire LN6 9AU England Voice: 44 (0) 522 681212 Fax: 44 (0) 522 690972 Paper grade: S552, S662 Nippon Paper Industry Co., Ltd.
About the 7156 Printer 7156 Owner’s Guide Ordering Forms The 7156 prints on single or multiple forms in the slip station (up to five-part forms). Forms and slips must meet the following requirements: • Front insertion (minimum): 51 mm (2.0 in.) wide 70 mm (2.75 in.) long • Side insertion (minimum): 203 mm (8.0 in.) wide 51 mm (2.0 in.) long • Single-ply forms should be on paper that is greater than 15 pounds • Multiple-part forms (up to five parts) should be no thicker than .406 mm (.
7156 Owner’s Guide About the 7156 Printer Ordering the Power Supply and Cables Contact your sales representative to order the supplies listed in the table. The numbers are for reference only. Suppliers may use other numbers. Item Type Power supply with attached cable to printer and U.S.
About the 7156 Printer 7156 Owner’s Guide Maintaining and Cleaning the Printer There is no customer maintenance required for the 7156. 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.
7156 Owner’s Guide Setting Up and Using the Printer Setting Up and Using the Printer What Is in the Box? The following items are packed in the shipping box: • Printer enclosed in a plastic bag and foam pack • Receipt paper roll, wrapped with a foam strip (inside receipt bucket) • Test printout protecting the thermal printhead (inside receipt bucket) • Cardboard support for cantilever (on slip table) • Foam restraint for carriage (behind front cover) • Power supply with cable connecting to printer and
Setting Up and Using the Printer 7156 Owner’s Guide Removing the Packing Material 12 1. Once the printer is removed from the foam pack and plastic bag, open the receipt cover by pulling up on the front left corner. 2. Remove the paper roll and test printout from inside the receipt bucket. 3. Remove the foam strip from around the paper roll.
7156 Owner’s Guide Setting Up and Using the Printer 4. Open the front cover and remove the foam restraint. 5. Remove the cardboard support from the slip table. 6. Remove the ribbon cassette and cables from the box. 7. Save all packing materials for future storing, moving, or shipping the printer. Caution: Be sure that the foam restraint and the cardboard support have been removed before operating the printer.
Setting Up and Using the Printer 7156 Owner’s Guide Repacking the Printer 1. Place a piece of receipt paper between the receipt cover and the printhead to protect the printhead. 2. Open the front cover and remove the ribbon cassette. 3. Move the carriage to the right and place the foam restraint between the left side of the printer and the carriage to protect the carriage. 4. Place the cardboard support on the slip table. 5. Place the printer in the plastic bag and foam pack. 6.
7156 Owner’s Guide Setting Up and Using the Printer Choosing a Location The 7156 printer takes up relatively little counter space and may be set on or near the host system. Make sure there is enough room to open the receipt cover to change the paper and to open the front cover to change the ribbon cassette. The illustration shows the actual dimensions of the printer, but leave several inches around the printer for connecting and accessing the cables.
Setting Up and Using the Printer 7156 Owner’s Guide Setting Switches The DIP switches, located behind the front cover, are used for three purposes: • To set communication parameters for the RS-232C communication interface (see the switch settings on the next page) • To set variables for several printer functions (see the sections for the various printer functions in “Level 1 Diagnostics” in the “Diagnostics” chapter for the switch settings) • To perform diagnostic tests (see the sections for the vari
7156 Owner’s Guide Setting Up and Using the Printer Use a paper clip or other pointed object to set the switches. 1. Open the front cover. 2. Set the switches to the desired settings shown in the table. Switch 1 must be set to Off for the on-line mode. Setting switch 1 to On puts the printer in level 1 diagnostics (setup mode). Changing the other switches in level 1 diagnostics can change settings that have been pre-set at the factory. See “Level 1 Diagnostics” later in this book for more information.
Setting Up and Using the Printer 7156 Owner’s Guide Connecting the Cables There are three different types of cables that connect to the printer: • Power supply cable supplying power from the power supply (see “Power Requirements” in Appendix A for more information about the power supply) • Communication cable connecting the printer to the host system • Cash drawer cables connecting the printer to one or two cash drawers Caution: Be sure that all power is disconnected before connecting the cables.
7156 Owner’s Guide Setting Up and Using the Printer Note: The strain relief bushings and the cable clamp are shipped in the box and help secure the cables. Use either the cable clamp or strain relief bushings, or both to keep the cables from being accidentally unplugged and possibly damaging the connectors or interrupting a transaction.
Setting Up and Using the Printer 7156 Owner’s Guide Loading and Changing the Receipt Paper The 7156 features extremely simple paper loading which is quick and efficient, saving both time and paper. Caution: Do not operate the printer or host system if the printer runs out of paper. The printer will not operate without paper, but it may continue to accept data from the host system. Because the printer cannot print any transactions, the data may be lost.
7156 Owner’s Guide Setting Up and Using the Printer Removing the Paper Roll 1. Open the receipt cover. 2. Remove the used roll.
Setting Up and Using the Printer 7156 Owner’s Guide Putting In the Paper Roll Note: Tear off the end of the new roll so that the edge is loose. 1. Place the new roll in the bin with a little extra paper extending over the front. Be sure the paper unrolls from the bottom of the roll. Otherwise the paper will not be printed on because the thermal coating will be on the wrong side. 22 2. Close the receipt cover. 3. Remove the excess paper by tearing it against the tear-off blade.
7156 Owner’s Guide Setting Up and Using the Printer Advancing Paper 1. Press the Paper Feed button on the operator panel to advance the paper. The cover must be closed. To ensure print quality and the proper alignment of the paper, advance about 30 cm (12 inches) of paper. 2. Tear off the excess paper against the tear-off blade. In addition to the tear off-blade, some printers have a knife which cuts the receipt after each transaction.
Setting Up and Using the Printer 7156 Owner’s Guide Putting In and Changing the Ribbon Cassette Change the ribbon cassette when the print is too light or the ribbon is frayed. Removing the Ribbon Cassette 24 1. Open the front cover. 2. Squeeze the tabs on the cassette and pull the cassette out of the printer.
7156 Owner’s Guide Setting Up and Using the Printer Putting In the Ribbon Cassette 1. Tighten the ribbon by turning the knob in the direction of the arrow. 2. Position the ribbon cassette on the carriage and snap it into place. Be sure the ribbon is underneath the printhead. 3. Close the front cover.
Setting Up and Using the Printer 7156 Owner’s Guide Printing on Forms or Checks There are several types of transactions that require you to insert a form or check into the printer: • Credit card transaction (some credit card transactions may be printed on the receipt station and not require any forms) • Multiple-part forms such as credit transactions or merchandise returns • Electronic funds transfers • Check printing (printing the date, payee, and amount on the check face) Although the illustrati
7156 Owner’s Guide Setting Up and Using the Printer October 1995 27
Setting Up and Using the Printer 7156 Owner’s Guide Validating and Verifying Checks Note: If the MICR Reader feature is present, checks are verified then validated. 1. Insert the check from the front and place it on the slip table face down as shown in the illustration. 2. Slide the check to the right until it lines up against the guide (wall). 3.
7156 Owner’s Guide Setting Up and Using the Printer October 1995 29
Setting Up and Using the Printer 7156 Owner’s Guide Testing the Printer Test the receipt station using the simple tests described in this section. To further test the receipt station or to test the slip station, run the level 1 diagnostic tests described in “Level 1 Diagnostics” in the “Diagnostics” chapter later in this book. See “Solving Problems” later in this book for what to do if the printer is not functioning properly.
7156 Owner’s Guide Setting Up and Using the Printer Sample Print Test October 1995 31
Setting Up and Using the Printer 7156 Owner’s Guide Paper Low Sensor Note: The paper low sensor is not available on 30XX models. See the model number on the machine label on the right side of the printer. The paper low sensor is set at the factory to detect when there are about 4 1/2 meters, +/- 3 meters (15 feet, +/- 10 feet), of receipt paper remaining. The sensor is adjustable to detect less or more paper remaining. It is recommended, however, that the sensor be kept at the factory setting.
7156 Owner’s Guide Solving Problems Solving Problems The 7156 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 thermal printhead may overheat. A red LED on the operator panel signals that something may be wrong. The light on the front right side of the printer is used only to indicate when a form is inserted properly. It does not indicate an error.
Solving Problems 7156 Owner’s Guide Green LED Does Not Come On/Printer Will Not Print Problem What to Do Where to Go Cables may not be connected properly Check all cable connections. Check that the host system and power supply are both on (the power supply is turned on by plugging it into an outlet). See “Connecting the Cables.” Power supply may be defective If the power supply is plugged in, but does not come on, you will need to order a new power supply.
7156 Owner’s Guide Solving Problems Red LED Is Constant Problem What to Do Where to Go Receipt paper is out Change the paper now. Do not run a transaction without paper as the data may be lost. See “Loading and Changing the Receipt Paper.” Receipt cover or front cover is open Knife failure Close the cover. The printer will not operate with either of the covers open. Open the receipt cover and check the knife. Clear any jammed paper you can see. Tear off any excess paper against the tear-off blade.
Solving Problems 7156 Owner’s Guide Slip or Forms Printing is Light Problem What to Do Where to Go Ribbon cassette is worn Replace the ribbon the cassette. See “Putting In and Changing the Ribbon Cassette.” Contact a service representative if this does not resolve the problem. See “Contacting a Service Representative” later in this chapter.
7156 Owner’s Guide Solving Problems LED (Slip Table) Does Not Come On Problem What to Do Where to Go Form or check not Line up the form or check against the guide (wall) and inserted properly slide it toward the back of the printer until it contacts the form stop and can't go any further. Extra long forms may need to be inserted from the side to disengage the form stop. Contact a service representative if this does not resolve the problem.
Solving Problems 7156 Owner’s Guide MICR Not Reading Properly Problem What to Do Where to Go MICR (Magnetic Ink Character Recognition) Reader does not read or misreads checks Readjust the MICR Reader. See “Adjusting the MICR Reader” in the “Diagnostics” chapter. The optional Magnetic Ink Character Recognition (MICR) Reader feature has been factory adjusted for a normal operating environment.
7156 Owner’s Guide Solving Problems Contacting a Service Representative For serious problems, such as the printer not printing, not communicating with the host system, or not turning on, contact your Axiohm authorized service organization to arrange for a service call.
7156 Owner’s Guide Diagnostics Diagnostics The following diagnostic tests are available for the 7156: • Level 0 Diagnostics Performed during the startup cycle • Level 1 Diagnostics (setup mode) Available in a dedicated environment and accessed through the DIP Switches • Level 2 Diagnostics Performed during normal operation • Level 3 Diagnostics Maintained during normal operation and printed in the print test • Print Test Performed in off-line mode October 1995 41
Diagnostics 7156 Owner’s Guide Level 0 Diagnostics The printer automatically performs level 0 diagnostics when the printer is put online. Level 0 diagnostics comprise the following actions: • Motors and solenoids are turned off. • Microprocessor timing is checked, CRC check of the firmware ROM is performed, external RAM is read. • The green LED on the slip table flashes once if this action succeeds. • Level 0 diagnostics stop if this action fails.
7156 Owner’s Guide Diagnostics Level 1 Diagnostics Level 1 diagnostics (setup mode) allow you to change the settings for various printer functions and to run certain tests using the DIP switches. Keep the following information in mind when changing the settings: • The settings can only be changed when the printer is in level 1 diagnostics (setup mode): Switch 1 must be set to On. “Verifying Read of MICR Characters” is an exception as it is run in on-line mode (switch 1 set to Off).
Diagnostics 7156 Owner’s Guide Setting Printhead Resistance This function changes the setting for the thermal printhead resistance. The setting must match the letter (A-H) stamped on the heatsink in back of the printhead, visible by removing the top cover of the printer. Please see the 7156 Service Guide for information on removing the top cover. This procedure should only be performed by a trained service representative.
7156 Owner’s Guide Diagnostics Setting Partial Cut Distance This function changes the length of the partial knife cut: the higher the number, the longer the cut. Caution: The DIP switches are set at the factory to predetermined settings and should generally not be changed. If you must change the settings do so carefully to avoid changing other functions. Run the print test to see what the current setting for this function is. See “Print Test” later in this chapter. 1.
Diagnostics 7156 Owner’s Guide Setting Data Error and Data Buffer Options This function allows you to select the handling of data reception errors and to select the size of the data buffer. Caution: The DIP switches are set at the factory to predetermined settings and should generally not be changed. If you must change the settings do so carefully to avoid changing other functions. Run the print test to see what the current settings for these options are. See “Print Test” later in this chapter. 1.
7156 Owner’s Guide Diagnostics Caution: The DIP switches are set at the factory to predetermined settings and should generally not be changed. If you must change the settings do so carefully to avoid changing other functions. 1. Open the front cover and set the DIP switches to the settings in the table you want for ignoring or using the Carriage Return command. Switch 7 is always Off.
Diagnostics 7156 Owner’s Guide Checking and Adjusting the MICR Reader The adjustment procedure described in this section cancels or sharply reduces extraneous signals picked up by the Magnetic Ink Character Recognition (MICR) Reader. Note: The MICR Reader feature has been factory adjusted for a normal operating environment with a host system.
7156 Owner’s Guide Diagnostics 6. Insert a blank slip into the slip station from the left side so that it covers the MICR read head, but does not come into contact with the feed rolls. The slip should be the same thickness as a normal check, with no magnetic ink characters printed on it. Keep the slip from moving during the procedure. Keep the slip out of the feed rolls. 7. Press the Paper Feed button on the PC board to take a noise sample.
Diagnostics 7156 Owner’s Guide Adjust the MICR Reader The procedures to adjust the MICR Reader involve setting the DIP switches and adjusting the two MICR Reader potentiometers on the PC board. You will need an insulated flathead screwdriver with a four-inch long shaft and 1/8 inch flat tip. Caution: Do not adjust the potentiometers if the green LED is not lit (indicating the switches are incorrectly set). Doing so causes an incorrect noise sample.
7156 Owner’s Guide Diagnostics 1. Remove the front cover from the hinge arm assembly. This will make it easier to perform the adjustment. a. Open the hinge arm assembly. b. Remove the screws holding the front cover to the hinge arm assembly. c. Unsnap the front cover from the hinge arm assembly. d. Close the hinge arm assembly to finish the adjustment. 2.
Diagnostics 7156 Owner’s Guide Verifying Read of MICR Characters This test reads the characters on a check and prints a Hex dump of the characters on the receipt. It is run during normal operation (on-line mode). Caution: The DIP switches are set at the factory to predetermined settings and should generally not be changed. If you must change the settings do so carefully to avoid changing other functions. 1. Press the On Line button to take the printer off-line. 2.
7156 Owner’s Guide Diagnostics Running the Data Scope Mode This test prints a Hex dump of all data sent to the printer: “1” prints as Hex 31, “A” as Hex 41 and so on. This helps troubleshoot communication problems, and runs during a host application (after being enabled in Level 1 Diagnostics). Enter the Data Scope Mode Caution: The DIP switches are set at the factory to predetermined settings and should generally not be changed.
Diagnostics 7156 Owner’s Guide Exit the Data Scope Mode 1. Open the front cover and set the DIP switches to the following settings: Switch 7 is always Off. Switch 8: On = knife, Off = non-knife Switch 1 Switch 2 Switch 3 Switch 4 Switch 5 Switch 6 On Off Off On Off Off 2. Close the front cover and press the On Line button to take the printer off-line. The green LED flashes when the printer cycles. 3. Set the DIP switches back to the settings for normal operation (on-line mode).
7156 Owner’s Guide Diagnostics Testing the Slip and Receipt Stations These functions allow you to select various tests to check slip and receipt printing. It is the only way to run the print test on the slip station. You can also run a print test on the receipt station without changing the DIP switches by following the procedures in “Print Test” later in this chapter. Print Sample Check Via Feed Button This test prints a sample check.
Diagnostics 7156 Owner’s Guide Print a Continuous Slip This test prints several lines of data that show the settings for the functions set in level 1 diagnostics, then prints the character sets in all the possible variations as long as slips are fed into the printer. This is similar to the information printed on the receipt during the receipt test. See the sample printout at the end of this chapter.
7156 Owner’s Guide Diagnostics Print a Sample Receipt (Single or Continuous) These tests print sample receipts, either once or continuously. Caution: The DIP switches are set at the factory to predetermined settings and should generally not be changed. If you must change the settings do so carefully to avoid changing other functions. 1. Open the front cover and set the DIP switches to the settings in the table for the test you want to run. Switch 7 is always Off.
Diagnostics 7156 Owner’s Guide Level 2 Diagnostics Level 2 diagnostics run during normal printer operation.
7156 Owner’s Guide Diagnostics Running the Print Test by Power Cycling the Printer 1. Press and hold down the Paper Feed button on the top panel. 2. Press the On Line button. 3. Let go of the Paper Feed button once the printing begins. The printer begins printing the data and character sets (see the sample). 4. To stop the test, press the Paper Feed button. The printer is ready to receive and print data from the host system. Running the Print Test by Opening and Closing the Cover 1.
Diagnostics 7156 Owner’s Guide Sample Print Test 60 October 1995
7156 Owner’s Guide Communication Communication Communication Overview In order for a receipt or slip to be printed, a program must be in place that translates the data from the host system into a language that the printer can understand. This program must tell the printer exactly how to print each character. This chapter describes how to create such a program or modify an existing one. Interface In order for the printer to communicate with the host, a communication link must be set up.
Communication 7156 Owner’s Guide Using DOS to Send Commands One way of getting commands to the printer is to send them directly from DOS. For example, the command COPY CON: COM1: sets the computer up such that the Hex code corresponding to any key that was pressed would be sent to the RS-232C communication port COM1 when the COPY mode is exited. If the printer is connected to COM1, then the data will go to the printer. Exit the COPY mode by typing CTRL Z and then pressing the ENTER key.
56 Owner’s Guide Communication XON/XOFF Protocol The XON/XOFF characters coordinate the information transfer between the printer and the host system. The printer sends an XON character when it is ready to receive data and it sends an XOFF character when it cannot accept any more data. The software on the host system must monitor the communication link as shown in the following flowchart in order to send data at the appropriate times. XON character = Hex 11. XOFF character = Hex 13.
Communication 7156 Owner’s Guide RS-232C Technical Specifications This section describes the pin settings for the connectors and the RS-232C interface parameters. The RS-232C parameters are selected by setting the DIP switches on the printed circuit board. See the illustration on page 16 for the position of the DIP switches. The RS-232C parameters must match those of the host. Connectors The following illustration shows the RS-232C communication connector and pin assignments.
7156 Owner’s Guide Communication The following illustration shows the pin out designation for the cash drawer connectors. The following table provides the pinout assignments for cash drawers one and two. The cash drawer connectors are located at the rear of the printer.
Communication 7156 Owner’s Guide Switch Settings The DIP switches are located on the PC board behind the front cover as shown in the illustration on page 16. They are used to set the RS-232C parameters as shown in the following illustration and table. These parameters must match those of the host system in order for the host system and the printer to communicate. Note: The switches can also be used for setting other functions and tests.
7156 Owner’s Guide Communication DIP Switch Settings for RS-232C Parameters Switch Settings Description 1 OFF 2 OFF ON OFF ON OFF ON 5 OFF ON OFF ON On-line Mode, Use to set RS-232C options (default) DTR/DSR Protocol (default) XON/XOFF Protocol Without Parity (default) With Parity Odd Parity Even Parity 3 4 5, 6 6 OFF OFF ON ON 19,200 Baud 9600 Baud (default) 4800 Baud 1200 Baud Setting Extra RS-232C Options The following extra options are available for the RS-232C Interface: • Data errors • P
7156 Owner’s Guide Commands Commands The commands control all operations and functions of the 7156 printer, from selecting the size and placement of characters and graphics on the receipt or slip to feeding and cutting the paper. The 7156 commands emulate the NCR 7150™ Multifunction printer, the Epson TM-T80™ Thermal printer, and the Epson TM-930™ Thermal printer. You may select from any of the commands to program a host system to communicate with the 7156 printer.
Commands 7156 Owner’s Guide Printer Function Commands These commands control the following basic printer functions and are listed in numerical order of their Hex codes: • Printing • Feeding the paper • Moving the printhead (slip station) • Resetting the printer • Cutting the paper Printer Function Commands 70 Hex Code Command Page 09 Horizontal Tab 77 0A Line Feed 77 0C Print and Eject Slip 78 0D Carriage Return 78 10 Clear Printer 78 11 Close Form (Slip Station) 79 14 n
7156 Owner’s Guide Commands 1B 3D n Select Device (Not Implemented) 84 1B 40 Initialize Printer 85 1B 43 n Set Slip Eject Length 85 1B 44 etc. Set Horizontal Tab Positions 85 1B 4A n Print and Feed n Minimum Units 86 1B 4B n Print and Reverse Feed n Minimum Units 86 1B 55 n Set or Cancel Unidirectional Print (Slip Station) 86 1B 5C etc.
Commands 7156 Owner’s Guide Print Characteristics Commands These commands control what the printed information looks like and are listed in numerical order of their Hex codes. Print Characteristics Commands 72 Hex Code Command Page 12 Double-Wide Characters 92 13 Single-Wide Characters 93 1B 12 Rotated Print 93 1B 16 n Select Pitch (Column Width) 93 1B 21 m Set Print Mode 94 1B 25 n Select Character Set 94 1B 26 etc.
7156 Owner’s Guide Commands Station Select Commands These commands control which station incoming data is printed on.
Commands 7156 Owner’s Guide Printer Status Commands These commands send printer status information to the host system and are listed in numerical order of their Hex codes. Printer Status Commands Hex Code Command Page 1B 75 0 Transmit Cash Drawer Status 107 1B 76 Transmit Printer Status 108 Real Time Commands These commands correct difficulties with the original version of the 7156 RS-232C communication interface.
7156 Owner’s Guide Commands Bar Code Commands These commands print bar codes on the receipt station and are listed in numerical order of their Hex codes. HRI means Human Readable Interface. Bar Code Commands Hex Code Command Page 1D 48 n 120 1D 68 n Select Printing Position of HRI Characters (Receipt Station) Select Pitch of HRI Characters (Receipt Station—Not Implemented) Select Height of Bar Code (Receipt Station) 1D 6B n etc.
Commands 76 7156 Owner’s Guide October 1995
7156 Owner’s Guide Commands Command Descriptions This section lists the commands with their Hex, Decimal, and ASCII codes.
Commands 7156 Owner’s Guide Print and Eject Slip Prints data from the buffer to the slip station and reverses the slip out the front of the printer until it clears the feed roller. The command is ignored if the receipt station is the current station. Upon completion, the receipt station is assigned as the current station. Hex Decimal ASCII 0C 12 FF Carriage Return Prints one line from the buffer and feeds paper one line. The printer can be set through the DIP switches to ignore or use this command.
7156 Owner’s Guide Commands Close Form (Slip Station) Closes the feed roller and platen (forms compensation arm assembly) and retracts the forms arm stop. If the printer is reset or the Clear (10) is received, the feed roller and platen are opened. Hex Decimal ASCII 11 17 DC1 Feed n Print Lines Feeds paper n lines at the current line height without printing. Hex Decimal ASCII Value of n 14 n 20 n DC4 n 0-255 Feed n Dot Rows Feeds paper n dot rows without printing.
Commands 7156 Owner’s Guide Add n Extra Dot Rows Adds n extra dot rows to the character height to increase space between print lines or decrease number of lines per inch.
7156 Owner’s Guide Commands Print Prints one line from the buffer and feeds paper one line. Hex Decimal ASCII 17 23 ETB Open Form (Slip Station) Opens the feed roller and platen (forms compensation arm assembly) so that a form may be inserted (default position). Hex Decimal ASCII 18 24 CAN Full Knife Cut This command is implemented the same as Partial Knife Cut (1A, 1B 6D). Use either Hex 19 or Hex 1B 69.
Commands 7156 Owner’s Guide Generate Tone Activates a short tone. Hex Decimal ASCII 1B 07 27 7 ESC BEL Set Column Prints the first character of the next print line in column n. The command is not valid with Single or Double Density graphics. Hex Decimal ASCII 1B 14 n 27 20 n ESC DC4 n Value of n Receipt (Pitch) 1-44 (Standard) 1-66 (Standard) 1-56 (Compressed) 1-80 (Compressed) n resets to one after each line is printed.
7156 Owner’s Guide Commands 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.
Commands 7156 Owner’s Guide Set Line Spacing to n Minimum Units Sets the line spacing on the selected station: • Receipt station: n/360 of an inch • Slip station: n/144 of an inch (on some models, the command may not affect the slip station) The minimum line spacing is 8.5 lines per inch. The line spacing equals the character height when n is too small. Hex Decimal ASCII Value of n Default Default: Slip 1B 33 n 27 51 n ESC 3 n 0-255 .13 inch (7.6 lines per inch, 2 extra dot rows) .
7156 Owner’s Guide Commands Initialize Printer Clears the buffer and resets printer to the default settings (startup configuration). • Receipt station is selected • Normal mode: Single-Wide, Single-High, Non-Rotated, and Left-Aligned (printing position set to column one) • Extra Dot Rows is set to 2 (receipt), and 3 (slip) • User-defined characters or logo graphics (from RAM) are cleared • Character Set is set to Code Page 437 (default) • Character Pitch is reset to 15.
Commands 7156 Owner’s Guide Print and Feed n Minimum Units Prints one line from the buffer and feeds the paper n/360 of an inch on the receipt station or n/144 of an inch on the slip station. On the receipt station, the line height equals the character height when n is too small. This does not apply to the slip station. Use n = 0 to print a line without feeding the paper. This allows the printer to print on the last line of the slip (at .
7156 Owner’s Guide Commands Set Relative Starting Position Moves the print starting position the specified number of dots 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.
Commands 7156 Owner’s Guide Align Positions (Receipt Station) Specifies the alignment of the characters, graphics, logos, and bar codes on the receipt station according to the table below. The command is valid only when input at the beginning of a line. Hex Decimal ASCII Value of n Default 1B 61 n 27 97 n ESC a n 0 = Left Aligned 1 = Center Aligned 2 = Right Aligned 0 Select Paper-End Signal Output This command is not implemented and is ignored if received.
7156 Owner’s Guide Commands Enable or Disable On-Line Button This command is not implemented and is ignored if received. Hex Decimal ASCII 1B 63 36 n 27 99 54 n ESC c 6 n Print and Feed n Lines Prints one line from the buffer and feeds paper n lines at the current line height.
Commands 7156 Owner’s Guide Read from Non-Volatile Memory Reads a two-byte word from location k in the history EEROM. Hex Decimal ASCII Value of k 1B 6A k 27 106 k ESC j k 0-63 With LCSIO (RS-485), the printer returns the word in response to a subsequent poll. The word is be appended to the normal three-byte response as shown. STA1 STA2 ADDR 6A N1 N2 Generate Pulse to Open Cash Drawer Outputs a pulse defined by n1 and n2 to open a cash drawer.
7156 Owner’s Guide Commands Set or Cancel Parallel Journal Printing Because there is no journal station on the 7156, this command is not implemented and is ignored if received. Hex Decimal ASCII 1B 7A n 27 122 n ESC z n Reverse Feed n Lines (Slip Station) Reverses the paper feed in the slip station by n lines at the current spacing. The next Character Feed command reverses the paper feed back to the normal feed direction.
Commands 7156 Owner’s Guide Journal Tab As there is no journal station on the 7156, this command is ignored as a tab command.
7156 Owner’s Guide Commands Single-Wide Characters Prints single-wide characters. Single-wide characters may be used in the same line with double-wide characters, but not in the same line with rotated charatcters or with single or double-density graphics. Hex Decimal ASCII 13 19 DC3 Rotated Print Rotates characters 90 degrees counterclockwise. The command remains in effect until the printer is reset or the Clear Printer (10) command is received.
Commands 7156 Owner’s Guide Hex Decimal ASCII Value of m Default 1B 21 m 27 33 m ESC ! m See Next Table 0 Value of m Bit Function 0 1 Bit 01 Pitch Compressed Pitch 56 Col/Line, 19 CPI (Rec) 80 Col/Line, 17.1 CPI (Slip) Bit 4 Double High3 Double Wide Standard Pitch2 44 Col/Line, 15 CPI (Rec) 66 Col/Line, 13.9 CPI (Slip) Canceled Canceled Set Bit 5 Set 1Bit 0 is ignored unless it is at begining of line. Bits 1, 2, 3, 6, 7 are not used.
7156 Owner’s Guide Commands Define User-Defined Character Set (Receipt Station) Defines and enters downloaded characters (for the receipt station) into RAM. It may be used to overwrite single characters. The user-defined characters are available until power to the printer is turned off, an Initialize Printer command (1B 40) is received, or a downloaded bit image (1D 2A) is defined. User-defined character sets for both slip and receipt may be used at the same time.
Commands 7156 Owner’s Guide Define User-Defined Character Set (Slip Station) Defines and enters downloaded characters (for the slip station) into RAM (this command is both an NCR 7150™ and an Epson TM-T80™ command). Hex Decimal ASCII 1B 26 0 c1 c2 d1 . . . dn 27 38 0 c1 c2 d1 . . . dn ESC & 0 c1 c2 d1 . . .
7156 Owner’s Guide Commands Receipt Characters (1B 26 3) Slip Characters (1B 26 0) MSB Top of Character Top of Character dn d1 d4 d1 d4 d 10 LSB MSB Least Significant Bit Is Not Printed d2 d5 dn d3 dn LSB Copy Character Set from ROM to RAM Copies characters in the active ROM set to RAM. Use this command to reinitialize the user defined character set. Code Page 437 is copied by default at initialization.
Commands 7156 Owner’s Guide Disable Double Strike (Slip Station) Turns off the double strike mode on the slip station. Hex Decimal ASCII 1B 48 27 72 ESC H Select Character Code Table Selects the character set to be used. Code Page 437 and Code Page 850 cannot be used together on the same line. See Appendix A for both character sets.
7156 Owner’s Guide Commands Summary of Rotated Printing The table shows the combinations of Set/Cancel Upside-Down Print, Set/Cancel Rotated Print (clockwise), and Rotated Print (counterclockwise). Rotated CCW is mutually exclusive with the other two commands. The samples of the print show only the normal size characters. Double-wide and double-high characters are printed in the same orientation (double-high characters cannot be printed on the slip station). They may also be mixed on the same line.
Commands 7156 Owner’s Guide Station Select Commands These commands decide which station any incoming data will be printed on. Select Receipt or Slip for Printing, Slip for MICR Read Selects the station for printing. If a slip is present and the station selected changes from slip to receipt, the slip is ejected. If the station selected changes from receipt to slip, the printer waits for a slip or check to be inserted, either for printing or for reading the MICR characters.
7156 Owner’s Guide Commands Select Receipt Station Selects the Receipt Station for all functions. The receipt station is the default setting after the printer is initialized or the Clear Printer (10) command is received. If a select command for one station is followed by a select for another station with no data sent for the first station, only the second station will be selected. Note: This command is identical to Journal Tab (1E), an Epson TM-930™ command.
Commands 7156 Owner’s Guide Graphics Commands These commands are used to enter and print graphics data. Set Absolute Starting Position Sets the print starting position for graphics on the receipt station at the specified number of dots from the beginning of the line as expressed in the following formula: n = ((n1 + (256 x n2)) x 2). The resulting dot column must be less than 448. The print starting position is reset to column one after each line.
7156 Owner’s Guide Commands Set 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 on the next page for a graphic representation of the bit image. Hex Decimal ASCII 1B 2A m n1 n2 d1...dn 27 58 m n1 n2 d1...dn ESC : m n1 n2 d1...dn Receipt Station Value of m 0 1 32 33 Mode No.
Commands 7156 Owner’s Guide Single-Density Graphics This NCR 7150™ command is not available. Use Set Bit Image Mode (1B 2A) described on the previous page. The Hex code, 1B 4B, is used for an Epson command, Print and Reverse Feed n Mininimum Units (1B 4B n).
7156 Owner’s Guide Commands Double-Density Graphics Enters one line of 8-dot double-density graphics 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. Double-density mode allows 0-448 dot columns on the receipt, 0-660 dot columns on the slip. The number of bytes sent is represented by the formulas in the second table. Each bit corresponds to one horizontal dot.
Commands 7156 Owner’s Guide Value of n1 Value of n2 Value of d Bytes of Data (Printed 1-56 (8 x n1 = Number of 1-48 (Number of Down Then Across) Horizontal Dot Columns) Vertical Bytes)* *The number of bytes sent is represented by the following formula: n = 8 x n1 x n2 (n1 x n2 must be less than or equal to 1344). Column Top of Graphic One Column 56 x 8 Max. Row One d1 d 49 d2 MSB dn Row 48 d Max.
7156 Owner’s Guide Commands Printer Status Commands These commands enable the printer to communicate with the host system following the selected handshaking protocol, either DTR/DSR or XON/XOFF. 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 RS-232C interface and not respond to either of the Printer Status commands.
Commands 7156 Owner’s Guide Transmit Printer Status Sends status data to the host system. Hex Decimal ASCII 1B 76 27 118 ESC v The printer sends one byte to the host system. See the table below. In DTR/DSR protocol, the printer waits for DSR = SPACE.
7156 Owner’s Guide Commands Real Time Commands These commands correct difficulties with the original version of the 7156 RS-232C communication interface: • Real Time Status Transmission (GS Sequence and DLE Sequence) • Real Time Request to Printer (GS Sequence and DLE Sequence) • Real Time Printer Status Transmission The original Printer Status commands, Transmit Printer Status (1B 76—ESC v) and Transmit Cash Drawer Status (1B 75 0—ESC u 0) are placed in the printer’s data buffer as they are receive
Commands 7156 Owner’s Guide An application using these DLE sequences must also send the second byte of the sequence within 100 milliseconds of the first, to prevent the first byte being mistaken for a Clear Printer command. This implementation is useful for an existing TM-T85™ or TM-U950™ application which is being migrated to a 7156. This application would not be using the 7156 Clear Printer command at all since it is not recognized by the Epson printers.
7156 Owner’s Guide Commands Although the printer responds to real time commands when it is busy, it will place them into the buffer behind any other data there, and flush them out in the order in which they were received. When the printer is busy due simply to buffer full (that is, it can’t print data as fast as it can receive it), then data continues to be processed out of the buffer at approximately print speed and the real time commands will eventually get flushed out.
Commands 7156 Owner’s Guide Hex Decimal Value of n ASCII 1 = Transmit printer status 2 = Transmit RS-232C busy status 3 = Transmit error status 4 = Transmit receipt paper status 5 = Transmit slip paper status The command is ignored if n is out of range. 10 04 n 16 4 n DLE EOT n Note: An application using the DLE sequence must send EOT within 100 milliseconds of DLE or the printer will misinterpret the DLE and execute a Clear Printer command.
7156 Owner’s Guide Commands 2 = Transmit RS-232C Busy Status Bit Status Hex Decimal Function 0 1 2 Off On Off On Off On On Off On Off On Off 00 02 00 04 00 08 10 00 20 00 40 00 0 2 0 4 0 8 16 0 32 0 64 0 Fixed to Off Fixed to On Both receipt and cassette doors closed Receipt or cassette door 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
Commands 7156 Owner’s Guide 3 = Transmit Error Status Bit Status Hex Decimal Function 0 1 2 Off On Off On Off On On Off On Off 00 02 00 04 00 08 10 00 20 00 0 2 0 4 0 8 16 0 32 0 On 40 64 Off 00 0 Fixed to Off Fixed to On No slip motor jam Slip motor jam occured No knife error Knife error occurred Fixed to On No unrecoverable error Unrecoverable error occurred Thermal printhead temp./power supply voltage are in range Thermal printhead temp.
7156 Owner’s Guide Commands 4 = Transmit Receipt Paper Status Bit Status Hex Decimal Function 0 1 2 Off On Off On Off On On Off On Off On Off 00 02 00 04 00 08 10 00 20 00 40 00 0 2 0 4 0 8 16 0 32 0 64 0 Fixed to Off Fixed to On Receipt paper adequate Receipt paper low Receipt paper adequate Receipt paper low Fixed to On Receipt paper present Receipt paper exhausted Receipt paper present Receipt paper exhausted Fixed to Off 3 4 5 6 7 5 = Transmit Slip Paper Status Bit Status Hex Decimal Fu
Commands 7156 Owner’s Guide Real Time Request to Printer The printer responds to a request from the host specified by n. The operations performed depend on the value of n, according to the following parameters. GS Sequence Hex Decimal ASCII Value of n 1 = Recover and restart 2 = Recover and clear buffers 3 = Cancel slip waiting The command is ignored if n is out of range.
7156 Owner’s Guide Commands If the slip is selected, this command will attempt recovery from a slip motor jam by rehoming the printhead and waiting for a slip to be inserted before restarting the print. Other errors associated with the slip, such as cassette door open, can be recovered from only by clearing the specific condition, such as closing the cassette door. n=2 Recovers from an error after clearing the receive and print buffers.
Commands 7156 Owner’s Guide Real Time Printer Status Transmission Transmits one byte status of the printer in real time.
7156 Owner’s Guide Commands Recognizing Data from the Printer An application sending various real time and non-real time commands to which the printer responds can determine which command a response belongs to by the following table. Note that a response to GS EOT n or DLE EOT n cannot be distinguished from ASCII data coming from a MICR read. While MICR data is still outstanding, an application should use the real time GS ENQ.
Commands 7156 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.
7156 Owner’s Guide Commands Print Bar Code (Receipt Station) Selects the bar code type and prints a bar code for the ASCII characters entered. Hex Decimal 1D 6B 29 107 n c1 c2...00 n c1 c2...00 00 = End of command. ASCII Value of n Value of c GS k n c1 c2...
Commands 7156 Owner’s Guide Print Code 128 Bar Code (Receipt Station) Selects and prints the Code 128 bar code. Hex Decimal ASCII Value of n Value of dn 1D 6B 49 n dn 29 107 73 n dn GS k I n dn 1-255 0-105 Since the characters encoded via Code 128 include the NUL (0x00) character, a NUL cannot be used to terminate the Code 128 bar code sequence as is done with other bar code sequences. The number of characters to be encoded is variable and is specified by n. Following n are the data bytes: dn.
7156 Owner’s Guide Commands MICR Reader Commands These commands control the Magnetic Ink Character Recognition (MICR) Reader, including how it parses the character strings on checks. The remainder of this chapter explains these commands. The section that follows, “MICR Parsing,” describes how to create a parsing format and how to create and maintain an exception table.
Commands 7156 Owner’s Guide Hex Decimal ASCII 1B 77 70 parameters 27 119 112 parameters ESC w p parameters MICR Parsing This section describes the MICR parsing in more detail and includes several examples of useful parsing variations. It also describes how to create a parsing format and how to create and maintain an exception table.
7156 Owner’s Guide Commands Variable Length Field Optional Modifiers Selector Comments Zero fill to length 0 Maximum length Remove space/dash Replace space/dash with 0 nn X x ASCII zero preceeding maximum length 1- or 2-digit ASCII number Examples of Variable Length Field Format Specifications Account #, all characters in the field, keep spaces and dashes Account #, all characters in the field, replace spaces and dashes Account #, maximum 12 characters, keep spaces and dashes Account #, always 12
Commands 7156 Owner’s Guide Field Separator 'x Field separator preceded by a single quote, so a field separator of the letter A would be sent as 'A (0x27 0x41). If a Carriage Return is specified as a separator (0x27 0x0D), a final Carriage Return must still terminate the parsing parameter string.
7156 Owner’s Guide Commands 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.
Commands 7156 Owner’s Guide ESC w p T 18 X A 04C • All characters in the transit number • All characters in the account number (up to 18) with spaces and dashes removed • Always four characters in the check number (zero-filled if check number is only three characters long) • Final Carriage Return ESC w p K9 X T 18 X A 04C • U.S.
7156 Owner’s Guide Commands Notes All parameters are ASCII characters, i.e. greater than or equal to 0x20, with the exception of a non-ASCII character enclosed in single quotes as a field separator. This applies both to parameter specifications sent from application to printer, and to MICR data returned from printer to application. Parameters are positional; their order in the parameter string is the order in which the parsed MICR data will be returned.
Commands 7156 Owner’s Guide Once a parsing format is specified, the following values are returned: MICR Characters ASCII Hexadecimal Numerics 0...9 0x30...0x39 Space 0x20 Dash 0x2D Field separator* Country code* *As specified in the parsing parameter string With RS-232C communication, the printer adds a final carriage return to the MICR data sent to the application. Check Serial Number Parsing the Check Serial Number Most banks print the check serial number in three easily recognizable spots.
7156 Owner’s Guide Commands If both of these searches fail to produce the check serial number, extract the whole account number field from between the rightmost transit symbol and the rightmost “on us” symbol. A three, four, or five digit number to the 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.
Commands 7156 Owner’s Guide Loading the Exception Table The exception table begins at word 20 in NVRAM. Each entry takes five words. There is room for eight exceptions with a sumcheck written in the last word. An application can load local exceptions into the printer using the write NVRAM command: 0x1B 0x73 n1 n2 k which writes the two byte word n1:n2 to word k in NVRAM. Exception Table Entry Format Each exception table entry consists of five words.
7156 Owner’s Guide Commands Example 1 t123456780t12349876543210o 1234 is the check serial # 9876543210 is the account # To load the second table entry, which starts at word 25, the transit number 123456780 would be stored in the first two words of its table entry using this string of commands: 0x1B 0x73 0x12 0x34 25 0x1B 0x73 0x56 0x78 26 After the right transit symbol are immediately the four characters of the check serial #, followed immediately by the ten characters of the account number.
Commands 7156 Owner’s Guide 0x1B 0x73 0x84 0x47 32 0x1B 0x73 0x82 0x24 33 0x1B 0x73 0x00 0x00 34. Maintaining the Exception Table Present contents of the exception table can be examined using the read NVRAM command: 0x1B 0x6A k which reads and returns word k in NVRAM. When the exception table is full, a new entry can replace an older, less frequently used entry, by merely rewriting the words for that table entry.
7156 Owner’s Guide Appendix A: Specifications Appendix A: Specifications Printing Specifications Thermal Receipt Station Impact Slip Station Noise Level 600 Lines/Minute (44 Columns), Depends on Column Width 50 dBA Sound Pressure (ISO 7779) 240, 202, 164, 142 Lines/Minute (40 Columns), Depends on Column Width 68 dBA Sound Pressure (ISO 7779) Printhead Direct Thermal, Fixed Head Impact, Bi-directional Columns (Maximum) 44 Columns (Standard) 56 Columns (Compressed) 7.
Appendix A: Specifications 7156 Owner’s Guide Power Requirements The 7156 printer receives power from a separate power supply. Here are the voltage requirements for the power supply. Maximum Current Voltage Station Short Term Long Term 24.0 V +/- 10% Slip Receipt When connected with a remote 2x20 passthrough display. 4.6 Amps 6.5 Amps 2.0 Amps 2.
7156 Owner’s Guide Appendix A: Specifications Reliability The numbers in the table refer to the Mean Cycle Between Failure (MCBF) for the items indicated. Thermal Receipt Printer 36 Million Print Lines Impact Slip Printer 15 Million Print Lines Impact Printhead 200 Million Characters Electronics 240,000 Ontime Hours Knife 1 Million Cuts MICR Reader 200,000 Reads Ribbon Cassette 3 Million Characters Power Supply 100,000 On-time Hours Dimensions and Weight Height 178 mm (7.
Appendix A: Specifications 7156 Owner’s Guide Density of Receipt Print Lines When the receipt station prints high density print lines (text or graphics), it automatically slows down to a rate slower than 600 lines per minute. High density print lines are defined as lines with over 57% of the dots printing on the line (there are 448 total dot columns on the print station).
7156 Owner’s Guide Appendix B: Print Characteristics Appendix B: Print Characteristics Character Size This section shows the dot pattern for characters printed on the receipt and slip stations. Receipt Station The following two illustrations show the dot patterns of sample characters for standard pitch (15.2 CPI) and compressed pitch (19 CPI). Note that compressed pitch uses fewer dots horizontally than standard pitch.
Appendix B: Print Characteristics 7156 Owner’s Guide Compressed Pitch Slip Station The following illustrations show the dot patterns of sample characters for standard pitch (13.9 CPI), double-wide characters, and rotated characters (counterclockwise). Standard Pitch The first illustration shows a single character with the dimensions listed in the table that follows (including dimensions for compressed pitch). The second illustration shows the layout of columns for standard pitch characters.
7156 Owner’s Guide Appendix B: Print Characteristics Row spacing is fixed and column spacing depends upon the character pitch as indicated in the table. Standard Pitch (13.9 CPI, 66 Columns) Compressed Pitch (17.1 CPI, 80 Columns) .366 mm (.0144 in.) .30 mm (.0117 in.) B 1.45 mm (.057 in.) 1.24 mm (.049 in.) C 2.46 mm (.097 in.) D .353 mm (.0139 in.) E 1.83 mm (.072 in.) Dimension A 14.9 mm (.0585 in.
Appendix B: Print Characteristics 7156 Owner’s Guide Note: Columns overlap within the format for each print row in half-dot increments (depending upon pitch), but the printer cannot print overlapping dots on a single print row. No ASCII character contains overlapping dots on a print row. Double-Wide Characters Double-wide characters are upright characters in an 8x7 dot format with twice the column (horizontal) spacing between printed dots as for standard characters.
7156 Owner’s Guide Appendix B: Print Characteristics Rotated Characters Rotated characters are alternate characters in a 5x7 dot format printed 90 degrees counterclockwise (as shown in the illustration) or clockwise. Only one horizontal pitch is available: 6.95 CPI, 33 columns maximum. Dimension A Horizontal Pitch (6.95 CPI, 33 Columns) .366 mm (.0144 in.) B 2.56 mm (.100 in.) C 1.75 mm (.069 in.) D .353 mm (.0139 in.) E 3.66 mm (.144 in.
Appendix B: Print Characteristics 7156 Owner’s Guide Print Zones This section shows the printable area for the slip station and the receipt station. Receipt Station The receipt station centers characters (standard pitch and compressed pitch) and graphics on an 80 mm wide (3.15 in.) receipt.
7156 Owner’s Guide Appendix B: Print Characteristics Slip Station The slip station prints characters (standard pitch and compressed pitch) and graphics in a print zone of 120.7 mm (4.752 in.) wide on a slip or form. • Standard pitch: 66 characters (columns) per line • Compressed pitch: 80 characters (columns) per line The print line height of 7 x 7 dot characters is 2.46 mm (.097 in). With three-dot spacing, the print line height is 3.53 mm (.139 in.). See the following illustration (not to scale).
Appendix B: Print Characteristics 7156 Owner’s Guide Character Sets The next two pages show the character sets for Code Page 437 and Code Page 850.
7156 Owner’s Guide Appendix B: Print Characteristics October 1995 147
Appendix B: Print Characteristics 148 7156 Owner’s Guide October 1995
7156 Owner’s Guide Index Index —7— 7156 printer clearance, 15 dimensions, 15, 16, 137 environmental conditions, 136 features, 2 location, 15 maintenance and cleaning, 10 ordering supplies, 5 power requirements, 136 printer specifications, 135 reliability, 137 —B— BASIC sending commands, 62 —C— Cables cash drawer, 12 communication, 12, 18 connecting, 18 ordering, 9 power, 18 Carriage return ignoring/using, 46 Cash drawers ordering, 9 Changing paper, 20 Character sets, 146 characters, receipt station d
Index Commands, print characteristics copy character set from ROM to RAM, 72, 97 define user-defined character set, 72, 95 disable double strike, 72, 98 double-wide characters, 72, 92 enable double strike, 72, 97 rotated print, 72, 93 select character code table, 72, 98 select character set, 72, 94 select pitch, 72, 93 set or cancel rotated print, 72, 98 set or cancel upside-down print, 72, 98 set print mode, 72, 93 single-wide characters, 72, 93 Commands, printer function add n extra dot rows, 70, 80 align
7156 Owner’s Guide ordering, 9 Communication interface. See RS-232 interface Connecting cables communication, 18 power, 18 Connector cash drawer, 65 power, 64 RS-232 communication, 64 Consumables.
Index 7156 Owner’s Guide —I— Installation choosing location, 15 connecting cables, 18 loading paper, 20 setting switches, 16 testing printer, 30 Interface.
7156 Owner’s Guide —M— MICR misread, 38 verifying, 52 MICR parsing, 124 check serial number, parsing, 130 exception table entry format, 132 exception table, loading, 132 exception table, maintaining, 134 parameter string options, 124 sample parsing formats, 127 MICR reader adjusting, 48 operating environment, 15 —O— Operator panel, 58 Ordering cables, 9 cash drawers, 9 communication cable, 9 forms, 8 paper, 6 power supply, 9 ribbon cassette, 7 supplies, 5 —P— Packing material removing, 12 repacking pr
Index —R— Receipt station character dot patterns, 139 print zones, 144 Reliability, 137 removing packing material, 12 Repacking printer, 14 ribbon cassette changing, 24 Ribbon cassettes suppliers, 7 Rotated characters dot patterns, 143 RS-232 cash drawer connectors, 65 RS-232 communication connector, 64 RS-232 interface, 62 DTR/DSR protocol, 63 parameters, 66 setting data buffer options, 46 setting data error options, 46 setting extra options, 67 technical specifications, 64 XON/XOFF protocol, 63 —S— Se
7156-D100-V001 189-9200126-A 1095 AXIOHM IPB is the name and mark of Dardel Technologies © 1995 AXIOHM IPB Printed in U.S.A.
7156 Functional Specification 189-9102894 new RS232 industry standard commands These changes apply to the main body of the functional specification. Add these paragraphs after the first paragraph of section 9.6, Printer control codes: RS232 communication was added in 1994, and some additional industry standard slip handling commands were added at that time. See Appendix II. Real time commands and Code 128 bar code printing were added late in 1995. These details are in Appendix II in sections 9.8.
7156 Functional Specification 189-9102894 new RS232 industry standard commands Add these opening sentences to sections 9.8.16, 9.8.17 and 9.8.18: All status and data from the printer must be differentiated using the information titled “recognizing data from the printer” in this appendix, section 9.8.22 Real Time Commands. See section 9.8.24 New industry standard commands for additional status commands and Automatic Status Back (ASB) mode. In Section 9.8.
7156 Functional Specification 189-9102894 new RS232 industry standard commands Add new section 9.8.24. 9.8.24 New industry standard commands These are the new commands: GS I n GS V m n GS a n GS r n Transmit printer ID. Select cut mode and cut paper. Enable/disable automatic status back. Transmit status. The bar code command has been expanded to add an alternate method for printing previously implemented bar codes with 65 ≤ m ≤ 71: GS k m n d1...dn Print bar code.
7156 Functional Specification 189-9102894 new RS232 industry standard commands n=2: Type ID Bit 0 1 2 3 4 5 6 7 Off/On Off On Off On Off On Off Off Hex 00 01 00 02 00 08 00 00 Decimal 0 1 0 2 0 8 0 0 Function No two-byte character code installed. Two-byte character code installed. No knife installed. Knife installed Undefined No MICR installed. MICR installed Not used. Fixed to Off. Undefined Undefined Not used. Fixed to Off.
7156 Functional Specification 189-9102894 9.8.24.2 new RS232 industry standard commands Select cut mode and cut paper. GS V m Select cut mode and cut paper. format ASCII Hex Decimal range 0 ≤ m ≤ 1, 48 ≤ m ≤ 49 GS V m n Select cut mode and cut paper. format ASCII Hex Decimal range 65 ≤ m ≤ 66, 0 ≤ n ≤ 255 GS 1D 29 GS 1D 29 V 56 86 V 56 86 m m m m m m n n n There are two formats for this command, one requiring one parameter m, the other requiring two parameters m and n.
7156 Functional Specification 189-9102894 9.8.24.3 new RS232 industry standard commands Enable/disable automatic status back. GS a n Enable/disable automatic status back.
7156 Functional Specification 189-9102894 new RS232 industry standard commands When Auto Status Back (ASB) is enabled using GS a n, the status transmitted by other commands and the ASB status must be differentiated using the information titled “recognizing data from the printer” in this appendix, section 9.8.22 Real Time Commands.
7156 Functional Specification 189-9102894 new RS232 industry standard commands Third byte, paper sensor information: Bit 0 1 2 3 4 5 6 7 Off/On Off On Off On Off On Off On Off Off On Off On Off Hex 00 01 00 02 00 04 00 08 00 00 20 00 40 00 Decimal 0 1 0 2 0 4 0 8 0 0 32 0 64 0 Status for ASB Receipt paper adequate. Receipt paper low. Receipt paper adequate. Receipt paper low. Receipt paper present. Receipt paper exhausted. Receipt paper present. Receipt paper exhausted. Not used. Fixed to off.
7156 Functional Specification 189-9102894 9.8.24.4 new RS232 industry standard commands Transmit status. GS r n Transmit status. format ASCII Hex Decimal range 1 ≤ n ≤ 3, 49 ≤ n ≤ 51 GS 1D 29 r n 72 n 114 n Transmits the status specified by n, as follows: n 1, 49 2, 50 3, 51 Function Transmits printer status. Transmits cash drawer status (same as ESC u 0). Transmits slip paper status.
7156 Functional Specification 189-9102894 new RS232 industry standard commands The status types to be transmitted are shown below. Printer status (n = 1 or n = 49): Bit 0 1 2 3 4 5 6 7 Off/On Off On Off On Off On Off On Off Off On Off On Off Hex 00 01 00 02 00 04 00 08 00 00 20 00 40 00 Decimal 0 1 0 2 0 4 0 8 0 0 32 0 64 0 Status for GS r n Receipt paper adequate. Receipt paper low. Receipt paper adequate. Receipt paper low. Receipt paper present. Receipt paper exhausted. Receipt paper present.
7156 Functional Specification 189-9102894 new RS232 industry standard commands Slip paper status (n = 3 or n = 51): Value of byte returned 0 Slip Status There is no more printing space on the current slip, or slip paper is not selected. • Remaining print area on the current slip, in number of lines, at the currently set line spacing, when the trailing edge sensor has become uncovered.
7156 Functional Specification 189-9102894 new RS232 industry standard commands The command selects a bar code system and prints the bar code.
8.2.3 Receipt Throughput Models 7156-3xxx are the original models. Models 7156-4xxx have higher receipt print speed and were introduced in 1997. Model 7156-3xxx 5.0 ms. maximum Model 7156-4xxx 3.0 ms. maximum Paper speed 1.3 “/second 33 mm./second 2.25”/second 57 mm./second Print line rate, at 7.
7156 FS Updates for A756-8xxx 189-9102894 Enhanced features Faster thermal print and knife cut This table shows the progression from the original 7156, to the 7156-4xxx released in 1997, to the A756-8xxx described in this appendix. Model 7156-3xxx 5.0 ms. maximum Model 7156-4xxx 3.0 ms. maximum Model A756-8xxx 2.7 ms. maximum Paper speed 1.3 in./second 33 mm./second 2.25 in./second 57 mm./second 2.44 in./second 62 mm./second Print line rate, at 7.
7156 FS Updates for A756-8xxx 189-9102894 Expanded dip switches There are now 10 dipswitches instead of eight. Configuration of switches 1 through 8 is unchanged from other 7156 models, except for the new RS232 baud rate. New switches 9 and 10 are used in combination with the other switches for the new options.
A756- 8xxx new commands and features User accessible flash memory Description The A756-8xxx provides two 64K pages of non-volatile flash memory that are user accessible. The advantage of flash memory is that when written, the contents are preserved over a printer power cycle. Flash memory remains intact until it is erased. Flash memory can be written one byte at a time, but it cannot be erased one byte at a time: an entire 64K page must be erased at once.
A756- 8xxx new commands and features Identification of flash The existing Transmit Printer ID command will tell an application that the printer connected is the A756-8xxx, with flash memory: GS I n Transmit Printer ID.
A756- 8xxx new commands and features Erasing flash GS @ n Erase flash. format ASCII Hex Decimal range 49 ≤ n ≤ 50 GS 1D 29 @ 40 64 n n n The printer erases a page of flash and sends a Carriage Return (0x0D) when the erase is complete. n = 49 (ASCII ‘1’ only) This command will erase the entire 64K page available for user-defined characters and multiple logos.
A756- 8xxx new commands and features Multiple logos GS # n Select active logo. format ASCII Hex Decimal range 0 ≤ n ≤ 255 GS 1D 29 # 23 35 n n n This command selects a logo to be defined or printed. The active logo number n remains in effect until this command is sent again with another number n. When this command precedes a logo definition, that definition will be stored in flash memory as logo n.
A756- 8xxx new commands and features Width Inches Dots 2.94 448 1.47 224 2.21 336 1.89 288 1.0 152 2.0 304 Height Inches Dots 1.26 192 2.52 384 1.68 256 1.89 288 1.0 152 1.0 152 Memory req’d Bytes Volume 10,760 20% 10,760 20% 10,760 20% 10,376 19% 2,896 6% 5,784 11% Selective load to flash memory GS „ n Load to flash or ram.
A756- 8xxx new commands and features format ASCII Hex Decimal ESC ‘ 1B 27 27 39 range 0 ≤ m≤ 255 0 ≤ addr≤ 65,535 0 ≤ data≤ 255 m m m 3-byte addr 3-byte addr 3-byte addr m-byte data m-byte data m-byte data Note that the address field is three bytes. The first byte is ignored now, and is available for future expansion to multiple 64K pages of user data storage. The second and third bytes specify an address within a 64K page, in high:low format.
A756- 8xxx new commands and features Flash status One of the existing Transmit status commands is extended to provide information about the user accessible flash memory and associated command results. The original parameters for this command are unchanged. Flash status is implemented with a new parameter. GS r n Transmit status.
A756- 8xxx new commands and features The flash memory status contains the following information: Flash memory status (n = 4 or n = 52): Bit 0 1 2 Off/On Off Off Off On Hex 00 00 00 04 Decimal 0 0 0 4 3 Off On Off Off On Off On Off 00 08 00 00 20 00 40 00 0 8 0 0 32 0 64 0 4 5 6 7 January 14, 1998 Status for GS r 4 Undefined. Fixed to off. Undefined. Fixed to off. User data storage write successful. User data storage write failed, specified area not erased.
A756- 8xxx new commands and features Remote Diagnostics The A756-8xxx provides new remote diagnostics capabilities. They offer the ability to retrieve critical printer information from the printer via communications, which can aid in maintaining a state of health picture of an installation. They also provide the means for on-site customization of replacement boards. The existing Transmit Printer ID command is extended to provide the new remote diagnostics feature.
A756- 8xxx new commands and features GS I @ n n REMOTE DIAGNOSTIC ITEM FUNCTION ASC hex dec # 23 35 Serial # Return Serial #, preceded by n to identify Printer returns 12 bytes in above example: #1234567890 $ 24 36 Write to NVRAM % & ‘ 25 26 27 37 38 39 Class/model #, 15 digit ASCII Class/model # Class/model # Class/model # ( ) * + 28 29 2A 2B 40 41 42 43 Boot firmware part # Boot firmware part # Boot firmware part # Boot firmware part #, 12 digit ASCII Not available, cannot wri
A756- 8xxx new commands and features GS I @ n n ASC hex dec ä 84 132 à å ç 85 86 87 133 134 135 ê 88 136 ë è ï 89 8A 8B 137 138 139 î 8C 140 ì Ä Å 8D 8E 8F 141 142 143 É 90 144 æ Æ ô 91 92 93 145 146 147 January 14, 1998 REMOTE DIAGNOSTIC ITEM FUNCTION Knife cut tally, 8 digit ASCII numeric, max 99,999,999 Knife cut tally Knife cut tally Knife cut tally Write to NVRAM Slip character tally, 8 digit ASCII numeric, max 99,999,999 Slip character tally Slip character tally Slip