NCR 7167 Owner's Manual

NCR 7167 Owner's Manual

Two-station pos printer
Hide thumbs Also See for 7167:
Table of Contents

Advertisement

Quick Links

NCR 7167 Two-Station POS Printer
Release 1.0
Owner's Manual
B005-000-1406
Revision C
November, 2003

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 7167 and is the answer not in the manual?

Questions and answers

Summary of Contents for NCR 7167

  • Page 1 NCR 7167 Two-Station POS Printer Release 1.0 Owner's Manual B005-000-1406 Revision C November, 2003...
  • Page 2 NCR, therefore, reserves the right to change specifications without prior notice. All features, functions, and operations described herein may not be marketed by NCR in all parts of the world. In some instances, photographs are of equipment prototypes. Therefore, before using this document, consult with your NCR representative or NCR office for information that is applicable and current.
  • Page 3 EACH end of the cable. Use of a cable other than described here will require that you test this cable with the NCR printer and your system for FCC and CE mark certification.
  • Page 4 This equipment must be installed and used in strict accordance with the manufacturer's instructions. However, there is no guarantee that interference to radio communications will not occur in a particular commercial installation. If this equipment does cause interference, which can be determined by turning the equipment off and on, the user is encouraged to contact NCR immediately.
  • Page 5: Quick Reference

    Quick Reference This Quick Reference will direct you to key areas of the Service Manual. For a complete listing of topics, consult the Table of Contents or the Index. Setting Up the Printer ............ page 9 Basic requirements for unpacking and installation, connecting the printer, turning it on, and running the print test.
  • Page 6: Who Should Use This Book

    The service guide is intended as a guide for service representatives, field engineers, and those who will be installing and learning about the 7167 printer. It can also be used as a reference for service courses.
  • Page 7: Table Of Contents

    Who Should Use this Book?....................vi How to Obtain More Information..................vi Revision Record.......................... vi Contents ............................. vii Chapter 1: About the 7167 Printer............................1 Features and Options........................2 Receipt Station........................2 Slip Station .......................... 2 Receipt and Slip Print Stations .................... 3 General Features........................
  • Page 8: Contents

    7167 Owner’s Manual Contents Running the Edgeport Utility .................... 40 Serial Port Configuration Methods..................40 Uninstalling the Drivers..................... 41 Chapter 3: Solving Problems ............................... 43 Green LED Does Not Come On/Printer Will Not Print............. 43 Green LED Blinking (Slow) ...................... 44 Green LED Blinking (Fast)......................
  • Page 9 7167 Owner’s Manual Contents Macro Commands ......................95 MICR Check Reader Commands ..................95 MICR Parsing........................95 User Data Storage Commands................... 96 Asian Character Commands ....................96 Scanner Function Commands .................... 97 Flash Download Commands....................98 Printer Function Commands.................... 102 Vertical Positioning and Print Commands...............
  • Page 10: Chapter 1: About The 7167 Printer

    Extended Slip Table The 7167 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 computer.
  • Page 11: Features And Options

    7167 Owner’s Manual Chapter 1: About the 7167 Printer Features and Options The 7167 printer comes with several features and options. Receipt Station Thermal printing Standard pitch (host selectable): 15.2 characters per inch, 44 columns Compressed pitch (host selectable): 19.0 characters per inch, 56 columns Resident bar codes •...
  • Page 12: Receipt And Slip Print Stations

    One cash drawer connector (supports 2 cash drawers) History EEROM for custom settings Audible tone (controlled by application) Note: The 7167 does not have a paper journal. The journal is kept electronically by the host computer. Not supported by model 7167-1035 and 7167-2035.
  • Page 13: Options

    7167 Owner’s Manual Chapter 1: About the 7167 Printer Options Magnetic Ink Character Recognition (MICR) check reader built into the slip station for verifying checks (includes custom MICR field parsing). E13B and CMC-7 is support with auto sensing of the MICR type provided.
  • Page 14: Thermal Print Head

    Chapter 1: About the 7167 Printer Thermal Print Head The 7167 Receipt Station uses a thermal print head for printing receipts, and is extremely fast and quiet. Since it uses heat to print directly on paper, there is no cassette or ribbon to change, eliminating soiled fingers and paper dust.
  • Page 15: Ordering Paper And Supplies

    Thermal receipt paper, ribbon cassettes, and forms can be ordered. Documentation is also available. Ordering Thermal Receipt Paper The 7167 requires NCR qualified thermal paper to be used on the thermal receipt print station to insure proper operation of the printer. In addition the paper rolls must be have the following dimension.
  • Page 16: Ordering Ribbon Cassettes

    7167 Owner’s Manual Chapter 1: About the 7167 Printer Ordering Forms The 7167 prints on single- or multiple-part 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 inches) wide 70 mm (2.75 inches) long...
  • Page 17: Ordering Other Supplies

    7167 Owner’s Manual Chapter 1: About the 7167 Printer Ordering Other Supplies Contact your NCR sales representative to order the supplies listed in the table. Item Type Number Power supply with attached cable to printer 75 Watt Power Supply 7167-K331-V001 and U.S.
  • Page 18: Cleaning The Printer

    Cooking oils Ultraviolet light There is no scheduled maintenance required for the 7167. 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. If the receipt bucket is dirty, wipe it with a clean, damp cloth.
  • Page 20: Chapter 2: Setting Up And Using The Printer

    Ribbon cassette • Thermal receipt paper roll Cardboard restraint for carriage (behind front cover) These items may be ordered as options from NCR and will be shipped separately: • Communication cable (from host computer to printer) • DC Power Cable •...
  • Page 21: Removing The Packing Material

    7167 Owner’s Manual Chapter 3: Solving Problems Removing the Packing Material Receipt Cover Head Gap Holder Carriage Holder 1. Remove the printer from the foam pack and plastic bag. 2. Open the front cover and remove the carriage holder. November 2003...
  • Page 22: Re Packing The Printer

    Choosing a Location The 7167 printer takes up relatively little counter space and may be set on or near the host computer. 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.
  • Page 23: C) Wall Mounted Power Supply (Option)

    7167 Owner’s Manual Chapter 3: Solving Problems 174 mm 6.85 in.) 316.20 mm (12.50 in.) 190 mm (7.50 in.) c) Wall mounted Power Supply (Option) The 75 watt power supply may be mounted on a vertical wall by using the holes on the cover.
  • Page 24: Setting Switches

    7167 Owner’s Manual Chapter 3: Solving Problems Setting Switches The DIP switches, located at the back of the printer, are used for three purposes: • To set variables for several printer functions (see the sections for the various printer functions in “Level 1 Diagnostics”...
  • Page 25 7167 Owner’s Manual Chapter 3: Solving Problems DIP Switch Settings Switch 1 Settings Switch 2 Settings Printer State OFF (0) OFF (0) On-line Mode (default) ON (1) OFF (0) Diagnostic Mode OFF (0) ON (1) * Flash Download Mode ON (1)
  • Page 26: Connecting The Cables

    7167 Owner’s Manual Chapter 3: Solving Problems Connecting the Cables There are three different types of cables that connect to the printer: • Power supply cable supplying power from the host POS terminal or from a external power supply •...
  • Page 27 7167 Owner’s Manual Chapter 3: Solving Problems RS-232 Cable Connection Communication Power Connector Connector Power Communication DIP Switch Cash Drawer Cash Drawer Cable Cable Cable Connector USB Cable Connection Power Connector Connector Power Cable DIP Switch Cash Drawer Cash Drawer...
  • Page 28: Using The Printer

    7167 Owner’s Manual Chapter 3: Solving Problems Using the Printer Paper Feed Button Note: See “Setting Switches” earlier in this book for instructions on setting the DIP switches. 1. Connect the power supply cable to the printer and turn on the power source.
  • Page 29: Loading And Changing The Receipt Paper

    7167 Owner’s Manual Chapter 3: Solving Problems Loading and Changing the Receipt Paper Although the illustrations show a used roll being removed, the instructions apply to loading paper for the first time. Change the paper when either of the following two conditions occurs: •...
  • Page 30: Removing The Paper Roll

    7167 Owner’s Manual Chapter 3: Solving Problems Removing the Paper Roll 1. Open the receipt cover. 2. Remove the used roll. Receipt cover November 2003...
  • Page 31: Loading The Paper Roll

    7167 Owner’s Manual Chapter 3: Solving Problems Loading 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.
  • Page 32: Advancing Paper

    7167 Owner’s Manual Chapter 3: Solving Problems 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.
  • Page 33: Installing And Changing The Ribbon Cassette

    7167 Owner’s Manual Chapter 3: Solving Problems Installing and Changing the Ribbon Cassette Change the ribbon cassette when the print is too light or the ribbon is frayed. Removing the Ribbon Cassette 1. Open the front cover. 2. Use the handle on the cassette and pull the cassette from the printer.
  • Page 34: Installing The Ribbon Cassette

    7167 Owner’s Manual Chapter 3: Solving Problems Installing the Ribbon Cassette 1. Tighten the ribbon by turning the knob in the direction of the arrow. 2. Position the ribbon cassette slot at the catch on the printer slip frame and push it into place.
  • Page 35: Printing On Forms Or Checks

    Although the illustration on the facing page shows a check being inserted into the printer, the instructions apply to any type of form. The 7167 can print on forms up to five-parts thick. See “Ordering Forms” in chapter 1 for more information about the type of forms that can be used.
  • Page 36 7167 Owner’s Manual Chapter 3: Solving Problems Guide Extended Slip Table November 2003...
  • Page 37: Validating And Verifying Checks

    7167 Owner’s Manual Chapter 3: Solving Problems Validating and Verifying Checks Note: If the MICR check 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 on the facing page.
  • Page 38 7167 Owner’s Manual Chapter 3: Solving Problems Guide Extended Slip Table November 2003...
  • Page 39: Advantages Of Usb Connections

    Windows 98 (SR2), Windows 98 USB Hot Patch, ID: Q236934, NT 4.0 (Service Pack 3 or higher) and Windows 2000. Application developers need only redirect their software to the virtual serial ports created by the NCR USB solution to use the printer.
  • Page 40: Checking For Usb Support On The Host Computer

    Note: Even though the host may have a USB port, Windows NT does not natively support plug-and- play USB because it does not have a built-in driver. You will need to load the NCR Windows NT USB driver (see “Installing the USB Printer Drivers”).
  • Page 41: Installing The Usb Printer Drivers

    7167 Owner’s Manual Chapter 3: Solving Problems • Consult your computer documentation to see if USB must be enabled in the BIOS setup. Installing the USB Printer Drivers Windows NT users need to run Service Pak 3 or higher for a successful installation and should exit all Windows programs before starting.
  • Page 42 7167 Owner’s Manual Chapter 3: Solving Problems November 2003...
  • Page 43 7167 Owner’s Manual Chapter 3: Solving Problems Note: Location of the IONetworks files on the CD-ROM may very depending on the version of the CD that is being used. November 2003...
  • Page 44 7167 Owner’s Manual Chapter 3: Solving Problems Also verify that you have the Windows 98 USB Hot Patch, ID: Q236934, created: 08-Jul-1999 and modified: 10Aug-1999 installed. To verify if this hot patch is installed check file c:\Windows\System32\Drivers\usbhub.sys. This file should be dated 08/13/99, size 36,672, version 4.10.22223.
  • Page 45 7167 Owner’s Manual Chapter 3: Solving Problems Windows NT The printer beeps when it is plugged in to show the USB device is recognized. Click on the file you downloaded and follow the on-screen instructions. November 2003...
  • Page 46 7167 Owner’s Manual Chapter 3: Solving Problems November 2003...
  • Page 47 7167 Owner’s Manual Chapter 3: Solving Problems Windows 2000 Follow the on-screen instructions. The printer beeps when the USB device is recognized. Go to the location where you downloaded the drivers and double click the file. November 2003...
  • Page 48 7167 Owner’s Manual Chapter 3: Solving Problems November 2003...
  • Page 49 7167 Owner’s Manual Chapter 3: Solving Problems Note: Location of the IONetworks files on the CD-ROM may very depending on the version of the CD that is being used. November 2003...
  • Page 50 7167 Owner’s Manual Chapter 3: Solving Problems November 2003...
  • Page 51 7167 Owner’s Manual Chapter 3: Solving Problems Note: Location of the IONetworks files on the CD-ROM may very depending on the version of the CD that is being used. November 2003...
  • Page 52: Checking The Installation

    1. Open the Device Manager window, as you did in “Checking for USB Support.” 2. Scroll down to “Universal serial bus controllers.” The following devices should be displayed: • NCR 7167 Printer • NCR 7167 Serial Ports [Port#] (where the # is the location of the printer) November 2003...
  • Page 53 Chapter 3: Solving Problems 3. Scroll back up to “Ports.” You should see a COM number and port description for the NCR printer. If the devices are missing or are not listed correctly, the installation wasn’t successful. You will need to reinstall the drivers.
  • Page 54 7167 Owner’s Manual Chapter 3: Solving Problems Windows 2000: 1. Open the Device Manager window, as you did in “Checking for USB Support.” 2. Scroll down to “Universal serial bus controllers.” November 2003...
  • Page 55 7167 Owner’s Manual Chapter 3: Solving Problems 3. Scroll back up to “Ports.” If the devices are missing or are not listed correctly, the installation wasn’t successful. You will need to reinstall the drivers. If this information is not listed, then the installation was not successful. You will need to reinstall the drivers.
  • Page 56: Configuring Serial Port Number Assignments

    Chapter 3: Solving Problems Configuring Serial Port Number Assignments This section described how the NCR USB solution assigns serial port numbers (e.g., COMx) to the printer. The information that determines the assigned port number is stored in the host computer and not in the printer.
  • Page 57: Running The Edgeport Utility

    You can check the assigned serial port by clicking the General tab in the Edgeport utility. You’ll see an entry for the NCR printer. Expand the list to see which serial port has been assigned to the printer.
  • Page 58: Uninstalling The Drivers

    1. Open the Device Manager and make sure “View Devices By Type” is selected. 2. Scroll down to Universal serial bus controller, and expand the list by pressing the “+” symbol. You’ll see two entries for your NCR printer. 3. Select the printer name and click Properties.
  • Page 59 7167 Owner’s Manual Chapter 3: Solving Problems 3. Select the printer name and click Properties. 4. Select the Details tab, then press the Details button to start the Edgeport utility. 5. Click the Advanced tab. 6. Click the Uninstall button and follow the on-screen instructions.
  • Page 60: Chapter 3: Solving Problems

    Chapter 3: Solving Problems Chapter 3: Solving Problems The 7167 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 print head may overheat.
  • Page 61: Green Led Blinking (Slow)

    7167 Owner’s Manual Chapter 3: Solving Problems Green LED Blinking (Slow) Problem What to Do Where to Go Receipt paper is low* There are about 4 ½ meters, ± 3 meters, (15 See “Loading and feet, ± 10 feet) of paper left. Change the paper Changing the Receipt Paper”...
  • Page 62: Slip Or Forms Printing Is Light

    7167 Owner’s Manual Chapter 3: Solving Problems AC supply voltage is out of If paper is not low and no conditions indicate range that the thermal print head is too hot, then it is likely that the power supply voltage is out of range.
  • Page 63: Receipt Printing Is Light Or Spotty

    7167 Owner’s Manual Chapter 3: Solving Problems Receipt Printing is Light or Spotty Problem What to Do Where to Go Thermal print head may be dirty Open the receipt cover and clean the thermal See “Cleaning the Printer” print head with cotton swabs and isopropyl in chapter 2.
  • Page 64: Micr Check Reader Not Reading Properly

    For serious problems, such as the printer not printing, not communicating with the host computer, or not turning on, contact your NCR-authorized service organization to arrange for a service call. In addition to the service manual listed below, other service-related materials may be available.
  • Page 65: Chapter 4: Diagnostics

    7167 Owner’s Manual Chapter 4: Diagnostics Chapter 4: Diagnostics The following diagnostic tests are available for the 7167: Level 0 Diagnostics (Startup) Performed during the startup cycle. Level 1 Diagnostics (Printer Configuration) Allows configuration of the printer using a Configuration Menu that is printed on a receipt.
  • Page 66: Level 1 Diagnostics

    7167 Owner’s Manual Chapter 4: Diagnostics Level 1 Diagnostics Level 1 diagnostics (setup mode) allow you to change the settings for various printer functions and run certain tests. 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 and Switch 2 must be set to Off.
  • Page 67 Maximum Power Option Paper Low Sensor Paper Width Knife Options MICR Option Check Flip Option Color Paper Option MICR Dual Pass Scan Setting Default Code Page Setting EEPROM to default settings Asian Mode isn’t supported by model 7167-1035 and 7167-2035. November 2003...
  • Page 68: Configuring The Printer

    7167 Owner’s Manual Chapter 4: Diagnostics Configuring the Printer Use the Configuration Menu to select functions or change various settings as indicated in the preceding sections. The Configuration Menu prints instructions and setting options interactively as the user goes through the configuration process.
  • Page 69 7167 Owner’s Manual Chapter 4: Diagnostics *** Diagnostics Form *** *** Printer Config Menu *** Model number 7167 The config menu allows you to set Serial number A991703053 general printer parameters. Sub-menus are entered and selections are made Boot Firmware...
  • Page 70: Communication Interface Modes

    7167 Owner’s Manual Chapter 4: Diagnostics 4. Press the Paper Feed Button to make the selections. The instructions indicate whether to select something with a short click, a long click, or a series of short clicks. Indicate Yes with a long click, No with a short click.
  • Page 71 7167 Owner’s Manual Chapter 4: Diagnostics More -> 5 Clicks Enter code, then hold Button DOWN At least 1 second to validate 9600 Baud* -> 1 Clicks 4800 Baud -> 2 Clicks 2400 Baud -> 3 Clicks 1200 Baud -> 4 clicks...
  • Page 72: Diagnostic Modes

    7167 Owner’s Manual Chapter 4: Diagnostics ** SET RECEIVE BUFFER SIZE ? -> Long Click -> Short Click 4K Buffer* -> Long Click One Line -> Short Click Note: Press the Paper Feed Button for at least one second to validate the selection.
  • Page 73 7167 Owner’s Manual Chapter 4: Diagnostics MICR Test mode -> 1 Click Check Flip Test mode -> 2 Clicks Print Head Test Mode -> 3 Clicks Enter code, then hold Button DOWN At least 1 second to validate Datascope Mode Datascope Mode allows the user to test the printer’s communications.
  • Page 74 7167 Owner’s Manual Chapter 4: Diagnostics 3. Exit the Configuration Menu. The printer is in the Normal Mode and can communicate with the host computer. Receipt Test Mode To run the Receipt Test Mode: 1. Enable the Receipt Test Mode through the Configuration Menu. See “Configuring the Printer,”...
  • Page 75 7167 Owner’s Manual Chapter 4: Diagnostics Check Flip Test Mode To run the Check Flip Test Mode: 1. Enable the Check Flip Test Mode through the Configuration Menu (See “Configuring the Printer,” for instruction on how to enter the Configuration Menu), then exit the Configuration Menu.
  • Page 76: Printer Emulations

    7167 Owner’s Manual Chapter 4: Diagnostics 3. Push Paper Feed Button. 4. Several lines of Rolling ASCII character will be printed. Note: Printing will take place even when receipt cover is open. 5. Go to step 2 again to repeat this test.
  • Page 77 7167 Owner’s Manual Chapter 4: Diagnostics Printer ID Selections Printer ID Selections determines the print ID that is returned from the printer. This is set by using the Configuration Menu. (See “Configuring the Printer,” for instructions on how to enter the Configuration Menu.). The available options are:...
  • Page 78 Note: Press the Paper Feed Button for at least one second to validate the selection. Slip Printing Width This function allows for the 7167 printer to be set in a mode that allows for the printer to drop the left 21 columns of data. For example if the printer was connected to an application that was sending data for a 7158 printer which supports 66 columns of print the 7167 printer could replace the 7158 without application changes.
  • Page 79: Hardware Options

    Warning: Choose an energy level no higher than necessary to achieve a dark printout. Failure to observe this rule may result in a printer service call or voiding of the printer warranty. Consult your NCR technical support specialist if you have any questions. November 2003...
  • Page 80 7167 Owner’s Manual Chapter 4: Diagnostics Press the Paper Feed Button for the print density you want. ** SET PRINT DENSITY ? -> Long Click -> Short Click 100 %* -> 1 Click 110 % -> 2 Clicks 120 % ->...
  • Page 81 7167 Owner’s Manual Chapter 4: Diagnostics Press the Paper Feed Button for the paper width option you want. ** SET PAPER WIDTH ? -> Long Click -> Short Click Paper Width = 80 mm* -> 1 Click Paper Width = 58 mm ->...
  • Page 82 7167 Owner’s Manual Chapter 4: Diagnostics Press the Paper Feed Button for the option you want. ** SET CHECK FLIP OPTION ? -> Long Click -> Short Click Enable Check Flip* -> Long Disable Check Flip -> Short Note: Press the Paper Feed Button for at least one second to validate the selection.
  • Page 83: Default Code Page

    ** SET CODE PAGE ? -> Long Click -> Short Click FOR 7158 Mode: Code Page 437* -> 1 Click Code Page 850 -> 2 Clicks Code Page 852 -> 3 Clicks Not supported by 7167-1035 and 7167-2035 November 2003...
  • Page 84 This function allows to save the selected default code page selecton or return to the default code page selecton to select additional options. Press the Paper Feed Button for the option you want. Save new parameters ? -> Long Click NO, MODIFY -> Short Click Not supported by 7167-1035 and 7167-2035 November 2003...
  • Page 85 7167 Owner’s Manual Chapter 4: Diagnostics EEPROM to Default Settings This selection resets the configuration to the Default Settings. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer.
  • Page 86: Level 2 Diagnostics

    7167 Owner’s Manual Chapter 4: Diagnostics Level 2 Diagnostics Level 2 diagnostics run during normal printer operation. When the following conditions occur, the printer automatically turns off the appropriate motor, disables printing to prevent damage, and turns on the green LED (flashes the green LED if the receipt print...
  • Page 87: Level 3 Diagnostics

    7167 Owner’s Manual Chapter 4: Diagnostics Level 3 Diagnostics Level 3 diagnostics keeps track of the following tallies and prints them on the receipt during the receipt test. See “Sample Print Test” later in this chapter. Serial number Model number...
  • Page 88: Chapter 5: Communication

    In order for the printer to communicate with the host, a communication link must be set up. The 7167 supports the industry standard RS-232C communication interface. This interface has a protocol associated with it that the host computer must understand and adhere.
  • Page 89: Rs-232C Interface

    For DTR/DSR, changes in the DTR/DSR signal coordinate the data flow. The RS-232C version of the 7167 offers the standard options which are selectable in the Diagnostic mode. See “Diagnostics: Communications Interface Settings” later in this book.
  • Page 90: Xon/Xoff Protocol

    7167 Owner’s Manual Chapter 5: Communication XON/XOFF Protocol The XON/XOFF characters coordinate the information transfer between the printer and the host computer. 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 computer must monitor the communication link as shown in the following flowchart in order to send data at the appropriate times.
  • Page 91: Rs-232C 9-Pin To 9-Pin Cable Diagram

    7167 Owner’s Manual Chapter 5: Communication Connectors RS-232C Communication Connector Pin Assignments The illustration shows the RS-232C communication connector and pin assignments. The connector is a 9-pin male D-shell connector and is located in the hollow cavity under the printer at the rear.
  • Page 92: Usb Cable Connector

    7167 Owner’s Manual Chapter 5: Communication USB Cable Connector The following illustration is for the USB Type B communication connector and pin assignment. Printer View End Pin No Signal +5 V – USB Data - Data + Ground Power Cable Connector The illustration shows the power cable connector and pin assignments.
  • Page 93: Cash Drawer Connector And Pin Assignments

    7167 Owner’s Manual Chapter 5: Communication Cash Drawer Connector and Pin Assignments 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.
  • Page 94: Switch Settings

    7167 Owner’s Manual Chapter 5: Communication Switch Settings The DIP switches are located on the PC board at the back of the printer as shown in the illustration in “Level 1 Diagnostics” in chapter 4. The switches are used to put the printer into various modes for printer configuration set up.
  • Page 96: Chapter 6: Commands

    All commands listed in bold or italics are new or have additional functionality when compared to the NCR 7156. Commands in italics are supported by model 7167-1035 and 7167-2035. These two models can not support commands in bold italics.
  • Page 97: By Command Code

    All items in BOLD are new or have additional functionality when compared to the 7156. All items in italic letters are commands for scanner function and are supported only by model 7167-1035 and 7167-2035. Items in bold italic are Asian mode commands and are not supported by model 7167-1035 and 7167-2035.
  • Page 98 7167 Owner’s Manual Chapter 6: Commands Hexadecimal Command Page Code and Operands Command Name 1B 21 n Select Print Modes 1B 24 n1 n2 Set Absolute Starting Position 1B 25 n Select or Cancel User-Defined Character Set 1B 26 3 c1 c2…dn...
  • Page 99 7167 Owner’s Manual Chapter 6: Commands Hexadecimal Command Page Code and Operands Command Name 1B 61 n Select Justification 1B 63 30 n Select Receipt or Slip for Printing; Slip for MICR Read 1B 63 31 n Select Receipt or Slip for Setting Line Spacing...
  • Page 100 7167 Owner’s Manual Chapter 6: Commands Hexadecimal Command Page Code and Operands Command Name 1C 28 67 pL pH 64 Transmits the File Format 1C 28 67 pL pH 65 Select Scanning mode 1C 28 67 pL pH 66 Transmits scanning mode...
  • Page 101 7167 Owner’s Manual Chapter 6: Commands Hexadecimal Command Page Code and Operands Command Name 1D 2F m Print Downloaded Bit Image 1D 3A Start or End Macro Definition 1D 40 n Erase User Flash Sector 1D 42 n Select or Cancel White/Black Reverse Print...
  • Page 102: Printer Function Commands

    7167 Owner’s Manual Chapter 6: Commands Printer Function Commands Hexadecimal Command Code and Operands Command Name Page Clear Printer Close Form Open Form Perform Full Knife Cut Perform Partial Knife Cut 1B 07 Generate Tone 1B 3C Return Home 1B 3D...
  • Page 103: Vertical Positioning And Print

    7167 Owner’s Manual Chapter 6: Commands Vertical Positioning and Print Hexadecimal Command Code and Operands Command Name Page Print and Feed Paper One Line Print and Return to Standard Mode/Print and Eject Slip Print and Carriage Return 14 n Feed n Print Lines...
  • Page 104 7167 Owner’s Manual Chapter 6: Commands November 2003...
  • Page 105: Print Characteristic Commands

    1B 45 n Select or Cancel Emphasized Mode 1B 47 Select Double Strike (7156 Emulation Mode) 1B 47 n Select Double Strike (7158/7167 Native Modes) 1B 48 Cancel Double Strike 1B 49 n Select or Cancel Italic Print 1B 52 n...
  • Page 106: Graphics Commands

    7167 Owner’s Manual Chapter 6: Commands Graphics Commands Hexadecimal Command Code and Operands Command Page 1B (+*.bmp) Download BMP Logo 1B 2A m n1 n2 d1…dn Select Bit Image Mode 1B 4C n1 n2 d1…dn Select Double-Density Graphics (in 7156 Emulation Mode) 1B 59 n1 n2 d1…dn...
  • Page 107: Real Time Commands

    7167 Owner’s Manual Chapter 6: Commands Real Time Commands Hexadecimal Command Code and Operands Command Page 10 04 n Real Time Status Transmission (DLE Sequence) 10 05 n Real Time Request to Printer (GS Sequence) 1D 03 n Real Time Request to Printer (DLE Sequence)
  • Page 108: Macro Commands

    7167 Owner’s Manual Chapter 6: Commands Page Mode Commands Hexadecimal Command Code and Operands Command Page Print and Return to Standard Mode/Print and Eject Slip Cancel Print Data in Page Mode 1B 0C Print Data in Page Mode 1B 4C...
  • Page 109: User Data Storage Commands

    7167 Owner’s Manual Chapter 6: Commands Check Flip Command Hexadecimal Command Code and Operands Command Page 1B 77 46 Check Flip Command User Data Storage Commands Hexadecimal Command Code and Operands Command Page 1B 27 m addr d1…dm Write to User Data Storage...
  • Page 110: Scanner Function Commands

    7167 Owner’s Manual Chapter 6: Commands Scanner Function Commands Hexadecimal Command Code and Operands Command Page 1C 28 67 pL pH 28 Scanning Threshold 1C 28 67 pL pH 29 Scanning Area 1C 28 67 pL pH 32 Compression Mode...
  • Page 111: Flash Download Commands

    7167 Owner’s Manual Chapter 6: Commands Flash Download Commands Hexadecimal Command Code and Operands Command Page 1B 5B 7D Switch Flash Download Mode 1D 00 Request Printer ID 1D 01 Return Segment Number Status of Flash Memory 1D 02 n...
  • Page 112: Comparison Chart

    The following table details the list of commands whose behavior differs from the NCR 7156 because of the physical differences of a 6 dots/mm head (7156) versus an 8 dots/mm head (7167). Where the 7156 made movements in n/152 inch increments, the 7167 makes n/203 inch movements.
  • Page 113 Emulation Mode, this command calculates how many character positions to move based on the 7156’s character width in dots (10) versus the 7167’s width (13). 1B 61 n Select Justification This command does true dot resolution alignment for centering versus character- aligned centering.
  • Page 114 7167 Owner’s Manual Chapter 6: Commands Command Descriptions This section provides the detailed description of the commands. These commands are separated into groups according to their function or use. The previous sections can be used as an index for the following sections.
  • Page 115: Printer Function Commands

    7167 Owner’s Manual Chapter 6: Commands Related Describes related information for this command, e.g., bit Information: information. Printer Function Commands The printer function commands control the following basic printer functions and are described in order of their hexadecimal codes: 1. Station Select 2.
  • Page 116 7167 Owner’s Manual Chapter 6: Commands Close Form ASCII: Hexadecimal: Decimal: Closes the feed roller and platen and retracts the forms arm stop to the forms stop position. If the printer is reset or the Clear command (0x10) is received, the feed roller and platen are opened.
  • Page 117 7167 Owner’s Manual Chapter 6: Commands Perform Partial Knife Cut ASCII: ESC i Hexadecimal: 1B 69 27 105 Decimal: Cuts the receipt, leaving .20 inch (5 mm) of paper. This command is implemented the same as Partial Knife Cut (1A, 1B 6D). There are two codes for this command. Both codes perform the same function.
  • Page 118 7167 Owner’s Manual Chapter 6: Commands Generate Tone ASCII: ESC BEL Hexadecimal: 1B 07 27 7 Decimal: Generates an audible tone. This allows the application to provide an audible tone to the operator. Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H07) Return Home ASCII: ESC <...
  • Page 119: Initialize Printer

    7167 Owner’s Manual Chapter 6: Commands Initialize Printer ASCII: ESC @ 1B 40 Hexadecimal: 27 64 Decimal: Default: Receipt Slip Character Pitch: 15.6 CPI 13.9 CPI Column Width: 44 characters (80mm) 45 characters 32 characters (58mm) Extra Dot Rows: Character Set:...
  • Page 120 7167 Owner’s Manual Chapter 6: Commands Select Receipt or Slip for Printing; Slip for MICR Read ASCII: ESC c 0 n Hexadecimal: 1B 63 30 n 27 99 48 n Decimal: Value of n : 0 Journal selected 1, 2, 3 Receipt selected...
  • Page 121 7167 Owner’s Manual Chapter 6: Commands Select Receipt or Slip for Setting Line Spacing ASCII: ESC c 1 n Hexadecimal: 1B 63 31 n 27 99 49 n Decimal: Value of n: 0 Journal selected 1, 2, 3 Select receipt...
  • Page 122: Select Sensors To Stop Printing

    7167 Owner’s Manual Chapter 6: Commands Select Sensors to Stop Printing ASCII: ESC c 4 n Hexadecimal: 1B 63 34 n 27 99 52 n Decimal: Value of n : If this bit of n is 1 Function Performed Bit 0, or bit 1...
  • Page 123 7167 Owner’s Manual Chapter 6: Commands Enable or Disable Panel Buttons ASCII: ESC c 5 n Hexadecimal: 1B 63 35 n 27 99 53 n Decimal: Value of n : 0 = Enable 1 = Disable Default: 0 (Enable) Enables or disables the Paper Feed Button. If the last bit is 0, the Paper Feed Button is enabled.
  • Page 124 7167 Owner’s Manual Chapter 6: Commands Enable or Disable Slip Paper End Feeding Stop ASCII: ESC c 7 n Hexadecimal: 1B 63 37 n 27 99 55 n Decimal: Value of n : 0 = Enable 1 = Disable Default: 0 (Enable) Enables or disables the the slip paper end feeding stop function.
  • Page 125 7167 Owner’s Manual Chapter 6: Commands Set Slip Paper Waiting Time ASCII: ESC f m n Hexadecimal: 1B 66 m n 27 102 m n Decimal: Value of m : Minutes Value of n : Tenths of seconds Sets the time (in m minutes) that the printer waits for a slip to be inserted into the slip station.
  • Page 126 MSComm1.Output = Chr$(&H1B) & Chr$(&H70) & Chr$(n) & Chr$(n) Related Information: The off-time is the delay before the printer performs the next operation. The recommend time for NCR cash drawers is 110 msec on time. Refer to cash drawer specifications for required on and off times. November 2003...
  • Page 127 7167 Owner’s Manual Chapter 6: Commands Select or Cancel Parallel Printing Mode on Receipt and Journal ASCII: ESC z n Hexadecimal: 1B 7A n 27 122 n Decimal: Because there is no journal station on the printer this command is not implemented and is ignored if received.
  • Page 128 7167 Owner’s Manual Chapter 6: Commands Feed and Cut Mode 0, 48 Full cut (no extra feed). Partial cut on the 7158/7167. 1, 49 Partial cut (no extra feed). Feeds paper to cutting position + (n times vertical motion unit), and cuts the paper completely.
  • Page 129 7167 Owner’s Manual Chapter 6: Commands Select Receipt Station ASCII: Hexadecimal: Decimal: Selects the Receipt Station for all functions. The receipt station is the default setting after the printer is initialized or the Clear Printer (0x10) command is received. The Hex command: 1B 63 30 n , where n = 1, 2, 3 will also select the receipt station.
  • Page 130: Vertical Positioning And Print Commands

    7167 Owner’s Manual Chapter 6: Commands Vertical Positioning and Print Commands The vertical positioning and print commands control the vertical print positions of characters on the receipt and slip. Print and Feed Paper One Line ASCII: Hexadecimal: Decimal: Prints one line from the buffer and feeds paper one line.
  • Page 131 Range of n : 0 – 127 7156 Emulation Mode 0 – 255 7158 Native Mode or 7167 Native Mode Feeds paper n lines at the current line height without printing. Ignored on receipt if the current line is not empty.
  • Page 132 Range of n : 0 – 127 7156 Emulation Mode 0 – 255 7158 Native Mode or 7167 Native Mode Feeds paper n dot rows without printing. Receipt moves n rows if the print buffer is empty. Example: MSComm1.Output = Chr$(&H15) &...
  • Page 133 7167 Owner’s Manual Chapter 6: Commands Receipt Station Slip Station Extra Rows Lines Per Dot Rows Extra Rows Lines Per Dot Rows Inch Inch 8.47 10.29 8.13 9.00 7.81 8.00 7.52 7.20 7.25 6.55 7.00 6.00 6.77 5.54 6.55 5.14 6.35...
  • Page 134 7167 Owner’s Manual Chapter 6: Commands Set Line Spacing to 1/6 Inch ASCII: ESC 2 1B 32 Hexadecimal: 27 50 Decimal: 0.13 Inch (3.33 mm) Default: Sets the default line spacing to 1/6 of an inch (4.25 mm). Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H32)
  • Page 135 7167 Owner’s Manual Chapter 6: Commands Print and Feed Paper ASCII: ESC J n Hexadecimal: 1B 4A n 27 74 n Decimal: Value of n: n/203 inches receipt n/144 inches slip Range of n: 0 - 255 Prints one line from the buffer and feeds the paper.
  • Page 136 7167 Owner’s Manual Chapter 6: Commands Print and Feed n Lines ASCII: ESC d n Hexadecimal: 1B 64 n 27 100 n Decimal: Value of n: Number of lines to be printed and fed. Range of n: 1 – 255 (0 is interpreted as 1 on the receipt station) Prints one line from the buffer and feeds paper n lines at the current line height.
  • Page 137 0 – 127 7156 Emulation Mode 0 – 255 7158 Native Mode or 7167 Native Mode Reverses the paper feed in the slip station by n dots at 1/72 inch (NCR 7150™ command). This command is ignored if receipt station is selected.
  • Page 138 7167 Owner’s Manual Chapter 6: Commands Set Horizontal and Vertical Minimum Motion Units ASCII: GS P x y 1D 50 x y Hexadecimal: 29 80 x y Decimal: Value of x: Horizontal Value of y: Vertical Range of x: 0 - 255...
  • Page 139: Horizontal Positioning Commands

    7167 Owner’s Manual Chapter 6: Commands Horizontal Positioning Commands The horizontal positioning commands control the horizontal print positions of characters on the receipt and slip. Horizontal Tab ASCII: Hexadecimal: Decimal: Moves the print position to the next tab position set by the Set Horizontal Tab Positions (1B 44 n1 n2 ...
  • Page 140 7167 Owner’s Manual Chapter 6: Commands Prints the first character of the next print line in column n. It must be sent for each line not printed at column one. The value of n is set to one after each line.
  • Page 141 7167 Owner’s Manual Chapter 6: Commands Set Horizontal Tabs ASCII: ESC D [n] k NUL Hexadecimal: 1B 44 [n] k 00 27 68 [n] k 0 Decimal: Value of n: Column for tab minus one. n is always less than or equal to the current selected column width.
  • Page 142 7167 Owner’s Manual Chapter 6: Commands Set Relative Print Position ASCII: ESC \ n1 n2 Hexadecimal: 1B 5C n1 n2 27 92 n1 n2 Decimal: Value of n: To Move the Relative Starting Position Right of the Current Position by n dots: n1 = Remainder after dividing n by 256.
  • Page 143: Select Justification

    Position” command instructs the printer to move the print position to the left. In order to improve the speed of printing, the 7167 moves the data into a buffer for the print head when it receives it. When the “Set Relative Print Position” command contains a move to the left, this causes the new data to overstrike the previous data.
  • Page 144 7167 Owner’s Manual Chapter 6: Commands Set Left Margin ASCII: GS L nL nH Hexadecimal: 1D 4C nL nH 29 76 nL nH Decimal: Range of nL: 0 - 255 Range of nH: 0 - 255 Default: 80 mm width...
  • Page 145 7167 Owner’s Manual Chapter 6: Commands This command is ignored if the line buffer is not empty, and only effects the Receipt interface. Set Printing Area Width ASCII: GS W nL nH Hexadecimal: 1D 57 nL nH 29 87 nL nH...
  • Page 146 7167 Owner’s Manual Chapter 6: Commands This command is ignored if the line buffer is not empty, and only effects the Receipt interface. If the setting exceeds the printable area, the maximum value of the printable area is used. The maximum printable area is 576 dots for 80 mm paper width and 424 dots for 58 mm paper width.
  • Page 147: Print Characteristic Commands

    7167 Owner’s Manual Chapter 6: Commands Print Characteristic Commands These commands control what the printed information looks like: selection of character sets, definition of custom-defined characters, and setting of margins. The commands are described in order of their hexadecimal codes...
  • Page 148 7167 Owner’s Manual Chapter 6: Commands Select 90 Degree Counter-Clockwise Rotated Print ASCII: ESC DC2 Hexadecimal: 1B 12 27 18 Decimal: Rotates characters 90 degrees counter-clockwise. The command remains in effect until the printer is reset or until a Clear Printer (0x10), Select or Cancel Upside-Down Print (1B 7B), or Select or Cancel Rotated Print (1B 56) command is received.
  • Page 149 7167 Owner’s Manual Chapter 6: Commands Receipt Receipt Slip Slip Pitch Columns Columns Standard 44 for 80 mm 15.6 13.9 paper 32 for 58 mm paper Compressed 56 for 80 mm 20.3 17.1 paper 42 for 58 mm paper Example: MSComm1.Output = Chr$(&H1B) &...
  • Page 150 7167 Owner’s Manual Chapter 6: Commands Set Character Right-Side Spacing ASCII: ESC SP n Hexadecimal: 1B 20 n Decimal: 27 32 n Range of n: 0 - 32 Default: Sets the right side character spacing to [n x horizontal or vertical motion units]. Values for this command are set independently in Standard and Page Mode.
  • Page 151 7167 Owner’s Manual Chapter 6: Commands Select Print Modes ASCII: ESC ! n Hexadecimal: 1B 21 n 27 33 n Decimal: Value of n: Pitch selection (standard, compressed, double high, or double wide.) Function Bit 0 Pitch Standard Pitch Compressed Pitch 15.6 CPI (Receipt)
  • Page 152 7167 Owner’s Manual Chapter 6: Commands The bits in this command perform the same function as the standalone functions: 1B 16 n Select Pitch 1B 45 n Emphasized Double-wide Single-wide 1B 2D n Underline Select or Cancel User-Defined Character Set...
  • Page 153 7167 Owner’s Manual Chapter 6: Commands Define User-Defined Characters Receipt Slip ESC & 3 c1 c2 n1 d1 ... nn dn ESC & 0 c1 c2 d1 ... dn ASCII: 1B 26 3 c1 c2 n1 d1 ... nn dn 1B 26 0 c1 c2 d1 ...
  • Page 154 7167 Owner’s Manual Chapter 6: Commands Values and Ranges: Receipt c = the ASCII codes of the first (c1) and last (c2) characters respectively c1 = Hex 20-FF (Hex 20 is always printed as a space) c2 = Hex 20-FF (Hex 20 is always printed as a space) To define only one character, use the same code for both c1 and c2.
  • Page 155 MSComm1.Output = Chr$(&H1B) & Chr$(&H2D) & Chr$(n) Exceptions: This command is ignored if n is out of the specified range. This command is only available in 7158 Native Mode and 7167 Native Mode. Copy Character Set from ROM to RAM ASCII:...
  • Page 156 7167 Owner’s Manual Chapter 6: Commands To modify characters in one of the character set variations, such as Rotated Print, select one of the Rotated Print commands, copy to RAM, then use the Define User-Defined Character Set command (1B 26).
  • Page 157 7167 Owner’s Manual Chapter 6: Commands Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H45) & Chr$(n) Exceptions: Only the lowest bit of n is effective. Emphasized printing cannot be used with bit-images or downloaded bit-images. Related Information: This command and the Select Print Mode(s) command (1B 21) function identically.
  • Page 158 27 72 Decimal: Turns off double strike mode on the slip station in 7156 Emulation Mode. This command is ignored in the 7158 Native Mode and 7167 Native Mode. This command works on both slip and receipt stations. Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H48)
  • Page 159 21 = Code Page 874 Thailand 22 = Code Page 864 Arabic 128 = Code Page 932 Kanji 129 = Code Page 936 Simple Chinese 130 = Code Page Korean 131 = Code Page Traditional Chinese Not supported by 7167-1035 and 7167-2035 November 2003...
  • Page 160 7167 Owner’s Manual Chapter 6: Commands Selects the character set to be used. See Print Specifications for the character sets. There are two codes for this command. Both codes perform the same function. Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H52) & Chr$(n) Related Information: This command may also be known as Select Character Code Table.
  • Page 161 7167 Owner’s Manual Chapter 6: Commands 0 (Cancel) Default: Rotates characters 90 degrees clockwise. The command remains in effect until the printer is reset or the Clear Printer (0x10) command is received. See Summary of Rotated Printing in this chapter.
  • Page 162 7167 Owner’s Manual Chapter 6: Commands received. Only bit 0 is used. Bits 1-7 are not used. See Summary of Rotated Printing in this document for more information. Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H7B) & Chr$(n) Exceptions: The command is valid only at the beginning of a line.
  • Page 163 If n is out of the defined range, this command is ignored. This command is only valid for the receipt station. This is only available in 7158 Native Mode and 7167 Native Mode.. Select or Cancel White/Black Reverse Print Mode...
  • Page 164 Chapter 6: Commands Turns on White/Black reverse printing mode. This command is only available in 7158 Native Mode and 7167 Native Mode.. In White/Black reverse printing mode, print dots and non-print dots are reversed, which means that white characters are formed by printing a black background.
  • Page 165 Turns superscript or subscript modes on or off. This attribute may be combined with other characters size settings commands ( 12, 13, 1B 21 n, 1D 21 n, …) This command is only available on the receipt station in 7158 Native Mode and 7167 Native Mode..
  • Page 166 7167 Owner’s Manual Chapter 6: 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. Unintended consequences may result when rotated CCW is mixed with other commands.
  • Page 167: Graphics Commands

    See 1D 22 n (Select Memory Type to save logos.) For the 7158 native mode and 7167 Native Mode. of operation, if multiple logos are to be defined and used, this command should be preceded by the Select Current Logo command to define the number by which this downloaded logo is to be referenced.
  • Page 168 See the illustration graphic representation of the bit image. In 7156 Emulation Mode, slip graphics are only 7- bit (MSB not printed.) In 7158 Native Mode and 7167 Native Mode., slip graphics are 8-bit. Values: Receipt Station Mode No.
  • Page 169 *Adjacent horizontal dots (overlapping dots) are not printed on the slip. **In 7158 Native Mode and 7167 Native Mode.. There are 8 vertical dots. Value of n (8-Dot Value of n (24-Dot...
  • Page 170 7167 Owner’s Manual Chapter 6: Commands 24-Dot Single-Density Mode—Receipt Only Top of Bit Image d4 d7 November 2003...
  • Page 171 7167 Owner’s Manual Chapter 6: Commands Select Double-Density Graphics ASCII: ESC Y n1 n2 d1 … dn ESC L n1 n2 d1 ... dn Hexadecimal: 1B 59 n1 n2 d1 ... dn 1B 4C n1 n2 d1 … dn Decimal: 27 89 n1 n2 d1 ...
  • Page 172 Initialize Printer (1B 40), or Define User-Defined Character Set (1B 26), command is received. By default, 7156 Emulation loads downloaded bit image to SRAM, while 7158 Native Mode and 7167 Native Mode loads them to Flash. See the illustration on the following page for a graphic representation of the downloaded bit image.
  • Page 173 See 1D 22 n (Select Memory Type to store logos) and 1D 23 n (Select the Current Logo.) For the 7158 native mode and 7167 Native Mode of operation, if multiple logos are to be defined and used, this command should be preceded by the Sleect Current Logo command to define the number by which this dowloaded logo is to be referenced.
  • Page 174 7167 Owner’s Manual Chapter 6: Commands Print Downloaded Bit Image ASCII: GS / m Hexadecimal: 1D 2F m 29 47 m Decimal: Value and Range of m: Value of m Print Mode Vertical DPI Horizontal DPI* Normal Double Wide Double High...
  • Page 175 0 (Off) Default: Selects or cancels 6 dot/mm in 7158 Emulation Mode and 7167 Native Mode. When the 6 dot/mm emulation is selected, logos and graphics are expanded horizontally and vertically to emulate their size on a 6 dot/mm printer. The horizontal positioning commands also emulate positioning on a 6 dot/mm printer.
  • Page 176: Status Commands

    Status Commands Status Command Introduction The 7167 has three methods of providing status to the application. These methods are through Batch Status Commands, Real Time Status Commands, and Auto Status Back. An application may use one or more of these methods to understand the current status of the printer.
  • Page 177 7167 Owner’s Manual Chapter 6: Commands Transmit Peripheral Device Status ASCII: ESC u 0 Hexadecimal: 1B 75 0 27 117 0 Decimal: Bit 0 Bit 1 1 = Drawer 1 closed 1 = Drawer 2 closed Return Value: 0 = Drawer 1 open...
  • Page 178: Transmit Printer Status

    7167 Owner’s Manual Chapter 6: Commands Transmit Printer Status ASCII: ESC v Hexadecimal: 1B 76 27 118 Decimal: Sends status data to the host computer. The printer sends one byte to the host computer when it is not busy or in a fault condition. In DTR/DSR protocol, the printer waits for DSR = SPACE.
  • Page 179 Transmits the printer ID specified by n as follows: Printer ID Specification ID (hexadecimal) 1, 49 Printer model ID NCR 7167 0xA1 (7167 Native Mode) 1, 49 Printer model ID NCR 7158 0x28 (7158 Native Mode) 1, 49 Printer model ID...
  • Page 180 7167 Owner’s Manual Chapter 6: Commands Type ID (n=4) Off/On Decimal Function No logo definition loaded by application. Logo loaded by application. Undefined Undefined Undefined Not used. Fixed to Off. Undefined Undefined Not used. Fixed to Off. Example: MSComm1.Output = Chr$(&H1D) & Chr$(&H49) & Chr$(n)
  • Page 181 7167 Owner’s Manual Chapter 6: Commands The command performs the remote diagnostic function specified by n as described in the following table. Value of n Remote Diagnostic Item Function Space 20 Serial #, Write to NVRAM Example, send 14 bytes to printer: GS I @...
  • Page 182 7167 Owner’s Manual Chapter 6: Commands Value of n Remote Diagnostic Item Function ä Knife cut tally, Write to NVRAM 8 digit ASCII numeric, max 99,999,999 à Knife cut tally Write to NVRAM, and print on receipt to verify å...
  • Page 183 7167 Owner’s Manual Chapter 6: Commands Value of n Remote Diagnostic Item Function ο Flash cycles tally Return Flash cycles cut tally, returns 10 bytes Knife jams tally, Write to NVRAM ¿ 8 digit ASCII numeric, max 99,999,999 ┌ Knife jams tally...
  • Page 184 7167 Owner’s Manual Chapter 6: Commands Transmit Status ASCII: GS r n Hexadecimal 1D 72 n Decimal: 29 114 n Value of n: 1, 49 = printer status 2, 50 = cash drawer status 3, 51 = slip paper status 4, 52 = Flash Memory status Transmits the status specified by n.
  • Page 185 7167 Owner’s Manual Chapter 6: Commands The status bytes to be transmitted are described in the following four tables. Printer Status (n = 1 or n = 49) Off/On Decimal Status for Transmit Status Receipt paper adequate. Receipt paper low.
  • Page 186 7167 Owner’s Manual Chapter 6: Commands Flash Memory Status (n = 4 or n = 52) Off/On Decimal Status for Transmit Status Undefined. Fixed to off. Undefined. Fixed to off. User data storage write successful. User data storage write failed. Specified area not erased.
  • Page 187 7167 Owner’s Manual Chapter 6: 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 table below. Responses to Transmit Peripheral Device Status (1B 75) and Transmit Paper Sensor Status (1B 76) are non-Real Time responses and will arrive in the order in which they were solicited.
  • Page 188: Real Time Commands

    7167 Owner’s Manual Chapter 6: Commands Real Time Commands These commands provide an application interface to the printer even when the printer is not handling other commands (RS-232C communication interface only): 1. Real Time Status Transmission (GS Sequence and DLE Sequence) 2.
  • Page 189 7167 Owner’s Manual Chapter 6: Commands In this case the sequence will also be handled correctly as the graphics data it is intended to be when the graphics command is executed from the buffer. Third, care must be taken not to insert a Real Time command into the data sequence of another command that consists of two or more bytes.
  • Page 190 7167 Owner’s Manual Chapter 6: Commands Real Time Status Transmission GS Sequence DLE Sequence ASCII: GS EOT n DLE EOT n Hexadecimal: 1D 04 n 10 04 n Decimal: 29 4 n 16 4 n Value of n: GS/DLE Sequence...
  • Page 191 7167 Owner’s Manual Chapter 6: Commands Related Information: 1 = Transmit Printer Status Status Decimal Function Fixed to Off Fixed to On One or both cash drawers open Both cash drawers closed Not busy at the RS-232C interface Printer is Busy at the RS-232C interface...
  • Page 192 7167 Owner’s Manual Chapter 6: Commands 3 = Transmit Error Status Status Decimal Function Fixed to Off Fixed to On No slip motor or flip jam Slip motor or flip jam occurred No knife error Knife error occurred Fixed to On...
  • Page 193 7167 Owner’s Manual Chapter 6: Commands 5 = Transmit Slip Paper Status Status Decimal Function Fixed to Off Fixed to On Slip paper selected Receipt paper selected Not waiting for slip Waiting for slip Fixed to On Slip leading edge sensor: paper preset...
  • Page 194 7167 Owner’s Manual Chapter 6: Commands If the slip is selected, this command will attempt recovery from a slip motor or flip jam by re-homing the print head and waiting for a slip to be inserted before restarting the print.
  • Page 195 7167 Owner’s Manual Chapter 6: Commands Real Time Printer Status Transmission ASCII: GS ENQ Hexadecimal: 1D 05 29 5 Decimal: Transmits one byte status of the printer in real time. Value of Byte: Status Decimal Function Receipt paper adequate Receipt paper low...
  • Page 196: Auto Status Back Commands

    7167 Owner’s Manual Chapter 6: Commands Auto Status Back Commands Select or Cancel Automatic Status Back ASCII: GS a n Hexadecimal: 1D 61 n 29 97 n Decimal: Value of n: Status of ASB Enables or disables automatic status back (ASB) and specifies the status items. This command is a batch mode command;...
  • Page 197 7167 Owner’s Manual Chapter 6: Commands Default: 0 (ASB disabled) Example: MSComm1.Output = Chr$(&H1D) & Chr$(&H61) & Chr$(n) Exceptions If n = 0, ASB is disabled. Related Information When Auto Status Back (ASB) is enabled using this command, the status transmitted by...
  • Page 198 7167 Owner’s Manual Chapter 6: Commands Second Byte (Error information) Off/On Decimal Status for ASB Undefined Undefined No Mechanical Error Mechanical Error Occurred No knife error. Knife error occurred. Not used. Fixed to off. No unrecoverable error. Unrecoverable error occurred.
  • Page 199 7167 Owner’s Manual Chapter 6: Commands Fourth Byte (Paper Sensor Information) Off/On Decimal Status for ASB Slip paper selected Receipt paper selected Possible to print in slip Not possible to print on slip because no form has been inserted Undefined Undefined Not used.
  • Page 200 Note: 7156 firmware can be set for module widths in bar codes ranging from 2 dots to 4 dots per module (DPM) for the narrow modules. The default is 3 DPM. 7167 firmware ranges from 1 dot per module to 5 dots per module (DPM) printed on the receipt. The default is 2 DPM.
  • Page 201 7167 Owner’s Manual Chapter 6: Commands Select Pitch for HRI Characters ASCII: GS f n Hexadecimal: 1D 66 n 29 102 n Decimal: Value of n: Pitch 0 = Standard Pitch at 15.2 CPI on receipt 1 = Compressed Pitch at 19 CPI on receipt Default: 0 (Standard Pitch at 15.2 CPI)
  • Page 202 7167 Owner’s Manual Chapter 6: Commands Print Bar Code First Variation Second Variation ASCII: GS k m d1…dk NUL GS k m n d1…dn Hexadecimal: 1D 6B m d1…dk 00 1D 6B m n d1…dn 29 107 m d1…dk 0 29 107 m n d1…dn...
  • Page 203 7167 Owner’s Manual Chapter 6: Commands Bar Code n, Length UPC-A 48- 57 (ASCII numerals) Fixed Length: 11, 12 UPC-E 48- 57 Fixed Length: 11, 12 JAN13 (EAN13) 48- 57 Fixed Length: 12, 13 JAN8 (EAN8) 48- 57 Fixed Length: 7, 8...
  • Page 204 The command is valid only at the beginning of a line. PDF 417 format cannot be printed on the slip. Barcodes on the Slip are always right justified. PDF417 and Code 93 are only available in 7158 Native Mode and 7167 Native Mode. November 2003...
  • Page 205 7167 Owner’s Manual Chapter 6: Commands Select Bar Code Width ASCII: GS w n Hexadecimal: 1D 77 n 29 119 n Decimal: Value of n: 1, 2, 3, 4, 5 Default: 3 for receipt; 2 for slip Sets the bar code width to n dots.
  • Page 206: Page Mode Commands

    Chapter 6: Commands Page Mode Commands Page Mode is one of two modes, which the 7167 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 207 7167 Owner’s Manual Chapter 6: Commands Cancel Print Data in Page Mode ASCII: Hexadecimal: Decimal: 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.
  • Page 208 7167 Owner’s Manual Chapter 6: Commands Select Page Mode ASCII: ESC L 1B 4C Hexadecimal: 27 76 Decimal: Switches from Standard Mode to Page Mode. After printing has been completed either by the Print and Return to Standard Mode (FF) command or Select Standard Mode (1B 53) the printer returns to Standard Mode.
  • Page 209 7167 Owner’s Manual Chapter 6: Commands Select Standard Mode ASCII: ESC S 1B 53 Hexadecimal: 27 83 Decimal: Switches from Page Mode to Standard Mode. In switching from Page Mode to Standard Mode, data buffered in Page Mode is cleared, the printing area set by Set Print Area in Page Mode (1B 57) is initialized and the print position is set to the beginning of the line.
  • Page 210 7167 Owner’s Manual Chapter 6: Commands Select Print Direction in Page Mode ASCII: ESC T n Hexadecimal: 1B 54 n 27 84 n Decimal: Value of n: Start position Upper left corner proceeding across page to the right (A) Lower left corner proceeding up the page (B)
  • Page 211 7167 Owner’s Manual Chapter 6: Commands Set Printing Area in Page Mode ASCII: ESC W n1, n2 ...n8.] Hexadecimal: 1B 57 n1, n2 ...n8] Decimal: 27 87 n1,n2 ...n8] Range: 0 - 255 n1-4 = 0 Default: n5 = 64...
  • Page 212 7167 Owner’s Manual Chapter 6: Commands First the printer must be set to page mode, then the following command should be sent. Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H57) & Chr$(&H40) & Chr$(&H0) & Chr$(&H40) & Chr$(&H0) & Chr$(&H40) & Chr$(&H1) & Chr$(&H40) & Chr$(&H1) Exception: This command is effective only in Page Mode.
  • Page 213 7167 Owner’s Manual Chapter 6: Commands Set Relative Vertical Print Position in Page Mode ASCII: GS \ nL nH Hexadecimal: 1D 5C nL nH 29 92 nL nH Decimal: Sets the relative vertical print starting position from the current position. This command can also change the horizontal and vertical motion unit.
  • Page 214: Macro Commands

    The contents of the macro can be defined up to 2048 bytes. Example: MSComm1.Output = Chr$(&H1D) & Chr$(&H3A) Exceptions: If the macro definition exceeds 2048 bytes, excess data is not stored. This command is available in 7158 Native Mode and 7167 Native Mode only. November 2003...
  • Page 215 If this command is received while a macro is being defined, the macro definition is aborted and the definition is cleared. If the macro is not defined or if r is 0, nothing is executed. This command is available in 7158 Native Mode and 7167 Native Mode only. November 2003...
  • Page 216: Micr Commands

    7167 Owner’s Manual Chapter 6: Commands MICR Commands MICR Reading These commands control the Magnetic Ink Character Recognition (MICR) check reader, including how it parses the character strings on checks. The section, MICR Parsing, describes how to create a parsing format and how to create and maintain an Exceptions table.
  • Page 217: Micr Parsing

    7167 Owner’s Manual Chapter 6: Commands MICR Parsing This section describes MICR parsing in 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.
  • Page 218 7167 Owner’s Manual Chapter 6: Commands Parsing Parameter String Options Variable Length Fields Variable Length Field Name Selector Comments Transit Number Full 9 digit routing/transit number Bank Number Digits 4-8 of transit number Check Digit Digit 9 of transit number...
  • Page 219 7167 Owner’s Manual Chapter 6: Commands 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.
  • Page 220: Sample Parsing Formats

    7167 Owner’s Manual Chapter 6: 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.
  • Page 221 7167 Owner’s Manual Chapter 6: Commands ESC w p T '/ A '/ C '/ S <CR> All characters in the transit number Field separator: / All characters in the account number Field separator: / All characters in the check number...
  • Page 222 7167 Owner’s Manual Chapter 6: Commands 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 Check Serial Number Parsing the Check Serial Number Most banks print the check serial number in three easily recognizable spots.
  • Page 223 7167 Owner’s Manual Chapter 6: Commands Exceptions Some banks print the check serial number in a location that cannot be electronically distinguished without specific exception information, although it can be visually distinguished because it is repeated in the upper right corner of the check. For these cases, the printer can hold up to nine exceptions for specific banks in its non-volatile memory (NVRAM), which is accessed by the read and write NVRAM commands.
  • Page 224 7167 Owner’s Manual Chapter 6: Commands Bits within Byte check serial # character string account # character string character string to ignore 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...
  • Page 225: Check Flip Command

    Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H77) & Chr$(&H46) Exception: This command is available only in 7158 Native Mode and 7167 Native Mode. User Data Storage Commands Write to User Data Storage ASCII: ESC ‘ m a0 a1 a2 d1 ... dm 1B 27 m a0 a1 a2 d1 ...
  • Page 226 7167 Owner’s Manual Chapter 6: Commands Read from User Data Storage ASCII: ESC 4 m a0 a1 a2 Hexadecimal: 1B 34 m a0 a1 a2 Decimal: 27 52 m a0 a1 a2 Value of m: 0 – 255 Reads m bytes of data from the User Data Storage Flash Page at the address specified.
  • Page 227 7167 Owner’s Manual Chapter 6: Commands Read from Non-Volatile Memory ASCII: ESC j k 1B 6A k Hexadecimal Decimal: 27 106 k Range of k: 20 – 63 (decimal) Reads a two-byte word from location k in the history EEROM. The printer returns the word at the next available opportunity.
  • Page 228 7167 Owner’s Manual Chapter 6: Commands Select Memory Type (SRAM/Flash) Where to Save Logos or User-Defined Fonts ASCII: GS " n Hexadecimal: 1D 22 n Decimal: 29 34 n Value of n: 48 - 51 Specifies whether to load the logos or user-defined characters to Flash Memory or to RAM (volatile memory).
  • Page 229: Flash Allocation

    + n2 <= 6 (3M) The 7167 has been configured at the factory with 2M of Flash memory. If n1 + n2 is greater than the maximum number of sectors available, the command is ignored.
  • Page 230 7167 Owner’s Manual Chapter 6: Commands Erase User Flash Sector GS @ n ASCII: 1D 40 n Hexadecimal: 29 64 n Decimal: Value of n: 49 - 50 Erases a page of Flash Memory and sends a carriage return when the operation is complete.
  • Page 231 7167 Owner’s Manual Chapter 6: Commands Printer Setting Change ASCII: US DC1 [m n], [m n], … [m n] 0FFH Hexadecimal: 1F 11 [m n], [m n], … [m n] 0FFH 31 17 [m n], [m n], … [m n] 0FFH...
  • Page 232 6 lines per inch Carriage return usage Ignore CR Use CR as Print cmd. Asian mode Asian mode on Asian mode off Slip Print Width Option 82.2 mm (7167 Mode) 120.7 Conversion (7156/58 Mode) Receipt synchronization Enabled Disabled Print density 100% 110%...
  • Page 233 The printer will wait for the data until the terminator code “0FFH” is received. Example: The following command would set the communication baud rate to 115,200 bps. MSComm1.Output = Chr$(&H1F) & Chr$(&H11) & Chr$(&H11) & Chr$(&H0) & Chr$(&HFF) Not supported by 7167-1035 and 7167-2035 November 2003...
  • Page 234: Asian Character Commands

    The underline mode can be turned on or off by using FS – or ESC – also. The thickness of underline is defined by FS – or ESC -, it does not relate to character size. Example: MSComm1.Output = Chr$(&H1C) & Chr$(&H21) & Chr$(n) These commands are not supported by model 7167-1035 and 7167-2035 November 2003...
  • Page 235 7167 Owner’s Manual Chapter 6: Commands FS – Turn underline mode ON/OFF for Kanji ASCII: FS - n Hexadecimal: 1C 2D n 28 45 n Decimal: Value of n: 0 = Cancel 1 = 1 dot height underline 2 = 2 dot height underline...
  • Page 236 7167 Owner’s Manual Chapter 6: Commands Range of c1,c2: Japanese F0 ≤ c1 ≤ F9, 40 ≤ c2 ≤ 7E and 80 ≤ (CP932) c2 ≤ FC Simplified A1 ≤ c1 ≤ A7, 40 ≤ c2 ≤ 7E and 80 ≤...
  • Page 237 7167 Owner’s Manual Chapter 6: Commands FS W (Set quadruple mode ON/OFF for Kanji) ASCII: FS W n Hexadecimal: 1C 57 n 28 87 n Decimal: Value of n: The quadruple mode for Asian characters. 0 (Bit 0) = Quadruple mode off...
  • Page 238: Scanner Function Commands

    – 128) Specifies the standard density level 01H – 7FH 1 – 127 Specifies a density darker than the standard density level (the darkest density – 127) These commands are supported only by 7167-1035 and 7167-2035. November 2003...
  • Page 239 7167 Owner’s Manual Chapter 6: Commands Scanning Area FS ( g pL pH fn x1 y1 x2 y2 (when fn = 41) The area on the check to be scanned is defined by this function. ASCII FS ( g pL pH fn x1 y1 x2 y2...
  • Page 240 7167 Owner’s Manual Chapter 6: Commands Compression Mode FS ( g pL pH fn m n (when fn = 50) This command sets the compression method and the file transmission format for the image data. ASCII FS ( g pL pH fn m n...
  • Page 241 7167 Owner’s Manual Chapter 6: Commands Set Cropping Area FS ( g pL pH fn n x1 y1 x2 y2 (when fn = 57) The area to be cropped is the area of data that is to be retained. The remaining area of the scanned area is returned as “white”...
  • Page 242 7167 Owner’s Manual Chapter 6: Commands Transmission Format FS ( g pL pH fn m (When fn = 60) This command sets the transmission file format as binary or hexadecimal ASCII FS ( g pL pH fn m 1C 28 67 pL pH fn m...
  • Page 243 7167 Owner’s Manual Chapter 6: Commands Transmits Threshold Level FS ( g pL pH fn m (when fn = 80) The density of the threshold level of the scanned image for Function 40 is communicated to the host. ASCII FS (...
  • Page 244 7167 Owner’s Manual Chapter 6: Commands Transmits Scanning Area FS ( g pL pH fn m (when fn = 81) The scanned image area for Function 41 is communicated to the host. ASCII FS ( g pL pH fn m...
  • Page 245 7167 Owner’s Manual Chapter 6: Commands Transmits Compression Method FS ( g pL pH fn m (when fn = 90) Command Description: The method of file compression and the file transmission format for the image data will be communicated to the host device for the value of Function 50.
  • Page 246 7167 Owner’s Manual Chapter 6: Commands Transmits the cropping area FS ( g pL pH fn m (when fn = 97) Command Description: The cropping area of the scanned image as defined is communicated to the host ASCII FS (...
  • Page 247 7167 Owner’s Manual Chapter 6: Commands Data transmission by this command is controlled by the ESC/POS handshaking protocol. The ESC/POS handshaking protocol is defined as the protocol that the printer receives as a response from the host after the [Header-NUL] is transmitted: then it performs the following process, corresponding to the response.
  • Page 248 7167 Owner’s Manual Chapter 6: Commands Transmits the File Format FS ( g pL pH fn m (when fn = 100) Command Description: This command transmits the format of the file transmission formation for the function value of 60 for the image data.
  • Page 249 7167 Owner’s Manual Chapter 6: Commands Select Scanning mode FS ( g pL pH fn m (when fn = 101) Command Description: This command selects the scanning mode. ASCII FS ( g pL pH fn m 1C 28 67 pL pH fn m...
  • Page 250 7167 Owner’s Manual Chapter 6: Commands Executes the process for the scanning of the image from the slip station and then transmits the scanned data to the host computer. Hogan makes busy status during executing of scanning. Host can’t send any data to Hogan in that time.
  • Page 251 7167 Owner’s Manual Chapter 6: Commands Separator 1 byte Compression process 30H – 39H 48 – 57 0 – 2 bytes (*1)(*2) File transmission format 30H – 39H 48 – 57 0 – 2 bytes (*1) Separator 1 byte Fixed value (*1)
  • Page 252 7167 Owner’s Manual Chapter 6: Commands The size information block for the information data is shown below (This data is not transmitted if an error occurred). Information Data Hexadecimal Decimal Amount of Data Block Code 1 byte Fixed value 30H, 30H...
  • Page 253 7167 Owner’s Manual Chapter 6: Commands Transmission Data Hexadecimal Decimal Amount of Data Block Code 1 byte Fixed value 1 byte Separator 1 byte Scanning status Normal: Normal: 1 byte Abnormal: 70H Abnormal: 112 Detailed information 40H – 48H 64 – 72...
  • Page 254 7167 Owner’s Manual Chapter 6: Commands The size information block for the information data is shown below (This data is not transmitted if an error occurred). Information Data Hexadecimal Decimal Amount of Data Block Code 1 byte Fixed value 30H, 30H...
  • Page 255 7167 Owner’s Manual Chapter 6: Commands Data transmitted with this command is controlled by the ESC/POS handshaking protocol. The ESC/POS handshaking protocol is defined as the protocol that the printer receives as a response from the host; then it performs the following process corresponding to the response.
  • Page 256 7167 Owner’s Manual Chapter 6: Commands Header File information block Send to Host Size information block Send ACK image data block Host Send to Host image data block Send ACK Send to Host image data block November 2003...
  • Page 257 7167 Owner’s Manual Chapter 6: Commands Transmit Scan Image from Working Buffer GS ( G pL pH fn m CropID [d1…dk], k=1, …, 255 Command Description: • Retrieve original scan data from working buffer (RAM) • Crop, compress and make image file based on current settings and transmit it to the host •...
  • Page 258 7167 Owner’s Manual Chapter 6: Commands Transmit Scan Image from Flash ROM GS ( G pL pH fn m FileIndex (when fn = Command Description: • Retrieve scan image file from flash ROM and transmit to host. • If scan has not be executed on receiving this command, send error block...
  • Page 259 7167 Owner’s Manual Chapter 6: Commands Store Scan Image to Flash ROM GS ( G pL pH fn n [d1..dk] (when fn = 70) Hogan makes busy status during store scan image. Host can’t send any data to Hogan at that time.
  • Page 260 7167 Owner’s Manual Chapter 6: Commands Notes: • While writing flash ROM, the printer does not process a real-time command or send ASB status. Therefore it is not possible to determine the printer status while storing scan image. Clear All Scan Images GS ( G pL pH fn (when fn = 71) Hogan makes busy status in clearing flash ROM.
  • Page 261 7167 Owner’s Manual Chapter 6: Commands Print Scanned Image GS ( G pL pH fn m (when fn = 68) Command Description: This command performs printing the scanned image data ASCII GS ( G pL pH fn m 1D 28 47 pL pH fn m...
  • Page 262: Flash Download Commands

    7167 Owner’s Manual Chapter 6: Commands Reverse feed to top of form GS ( G pL pH fn m (when fn = 74) Command Description: This command performs a reverse feed to top of form on the slip print station.
  • Page 263 7167 Owner’s Manual Chapter 6: Commands MSComm1.Output = Chr$(&H1B) & Chr$(&H5B) & Chr$(&H7D) Request Printer ID GS NUL ASCII: 1D 00 Hexadecimal: Decimal: 29 0 Returns ACK (06 hex) + 12 bytes ASCII string describing the Flash Memory Boot Sector Firmware part number.
  • Page 264 7167 Owner’s Manual Chapter 6: Commands Return Segment Number Status of Flash Memory ASCII: GS SOH 1D 01 Hexadecimal: 29 1 Decimal: Returns the size of the Flash used. There may be 8, 16, or 32 sectors (64K each) in Flash Memory.
  • Page 265 7167 Owner’s Manual Chapter 6: Commands Get Firmware CRC ASCII: GS ACK 1D 06 Hexadecimal: 29 6 Decimal: Causes the printer to calculate the CRC for the currently selected sector and transmits the result. This is performed normally after downloading a sector to verify that the downloaded firmware is correct.
  • Page 266 7167 Owner’s Manual Chapter 6: Commands Available only in Download Mode. Return Main Program Flash CRC ASCII: GS SI Hexadecimal: 1D 0F Decimal: 29 15 Returns the CRC calculated over the Flash firmware code space. The format of the response is ACK <low byte> <high byte>.
  • Page 267 7167 Owner’s Manual Chapter 6: Commands Download to Active Flash Sector ASCII: GS DC1 al ah cl ch d1…dn Hexadecimal: 1D 11 al ah cl ch d1…dn 29 17 al ah cl ch d1…dn Decimal: Value of al: low byte of the address...
  • Page 268 7167 Owner’s Manual Chapter 6: Commands Reboot the Printer ASCII: GS (SPACE) Hexadecimal: 1D FF Decimal: 29 255 Ends the load process and reboots the printer. Before executing this command, the printer should have firmware loaded and external switches set to the runtime settings.
  • Page 269: Appendix A: Specifications

    7167 Owner’s Manual Appendix A: Specifications Appendix A: Specifications Printing Specifications Thermal Receipt Station Slip Station Print head Fixed Bi-directional 576 Print Elements Logic Seeking Direct Thermal Serial Dot Matrix Fixed Head Ribbon Cassette Line of Dots Forms Insertion Character Cell...
  • Page 270: Power Requirements

    Not Applicable .406 mm (.016 Inch) Printable Area 2.83 Inches (Max.) 3.22 Inches (Max.) Power Requirements The 7167 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 ±...
  • Page 271: Reliability

    7167 Owner’s Manual Appendix A: Specifications Reliability The numbers in the table refer to the Mean Cycle Between Failure (MCBF) for the items indicated. Thermal Receipt Printer 52 Million Lines Impact Slip Printer 30 Million Lines Impact Print head 200 Million Characters...
  • Page 272: Duty Cycle Restrictions (Printing Solid Blocks)

    7167 Owner’s Manual Appendix A: Specifications Duty Cycle Restrictions (Printing Solid Blocks) There are restrictions on the duty cycle because of the heat generated by the receipt thermal print head when printing solid blocks (regardless of the length of the block in relation to the print line).
  • Page 273: Appendix B: Print Characteristics

    7167 Owner’s Manual 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.6 CPI) and compressed pitch (20.3 CPI).
  • Page 274: Slip Station

    7167 Owner’s Manual Appendix B: Print Characteristics Compressed Pitch 8 Dots 10 Dots 1.00 mm 1.25 mm .039 .049 in. 19 Dots 24 Dots 2.38 mm 3.00 mm .094 .118 in. 203 DPI, 19 CPI Pitch (Compressed) 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).
  • Page 275 7167 Owner’s Manual Appendix B: Print Characteristics 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.
  • Page 276 7167 Owner’s Manual 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.
  • Page 277: Print Zones

    7167 Owner’s Manual Appendix B: Print Characteristics Print Zones This section shows the printable area for the slip station and the receipt station. Receipt Station For 80 mm Paper The receipt station centers characters (standard pitch and compressed pitch) and graphics on an 80 mm wide (3.15 inches) receipt.
  • Page 278: Slip Station

    7167 Owner’s Manual Appendix B: Print Characteristics Paper Width = 58 mm (2.28 inc.) Top Margin, 16.8 mm (.69 in.) Minimum Print Zone, 53.05 mm (2.09 in.) 424 Dots Left and Right Margins, 4.00 mm (.10 in.) Slip Station The slip station prints characters (standard pitch and compressed pitch) and graphics in a print zone of 82.2 mm (3.24 inches) wide on a slip or form.
  • Page 279: Slip Form Parameters

    7167 Owner’s Manual Appendix B: Print Characteristics Slip Form Parameters In order for the printer to handle forms properly the forms shall be flat and void of curls or wrinkles especially at the leading edge of the form. Paper Feed Direction Glued Location Form construction for glued edges.
  • Page 280: Check Size

    7167 Owner’s Manual Appendix B: Print Characteristics Check Size The size of the check that the slip station and check flip mechanism handles conforms to ANSI/ABA standard X9.13 dated 1999. Personal Check 6.00” (152.40 mm) wide x 2.750” (69.85 mm) High .
  • Page 281: Appendix C: Character Sets

    PC Code Page 1252 (Windows Latin #1) • PC Code Page Katakana • PC Code Page 874 (Thai) • Space Page • Code Page 932 • Code Page 936 • Code Page 949 • Code Page 950 Not supported by 7167-1035 and 7167-2035 Novembery 2003...
  • Page 282 7167 Owner’s Manual Appendix C Code Page 950 Code Page 437, 850, 852 and 858 Novembery 2003...
  • Page 283 7167 Owner’s Manual Appendix C Code Page 860, 862, 863 and 864 Novembery 2003...
  • Page 284 7167 Owner’s Manual Appendix C Code Page 865, 866, 874 and 1252 Novembery 2003...
  • Page 285 7167 Owner’s Manual Appendix C Code Page Katakana Novembery 2003...
  • Page 286 7167 Owner’s Manual Appendix C Code Page 932 Novembery 2003...
  • Page 287 7167 Owner’s Manual Appendix C Code Page 932 (Cont) Novembery 2003...
  • Page 288 7167 Owner’s Manual Appendix C Code Page 932 (Cont) Novembery 2003...
  • Page 289 7167 Owner’s Manual Appendix C Code Page 932 (Cont) Novembery 2003...
  • Page 290 7167 Owner’s Manual Appendix C Code Page 932 (Cont) Novembery 2003...
  • Page 291 7167 Owner’s Manual Appendix C Code Page 932 (Cont) Novembery 2003...
  • Page 292 7167 Owner’s Manual Appendix C Code Page 932 (Cont) Novembery 2003...
  • Page 293 7167 Owner’s Manual Appendix C Code Page 932 (Cont) Novembery 2003...
  • Page 294 7167 Owner’s Manual Appendix C Code Page 932 (Cont) Novembery 2003...
  • Page 295 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese Novembery 2003...
  • Page 296 7167 Owner’s Manual Appendix C Code Page 936 Simple Chines1e (Cont.) Novembery 2003...
  • Page 297 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese (Cont.) Novembery 2003...
  • Page 298 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese (Cont.) Novembery 2003...
  • Page 299 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese (Cont.) Novembery 2003...
  • Page 300 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese (Cont.) Novembery 2003...
  • Page 301 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese (Cont.) Novembery 2003...
  • Page 302 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese (Cont.) Novembery 2003...
  • Page 303 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese (Cont.) Novembery 2003...
  • Page 304 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese (Cont.) Novembery 2003...
  • Page 305 7167 Owner’s Manual Appendix C Novembery 2003...
  • Page 306 7167 Owner’s Manual Appendix C Code Page 936 Simple Chinese (Cont.) Novembery 2003...
  • Page 307 7167 Owner’s Manual Appendix C Code Page 949 Korean Novembery 2003...
  • Page 308 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 309 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 310 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 311 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 312 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 313 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 314 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 315 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 316 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 317 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 318 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 319 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 320 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 321 7167 Owner’s Manual Appendix C Code Page Traditional Chinese (Cont.) Novembery 2003...
  • Page 322 7167 Owner’s Manual Appendix C Code Page 949 Korean (Cont.) Novembery 2003...
  • Page 323 7167 Owner’s Manual Appendix C Code Page 950 Traditional Chinese Novembery 2003...
  • Page 324 7167 Owner’s Manual Appendix C Code Pare 949 Traditional Chinese (Cont.) Novembery 2003...
  • Page 325 7167 Owner’s Manual Appendix C Code Pare 980 Traditional Chinese (Cont.) Novembery 2003...
  • Page 326 7167 Owner’s Manual Appendix C Code Pare 950 Traditional Chinese (Cont.) Novembery 2003...
  • Page 327 7167 Owner’s Manual Appendix C Code Pare 949 Traditional Chinese (Cont.) Novembery 2003...
  • Page 328 7167 Owner’s Manual Appendix C Code Pare 980 Traditional Chinese (Cont.) Novembery 2003...
  • Page 329 7167 Owner’s Manual Appendix C Code Pare 980 Traditional Chinese (Cont.) Novembery 2003...
  • Page 330 7167 Owner’s Manual Appendix C Code Pare 950 Traditional Chinese (Cont.) Novembery 2003...
  • Page 331 7167 Owner’s Manual Appendix C Code Pare 950 Traditional Chinese (Cont.) Novembery 2003...
  • Page 332 7167 Owner’s Manual Appendix C Code Pare 950 Traditional Chinese (Cont.) Novembery 2003...
  • Page 333 7167 Owner’s Manual Appendix C Code Pare 950 Traditional Chinese (Cont.) Novembery 2003...
  • Page 334 7167 Owner’s Manual Appendix C Code Pare 950 Traditional Chinese (Cont.) Novembery 2003...
  • Page 335: Index

    7167 Owner’s Manual Index Index dot patterns, 258 Check flip —7— commands, 210 setting, 69 7167 printer Check flip commands, 210 clearance, 4 Check flip test modes dimensions, 4, 255 setting, 62 environmental conditions, 254 Checks features, 2 printing, 17, 40...
  • Page 336 7167 Owner’s Manual Index Communication interface. See RS-232C interface —G— Communication interface modes, 58 Configuring the printer, 56 Graphics Connecting cables commands, 152 cash drawer, 8 Graphics commands, 152 communication, 8 power, 8 —H— Connector cash drawer, 80 Hardware options, 67...
  • Page 337 7167 Owner’s Manual Index printer emulations, 64 cash drawer, 8 receipt test modes, 61 communication cables, 8 RS 232 interface, 58 documentation, 8 scan option, 70 paper, 6 set extra RS-232C options, 81 power supply, 8 slip test modes, 61...
  • Page 338 7167 Owner’s Manual Index Printer function commands, 101 setting, 70 Printer status Setting switches, 6 commands, 161 RS-232C parameters, 81 Printer status commands, 161 Setup mode. See Level 1 diagnostics Printhead Slip station impact, 5 character dot patterns, 258 thermal, 5...
  • Page 339 7167 Owner’s Manual Index Novembery 2003 Index...
  • Page 340 Number: B005-0000-1406 Issue: Issue Date: November 2003 NCR welcomes your feedback on this publication. Your comments can be of great value in helping us improve our information products. Circle the numbers below that best represent your opinion of this publication.
  • Page 341 7167 Owner’s Manual Index Write any additional comments you may have below and on additional sheets, if necessary. Include page numbers where applicable. If we may contact you concerning your comments, please fill in the information below. Name: Organization: Company:...
  • Page 342 7167 Owner’s Manual Index F-8763 0695 Fold Fold NCR CORPORATION RETAIL SYSTEMS GROUP INFORMATION PRODUCTS DEPT 2651 SATELLITE BLVD. DULUTH, GA 30136 Febuary 2003...
  • Page 344 B005-000-1406 Issue 1.0 0302 NCR is the name and mark of NCR Corporation © 2002 NCR Corporation Printed in U.S.A.

Table of Contents