NCR 7197 Owner's Manual

NCR 7197 Owner's Manual

Thermal receipt printer release 1.0
Hide thumbs Also See for 7197:
Table of Contents

Advertisement

NCR 7197 Thermal Receipt
Printer
Release 1.0
Owner's Manual
B005-000-1409
Revision C
November, 2002

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for NCR 7197

  • Page 1 NCR 7197 Thermal Receipt Printer Release 1.0 Owner's Manual B005-000-1409 Revision C November, 2002...
  • 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 Owner’s Manual. For a complete listing of topics, consult the Table of Contents or the Index. Setting Up the Printer ............ page 7 Basic requirements for unpacking and installation, connecting the printer, turning it on, and running the print test.
  • Page 6: How To 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 7197 printer. It can also be used as a reference for service courses.
  • Page 7: Table Of Contents

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

    Contents 7197 Owner’s Guide Loading and Changing the Receipt Paper............. 37 Removing the Paper Roll .................. 37 Loading the Paper Roll ..................39 Advancing Paper ....................40 Chapter 3: Solving Problems Green LED Does Not Come On/Printer Will Not Print........40 Green LED Blinking (Slow) ..................
  • Page 9 7197 Owner’s Manual Contents Graphics Commands..................74 Status Commands....................74 Real Time Commands..................74 Auto Status Back Commands................75 Barcode Commands ..................75 Page Mode Commands..................75 Macro Commands ..................... 75 User Data Storage Commands................. 76 Asian Character Commands ................76 Flash Download Commands................
  • Page 10 Contents 7197 Owner’s Guide Index ......................... 259 September 1998...
  • Page 11: Chapter 1: About The 7197 Printer

    Paper Feed Button Top Cover The 7197 printer is a fast, quiet, relatively small and very reliable multiple- function printer. It prints receipts and two color printing. The industry-standard RS-232C communication interface allows the 7197 to be connected to any host computer that uses RS-232C or USB communication interface.
  • Page 12: Features And Options

    Chapter 1: About the 7197 Printer 7197 Owner’s Guide Features and Options The 7197 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 •...
  • Page 13: General Features

    Industry standard RS-232C and USB communication interface • History EEROM for custom settings • Audible tone (controlled by application) Note: The 7197 does not have a paper journal. The journal is kept electronically by the host computer. Options • Remote power supply •...
  • Page 14: Ordering Paper And Supplies

    Documentation is also available. Ordering Thermal Receipt Paper The 7197 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 15: Ordering Other Supplies

    Cash Drawer Cable Y Cable 1416-C372-0006 Ordering Documentation Contact your sales representative to obtain the following documentation: • 7197 Receipt Printer: Parts Identification Manual (B005-0000-1411) • 7197 Receipt Printer: Service Manual (B0005-0000-1410) (includes Troubleshooting Guide) • 7197 Receipt Printer: Owners Manual (B0005-0000-1409)
  • Page 16: Cleaning The Printer

    • Ultraviolet light There is no scheduled maintenance required for the 7197. 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 18: Chapter 2: Setting Up And Using The Printer

    • Printer enclosed in a plastic bag and foam pack • Thermal receipt paper roll 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 19: Removing The Packing Material

    7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer Removing the Packing Material Receipt Cover 1. Remove the printer from the foam pack and plastic bag. 2. Remove the receipt paper roll and cables from the foam packing material.
  • Page 20: Repacking The Printer

    Be prepared to answer questions concerning shipping and billing. Choosing a Location The 7197 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.
  • Page 21: Wall Mounted

    Wall mounted The 7197 printer may be mounted on a vertical wall by using the keyhole slot at the bottom of the printer base. Make sure there is enough room to open the receipt cover to change the paper. Mount the screws on the wall using the following recommended mount dimensions.
  • Page 22: Setting Switches

    Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide Setting Switches The DIP switches, located at the back of the printer, are used for two purposes: • To set variables for several printer functions (see the sections for the various printer functions in “Level 1 Diagnostics”...
  • Page 23: Connecting The Cables

    7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer Resetting the Printer The printer is reset by disconnecting/reconnecting the DC power. Connecting the Cables There are three different types of cables that connect to the printer: • Power supply cable supplying power from the power supply •...
  • Page 24 Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide At this point, the printer receives power. If the On Line LED (green) is on, the printer is on-line. Otherwise, the printer is off-line. 7. For Host powered installation plug the DC cable into the POS terminal.
  • Page 25: About The Universal Serial Bus

    98 (SR2), Windows 98 USB Hot Patch, ID: Q236934, and 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. November 2002...
  • Page 26: Checking For Usb Support On The Host Computer

    Windows 98 (SR2), Windows 98 USB Hot Patch, ID: Q236934, NT 4.0 (Service Pack 4.0 or higher) and Windows 2000 (Service Pack 2.0 or higher) natively support plug-and-play USB with a built-in driver; Windows NT does not, and the NCR windows NT USB driver needs to be installed.
  • Page 27: Configuring The Printer

    Configuring the Printer USB is a plug-and-play environment. As such, neither the printer nor the host requires user configuration to work. However, since the NCR solution simulates a serial communication interface, you must configure “handshaking” on the printer for proper operation.
  • Page 28 Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide DIP Switch Bottom Cover Switch 2 is shown in the OFF position Back of Printer 4. Reset the printer. See below for information on resetting the printer. The printer beeps, prints the current configuration, then waits for you to make a selection from the Main Menu on the printout.
  • Page 29 7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer *** Diagnostics Form *** *** Printer Config Menu *** 7197-1005-9001 The config menu allows you to set general Model number 01000011 printer parameters. Sub-menus are entered and Serial number...
  • Page 30: Installing The Usb Printer Drivers

    Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide • Press and hold the Paper Feed button for at least one second for a long click. • Press the Paper Feed button quickly for a short click. 5. Select Set Communication Interface from the Main Menu.
  • Page 31 7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer November 2002...
  • Page 32 Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide Note: Location of the IONetworks files on the CD-ROM may very depending on the version of the CD that is being used. February 2002...
  • Page 33 7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer 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 2002...
  • Page 34 Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide February 2002...
  • Page 35 7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer 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.
  • Page 36 Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide February 2002...
  • Page 37 7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer Note: Location of the IONetworks files on the CD-ROM may very depending on the version of the CD that is being used. November 2002...
  • Page 38 Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide February 2002...
  • Page 39 7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer November 2002...
  • Page 40: Checking The Installation

    • NCR 7197 Printer • NCR 7197 Serial Ports [Port#] (where the # is the location of the printer) 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.
  • Page 41 7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer Windows NT: Go the Windows Start button and select Programs > InsideOut Networks Utilities > Edgeport Configuration Utility. A window opens that contains the name of the printer, and the port assignment.
  • Page 42 Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide 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 43: Configuring Serial Port Number Assignments

    Chapter 2: Setting Up and Using the Printer 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. This assignment is made in one of three ways.
  • Page 44: Serial Port Configuration Methods

    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 45 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 46: Using The Printer

    Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide 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 to the printer and turn on the power source.
  • Page 47: Loading And Changing The Receipt Paper

    7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer 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 48 Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide Receipt cover February 2002...
  • Page 49: Loading The Paper Roll

    7197 Owner’s Manual Chapter 2: Setting Up and Using the Printer 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 50: Advancing Paper

    Chapter 2: Setting Up and Using the Printer 7197 Owner’s Guide 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 51: Chapter 3: Solving Problems

    Chapter 3: Solving Problems Chapter 3: Solving Problems The 7197 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 52: Green Led Does Not Come On/Printer Will Not Print

    Chapter 3: Solving Problems 7197 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 Check all cable connections. Check that the See “Connecting the properly host computer and power supply are both on Cables”...
  • Page 53: Receipt Printing Is Light Or Spotty

    7197 Owner’s Manual Chapter 3: Solving Problems The print head may overheat when printing in See “Environmental a room where the temperature is above the Conditions” in Appendix Thermal print head temperature recommended operating temperature or when A for the recommended...
  • Page 54: Other Serious Problems

    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 guide listed below, other service-related materials may be available.
  • Page 55 7197 Owner’s Manual Chapter 3: Solving Problems November 2002...
  • Page 56: Chapter 4: Diagnostics

    Chapter 4: Diagnostics 7197 Owner’s Guide Chapter 4: Diagnostics The following diagnostic tests are available for the 7197: • 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 57: Level 1 Diagnostics

    7197 Owner’s Guide 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 58 Chapter 4: Diagnostics 7197 Owner’s Guide • Setting Emulation/Software Options • Emulation • Printer ID • Default Lines Per Inch • Carriage Return Usage • Asian Mode • Receipt Synchronization • Setting Hardware Options • Print Density • Maximum Power Option •...
  • Page 59: Main Menu

    7197 Owner’s Guide Chapter 4: Diagnostics Press the paper feed for the configuration you want. Defaults are marked with asterisk (*). ******** Main Menu ******** ******************************* Select a sub-menu: - EXIT -> 1 Click - Print Current Configuration -> 2 Clicks - Set Communication Interface ->...
  • Page 60 Chapter 4: Diagnostics 7197 Owner’s Guide *** Diagnostics Form *** *** Printer Config Menu *** Model number 7197 The config menu allows you to set Serial number A991703053 general printer parameters. Sub-menus are entered and selections are made Boot Firmware...
  • Page 61: Communication Interface Modes

    7197 Owner’s Guide 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 62 Chapter 4: Diagnostics 7197 Owner’s Guide 19200 Baud -> 4 Clicks 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 ->...
  • Page 63: Diagnostic Modes

    7197 Owner’s Guide Chapter 4: Diagnostics Receive Buffer Size Option This function allows the user to set the buffer size to a single line or a 4 K buffer. Press the Paper Feed Button for the option you want. ** SET RECEIVE BUFFER SIZE ? ->...
  • Page 64 Chapter 4: Diagnostics 7197 Owner’s Guide Datascope Mode Datascope Mode allows the user to test the printer’s communications. When in Datascope Mode the printer receives all communications, but instead of executing the commands it prints them out on receipt paper as hexadecimal numbers in the order received. For example, the ASCII character “A”...
  • Page 65: Emulation/Software Options

    7197 Owner’s Guide Chapter 4: Diagnostics Save Parameters This function allows to save the selected communication settings or return to the communication settings to select additional options. Press the Paper Feed Button for the option you want. Save new parameters ? ->...
  • Page 66 Chapter 4: Diagnostics 7197 Owner’s Guide ** SET PRINTER ID MODE ? -> Long Click -> Short Click 7194 Native ID* -> 1 Click Emulated Printer ID -> 2 Clicks 7167 Native ID -> 3 Clicks Enter code, then hold Button DOWN...
  • Page 67 7197 Owner’s Guide Chapter 4: Diagnostics Asian Mode This function makes it possible for the user to select an Asian character for the printer. (See “Configuring the Printer” for instructions on how to enter the Configuration Menu to change this setting.) Note: For Asian code pages, only one (either 932, 936, 949 or 950) will exist in the firmware.
  • Page 68: Hardware Options

    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. Press the Paper Feed Button for the print density you want.
  • Page 69 7197 Owner’s Guide Chapter 4: Diagnostics Paper Low Sensor Paper Low Sensor makes it possible to enable or disable the paper low sensor for particular printer configurations. Press the Paper Feed Button for the option you want. ** SET PAPER LOW SENSOR OPTION ? ->...
  • Page 70: Default Code Page

    Chapter 4: Diagnostics 7197 Owner’s Guide Color Paper Option This function allows the user to set the color paper option to Monochrome or Color Paper. Press the Paper Feed Button for the option you want. ** SET MAX POWER OPTION ? ->...
  • Page 71 7197 Owner’s Guide Chapter 4: Diagnostics Press the Paper Feed Button for the Default Code Page you want. ** SET CODE PAGE ? -> Long Click -> Short Click Code Page 437* -> 1 Click Code Page 850 -> 2 Clicks Code Page 852 ->...
  • Page 72: Eeprom To Default Settings

    Chapter 4: Diagnostics 7197 Owner’s Guide 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 73: Level 2 Diagnostics

    7197 Owner’s Guide 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 head is too hot or the voltages are out of range): •...
  • Page 74: Level 3 Diagnostics

    Chapter 4: Diagnostics 7197 Owner’s Guide Level 3 Diagnostics Level 3 diagnostics keeps track of the following tallies and prints them on the receipt during the receipt test. • Serial number • Model number • CRC number • Number of receipt lines printed •...
  • Page 75 7197 Owner’s Guide Chapter 4: Diagnostics November 2002...
  • Page 76: Chapter 5: Communication

    In order for the printer to communicate with the host, a communication link must be set up. The 7197 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 77: Rs-232C Interface

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

    7197 Owner’s Manual Chapter 5: Communications 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 79 Chapter 5: Communications 7197 Owner’s Guide RS 232 Connector 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 80: Usb Connector

    7197 Owner’s Manual Chapter 5: Communications Cash Drawer Connector 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 81: Switch Settings

    Chapter 5: Communications 7197 Owner’s Guide 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 Printer End View Use a paper clip or other pointed object to set the switches.
  • Page 82: Setting Extra Rs-232C Options

    7197 Owner’s Manual Chapter 5: Communications Setting Extra RS-232C Options The following extra options are available for the RS-232C Interface: • Data errors • Print “?” for data errors (default) • Ignore data errors November 2002...
  • Page 83 Chapter 5: Communications 7197 Owner’s Guide February 2002...
  • Page 85: Chapter 6: Commands

    The first section lists all of the commands. The following lists are separated into functional category groupings. All commands listed in bold are new or have additional functionality when compared to the NCR 7193. November 2002...
  • Page 86: By Command Code

    Chapter 6: Commands 7197 Owner’s Guide By Command Code All items in BOLD are new or have additional functionality when compared to the 7193. Code (Hexadecimal) Command Page 09 (HT) Horizontal Tab 0A (LF) Print and Feed Paper One Line...
  • Page 87 7197 Owner’s Guide Chapter 6: Commands Code (Hexadecimal) Command Page 1B 2D n Select or Cancel Underline Mode 1B 2E m n rl rh d1…dn Print Advanced Raster Graphics 1B 32 Set Line Spacing to 1/6 Inch 1B 33 n...
  • Page 88 Chapter 6: Commands 7197 Owner’s Guide Code (Hexadecimal) Command Page 1C 53 n1 n2 Set Kanji character spacing 1c 57 n Set quadruple mode ON/OFF for Kanji 1D 00 Request Printer ID 1D 01 Return Segment Number Status of Flash...
  • Page 89 7197 Owner’s Guide Chapter 6: Commands Code (Hexadecimal) Command Page 1D 61 n Select or Cancel Automatic Status Back 1D 66 n Select Pitch for HRI Characters 1D 68 n Select Bar Code Height 1D 6B m d1… Print Bar Code 1D 6B m n d1…dn...
  • Page 90: By Function

    Chapter 6: Commands 7197 Owner’s Guide By Function All items in BOLD are new or have additional functionality when compared to the 7193. Printer Function Commands Code (Hexadecimal) Command Page Clear Printer 19 or 1B 69 Perform Full Knife Cut...
  • Page 91: Horizontal Positioning Commands

    7197 Owner’s Guide Chapter 6: Commands Horizontal Positioning Commands Code (Hexadecimal) Command Page Horizontal Tab 1B 14 n Set Column 1B 24 n1 n2 Set Absolute Starting Position 1B 44 [n] k 00 Set Horizontal Tabs 1B 5C n1 n2...
  • Page 92: Graphics Commands

    Chapter 6: Commands 7197 Owner’s Guide Code (Hexadecimal) Command Page 1D 42 n Select or Cancel White/Black Reverse Print Mode 1F 05 n Select Superscript or Subscript Modes Graphics Commands Code (Hexadecimal) Command Page 11 n1 ... nk Print Raster Graphics 1B (+*.bmp)
  • Page 93: Auto Status Back Commands

    7197 Owner’s Guide Chapter 6: Commands 1D 04 n Real Time Status Transmission (GS Sequence) 1D 05 Real Time Printer Status Transmission Auto Status Back Commands Code (Hexadecimal) Command Page 1D 61 n Select or Cancel Auto Status Back Barcode Commands...
  • Page 94: User Data Storage Commands

    Chapter 6: Commands 7197 Owner’s Guide User Data Storage Commands Code (Hexadecimal) Command Page 1B 27 m addr d1…dm Write to User Data Storage 1B 34 m addr Read from User Data Storage 1B 6A k Read from Non-Volatile Memory...
  • Page 95: Comparison Chart

    Chapter 6: Commands Comparison Chart The following table details the list of commands whose behavior differs from the 7193 and the 7197 because of the physical differences of a 6 dots/mm head (7193) versus an 8 dots/mm head (7197). Command...
  • Page 96 Chapter 6: Commands 7197 Owner’s Guide Command Description Difference between 7193 and 7197 configured in 7193 Emulation Mode. Graphics printer scales the graphics to provide the best match. 1B 5C n1 n2 Set Relative Print Position The parameter to this command is in units of dots.
  • Page 97: Command Descriptions

    7197 Owner’s Guide 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 98: Printer Function Commands

    Chapter 6: Commands 7197 Owner’s Guide 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.
  • Page 99 7197 Owner’s Guide Chapter 6: Commands Perform Partial Knife Cut (Previously command was full 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).
  • Page 100 Chapter 6: Commands 7197 Owner’s Guide Generate Tone ASCII: ESC BEL 1B 07 Hexadecimal: 27 7 Decimal: Generates an audible tone. This allows the application to provide an audiable tone to the operator. Example: • MSComm1.Output = Chr$(&H1B) & Chr$(&H07)
  • Page 101 7197 Owner’s Guide Chapter 6: Commands Select Sensors to Stop Printing ASCII: ESC c 4 n Hexadecimal: 1B 63 34 n Decimal: 27 99 52 n Value of n : Function 0, 1 Stop Receipt on Receipt Low 2 - 7...
  • Page 102 Chapter 6: Commands 7197 Owner’s Guide Generate Pulse to Open Cash Drawer ASCII: ESC p n p1 p2 Hexadecimal: 1B 70 n p1 p2 27 112 n p1 p2 Decimal: Value of n : 0, 48 = Drawer 1 1, 49 = Drawer 2...
  • Page 103 Decimal: 31 116 Prints the current printer configuration settings on the receipt. Disabled in page mode. • Example: • MSComm1.Output = Chr$(&H1F) & Chr$(&H74) Exception: This command is available in 7194 Native Mode and 7197 Native Mode only. November 2002...
  • Page 104: Vertical Positioning And Print Commands

    Chapter 6: Commands 7197 Owner’s Guide Vertical Positioning and Print Commands The vertical positioning and print commands control the vertical print positions of characters on the receipt. Print and Feed Paper One Line ASCII: Hexadecimal: Decimal: Prints one line from the buffer and feeds paper one line.
  • Page 105 Range of n : 0 – 127 7193 Emulation Mode and 7197 Native Mode 0 – 255 7194 Native Mode Feeds paper n lines at the current line height without printing. Ignored if the current line is not empty.
  • Page 106 Chapter 6: Commands 7197 Owner’s Guide Add n Extra Dot Rows SYN n ASCII: Hexadecimal: 16 n Decimal: 22 n Value of n: n/203 inch Range of n: 0 - 12 Default: Adds n extra dot rows to the character height to increase space between print lines or decrease number of lines per inch.
  • Page 107 1B 33 n Decimal: 27 51 n Value of n: n/406 inches in 7194 Native Mode and 7197 Native Mode n/360 inches in 7193 Emulation Mode 0 – 255 Range of n: .13 inch (3.37 mm or 7.52 lines per inch, 3 extra dot rows.).
  • Page 108 1B 4A n 27 74 n Decimal: Value of n: n/203 inches in 7194 Native Mode and 7197 Native Mode n/360 inches in 7193 Emulation Mode Range of n: 0 - 255 Prints one line from the buffer and feeds the paper.
  • Page 109 7197 Owner’s Guide Chapter 6: Commands Print and Feed n Lines ASCII: ESC d n Hexadecimal: 1B 64 n Decimal: 27 100 n 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 110: Horizontal Positioning Commands

    Chapter 6: Commands 7197 Owner’s Guide Horizontal Positioning Commands The horizontal positioning commands control the horizontal print positions of characters on the receipt. 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 111 7197 Owner’s Guide Chapter 6: Commands Set Absolute Starting Position ASCII: ESC $ n1 n2 Hexadecimal: 1B 24 n1 n2 Decimal: 27 36 n1 n2 Value of n: Number of dots to be moved from the beginning of the line.
  • Page 112 Chapter 6: Commands 7197 Owner’s Guide 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 113 7197 Owner’s Guide Chapter 6: Commands Set Relative Print Position ASCII: ESC \ n1 n2 1B 5C n1 n2 Hexadecimal: 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 114: Select Justification

    “Set Relative Print Position” command instructs the printer to move the print position to the left. In order to improve the speed of printing, the 7197 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 115 7197 Owner’s Guide Chapter 6: Commands Set Left Margin ASCII: GS L nL nH Hexadecimal: 1D 4C nL nH Decimal: 29 76 nL nH Range of nL: 0 - 255 Range of nH: 0 - 255 Default: 80 mm width...
  • Page 116 Chapter 6: Commands 7197 Owner’s Guide Set Printing Area Width ASCII: GS W nL nH Hexadecimal: 1D 57 nL nH Decimal: 29 87 nL nH Range of nL: 0 – 255 Range of nH: 0 - 255 Default: 80 mm width...
  • Page 117 7197 Owner’s Guide Chapter 6: Commands 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 118: Print Characteristic Commands

    Chapter 6: Commands 7197 Owner’s Guide 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 119 7197 Owner’s Guide Chapter 6: Commands 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 120 Chapter 6: Commands 7197 Owner’s Guide Set Character Right-Side Spacing ASCII: ESC SP n Hexadecimal: 1B 20 n 27 32 n Decimal: 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 121 7197 Owner’s Guide 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...
  • Page 122 Chapter 6: Commands 7197 Owner’s Guide Select or Cancel User-Defined Character Set ASCII: ESC % n Hexadecimal: 1B 25 n Decimal: 27 37 n Value of n: 0= Code Page 437 1= User-defined (RAM character set) 2= Code Page 850...
  • Page 123 7197 Owner’s Guide Chapter 6: Commands 24 dots (8 x 3) Values and Ranges: 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 124 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 7194 Native Mode and 7197 Native Mode. Copy Character Set from ROM to RAM ASCII:...
  • Page 125 7197 Owner’s Guide Chapter 6: Commands Cancels the pattern defined for the character code specified by n. After the user-defined character is canceled, the corresponding pattern from Code Page 437 is printed. Example: • MSComm1.Output = Chr$(&H1B) & Chr$(&H3F) & Chr$(n) Exceptions: This command is ignored if n is out of range or if the user-defined character is not defined.
  • Page 126 Default: 0 (Off) Turns Italic print mode on or off. This command is only available in 7194 Native Mode and 7197 Native Mode. Italic print mode is available for built-in, user-defined characters. Example: • MSComm1.Output = Chr$(&H1B) & Chr$(&H49) & Chr$(n) Exceptions: Only the lowest bit of n is valid.
  • Page 127 7197 Owner’s Guide Chapter 6: Commands Select International Character Set ASCII: ESC R n ESC t n Hexadecimal: 1B 52 n 1B 74 n 27 82 n 27 116 n Decimal: Value of n: 0 = Code Page 437 US English...
  • Page 128 Chapter 6: Commands 7197 Owner’s Guide Related Information: This command may also be known as Select Character Code Table. Select Character Code Table See the previous command, Select International Character Set. Select or Cancel 90 Degrees Clockwise Rotated Print ASCII:...
  • Page 129 7197 Owner’s Guide Chapter 6: Commands Select or Cancel Upside Down Printing Mode ASCII: ESC { n Hexadecimal: 1B 7B n 27 123 n Decimal: Value of n: 0 = Cancel 1 = Set Default: 0 (Cancel) Prints upside-down characters. The character order is inverted in the buffer so text is readable.
  • Page 130 However, the setting of the last received command is effective. Example: • MSComm1.Output = Chr$(&H1D) & Chr$(&H21) & Chr$(n) Exceptions: If n is out of the defined range, this command is ignored. This is only available in 7194 Native Mode and 7197 Native Mode. February 2002...
  • Page 131 0 (Off) Turns on White/Black reverse printing mode. This command is only available in 7194 Native Mode and 7197 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 132 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 7194 Native Mode and 7197 Native Mode.
  • Page 133 7197 Owner’s Guide 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 134: Graphics Commands

    Example: • MSComm1.Output = Chr$(&H11) & Chr$(05) & Chr$(255) Exceptions: Raster graphcs is not avalable in Page Mode This is only available in 7194 Native Mode and 7197 Native Mode. Download BMP Logo ASCII: ESC (+*.BMP file data) Hexadecimal: 1B (+*.BMP file data) Decimal: 27 (+*.BMP file data)
  • Page 135 BMP file images that are not monochrome are ignored. This command is only valid for the receipt station. This is only available in 7194 Native Mode and 7197 Native Mode. Related Information: See 1D 22 n (Select Memory Type to save logos.) Select Bit Image Mode ESC * m n1 n2 d1 ...
  • Page 136 Chapter 6: Commands 7197 Owner’s Guide 58mm) (58mm) 24 Dot 24 (203 DPI) 0-576 (101DPI, 24x576 Double 80mm) (80mm) Density 0-424 (101DPI, 24x424 58mm) (58mm) Formulas: 8 Dot Single Density n1 + (256 x n2) 24 Dot Single Density 3 x [n1 + (256 x n2)] 8-Dot Single-Density Mode—Receipt...
  • Page 137 7197 Owner’s Guide Chapter 6: Commands Print Advanced Raster Graphics ESC . m n rl rh d1 … dn ASCII: 1B 2E m n rl rh d1 … dn Hexadecimal: Decimal: 27 46 m n rl rh d1 … dn...
  • Page 138 Chapter 6: Commands 7197 Owner’s Guide Each bit corresponds to one horizontal dot. Compare to Set Bit Image Mode (1B 2A, m=1) earlier in this document. Example: • MSComm1.Output = Chr$(&H1B) & Chr$(&H4B) & Chr$(10) & Chr$(100) Chr$(&HFF). . . & Chr$(&HFF)
  • Page 139 Example: • MSComm1.Output = Chr$(&H1D) & Chr$(&H23) & Chr$(n) By default, 7193 Emulation loads downloaded bit image to SRAM, while 7194 Native Mode and 7197 Native Mode loads them to Flash. November 2002...
  • Page 140 Chapter 6: Commands 7197 Owner’s Guide Define Downloaded Bit Image ASCII: GS * n1 n2 d1 ... dn] 1D 2A n1 n2 d1 ... dn] Hexadecimal: 29 42 n1 n2 d1 ... dn Decimal: Value of n1: See the following table.
  • Page 141 See 1D 22 n (Select Memory Type to store logos) and 1D 23 n (Select the Current Logo.) For the 7194 Native Mode and 7197 Native Mode of operation, if multiple logos are to be defined and used, this command should b preceded by the select current logo command to define the number by which this downloaded logo is to be reference.
  • Page 142 Chapter 6: Commands 7197 Owner’s Guide Print Downloaded Bit Image ASCII: GS / m Hexadecimal: 1D 2F m Decimal: 29 47 m Value and Range of m: Value of m Print Mode Vertical DPI Horizontal DPI* Normal Double Wide Double High...
  • Page 143 6 dot/mm printer. The horizontal positioning commands also emulate positioning on a 6 dot/mm printer. Example: • MSComm1.Output = Chr$(&H1F) & Chr$(&H04) & Chr$(n) This command is available in 7194 native mode only and 7197 Native Mode. November 2002...
  • Page 144: Status Commands

    Status Commands Status Command Introduction The 7197 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 145 7197 Owner’s Guide 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 146 Chapter 6: Commands 7197 Owner’s Guide Status Byte (RS-232C) Function 0 Signifies 1 Signifies Receipt Paper Receipt Cover or Front Cover Closed Open Receipt Paper Knife Position Not Used Fixed to Zero Fixed to Zero Temperature In valid range Too hot or too cold...
  • Page 147 7197 Owner’s Guide Chapter 6: Commands Transmit Printer ID ASCII GS I n 1D 49 n Hexadecimal 29 73 n Decimal Value of n 1, 49 = Printer model ID 2, 50 = Type ID 3, 51 = ROM version ID...
  • Page 148 Chapter 6: Commands 7197 Owner’s Guide 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 149 7197 Owner’s Guide 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 150 Chapter 6: Commands 7197 Owner’s Guide 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 151 7197 Owner’s Guide Chapter 6: Commands Value of n Remote Diagnostic Item Function » Cover openings Return Cover openings tally, returns 10 tally bytes █ Max Temperature Clear Max temp tally tally Max Temperature Return Max Temperature tally, returns 10...
  • Page 152 Chapter 6: Commands 7197 Owner’s Guide Printer Status (n = 1 or n = 49) Off/On Decimal Status for Transmit Status Paper present Paper exhausted. Cover closed Cover open Paper present Paper exhausted. Undefined Not used. Fixed to off. Undefined Undefined Not used.
  • Page 153 7197 Owner’s Guide Chapter 6: Commands Range of n: 1 – 4 49 - 52 Example: • MSComm1.Output = Chr$(&H1D) & Chr$(&H72) & Chr$(n) Exceptions: When n is out of the specified range, the command is ignored. Send Printer Software Version...
  • Page 154 Chapter 6: Commands 7197 Owner’s Guide Binary XOFF Binary Auto Status Back (ASB) Response Recognized By: ASB Byte 1 Binary ASB Bytes 2-4 Binary February 2002...
  • Page 155: Real Time Commands

    7197 Owner’s Guide 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 156 Chapter 6: Commands 7197 Owner’s Guide 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. In this case the printer will use the real time command sequence bytes instead of the other command’s parameter bytes when finally executing that other command from the buffer;...
  • Page 157 7197 Owner’s Guide 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 29 4 n 16 4 n Decimal: Value of n: GS/DLE Sequence...
  • Page 158 Chapter 6: Commands 7197 Owner’s Guide 2 = Transmit RS-232C Busy Status Status Decimal Function Fixed to Off Fixed to On Cover closed Cover open Paper Feed Button is not pressed Paper Feed Button is pressed Fixed to On Printing not stopped due to paper...
  • Page 159 7197 Owner’s Guide Chapter 6: Commands Fixed to On Receipt paper present Receipt paper exhausted Receipt paper present Receipt paper exhausted Fixed to Off Real Time Request to Printer GS Sequence DLE Sequence ASCII: GS ETX n DLE ENQ n...
  • Page 160 Chapter 6: Commands 7197 Owner’s Guide An application using the DLE sequence must send ENQ within 100 milliseconds of DLE or the printer will misinterpret the DLE and execute a Clear Printer command. Avoid this possibility by using the 1D 03 n sequence that is handled exactly the same as 10 05 n.
  • Page 161: Auto Status Back Commands

    7197 Owner’s Guide Chapter 6: Commands Auto Status Back Commands Select or Cancel Automatic Status Back ASCII: GS a n Hexadecimal: 1D 61 n Decimal: 29 97 n Status of ASB Value of n: Enables or disables automatic status back (ASB) and specifies the status items. This command is a batch mode command;...
  • Page 162 Chapter 6: Commands 7197 Owner’s Guide 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 163 7197 Owner’s Guide Chapter 6: Commands Second Byte (Error information) Off/On Decimal Status for ASB Undefined Undefined Undefined No knife error. Knife error occurred. Not used. Fixed to off. No unrecoverable error. Unrecoverable error occurred. No recoverable error occurred Recoverable error occurred: Cover open, paper out, tempeature, Voltage is out of range.
  • Page 164: Bar Code Commands

    Chapter 6: Commands 7197 Owner’s Guide Bar Code Commands These following describes the commands for the printing of bar codes and described in the order of their hexadecimal codes. Note: 7193 firmware can be set for module widths in bar codes ranging from 2 dots to 4 dots per module (DPM) for the narrow modules.
  • Page 165 7197 Owner’s Guide 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 166 Chapter 6: Commands 7197 Owner’s Guide 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 167 7197 Owner’s Guide 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 168 Chapter 6: Commands 7197 Owner’s Guide 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 169 7197 Owner’s Guide 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 Sets the bar code width to n dots.
  • Page 170: Page Mode Commands

    Chapter 6: Commands 7197 Owner’s Guide Page Mode Commands Page Mode is one of two modes, which the 7194 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 171 7197 Owner’s Guide 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 172 Chapter 6: Commands 7197 Owner’s Guide Select Page Mode ASCII: ESC L Hexadecimal: 1B 4C 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 173 7197 Owner’s Guide 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 174 Chapter 6: Commands 7197 Owner’s Guide 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 175 7197 Owner’s Guide Chapter 6: Commands Set Printing Area in Page Mode ESC W n1, n2 ...n8.] ASCII: 1B 57 n1, n2 ...n8] Hexadecimal: Decimal: 27 87 n1,n2 ...n8] Range: 0 - 255 Default: n1-4 = 0 n5 = 64...
  • Page 176 Chapter 6: Commands 7197 Owner’s Guide • 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. Set Absolute Vertical Print Position in Page Mode...
  • Page 177 7197 Owner’s Guide 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 178: Macro Commands

    Chapter 6: Commands 7197 Owner’s Guide Macro Commands These commands are used to select and perform a user-defined sequence of printer operations. Start or End Macro Definition GS : ASCII: Hexadecimal: 1D 3A Decimal: 29 58 Starts or ends macro definition. Macro definition begins when this command is received during normal operation and ends when this command is received during macro definition.
  • Page 179: Execute Macro

    7197 Owner’s Guide Chapter 6: Commands Execute Macro ASCII: GS ^ r t m Hexadecimal: 1D 5E r t m 29 94 r t m Decimal: Value of r: The number of times to execute the macro. Value of t: The waiting time for executing the macro.
  • Page 180: User Data Storage Commands

    Chapter 6: Commands 7197 Owner’s Guide User Data Storage Commands Write to User Data Storage ESC ‘ m a0 a1 a2 d1 ... dm ASCII: 1B 27 m a0 a1 a2 d1 ... dm Hexadecimal: Decimal: 27 39 m a0 a1 a2 d1 ... dm Value of m: 0 –...
  • Page 181 7197 Owner’s Guide Chapter 6: Commands Read from Non-Volatile Memory ASCII: ESC j k 1B 6A k Hexadecimal 27 106 k Decimal: 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 182 Chapter 6: Commands 7197 Owner’s Guide 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 183: Flash Allocation

    7197 Owner’s Guide Chapter 6: Commands Flash Allocation ASCII: GS " U n1 n Hexadecimal: 1D 22 55 n1 n2 29 34 85 n1 n2 Decimal: 1 (see below) Default Value of Default Value of 1 (see below) n1 is the number of 64k sectors used for logos and user-defined characters.
  • Page 184 Chapter 6: Commands 7197 Owner’s Guide Erase User Flash Sector ASCII: GS @ n Hexadecimal: 1D 40 n 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 185 7197 Owner’s Guide 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 186 Chapter 6: Commands 7197 Owner’s Guide Function Function (Hex) (Hex) 8.13 lines per inch Default lines per inch 7.52 lines per inch 6 lines per inch Carriage return usage Ignore CR Use CR as Print cmd. Asian mode Asian mode on...
  • Page 187 7197 Owner’s Guide Chapter 6: Commands Set the printer configuration specified by m and n. The printer is reset after receiving this command to activate the configuration setting. If m or n is out of range, this command is ignored. But the printer waits the data until terminator code “0FFH”.
  • Page 188: Asian Character Commands

    Chapter 6: Commands 7197 Owner’s Guide Asian Character Commands Select print modes for Kanji characters ASCII: FS ! n Hexadecimal: 1C 21 n 28 33 n Decimal: Value of n: The character attribute for Asian character Off/On Decimal Function Select font...
  • Page 189 7197 Owner’s Guide 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 190 Chapter 6: Commands 7197 Owner’s Guide ≤ FE Korean c1 = C9 and c1 = FE, A1 ≤ c2 ≤ FE (CP949) Traditional 81 ≤ c1 ≤ A0 and FA ≤ c1 ≤ FE, 40 ≤ Chinese c2 ≤ 7E and 80 ≤ c2 ≤ FE (CP950) C7 ≤...
  • Page 191 7197 Owner’s Guide 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 192: Flash Download Commands

    Chapter 6: Commands 7197 Owner’s Guide Flash Download Commands These commands are used to load firmware into the printer. The commands are listed in numerical order according to their hexadecimal codes. Each command is described and the hexadecimal, decimal, and ASCII codes are listed.
  • Page 193 7197 Owner’s Guide Chapter 6: Commands Return Segment Number Status of Flash Memory GS SOH ASCII: 1D 01 Hexadecimal: Decimal: 29 1 Returns the size of the Flash used. There may be 8, 16, or 32 sectors (64K each) in Flash Memory.
  • Page 194 Chapter 6: Commands 7197 Owner’s Guide 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 195 7197 Owner’s Guide Chapter 6: Commands Erase the Flash Memory ASCII: GS SO 1D 0E Hexadecimal: 29 14 Decimal: Causes the entire Flash Memory (except the boot) to be erased. The printer returns ACK if the command is successful; NAK if it is unsuccessful.
  • Page 196 Chapter 6: Commands 7197 Owner’s Guide Erase Selected Flash Sector ASCII: GS DLE n Hexadecimal: 1D 10 n 29 16 n Decimal: Value and Range of n: 0 – 7 = 512K bytes Flash 0 – 15 = 1M bytes Flash 0 –...
  • Page 197 7197 Owner’s Guide 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 198 Chapter 6: Commands 7197 Owner’s Guide Reboot the Printer ASCII: GS (SPACE) Hexadecimal: 1D FF 29 255 Decimal: 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 199: Chapter 7: Reflashing The Printer Firmware

    Flash Utility Information The following instructions provide information on how to use the Flash Utilities provided for the 7167, 7197, and 7401-K590 printers. These instructions cover the utilities provided for Windows 9x/NT/2000 GUI, Windows Command Line, and DOS. The following are the files which comprise the utilities: TseFlash.exe –...
  • Page 200: Printer Languages Cross Reference

    7197 Receipt T0102.dfn Receipt ANK.sfn K590 T0102.dfn Note: A0106.sfn contains receipt and slip ANK fonts. The noted font files are include on LPIN A370-0050-0000 or are available from the NCR web site under Retail Solution Specific Printer Firmware. February 2002...
  • Page 201 Flash Memory Writer V2.02 Usage: AFLASH.EXE <model> <type> <port> <baud rate> <filename> Options: <model> : K590, 7167, 7197 <type> : Download main firmware program : Download ipl firmware program : Download ANK single byte font : Download ASIAN two byte font...
  • Page 202 Chapter 7: Reflashing the Printer Firmware 7197 Owner’s Guide Windows Command Line Firmware Update Utility The Windows Command Line version of the Flash Utility is provided to allow batch mode of operation in a Windows 95/98/NT4/2000 environment. If you issue a call to TseFlash.com with the /? parameter you will get the following out put that explains the...
  • Page 203 These instruction show how to reflash a 7167 printer. However the same instructions can be used for reflashing the 7197 or 7401-K590 printers as well by selection the appropriate printer in the Change Mode button. Unzip the flash utility (Flash311) and the flash files that you will be using into a directory on your hard disk.
  • Page 204 Chapter 7: Reflashing the Printer Firmware 7197 Owner’s Guide Using TseFlash.exe Utility On the host terminal or PC running Windows, execute the utility TSEFlash.exe to start the program. A window similar to the example below will appear on the screen.
  • Page 205 7197 Owner’s Guide Chapter 7: Reflashing the Printer Firmware Click on the button indicated by the red arrow to display the dropdown box. From the list, click on the printer type to be flashed. Select K590 from the list for this printer.
  • Page 206 Chapter 7: Reflashing the Printer Firmware 7197 Owner’s Guide At this point, any of the properties in the red box can be changed. Clicking on the button to the right of the property (red arrow) will display the drop-down box with options available for the associated property.
  • Page 207 7197 Owner’s Guide Chapter 7: Reflashing the Printer Firmware There are only two options in the "Download Type" property drop-down box to be concerned with. Main FIRMWARE is used to flash the main firmware file and IPL FIRMWARE is used to flash the boot firmware.
  • Page 208 Chapter 7: Reflashing the Printer Firmware 7197 Owner’s Guide Select the COM port being used on the PC or host device to flash the printer. The flash utility will be running on this PC. February 2002...
  • Page 209 7197 Owner’s Guide Chapter 7: Reflashing the Printer Firmware Select the printer baud rate setting. Make certain that that the COM port selected on the host device will support 115,200 baud. The utility will reset the printer baud rate to 115,200 baud flash the printer and then reset the baud rate back to the baud rate that was originally selected.
  • Page 210 Chapter 7: Reflashing the Printer Firmware 7197 Owner’s Guide From the Parity type, select None, Odd, or Even to match this setting on the printer. February 2002...
  • Page 211 7197 Owner’s Guide Chapter 7: Reflashing the Printer Firmware Again, match this property to this setting in the printer. November 2002...
  • Page 212 Chapter 7: Reflashing the Printer Firmware 7197 Owner’s Guide Once all the Properties are configured to match the printer settings, it is time to select the binary file to load into the printer firmware. Click on the "Browse" button to make this selection.
  • Page 213 7197 Owner’s Guide Chapter 7: Reflashing the Printer Firmware If "IPL FIRMWARE" was selected as the Download Type, the search window will default to IPL Program Files with a .ipl extension. Select the desired file from the list and click on the "Open" button.
  • Page 214 Chapter 7: Reflashing the Printer Firmware 7197 Owner’s Guide Once you start the flash process, a series of windows similar to the example shown here will appear. The flash sectors on this screen may vary depending on the quantity of sectors to be flashed.
  • Page 215 7197 Owner’s Guide Chapter 7: Reflashing the Printer Firmware November 2002...
  • Page 216 Chapter 7: Reflashing the Printer Firmware 7197 Owner’s Guide February 2002...
  • Page 217: Appendix A: Specifications

    7197 Owner’s Guide Appendix A: Specifications Appendix A: Specifications Printing Specifications Thermal Receipt Station Print head Fixed 576 Print Elements Direct Thermal Fixed Head Line of Dots Character Cell Standard: 13 x 24 Dots Compressed: 10 x 24 Dots Character Size .0525"...
  • Page 218: Power Requirements

    (3.15 Inches ± .02 Inches) Paper Thickness Not Applicable Printable Area 2.83 Inches (Max.) Power Requirements The 7197 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 219: Reliability

    7197 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 45 Million Lines Electronics 460,000 On time Hours Communications Card 1,300,000 On Time Hours...
  • Page 220 Appendix A: Specifications 7197 Owner’s Guide 100% of 1 min. 50% of 1 min. 20% of 1 min. continuous continuous continuous printing printing printing 50% of 1 min. 25% of 1 min. 10% of 1 min. continuous continuous continuous printing...
  • Page 221: Appendix B: Print Characteristics

    7197 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 station. 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 222: Print Zones

    Index 7197 Owner’s Guide 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 in. .118 in. 203 DPI, 19 CPI Pitch (Compressed) Print Zones This section shows the printable area for the receipt station.
  • Page 223 7197 Owner’s Guide Appendix B: Print Characteristics Paper Width = 80 mm (3.15 inc.) Top Margin, 17.5 mm (.69 in.) Minimum Print Zone, 72.10 mm (2.84 in.) 576 Dots Left and Right Margins, 3.95 mm (.16 in.) For 58 mm Paper The receipt station centers characters (standard pitch and compressed pitch) and graphics on an 58 mm wide (2.28 inches) receipt.
  • Page 224: Character Sets

    Index 7197 Owner’s Guide Character Sets The following pages show the character sets. • PC Code Page 437 (US) • PC Code Page 850 (Multilingual) • PC Code Page 852 (Slavic) • PC Code Page 860 (Portuguese) • PC Code Page 862 (Hebrew) •...
  • Page 225 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 950 Code Page 437, 850, 852 and 858 November 2002...
  • Page 226 Index 7197 Owner’s Guide Code Page 860, 862, 863 and 864 February 2002...
  • Page 227 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 865, 866, 874 and 1252 November 2002...
  • Page 228 Index 7197 Owner’s Guide Code Page Katakana February 2002...
  • Page 229 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 932 November 2002...
  • Page 230 Index 7197 Owner’s Guide Code Page 932 (Cont) February 2002...
  • Page 231 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 932 (Cont) November 2002...
  • Page 232 Index 7197 Owner’s Guide Code Page 932 (Cont) February 2002...
  • Page 233 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 932 (Cont) November 2002...
  • Page 234 Index 7197 Owner’s Guide Code Page 932 (Cont) February 2002...
  • Page 235 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 932 (Cont) November 2002...
  • Page 236 Index 7197 Owner’s Guide Code Page 932 (Cont) February 2002...
  • Page 237 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 932 (Cont) November 2002...
  • Page 238 Index 7197 Owner’s Guide Code Page 936 Simple Chinese February 2002...
  • Page 239 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 936 Simple Chines1e (Cont.) November 2002...
  • Page 240 Index 7197 Owner’s Guide Code Page 936 Simple Chinese (Cont.) February 2002...
  • Page 241 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 936 Simple Chinese (Cont.) November 2002...
  • Page 242 Index 7197 Owner’s Guide Code Page 936 Simple Chinese (Cont.) February 2002...
  • Page 243 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 936 Simple Chinese (Cont.) November 2002...
  • Page 244 Index 7197 Owner’s Guide Code Page 936 Simple Chinese (Cont.) February 2002...
  • Page 245 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 936 Simple Chinese (Cont.) November 2002...
  • Page 246 Index 7197 Owner’s Guide Code Page 936 Simple Chinese (Cont.) February 2002...
  • Page 247 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 936 Simple Chinese (Cont.) November 2002...
  • Page 248 Index 7197 Owner’s Guide February 2002...
  • Page 249 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 936 Simple Chinese (Cont.) November 2002...
  • Page 250 Index 7197 Owner’s Guide Code Page 949 Korean February 2002...
  • Page 251 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 949 Korean (Cont.) November 2002...
  • Page 252 Index 7197 Owner’s Guide Code Page 949 Korean (Cont.) February 2002...
  • Page 253 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 949 Korean (Cont.) November 2002...
  • Page 254 Index 7197 Owner’s Guide Code Page 949 Korean (Cont.) February 2002...
  • Page 255 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 949 Korean (Cont.) November 2002...
  • Page 256 Index 7197 Owner’s Guide Code Page 949 Korean (Cont.) February 2002...
  • Page 257 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 949 Korean (Cont.) November 2002...
  • Page 258 Index 7197 Owner’s Guide Code Page 949 Korean (Cont.) February 2002...
  • Page 259 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 949 Korean (Cont.) November 2002...
  • Page 260 Index 7197 Owner’s Guide Code Page 949 Korean (Cont.) February 2002...
  • Page 261 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 949 Korean (Cont.) November 2002...
  • Page 262 Index 7197 Owner’s Guide Code Page 949 Korean (Cont.) February 2002...
  • Page 263 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 949 Korean (Cont.) November 2002...
  • Page 264 Index 7197 Owner’s Guide Code Page Traditional Chinese (Cont.) February 2002...
  • Page 265 7197 Owner’s Guide Appendix B: Print Characteristics Code Page 949 Korean (Cont.) November 2002...
  • Page 266 Index 7197 Owner’s Guide Code Page 950 Traditional Chinese February 2002...
  • Page 267 7197 Owner’s Guide Appendix B: Print Characteristics Code Pare 949 Traditional Chinese (Cont.) November 2002...
  • Page 268 Index 7197 Owner’s Guide Code Pare 980 Traditional Chinese (Cont.) February 2002...
  • Page 269 7197 Owner’s Guide Appendix B: Print Characteristics Code Pare 950 Traditional Chinese (Cont.) November 2002...
  • Page 270 Index 7197 Owner’s Guide Code Pare 949 Traditional Chinese (Cont.) February 2002...
  • Page 271 7197 Owner’s Guide Appendix B: Print Characteristics Code Pare 980 Traditional Chinese (Cont.) November 2002...
  • Page 272 Index 7197 Owner’s Guide Code Pare 980 Traditional Chinese (Cont.) February 2002...
  • Page 273 7197 Owner’s Guide Appendix B: Print Characteristics Code Pare 950 Traditional Chinese (Cont.) November 2002...
  • Page 274 Index 7197 Owner’s Guide Code Pare 950 Traditional Chinese (Cont.) February 2002...
  • Page 275 7197 Owner’s Guide Appendix B: Print Characteristics Code Pare 950 Traditional Chinese (Cont.) November 2002...
  • Page 276 Index 7197 Owner’s Guide Code Pare 950 Traditional Chinese (Cont.) February 2002...
  • Page 277 7197 Owner’s Guide Index Index Changing paper, 37 Character set —7— code page 437, 207 7156 printer code page 850, 208 printer specifications, 199 code page 852, 210 7197 printer code page 863, 212 clearance, 10 code page 865, 209, 211, 212, 213, 214...
  • Page 278 Index 7197 Owner’s Guide real time request to printer, GS sequence, 141 limitations, 201 recognizing data from the printer, 135 Commands, sending —E— using BASIC, 62 EEPROM to default settings, 60 using DOS, 61 Emulation/software options, 53 Communication, 61 Environmental conditions, 200 Communication cables, 8 Errors.
  • Page 279 7197 Owner’s Guide Index configuring the printer, 46 power supply, 5 datascope modes, 52 supplies, 4 default code page, 58 default lines per inch, 54 —P— diagnostic modes, 51 Packing material EEPROM to default settings, 60 repacking printer, 10 emulation/software options, 53...
  • Page 280 Index 7197 Owner’s Guide commands, 126 —S— Printer status commands, 126 Setting switches, 12 Printhead RS-232C parameters, 66 thermal, 3 Setup mode. See Level 1 diagnostics Printhead, thermal Specifications, 199 cleaning, 6 RS-232C interface, 63 over/under temperature, 41 Speed, 62...

Table of Contents

Save PDF