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
Low Voltage), non-energy hazard output, limited energy source, input rated 100-240 Vac, 1.5/0.8 A, 50/60 Hz, output rated 24 Vdc, 2.3 A. 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
How to Obtain More Information For more information about the 7158 printer and to order the following documentation, please contact your NCR supplier: • NCR 7158 Thermal Receipt & Impact Slip Printer Service Guide...
Owner's Guide Table of Contents Chapter 1: About the Printer Introducing the 7158 Printer..............1-1 Standard Features ................. 1-2 Connectivity Features ..............1-2 Advanced Interface Design............1-2 Electronics and Firmware.............. 1-2 Thermal Receipt Printer..............1-3 Impact Slip Printer ................. 1-4 Options ....................
Page 6
Owner's Guide Chapter 3: Using the Printer Printer Controls..................3-1 Changing the Receipt Paper ..............3-3 Replacing the Ribbon Cassette............3-5 Printing on Forms or Checks............... 3-7 Verifying and Validating Checks............3-10 Clearing Check Flip Paper Jams ............3-12 Testing the Printer................3-14 Printer Configuration .................
Page 7
Owner's Guide Check Flip Option ..............3-28 Basic Troubleshooting ................ 3-29 Printer Beeps ................. 3-31 Printer Will Not Print..............3-32 On-Line, Paper Status, Error LED Flashes........ 3-33 Poor Forms Print Quality ............3-34 Poor Receipt Print Quality ............3-34 Slip Station, MICR and Flip Problems........3-36 Knife Does Not Operate ..............
Page 8
Owner's Guide Standard Receipt Features............. 5-5 Optional Features ................5-7 Reliability ....................5-8 Certifications..................5-9 EMI: ....................5-9 Safety:................... 5-9 Physical and Operating Environment..........5-10 Temperature and Humidity............5-10 Electrical..................5-10 Slip Media..................5-10 Receipt Media ................5-11 Migration....................5-12 Performance Requirements ...............
Page 10
viii Owner's Guide Chapter 7: Programming Guide Command Conventions ............... 7-1 List of Commands and Location............7-2 By Command Code ................ 7-2 By Function..................7-8 Printer Function Commands ............ 7-8 Vertical Positioning and Print Commands......7-9 Horizontal Positioning Commands........7-10 Print Characteristic Commands..........
Page 11
Owner's Guide Additional Remote Diagnostics ..........7-19 Comparison Chart ................ 7-20 Command Descriptions ..............7-22 Printer Function Commands ............7-22 Clear Printer................7-22 Exceptions: ................7-23 Close Form ................7-23 Open Form ................7-23 Perform Full Knife Cut ............7-24 Perform Partial Knife Cut ............
Page 12
Owner's Guide Print and Eject Slip..............7-36 Print and Carriage Return............7-37 Feed n Print Lines..............7-37 Feed n Dot Rows ..............7-38 Add n Extra Dot Rows............. 7-39 Print.................... 7-40 Set Line Spacing to 1/6 Inch........... 7-40 Set Line Spacing ............... 7-41 Print and Feed Paper ...............
Page 13
Owner's Guide Select or Cancel User-Defined Character Set ....... 7-58 Define User-Defined Characters ..........7-59 Defining User-Defined Characters for the Slip and Receipt Station ................7-60 Select or Cancel Underline Mode .......... 7-62 Copy Character Set from ROM to RAM ....... 7-62 Cancel User-Defined Characters..........
Page 14
Owner's Guide Transmit Peripheral Device Status ........7-86 Request Alternate Status (Parallel Only) ......7-87 Transmit Printer Status ............7-88 Transmit Printer ID..............7-89 Transmit Printer ID, Remote Diagnostics Extension ..7-91 Transmit Status................. 7-96 Recognizing Data from the Printer........7-99 Real Time Commands ............
Page 15
Owner's Guide xiii Set Absolute Vertical Print Position in Page Mode ... 7-127 Set Relative Vertical Print Position in Page Mode..... 7-128 Macro Commands ..............7-129 Start or End Macro Definition ..........7-129 Execute Macro ................ 7-130 MICR Commands............... 7-131 MICR Reading ................
Page 16
Host Configuration ................ 8-3 Windows NT:................8-3 Configuring NCR POS Printers for USB..........8-5 Installing the NCR 7158 USB Upgrade Kit ......... 8-5 To update the firmware:............8-5 To remove the Options Board and install the USB Board: ... 8-6 Configuring the Printer ..............
Page 17
Owner's Guide Uninstalling the Drivers .............. 8-17 Troubleshooting .................. 8-19 Frequently Asked Questions ............. 8-20 USB Printer Performance Under Windows 95 ......8-20 Revision Record Issue Date Remarks Apr 99 First issue June 99 Minor Updates June 00 Updates Jan 03 Updates...
Page 18
NCR 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.
Chapter 1: About the Printer Standard Features Connectivity Features Industry standard RS-232C interface for communication with the host computer; other interfaces are available as options. • Cash drawer kickout connector and software support for up to two cash drawers. Advanced Interface Design •...
Chapter 1: About the Printer Thermal Receipt Printer • Extremely fast and quiet thermal printhead. • No ribbon or ink cartridge to change. • Drop-in paper loading. • Double high, double wide, bold, inverse, underlined, superscript and subscrip, italics, scalable and rotated print modes. •...
Chapter 1: About the Printer Impact Slip Printer • Bi-directional impact printhead designed for a very long life. • Snap-on ribbon cassette. • Prints on forms up to five plies. • Horizontal flatbed slip table with an optional extension (which is standard with the MICR check reader option).
Power supplies are available in 55 Watt or 75 Watt versions. • 3-pin to 6-pin power connection adapter to allow previous version power supplies (or terminal cables) to be connected to the 7158. Thermal Receipt Printer Options • The optional receipt cutter.
Chapter 1: About the Printer Model Identification Key A758 Model ID Key A 7 5 8 - X X X X 1 = no knife 5 = knife 0 = no MICR 1 = MICR 2 = MICR and check flip 5 = check flip 0 = 512K Flash memory (standard) 1 = 1MB Flash memory...
Page 25
The set of options installed on a particular printer can be determined by looking at the printer's model number. The printer's model number appears on a label on the right side of the printer. Four-digit model numbers are assigned to the various 7158 models based on the following formula: •...
• Installation report card (please complete this form and return to NCR) • 7158 Thermal Receipt and Impact Slip Printer: Setup Guide • Communication cable, if ordered with the printer (from host computer to printer) To report any missing materials, or to report a printer that was damaged during shipping, call your supplier or call an NCR representative.
264 mm (10.4 in.) 347 mm (13.7 in.) The 7158 printer takes up relatively little counter space and may be set on or near the host computer. With the RS-232C interface, you can place the printer up to 50 feet from the host computer and power supply.
Chapter 2: Setup Guide Remove the Packing Restraints Front Cover Cardboard Support Carriage Foam Restraint 1. Open the front cover, remove the foam restraint holding the carriage. 2. Remove the cardboard support from the slip path.
Page 30
Chapter 2: Setup Guide Receipt Cover Paper Roll Supports Test Paper Printout Roll 1. Open the receipt cover and remove the test printout. 2. Lift the thermal paper roll out of the paper bucket and remove the paper roll supports.
Chapter 2: Setup Guide Connecting the Cables Caution: Connect the cables to the printer before plugging in the power supply. If power is received from the host computer, turn it off before connecting any cables. Strain Relief Back of Communication Cash Power Printer...
Chapter 2: Setup Guide Cash Drawer Cables The cash drawer cable connects the printer to one or two cash drawers. 1. Plug the cable into the cash drawer connector (standard phone jack) located at the rear of the printer. Y-Cable Drawer Printer Drawer...
Chapter 2: Setup Guide Power Supply Cable Connect the power supply cable last. 1. Plug the power cord into the power supply. To the Communications Connector Strain Relief Power Supply or Adapter Cable Communications Cash Drawer Cash Drawer Cable Cable Cable 2.
Chapter 2: Setup Guide Loading Receipt Paper 1. Tear off the end of the roll so that the edge is loose. 2. Place the roll into the paper bucket with the paper unrolling from the bottom of the roll, and with a few inches of paper extending over the cabinet front.
Page 35
Chapter 2: Setup Guide 4. Remove the excess paper by tearing it against the tear-off blade. 5. Press the Paper Feed Button to advance the paper.
2-10 Chapter 2: Setup Guide Putting In the Ribbon Cassette Note: You must use an approved NCR ribbon cassette with the check flip option to prevent jamming or other ribbon problems. 1. Unwrap and tighten the ribbon by turning the knob on the cassette in the direction of the arrow.
Chapter 2: Setup Guide 2-11 Testing the Printer The Configuration Menu allows you to set general printer parameters. The test prints a list of various printer settings and partially cuts the paper if a knife is installed. The test printouts may vary depending on the printer model.
Page 38
2-12 Chapter 2: Setup Guide Configuration Menu and Print Test samples (shown approximately 60% of size). Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. 3.
Using the Printer Chapter 3: Printer Controls Receipt Cover Receipt Front Cover Slip or Paper Feed Check Button On-Line, Paper Status, Error LED (Green) Reset Extended Slip In Button Slip Table LED (Green) The printer has the following controls: • The Paper Feed Button advances the receipt paper.
Page 40
Chapter 3: Using the Printer The printer also indicates its status when it is first turned on, or after it has been reset, by beeping. A single beep indicates the printer has successfully completed its startup routine. But if the printer beeps in a single, double, or triple pattern at first power on, please call your service representative.
Chapter 3: Using the Printer Changing the Receipt Paper Change the paper when either a colored stripe appears on the receipt paper or the printer’s On Line, Paper Status, Error LED slowly flashes (indicating that 5 + 10 feet of paper remains on the roll). Change the paper as soon as possible to avoid running out of paper part way through a transaction.
Page 42
Chapter 3: Using the Printer 1. Open the cover and remove the used roll. 2. Tear off the end of the new roll so that the edge is loose. 3. Place the roll into the paper bucket with the paper unrolling from the bottom of the roll, and with a few inches of paper extending over the cabinet front.
Chapter 3: Using the Printer Replacing the Ribbon Cassette Change the impact printer’s ribbon cassette if it is printing lightly. Note: You must use an approved NCR ribbon cassette with the check flip option to prevent jamming or other printing problems. Front...
Page 44
Chapter 3: Using the Printer 1. Open the printer’s front cover and pinch the tabs of the old ribbon cassette to remove it. Front Cover Knob Ribbon Cassette (Shown in Position) Cassette Printhead Mylar Ribbon Shield 2. Unwrap and tighten the new ribbon by turning the knob on the cassette in the direction of the arrow.
Chapter 3: Using the Printer Printing on Forms or Checks There are several types of transactions that may require the insertion of a form or check into the printer: • Credit card transaction • Multiple-part forms such as credit transactions or merchandise returns •...
Page 46
Chapter 3: Using the Printer Although the illustration on the following page shows a check being inserted into the printer, these instructions apply to any type of form. The 7158 can print on forms up to five parts thick. 2001 PAY TO THE...
Page 47
Chapter 3: Using the Printer To print on a form or check: 1. Insert the form or check (check shown in the illustration) from the front and place it on the Slip Table with the print side up. If the form is extra long, you may need to insert it from the side.
3-10 Chapter 3: Using the Printer Verifying and Validating Checks If the printer has the optional MICR check reader, checks are verified and then validated. If the printer also has the optional check flip feature, the printer is able to flip the check over and print on the front of the check.
Page 49
Chapter 3: Using the Printer 3-11 To verify and validate a check: 2. Place the check, face down on the Slip Table, with the bottom edge of the check to the right. Move the check to the right until it aligns against the Check Guide.
3-12 Chapter 3: Using the Printer Clearing Check Flip Paper Jams Check Check Flip Window Door...
Page 51
Chapter 3: Using the Printer 3-13 To clear a paper jam from the optional check flip assembly: 1. Look in the window of the check flip assembly. If the jammed check is visible, open the window and remove it. Front Cover 2.
3-14 Chapter 3: Using the Printer Testing the Printer The Configuration Menu allows you to set general printer parameters. The test prints a list of various printer settings and partially cuts the paper if a knife is installed. The test printouts may vary depending on the printer model.
Page 53
Chapter 3: Using the Printer 3-15 Configuration Menu and Print Test samples (show approximately 60% of size).
3-16 Chapter 3: Using the Printer Printer Configuration Printers are generally shipped with all appropriate configuration settings pre-set at the factory. The only time the user should need to change the printer configuration is if a new option is installed or the firmware is changed.
Chapter 3: Using the Printer 3-17 • Hardware Options Print Density Maximum Power Knife Options Paper Low Sensor Printhead Resistance MICR Option Check Flip Option Configuring the Printer Use the Configuration Menu to select functions or change various settings as indicated in the preceding sections. The Configuration Menu prints instructions and setting options interactively as the user goes through the configuration process.
Page 56
3-18 Chapter 3: Using the Printer 1. Set DIP Switch 1 to On. Reset Front of Printer Button Front Cover...
Page 57
Chapter 3: Using the Printer 3-19 2. Press the Reset Button while holding the Paper Feed Button. The printer beeps, prints the current configuration, then prints the first SELECTION. 3. Follow all the instructions on the scrolling menu.
3-20 Chapter 3: Using the Printer 4. Press the Paper Feed Button to make the selections. The instructions indicate whether to select something with a short click, a long click, or a series of short clicks. Indicate Yes with a long click, No with a short click.
Chapter 3: Using the Printer 3-21 Diagnostic Modes This function allows the user to put the printer into the following diagnostic modes: • Normal Mode: this is the normal operating mode of the printer. • Datascope Mode: the receipt printer prints incoming commands and data in hexadecimal format.
3-22 Chapter 3: Using the Printer 3. Run a transaction from the host computer. All commands and data sent from the host computer will be printed as hexadecimal numbers as shown in the illustration. To exit the Datascope Mode: 1. 1. Enter the Configuration Menu again. 2.
Chapter 3: Using the Printer 3-23 7. Exit the Configuration Menu. The printer is in Normal Mode and can communicate with the host computer. Slip Test Mode To run the Slip Test Mode: 1. Enable the Slip Test Mode through the Configuration Menu, (See “Configuring the Printer,”...
Page 62
3-24 Chapter 3: Using the Printer 2. After enabling the MICR Test Mode through the Configuration Menu, exit the Configuration Menu. 3. Insert a check into the slip station. (See “Verifying and Validating Checks” section.) 4. The printer waits until a check is inserted and detected before the platen closes and the characters are read by the MICR check reader.
Chapter 3: Using the Printer 3-25 Check Flip Test Mode To run the Check Flip Test Mode: 1. Enable the Check Flip Test Mode through the Configuration Menu (See “Configuring the Printer,” for instructions on how to enter the Configuration Menu), then exit the Configuration Menu. 2.
They are set by using the Configuration Menu. (See “Configuring the Printer” for instructions on how to enter the Configuration Menu.) The available options are: • 7158 Native (enables all new functions) • 7156 Emulation (for use with legacy software) Printer ID Mode...
Warning: Choose an energy level no higher than necessary to achieve a dark printout. Failure to observe this rule may result in a printer service call or voiding of the printer warranty. Consult your NCR technical support specialist if you have any questions. Maximum Power This function makes it possible to match the printer to the wattage of the power supply.
3-28 Chapter 3: Using the Printer Knife Option This function makes it possible to set the Knife Option if it is installed in the printer. This setting should only be changed if the option is added or removed. Paper Low Sensor Paper Low Sensor setting makes it possible to enable or disable the paper low sensor for particular printer configurations.
Chapter 3: Using the Printer 3-29 Basic Troubleshooting The 7158 printer is a simple, generally trouble-free printer, but from time to time minor problems may occur. For example, the power supply may be disconnected or the thermal printhead may overheat.
Page 68
3-30 Chapter 3: Using the Printer If something is wrong with the printer, take the following general steps: • Cycle the power of the printer and note its behavior. • Check the On Line, Paper Status, Error LED and compare its behavior to the table below.
Chapter 3: Using the Printer 3-31 Printer Beeps Problem/Symptom Possible Causes What to Do Printer beeps in a single, double, or triple The printer has a problem with Contact a service pattern at first power on, the On Line, its electronics. representative.
3-32 Chapter 3: Using the Printer Printer Will Not Print Problem/Symptom Possible Causes What to Do The On Line, Paper The receipt paper may Check that the receipt paper is properly loaded and Status, Error LED is be out, the cover open, covers are closed.
Chapter 3: Using the Printer 3-33 On-Line, Paper Status, Error LED Flashes Problem/Symptom Possible Causes What to Do On Line, Paper Receipt paper is out. Change the Change the paper immediately. See “Loading Status, Error LED is paper now. Do not run a and Changing the Receipt Paper”...
3-34 Chapter 3: Using the Printer Poor Forms Print Quality Problem/Symptom Possible Causes What to Do Printer starts to print, but Communication error or Check the interface cable. Check stops while the form is being software error. that the software is working printed.
Page 73
Print cassette ribbon jams Improper ribbon cassette. An Replace cassette with a cassette when check flip option is approved NCR cassette must approved for the check flip used. be used with the check flip option. option.
Print cassette Improper ribbon cassette. Replace cassette with a cassette approved for the ribbon jams when Approved NCR cassette check flip option. check flip options must be used with the is used. check flip option.
Chapter 3: Using the Printer 3-37 Knife Does Not Operate Problem/Symptom Possible Causes What To Do Receipt is not cut. Paper is jammed. Open the receipt cover, inspect the knife, and clear any jammed paper. Enable the knife option by The printer has a knife but the reconfiguring the printer.
3-38 Chapter 3: Using the Printer Other Serious Problems The following problems all need to be corrected by a qualified service representative. See the next section, “Contacting a Service Representative.” • MICR check reader not operating properly • Forms not feeding into the slip/forms area properly •...
Returning a Printer Follow these instructions if you need to return a printer for servicing. 1. If you are sending the printer to NCR for repair, call NCR for a Return Material Authorization number (RMA#). Be prepared to answer questions concerning shipping and billing. Request an RMA process be sent to you, if required.
Page 78
3. Write the RMA# on the outside of the box and send the printer to the following address, according to the RMA process: The nearest NCR service center address City, State zip U.S.A.
The above lengths are based on a core diameter of 22 ± .5 mm (.87 in.) outside, 1.5 ± .5 mm (.45 in.) inside. NCR can provide paper in small lots to facilitate product evaluation and testing. To order paper rolls, contact your sales representative or order directly...
Suppliers may use other numbers. Item Type Number Power supply (55 watt) with attached cable to 7158-K330 printer and U.S. power supply cord Power supply (75 watt) with attached cable to 7158-K331 printer and U.S. power supply cord Power supply (55 watt) attached cable...
1416-C359-0007 RS-232C 9-pin to 9 pin (4.0 meters—13 ft.) 1416-C266-0040 Forms Specifications prints on single- or multiple-part forms in the slip station (up 7158 to five-part forms). Forms and slips must meet the following requirements: • Front insertion (minimum): 51 mm (2.00 inches) wide 68 mm (2.68 inches) long...
Suppliers may use other numbers. Extended Slip Table (Standard) -K280 7158 Extended Slip Table (Short) -K281 7158 Ordering Documentation See the IP Web Site (http://info.ncr.com)for the following online documentation: Item Number 7158 Owner’s Guide 7158-0000-1112 7158 Service Guide 7158-0000-1113...
Technical Specifications Chapter 5: Functional Description Standard Slip Features Bidirectional, logic-seeking, nine wire impact printhead Print Technology Automatic homing and jam detection Printhead Features 3 or 5 million character life Ink Means Carriage mounted ribbon cassette Standard 139 DPI X 72 DPI Print Resolution Compressed 171 DPI X 72 DPI 10 Half Dots x 7 Dots High...
Page 84
Chapter 5: Technical Specifications Maximum thickness .40 mm (.016 inch) max., 5 plies Forms Capability Minimum .08 mm (.003 inch) * See notes on the following page. Minimum Form Reflectivity 60% Minimum Length: 68 mm (2.68 inches) w/o check flip option 70 mm (2.75 inches) with flip option Minimum Width:...
Chapter 5: Technical Specifications Slip Forms - Recommendations The slip form should be flat and void of curls or wrinkles, especially at the top. Considerations for bound edges on slip paper (multi-page forms): • Binding on the leading edge (top): Best method, however paper feeding and insertion can be affected by the binding method, the length of the edge, and the quality of glue used.
Page 86
Chapter 5: Technical Specifications Slip MICR Head Sensor Slip/LED Sensor Slip Side Guide 19 mm (0.747 in.) 8 mm (0.315 in.) 6 mm (0.236 in.) Slip Edge Paper Feed Direction Paper Holes and Low Reflection Prohibited Areas The Slip/LED Sensors use a reflective photo sensor. •...
Chapter 5: Technical Specifications MICR Reader – Additional Information • The check must be flat and void of curls, folds, or wrinkles (especially at the edges). Wrinkled checks may rub against the ribbon causing them to become ink-stained. • Checks must be void of clips or staples. Paper jams, MICR read errors, and/or MICR head damage could occur.
Page 88
Chapter 5: Technical Specifications PC Code Page 437 Character Sets PC Code Page 850 PC Code Page 852 PC Code Page 858 PC Code Page 860 PC Code Page 863 PC Code Page 865 PC Code Page 866 resident Additional Flash memory for user-defined characters 203 DPI X 203 DPI bit-mapped, input as 24 dot high print Graphics lines...
Chapter 5: Technical Specifications Optional Features Rotary partial cut knife leaves 5.0 mm (0.2 inch) uncut on Paper Cutter left edge. Extends Slip Table 38 mm (1.5 in.) or 76 mm (3.0 in.) in Slip Table Kits The 76 mm slip table comes standard with the front.
Chapter 5: Technical Specifications Reliability The numbers in the table refer to the Mean Cycles Between Failure (MCBF) for the items indicated. 45 Million Lines Thermal Receipt Printer 15 Million Lines Impact Slip Printer 200 Million Characters Impact Printhead 1.5 Million Cuts Knife 200,000 Reads MICR Check Reader...
Chapter 5: Technical Specifications Certifications EMI: • FCC, Class A • Industry Canada, Class A • VCCI, Class A • CE Mark, Class B • Austel, Class B Safety: • UL 1950 • CSA 22.2 No. 950 • CE Mark (EN60950)
Certifications when tested as a stand- alone unit. When connected to a host terminal or system, the 7158 also complies with these standards and levels, provided that the host terminal or system first complies without the 7158 printer connected.
Chapter 5: Technical Specifications 5-11 Minimum form length (feed direction) for forms inserted from the front up to the slip stop is 68 mm (2.68 inches) w/o check flip option and 70 mm (2.75 inches) w/Flip option. Minimum form width (print direction) is 51 mm (2.00 inches).
5-12 Chapter 5: Technical Specifications Migration The 7158’s standard command set allows it to work with software written for NCR or other ESC/POS™ compliant printers. The 7158 supports two modes of operation: “A756 emulation” and “A758 native” modes. When the 7158 is configured for A756 emulation...
Chapter 5: Technical Specifications 5-13 Slip Format Maximum print line width: 120.7 mm (4.752 inches) starting 3.20 mm ± 1.5 mm (.125 inch ± .060 inch) from the right edge of the form. Standard Font Compressed Font 10 half dots x 7 dots 10 half dots x 7 dots Character Cell 7 x 7...
5-14 Chapter 5: Technical Specifications Slip Throughput Bi-directional line speed is based on a printhead speed of 260 CPS. Throughput (±5%) at the standard line spacing (7.2 LPI) depends on line length expressed in characters: Line Length Character Density Lines Per Minute 40 Chars.
Chapter 5: Technical Specifications 5-15 Character Format The 7158 can place 66 standard characters, or 80 compressed characters, or 33 rotated characters, or 330 adjacent bits of graphics (660 addressable positions) in the 121 mm (4.752 inch) wide print zone.
Chapter 5: Technical Specifications 5-17 Receipt Printing Receipt Format, 80mm Paper Width Print line width: 576 dots @ 8 dots/mm centered on 80 mm. Standard Font Compressed Font 13 x 24 dots 10 x 24 dots Character Cell 44 @ 15.6 CPI 56 @ 20.3 CPI Character Per Line 4.25 mm (.167 inch)
Page 100
5-18 Chapter 5: Technical Specifications Print Zone Paper Width = 80 mm (3.15 in.) Printable Zone, 576 Dots = 72 mm (2.835 in.) Nominal Margins, 4 mm (0.157 in.) Cut Edge Cut Edge Top Margin, 17.8 mm (.70 in.) Minimum 44 Standard Columns = 71.5 mm (2.815 in.) 56 Compressed Columns = 70 mm (2.756 in.) The application centers 44 standard character cells (13 X 24 dots), or 56...
Page 101
Chapter 5: Technical Specifications 5-19 When printing graphics or logos, converted from 6 dot/mm to 8 dot/mm (i.e. designed for 7156), the printable zone is expanded to 598 dots. Character Pattern for Standard 15.6 CPI Pitch...
Page 102
5-20 Chapter 5: Technical Specifications 13 Dots 11 Dots Character Character 1.625 mm 1.368 mm Cell 0.064 in. 0.054 in. 19 Dots 24 Dots 2.388 mm 3.00 mm 0.094 in. 0.118 in. B - Upper Case Ö - With Ascender m - Lower Case $ - Both Ascender and Decsender g - With Descender...
Chapter 5: Technical Specifications 5-21 Receipt Throughput: Maximum throughput is achieved at any dot coverage up to 25%, which includes any amount of text. But above that, throughput is dependent on the dot coverage and available electrical power. 25% Dot Coverage 50% Dot Coverage 50% Dot Coverage 100% Dot Coverage...
5-22 Chapter 5: Technical Specifications Allowable Duty Cycle (measured over one minute of continuous printing) Amount of Dot Ambient Temperature Coverage 25°C 35°C 50°C 100% 100% Partial Cut Knife The "partial cut" produces a partial cut that leaves 5.0 ± 1.5 mm (.20 ±...
Chapter 5: Technical Specifications 5-23 Interface Description Human Interfaces • Receipt Paper-loading Door, on top of the cabinet. The receipt station will not print when this door is open. See “Loading Receipt Paper”. • Ribbon Cassette-loading Door, in front of the cabinet. The slip station will not print when this door is open.
Page 106
5-24 Chapter 5: Technical Specifications Receipt Cover Receipt Front Cover Slip or Paper Feed Check Button On-Line, Paper Status, Error LED (Green) Extended Slip In Slip Table LED (Green) Reset Button Front of Front Cover Printer...
Location of Human and Electrical Interfaces Power Requirements The 7158 draws 24VDC ±10% power from its standard 55W, or optional 75W, remote supply. The 7158 printer can accept 24VDC ±10% power from a host terminal. To meet NEC Class 2 safety requirements, the host terminal must provide a time delay fuse on the 24V input.
The 7158 RS-232C is equipped with a 9 Pin male D-shell connector, which will accept an RS-232 cable with a mating female D-shell. The 7158 is equipped with a 3 Pin female, which mates with the integral shielded cable on the power supply. The power supply may be plugged into either a 110 or 240 VAC outlet with a grounded AC cord.
Chapter 5: Technical Specifications 5-27 Switch Settings These are out-of-service tests or printer settings invoked via the 4 position DIP switch in the back of the printer. Level 1 diagnostics is entered (or exited) by turning switch 1 ON (or off) and resetting or power cycling the printer.
5-36 Chapter 5: Technical Specifications Dimensions and Weight Receipt Cover 280 mm (11.0 in.) Extended Slip Table 178 mm (7.0 in.) 229 mm (9.0 in.) 264 mm (10.4 in.) 347 mm (13.7 in.) 178 mm (7.0 inches) Height 280 mm (11.0 inches) Height with Cover Open 229 mm (9.0 inches) Width...
Communication Overview In order for the printer to communicate with the host, a communication link must be set up. The 7158 printer supports either the RS-232C or USB interfaces. The RS-232C interface has a protocol associated with it that the host must understand and adhere to.
Chapter 6: Communication Interface Using BASIC to Send Commands In BASIC, printer commands are sent as a string of characters preceded by the LPRINT command. For example: LPRINT CHR$(&H0A) Sends the hexadecimal number 0A to the printer, which causes the printer to print the contents of its print buffer.
Chapter 6: Communication Interface RS-232C Interface The RS-232C interface uses either the XON/XOFF (software) or DTR/DSR (hardware) protocol to control the flow of information between the computer and the printer. For XON/XOFF, a particular character is sent back and forth between the host and the printer to regulate the communication.
Chapter 6: Communication Interface If the application sends data at 9600 baud and pauses between lines for as short a time as 50 milliseconds, the printer will never be able to print at full speed. However, if the application sends data at 19.2 K baud and does not pause between lines, the printer will be able to print at its full speed of 2400 lines/minute.
0.5 Seconds 0.88 Seconds 1.0 Seconds RS-232C Communications The 7158 offers an industry standard RS-232C serial point-to-point interface, with options available to the user. Options that may be set through the Configuration Menu are: • The baud rate of 115200, 57600, 38400, 19200, 9600, 4800, 2400, or 1200 baud •...
Chapter 6: Communication Interface [DTR SPACE] - When ready to accept data. - Remaining space in the 4K buffer rises above 512 bytes. ** [XON sent] - When ready to accept data after power on. - Remaining space in the 4K buffer rises above 512 bytes. ** [XOFF sent] - In an error state.
Chapter 6: Communication Interface XON character = hexadecimal 11. XOFF character = hexadecimal 13. DTR/DSR Protocol The DTR signal is used to control data transmission to and from the printer. It is driven low when the printer is ready to receive data and driven high when it cannot accept any more data.
Chapter 6: Communication Interface Connector Pin-outs This section describes the pin settings for the connectors on the back of the printer. Communication Connectors The following illustrations show the RS-232C communication connectors and pin assignments. The connectors are located at the rear of the printer, and are specified as: male DB9, 9-pin or female DB-25, 25 pin D-shell, with RTS and CTS pins connected.
Chapter 6: Communication Interface Cash Drawer Connector A 6-contact modular jack (RJ11) is available to drive a cash drawer with dedicated feedback, or up to two cash drawers without feedback. The following illustration shows the pinouts for the cash drawer connector. Pin 6 Pin 1 The following table shows the pinouts for the cash drawer.
Page 128
6-10 Chapter 6: Communication Interface...
Programming Guide Chapter 7: Command Conventions The following information describes how each command is organized: Name: Name of command. ASCII: The ASCII control code. Hexadecimal: The Hexadecimal control code. Decimal: The Decimal control code. Value: A description of the command operands. Range: The upper and lower limits of the command operand.
Chapter 7: Programming Guide List of Commands and Location Commands control all operations and functions of the printer. This includes selecting the size and placement of characters and graphics on the receipt or the slip and feeding and cutting the paper. Any of the commands may be used in any combination to program a host computer to communicate with the printer (unless otherwise noted).
Page 131
Chapter 7: Programming Guide Code (Hexadecimal) Command Page 16 n Add n Extra Dot Rows Print Open Form Cancel Print Data in Page Mode Perform Full Knife Cut Perform Partial Knife Cut 1B followed by the Download BMP Logo BMP file data characters 1B 07 Generate Tone...
Page 132
Chapter 7: Programming Guide Code (Hexadecimal) Command Page 1B 34 m a0 a1 a2 Read from User Data Storage 1B 3A 30 30 30 Copy Character Set from ROM to RAM 1B 3C Return Home 1B 3D n Select Peripheral Device (For Multi- Drop) 1B 3F n Cancel User-defined Characters...
Page 133
Chapter 7: Programming Guide Code (Hexadecimal) Command Page for MICR Read 1B 63 31 n Select Receipt or Slip for Setting Line Spacing 1B 63 33 n Select Paper Sensors to Output Paper End Signals (Parallel Only) 1B 63 34 n Select Sensors to Stop Printing 1B 63 35 n Enable or Disable Panel Buttons...
Page 134
Chapter 7: Programming Guide Code (Hexadecimal) Command Page 1D 00 Request Printer ID 1D 01 Return Segment Number Status of Flash Memory 1D 02 n Select Flash Memory Sector to Download 1D 03 n Real Time Request to Printer (DLE Sequence) 1D 04 n Real Time Status Transmission (GS...
Page 135
Chapter 7: Programming Guide Code (Hexadecimal) Command Page 1D 48 n Select Printing Position for HRI Characters 1D 49 n Transmit Printer ID 1D 49 40 n Transmit Printer ID, Remote Diagnostics Extension 1D 4C nL nH Set Left Margin 1D 50 x y Set Horizontal and Vertical Minimum Motion Units...
Chapter 7: Programming Guide By Function All items in BOLD are new or have additional functionality when compared to the 7156. Printer Function Commands Code (Hexadecimal Command Page Clear Printer Close Form Open Form Perform Full Knife Cut Perform Partial Knife Cut 1B 07 Generate Tone 1B 3C...
Chapter 7: Programming Guide 1B 7A n Select or Cancel Parallel Printing Mode on R&J Select Slip Station 1D 56 m Select Cut Mode and Cut Paper 1D 56 m n Select Cut Mode and Cut Paper Select Receipt Station 1F 74 Print Test Form Vertical Positioning and Print Commands...
Chapter 7: Programming Guide 7-13 Real Time Code (Hexadecimal Command Page 10 04 n Real Time Status Transmission (DLE Sequence) 10 05 n Real Time Request to Printer (GS Sequence) 1D 03 n Real Time Request to Printer (DLE Sequence) 1D 04 n Real Time Status Transmission (GS Sequence) 1D 05...
7-14 Chapter 7: Programming Guide Page Mode Commands Code (Hexadecimal Command Page Print and Return to Standard Mode/Print and Eject Slip Cancel Print Data in Page Mode 1B 0C Print Data in Page Mode 1B 4C Select Page Mode 1B 53 Select Standard Mode 1B 54 n Select Print Direction in Page Mode...
Once the page composition process is completed, the page is printed. See the Page Mode commands in this section. Additional Code pages includes support for the additional Code pages: CP852, 7158 CP858, CP860, CP863, CP865 and CP866.
7-18 Chapter 7: Programming Guide Additional character attributes includes support for additional character attributes including 7158 Bold, Italics, Underline, Black/White Reverse Print, Superscript, Subscript, and Scaling. Flip can flip a check on command. 7158 Additional flexibility when using User-defined Characters and...
Chapter 7: Programming Guide 7-19 Macro Capability supports the ability to record and execute a series of 7158 commands called a macro. Additional Remote Diagnostics supports 5 additional remote diagnostics. 7158 • Number of Flash cycles • Number of knife jams •...
The following table details the list of commands whose behavior differs from the because of the physical differences of a 6 dots/mm head 7156 ) versus an 8 dots/mm head ( 7156 7158 7156 7158 Command Description Difference between configured inA Emulation Mode.
Page 149
Chapter 7: Programming Guide 7-21 7156 7158 Command Description Difference between configured inA Emulation Mode. Graphics scales the graphics to provide the best match. 1B 5C n1 n2 Set Relative Print Position The parameter to this command is in units of dots. However, the command moves and aligns to character positions.
7-22 Chapter 7: Programming Guide Command Descriptions Printer Function Commands The printer function commands control the following basic printer functions and are described in order of their hexadecimal codes: 1. Station Select 2. Platen Control 3. Resetting the printer 4. Cutting the paper 5.
When the printer is in Mode or in (Native) non- A756 Emulation 7158 Page Mode, this command opens the feed roller and platen (forms compensation arm assembly) so that a form may be inserted (default position). This command has the same code as the Cancel Print Data in Page Mode command, which is only executed in Page Mode.
7-24 Chapter 7: Programming Guide Perform Full Knife Cut ASCII: or ESC i Hexadecimal: 19 or 1B 69 Decimal: 25 or 27 105 Cuts the receipt, leaving .20 inch (5 mm) of paper. This command is implemented the same as Partial Knife Cut (1A, 1B 6D). There are two codes for this command.
Chapter 7: Programming Guide 7-25 Return Home ASCII: ESC < Hexadecimal: 1B 3C Decimal: 27 60 Moves the impact printhead (unless already there) to the home position. Related Information: The printer is able to detect carriage motor jams, eliminating the need to home the printhead after each slip transaction.
Chapter 7: Programming Guide 7-27 Select Receipt or Slip for Printing; Slip for MICR Read ASCII: ESC c 0 n Hexadecimal: 1B 63 30 n Decimal: 27 99 48 n Value of n : 1, 2, 3 Receipt selected Slip selected Default of n : Selects the station for printing.
7-28 Chapter 7: Programming Guide Select Receipt or Slip for Setting Line Spacing ASCII: ESC c 1 n Hexadecimal: 1B 63 31 n Decimal: 27 99 49 n Value of n: 1, 2, 3 Select receipt Select Slip Default of n : Selects which station receives the effects of the following commands: 1.
Chapter 7: Programming Guide 7-29 Select Paper Sensors to Output Paper End Signals (Parallel Only) ASCII: ESC c 3 n Hexadecimal: 1B 63 33 n Decimal: 27 99 51 n Value of n : If either bit 0 or bit 1 is on, the paper roll near-end sensor is selected as the paper sensor outputting paper-end signals.
7-30 Chapter 7: Programming Guide Select Sensors to Stop Printing ASCII: ESC c 4 n Hexadecimal: 1B 63 34 n Decimal: 27 99 52 n Value of n : Bit of n Function Bit 0, 1 Stop Receipt on Receipt Low Bit 4 Stop Slip if Trailing Edge Uncovered Bit 5...
1B 63 36 n Decimal: 27 99 54 n Value of n : 0, 1 Since the does not have an Online Switch, this command is 7158 ignored. Set Slip Paper Waiting Time ASCII: ESC f m n Hexadecimal: 1B 66 m n...
2. Off time = p2 x 2 msec Related Information: The off-time is the delay before the printer performs the next operation. The suggested hexadecimal values for NCR cash drawers are: p1 = 3C p2 = 46. Select or Cancel Parallel Printing Mode on R&J...
Chapter 7: Programming Guide 7-33 Select Slip Station ASCII: Hexadecimal: Decimal: Selects the Slip Station for all functions. The receipt station is the default setting after the printer is initialized or the Clear Printer (0x10) command is received.
Determines cutting position only if m is 65 or 66. Feed and Cut Mode 0, 48 Full cut (no extra feed). Partial cut on the 7158. 1, 49 Partial cut (no extra feed). Feeds paper to cutting position + (n times vertical motion unit), and cuts the paper completely.
Chapter 7: Programming Guide 7-35 Select Receipt Station ASCII: RS Hexadecimal: 1E Decimal: 31 Selects the Receipt Station for all functions. The receipt station is the default setting after the printer is initialized or the Clear Printer (0x10) command is received. Print Test Form ASCII: AX t...
7-36 Chapter 7: Programming Guide Vertical Positioning and Print Commands The vertical positioning and print commands control the vertical print positions of characters on the receipt and slip. Print and Feed Paper One Line ASCII: Hexadecimal: Decimal: Prints one line from the buffer and feeds paper one line. Carriage Return/Line Feed pair prints and feeds only one line.
Chapter 7: Programming Guide 7-37 Print and Carriage Return ASCII: Hexadecimal: Decimal: Prints one line from the buffer and feeds paper one line. 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 print command.
7-38 Chapter 7: Programming Guide Feed n Dot Rows ASCII: NAK n Hexadecimal: 15 n Decimal: 21 n Value of n: Receipt Slip n/203 inch n/72 inch Range of n : 0 – 127 Mode A756 Emulation 0 – 255 Mode A758 Native Feeds paper n dot rows without printing.
Chapter 7: Programming Guide 7-39 Add n Extra Dot Rows ASCII: SYN n Hexadecimal: 16 n Decimal: 22 n Value of n: Receipt Slip n/203 inch n/72 inch Range of n : 0 - 12 Default: Receipt Slip Adds n extra dot rows to the character height to increase space between print lines or decrease number of lines per inch.
7-40 Chapter 7: Programming Guide Print ASCII: Hexadecimal: Decimal: Prints one line from the buffer and feeds paper one line. Executes LF on receipt. Executes LF on slip if previous character was not a CR. Set Line Spacing to 1/6 Inch ASCII: ESC 2 Hexadecimal:...
Chapter 7: Programming Guide 7-41 Set Line Spacing ASCII: ESC 3 n Hexadecimal: 1B 33 n Decimal: 27 51 n Value of n: n/406 inches on receipt n/144 inches in slip Range of n: 0 – 255 Default: Receipt .13 inch (3.37 mm or 7.52 lines per inch, 3 extra dot rows.) Slip .14 inch (7.2 lines per inch, 3 extra dot rows.)
7-42 Chapter 7: Programming Guide Print and Feed Paper ASCII: ESC J n Hexadecimal: 1B 4A n Decimal: 27 74 n Value of n: n/203 inches receipt n/144 inches slip Range of n: 0 - 255 Prints one line from the buffer and feeds the paper. On the receipt station, the line height equals the character height when n is too small.
Chapter 7: Programming Guide 7-43 Print and Feed n Lines ASCII: ESC d n Hexadecimal: 1B 64 n Decimal: 27 100 n Value of n: Number of lines to be printed and fed. Range of n: 1 – 255 (0 is interpreted as 1 on the receipt station) Prints one line from the buffer and feeds paper n lines at the current line height.
A756 Emulation 0 – 255 Mode A758 Native Reverses the paper feed in the slip station by n dots at 1/72 inch (NCR 7150™ command). This command is ignored if receipt station is selected. Set Horizontal and Vertical Minimum Motion Units...
Chapter 7: Programming Guide 7-45 Horizontal Positioning Commands The horizontal positioning commands control the horizontal print positions of characters on the receipt and slip. Horizontal Tab ASCII: Hexadecimal: Decimal: Moves the print position to the next tab position set by the Set Horizontal Tab Positions (1B 44 n1 n2 ...
7-46 Chapter 7: Programming Guide 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.
Chapter 7: Programming Guide 7-47 Set Horizontal Tabs ASCII: ESC D [n] k NUL Hexadecimal: 1B 44 [n] k 00 Decimal: 27 68 [n] k 0 Value of n: Column for tab minus one. n is always less than or equal to the current selected column width.
7-48 Chapter 7: Programming Guide Set Relative Print Position ASCII: ESC \ n1 n2 Hexadecimal: 1B 5C n1 n2 Decimal: 27 92 n1 n2 Value of n: To Move the Relative Starting Position Right of the Current Position by n dots: n1 = Remainder after dividing n by 256.
Page 177
Relative Print Position” command instructs the printer to move the print position to the left. In order to improve the speed of printing, the 7158 moves the data into a buffer for the printhead when it receives it. When the “Set Relative Print Position”...
7-50 Chapter 7: Programming Guide Select Justification ASCII: ESC a n Hexadecimal: 1B 61 n Decimal: 27 97 n Value of n: 0, 48 = Left Aligned 1, 49 = Center Aligned 2, 50 = Right Aligned Range of n: 0 –...
Chapter 7: Programming Guide 7-51 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 576 dots (the maximum printable area) Sets the left margin of the printing area.
7-52 Chapter 7: Programming Guide Set Printing Area Width ASCII: GS W nL nH Hexadecimal: 1D 57 nL nH Decimal: 29 87 nL nH Range of nL: 0 – 255 Range of nH: 0 - 255 Default: 576 dots (the maximum printable area) Sets the width of the printing area.
Chapter 7: Programming Guide 7-53 Print Characteristic Commands These commands control what the printed information looks like: selection of character sets, definition of custom-defined characters, and setting of margins. The commands are described in order of their hexadecimal codes Select Double-Wide Characters ASCII: Hexadecimal: Decimal:...
7-54 Chapter 7: Programming Guide Select 90 Degree Counter-Clockwise Rotated Print ASCII: ESC DC2 Hexadecimal: 1B 12 Decimal: 27 18 Rotates characters 90 degrees counter-clockwise. The command remains in effect until the printer is reset or until a Clear Printer (0x10), Select or Cancel Upside-Down Print (1B 7B), or Select or Cancel Rotated Print (1B 56) command is received.
Chapter 7: Programming Guide 7-55 Select Pitch (Column Width) ASCII: ESC SYN n Hexadecimal: 1B 16 n Decimal: 27 22 n Value of n: 0 = Standard Pitch 1 = Compressed Pitch Default: 0 (Standard pitch) Selects the character pitch for a print line. Formulas: The following table provides the print characteristics for both pitches on the receipt and slip stations.
7-56 Chapter 7: Programming Guide Set Character Right-Side Spacing ASCII: ESC SP n Hexadecimal: 1B 20 n Decimal: 27 32 n Range of n: 0 - 32 Default Sets the right side character spacing to [n x horizontal or vertical motion units].
Chapter 7: Programming Guide 7-57 Select Print Modes ASCII: ESC ! n Hexadecimal: 1B 21 n Decimal: 27 33 n Value of n: Pitch selection (standard, compressed, double high, or double wide.) Value of n Function Bit 0 Pitch Standard Pitch Compressed Pitch 44 Col/Line, 15.6 CPI (Rec) 56 Col/Line, 20.3 CPI (Rec)
7-58 Chapter 7: Programming Guide Related Information: The bits in this command perform the same function as the standalone functions: 1B 16 n Select Pitch 1B 45 n Emphasized 12 Double-wide 13 Single-wide 1B 2D n Underline Select or Cancel User-Defined Character Set ASCII: ESC % n Hexadecimal:...
7-60 Chapter 7: Programming Guide Defining User-Defined Characters for the Slip and Receipt Station Defines and enters downloaded characters into RAM. (Define User-Defined Characters—continued on the next page) Receipt Characters (1B 26 3) Slip Characters (1B 26 0) Top of Character Top of Character d1 d4 Most Significant...
Page 189
Chapter 7: Programming Guide 7-61 n = 1-10 (standard pitch), 12 and less accepted but ignored n = 1-8 (compressed pitch), 12 and less accepted but ignored d = the column data for the nth character as specified by d1 ... dn The number of bytes for a particular character cell is 3 x n1.
Chapter 7: Programming Guide 7-63 Cancel User-Defined Characters ASCII: ESC ? n Hexadecimal: 1B 3F n Decimal: 27 63 n Value of n: Specified character code Range of n: 32 - 255 Cancels the pattern defined for the character code specified by n. After the user-defined character is canceled, the corresponding pattern from Code Page 437 is printed.
7-64 Chapter 7: Programming Guide Select Double Strike A756 Emulation A758 Native ASCII: ESC G ESC G n Hexadecimal: 1B 47 1B 47 n Decimal: 27 71 27 71 n Value of n: 0 = Off 1 = On Turns double strike mode on for the slip station. Overprints a second pass of the print line on the slip station to improve penetration of multi-part forms and increase print contrast.
Chapter 7: Programming Guide 7-65 Select or Cancel Italic Print ASCII: ESC I n Hexadecimal: 1B 49 n Decimal: 27 73 n Value of n: 0 = Off 1 = On (When 0 and 1 are the Least Significant Bit, LSB) Default: 0 (Off) Turns Italic print mode on or off.
7-66 Chapter 7: Programming Guide Select International Character Set ASCII: ESC R n or ESC t n Hexadecimal: 1B 52 n 1B 74 n Decimal: 27 82 n 27 116 n A758 Native Mode A756 Emulation Value of n: 0 = Code Page 437 0 = Code Page 437 1 = Code Page 850 1 = Code Page 850...
Chapter 7: Programming Guide 7-67 Select or Cancel Unidirectional Printing Mode ASCII: ESC U n Hexadecimal: 1B 55 n Decimal: 27 85 n Value of n: 0 = select bi-directional 1 = select unidirectional Default: Toggles between unidirectional and bi-directional printing on the slip station.
7-68 Chapter 7: Programming Guide Select or Cancel Upside Down Printing Mode ASCII: ESC { n Hexadecimal: 1B 7B n Decimal: 27 123 n Value of n: 0 = Cancel 1 = Set Default: 0 (Cancel) Prints upside-down characters. The character order is inverted in the buffer so text is readable.
Chapter 7: Programming Guide 7-69 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 –...
Page 198
7-70 Chapter 7: Programming Guide 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. However, when character orientation changes in 90 degree clockwise-rotation mode, the relationship between vertical and horizontal directions is reversed.
Chapter 7: Programming Guide 7-71 Select or Cancel White/Black Reverse Print Mode ASCII: GS B n Hexadecimal: 1D 42 n Decimal: 29 66 n Value of n: 0 = Off 1 = On (Only the lowest bit is used.) Range of n: 0 –...
7-72 Chapter 7: Programming Guide Select Superscript or Subscript Modes ASCII: AX ENQ n Hexadecimal: 1F 05 n Decimal: 31 05 n Value of n: 0 = Normal character size 1 = Select subscript size 2 = Select superscript size Default: 0 (normal size) Turns superscript or subscript modes on or off.
Chapter 7: Programming Guide 7-73 Summary of Rotated Printing The table shows the combinations of Set/Cancel Upside-Down Print, Set/Cancel Rotated Print (clockwise), and Rotated Print (counterclockwise). Rotated CCW is mutually exclusive with the other two commands. Unintended consequences may result when rotated CCW is mixed with other commands.
7-74 Chapter 7: Programming Guide Graphics Commands These commands are used to enter and print graphics data and are described in order of their hexadecimal codes. Download BMP Logo ASCII: ESC followed by the BMP file data characters Hexadecimal: 1B followed by the BMP file data characters Decimal: 27 followed by the BMP file data characters Value:...
Chapter 7: Programming Guide 7-75 Select Bit Image Mode ASCII: ESC * m n1 n2 d1 ... dn Hexadecimal: 1B 2A m n1 n2 d1 ... dn Decimal: 27 42 m n1 n2 d1 ... dn Sets the print resolution and enters one line of graphics data into the print buffer.
Page 204
7-76 Chapter 7: Programming Guide In single density, one byte (7 dots) is printed in each full dot column; in double density, one byte is printed in each half/full dot column. *Adjacent horizontal dots (overlapping dots) are not printed on the slip. **In A758 Native Mode.
Page 205
Chapter 7: Programming Guide 7-77 24-Dot Single-Density Mode—Receipt Only Top of Bit Image d4 d7...
Chapter 7: Programming Guide 7-79 Select the Current Logo (Downloaded Bit Image) ASCII: GS # n Hexadecimal: 1D 23 n Decimal: 29 35 n Range of n: 0 – 255 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.
Page 208
7-80 Chapter 7: Programming Guide Exceptions: This command is only valid for the receipt station. However, it will be processed correctly regardless of whether the receipt station is currently selected.
Chapter 7: Programming Guide 7-81 Define Downloaded Bit Image ASCII: GS * n1 n2 d1 ... dn] Hexadecimal: 1D 2A n1 n2 d1 ... dn] Decimal: 29 42 n1 n2 d1 ... dn Value of n1: See the following table. Value of n2: See the following table.
Page 210
7-82 Chapter 7: Programming Guide Top of G raphic C olum n C olum n O ne 72 x 8 M ax. R ow O ne M S B R ow 64 M ax. Exceptions: See the illustration for the Print Downloaded Bit Image command (1D 2F) for a representation of the bit image.
Chapter 7: Programming Guide 7-83 Print Downloaded Bit Image ASCII: GS / m Hexadecimal: 1D 2F m Decimal: 29 47 m Value and Range of m: Value of m Print Mode Vertical DPI Horizontal DPI* Normal Double Wide Double High Quadruple Dot density measured in dots per inch Prints a downloaded bit image in RAM or Flash on the receipt station...
7-84 Chapter 7: Programming Guide Convert 6 Dots/mm Bitmap to 8 Dots/mm Bitmap ASCII: AX EOT n Hexadecimal: 1F 04 n Decimal: 31 04 n Value: 0 = Off 1 = On Default: 0 (Off) Selects or cancels 6 dot/mm in A756 Emulation Mode. When the 6 dot/mm emulation is selected, logos and graphics are expanded horizontally and vertically to emulate their size on a 6 dot/mm printer.
Chapter 7: Programming Guide 7-85 Status Commands Status Command Introduction The 7158 has three methods of providing status to the application. These methods are through Batch Status Commands, Real Time Status Commands, and Auto Status Back. An application may use one or more of these methods to understand the current status of the printer.
7-86 Chapter 7: Programming Guide Batch Mode For RS-232C printers, 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 which they are received.
Chapter 7: Programming Guide 7-87 Request Alternate Status (Parallel Only) ASCII: ESC u n Hexadecimal: 1B 75 n Decimal: 27 117 n Value and Range of n: Value of n Function Description Drawer 1 High = Open Low = Closed or Not Present Drawer 2 High = Open Low = Closed or Not Present...
7-88 Chapter 7: Programming Guide Transmit Printer Status ASCII: ESC v Hexadecimal: 1B 76 Decimal: 27 118 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.
3, 51 = ROM version ID Transmits the printer ID specified by n as follows: Printer ID Specification ID (hexadecimal) 1, 49 Printer model ID NCR 7158 0x28 (A758 Native Mode) 1, 49 Printer model ID NCR 7156 0x26 (A756 Emulation) 2, 50...
Page 218
7-90 Chapter 7: Programming Guide Type ID (n=4) Off/On Decimal Function No logo definition loaded by application. Logo loaded by application. Undefined Undefined Undefined Not used. Fixed to Off. Undefined Undefined Not used. Fixed to Off.
Chapter 7: Programming Guide 7-91 Transmit Printer ID, Remote Diagnostics Extension ASCII: GS I @ n Hexadecimal: 1D 49 40 n Decimal: 29 73 64 n Values of n: Refer to table Range of n: 32 – 255 (not all defined but reserved) Performs the remote diagnostic function specified by n.
Page 220
7-92 Chapter 7: Programming Guide Value of n Remote Diagnostic Function Item “ Serial # Not available, cannot clear Serial # item Serial # Return Serial #, preceded by n to identify Printer returns 12 bytes in above example: #1234567890<CR> Class/model #, Write to NVRAM 15 digit ASCII...
Page 221
Chapter 7: Programming Guide 7-93 Value of n Remote Diagnostic Function Item â Receipt lines Return receipt lines tally, preceded by n to identify tally Printer returns 10 bytes in above example: â00010000<CR> ä Knife cut tally, Write to NVRAM 8 digit ASCII numeric, max 99,999,999...
Page 222
7-94 Chapter 7: Programming Guide Value of n Remote Diagnostic Function Item É Hours on tally, Write to NVRAM 8 digit ASCII numeric, max 99,999,999 æ Hours on tally Write to NVRAM, and print on receipt to verify Æ Hours on tally Clear Hours on tally to 0 ô...
Page 223
Chapter 7: Programming Guide 7-95 Value of n Remote Diagnostic Function Item ¡ Cover openings Write to NVRAM, and print on receipt to verify tally « Cover openings Clear Cover openings tally to 0 tally » Cover openings Return Cover openings tally, returns 10 bytes tally █...
7-96 Chapter 7: Programming Guide Transmit Status ASCII: GS r n Hexadecimal: 1D 72 n Decimal: 29 114 n Value of n: 1, 49 = printer status 2, 50 = cash drawer status 3, 51 = slip paper status 4, 52 = Flash Memory status Transmits the status specified by n.
Page 225
Chapter 7: Programming Guide 7-97 Printer Status (n = 1 or n = 49) Off/On Decimal Status for Transmit Status Receipt paper adequate. Receipt paper low. Receipt paper adequate. Receipt paper low. Receipt paper present. Receipt paper exhausted. Receipt paper present. Receipt paper exhausted.
Page 226
7-98 Chapter 7: Programming Guide Slip Paper Status (n = 3 or n = 51) Value of Byte Slip Status Returned 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.
Chapter 7: Programming Guide 7-99 Recognizing Data from the Printer An application sending various Real Time and non-Real Time commands to which the printer responds can determine which command a response belongs to by the table below. Responses to Transmit Peripheral Device Status (1B 75) and Transmit Paper Sensor Status (1B 76) are non-Real Time responses and will arrive in the order in which they were solicited.
7-100 Chapter 7: Programming Guide Real Time Commands These commands provide an application interface to the printer even when the printer is not handling other commands (RS-232C communication interface only): 1. Real Time Status Transmission (GS Sequence and DLE Sequence) 2.
Chapter 7: Programming Guide 7-101 Alternate Implementation The alternate implementation uses the DLE (0x10) sequences as implemented on other printers. An application using these DLE (0x10) sequences and the original 7156 Clear Printer command (0x10) must distinguish for the printer between the new real time commands and the Clear Printer command by adding a NUL (0x00) to the Clear Printer command.
7-102 Chapter 7: Programming Guide Moving Data Through the Buffer Another consideration is that an application should take care not to let the buffer fill up with real time commands when the printer is busy at the RS-232C interface. A busy condition at the RS-232C interface can be determined by bit 3 of the response to 1D 05 or 1D 04 1 or 10 04 1.
Chapter 7: Programming Guide 7-103 Real Time Status Transmission GS Sequence DLE Sequence ASCII: GS EOT n DLE EOT n Hexadecimal: 1D 04 n 10 04 n Decimal: 29 4 n 16 4 n Value of n: GS/DLE Sequence 1 = Transmit printer status 2 = Transmit RS-232C busy status 3 = Transmit error status 4 = Transmit receipt paper status...
Page 232
7-104 Chapter 7: Programming Guide Related Information: 1 = Transmit Printer Status Status Decimal Function Fixed to Off Fixed to On One or both cash drawers open Both cash drawers closed Not busy at the RS-232C interface Printer is Busy at the RS-232C interface Fixed to On Undefined Undefined...
Page 233
Chapter 7: Programming Guide 7-105 3 = Transmit Error Status Status Decimal Function Fixed to Off Fixed to On No slip motor or flip jam Slip motor or flip jam occurred No knife error Knife error occurred Fixed to On No unrecoverable error Unrecoverable error occurred Thermal printhead temp./power supply...
Page 234
7-106 Chapter 7: Programming Guide 5 = Transmit Slip Paper Status Status Decimal Function Fixed to Off Fixed to On Slip paper selected Receipt paper selected Not waiting for slip Waiting for slip Fixed to On Slip leading edge sensor: paper preset Slip leading edge sensor: no paper Slip trailing edge sensor: paper preset Slip trailing edge sensor: no paper...
Chapter 7: Programming Guide 7-107 Real Time Request to Printer GS Sequence DLE Sequence ASCII: GS ETX n or DLE ENQ n Hexadecimal: 1D 03 n or 10 05 n Decimal: 29 3 n or 16 5 n Value of n: 1 = Recover and restart 2 = Recover and clear buffers 3 = Cancel slip waiting...
Page 236
7-108 Chapter 7: Programming Guide Recovers from an error after clearing the receive and print buffers. Print settings that are normally preserved from line to line, such as character height and width, are still preserved with this command. This sequence is ignored except when the printer is busy due to an error condition.
Chapter 7: Programming Guide 7-109 Real Time Printer Status Transmission ASCII: GS ENQ Hexadecimal: 1D 05 Decimal: 29 5 Transmits one byte status of the printer in real time. Value of Byte: Status Decimal Function Receipt paper adequate Receipt paper low Receipt paper adequate Receipt paper low Both receipt and cassette doors closed...
7-110 Chapter 7: Programming Guide Auto Status Back Select or Cancel Automatic Status Back ASCII: GS a n Hexadecimal: 1D 61 n Decimal: 29 97 n Value of n: Status of ASB Enables or disables automatic status back (ASB) and specifies the status items.
Page 239
Chapter 7: Programming Guide 7-111 The bits of n are defined in the table. Off/On Decimal Status for ASB Cash drawer status disabled. Cash drawer status enabled. RS-232C Busy status disabled. RS-232C Busy status enabled. Error status disabled. Error status enabled. Receipt paper roll status disabled.
Page 240
7-112 Chapter 7: Programming Guide First Byte (Printer Information) Off/On Decimal Status for ASB Not used. Fixed to off. Not used. Fixed to off. One or both cash drawers open. Both cash drawers closed. Not Busy at the RS232C interface. Printer is Busy at the RS232C interface.
Page 241
Chapter 7: Programming Guide 7-113 Third Byte (Paper Sensor Information) Off/On Decimal Status for ASB Receipt paper adequate Receipt paper low Receipt paper adequate Receipt paper low Receipt paper present. Receipt paper exhausted. Receipt paper present Receipt paper exhausted Not used. Fixed to off. Slip leading edge sensor: paper present Slip leading edge sensor: no paper Slip trailing edge sensor: paper preset...
2 dots to 4 dots per module (DPM) for the narrow modules. The default is 3 DPM. 7158 firmware ranges from 1 dot per module to 5 dots per module (DPM) printed on the receipt. The default is 2 DPM.
Chapter 7: Programming Guide 7-115 Select Pitch for HRI Characters ASCII: GS f n Hexadecimal: 1D 66 n Decimal: 29 102 n Value of n: Pitch 0 = Standard Pitch at 15.2 CPI on receipt 1 = Compressed Pitch at 19 CPI on receipt Default: 0 (Standard Pitch at 15.2 CPI) Selects standard or compressed font for printing Bar Code characters.
Page 244
7-116 Chapter 7: Programming Guide Values: First Variation: String terminated with NUL Character m = 0 – 6, 10 d = 32 - 126 (see the table) n = 1 - 255 (see the table) Selects the bar code type and prints a bar code for the ASCII characters entered.
Page 245
Chapter 7: Programming Guide 7-117 The check digit is calculated for UPC and JAN (EAN) codes if it is not sent from the host computer. Six-character zero-suppressed UPC-E tags are generated from full 11 or 12 characters sent from the host computer according to standard UPC-E rules.
Chapter 7: Programming Guide 7-119 Exceptions: Illegal data cancels this command. The command is valid only at the beginning of a line. PDF 417 format cannot be printed on the slip. Barcodes on the Slip are always right justified. PDF417 and Code 93 are only available in A758 Native Mode. Select Bar Code Width ASCII: GS w n...
7-120 Chapter 7: Programming Guide Page Mode Commands Page Mode is one of two modes, which the 7158 printer uses to operate. Standard Mode is typical of how most printers operate by printing data as it is received and feeding paper as the various paper feed commands are received.
Chapter 7: Programming Guide 7-121 Cancel Print Data in Page Mode ASCII: Hexadecimal: Decimal: Deletes all the data to be printed in the “page” area. Any data from the previously selected “page” area that is also part of the current data to be printed is deleted.
7-122 Chapter 7: Programming Guide Select Page Mode ASCII: ESC L Hexadecimal: 1B 4C Decimal: 27 76 Switches from Standard Mode to Page Mode. After printing has been completed either by the Print and Return to Standard Mode (FF) command or Select Standard Mode (1B 53) the printer returns to Standard Mode.
Chapter 7: Programming Guide 7-123 Select Standard Mode ASCII: ESC S Hexadecimal: 1B 53 Decimal: 27 83 Switches from Page Mode to Standard Mode. In switching from Page Mode to Standard Mode, data buffered in Page Mode are cleared, the printing area set by Set Print Area in Page Mode (1B 57) is initialized and the print position is set to the beginning of the line.
7-124 Chapter 7: Programming Guide Select Print Direction in Page Mode ASCII: ESC T n Hexadecimal: 1B 54 n Decimal: 27 84 n Value of n: Start position Selects the printing direction and start position in Page Mode. See the illustration.
Chapter 7: Programming Guide 7-125 Set Printing Area in Page Mode ASCII: ESC W n1, n2 ...n8.] Hexadecimal: 1B 57 n1, n2 ...n8] Decimal: 27 87 n1,n2 ...n8] Range: 0 - 255 Default: n1-4 = 0 n5 = 64 n6 = 2 n7 = 64 n8 = 2 Sets the position and size of the printing area in Page Mode.
Page 254
7-126 Chapter 7: Programming Guide 4. dy = [(n7 + n8 x 256) x (vertical direction of the fundamental calculation pitch)] Keep the following notes in mind for this command. 5. The fundamental calculation pitch depends on the vertical or horizontal direction.
Chapter 7: Programming Guide 7-127 Set Absolute Vertical Print Position in Page Mode ASCII: GS $ nL nH Hexadecimal: 1D 24 nL nH Decimal: 29 36 nL nH Formulas: [(nL + nH X 256) x (vertical or horizontal motion unit)] inches. Sets the absolute vertical print starting position for buffer character data in Page Mode.
7-128 Chapter 7: Programming Guide Set Relative Vertical Print Position in Page Mode ASCII: GS \ nL nH Hexadecimal: 1D 5C nL nH Decimal: 29 92 nL nH Sets the relative vertical print starting position from the current position. This command can also change the horizontal and vertical motion unit.
Chapter 7: Programming Guide 7-129 Macro Commands These commands are used to select and perform a user-defined sequence of printer operations. Start or End Macro Definition ASCII: GS : Hexadecimal: 1D 3A Decimal: 29 58 Starts or ends macro definition. Macro definition begins when this command is received during normal operation and ends when this command is received during macro definition.
7-130 Chapter 7: Programming Guide Execute Macro ASCII: GS ^ r t m Hexadecimal: 1D 5E r t m Decimal: 29 94 r t m Value of r: The number of times to execute the macro. Value of t: The waiting time for executing the macro. Executes a macro.
Chapter 7: Programming Guide 7-131 MICR Commands MICR Reading These commands control the Magnetic Ink Character Recognition (MICR) check reader, including how it parses the character strings on checks. The section, MICR Parsing, describes how to create a parsing format and how to create and maintain an Exceptions table.
7-132 Chapter 7: Programming Guide MICR Parsing This section describes MICR parsing in detail and includes several examples of useful parsing variations. It also describes how to create a parsing format and how to create and maintain an exception table. Define Parsing Format, Save in NVRAM ASCII: ESC w P d1 d2 …...
Chapter 7: Programming Guide 7-133 Parsing Parameter String Options Variable Length Fields Variable Length Field Name Selector Comments Transit Number Full 9 digit routing/transit number Bank Number Digits 4-8 of transit number Check Digit Digit 9 of transit number Account Number Check Serial Number Separate from account number Amount...
Page 262
7-134 Chapter 7: Programming Guide Other Parameters Error Number One Digit 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 Error in account number Error in check serial number Business or commercial check...
Page 263
Chapter 7: Programming Guide 7-135 Ten parameters are more than enough to specify all variable length fields with a field separator each and other status information that may be helpful to an application. More than 10 parameters are not recommended because they use up space in non-volatile memory (NVRAM) available for the exception table.
7-136 Chapter 7: Programming Guide Sample Parsing Formats The following strings show various sample formats that you can use assuming they meet your parsing format needs. Included with the sample format is a description of the data that is returned to the application.
Page 265
Chapter 7: Programming Guide 7-137 ESC w p 018 x A <CR> • Always 18 characters in the account number with spaces and dashes replaced with 0 • Final Carriage Return ESC w p T 18 X A 04C <CR> •...
Page 266
7-138 Chapter 7: Programming Guide ESC w p T '/ A '/ C '/ S <CR> • All characters in the transit number • Field separator: / • All characters in the account number • Field separator: / • All characters in the check number •...
Chapter 7: Programming Guide 7-139 Notes All parameters are ASCII characters, i.e. greater than or equal to 0x20, with the exception of a non-ASCII character enclosed in single quotes as a field separator. This applies both to parameter specifications sent from application to printer, and to MICR data returned from printer to application.
Page 268
7-140 Chapter 7: Programming Guide Once a parsing format is specified, the following values are returned: MICR Characters ASCII Hexadecimal Numerics 0...9 0x30...0x39 0x20 Space Dash 0x2D Field separator* Country code* *As specified in the parsing parameter string...
Chapter 7: Programming Guide 7-141 Check Serial Number Parsing the Check Serial Number Most banks print the check serial number in three easily recognizable spots. The printer firmware will look for the number in these spots, using the following ordered algorithm. The examples use letters to represent symbols on the check: Transit symbol “on us”...
Page 270
7-142 Chapter 7: Programming Guide 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. If it is imbedded within the account number field, it will be returned as part of that variable length field.
Page 271
Chapter 7: Programming Guide 7-143 Loading the Exception Table The exception table begins at word 20 in NVRAM. Each entry takes five words. There is room for eight exceptions with a sumcheck written in the last word. An application can load local exceptions into the printer using the write NVRAM command: 0x1B 0x73 n1 n2 k which writes the two byte word n1:n2 to word k in NVRAM.
7-144 Chapter 7: Programming Guide Exception Table Entry Format Each exception table entry consists of five words. The first two words contain the first eight characters of the transit number by packing the low order nibble of the numeric transit number characters. For Canadian checks, eliminate the dash and store the eight numerics.
7-146 Chapter 7: Programming Guide 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. Check Flip Command Check Flip Command ASCII: ESC w F...
Chapter 7: Programming Guide 7-147 Read from User Data Storage ASCII: ESC 4 m a0 a1 a2 Hexadecimal: 1B 34 m a0 a1 a2 Decimal: 27 52 m a0 a1 a2 Value of m: 0 – 255 Reads m bytes of data from the User Data Storage Flash Page at the address specified.
7-148 Chapter 7: Programming Guide Select Memory Type (SRAM/Flash) Where to Save Logos or User-Defined Fonts ASCII: GS " n Hexadecimal: 1D 22 n Decimal: 29 34 n Value of n: 48 - 51 Specifies whether to load the logos or user-defined characters to Flash Memory or to RAM (volatile memory).
+ n2 <= 10 (1M) n1 + n2 <= 18 (2M) The 7158 has been configured at the factory with 512K, 1M or 2M of Flash memory. If n1 + n2 is greater than the maximum number of sectors available, the command is ignored. Reissuing this command with different parameters will erase all sectors.
7-150 Chapter 7: Programming Guide Erase User Flash Sector ASCII: GS @ n Hexadecimal: 1D 40 n Decimal: 29 64 n Value of n: 49 - 50 Erases a page of Flash Memory and sends a carriage return when the operation is complete.
Chapter 7: Programming Guide 7-151 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.
Chapter 7: Programming Guide 7-153 Select Flash Memory Sector to Download ASCII: GS STX n Hexadecimal: 1D 02 n Decimal: 29 2 n Value of n: the Flash sector to which the next download operation applies Range of n: 0 – 7 (512K) 0 –...
7-156 Chapter 7: Programming Guide Download to Active Flash Sector ASCII: GS DC1 al ah cl ch d1…dn Hexadecimal: 1D 11 al ah cl ch d1…dn Decimal: 29 17 al ah cl ch d1…dn Value of al = low byte of the address Value of ah = high byte of the address Value of cl...
Chapter 7: Programming Guide 7-157 Reboot the Printer ASCII: GS (SPACE) Hexadecimal: 1D FF Decimal: 29 255 Ends the load process and reboots the printer. Before executing this command, the printer should have firmware loaded and external switches set to the runtime settings. Application software for downloading should prompt the user to set the external switches and confirm before sending this command.
Universal Serial Bus Chapter 8: About the Universal Serial Bus The Universal Serial Bus (USB) is a peripheral bus for personal computers that was first released in January 1996. Since that time, virtually all Intel Architecture personal computers have the hardware to support USB, and a large number of computers exist that have both the hardware and software support required to interface with USB peripherals.
USB by implementing a USB solution that simulates standard serial communications in Windows 95 (OSR2.1), 98, and NT 4.0 (Service Pack 3 or higher). Application developers need only redirect their software to the virtual serial ports created by the NCR USB solution to use the printer.
With the required hardware in place, Windows 98 and 95 (OS R2.1) natively support plug-and-play USB with a built-in driver; Windows NT does not, and the NCR Windows NT USB driver needs to be installed. IMPORTANT: You need LPIN D370-1111-0100 oad the appropriate drivers for the USB printers.
Page 290
Note: Even though the host may have a USB port, Windows NT does not natively support plug-and-play USB because it does not have a built-in driver. You will need to load the NCR Windows NT USB driver (see “Installing the USB Printer Drivers”).
Chapter 8: Universal Serial Bus Configuring NCR POS Printers for USB Installing the NCR 7158 USB Upgrade Kit If you’re upgrading the printer, you may need to upgrade the firmware and must install a USB Board. If your printer is factory configured for USB, proceed to “Configuring the Printer.”...
Chapter 8: Universal Serial Bus 7. Return DIP switch No.1 to the original Off (down) position. 8. When you’re finished, plug the printer in again. The LED remains on without blinking. The printer is now operational. You can print out a diagnostics form to verify that the boot and flash versions of the firmware have been updated.
Page 293
Chapter 8: Universal Serial Bus 4. Remove the Options Board by gripping it at the connector end and lifting up. You may need to wiggle it slightly back and forth as you pull. 5. Firmly seat the USB Board onto the Controller Board (where you just removed the Options Board) by carefully aligning the connectors and pushing the USB Board down into place.
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. The printer can be configured to use hardware flow control (using DTR/DSR) or software flow control (using XON/XOFF).
Page 295
Chapter 8: Universal Serial Bus Switch 1 is shown in the ON position 4 3 2 1 DIP Switch DIP Switch Back of Printer 3. Open the Front Cover of the printer and press the Reset button, while pressing the Paper Feed button. The printer beeps, prints the current configuration, then waits for you to make a selection from the Main Menu on the printout.
Page 296
8-10 Chapter 8: Universal Serial Bus Follow the instructions on the scrolling menu, pressing the Paper Feed button to make selections. Indicate Yes with a long click, and No with a short click. • Press and hold the Paper Feed button for at least one second for a long click.
Page 297
Chapter 8: Universal Serial Bus 8-11 8. Follow the instructions to select either XON/OFF or DTR/DSR, then skip the remaining communications parameters. 9. When you have finished, set DIP switch 1 to Off (down). 10. Press the Reset button. The printer resets with the new selection. You can verify the new setting by pressing the Paper Feed button to print out a diagnostics form or by holding the Paper Feed button while closing the Top Cover.
USB Board connector only. Do not insert the USB cable into the Cash Drawer connector on the right back of the printer. Damage to the printer could occur. If you are not sure of your printer configuration, contact NCR before proceeding. Strain...
Page 299
Chapter 8: Universal Serial Bus 8-13 2. To start the installation program, plug one end of the USB cable into the USB connector port on the printer. Route the cable from the printer, as shown, to provide strain relief and plug the other end into the host computer.
1. Open the Device Manager window, as you did in “Checking for USB Support.” 2. Scroll down to “Universal serial bus controllers.” The following devices should be displayed: • NCR 7158 Printer • NCR 7158 Serial Ports [Port#] (where the # is the location of the printer)
Page 301
Chapter 8: Universal Serial Bus 8-15 3. Scroll back up to “Ports.” You should see a COM number and port description for the NCR printer. If the devices are missing or are not listed correctly, the installation wasn’t successful. You will need to reinstall the drivers.
1. Open the Device Manager and make sure “View Devices By Type” is selected. 2. Scroll down to Universal serial bus controller, and expand the list by pressing the “+” symbol. You’ll see two entries for your NCR printer. 3. Select the printer name and click Properties.
In many cases this is exactly what is desired. You can check the assigned serial port by clicking the General tab in the Edgeport utility. You’ll see an entry for the NCR printer. Expand the list to see which serial port has been assigned to the printer.
Page 304
8-18 Chapter 8: Universal Serial Bus Windows NT: Windows NT users will need to run the Edgeport Configuration Utility to uninstall the drivers. 1. Press Windows Start Menu button. 2. Choose Programs, then Inside Out Networks Utilities. 3. Choose Edgeport Configuration Utility. 4.
Chapter 8: Universal Serial Bus 8-19 Troubleshooting Problem Solution Device not working. Check for conflicting USB devices. Check Comport assignment in application. Reconnect USB connector to PC.
8-20 Chapter 8: Universal Serial Bus Frequently Asked Questions USB Printer Performance Under Windows 95 Normally sending output to a USB printer results in a print speed slightly faster than that obtained using the highest baud rate of 115200 under RS-232. Our performance testing typically yields between 33 to 40 lines-per-second depending on other processes that takes place in the terminal.