Page 1
Owner’s Manual NCR 7197 Thermal Receipt Printer Series II Release 2.0 B005-0000-2068 Issue H...
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
100–240 Vac, 1.5/0.8 A, 50/60 Hz, output rated 24 Vdc, 2.3 A. or 3.125A. Use of this product with a power supply other than the NCR power supply will require you to test this power supply and NCR printer for FCC and CE mark certification.
Page 4
Aufnahmeleistung von 100–240 VAC, 1.5/0.8 A und 50/60 Hz, und einer Leistungsabgabe von 24 VDC, 3.125 A.c sein. Die Benutzung des Produktes mit einem Netzgerät, daß nicht von NCR mitgeliefert wurde erfordert das Testen des Netzgerätes mit dem NCR Drucker auf FCC und CE– Markierungs Befolgung. Verbindungskabel: Bei der Benutzung dieses Produkts muß...
Page 6
안전주의사항 서비스 주의 : 이 제품은 서비스 부품을 포함하지 않고 있습니다. 서비스는 자격이 있는 서비스 기술자에 의해 제공됩니다. 퓨즈교체 주의: 화재의 위험에 대한 계속적인 보호를 위해 같은 타입과 등급의 퓨즈로 교체해야 합 니다. 。 한국 업무용(A급 기기) 방송통신기자재 이 기기는 업무용(A급) 전자파적합기기로서 판매자 또는 사용자는 이 점을 주의하시기 바라며, 가정...
Page 7
NCR immediately. The NCR Company is not responsible for any radio or television interference caused by unauthorized modification of this equipment or the substitution or attachment of connecting cables and equipment other than those specified by NCR.
Page 8
Industry Canada (IC) Radio Frequency Interference Statement This Class A digital apparatus meets all requirements of the Canadian Interference– Causing Equipment Regulations. Cet appareil numérique de la classe A respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada.
Page 9
NCR ist nicht für Radio– oder Fernsehenstörung verantwortlich, die durch unautorisierte Änderung der Ausrüstung oder den Ersatzes der anschließenden Kabel oder durch Anschluß von Geräten hervorgerufen wird, die nicht ausdrücklich von NCR genehmigt wurden sind. Die Korrektur von Störungen, die durch solche unautorisierte Änderung, Ersatz oder Zubehör verursacht werden, liegt in der Verantwortlichkeit des...
Page 11
References • NCR 7197 Thermal Receipt Printer Series II Service Guide (B005-0000-2069) • NCR 7197 Thermal Receipt Printer Series II Parts Identification Manual (B005-0000-2070)
Page 12
Choosing a Location Normal Table Top Wall-mounted Setting Switches Resetting the Printer Connecting the Cables RS-232 Cable Connection USB Cable Connection Ethernet Cable Connection (Ethernet Model) About the Universal Serial Bus Advantages of USB Connections Advantages of the NCR USB Solution...
Page 13
Checking for USB Support on the Host Computer Host Configuration Windows XP Windows 7, 8, and 10 Configuring the Printer Installing the USB Virtual COM Port Driver for Printers Windows XP Windows POS Ready 7 Windows 8 Windows 10 Verifying the Installation Windows XP Windows POS Ready 7 Windows 8...
Page 14
Green LED Blinking (Slow) Green LED Blinking (Fast) Receipt Printing is Light or Spotty Other Serious Problems Contacting a Service Representative Chapter 4: Diagnostics Level 0 Diagnostics Level 1 Diagnostics Printer Configuration Configuring the Printer Communication Interface Modes RS-232C/USB Interface Settings [Standard Model] Ethernet Interface Settings [Standard Model] Diagnostic Modes Datascope Mode...
Page 15
xiii Receipt Print Mode Print Density Power ON Head Failure Detection Maximum Power Paper Low Sensor Paper Width Set Knife Option Color Paper Option Power LED Control Shift to Standby Shift Time To Power Off Wi-Fi Date Sync Option Default Code Page 7158 Mode 7156 Mode DHCP Mode...
Page 16
Using BASIC to Send Commands RS-232C Interface (Standard Model) Print Speed and Timing XON/XOFF Protocol DTR/DSR Protocol RS-232C Technical Specifications Setting Extra RS-232C Options Ethernet Interface (Ethernet Model) Protocol Ethernet Connection Port TCP Socket Communication Communication Procedure UDP Socket Communication Multiple Connection WiFi Interface (WiFi Model) Connector...
Page 17
Print Characteristic Commands Graphics Commands Status Commands Real Time Commands Unsolicited Status Update Barcode Commands Page Mode Commands Macro Commands User Data Storage Commands Asian Character Commands Flash Download Commands Comparison Chart Command Descriptions Printer Function Commands Clear Printer Perform Partial Knife Cut Perform Partial Knife Cut Generate Tone Initialize Printer...
Page 18
Set Line Spacing to 1/6 Inch Set Line Spacing Print and Feed Paper Print and Feed n Lines Set Horizontal and Vertical Minimum Motion Units Horizontal Positioning Commands Horizontal Tab Set Column Set Absolute Starting Position Set Horizontal Tabs Set Relative Print Position Select Justification Set Left Margin Set Printing Area Width...
Page 19
xvii Select or Cancel 90 Degrees Clockwise Rotated Print Select Print Color Select or Cancel Upside Down Printing Mode Select Character Size Select or Cancel White/Black Reverse Print Mode Select or Cancel Smoothing Mode Select Superscript or Subscript Modes Select or Cancel Unicode(UTF-16) Mode Summary of Rotated Printing Graphics Commands Print Raster Graphics...
Page 20
xviii Get Print Completion Recognizing Data from the Printer Real Time Commands Preferred Implementation Alternate Implementation Rules for Using Real Time Commands Moving Data Through the Buffer UDP Communication Real Time Status Transmission Real Time Request to Printer Real Time Printer Status Transmission Unsolicited Status Update Validation Determine if Device Supports USU Enable/Disable Unsolicited Status Update...
Page 21
Cancel Print Data in Page Mode Print Data in Page Mode Select Page Mode Select Standard Mode Select Print Direction in Page Mode Set Printing Area in Page Mode Set Absolute Vertical Print Position in Page Mode Set Relative Vertical Print Position in Page Mode Macro Commands Start or End Macro Definition Execute Macro...
Page 22
Return Microprocessor CRC Erase the Flash Memory Return Main Program Flash CRC Erase Selected Flash Sector Download to Active Flash Sector Reboot the Printer Chapter 7: Reflashing the Printer Firmware Flash Utility Information File Configurations Printer Languages Cross-Reference DOS Flash Utility Windows Command Line Firmware Update Utility Using TseFlash.exe Utility Chapter 8: Configuration Network...
Page 23
Appendix A: Specifications Printing Specifications Power Requirements Power from Host Power from External Power Supply Environmental Conditions Reliability Dimensions and Weight Density of Receipt Print Lines Duty Cycle Restrictions (Printing Solid Blocks) Appendix B: Reflashing the Printer Firmware Appendix C: Lean Receipt Utility Appendix D: Print Characteristics Character Size Receipt Station...
Page 24
xxii Proportional Font Conversion Handling of Arabic Printing Layout (Over the Area) Character Sets...
Page 25
xxiii Revision Record Issue Date Remarks June 2011 First printing April 2013 Add Aldi model information October 2013 Add WIFI model information November 2015 Add Power Consumption and Print Speeds July 2016 Add Downloaded Bit Image Registration/Printing Add Printer Setting Change command parameter 57 and 58 Aug 2017 Added printer setup procedures for...
Page 27
About the 7197 Series II Printer Chapter 1: General Description The 7197 Series II 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 Series II to be connected to any host computer that uses RS-232C or USB communication interface.
Page 28
About the 7197 Series II Printer Features The 7197 Series II 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 29
About the 7197 Series II Printer • double wide • upside down • rotated • 14 resident single byte character language Code Pages: • PC Code Page 437 (US English) • PC Code Page 850 (Multilingual) • PC Code Page 852 (Slavic) •...
Page 30
About the 7197 Series II Printer • Thermal head failure detection • ECO (Paper reduction, Power reduction) Note: The 7197 Series II does not use a paper journal. The journal is kept electronically by the host computer. Options • Remote power supply •...
Page 31
Ordering Thermal Receipt Paper The 7197 Series II requires NCR qualified thermal paper to be used on the thermal receipt print station to ensure proper operation of the printer. In addition the paper rolls must be have the following dimension.
Page 32
About the 7197 Series II Printer Ordering Other Supplies Contact your sales representative to order the supplies listed in the table. The numbers are for reference only. Suppliers may use other numbers. Item Type Alias Number External Power Supply 75W External Power Supply, 7167-K511 No Power Cord 75W External Power Supply...
Page 33
About the 7197 Series II Printer Item Type Alias Number Power only USB Cable 1.0 meter 1432-C092-0010 for Serial Configuration 4.0 meters 1432-C092-0040 Cash Drawer Cable 1.8 meters 1639-K044 1639-K043 1639-K213 0.6 meter (Y-Cable) 1416-C372-0006 1639-K045 Wall Mount Release 1.0 7197-K915 Release 2.0 7197-K100...
Page 34
About the 7197 Series II Printer Cleaning the Printer Cleaning the Cabinet The external cabinet materials and finish are durable and resistant to the following items: • Cleaning solutions • Lubricants • Fuels • Cooking oils • Ultraviolet light Note: There is no scheduled maintenance required for the 7197 Series II. Clean the cabinet as needed to remove dust and finger marks.
Page 35
The following items are packed in the shipping box: • Printer enclosed in a plastic bag and foam pack • Thermal receipt paper roll The following items may be ordered as options from NCR and will be shipped separately: • Communication cable from host computer to printer •...
Page 36
2. Place the printer in the plastic bag and foam pack, place the packed printer in the box, and secure the box with packing tape. 3. If you are sending the printer to NCR for repair, call your NCR–authorized service representative for instructions on where to send the printer.
Page 37
Setting Up and Using the Printer 2-11 Choosing a Location Normal Table Top The 7197 Series II 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 38
2-12 Setting Up and Using the Printer Dimension for ALDI model...
Page 39
Setting Up and Using the Printer 2-13 Wall-mounted The 7197 Series II printer may be mounted on a vertical wall with a Wall Mount Kit (Option). Make sure there is enough room to open the receipt cover to change the paper.
Page 40
2-14 Setting Up and Using the Printer Setting Switches The DIP switches, located at the back of the printer, are used for two purposes: • To set variables for several printer functions. Refer to the various printer functions Level 1 Diagnostics on page 69 for setting up the printer.
Page 41
Setting Up and Using the Printer 2-15 Connecting the Cables There are three different types of cables that connect to the printer: • Power supply cable supplying power from the power supply • Communication cable (RS-232 or USB) connecting the printer to the host computer •...
Page 42
2-16 Setting Up and Using the Printer RS-232 Cable Connection...
Page 43
Setting Up and Using the Printer 2-17 USB Cable Connection...
Page 44
2-18 Setting Up and Using the Printer Ethernet Cable Connection (Ethernet Model)
Page 45
POS printer requirements. Advantages of the NCR USB Solution NCR has eliminated any cost associated with porting applications to USB by implementing a USB solution that simulates standard serial communications in Windows XP. Application developers need only redirect their software to the virtual...
Page 46
If it is not, you need to install a USB interface card. With the required hardware in place, Windows XP natively support plug-and-play USB with a built-in driver. Note: Internet access is required to download the USB drivers from the NCR Web site, www.ncr.com. Host Configuration Verify that the proper hardware has been installed in the host PC.
Page 47
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 48
2-22 Setting Up and Using the Printer 2. Turn the printer around, so that the bottom side of the printer is facing you. 3. Set DIP switch 1 to the On position (up).
Page 49
Setting Up and Using the Printer 2-23 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 50
2-24 Setting Up and Using the Printer To access the sub-menus, follow the instructions on the scrolling menu. To select a sub-menu, press the Paper Feed button using one of the following actions: • To indicate Yes, press and hold the Paper Feed button for at least one second for a long click.
Page 51
Setting Up and Using the Printer 2-25 Installing the USB Virtual COM Port Driver for Printers Windows XP 1. Follow the on–screen instructions. The printer beeps when the USB device is recognized. 2. Go to the location where you downloaded the drivers and double click the file. Note: The following images describe the on-screen instructions displayed on the Found New Hardware Wizard.
Page 53
Setting Up and Using the Printer 2-27 Note: Location of the IONetworks files on the CD-ROM may vary depending on the version of the CD that is being used.
Page 55
Setting Up and Using the Printer 2-29 Note: Location of the IONetworks files on the CD–ROM may very depending on the version of the CD that is being used.
Page 56
2-30 Setting Up and Using the Printer Windows POS Ready 7 To install the USB Virtual COM Port Driver on a Windows POSReady 7 system, follow these steps: 1. Plug the printer to the system USB port. The printer beeps when it is plugged in to show the USB device is recognized.
Page 57
Setting Up and Using the Printer 2-31 2. Select Skip obtaining driver software from Windows Update. The system skips searching for the driver software information from Windows Update. The following window is displayed. 3. Select Yes. The following window is displayed. 4.
Page 58
2-32 Setting Up and Using the Printer 6. From the System Tools, select Device Manager. A list of devices is displayed on the right pane.
Page 59
Setting Up and Using the Printer 2-33 7. Select Other devices→Receipt (EPiC Interface), then select Update Driver Software. The following window is displayed: 8. Select Browse my computer for driver software. The following window is displayed:...
Page 60
2-34 Setting Up and Using the Printer 9. Select Browse, and then select the Edgeport Driver folder. 10. Select Next. The system starts installing the USB Virtual COM Port Driver. Windows 8 To install the USB Virtual COM Port Driver on a Windows 8 system, follow these steps: 1.
Page 61
Setting Up and Using the Printer 2-35 3. From the Windows search bar, search Computer Management, then select to open. 4. Open the Device Manager, select Device Manager, then select Other devices→Receipt (EPiC interface). 5. Select the Update Driver Software button.
Page 62
2-36 Setting Up and Using the Printer 6. Select Browse my computer for driver software. 7. Select Browse, and then select the Edgeport Driver folder. 8. Select Next. The system starts installing the USB Virtual COM Port Driver.
Page 63
Setting Up and Using the Printer 2-37 When the installation is complete, the following window is displayed. 9. Select Close to close the window. Windows 10 To install the USB Virtual COM Port Driver on a Windows 10 system, follow these steps: 1.
Page 64
2-38 Setting Up and Using the Printer 3. From the Windows search bar, search Computer Management, then select to open. 4. From the System Tools, select Device Manager, then select Other devices→Receipt (EPiC interface). 5. Select the Update Driver Software button. The following window is displayed.
Page 65
Setting Up and Using the Printer 2-39 6. Select Browse my computer for driver software. 7. Select Browse, and then select the Edgeport Driver folder. 8. Select Next. The system starts installing the USB Virtual COM Port Driver. 9. When the installation is complete, select Close to close the window.
Page 66
2-40 Setting Up and Using the Printer Verifying the Installation You need to verify that the device drivers were installed correctly: Windows XP 1. Open the Device Manager window. For more information, refer to Checking for USB Support on the Host Computer on page 20.
Page 67
Setting Up and Using the Printer 2-41 4. Search for the Edgeport Drivers folder, then run . The following edgeport.exe window is displayed. 5. Double-click 7167 [Port number] to view the Port number and COM number. The COM number should match the EPiC Port COM, which is under the available ports in Device Manager.
Page 68
1. Open the Device Manager window. 2. Make sure that the NCR 7197 Receipt Printer and the EPIC Port are installed. Note: The NCR 7197 Receipt Printer is the defined USB VID/PID (Vendor ID/Product ID) of the NCR Single-Station printers (7197, 7198, and 7199).
Page 69
Setting Up and Using the Printer 2-43 3. Open the Edgeport utility and make sure the Port is assigned.
Page 70
To verify the installation of the driver on a Windows 8 system, follow these steps: 1. Open the Device Manager window. 2. Make sure that the NCR 7197 Receipt Printer and the EPIC Port are installed. Note: The NCR 7197 Receipt Printer is the defined USB VID/PID (Vendor ID/Product ID) of the NCR Single Station printers (7197, 7198, and 7199).
Page 71
Setting Up and Using the Printer 2-45 3. Open the Edgeport utility and make sure the Port is assigned.
Page 72
To verify the installation of the driver on a Windows 10 system, follow these steps: 1. Open the Device Manager window. 2. Make sure that the NCR 7197 Receipt Printer and the EPIC Port are installed. Note: The NCR 7197 Receipt Printer is the defined USB VID/PID (Vendor ID/Product ID) of the NCR Single Station printers (7197, 7198, and 7199).
Page 73
1. Open the Device Manager and make sure View Devices by Type is selected. 2. Scroll down to Universal Serial Bus controllers, and expand the list by pressing the + symbol. You should see two entries for your NCR printer. 3. Select the printer name and select Properties.
Page 74
2-48 Setting Up and Using the Printer 3. Select the Uninstall button, and then follow the on–screen instructions. The following window is displayed.
Page 75
Setting Up and Using the Printer 2-49 4. Select Yes. The system uninstalls the driver, and then displays the following window. 5. Select Yes to completely uninstall the driver and to restart the PC. Windows 8 To uninstall the USB Virtual COM Port Driver on a Windows 8 system, follow these steps: 1.
Page 76
2-50 Setting Up and Using the Printer 3. Select the Uninstall button, and then follow the on–screen instructions. The following window is displayed.
Page 77
Setting Up and Using the Printer 2-51 4. Select Yes. The system uninstalls the driver, and then displays the following window. 5. Select Yes to completely uninstall the driver and to restart the PC. Windows 10 To uninstall the USB Virtual COM Port Driver on a Windows 8 system, follow these steps: 1.
Page 78
2-52 Setting Up and Using the Printer 3. Select the Uninstall button, and then follow the on–screen instructions. The following window is displayed.
Page 79
Setting Up and Using the Printer 2-53 4. Select Yes. The system uninstalls the driver, and then displays the following window. 5. Select Yes to completely uninstall the driver and to restart the PC.
Page 80
Setting Up and Using the Printer Configuring Serial Port Number Assignments This section described how the NCR USB solution assigns serial port numbers, for example, 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 81
Setting Up and Using the Printer 2-55 Using the Printer Note: For instructions on setting the DIP switches, refer to Setting Switches on page 14. 1. Connect the power supply to the printer and turn on the power source. The printer goes through a self-test routine to ensure everything is working properly then beeps.
Page 82
2-56 Setting Up and Using the Printer Loading and Changing the Receipt Paper These instructions apply to loading paper for the first time. Change the paper when either of the following two conditions occurs: • LED blinks (slow): the paper is low There are approximately 1 ½...
Page 83
Setting Up and Using the Printer 2-57 2. Remove the used roll.
Page 84
2-58 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. Note: Ensure the paper unrolls from the bottom of the roll.
Page 85
Setting Up and Using the Printer 2-59 2. Close the receipt cover. 3. Remove the excess paper by tearing it against the tear-off blade.
Page 86
2-60 Setting Up and Using the Printer Advancing Paper 1. Press the Paper Feed button on the operator panel to advance the paper. The cover must be closed. To ensure print quality and the proper alignment of the paper, advance about 30 cm (12 inches) of paper. 2.
Page 87
Solving Problems Chapter 3: The 7197 Series II printer is a simple, generally trouble-free printer. From time to time, minor problems may occur. For example, the power supply may be interrupted or the thermal print head may overheat. A green LED on the operator panel signals that something may be wrong.
Page 88
3-62 Solving Problems Green LED Does Not Come On/Printer Will Not Print Problem What to Do Where to Go Cables may Check all cable connections. Check that the host Refer to not be computer and power supply are both on (the Connecting connected power supply is turned on by plugging it into an...
Page 89
Solving Problems 3-63 Problem What to Do Where to Go Knife failure Open the receipt cover and check Refer to the knife. Clear any jammed paper Contacting a you can see. Tear off any excess Service paper against the tear-off blade. Representative Contact a service representative if page 65.
Page 90
3-64 Solving Problems Problem What to Do Where to Go Power If paper is not low and no Refer to supply conditions indicate that the print Contacting a voltage is head is too hot, the power supply Service out of range voltage is out of range.
Page 91
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–...
Page 93
Diagnostics Chapter 4: The following diagnostic tests are available for the 7197 Series II: • 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 94
4-68 Diagnostics Level 0 Diagnostics The printer automatically performs level 0 diagnostics when it is put on-line. Level 0 diagnostics comprise the following actions: • Motors are turned off. • Microprocessor timing is checked, CRC check of the firmware ROM is performed, external RAM is read.
Page 95
Diagnostics 4-69 Level 1 Diagnostics Use the Level 1 diagnostics or setup mode to change the settings for various printer functions and run certain tests. When changing the settings, keep the following information in mind: • 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 96
4-70 Diagnostics • USB Type • Setting Diagnostic Modes • Setting Emulation/Software Options • Printer Emulation • Printer ID Mode • Default Lines Per Inch • Carriage Return Usage • Asian Mode • Receipt Synchronization • PDF417 Max Columns • Auto Reset •...
Page 97
Diagnostics 4-71 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. Caution: Be extremely careful in changing any of the printer settings to avoid changing settings that might affect the performance of the printer.
Page 98
4-72 Diagnostics 3. Press the paper feed for the configuration you want. Note: Defaults are marked with asterisk (*).
Page 99
Diagnostics 4-73 4. Press the Paper Feed button to make the selections. Note: 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, and No with a short click.
Page 100
4-74 Diagnostics Communication Interface Modes Use the Configuration Menu to set the printer to use an RS-232C serial port. Refer to Configuring the Printer on page 71 for more information on how to enter the Configuration Menu. RS-232C/USB Interface Settings [Standard Model] If the user sets the printer to use an RS-232C serial interface, the Configuration Menu can be used to set the following RS-232C specific settings: •...
Page 103
Diagnostics 4-77 Ethernet Interface Settings [Standard Model] Note: Press the Paper Feed Button for at least one second to validate the selection. Save Parameters This function allows saving the selected communication settings or return to the communication settings to select additional options. Press the Paper Feed Button for the option you want.
Page 104
4-78 Diagnostics The diagnostic modes are enabled or disabled by using the Configuration Menu. Refer Configuring the Printer on page 71 for instructions on how to enter the Configuration Menu. Note: To select a diagnostic mode, press the Paper Feed button. Datascope Mode Datascope Mode allows the user to test the printer’s communications.
Page 105
Diagnostics 4-79 2. Push the Paper Feed Button and the receipt station will print all code pages. The test ends with a cut. Note: Perform step 2 again to repeat the test. To exit the Receipt Test Mode, follow these steps: 1.
Page 106
4-80 Diagnostics For more information, refer to Configuring the Printer on page 71. To select an Emulation/Software setting, press the Paper Feed button. The number of clicks confirms the setting. Note: Default settings are marked with asterisk (*). Printer Emulation This function determines the commands that are available to the printer. To set an emulation, press the Paper Feed Button.
Page 107
Diagnostics 4-81 Default Lines Per Inch This function allows the user to set the default lines per inch printed by the thermal printer to 6, 7.52 or 8.13. To select the lines per inch, press the Paper Feed Button. Carriage Return Usage This function allows the printer to ignore or use the Carriage Return (hexadecimal command depending on the application.
Page 108
4-82 Diagnostics Receipt Synchronization This function permits user to select whether to enable or to disable receipt synchronization printing. The following commands are the buffered status command: 1B 75 0 Transmit Peripheral Device Status 1B 76 Transmit Printer Status 1D 49 n Transmit Printer ID 1D 72 Transmit Status •...
Page 109
Diagnostics 4-83 Ignore Sync Configuration This function permits user to enable or disable the sync configuration of the printer. To select the Ignore Sync Configuration, press the Paper Feed Button. Clear User Defined Area This function permits user to reset the area defined, data storage or both. To select Clear User Defined Area, press the Paper Feed Button.
Page 110
4-84 Diagnostics To select the pdf417 max column print, press the Paper Feed Button. Auto Reset Set Auto Reset using the configuration menu. Caution: Be extremely careful in changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. To select the platen waiting time, press the Paper Feed Button.
Page 111
Diagnostics 4-85 Font Type Set Font Type using the configuration menu. Caution: Be extremely careful in changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. To select the font type, press the Paper Feed Button. Compatibility Barcode Length Set Compatibility Barcode Length using the configuration menu.
Page 112
4-86 Diagnostics Compress Pitch Set Compress Pitch command using the configuration menu. Caution: Be extremely careful in changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. To select the compress pitch cmd, press the Paper Feed Button. Model in 4610 Emulation This function permits user to set model in 4610 emulation.
Page 113
Diagnostics 4-87 Hardware Options Receipt Print Mode Set the receipt print mode using the configuration menu. Select Hardware Options in the Configuration Menu and answer the questions printed on the receipt. 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 114
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.
Page 115
Diagnostics 4-89 Maximum Power This function permits the user to set the maximum power for the printer to the available modes. To select the maximum power, press the Paper Feed Button. Note: Press the Paper Feed button for at least one second to validate the selection. Paper Low Sensor This function permits the user to enable or disable the paper low sensor for particular printer configurations.
Page 116
4-90 Diagnostics Set Knife Option Set the Knife option using the configuration menu. Caution: Be extremely careful in changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. To select the knife option, press the Paper Feed Button. Color Paper Option This function permits the user to set the color paper option to Monochrome or Color Paper.
Page 117
Diagnostics 4-91 Power LED Control Set the power LED control using the configuration menu. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. To select the Power LED Control option, press the Paper Feed Button. Shift to Standby Enable or disable the standby mode using the configuration menu.
Page 118
4-92 Diagnostics To select the standby mode option, press the Paper Feed Button. Shift Time To Power Off Set the Shift Time to Power Off using the configuration menu. If the printer is in standby mode for the time that is defined by this setting, the printer automatically powers off.
Page 119
Diagnostics 4-93 Save Parameters This function allows to save the selected communication settings or return to the communication settings to select additional options. To select an option, press the Paper Feed Button.
Page 120
4-94 Diagnostics Default Code Page This function permits user to select the default code page. The following are the code pages available for printing: • Code page 437 (US English) • Code page 850 (Multilingual) • Code page 852 (Slavic) •...
Page 121
Diagnostics 4-95 7158 Mode 7156 Mode For Asian code pages, code page 936, 949, or 950 replaces code page 932. Only one Asian code page (either 932, 936, 949, or 950) will exist in firmware. Save Parameters This function allows to save the selected communication settings or return to the communication settings to select additional options.
Page 122
4-96 Diagnostics To select an option, press the Paper Feed Button. DHCP Mode Set DIP switch 1 to ON, and DIP switch 2 to ON. LAN Interface Printer by default starts with DHCP address. Get IP Address will be DHCP in the Diagnostics Form.
Page 123
Diagnostics 4-97 Selections are made using the Paper Feed button. Note: This menu is only for the Ethernet model. Rolling ASCII Print Test (Receipt) This option permits users to run rolling ASCII printing test. The printer prints the resident character set in standard pitch continuously. To start or stop the test, press the Paper Feed button.
Page 124
4-98 Diagnostics H print test (Receipt) This option permits users to run H printing test. The printer prints the H character in standard pitch continuously. To start or stop the test, press the Paper Feed button. Follow these steps: 1. Enter a short click to return to the Mfg Adjustment Menu. 2.
Page 125
Diagnostics 4-99 Duty check print test (Receipt) This option permits users to run duty check printing test. The printer prints the 12.5%, 25%, 50%, and 100% duty original pattern. Press the Paper Feed button to start or stop the test. Follow these steps: 1.
Page 126
4-100 Diagnostics Print Current Setting This option permits users to print the current setting on a receipt. To start the test, press the Paper Feed button.
Page 127
Diagnostics 4-101 EEPROM to Default Setting This selection resets the configuration and clears all input data to the default settings. Caution: Do not perform this selection unless you want to clear all details in EEPROM to default value. Be extremely careful in changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer.
Page 128
4-102 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. Note: The printer flashes the green LED if the receipt print head is too hot or the voltages are out of range.
Page 129
Diagnostics 4-103 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 lines printed • Number of knife cuts •...
Page 131
Communication Chapter 5: Communication Overview In order for a receipt to be printed, a program must be in place that translates the data from the host computer into a language that the printer can understand. This program must tell the printer exactly how to print each character. This chapter describes how to create such a program or modify an existing one.
Page 132
5-106 Communication Using BASIC to Send Commands In BASIC, printer commands are sent as a string of characters preceded by the LPRINT command. For example, the following command sends the hexadecimal number the printer, which causes the printer to print the contents of its print buffer: LPRINT CHR$(&H0A) Previously sent commands tell the printer exactly how this data should appear on the paper.
Page 133
Communication 5-107 RS-232C Interface (Standard Model) The RS-232C interface uses either XON/XOFF or DTR/DSR protocol. For XON/XOFF, a particular character is sent back and forth between the host and the printer to regulate the communication. For DTR/DSR, changes in the DTR/DSR signal coordinate the data flow.
Page 134
5-108 Communication The following table shows that with no delay between lines, the transmit time is much less than the print time, allowing the printer to print at full speed. Transmit Time: Transmit Time: (19.2 Print Char./Line Lines/Receipt (9600 Baud) K Baud) Time 0.4 seconds...
Page 135
Communication 5-109 DTR/DSR Protocol The DTR signal is used to control data transmission to the printer. The signal is driven low when the printer is ready to recieve data and driven high when it cannot accept any more data. Data is transmitted from the printer after it confirms that the DSR signal is low.
Page 136
5-110 Communication Ethernet Interface (Ethernet Model) The Ethernet interface uses either protocol. The Ethernet 10BASE-t 100BASE-TX version of the 7197 Series II offers the web configuration which configure the ethernet settings via Internet browser. Refer to Communication Interface Modes on page 74. Protocol...
Page 137
Communication 5-111 Ethernet Connection Port TCP Socket Communication Communication Procedure The TCP socket is used to send commands and data related to printing. The socket is also used to send and receive the batch status commands and its statuses. When Ethernet RTC Protocol setting is TCP, it is used by sending and receiving of Real Time Command.
Page 138
5-112 Communication UDP Socket Communication The UDP socket is used to retrieve the printer information (e.g. printer status) immediately. This is effective in UDP port 3000 when Ethernet RTC Protocol setting is UDP. 1. Client PC connects to the UDP socket via the defined port number of the printer. 2.
Page 139
Communication 5-113 WiFi Interface (WiFi Model)
Page 140
5-114 Communication Connector 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. Ethernet Connector The Ethernet I/F connector is a 8P8C modular connector, usually called RJ45, with the following pin assignments: •...
Page 141
Communication 5-115 Power Cable Connector The illustration shows the power cable connector and pin assignments. The power cable connector is a 3-pin DIN plug and is located in the hollow cavity under the printer at the rear. Cash Drawer Connector The following illustration shows the pin out designation for the cash drawer connectors.
Page 142
5-116 Communication USB Connector The following illustration is for the USB Type B communication connector and pin assignment. Pin No Signal +5 V – USB Data - Data + Ground 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 on page 69.
Page 143
Communication 5-117 Caution: Do not set switch 1 to On. Setting switch 1 to On puts the printer in level 1 diagnostics (setup mode), where other functions and tests can be changed. This switching has to be done when the printer power is off. RS232C/USB Interface card: FEED KEY (7197 SII) PRINTER MODE...
Page 144
5-118 Communication FEED KEY (7197 SII) PRINTER MODE BUTTON Pressed Printer starts as Mfg Adjustment mode. Not Pressed Printer starts as IPL Mode. Pressed Printer starts as DHCP Mode and prints diagnostic form Not Pressed Printer starts as DHCP Mode Note: In the above tables, Pressed means pressing the FEED BUTTON when Printer Power is ON.
Page 145
Commands Chapter 6: Command Conventions Introduction The different features and functions provided by the printer are controlled by sending commands from the host computer to the printer. This section describes the commands that are supported by the printer. The printer commands are made up of one or more bytes of data starting with a command control code followed by its supporting parameters.
Page 146
Note: The first section lists all of the commands. The following lists are separated into functional category groupings. By Command Code All items listed in bold are new or have additional functionality when compared to the NCR 7193. Code (Hexadecimal) Command Horizontal Tab...
Page 147
Commands 6-121 Code (Hexadecimal) Command Perform Partial Knife Cut 1B (+ *.bmp) Download BMP Logo 1B 07 Generate Tone 1B 0C Print Data in Page Mode 1B 12 Select 90 Degree Counter- Clockwise Rotated Print 1B 14 n Set Column 1B 16 n Select Pitch (Column Width) 1B 20 n...
Page 148
6-122 Commands Code (Hexadecimal) Command 1B 3F n Cancel User-defined Characters 1B 40 Initialize Printer 1B 44 n1,n2,… nk 00 Set Horizontal Tabs 1B 45 n Select or Cancel Emphasized Mode 1B 47 Select Double Strike (7193 Emulation) 1B 49 n Set or Cancel Italic Print 1B 4A n Print and Feed Paper...
Page 149
Commands 6-123 Code (Hexadecimal) Command 1B 64 n Print and Feed n Lines 1B 69 Perform Full Knife Cut 1B 6D Perform Partial Cut 1B 70 n p1 p2 Generate Pulse to Open Cash Drawer 1B 72 n Select Print Color 1B 74 n Select International Character Set...
Page 150
6-124 Commands Code (Hexadecimal) Command 1D 03 n Real Time Request to Printer (DLE Sequence) 1D 04 n Real Time Status Transmission (GS Sequence) 1D 05 Real Time Printer Status Transmission 1D 06 Get Firmware CRC 1D 07 Return Microprocessor CRC 1D 0E Erase the Flash Memory 1D 0F...
Page 151
Commands 6-125 Code (Hexadecimal) Command 1D 3A Start or End Macro Definition 1D 40 n Erase User Flash Sector 1D 42 n Select or Cancel White/Black Reverse Print Mode 1D 48 n Select Printing Position for HRI Characters 1D 49 n Transmit Printer ID 1D 49 40 n Transmit Printer ID, Remote...
Page 152
6-126 Commands Code (Hexadecimal) Command 1D 28 6B pL pH cn 41 QR Code: Select the model 1D 28 6B pL pH cn 43 QR Code: Set the size of module 1D 28 6B pL pH cn 45 QR Code: Select the error correction level 1D 28 6B pL pH cn 50 QR Code: Store the data in the symbol storage area...
Page 153
Commands 6-127 Code (Hexadecimal) Command 19 or 1B 69 Perform Full Knife Cut 1A or 1B 6D Perform Partial Knife Cut 1B 07 Generate Tone 1B 40 Initialize Printer 1B 63 34 n Select Sensors to Stop Printing 1B 63 35 n Enable or Disable Panel Buttons 1B 70 n p1 p2 Generate Pulse to Open Cash Drawer...
Page 154
6-128 Commands Code (Hexadecimal) Command 1B 14 n Set Column 1B 24 n1 n2 Set Absolute Starting Position 1B 44 n1,n2,… nk 00 Set Horizontal Tabs 1B 5C n1 n2 Set Relative Print Position 1B 61 n Select Justification 1D 4C nL nH Set Left Margin 1D 57 nL nH Set Printing Area Width...
Page 155
Commands 6-129 Code (Hexadecimal) Command 1B 74 n Select International Character Set 1B 7B n Select or Cancel Upside Down Printing Mode 1D 21 n Select Character Size 1D 42 n Select or Cancel White/Black Reverse Print Mode 1F 05 n Select Superscript or Subscript Modes Graphics Commands Code (Hexadecimal)
Page 156
6-130 Commands Code (Hexadecimal) Command 1D 72 n Transmit Status 1F 56 n Send Printer Software Version 1F 1A 02 n Execute Head Failure Detection 1F 0A n Get Print Completion Real Time Commands Code (Hexadecimal) Command 10 04 n Real Time Status Transmission (DLE Sequence) 10 05 n Real Time Request to Printer (GS Sequence)
Page 157
Commands 6-131 Code Command (Hexadecimal) 1D 6B m Print Bar Code d1…dk 00 1D 6B m n d1…dn 1D 77 n Select Bar Code Width 1D 28 6B pL QR Code: Select the model pH cn 41 1D 28 6B pL QR Code: Set the size of module pH cn 43 1D 28 6B pL...
Page 158
6-132 Commands Macro Commands Code (Hexadecimal) Command 1D 3A Start or End Macro Definition 1D 5E r t m Execute Macro User Data Storage Commands Code (Hexadecimal) Command 1B 27 m addr Write to User Data Storage d1…dm 1B 34 m addr Read from User Data Storage 1D 22 n Select Memory Type (SRAM/Flash) Where to Save Logos...
Page 159
Commands 6-133 Flash Download Commands Code (Hexadecimal) Command 1B 5B 7D Switch to Flash Download Mode 1D 00 Request Printer ID 1D 01 Return Segment Number Status of Flash Memory 1D 02 n Select Flash Memory Sector to Download 1D 06 Get Firmware CRC 1D 07 Return Microprocessor CRC...
Page 160
6-134 Commands Difference between 7193 and 7197 Series II Command Description configured in 7193 Emulation Mode. 1B 26 s c1 Define User- Since the dots on the 7197 Series II print head are c2 n1 Defined smaller, user-defined characters that were used on d1...nn Character the previous printer will appear smaller on the...
Page 161
Commands 6-135 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. The following lists and describes the headings used to present the elements of the commands in the descriptions in this section.
Page 162
6-136 Commands Name Name of Command Example Coding example of how to send the command in Visual Basic. This code assumes we are doing output to an opened and ready device called MSCOMM1. The examples use the hexadecimal command code formats; the ASCII or decimal formats could also be used in VB.
Page 163
Commands 6-137 • Printing position is set to column one. • Knife is homed. Example: MSComm1.Output = Chr$(&H10) Exceptions A DLE command followed by a is interpreted as a real time command. Refer to Printer Function Commands on the previous page. Perform Partial Knife Cut ASCII ESC i...
Page 164
6-138 Commands Perform Partial Knife Cut ASCII ESC m Hexadecimal 1A 1B 6D Decimal 27 109 This command cuts the receipt, leaving 5 mm (0.20 inch) of paper. This command is implemented the same as Full Knife Cut ( ), which results in a partial knife 19, 1B 6D cut.
Page 165
Commands 6-139 Initialize Printer ASCII ESC @ Hexadecimal 1B 40 Decimal 27 64 Default Character Pitch 15.6 CPI Column Width 44 characters (80mm) 32 characters (58mm) Extra Dot Rows Character Set Code Page 437 Printing Position Column One This command clears the print line buffer and resets the printer to the default settings for the startup configuration.
Page 166
6-140 Commands This command determines which sensor stops printing on the receipt station. The command does not affect the paper out sensor on the receipt station, which will automatically stop the printer when the paper is depleted. Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H63) & Chr$(&H34) & Chr$(n) Enable or Disable Panel Buttons ASCII ESC c 5 n...
Page 167
Commands 6-141 • Off time = p2 x 2 msec Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H70) & Chr$(n) & Chr$(n) Note: The off-time is the delay before the printer performs the next operation. Refer to cash drawer specifications for required on and off times. Select Cut Mode and Cut Paper ASCII GS V m...
Page 168
6-142 Commands This command selects a mode for cutting paper and cuts the paper. There are two formats for this command, one requiring one parameter m, the other requiring two parameters, m and n. The format is indicated by the parameter m. Formulas n times the vertical motion unit is used to determine the cutting position to the distance that the paper is fed.
Page 169
Commands 6-143 Print and Carriage Return ASCII Hexadecimal 0D Decimal This command prints one line from the buffer and feeds paper. The printer can be set through the configuration menu to ignore or use this command. Some applications expect the command to be ignored while others use it as a print command. Example: MSComm1.Output = Chr$(&H0D) Note: Refer to Ignoring/Using the Carriage Return in...
Page 170
6-144 Commands This command feeds paper n dot rows without printing, and the receipt moves n rows if the print buffer is empty. Example: MSComm1.Output = Chr$(&H15) & Chr$(n) Add n Extra Dot Rows ASCII SYN n Hexadecimal 16 n Decimal 22 n Value of n...
Page 171
Commands 6-145 Receipt Station Extra Rows Lines Per Inch Dot Rows 5.81 5.64 Example: MSComm1.Output = Chr$(&H16) & Chr$(n) Print ASCII Hexadecimal Decimal This command prints one line from the buffer, feeds paper on one line, and executes LF on the receipt. Example: MSComm1.Output = Chr$(&H17) Set Line Spacing to 1/6 Inch...
Page 172
6-146 Commands Set Line Spacing ASCII ESC 3 n Hexadecimal 1B 33 n Decimal 27 51 n Value of n n/406 inches in 7194 Native Mode and 7197 Series II Native Mode n/360 inches in 7193 Emulation Mode Range of n 0–255 Default 0.13 inch (3.37 mm or 7.52 lines per inch, 3 extra dot row)
Page 173
Commands 6-147 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) This command prints one line from the buffer and feeds paper n lines at the current line height.
Page 174
6-148 Commands Horizontal Positioning Commands The horizontal positioning commands control the horizontal print positions of characters on the receipt. Horizontal Tab ASCII Hexadecimal 09 Decimal This command moves the print position to the next tab position set by the Set Horizontal Tab Positions command.
Page 175
Commands 6-149 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. Value of n1 Remainder after dividing n by 256. Value of n2 Integer after dividing n by 256.
Page 176
6-150 Commands Set Horizontal Tabs ASCII ESC D [n1,n2,… nk NUL Hexadecimal 1B 44 n1,n2,… nk 00 Decimal 27 68 n1,n2,… nk 0 Value of n The number of columns from the left edge of the print area. Range of n 1 ≤...
Page 177
Commands 6-151 The values for n1 and n2 are two bytes in low-byte and high-byte word orientation. To move the relative starting position left of the current position by n dots: n1 = remainder after dividing (65,536 – n) by 256 n2 = integer after dividing (65,536 –...
Page 178
6-152 Commands Compatibility Information (7194 Native Mode and 7197 Series II Native Mode receipt vs. 7193 receipt) There is a difference in the normal behavior of this command in 7194 Native Mode and 7197 Series II Native Mode as compared to the original 7193. The difference exists when the command is used to move to the left.
Page 179
Commands 6-153 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 576 dots (the maximum printable area) 58 mm width 424 dots (the maximum printable area) This command sets the left margin of the printing area.
Page 180
6-154 Commands Exceptions The command is effective only at the beginning of a line. This command is also ignored if the line buffer is not empty. Set Printing Area Width ASCII GS W nL nH Hexadecimal 1D 57 nL nH Decimal 29 87 nL nH Range of nL...
Page 181
Commands 6-155 Exception This command is effective only at the beginning of a line. This command is ignored if the line buffer is not empty, and only affects 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 182
6-156 Commands This command rotates characters 90 degrees counter-clockwise. The command remains in effect until the printer is reset or until a Clear Printer ), Select or Cancel Upside- (0x10 Down Print , or Select or Cancel Rotated Print command is received. (1B 7B) (1B 56) Example:...
Page 183
Commands 6-157 Set Character Right-Side Spacing ASCII ESC SP n Hexadecimal 1B 20 n Decimal 27 32 n Range of n 0–32 Default This command 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. Note: The units of horizontal and vertical motion are specified by the Set Horizontal and Vertical Minimum Motion Units command.
Page 184
6-158 Commands Function Bit 0 Pitch Standard Pitch Compressed Pitch 15.6 CPI 20.3 CPI 44 Col/Line, (80 mm) 56 Col/Line, (80 mm) 32 Col/Line, (58 mm) 42 Col/Line, (58 mm) Bit 3 Emphasized Canceled Mode Bit 4 Double-high Canceled Bit 5 Double-wide Canceled Bit 7...
Page 185
Commands 6-159 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 Range 0–2 Default 0 (Code Page 437) This command selects the character set.
Page 186
6-160 Commands Defining User-Defined Characters Defines and enters downloaded characters into RAM. 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 187
Commands 6-161 This command turns underline mode on or off. Underlines cannot be printed for spaces set by the Horizontal Tab, Set Absolute Start Position, or Set Relative Print Position commands. This command and the Select Print Mode command turn (1B 21) underline on and off in the same way.
Page 188
6-162 Commands Exceptions This command is ignored if n is out of range or if the user-defined character is not defined. Select or Cancel Emphasized Mode ASCII ESC E n Hexadecimal 1B 45 n Decimal 27 69 Value of n •...
Page 189
Commands 6-163 Exceptions These settings do not apply in Page Mode; however, they can be set or cleared in Page Mode. Double-strike printing cannot be used with bit-images or downloaded bit-images. This command and the Select Print Mode command function identically. They (1B 21) should have the same setting when used together.
Page 190
6-164 Commands Value of n 0—Code Page 437 US English (Default) 1—Code Page 850 Multilingual 2—Code Page 852 Slavic 3—Code Page 860 Portuguese 4—Code Page 863 French Canadian 5—Code Page 865 Nordic 6—Code Page 858 Multilingual with Euro Symbol 7—Code Page 866 Cyrillic 8—Code Page 1252 Windows Latin I 9—Code Page 862 Hebrew 10—Code Page 1256 Windows Arabic...
Page 191
Commands 6-165 Select or Cancel 90 Degrees Clockwise Rotated Print This command rotates characters 90 degrees clockwise. The command remains in effect until the printer is reset or the Clear Printer ( ) command is received. Refer to 0x10 Summary of Rotated Printing on page 169.
Page 192
6-166 Commands Select Character Size ASCII GS ! n Hexadecimal 1D 21 n Decimal 29 33 n Value of n • 1–8 = vertical number of times normal font • 1–8 = horizontal number of times normal font Range of n 00–07, 10–17, …...
Page 193
Commands 6-167 Character Height Selection Decimal Height 6 (six times height) 7 (seven times height) 8 (eight times height) This command is effective for all characters (except for HRI characters). In Standard Mode, the vertical direction is the paper feed direction, and the horizontal direction is perpendicular to the paper feed direction.
Page 194
6-168 Commands This command turns on White/Black reverse printing mode. This command is only available in 7194 Native Mode and 7197 Series II 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 195
Commands 6-169 This command 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 …) Series II Native Mode.
Page 196
6-170 Commands Upside Down Rotated CW Rotated CCW (1B Resulting (1B 7B n) (1B 56 n) Output Canceled Canceled Cleared Canceled Canceled The following print modes cannot be mixed on the same line: • Standard and compressed pitch • Vertical (normal) and rotated •...
Page 197
Commands 6-171 Download BMP Logo ASCII ESC (+*.BMP file data) Hexadecimal 1B (+*.BMP file data) Decimal 27 (+*.BMP file data) Value • Maximum width—576 • Maximum height—512 This command enters a BMP file data into RAM or Flash. This command is used by sending the file data of a monochrome BMP file preceded by a .
Page 198
6-172 Commands Values Value No. of Dots No. of Dots Number of Mode of m (Vertical) (Horizontal) Dots/Line 8 Dot Single 8 (68 DPI) 0-288 (101DPI, 8x288 (80mm) Density 80mm) 8x212 (58mm) 0-212 (101DPI, 58mm) 8 Dot 8 (68 DPI) 0-576 (203DPI, 8x576 (80mm) Double...
Page 199
Commands 6-173 Print Advanced Raster Graphics ASCII ESC . m n rl rh d1 … dn Hexadecimal 1B 2E m n rl rh d1 … dn Decimal 27 46 m n rl rh d1 … dn Value of m Horizontal offset from left margin = 8 x n dots Value of n Number of data bytes that compose the raster Value of r...
Page 200
6-174 Commands Select Single-Density Graphics ASCII ESC K n1 n2 d1 … dn Hexadecimal 1B 4B n1 n2 d1 ... dn Decimal 27 75 n1 n2 d1 ... dn Value of n Value of n (8-Dot Value of n (24-Dot Value of d Single Density Mode) Single Density Mode)
Page 201
Commands 6-175 Each bit corresponds to one horizontal dot. Compare to Set Bit Image Mode (1B 2A, earlier in this document. m=1) Example: MSComm1.Output = Chr$(&H1B) & Chr$(&H59) & Chr$(10) & Chr$(100) Chr$(&HFF). . . & Chr$(&HFF) Download Bit Image Registration/Printing ASCII FS p n m Hexadecimal 1C 70 m n...
Page 202
6-176 Commands This command selects a logo to be defined or printed. The active logo n remains in use until this command is sent again with a different logo n. When this command precedes a logo definition, that definition is stored in Flash Memory as logo n.
Page 203
Commands 6-177 Value of n1 Value of n2 Value of d 1-72 (8 x n1 = Number of 1-64 (Number of Bytes of Data (Printed Horizontal Dot Columns) Vertical Bytes) * Down Then Across) *The number of bytes sent is represented by the following formula: n = 8 x n1 x n2 (n1 x n2 must be less than or equal to 4608).
Page 204
6-178 Commands 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 DPI1 Horizontal DPI* Normal Wide 203 Double Wide 203 Double High Quadruple Dot density measured in dots per inch This command prints a downloaded bit image in RAM or Flash on the receipt station at a density specified by m.
Page 205
Commands 6-179 Example: MSComm1.Output = Chr$(&H1D) & Chr$(&H2F) & Chr$(m) Note: Refer to (Select Memory Type to store logos) and (Select the 1D 22 n 1D 23 n Current Logo). Convert 6 Dots/mm Bitmap to 8 Dots/mm Bitmap ASCII US EOT n Hexadecimal 1F 04 n Decimal 31 04 n...
Page 206
6-180 Commands • Real-Time Commands—these commands are sent to the printer and are not stored in the printer’s buffer. They are acted on immediately, regardless of the printer’s BUSY status, and their response, if any, is returned to the application. This gives the application the ability to query the printer when it is in a busy state in order to correct whatever fault has occurred.
Page 207
Commands 6-181 Transmit Printer Status ASCII ESC v Hexadecimal 1B 76 Decimal 27 118 This command 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 208
1, 49 Printer model ID NCR 7194 0x24 1, 49 Printer model ID NCR 7193 0x03 1, 49 Printer model ID NCR 7197 Series 0xA2 2, 50 Type ID Installed Refer to the table below. options 3, 51 ROM version ID...
Page 209
Commands 6-183 Bit Off/On Hex Decimal Function Undefined. Undefined. Not used. Fixed to Off. Undefined. Undefined. Not used. Fixed to Off. Example: MSComm1.Output = Chr$(&H1D) & Chr$(&H49) & Chr$(n) Transmit Printer ID, Remote Diagnostics Extension ASCII GS I @ n Hexadecimal 1D 49 40 n Decimal 29 73 64 n...
Page 210
6-184 Commands When an application uses UDP 3000 port, adding 4 bytes of the sequence number before the command is required. Example: For Flash Firmware version command, send: xxh xxh xxh xxh 1Dh 49h 40h A3h is the sequence number. The printer returns the response with the xxh xxh xxh xxh same sequence number.
Page 211
Commands 6-185 Remote Diagnostic Value of n Function Item Hex Dec Boot firmware (FTP) Return boot firmware (FTP) version, a total of 6 version, 4 digit ASCII bytes (Ethernet Model Only) Boot firmware (FTP) Return boot firmware (FTP) CRC, a total of 6 bytes CRC, 4 digit ASCII (Ethernet Model Only) SBCS (for Receipt)
Page 212
6-186 Commands Remote Diagnostic Value of n Function Item Hex Dec É 144 Hours on tally, 8 digit Write to NVRAM ASCII numeric, max 99,999,999 æ 145 Hours on tally Write to NVRAM, and print on receipt to verify Æ 146 Hours on tally Clear Hours on tally to 0 ô...
Page 213
Commands 6-187 Remote Diagnostic Value of n Function Item Hex Dec 179 Max Temperature tally Return Max Temperature tally, returns 10 bytes 184 Dot Failure Write to Flash Rom Information(-2 max 999 Warning Dot) on tally, 3 digit ASCII numeric 185 Dot Failure Write to Flash Rom and print on receipt to verify Information(-2...
Page 214
6-188 Commands Remote Diagnostic Value of n Function Item Hex Dec 191 Dot Failure Return Dot Failure Information(-1 Warning Dot) on Information(-1 tally, a total of 5 bytes. Warning Dot) on tally, 3 digit ASCII numeric 192 Dot Failure Write to Flash Rom Information(0 Warning max 999 Dot) on tally, 3 digit...
Page 215
Commands 6-189 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 • 4, 52—Flash Memory status • 5, 53—printer other status This command transmits the status specified by n. This is a batch mode command which transmits the response after all prior data in the receive buffer has been processed.
Page 216
6-190 Commands Cash Drawer Status (n = 2 or n = 50) Off/On Hex Decimal Status for Transmit Status Off On 00 One or both cash drawers open. Both cash drawers closed. Off On 00 One or both cash drawers open. Both cash drawers closed.
Page 217
Commands 6-191 Printer other status (n = 5 or n = 53) Off/On Hex Decimal Status for Transmit Status Not used. Fixed to off. Not used. Fixed to off. Not used. Fixed to off. Not used. Fixed to off. Not used. Fixed to off. Not used.
Page 218
6-192 Commands Response: Result of the Head Failure Detection (3 bytes) Response format table (3 bytes) Description Byte #1 Byte #2 and #3 No Error 0x06 0x00, 0x00 Head 0x15 Counter for number of dots damaged. Failure • First Byte—Lower byte of the counter •...
Page 219
Commands 6-193 The printer returns the print completion response when it finishes printing the data sent before this command. The printable data sent before this command is identified by the parameter of this command. This command specifies ID for print data sent before this command.
Page 220
6-194 Commands Batch Mode Response Response Recognized By: ASCII GS EOT n 1D 04 n 0 x x 1 x 1 0 Binary DLE EOT n 10 04 n 0 x x 1 x 1 0 Binary GS ENQ 1D 05 1 x x x x x x Binary 0 0 0 1 0 0 1 Binary XOFF...
Page 221
Commands 6-195 Alternate Implementation The alternate implementation uses the sequences as implemented on other DLE (0x10) printers. An application using these sequences and the original 7193 Clear DLE (0x10) Printer command must distinguish for the printer between the new real time (0x10) commands and the Clear Printer command by adding a to the Clear Printer...
Page 222
6-196 Commands When the printer is busy due simply to buffer full, that is, it cannot print data as fast as it can receive it, then data continues to be processed out of the buffer at approximately print speed and the Real Time commands will eventually get flushed out. When the printer is busy due to an error condition, then data stops being processed out of the buffer until the condition clears one way or another.
Page 223
Commands 6-197 GS Sequence DLE Sequence Non ION USB Standard/Ethernet Standard/Ethernet Value of n GS/DLE Sequence UDP port 1 = Transmit printer status 3000 2 = Transmit RS-232C busy status 3000 3 = Transmit error status 3000 4 = Transmit receipt paper status 3000 6 = Transmit error other status 3000...
Page 224
6-198 Commands An application using the DLE sequence must send EOT within 100 milliseconds of DLE or the printer will misinterpret the DLE and execute a Clear Printer command. Avoid this possibility by using the sequence, which is handled exactly the same as 1D 04 n 04 n Related Information...
Page 225
Commands 6-199 3 = Transmit Error Status Bit Status Hex Decimal Function Fixed to Off. Fixed to On. Fixed to Off. No knife error. Knife error occurred. Fixed to On. No unrecoverable error. Unrecoverable error occurred. Thermal print head temp./power supply voltage are in range.
Page 226
6-200 Commands 6 = Transmit Error Other Status Bit Status Hex Decimal Function Fixed to Off. Fixed to On. No Thermal Head Print Failure. Thermal Head Print Failure. Not used. Fixed to off. Not used. Fixed to on. Not used. Fixed to off. Not used.
Page 227
Commands 6-201 In case of Recover and restart command, send xxh xxh xxh xxh 1Dh 03h 01h is the Sequence Number. xxh xxh xxh The printer responds to a request from the host specified by n. This command includes two sequences: GS and DLE. The operations performed depend on the value of n, according to the following parameters.
Page 228
6-202 Commands According to Ethernet RTC Protocol setting , the using protocol and port (1F 11) number are different. When Ethernet RTC Protocol setting is TCP, this command is effective in TCP 9100 port. Ethernet RTC Protocol setting is UDP, this command is effective in UDP 3000 port.
Page 229
Commands 6-203 Unsolicited Status Update Validation Determine if Device Supports USU The Host uses this command to determine if the device supports USU. ASCII GS a x Hexadecimal 1D 61 x Decimal 27 97 x Value of x 0–FF Response To Host (Hex): 1A, 9F, 1F If the printer responds to the Unsolicited Status Update Validation message with this 3- byte response message, then the printer firmware supports the Unsolicited Status...
Page 230
6-204 Commands Baseline State Request This request tells the printer to send an Unsolicited Status Update message for all Sensors and States supported by the firmware. This allows the Application, Driver, or Control to establish an initial picture of the state of the printer. ASCII GS DC1 n Hexadecimal 1D 11 FF n...
Page 231
Commands 6-205 The host can determine if any unsolicited 3-byte sequence from the printer is a USU message by checking the upper 4 bits of the three bytes received. If the upper 4 bits match those of the USU message, then the remaining lower 4 bits are to be interpreted as the information bits of a USU message.
Page 232
6-206 Commands Identifier Description of sensor or state State Value RTC Sensor Bit if Applicable for 7167 / 7197 Series II (Note: Meaning Value (Hex) RTC might be different for other printers) Journal Paper Exhaust Sensor No paper available for printing.
Page 233
Commands 6-207 Identifier Description of sensor or state State Value RTC Sensor Bit if Applicable for 7167 / 7197 Series II (Note: Meaning Value (Hex) RTC might be different for other printers) RS-232 Interface Status Busy due to Error or Flow Control.
Page 234
6-208 Commands Identifier Description of sensor or state State Value RTC Sensor Bit if Applicable for 7167 / 7197 Series II (Note: Meaning Value (Hex) RTC might be different for other printers) Power Supply Voltage Out of operating range. RTC Response (10 04 03) – Bit 6 Normal operating range.
Page 235
Commands 6-209 Identifier Description of sensor or state State Value RTC Sensor Bit if Applicable for 7167 / 7197 Series II (Note: Meaning Value (Hex) RTC might be different for other printers) Reserved for future use which might include defining additional bytes to extend the message structure beyond the existing 3 bytes.
Page 236
6-210 Commands The purpose of the transmission after power-up is to handle the case of the printer entering an error state that requires a reset, or power-cycle of the printer to correct it. Unless the current status of Sensor and State information is transmitted to the host, the controlling software on the host might be unaware of any changes in status resulting from the reset or power-cycle.
Page 237
Commands 6-211 This command selects standard or compressed font for printing Bar Code characters. Example: MSComm1.Output = Chr$(&H1D) & Chr$(&H66) & Chr$(n) Select Bar Code Height ASCII GS h n Hexadecimal 1D 68 n Decimal 29 104 n Value of n Number of dots Range of n 1–255...
Page 238
6-212 Commands There are two variations to this command. The first variation uses a NUL character to terminate the string; the second uses a length byte at the beginning of the string to compensate for the Code 128 bar code, which can accept a NUL character as part of the data.
Page 239
Commands 6-213 Second Variation: Length of Byte Specified at Beginning of String m = 65–73, 75–82 (refer to the table) d = 0–127 (refer to the table) n = 1–255 (refer to the table) The value of m selects the bar code system as described in the table. When data is present in the print buffer, the printer processes the data following m as normal data.
Page 241
Commands 6-215 Example: MSComm1.Output = Chr$(&H1D) & Chr$(&H6B) & Chr$(m) & "123456789012" & Chr$(0) The above command will print the number above or below the bar code, depending on which parameter for m is specified. Exceptions • Illegal data cancels this command. •...
Page 242
6-216 Commands In the case of Expanded and Expanded stacked, when attaching the bracket to AI in HRI, it is necessary to transmit data as follows. Fig. about special data Special Transmit data from HOST Data ASCII Hex Decimal { + ( 7B + 28 123 + 40 to express AI in HRI...
Page 243
Commands 6-217 QR Code: Select the Model ASCII GS (k pL pH cn fn n1 n2) Hexadecimal 1D 28 6B pL pH cn fn n1 n2 Decimal 29 40 107 pL pH cn fn n1 n2 Values of pL, pH specify (pL + pH × 256) as the number of bytes after pH pL,pH (cn, fn, and [parameters]).
Page 244
6-218 Commands This command sets the size of the module for QR Code as n dots. The user must secure the quiet zone (left, right, upward, and downward space areas defined by the QR Code symbol specifications) for QR Code printing. Quiet zone is defined as 4 cells in standard and MicroQR code versions.
Page 245
Commands 6-219 QR Code: Store the Data in the Symbol Storage Area ASCII GS (k pL pH cn fn m d1...dk Hexadecimal 1D 28 6B pL pH cn fn m d1...dk Decimal 29 40 107 pL pH cn fn m d1...dk Range of pL 4–255;...
Page 246
6-220 Commands QR Code: Transmit the Size Information of the Symbol Data in the Symbol Storage Area ASCII GS (k pL pH cn fn m Hexadecimal 1D 28 6B pL pH cn fn m Decimal 29 40 107 pL pH cn fn m Values of pL, pL, pH specify (pL + pH ×256) as the number of bytes after pH (cn, fn, and [parameters]).
Page 247
Commands 6-221 Horizontal and vertical sizes are specified as ASCII value of received byte. They can be obtained by following equations: • Horizontal size—number of cells in Horizontal Direction × Symbol size specified by the command 1D 28 6B 03 00 31 43 n •...
Page 248
6-222 Commands Cancel Print Data in Page Mode ASCII Hexadecimal 18 Decimal This command 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. This command has the same code as the Open Form command, which is performed when the printer is not in Page Mode.
Page 249
Commands 6-223 This command switches from Standard Mode to Page Mode. After printing has been completed either by the Print and Return to Standard Mode command or Select (FF) Standard Mode the printer returns to Standard Mode. The developed data is (1B 53) deleted after being printed.
Page 250
6-224 Commands This command switches the settings for the following commands (the values for these commands can be set independently in Standard Mode and Page Mode) to those for Standard Mode: • Set Right-Side Character Spacing (1B 20) • Select 1/6 Inch Line Spacing (1B 32) •...
Page 251
Commands 6-225 The command can be sent multiple times so that several different print areas, aligned in different print directions, can be developed in the printer’s page buffer before being printed by the Print and Return to Standard mode command (0C) Default 0 (Upper left corner proceeding across page to the right)
Page 252
6-226 Commands This command sets the position and size of the printing area in Page Mode. The command can be sent multiple times so that several different print areas, aligned in different print directions, and can be developed in the printer’s page buffer before being printed by the Print and Return to Standard mode command ( The defaults are equal to an origin of 0,0 and a size of 576x576.
Page 253
Commands 6-227 Formula x 256) x (vertical or horizontal motion unit)] inches. nL + nH This command sets the absolute vertical print starting position for buffer character data in Page Mode. The vertical or horizontal motion unit for the paper roll is used and the horizontal starting buffer position does not move.
Page 254
6-228 Commands Value The value for the horizontal and vertical movement cannot be less than the minimum horizontal movement amount, and must be in even units of the minimum horizontal movement amount. Formulas The distance from the current position is set to [( x 256) x vertical or horizontal nL + nH motion unit] inches.
Page 255
Commands 6-229 If the printer receives a second Select or Cancel Macro Definition command (1D 3A) immediately after previously receiving a Select or Cancel Macro Definition (1D 3A) printer remains in the macro undefined state. Formulas The contents of the macro can be defined up to 2048 bytes. Example: MSComm1.Output = Chr$(&H1D) &...
Page 256
6-230 Commands Formulas The waiting time is t x 100 msec for every macro execution. m specifies macro executing mode when the LSB (Least significant bit) m = 0. The macro executes r times continuously at the interval specified by t when the LSB (Least Significant Bit) of m = 1. Example: MSComm1.Output = Chr$(&H1D) &...
Page 257
Commands 6-231 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 Number of bytes to be read Note: 0 refers to 256 bytes Range of m 0–255 Value of a...
Page 258
6-232 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 m 48–51 This command specifies whether to load the logos or user-defined characters to Flash Memory or to RAM (volatile memory).
Page 259
Commands 6-233 Flash Allocation ASCII GS " U n1 n Hexadecimal 1D 22 55 n1 n2 Decimal 29 34 85 n1 n2 Default Value of n1 1 (see below) Default Value of n2 1 (see below) • is the number of 64k sectors used for logos and user-defined characters. •...
Page 260
6-234 Commands Erase User Flash Sector ASCII GS @ n Hexadecimal 1D 40 n Decimal 29 64 n Value of n 49–50 This command erases a page of Flash Memory and sends a carriage return when the operation is complete. •...
Page 261
Commands 6-235 Value of m, n Function Function (Hex) (Hex) Interface type USB/RS232C RS232C Baud rate 115200 bps 57600 bps 38400 bps 19200 bps 9600 bps 4800 bps 2400 bps 1200 bps Number of data bit 8 data bits 7 data bits Number of stop bit 1 stop bits 2 stop bits...
Page 262
6-236 Commands Function Function (Hex) (Hex) Printer ID mode 7194 Native ID Emulated Printer ID 7197 Series II Native ID Emulation 7194 mode 7193 mode 7197 Series II Native mode Default lines per inch 8.13 lines per inch 7.52 lines per inch 6 lines per inch Carriage return usage Ignore CR...
Page 263
Commands 6-237 Function Function (Hex) (Hex) Print density Paper Low sensor option 00 Paper low sensor enable Paper low sensor disable...
Page 264
Enable knife Disable knife Enable knife w / Buzzer(Low) Enable knife w / Buzzer(High) Max Power option Term Pwr-High NCR 75W Ext Pwr Term Pwr-Low NCR 60W Ext Pwr Color Paper option One Color Paper Two Color Paper Auto Reset timeout...
Page 265
Commands 6-239 Function Function (Hex) (Hex) Default code page 1252 Katakana 932 (or 936, 949, 950) Hungary 1256 Remove Upper Space in Disable Eco utility Enable Remove Lower Space in Disable Eco utility Enable Line Space Reduction in Disable Eco utility Enable Line Feed Reduction in Disable...
Page 266
6-240 Commands Function Function (Hex) (Hex) Barcode Height Disable Reduction in Eco utility Reduce 25% Reduce 50% Reduce 75% Registered Logo Removal 00 01 Disable in Eco utility Enable Force Single High Font in 00 01 Disable Eco utility Enable Bold Font Removal in Eco 00 01 Disable...
Page 267
Commands 6-241 Function Function (Hex) (Hex) Compatibility Barcode Disable Length Enable Receipt Print Mode High Speed Print High Quality Print Eco Print Power-On Thermal Head Failure Detection Mode Standby mode Disabled Enabled Power-off mode Disabled 60min 120min 180min 240min 300min Ethernet RTC Protocol This command sets the printer configuration specified by m and n.
Page 268
6-242 Commands Bit Off/On Hex Decimal Function Standard Pitch (24H x 24V) Compress Pitch (20H x 24V) Undefined Double width mode is not selected Double width mode is selected Double height mode is not selected Double height mode is selected Undefined Undefined Undefined...
Page 269
Commands 6-243 Define User-Defined Kanji Characters ASCII FS 2 c1 c2 d1 … dn Hexadecimal 1C 32 c1 c2 d1 … dn Decimal 28 50 c1 c2 d1 … dn Value of c1 Specifies the beginning Asian character code Value of c2 Specifies the end Asian character code Value of d Image data...
Page 270
6-244 Commands The user-defined character will be cleared by or powering off the printer. Each ESC @ character requires 72 bytes for character definition. The maximum number of user- defined character is 100. Example: MSComm1.Output = Chr$(&H1C) & Chr$(&H32) & Chr$(&HF0) & Chr$(&H40) & Chr$(d1) &...
Page 271
Commands 6-245 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. There are three ways to enter the Download Mode: •...
Page 272
6-246 Commands This command returns ASCII string describing the Flash ACK (06 hex) + 12 bytes Memory Boot Sector Firmware part number, for example, 189-1234567A. Example: MSComm1.Output = Chr$(&H1D) & Chr$(&H00) Return Segment Number Status of Flash Memory ASCII GS SOH Hexadecimal 1D 01 Decimal 29 1...
Page 273
Commands 6-247 This command selects the Flash sector ( ) for which the next download operation applies. The values of the possible sector are restricted, depending upon the Flash part type. The printer transmits an ACK if the sector number is acceptable or an NAK if the sector number is not acceptable.
Page 274
6-248 Commands Erase the Flash Memory ASCII GS SO Hexadecimal 1D 0E Decimal 29 14 This command causes the entire Flash Memory (except the boot) to be erased. The printer returns if the command is successful; if it is unsuccessful. Example: MSComm1.Output = Chr$(&H1D) &...
Page 275
Commands 6-249 Erase Selected Flash Sector ASCII GS DLE n Hexadecimal 1D 10 n Decimal 29 16 n Value and Range of n • 0–7 = 512K bytes Flash • 0–15 = 1M bytes Flash • 0–31 = 2M bytes Flash This command erases the previously selected sector.
Page 276
6-250 Commands The printer may return one of several responses. means that the data was written correctly and the host should transmit the next block. means that, for some reason, the data was not written correctly. This could mean that communications failed or that the write to Flash failed.
Page 277
Flash Utility Information The following instructions provide information on how to use the Flash Utilities provided for the NCR 7167, 7168, 7197, 7198, 7401-K590, 7342-F306, and 734X-F307 printers. These instructions cover the utilities provided for Windows XP GUI, Windows Command Line, and DOS.
Page 278
The following items need to be noted: • The noted font files are included on LPIN A370-0050-0000 or are available from the NCR web site under Retail Solution Specific Printer Firmware. • The * denotes that the printer is preloaded with these fonts from the factory.
Page 279
Reflashing the Printer Firmware 7-253 : Download ipl firmware program : Download boot firmware program (for 7168 models only) : Download ANK font : Download ASIAN font for K590/7402- K592/7197/7342-F306/7346-F306 : Download Receipt ASIAN font for 7167, 7168 , 7198 , 7167-50X1/60X1 : Download Slip ASIAN font for 7167, 7168, 7167-50X1/60X1 : Download SBCS Font for 734X-F307/7125,...
Page 280
7-254 Reflashing the Printer Firmware 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 XP environment. If you issue a call to TseFlash.com with no parameter, you will get the following output that explains the parameters.
Page 281
Reflashing the Printer Firmware 7-255 *.ipl | *.lan | *.bin (Only for K8) [check model(opt)] --> Selections for the check model (Optional Parameter): /skip____________Bypass checking printer model number. /noskip__________(default) Check printer model number & exit when there's a mismatch. [print(opt)] --> Selections for the print (Optional Parameter): /print___________(default) Print printer configuration form.
Page 282
Using TseFlash.exe Utility On the host terminal or PC running Windows, run the utility to start TSEFlash.exe*** the program. Note: The flash utility shown is for demonstration purposes only. Visit the NCR Support Site for the latest release.
Page 283
Configuration Network Chapter 8: Summary The Configuration Network setting page is controlled (respondent HTTP/1.0 This page opens by starting a browser, and inputting directly IP address of the printer. In this page, the settings of network of IP Addresses and others can be seen and be changed.
Page 287
Configuration Network 8-261 TCP/IP Setting IP setting Items Default value Detail 192.168.1.1 Set Printer IP Address. This IP Address is effective Address when Get IP Address is Manual. 255.255.255.0 Subnet Set Printer Subnet Mask. This Subnet Mask Mask Address is effective when Get IP Address is Manual. 0.0.0.0 Default Set Printer Default Gateway.
Page 288
8-262 Configuration Network Default Items Detail value Kind of Driver UPOS 1. Select kind of driver type. 2. Click Default Value button. The TCP setting value is changed to default value of selected driver. Number of Show the maximum number hosts that can be Connections connected.
Page 289
Configuration Network 8-263 SNMP Setting Community Setting Items Default value Detail Read Only public Show SNMP community read only name. Maximum length is 16 characters. Read/Write Set SNMP community read-write name. Maximum length is 16 characters. IP Trap1 setting Default Items Detail value...
Page 290
8-264 Configuration Network IP Trap2 setting Default Items Detail value TRAP Disable Select whether SNMP TRAP is “Enable” or “Disable”. 0.0.0.0 Address Set address of host that receives SNMP TRAP. Community Set SNMP TRAP community name. Name Maximum length is 16 characters.
Page 291
Configuration Network 8-265 Other Settings Port Number setting Default Items Detail value 9100 Sets port number of TCP RAW. This port number range is 1024 to 65535 (expect 3001). When Ethernet RTC Protocol setting is TCP, it is used by sending and receiving of Real Time Command.
Page 292
8-266 Configuration Network FTP User Name setting Items Default value Detail User Name anonymous Show FTP User name. This is fixed.
Page 293
Configuration Network 8-267 Reset Window When the RESET button is pushed, the printer is reset. If the Configuration Network is changed before pushing RESET, the change is not reflected in the printer. When RESET&SUBMIT is pushed in each setting page, the change is reflected in the printer.
Page 294
8-268 Configuration Network IP Address Automatic Acquisition The printer supports DHCP. When Get IP Address is DHCP and DHCP IP Address is , the printer 0.0.0.0 automatically gets the IP address, Subnet Mask and Default Gateway from DHCP server. If the printer fails in the automatic acquisition of the IP address, the printer uses the same IP address as the Manual mode.
Page 295
Configuration Wi-Fi Network Chapter 9: Connect the Printer 1. Connect the printer to a 24 VDC power supply and wait for a beep after approximately 25 seconds. 2. Print a diagnostic page by closing the receipt cover while pressing the paper feed button.
Page 296
9-270 Configuration Wi-Fi Network Display Format of Configuration Setting Page The setting page opens by starting a browser, and directly entering IP address of the printer. In this page, the setting of network of IP Address can be seen and changed. 1.
Page 297
Configuration Wi-Fi Network 9-271 After entering the User Name and Password, the following menu is displayed.
Page 298
9-272 Configuration Wi-Fi Network Client Settings This menu is used to configure the printer to the infrastructure mode according to existing network environment, like Access Point, Security, IP address, and so forth. On the Client Settings menu, there are two options to configure the printer. Select an Existing Network is an option to select the access point from the list of current existing access points.
Page 299
Configuration Wi-Fi Network 9-273 Select an Existing Network 1. Select Select an Existing Network. All the existing Access Points are listed in a table as shown below. 2. Choose an Access Point to connect to and select Select.
Page 300
9-274 Configuration Wi-Fi Network The following menu is shown. Select Advanced Options to specify how the printer IP address is to be assigned—DHCP or Static. Depending on the type of security selected, various options will be displayed to allow the user to enter information required for a particular type of security. Note: Security information is obtained before setting up the printer.
Page 301
Configuration Wi-Fi Network 9-275 • WEP Security—If WEP is selected, the following options are shown. Security Information required: WEP key • WPA/WPA2 Personal—If WPA/WPA2 Personal is selected, the following options are shown. Security information required: Passphrase...
Page 302
9-276 Configuration Wi-Fi Network • WPA/WPA2 Enterprise—If WPA/WPA2 Enterprise is selected, the following options are shown. Security information required: EAP Type, EAP Username; EAP Password, Certificate...
Page 303
Configuration Wi-Fi Network 9-277 Configure the Enterprise Security On the Detail Client Settings Window, there are several securities that can be configured. The following operation shows the steps on how to configure the enterprise security. 1. Fill in the necessary information indicated in the red rectangle and select Upload Certificates.
Page 304
9-278 Configuration Wi-Fi Network 3. Fill in the necessary information indicated in the red rectangle and press Upload Certificates. Note: The format of each certificate file must be and the file size must be less .der than 2 KB. Once the certificate files are uploaded successfully, it pops up with a message that says SUCCESS 3 files Uploaded.
Page 305
Configuration Wi-Fi Network 9-279 4. Select Next on the Detail Client Settings Window and select Save on the confirmation windows for all the settings. 5. Select Apply Settings to make new settings available at the end.
Page 306
9-280 Configuration Wi-Fi Network A message is displayed. Rebooting the printer activates the new settings. The printer beeps once it connects to the network.
Page 307
Configuration Wi-Fi Network 9-281 Setting Up in Limited AP mode This menu is used to configure the printer to the limited access point mode which directly communicates to a system.
Page 308
9-282 Configuration Wi-Fi Network On Detail Client Settings Window, SSID, Channel, Security and DHCP setting are available to set.
Page 309
Configuration Wi-Fi Network 9-283 Once Next is selected on the Detail Client Settings Window, and after all the necessary information are filled in, select Save on the confirmation window if all the settings are correct. Select Apply Settings on the final window to apply the configuration.
Page 310
9-284 Configuration Wi-Fi Network After this message, rebooting the printer activates the new settings. The printer beeps once it connects to the network. The printer SSID is configured as the access point.
Page 311
Configuration Wi-Fi Network 9-285 Change Provision Web-Page User Name and Password This menu is used to define the user name and the password to change the printer setting.
Page 312
9-286 Configuration Wi-Fi Network Once Username and Password are filled in, Save & Apply makes the new settings available.
Page 313
Configuration Wi-Fi Network 9-287 Wifi Firmware The setting page opens by starting a browser, and entering the IP address of the printer. On this page, the Wifi module firmware can be updated. Format: http://(IP address for the printer)/otafu.html Before the Top Screen is displayed, User Name and Password are required. User Name: admin Password: admin On the Top Screen, the following WiFi firmware can be selected to be updated.
Page 314
9-288 Configuration Wi-Fi Network In order to update the WiFi module, choose the relevant binary files and select Upload. Once the update is successfully done, the following message is shown. After this message, rebooting the printer activates the new firmware updated.
Page 315
Specifications Appendix A: Printing Specifications Thermal Receipt Station Print head • Fixed 576 Print Elements Direct • Thermal Fixed Head Line of Dots Character Standard: 13 x 24 Dots Cell Compressed: 10 x 24 Dots Character 0.0525-inch wide by 0.092-inch high Size Character 15.25 characters per inch (horizontal)
Page 316
A-290 Specifications Thermal Receipt Station Line 7.52 lines per inch (default) Spacing 8.47, 8.13, 7.81, 7.25, 7.00, 5.98 lines per inch and variable lines per inch. Print Zone 2.83 inches maximum Noise 57 dBA Sound Pressure (ISO 7779) Graphics User-Defined Graphics, Logo (Optional) Paper reduction, Power reduction Other...
Page 317
+24V line. Based on the Host Terminal Series, a specific printer power mode must be selected. NCR Terminal Power–Low Mode (Term Pwr–Low)—This mode must be selected when the printer is attached to an NCR terminal that is powered by an external power brick. Example: 7600, 7601, 7610, 7611, and so forth.
Page 318
To do this, place a 2.0-ampere time delay fuse on the +24V line. A specific power mode is selected based on available external power supply. When NCR 75W external power supply is used, select (NCR 75W Ext Pwr) mode.
Page 319
Specifications A-293 Environmental Conditions Operating Temperature 5°C to 20°C (40°F to 120°F), models with knife Note: Actual maximum operating temperature of printer is subjected to external power supply adaptor unit used. If a power supply adaptor with a lower operating temperature is selected, the operating temperature of the printer will be limited to the operating temperature of that power supply.
Page 320
A-294 Specifications Density of Receipt Print Lines When the receipt station prints high density print lines (graphics), it automatically slows down to a rate slower than 902 lines per minute. High density print lines are defined as lines with over 50% of the dots printing on the line (there are 576 total dot columns on the print station).
Page 321
Reflashing the Printer Firmware Appendix B: Flash Utility is used to flash the firmware and the font files to the printer. Note: For the detailed procedure, please refer to the NCR Printer Flash Utility Owners Guide from the NCR web site, http://www5.ncr.com/support/support_drivers_...
Page 323
Lean Receipt Utility Appendix C: Lean Receipt Utility is used to set the printer ECO setting from the utility. Note: For the detailed procedure, please refer to the NCR Printer Lean Receipt Utility Owners Guide from the NCR web site, http://www5.ncr.com/support/support_drivers_...
Page 325
Print Characteristics Appendix D: 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). Note: Compressed pitch uses fewer dots horizontally than standard pitch.
Page 326
D-300 Print Characteristics Compressed Pitch Print Zones This section shows the printable area for the receipt station. Receipt Station For 80-mm Paper The receipt station centers characters (standard pitch and compressed pitch) and graphics on a receipt with a width of 27 dots or 80 mm (3.15 inches). •...
Page 327
Print Characteristics D-301 The minimum print line height is 24 dots for characters and 24 dots for graphics. The standard print line height is 27 dots or 3.38 mm (0.133 inches) for characters (with three extra dot rows). Refer to the illustration below (not to scale). For 58-mm Paper The receipt station centers characters (standard pitch and compressed pitch) and graphics on a receipt with a width of 58 mm (2.28 inches).
Page 329
Thai Code Page Function Appendix E: Outline 7197 SII supports printing of Thai characters. Code Page 874 (Thai) supports Thai character, but, some characters of them define only a part of one character. Actual Thai character is made up of a combination of some characters (maximum 4 characters in CP 874) for one Thai character.
Page 330
E-304 Thai Code Page Function Validate Thai Code Page Function The Thai code page function is validated when the following conditions are selected. • Online mode • Asian Mode = OFF • Code Page = 874 Thai Character Configuration The character cell of Thai character is made up of a maximum 4 parts—Top level, Above level, Base line and Below level.) •...
Page 331
Thai Code Page Function E-305 Character Types Base line characters • Base line characters are the characters encircled in red, purple, and pink. • The characters encircled in purple will not have below level characters, but they are rarely used. •...
Page 332
E-306 Thai Code Page Function Thai Character Data Procedure Thai character data string uses the following format: Base character, <Below character >, <Above character>, <Top character>, Base character, …… The printer checks whether the received character is the Base character. If the Top, Above, Below characters are sent before the Base character, these characters are ignored.
Page 333
Thai Code Page Function E-307 Limitation The unicode command is ignored under the Thai code page function. When the Asian mode = ON, the Thai character image is not synthesized. Each character is printed separately.
Page 335
Arabic font support Appendix F: Outline 7197 SII supports supports several features of Arabic font, such as the following: • Contextual forms • Word ligatures • Reverse the Arabic strings These features can be achieved based on the proportional font and if they are available according to the following conditions: •...
Page 336
F-310 Arabic font support Reverse the Arabic strings Arabic writing is from right to left by aligning right margin. The data received by the printer will reverse the arabic string and print as per the Arabic format, which is right to left.
Page 337
Arabic font support F-311 Receiving data Limitations Due to the features of Arabic font, there are several limitations in terms of the character attributes. Refer to the command description of Print Characteristic Commands in detail. Invalid command list This is a list of commands which are not available if a new Arabic character is used. Command Command name Remarks ESC DC2...
Page 338
F-312 Arabic font support Command Command name Remarks ESC V Select or Cancel 90 Degrees Clockwise Rotated Print ESC { Select or Cancel Upside Down Printing Mode US ENQ Selects Superscript or Subscript Modes The following table contains a list of commands which are ignored if the command is sent in the middle of a line that includes an Arabic character.
Page 339
Arabic font support F-313 CodePage CP437 + Receive data CodePage CP437 + Receive data(Unicode) CodePage CP437 + Receive data(Unicode) CodePage CP1256 + Receive data CodePage CP1256 + Receive data CodePage CP1256 + Receive data(Unicode)
Page 340
F-314 Arabic font support CodePage CP1256 + Receive data(Unicode) Invalid command in middle of the line (example) It is invalid for the middle of the line Ex) DC2 Select Double-Wide Characters CodePage CP437 + Receive data CodePage CP437 + Receive data CodePage CP437 + Receive data(Unicode) CodePage CP437 + Receive data(Unicode) CodePage CP1256 + Receive data...
Page 341
Arabic font support F-315 CodePage CP1256 + Receive data CodePage CP1256 + Receive data(Unicode) CodePage CP1256 + Receive data(Unicode) Printing Layout (Over the Area) If the Arabic character line exceeds printable area, it will be printed as bellows.
Page 342
F-316 Arabic font support 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 343
Arabic font support F-317 Code Page 950 Code Page 437, 850, 852 and 858...
Page 344
F-318 Arabic font support Code Page 860, 862, 863 and 864...
Page 345
Arabic font support F-319 Code Page 865, 866, 874 and 1252...
Page 346
F-320 Arabic font support Code Page 1256 and Katakana...
Page 347
Arabic font support F-321 Code Page 932...
Need help?
Do you have a question about the 7197 II Series and is the answer not in the manual?
Questions and answers