NCR 7156 Owner's Manual

Thermal receipt and impact slip (rs232)
Hide thumbs Also See for 7156:
Table of Contents

Advertisement

NCR 7156 Thermal Receipt and
Impact Slip (RS232)
Owner's Guide
BD20-1436-A
Issue B
September 1997

Advertisement

Table of Contents
loading

Summary of Contents for NCR 7156

  • Page 1 NCR 7156 Thermal Receipt and Impact Slip (RS232) Owner’s Guide BD20-1436-A Issue B September 1997...
  • 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: Table Of Contents

    7156 Owner’s Guide Contents Contents Chapter 1: About the 7156 Printer Features and Options........................ 2 Receipt Station........................2 Slip Station .......................... 2 Both Stations ........................2 General Features ........................ 3 Options ..........................3 Thermal Printhead ........................3 Impact Printhead........................3 Ordering Paper and Supplies ....................
  • Page 4 Contents 7156 Owner’s Guide Paper Low Sensor........................26 Chapter 3: Solving Problems Printer Beeps Twice ........................ 27 Green LED Does Not Come On/Printer Will Not Print ............ 27 Red LED Flashes........................28 Red LED Is Constant....................... 28 Slip or Forms Printing is Light ....................29 Receipt Printing is Light or Spotty..................
  • Page 5 7156 Owner’s Guide Contents Chapter 6: Commands Command List ......................... 55 Printer Function Commands ..................55 Print Characteristics Commands ................... 57 Station Select Commands....................58 Graphics Commands ....................... 58 Printer Status Commands ....................58 Real Time Commands ..................... 59 Bar Code Commands....................... 59 MICR Check Reader Commands ...................
  • Page 6 Contents 7156 Owner’s Guide September 1997...
  • Page 7: Chapter 1: About The 7156 Printer

    Extended Slip Table The 7156 printer is a fast, quiet, relatively small and very reliable multiple- function printer. It prints receipts, validates and prints checks, and prints on a variety of single- or multiple-part forms. There is no journal as it is kept electronically by the host computer.
  • Page 8: Features And Options

    Chapter 1: About the 7156 Printer 7156 Owner’s Guide Features and Options The 7156 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 9: General Features

    History EEROM for custom settings Power and communication support for a remote 2x20 pass-through display Audible tone (controlled by application) Note: The 7156 does not use a paper journal. The journal is kept electronically by the host computer. Options Magnetic Ink Character Recognition (MICR) check reader built into the slip station for...
  • Page 10: Ordering Paper And Supplies

    Voice: 1(800)543-8130 (toll free), or local listing of Media Products sales office Ordering Forms The 7156 prints on single- or multiple-part forms in the slip station (up to five-part forms). Forms and slips must meet the following requirements: Front insertion (minimum): 51 mm (2.0 inches) wide...
  • Page 11: Ordering Ribbon Cassettes

    7156 Owner’s Guide Chapter 1: About the 7156 Printer Ordering Ribbon Cassettes To order ribbon cassettes, contact your sales representative or order from NCR at the following address or toll free number: Media Products Division 9995 Washington Church Road Miamisburg, OH 45342 Voice: 1(800)543-8130 (toll free), or local listing of Media Products sales office Stock Numbers: 198161 (purple ribbon cassette—3 million characters)
  • Page 12: Cleaning The Printer

    Cooking oils Ultraviolet light There is no scheduled maintenance required for the 7156. Clean the cabinet as needed to remove dust and finger marks. Use any household cleaner designed for plastics, but test it first on a small unseen area. If the receipt bucket is dirty, wipe it with a clean, damp cloth.
  • Page 13: Chapter 2: Setting Up And Using The Printer

    Installation report card (please complete this form and return to NCR) 7156 Thermal Receipt and Impact Slip Printer: Setup and User’s Guide These items may be ordered as options from NCR and will be shipped separately: Communication cable (from host computer to printer) Cash drawer with cables (may be ordered from other equipment suppliers: see “Ordering Other Supplies”...
  • Page 14: Removing The Packing Material

    Chapter 2: Setting Up and Using the Printer 7156 Owner’s Guide Removing the Packing Material Receipt Cover Once the printer is removed from the foam pack and plastic bag, open the receipt cover by pulling up on the front left corner.
  • Page 15: Repacking The Printer

    Place the printer in the plastic bag and foam pack, place the packed printer in the box and secure the box with packing tape. 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 16: Choosing A Location

    7156 Owner’s Guide Choosing a Location The 7156 printer takes up relatively little counter space and may be set on or near the host computer. Make sure there is enough room to open the receipt cover to change the paper and to open the front cover to change the ribbon cassette.
  • Page 17 Button Note: Switch 1 is shown in the Off position for reference. Note: Some 7156 models may appear slightly different from what is shown in the illustration. The procedures are the same for all models unless otherwise noted. Use a paper clip or other pointed object to set the switches.
  • Page 18: Connecting The Cables

    Chapter 2: Setting Up and Using the Printer 7156 Owner’s Guide *Switch 4 is not used if the parity is disabled (switch 3 set to OFF). Connecting the Cables There are three different types of cables that connect to the printer:...
  • Page 19 7156 Owner’s Guide Chapter 2: Setting Up and Using the Printer Cash Drawer Strain Relief Cash Drawer Connector 2 Bushings Connector 1 Cable Power Communication Cable Access Cable Cable Clamps Cover Power Connector Communication Connector Bottom of the Printer September 1997...
  • Page 20: Turning On The Printer

    Chapter 2: Setting Up and Using the Printer 7156 Owner’s Guide Turning On the Printer On Line Button with Recessed On Line Button Plunger On Line On Line Green LED Green LED Paper Status Paper Status Red LED Red LED...
  • Page 21: Loading And Changing The Receipt Paper

    7156 Owner’s Guide Chapter 2: Setting Up and Using the Printer Loading and Changing the Receipt Paper Although the illustrations show a used roll being removed, the instructions apply to loading paper for the first time. Change the paper when either of the following two conditions occurs: Paper Status LED (red) flashes: the paper is low There are approximately 1 ½...
  • Page 22: Removing The Paper Roll

    Chapter 2: Setting Up and Using the Printer 7156 Owner’s Guide Removing the Paper Roll Open the receipt cover. Remove the used roll. Receipt Cover September 1997...
  • Page 23: Putting In The Paper Roll

    7156 Owner’s Guide Chapter 2: Setting Up and Using the Printer Putting In the Paper Roll Note: Tear off the end of the new roll so that the edge is loose. Place the new roll in the bin with a little extra paper extending over the front.
  • Page 24: Putting In And Changing The Ribbon Cassette

    Chapter 2: Setting Up and Using the Printer 7156 Owner’s Guide Putting In and Changing the Ribbon Cassette Change the ribbon cassette when the print is too light or the ribbon is frayed. Removing the Ribbon Cassette Open the front cover.
  • Page 25: Putting In The Ribbon Cassette

    7156 Owner’s Guide Chapter 2: Setting Up and Using the Printer Putting In the Ribbon Cassette Tighten the ribbon by turning the knob in the direction of the arrow. Position the ribbon cassette on the carriage and snap it into place.
  • Page 26: Printing On Forms Or Checks

    Although the illustration on the facing page shows a check being inserted into the printer, the instructions apply to any type of form. The 7156 can print on forms up to five-parts thick. See “Ordering Forms” in chapter 1 for more information about the type of forms that can be used.
  • Page 27 7156 Owner’s Guide Chapter 2: Setting Up and Using the Printer 2001 PAY TO THE ORDER OF DOLLARS MEMO ¦ Check Orientation Guide Slip Table Extended Slip Table September 1997...
  • Page 28: Validating And Verifying Checks

    Chapter 2: Setting Up and Using the Printer 7156 Owner’s Guide Validating and Verifying Checks Note: If the MICR check reader feature is present, checks are verified then validated. Insert the check from the front and place it on the slip table face down as shown in the illustration on the facing page.
  • Page 29 7156 Owner’s Guide Chapter 2: Setting Up and Using the Printer ENDORSE HERE DO NOT WRITE, STAMP OR SIGN BELOW THIS LINE RESERVED FOR FINANCIAL INSTITUTION USE Check Orientation Guide Slip Table Extended Slip Table September 1997...
  • Page 30: Testing The Printer

    Chapter 2: Setting Up and Using the Printer 7156 Owner’s Guide Testing the Printer Test the receipt station using the simple tests described in this section. To further test the receipt station or to test the slip station, run the level 1 diagnostic tests described in “Level 1 Diagnostics”...
  • Page 31: Sample Print Test

    7156 Owner’s Guide Chapter 2: Setting Up and Using the Printer Sample Print Test September 1997...
  • Page 32: Paper Low Sensor

    Chapter 2: Setting Up and Using the Printer 7156 Owner’s Guide Paper Low Sensor The paper low sensor is set at the factory to detect when there are about 4 ½ meters, meters (15 feet, 10 feet), of receipt paper remaining. The sensor is adjustable to detect less or more paper remaining.
  • Page 33: Chapter 3: Solving Problems

    Chapter 3: Solving Problems Chapter 3: Solving Problems The 7156 printer is a simple, generally trouble-free printer, but from time to time minor problems may occur. For example, the power supply may be interrupted or the thermal printhead may overheat.
  • Page 34: Red Led Flashes

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

    7156 Owner’s Guide Chapter 3: Solving Problems Paper jam in slip station Open the front cover and check the slip table and under the carriage. Remove any paper you see. Close the front cover. Press the On Line button twice to reset the printer.
  • Page 36: Led (Slip Table) Does Not Come On

    Chapter 3: Solving Problems 7156 Owner’s Guide LED (Slip Table) Does Not Come On Problem What to Do Where to Go Form or check not inserted Line up the form or check against the guide See “Printing on Forms or...
  • Page 37: Other Serious Problems

    For serious problems, such as the printer not printing, not communicating with the host computer, or not turning on, contact your NCR-authorized service organization to arrange for a service call. In addition to the service guide listed below, other service-related materials may be available.
  • Page 38 Chapter 3: Solving Problems 7156 Owner’s Guide September 1997...
  • Page 39: Chapter 4: Diagnostics

    7156 Owner’s Guide Chapter 4: Diagnostics Chapter 4: Diagnostics The following diagnostic tests are available for the 7156: Level 0 Diagnostics Performed during the startup cycle Level 1 Diagnostics (setup mode) Available in a dedicated environment and accessed through the DIP Switches...
  • Page 40: Level 1 Diagnostics

    Chapter 4: Diagnostics 7156 Owner’s Guide Level 1 Diagnostics Level 1 diagnostics (setup mode) allow you to change the settings for various printer functions and to run certain tests using the DIP switches. Keep the following information in mind when changing the settings: The settings can only be changed when the printer is in level 1 diagnostics (setup mode): Switch 1 must be set to On.
  • Page 41: Setting Printhead Resistance

    (A-D, 0-3) stamped on the heatsink in back of the printhead, visible by removing the top cover of the printer. See the 7156 Service Guide for information on removing the top cover. This procedure should only be performed by a trained service representative.
  • Page 42: Setting Partial Cut Distance

    Chapter 4: Diagnostics 7156 Owner’s Guide Setting Partial Cut Distance This function changes the length of the partial knife cut: the higher the number, the longer the cut. Caution: The DIP switches are pre-set at the factory and should generally not be changed.
  • Page 43: Setting Data Error And Data Buffer Options)

    7156 Owner’s Guide Chapter 4: Diagnostics Setting Data Error and Data Buffer Options) This function allows you to select the handling of data reception errors and to select the size of the data buffer. Caution: The DIP switches are pre-set at the factory and should generally not be changed.
  • Page 44: Ignoring/Using The Carriage Return

    Ignore CR (Hex. 0D) Use CR (Hex. 0D) as Print Command (Default)* *Emulates the NCR 7150™ printer. Close the front cover and press the On Line button (or plunger). The green LED flashes when the printer cycles. The settings are entered into EEROM.
  • Page 45: Checking And Adjusting The Micr Check Reader

    7156 Owner’s Guide Chapter 4: Diagnostics Checking and Adjusting the MICR Check Reader The adjustment described in this section cancels or sharply reduces extraneous signals picked up by the Magnetic Ink Character Recognition (MICR) check reader. Note: The MICR check reader feature has been factory adjusted for a normal operating environment with a host computer.
  • Page 46 Chapter 4: Diagnostics 7156 Owner’s Guide Insert a blank slip into the slip station from the left side so that it covers the MICR read head, but does not come into contact with the feed rolls. See the illustration below.
  • Page 47 7156 Owner’s Guide Chapter 4: Diagnostics Caution: Do not adjust the potentiometers if the green LED is not lit (indicating the switches are incorrectly set). Doing so causes an incorrect noise sample. Note: You may need to perform the following steps several times to get the potentiometers adjusted for the least amount of noise.
  • Page 48: Verifying Read Of Micr Characters

    Chapter 4: Diagnostics 7156 Owner’s Guide Verifying Read of MICR Characters This test reads the characters on a check and prints a hexadecimal dump of the characters on the receipt. It is run during normal operation (on-line mode). Caution: The DIP switches are pre-set at the factory and should generally not be changed.
  • Page 49: Running The Data Scope Mode

    7156 Owner’s Guide Chapter 4: Diagnostics Running the Data Scope Mode This test prints a hexadecimal dump of all data sent to the printer: “1” prints as hexadecimal 31, “A” as hexadecimal 41 and so on. This helps troubleshoot communication problems, and runs during a host application (after being enabled in Level 1 Diagnostics).
  • Page 50: Testing The Slip And Receipt Stations

    Chapter 4: Diagnostics 7156 Owner’s Guide Exit the Data Scope Mode Open the front cover and set the DIP switches to the following settings: Switch 7 is always Off. Switch 8: On = knife, Off = non- knife Switch Switch...
  • Page 51 7156 Owner’s Guide Chapter 4: Diagnostics Insert a blank check into the slip station. The green LED comes on indicating the check is in the proper position. Press the Paper Feed button to print the sample check. The check is fed back out.
  • Page 52: Level 2 Diagnostics

    Chapter 4: Diagnostics 7156 Owner’s Guide Print a Sample Receipt (Single or Continuous) These tests print sample receipts, either once or continuously. Caution: The DIP switches are pre-set at the factory and should generally not be changed. If you must change them, do so carefully to avoid changing other functions.
  • Page 53: Level 3 Diagnostics

    7156 Owner’s Guide Chapter 4: Diagnostics Slip carriage motor jam Receipt printhead too hot or voltages out of range (red LED flashes) See “Chapter 3: Solving Problems” for more information about other conditions that may occur and how to correct them.
  • Page 54: Sample Print Test

    Chapter 4: Diagnostics 7156 Owner’s Guide To stop the test, press the Paper Feed button. The printer is ready to receive and print data from the host computer. Sample Print Test September 1997...
  • Page 55: Chapter 5: Communication

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

    For DTR/DSR, changes in the DTR/DSR signal coordinate the data flow. The RS-232C version of the 7156 offers the standard options which are selected with the DIP switches. See “Switch Settings” later in this chapter.
  • Page 57: Xon/Xoff Protocol

    7156 Owner’s Guide Chapter 5: Communication 0.88 Seconds 0.44 Seconds 1.2 Seconds 1.76 Seconds 0.88 Seconds 2.4 Seconds XON/XOFF Protocol The XON/XOFF characters coordinate the information transfer between the printer and the host computer. The printer sends an XON character when it is ready to receive data and it sends an XOFF character when it cannot accept any more data.
  • Page 58: Rs-232C Technical Specifications

    9-pin male D-shell connector and is located in the hollow cavity under the printer at the rear. The 7156 is always remotely powered. The illustration shows the power cable connector and pin assignments. The power cable connector is a 6-pin mini DIN plug and is located in the hollow cavity under the printer at the rear.
  • Page 59: Switch Settings

    7156 Owner’s Guide Chapter 5: Communication Drawer 1 Status Switch Drawer 2 Status Switch +24 Volts (to Solenoid +) +24 Volts (to Solenoid +) Drawer 2 Solenoid (Optional by Drawer 2 Solenoid jumper: J13-1 to J14-1) Ground (Status Switch Return)
  • Page 60: Setting Extra Rs-232C Options

    Chapter 5: Communication 7156 Owner’s Guide Odd Parity Even Parity 5, 6 19,200 Baud 9600 Baud (default) 4800 Baud 1200 Baud *Switch 4 is not used if the parity is disabled (switch 3 set to OFF). Setting Extra RS-232C Options...
  • Page 61: Chapter 6: Commands

    7156 Owner’s Guide Chapter 6: Commands Chapter 6: Commands The commands control all operations and functions of the 7156 printer, from selecting the size and placement of characters and graphics on the receipt or slip to feeding and cutting the paper.
  • Page 62 Chapter 6: Commands 7156 Owner’s Guide Printer Function Commands Page Hex Code Command Horizontal Tab Line Feed Print and Eject Slip Carriage Return Clear Printer Close Form (Slip Station) 14 n Feed n Print Lines 15 n Feed n Dot Rows...
  • Page 63: Print Characteristics Commands

    7156 Owner’s Guide Chapter 6: Commands 1B 70, etc. Generate Pulse to Open Cash Drawer 1B 73 n, etc. Write to Non-Volatile Memory 1B 7A n Set or Cancel Parallel Journal Printing 1D 14 n Reverse Feed n Lines (Slip Station)
  • Page 64: Station Select Commands

    Chapter 6: Commands 7156 Owner’s Guide Station Select Commands These commands control which station incoming data is printed on. Station Select Commands Hex Code Command Page 1B 63 30 n Select Receipt or Slip for Printing, Slip for MICR Read...
  • Page 65: Real Time Commands

    7156 Owner’s Guide Chapter 6: Commands Real Time Commands These commands provide an application interface to the printer even when the printer is not handling other commands (RS-232C communication interface only) and are listed in numerical order of their Hex codes.
  • Page 66: Command Descriptions

    Chapter 6: Commands 7156 Owner’s Guide Command Descriptions This section lists the commands with their Hex, Decimal, and ASCII codes. The commands are grouped according to the following categories: Printer Function Commands Print Characteristics Commands Station Select Commands Graphics Commands...
  • Page 67: Carriage Return

    7156 Owner’s Guide Chapter 6: Commands Carriage Return Prints one line from the buffer and feeds paper one line. The printer can be set through the DIP switches to ignore or use this command. Some applications expect the command to be ignored while others use it as a print command.
  • Page 68: Add N Extra Dot Rows

    Chapter 6: Commands 7156 Owner’s Guide Feed n Dot Rows Feeds paper n dot rows without printing. Decim ASCII Value of Receipt Slip 0-127 15 n 21 n NAK n n/152 inch n/72 inch Add n Extra Dot Rows Adds n extra dot rows to the character height to increase space between print lines or decrease number of lines per inch.
  • Page 69: Generate Tone

    7156 Owner’s Guide Chapter 6: Commands Open Form (Slip Station) Opens the feed roller and platen (forms compensation arm assembly) so that a form may be inserted (default position). Decim ASCII Full Knife Cut This command is implemented the same as Partial Knife Cut (1A, 1B 6D). Use either Hex 19 or Hex 1B 69.
  • Page 70: Set Character Right-Side Spacing

    Chapter 6: Commands 7156 Owner’s Guide 1-56 (Compressed) 1-80 (Compressed) n resets to one after each line is printed. Set Character Right-Side Spacing This command is not implemented and is ignored if received. Decimal ASCII 1B 20 n 27 32 n...
  • Page 71: Initialize Printer

    As the 7156 is able to detect carriage motor jams, the printhead does not need to be homed after each receipt. The Epson TM-930™ homes the printhead after each receipt because it is unable to detect carriage motor jams.
  • Page 72: Set Slip Eject Length

    Chapter 6: Commands 7156 Owner’s Guide Column Width is reset to 44 characters (receipt) and 66 characters (slip) Decim ASCII 1B 40 27 64 ESC @ Set Slip Eject Length This command is not implemented and is ignored if received.
  • Page 73: Set Or Cancel Unidirectional Print (Slip Station)

    7156 Owner’s Guide Chapter 6: Commands Print and Reverse Feed n Minimum Units (Slip Station) Prints one line from the buffer and reverse feeds the paper n/144 of an inch on the slip station. The receipt station cannot be reverse fed. If the receipt station is selected, the paper is fed forward n/360 of an inch.
  • Page 74: Select Sensors To Stop Printing

    Chapter 6: Commands 7156 Owner’s Guide The values for n1 and n2 are two bytes in low byte, high byte word orientation. Determine the value of n by multiplying the number of columns to move left of the current position by 10 (standard pitch) or 8 (compressed pitch). The example shows how to set the relative position two columns in standard pitch (10 dots per column) to the left of the current position.
  • Page 75: Print And Feed N Lines

    7156 Owner’s Guide Chapter 6: Commands Enable or Disable Panel Switch (Paper Feed Button) Toggles the paper feed button on and off. Only the lowest bit is used to toggle the paper feed button. If the last bit is 0, the paper feed button is enabled. If the last bit is 1, the paper feed button is disabled.
  • Page 76: Generate Pulse To Open Cash Drawer

    = First Byte n2 = Second Byte Locations 00-15 (Hex) are reserved. Set or Cancel Parallel Journal Printing Because there is no journal station on the 7156, this command is not implemented and is ignored if received. Decimal ASCII...
  • Page 77: Set Left Margin

    GS DC4 n Reverse Feed n Dots (Slip Station) Reverses the paper feed in the slip station by n dots at 1/72 inch (NCR 7150™ command). The next Dot Feed command reverses the paper feed back to the normal feed direction.
  • Page 78: Print Characteristics Commands

    0-255 Journal Tab As there is no journal station on the 7156, this command is ignored as a tab command. However, it is identical to the Select Receipt Station (1E) command and is used as indicated under the following conditions:...
  • Page 79: Rotated Print

    7156 Owner’s Guide Chapter 6: Commands Single-Wide Characters Prints single-wide characters. Single-wide characters may be used in the same line with double-wide characters, but not in the same line with rotated characters or with single or double-density graphics. Decim ASCII Rotated Print Rotates characters 90 degrees counterclockwise.
  • Page 80: Select Character Set

    Chapter 6: Commands 7156 Owner’s Guide Function Bit 0 1 Pitch Standard Pitch 2 Compressed Pitch 56 Col/Line, 19 CPI (Rec) 44 Col/Line, 15 CPI (Rec) 80 Col/Line, 17.1 CPI (Slip) 66 Col/Line, 13.9 CPI (Slip) Bit 4 Double Canceled...
  • Page 81 The bytes are printed down and across each cell Define User-Defined Character Set (Slip Station) Defines and enters downloaded characters (for the slip station) into RAM (this command is both an NCR 7150™ and an Epson TM-T80™ command). Decimal ASCII 1B 26 0 c1 c2 d1 .
  • Page 82: Copy Character Set From Rom To Ram

    Chapter 6: Commands 7156 Owner’s Guide Receipt Characters (1B 26 3) Slip Characters (1B 26 0) Top of Character Top of Character d1 d4 Most Significant Bit Is Not Printed Copy Character Set from ROM to RAM Copies characters in the active ROM set to RAM. Use this command to re-initialize the user defined character set.
  • Page 83: Summary Of Rotated Printing

    7156 Owner’s Guide Chapter 6: Commands 1B 52 n 27 82 n ESC R n 0 = Code Page 437 1 = Code Page 850 1B 74 n 27 116 n ESC t n Set or Cancel Rotated Print Rotates characters 90 degrees clockwise. It remains in effect until the printer is reset or until a Clear Printer (10) or Rota ted Print (1B 12) command is received.
  • Page 84: Station Select Commands

    See Set Slip Waiting Time (1B 66 m n). As there is no journal station on the 7156, bit 0 and bit 1 both select the receipt station. In the Epson TM-930™ the command can be used to select the journal station (bit 0). The command is valid only when input at the beginning of a line.
  • Page 85: Graphics Commands

    Chapter 6: Commands Note: This command is identical to Journal Tab (1E), an Epson TM-930™ command. As there is no journal station on the 7156, this command is ignored as a tab command. The following conditions occur when this command is used:...
  • Page 86 Chapter 6: Commands 7156 Owner’s Guide Slip Station No. of Dots No. of Dots Number (Vertical) (Horizontal) Value of Mode Dots/LIn 7 Dot Single Density 7 (72 DPI) 330 (69.5 DPI) 7 x 330 7 Dot Double Density 7 (72 DPI)
  • Page 87 Single-Density Graphics This NCR 7150™ command is not available. Use Set Bit Image Mode (1B 2A) described on the previous page. The Hex code, 1B 4B, is used for an Epson command, Print and Reverse Feed n Mininimum Units (1B 4B n).
  • Page 88 Chapter 6: Commands 7156 Owner’s Guide Downloaded Bit Image (1D 2A), or Define User-Defined Character Set (1B 26) is received. The downloaded bit image and user-defined characters cannot be defined at the same time. Any user-defined characters will be cleared from RAM when this command is used. See the illustration on the facing page for a graphic representation of the downloaded bit image.
  • Page 89: Printer Status Commands

    7156 Owner’s Guide Chapter 6: Commands Quadruple *Dot density measured in dots per inch. Printer Status Commands These commands enable the printer to communicate with the host computer following the selected handshaking protocol, either DTR/DSR or XON/XOFF. They are stored in the printer’s data buffer as they are received, and are handled by the firmware in the order in...
  • Page 90: Transmit Printer Id

    Chapter 6: Commands 7156 Owner’s Guide Status Byte (RS-232C) Function 0 Signifies 1 Signifies Receipt Paper Receipt Cover or Front Cover Closed Open Receipt Paper Always Zero Always Zero Slip Leading Edge Sensor Not Covered Covered Slip Trailing Edge Sensor...
  • Page 91 7156 Owner’s Guide Chapter 6: Commands This command is a batch mode command; that is, the response is transmitted after all prior data in the receive buffer has been processed. There may be a time lag between the printer receiving this command and transmitting the response, depending on the receive buffer status.
  • Page 92 Chapter 6: Commands 7156 Owner’s Guide If any of the status items listed above are selected, ASB is enabled and the printer automatically transmits 4 status bytes whenever the selected status changes. If no status is selected, ASB is disabled.
  • Page 93 7156 Owner’s Guide Chapter 6: Commands Not used. Fixed to off. No unrecoverable error. Unrecoverable error occurred. No recoverable error. Recoverable error occurred (one of following). Receipt cover open prevents receipt print Cassette cover open prevents slip print Receipt paper exhaust prevents receipt print...
  • Page 94: Transmit Status

    Chapter 6: Commands 7156 Owner’s Guide Possible to print on slip. Not possible to print on slip: slip not inserted. Undefined Undefined Not used. Fixed to off. Undefined Undefined Not used. Fixed to off. Transmit Status Transmits the status specified by n.
  • Page 95 7156 Owner’s Guide Chapter 6: Commands Notes When DTR/DSR RS232C communications handshaking control is selected, the printer transmits the one byte response only when the host signal DSR indicates it is ready to receive data. When XON/XOFF RS232C communications handshaking control is selected, the printer transmits the one byte response regardless of the host signal DSR.
  • Page 96: Real Time Commands

    Chapter 6: Commands 7156 Owner’s Guide There is no more printing space on the current slip, or the slip paper is not selected. 1 to 8 Remaining print area on the current slip, in number of lines, at the currently set line spacing, when the trailing edge sensor has become uncovered.
  • Page 97: Alternate Implementation

    U950™ application which is being migrated to a 7156. This application would not be using the 7156 Clear Printer command at all since it is not recognized by the Epson printers. Note: The DLE (Hex 10) sequences as implemented on Epson’s TM-T85™ and TM-U950™...
  • Page 98: Moving Data Through The Buffer

    Chapter 6: Commands 7156 Owner’s Guide In this case the printer will use the real time command sequence bytes instead of the other command’s parameter bytes when finally executing that other command from the buffer; the other command will NOT be executed correctly.
  • Page 99 7156 Owner’s Guide Chapter 6: Commands The command is ignored if n is out of range. DLE Sequence Decimal ASCII Value of n 1 = Transmit printer status 10 04 n 16 4 n DLE EOT n 2 = Transmit RS-232C busy status...
  • Page 100 Chapter 6: Commands 7156 Owner’s Guide Paper feed button is pressed Fixed to On Printing not stopped due to paper condition Printing stopped due to paper condition No error condition Error condition exists in the printer Fixed to Off 3 = Transmit Error Status...
  • Page 101: Real Time Request To Printer

    7156 Owner’s Guide Chapter 6: Commands Receipt paper adequate Receipt paper low Fixed to On Receipt paper present Receipt paper exhausted Receipt paper present Receipt paper exhausted Fixed to Off 5 = Transmit Slip Paper Status Statu Decim Function Fixed to Off...
  • Page 102 Chapter 6: Commands 7156 Owner’s Guide Decimal ASCII Value of n 1D 03 n 29 3 n GS ETX n 1 = Recover and restart 2 = Recover and clear buffers 3 = Cancel slip waiting The command is ignored if n is out of range.
  • Page 103: Real Time Printer Status Transmission

    Error condition exists in the printer Fixed to On 7156 Clear Printer Command Resets certain parameters and clears the print buffer as originally defined. This is NOT a Real Time command. It only distinguishes the Clear Printer command from other DLE sequences.
  • Page 104: Bar Code Commands

    Chapter 6: Commands 7156 Owner’s Guide While MICR data is still outstanding, an application should use the real time GS ENQ. A response to GS ENQ can still arrive “inside” ASCII MICR data, but it can be recognized and extracted. And although ASCII MICR data cannot be distinguished from responses to ESC u and ESC v, those are all non-real time responses and will arrive in the order in which they were solicited.
  • Page 105: Select Height Of Bar Code (Receipt Station)

    7156 Owner’s Guide Chapter 6: Commands Select Printing Position of HRI Characters (Receipt Station) Prints HRI characters (Human Readable Interface) above or below the bar code. Decimal ASCII Value of n (Printing Position) Defau 1D 48 n 29 72 n...
  • Page 106: Print Bar Code (Receipt Station)

    Chapter 6: Commands 7156 Owner’s Guide Print Bar Code (Receipt Station) Selects the bar code type and prints a bar code for the ASCII characters entered. The command is only valid at the beginning of a line. If the width of the bar code exceeds one line, the excess data is not printed.
  • Page 107: Select Horizontal Size Of Bar Code (Receipt Station)

    7156 Owner’s Guide Chapter 6: Commands Second Variation: Length of Byte Specified at Beginning of String Hexadecimal Decimal ASCII 1D 6B m [d]n 29 107 m [d]n GS k m [d]n m = 65-71, 73 (see the table) d =0-127 (see the table) n = 1-255 (see the table) The value of m selects the bar code system as described in the table.
  • Page 108: Micr Check Reader Commands

    If you would like a copy of a software utility that performs these functions rather than developing your own program using the command codes described in this section, please contact NCR. The software utility can be used as provided or can be incorporated into your own application.
  • Page 109: Micr Parsing

    If you would like a copy of a software utility that performs these functions rather than developing your own program using the command codes described in this section, please contact NCR. The software utility can be used as provided or can be incorporated into your own application.
  • Page 110 Chapter 6: Commands 7156 Owner’s Guide Other Parameters Error One Digit Number Returned Read OK Read error: bad character, empty field invalid length, check digit invalid Status Two Digits Returned No MICR data Mexican check Canadian check Error in transit number...
  • Page 111: Sample Parsing Formats

    7156 Owner’s Guide Chapter 6: Commands The parsing parameter string is stored packed in NVRAM starting at word 10, with the total byte length stored in the high order byte of word 10. While most parameters take two bytes of NVRAM, the following parameters take only one byte: B, D, E, S, L. None of the parsing examples in the following section take more than 14 bytes (seven words) of NVRAM.
  • Page 112 Chapter 6: Commands 7156 Owner’s Guide Canadian check: dash in transit number removed; “9” inserted at beginning, resulting in a fully numeric nine character transit number All characters in the account number (up to 18) with spaces and dashes removed...
  • Page 113: Check Serial Number

    7156 Owner’s Guide Chapter 6: Commands “on us” symbol 0x28 Transit symbol 0x29 Once a parsing format is specified, the following values are returned: MICR Characters ASCII Hexadecimal Numerics 0...9 0x30...0x39 Space 0x20 Dash 0x2D Field separator* Country code* *As specified in the parsing parameter string With RS-232C communication, the printer adds a final carriage return to the MICR data sent to the application.
  • Page 114: Exception Table Entry Format

    Chapter 6: Commands 7156 Owner’s Guide separated by a space or a dash from the rest of the account number is the check serial number. txxxxxxxxxt cccc xxxxxxxxo txxxxxxxxxt cccc-xxxxxxxxo txxxxxxxxxt cccc xxxxxxxxo xx If all of these searches fail to produce the distinct check serial number, and the check serial number field has been specified in the parsing parameter string options, no check serial number will be returned.
  • Page 115 7156 Owner’s Guide Chapter 6: Commands The three high order bits of each byte mark the character type. The characters can be marked in three ways: check serial # character, account # character, or “skip this character or symbol.” The five low order bits of each byte contain the number of characters of that type to extract.
  • Page 116: General Slip Handling

    Chapter 6: Commands 7156 Owner’s Guide Maintaining the Exception Table Present contents of the exception table can be examined using the read NVRAM command: 0x1B 0x6A k which reads and returns word k in NVRAM. When the exception table is full, a new entry can replace an older, less frequently used entry, by merely rewriting the words for that table entry.
  • Page 117 7156 Owner’s Guide Chapter 6: Commands The distance from the feed rolls to the trailing edge sensor is about 0.5 inches so you can print and feed about three lines after the trailing edge sensor becomes uncovered. The minimum bottom margin is about 0.6 inches. To print at the bottom margin, send the Print and Feed n Lines command (1B 64 n) with n = 0 so the paper doesn’t feed forward out of...
  • Page 118 Chapter 6: Commands 7156 Owner’s Guide September 1997...
  • Page 119: Appendix A: Specifications

    7156 Owner’s Guide Appendix A: Specifications Appendix A: Specifications Printing Specifications Thermal Receipt Station Impact Slip Station Speed 1020 Lines/Minute (44 Columns), 240, 202, 164, 142 Lines/Minute (40 Depends on Column Width Columns), Depends on Column Width Noise Level 50 dBA Sound Pressure (ISO 7779)
  • Page 120: Power Requirements

    Appendix A: Specifications 7156 Owner’s Guide Power Requirements The 7156 printer receives power from a separate power supply. Here are the voltage requirements for the power supply. Maximum Current Voltage Station Short Term Long Term 24.0 V ± 10% Slip 4.6 Amps...
  • Page 121: Dimensions And Weight

    7156 Owner’s Guide Appendix A: Specifications Dimensions and Weight Height 178 mm (7.0 Inches) Height with Cover Open 280 mm (11.0 Inches) Width 229 mm (9.0 Inches) Depth 264 mm (10.4 Inches) Depth with Extended Slip 347 mm (13.7 Inches)
  • Page 122 Appendix A: Specifications 7156 Owner’s Guide September 1997...
  • Page 123: Appendix B: Print Characteristics

    7156 Owner’s Guide Appendix B: Print Characteristics Appendix B: Print Characteristics Character Size This section shows the dot pattern for characters printed on the receipt and slip stations. Receipt Station The following two illustrations show the dot patterns of sample characters for standard pitch (15.2 CPI) and compressed pitch (19 CPI).
  • Page 124: Slip Station

    Appendix B: Print Characteristics 7156 Owner’s Guide Compressed Pitch 7 Dots 8 Dots 1.17 mm 1.33 mm .046 in. .052 in. 18 Dots 14 Dots 3.00 mm 2.33 mm .118 in. .092 in. B - Upper Case Ö - With Ascender...
  • Page 125 7156 Owner’s Guide Appendix B: Print Characteristics Note: Columns overlap within the format for each print row in half-dot increments (depending upon pitch), but the printer cannot print overlapping dots on a single print row. No ASCII character contains overlapping dots on a print row.
  • Page 126 Appendix B: Print Characteristics 7156 Owner’s Guide Rotated Characters Rotated characters are alternate characters in a 5x7 dot format printed 90 degrees counterclockwise (as shown in the illustration) or clockwise. Only one horizontal pitch is available: 6.95 CPI, 33 columns maximum.
  • Page 127: Print Zones

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

    Appendix B: Print Characteristics 7156 Owner’s Guide Slip Station The slip station prints characters (standard pitch and compressed pitch) and graphics in a print zone of 120.7 mm (4.752 inches) wide on a slip or form. Standard pitch: 66 characters (columns) per line Compressed pitch: 80 characters (columns) per line The print line height of 7 x 7 dot characters is 2.46 mm (.097 in).
  • Page 129 7156 Owner’s Guide Appendix B: Print Characteristics September 1997...
  • Page 130 Appendix B: Print Characteristics 7156 Owner’s Guide September 1997...
  • Page 131 7156 Owner’s Guide Index Index validating, 22 verifying, 22 Cleaning the printer, 6 7156 printer Clearance around printer, 10 clearance, 10 Code page 437 dimensions, 10, 115 character set, 122 environmental conditions, 114 Code page 850 features, 2 character set, 122...
  • Page 132 58, 83 paper jam, 28 transmit status, 58, 88 paper out, 28 Commands, real time print tests, 47 7156 clear printer command, 97 printhead over/under temperature, 28 alternate implementation, 91 startup, 33 first implementation, 91 Dimensions, of printer, 10, 115 moving data through the buffer, 92 DIP switches.
  • Page 133 7156 Owner’s Guide Index Documentation partial cut distance, 36 ordering, 5 print continuous slip, 45 print sample check, 44 sending commands, 49 print sample receipt, 46 Dot patterns, of characters, 117, 118 print tests, 44 Double-wide characters printhead resistance, 35...
  • Page 134 Index 7156 Owner’s Guide putting in the paper roll, 17 DTR/DSR, 51 removing, 16 XON/XOFF, 51 requirements, 4 suppliers, 4 Paper jam, 28 Receipt station Paper low sensor character dot patterns, 117 adjusting, 26 print zones, 121 Paper out, 28 Reliability, 114 Parsing.
  • Page 135 7156 Owner’s Guide Index print density, 115 Timing, 50 Technical specifications Troubleshooting. See Problems RS-232C interface, 52 Turning on the printer, 14 Testing the printer, 24, 47 Thermal paper ordering, 4 requirements, 4 Weight, of printer, 115 suppliers, 4 Thermal printhead. See Printhead...
  • Page 136 Index 7156 Owner’s Guide September 1997...
  • Page 137 Number: BD20-1436-A Issue: Issue B Date: September 1997 NCR welcomes your feedback on this publication. Your comments can be of great value in helping us improve our information products. Circle the numbers below that best represent your opinion of this publication.
  • Page 138 Fold NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST CLASS PERMIT NO. 3 DAYTON, OHIO POSTAGE WILL BE PAID BY ADDRESSEE NCR CORPORATION RETAIL SYSTEMS GROUP INFORMATION PRODUCTS DEPT 2651 SATELLITE BLVD. DULUTH, GA 30136...

Table of Contents