background image

 

 

Chapter 8:

  Universal Serial Bus 

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. 

Advantages of USB connections 

USB has a number of advantages over legacy connection schemes (e.g., 
serial RS-232). These advantages include: 

• 

High Speed: up to 12 MB/second for high-speed devices. 

• 

Plug and Play: Devices are automatically recognized and 

configured at installation. 

• 

Hot plug: Bus supports installation and removal of devices with the 

power applied. 

• 

Up to 127 devices: One host can support up to 127 devices with the 

use of hubs. 

• 

“Free ports”: Most PC architecture machines contain two USB ports 

in the base hardware. 
These advantages have become attractive to the POS industry for a 
couple of reasons. 

Содержание 7158

Страница 1: ...NCR 7158 Thermal Receipt and Impact Printer Release 1 0 Owner s Guide B005 0000 1112 Issue D...

Страница 2: ...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 representati...

Страница 3: ...ification Interface Cable A shielded 360 degree interface cable must be used with this product The shield must be connected to the frame or earth ground connection or earth ground reference at EACH en...

Страница 4: ...s a general guide for operators and supervisors who need to know how to use the printer It is also intended as a technical guide for programmers and system integrators who need to know the technical i...

Страница 5: ...tions 1 5 Connectivity Options 1 5 Thermal Receipt Printer Options 1 5 Impact Slip Printer Options 1 5 Electronics and Firmware Options 1 5 Model Identification Key 1 6 Chapter 2 Setup Guide Unpacking...

Страница 6: ...ring the Printer 3 17 Communication Interface 3 20 RS 232C Serial Interface Settings 3 20 Diagnostic Modes 3 21 Datascope Mode 3 21 Receipt Test Mode 3 22 Slip Test Mode 3 23 MICR Test Mode 3 23 Check...

Страница 7: ...8 Returning a Printer 3 39 Chapter 4 Printer Media Supplies Ordering Thermal Paper 4 1 Thermal Paper Specifications 4 1 Ordering Parts and Supplies 4 2 Ordering Cash Drawers 4 2 Ordering Power Supply...

Страница 8: ...ments 5 12 Slip Printing 5 12 Slip Positioning 5 12 Slip Format 5 13 Slip Throughput 5 14 Character Format 5 15 Allowable Duty Cycle measured over one minute of continuous printing 5 16 Ribbon Life 5...

Страница 9: ...and Weight 5 36 Chapter 6 Communication Interface Communication Overview 6 1 Using DOS to Send Commands 6 1 Using BASIC to Send Commands 6 2 RS 232C Interface 6 3 Print Speed and Timing 6 3 50ms Paus...

Страница 10: ...Commands 7 13 Page Mode Commands 7 14 Macro Commands 7 14 MICR Check Reader Commands 7 14 Check Flip Commands 7 15 User Data Storage Commands 7 15 Flash Download Commands 7 16 Comparison to 7156 7 17...

Страница 11: ...Receipt or Slip for Printing Slip for MICR Read 7 27 Select Receipt or Slip for Setting Line Spacing 7 28 Select Paper Sensors to Output Paper End Signals Parallel Only 7 29 Select Sensors to Stop Pr...

Страница 12: ...e Feed n Dots 7 44 Set Horizontal and Vertical Minimum Motion Units 7 44 Horizontal Positioning Commands 7 45 Horizontal Tab 7 45 Set Column 7 45 Set Absolute Starting Position 7 46 Set Horizontal Tab...

Страница 13: ...de Table 7 66 Select or Cancel Unidirectional Printing Mode 7 67 Select or Cancel 90 Degrees Clockwise Rotated Print 7 67 Select or Cancel Upside Down Printing Mode 7 68 Select Character Size 7 69 Sel...

Страница 14: ...Real Time Status Transmission 7 103 Real Time Request to Printer 7 107 Real Time Printer Status Transmission 7 109 Auto Status Back 7 110 Select or Cancel Automatic Status Back 7 110 Bar Code Commands...

Страница 15: ...7 132 Parsing Parameter String Options 7 133 Sample Parsing Formats 7 136 Notes 7 139 Check Serial Number 7 141 Exception Table Entry Format 7 144 Maintaining the Exception Table 7 145 Check Flip Com...

Страница 16: ...nections 8 1 Advantages of the NCR USB Solution 8 2 Checking for USB Support on the Host Computer 8 3 Host Configuration 8 3 Windows NT 8 3 Configuring NCR POS Printers for USB 8 5 Installing the NCR...

Страница 17: ...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 A Apr 99 First issue B June 99 Minor Updates C Ju...

Страница 18: ...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 The correction of i...

Страница 19: ...any host computer that uses the standard RS 232C interface Other interfaces are also available The printer s standard command set allows it to work with software written for NCR or other ESC POS compl...

Страница 20: ...ous alerts Online Configuration Menu the printer guides the user through its configuration settings by printing instructions and a menu on receipt paper Electronics and Firmware Industry standard comm...

Страница 21: ...ent character sets Code Pages 437 US 850 Multilingual 852 Slavic 858 with Euro symbol 860 Portuguese 863 French Canadian and 865 Nordic and 866 Cyrillic Prints standard bar codes Code 39 UPC A UPC E J...

Страница 22: ...e MICR check reader option Form insertion flexibility insert forms in front or from the side Form alignment sensors and LED indicator Double wide and rotated print modes a double strike print mode imp...

Страница 23: ...tional receipt cutter Impact Slip Printer Options The slip table is available in either standard or 2 extended sizes An extended slip table is standard with the MICR check reader and flip options The...

Страница 24: ...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 2 2MB Flash m...

Страница 25: ...on the following formula The first digit indicates the release vintage and color of the printer s case The second digit indicates the amount of flash memory installed in the printer The third digit in...

Страница 26: ...1 8 Chapter 1 About the Printer...

Страница 27: ...lever on slip table Foam restraint for carriage behind front cover Power supply with cable connecting to printer and power supply cord connecting to power outlet only if ordered with the printer Ribbo...

Страница 28: ...inter on a level surface and make sure there is enough room to open the receipt cover to change the paper and to open the front cover to change the impact printer s ribbon cassette Leave several inche...

Страница 29: ...Guide 2 3 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...

Страница 30: ...Setup Guide Receipt Cover Paper Roll Paper Roll Supports Test Printout 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...

Страница 31: ...onnector 9 pin connector shown Power Supply Connector Cash Drawer Connector Note Depending on your printer configuration the connector panel may vary from the above illustration Communication Cable Th...

Страница 32: ...he cash drawer connector standard phone jack located at the rear of the printer Printer Y Cable Drawer Drawer Printer Connector Standard Phone Jack Note a If your system has two cash drawers attach a...

Страница 33: ...ns Cable To the Communications Connector Strain Relief Cash Drawer Cable Power Supply or Adapter Cable Cash Drawer Cable 2 Route the cash drawer and the power supply cables through the stain relief as...

Страница 34: ...ce 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 Note Paper must unroll from the bottom of the rol...

Страница 35: ...Chapter 2 Setup Guide 2 9 4 Remove the excess paper by tearing it against the tear off blade 5 Press the Paper Feed Button to advance the paper...

Страница 36: ...en the ribbon by turning the knob on the cassette in the direction of the arrow Caution DO NOT remove the mylar shield Ribbon Cassette Knob Mylar Shield Front Cover Ribbon Cassette Shown in Position P...

Страница 37: ...ration Menu as instructed on the bottom of the test printout The printout may be useful to a service representative if there is a problem If something appears to be wrong with the test printout such a...

Страница 38: ...emely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer 3 Press the Paper Feed Button the number of clicks fo...

Страница 39: ...ne Paper Status Error LED Green Paper Feed Button The printer has the following controls The Paper Feed Button advances the receipt paper The On Line Paper Status Error LED shows the printer status by...

Страница 40: ...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 trip...

Страница 41: ...Change the paper as soon as possible to avoid running out of paper part way through a transaction If the On Line Paper Status Error LED blinks fast the paper is out Change the paper immediately or da...

Страница 42: ...r unrolling from the bottom of the roll and with a few inches of paper extending over the cabinet front Paper must unroll from the bottom of the roll to insure the image will print 4 Close the cover w...

Страница 43: ...assette 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...

Страница 44: ...Front Cover Ribbon Cassette Shown in Position Printhead 2 Unwrap and tighten the new ribbon by turning the knob on the cassette in the direction of the arrow Caution Do not remove the Mylar shield 3 P...

Страница 45: ...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 Electronic funds transfer...

Страница 46: ...s 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 Slip Table Extended Slip Table PAY TO THE ORDER OF DOLLARS 19...

Страница 47: ...ns against the Check Guide 3 Slide a short form or check toward the back of the printer until it contacts the Form Stop it won t be able to go any further For a long form position it appropriately usi...

Страница 48: ...e printer is able to flip the check over and print on the front of the check Note To ensure that checks are properly verified and validated they must be free of folds and wrinkles and inserted correct...

Страница 49: ...instructions on the host computer to complete the MICR process a When instructed by the host the check is fed into the printer read and backed out to a position ready for endorsement if desired b With...

Страница 50: ...3 12 Chapter 3 Using the Printer Clearing Check Flip Paper Jams Check Check Flip Window Door...

Страница 51: ...eck 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 If the jammed check is not visible in the window open the F...

Страница 52: ...ears to be wrong with the test printout such as missing or faded text see the troubleshooting section in this document 1 To run the test either a Open and close the receipt cover while holding down th...

Страница 53: ...Chapter 3 Using the Printer 3 15 Configuration Menu and Print Test samples show approximately 60 of size...

Страница 54: ...inted on receipt paper The Configuration Menu prints instructions and setting options interactively as the user goes through the configuration process The following functions and parameters can be cha...

Страница 55: ...ge various settings as indicated in the preceding sections The Configuration Menu prints instructions and setting options interactively as the user goes through the configuration process Caution Be ex...

Страница 56: ...3 18 Chapter 3 Using the Printer 1 Set DIP Switch 1 to On Front of Printer Reset Button Front Cover...

Страница 57: ...g 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...

Страница 58: ...he user the option of setting the printer to use an RS 232C serial port See Configuring the Printer for instructions on how to enter the Configuration Menu RS 232C Serial Interface Settings If the use...

Страница 59: ...These diagnostic modes are enabled or disabled by using the Configuration Menu See Configuring the Printer for instructions on how to enter the Configuration Menu Datascope Mode Datascope Mode allows...

Страница 60: ...Menu The printer is in Normal Mode and can communicate with the host computer Receipt Test Mode To run the Receipt Test Mode 1 Enable the Receipt Test Mode through the Configuration Menu See Configur...

Страница 61: ...inted 5 Go to step 2 again to repeat this test To exit the Slip Test Mode 6 Enter the Configuration Menu again 7 Disable the Slip Test Mode 8 Exit the Configuration Menu The printer is in Normal Mode...

Страница 62: ...check reader The decoded data is printed on receipt paper the platen is opened and the test is re started 5 The printed numbers should match the numbers on the check If the MICR check reader misreads...

Страница 63: ...ation Menu then exit the Configuration Menu 2 Insert a check as if validating the check lengthwise and face down into the slip station See Verifying and Validating Checks section to insert check A che...

Страница 64: ...er Emulations Printer emulations determine the commands that are available to the printer They are set by using the Configuration Menu See Configuring the Printer for instructions on how to enter the...

Страница 65: ...hange this setting Hardware Options Print Density This function makes it possible to adjust the energy level of the printhead to darken the printout An adjustment should only be made when necessary Th...

Страница 66: ...back of the printhead This character is visible by removing the top cover of the printer Only a trained service representative may remove this cover Therefore under normal use this setting should be l...

Страница 67: ...when a form is inserted properly It does not indicate an error For some problems the printer communicates the information to the host computer and relies on the application to indicate what the probl...

Страница 68: ...ad Fast Blink Level 0 Diagnostics entered at power on or in reset Fast Blink Paper Low Temperature Error Voltage Error Slow Blink Cover Open receipt slip or flip Paper Out Carriage Jam Slip Jam Flip J...

Страница 69: ...On Line Paper Status Error LED blinks in the same pattern and the printer won t power up The printer has a problem with its electronics Contact a service representative Printer beeps during normal ope...

Страница 70: ...contact a service representative Printer doesn t have power LED not on Power supply may be defective If the power supply is plugged in but does not come on you will need to order a new power supply Se...

Страница 71: ...Front Cover and clear jam Receipt paper is low There are about 4 5 meters 3 meters 15 feet 10 feet of paper left Change the paper soon to avoid running out of paper part way through a transaction See...

Страница 72: ...representative Ribbon cassette is worn Replace the ribbon cassette See Replacing the Ribbon Cassette in this document Light print smudging or slip skews Platen gap needs adjustment Contact a service...

Страница 73: ...used If non recommended paper has been used for an extended period of time cleaning the printhead with an alcohol pen will not be of much benefit Contact a service representative Contact a service rep...

Страница 74: ...flip mechanism See Clearing Paper Jams in this document The optional MICR Magnetic Ink Character Recognition check reader does not read or misreads checks The check is inserted improperly The check is...

Страница 75: ...ot cut Paper is jammed The printer has a knife but the firmware is not configured for a knife All other problems Open the receipt cover inspect the knife and clear any jammed paper Enable the knife op...

Страница 76: ...rms printing Printer will not cycle or stop when required Illegible characters Paper will not feed Knife will not cycle or cut Platen will not open or close Printer will not communicate with the host...

Страница 77: ...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 Reques...

Страница 78: ...he left side of the printer and the carriage to protect the carriage c Place the cardboard support on the Slip Table d Place the printer in the plastic bag and foam pack place the packed printer in th...

Страница 79: ...the end to indicate that the paper is running low 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 produc...

Страница 80: ...bers Item Type Number Power supply 55 watt with attached cable to printer and U S power supply cord 7158 K330 Power supply 75 watt with attached cable to printer and U S power supply cord 7158 K331 Po...

Страница 81: ...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 00 inches wide 68 mm 2 68 inches long S...

Страница 82: ...tative or order from NCR at the following address or toll free number NCR Corporation Systemedia 9995 Washington Church Road Miamisburg OH 45342 1 800 543 8130 Ordering Extended Slip Tables Contact a...

Страница 83: ...solution Standard 139 DPI X 72 DPI Compressed 171 DPI X 72 DPI Character Cell 10 Half Dots x 7 Dots High Print Line Width Standard 66 characters 13 9 CPI Compressed 80 characters 17 1 CPI Enhanced Pri...

Страница 84: ...expose about one inch of the form to push in place Forms Detection Leading edge sensor at forms stop Trailing edge sensor in right margin Indicators Green LED Slip in light Character Sets PC Code Page...

Страница 85: ...ength of the edge and the quality of glue used Binding on the right edge Paper feeding and insertion can be affected by the binding method the length of the edge and the quality of glue used Binding o...

Страница 86: ...Slip LED Sensors use a reflective photo sensor Do not use paper that has holes or is translucent at the Slip LED Sensor location See A in above illustration Do not use paper that has holes on dark ar...

Страница 87: ...ard Receipt Features Print Technology Direct thermal 640 dot printhead Print Resolution 203 DPI horizontal and vertical 8 dots mm Character Cell Standard 13 X 24 Compressed 10 X 24 Print Width Standar...

Страница 88: ...PC Code Page 860 PC Code Page 863 PC Code Page 865 PC Code Page 866 resident Additional Flash memory for user defined characters Graphics 203 DPI X 203 DPI bit mapped input as 24 dot high print lines...

Страница 89: ...ptions MICR Reader Integrated into the slip station Reads MICR checks oriented for validation on the back of the check and communicates the character string to the host computer Reads E13B and CMC7 MI...

Страница 90: ...Failure MCBF for the items indicated Thermal Receipt Printer 45 Million Lines Impact Slip Printer 15 Million Lines Impact Printhead 200 Million Characters Knife 1 5 Million Cuts MICR Check Reader 200...

Страница 91: ...Chapter 5 Technical Specifications 5 9 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...

Страница 92: ...omplies with the regulatory EMI standards and levels indicated in the section on Certifications when tested as a stand alone unit When connected to a host terminal or system the 7158 also complies wit...

Страница 93: ...80 compressed columns Large forms may be inserted from the left side and override the slip stop Forms over 170 mm 6 70 inches wide will extended outside the left side of the printer Receipt Media Dire...

Страница 94: ...apter 7 Programming Guide for a comparison to the 7156 Performance Requirements Slip Printing Slip Positioning Forms are inserted from the front top of form first up to a form stop behind the carriage...

Страница 95: ...CPI 80 17 1 CPI Graphics Capability 330 full dots 660 half dots N A N A Print line height 7 dots 1 72 inch Extra Dot Rows 0 EDR between lines 2 47 mm 097 inch 5 10 3 LPI 1 EDR 2 82 mm 111 inch 5 9 0...

Страница 96: ...Lines Per Minute 40 Chars 13 9 CPI standard 290 LPM 52 Chars 13 9 CPI standard 237 LPM 66 Chars 13 9 CPI standard 195 LPM 80 Chars 17 1 CPI compressed 166 LPM Unidirectional graphics line speed will...

Страница 97: ...jacent bits of graphics 660 addressable positions in the 121 mm 4 752 inch wide print zone Minimum line height is 7 dots 097 inch for vertical print or graphics and 6 dots 083 inch for rotated print 1...

Страница 98: ...e Duty Cycle measured over one minute of continuous printing The impact printhead can continuously print the following average number of characters over a one minute period Ambient Temperature in degr...

Страница 99: ...0 inch Minimum Margins 2 00 mm 079 inch 2 50 mm 098 inch Print line height 24 dots 8 dots mm Extra Dot Rows between lines 0 EDR 3 00 mm 118 inch 3 8 47 LPI 1 EDR 3 12 mm 123 inch 3 8 13 LPI 2 EDR 3 25...

Страница 100: ...8 mm 70 in Minimum Printable Zone 576 Dots 72 mm 2 835 in Nominal Margins 4 mm 0 157 in The application centers 44 standard character cells 13 X 24 dots or 56 compressed character cells 10 X 24 dots...

Страница 101: ...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...

Страница 102: ...n B Upper Case m Lower Case g With Descender With Ascender Both Ascender and Decsender Graphic Symbol Character Pattern for Compressed 20 3 CPI Pitch Character Character Cell 8 Dots 995 mm 039 in 10 D...

Страница 103: ...LPS 19 5 LPS 12 2 LPS Throughput 7 52 LPI 38 4 LPS 38 4 LPS 27 8 LPS 18 0 LPS 11 3 LPS Throughput 5 98 LPI 30 5 LPS 30 5 LPS 22 1 LPS 14 4 LPS 9 0 LPS Note Standard receipt has approximately 12 dot co...

Страница 104: ...Paper Status Error LED when the roll is almost exhausted When the roller ball on the assembly slips into the hollow core of the paper roll a microswitch opens and paper low is indicated The customer...

Страница 105: ...not print when this door is open See Putting in the Ribbon Cassette Paper Feed Button on top of the cabinet Manual Reset Button accessed by opening the front door of the printer 4 position DIP switch...

Страница 106: ...r 5 Technical Specifications Front Cover Slip In LED Green Slip or Check Extended Slip Table Receipt Receipt Cover Front of Printer Reset Button Front Cover On Line Paper Status Error LED Green Paper...

Страница 107: ...cept 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 Maximum Current Print Station 55 Watt Source 75 Watt...

Страница 108: ...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 The 7158 RS 232C has a...

Страница 109: ...tuated during reset Printer ready for normal operation Switch 1 OFF Actuated during reset Printer configuration message Not actuated during reset Enter download mode to program Flash Switch 1 ON Actua...

Страница 110: ...5 28 Chapter 5 Technical Specifications Code Page 437...

Страница 111: ...Chapter 5 Technical Specifications 5 29 Code Page 850...

Страница 112: ...5 30 Chapter 5 Technical Specifications Code Page 852...

Страница 113: ...Chapter 5 Technical Specifications 5 31 Code Page 858...

Страница 114: ...5 32 Chapter 5 Technical Specifications Code Page 860...

Страница 115: ...Chapter 5 Technical Specifications 5 33 Code Page 863...

Страница 116: ...5 34 Chapter 5 Technical Specifications Code Page 865...

Страница 117: ...Chapter 5 Technical Specifications 5 35 Code Page 866...

Страница 118: ...mm 13 7 in Extended Slip Table Receipt Cover 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 Table 347 mm...

Страница 119: ...o the printer This section describes how to send commands to the printer using DOS and BASIC This section does not take into account the necessary protocol but is meant as a general introduction to ho...

Страница 120: ...r to print the contents of its print buffer Commands sent prior to 0A tell the printer exactly how data should appear on the paper For example LPRINT CHR H12 ABC CHR H0A Sends the hexadecimal numbers...

Страница 121: ...interface offers standard settings that are selected with the Configuration Menu Use of the Configuration Menu is described in Configuring the Printer in this manual Print Speed and Timing The fast s...

Страница 122: ...it Time 19 2 K Baud Process Time 20 20 1 2 Seconds 0 5 Seconds 20 40 2 4 Seconds 1 0 Seconds 44 20 1 44 Seconds 0 5 Seconds 44 40 2 88 Seconds 1 0 Seconds Process Time is the time it would take the pr...

Страница 123: ...e 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 The number of data bits to seven or eight The number of s...

Страница 124: ...In XON XOFF mode DSR state is ignored 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 i...

Страница 125: ...al 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...

Страница 126: ...d are specified as male DB9 9 pin or female DB 25 25 pin D shell with RTS and CTS pins connected 9 pin DB 9 Connector DSR 6 RTS 7 CTS 8 Not Used 9 1 Not Used 2 RXD 3 TXD 4 DTR 5 Logic Ground Shell Fra...

Страница 127: ...wer connector Pin 1 Pin 6 The following table shows the pinouts for the cash drawer The connector can support two cash drawers with a Y cable and is located at the rear of the printer Pin Number Cash...

Страница 128: ...6 10 Chapter 6 Communication Interface...

Страница 129: ...ol code Value A description of the command operands Range The upper and lower limits of the command operand Default The command operand default after printer reset Description Brief description and su...

Страница 130: ...received they are ignored and not sent to the print buffer as data Any non legal commands are sent to the print buffer as data By Command Code All items in BOLD are new or have additional functionali...

Страница 131: ...Select 90 Degree Counter Clockwise Rotated Print 54 1B 14 n Set Column 45 1B 16 n Select Pitch Column Width 55 1B 20 n Set Character Right Side Spacing 56 1B 21 n Select Print Modes 57 1B 24 n1 n2 Se...

Страница 132: ...et or Cancel Italic Print 65 1B 4A n Print and Feed Paper 42 1B 4B n Print and Reverse Feed Paper 42 1B 4C Select Page Mode 122 1B 4C n1 n2 d1 dn Select Double Density Graphics A756 Emulation 78 1B 52...

Страница 133: ...fe Cut 24 1B 6A k Read from Non Volatile Memory 147 1B 6D Perform Partial Cut 24 1B 70 n p1 p2 Generate Pulse to Open Cash Drawer 32 1B 73 n1 n2 k Write to Non Volatile Memory NVRAM 147 1B 74 n Select...

Страница 134: ...Flash CRC 154 1D 10 n Erase Selected Flash Sector 155 1D 11 al ah cl ch d1 dn Download to Active Flash Sector 156 1D 14 n Reverse Feed n Lines 43 1D 15 n Reverse Feed n Dots 44 1D 21 n Select Charact...

Страница 135: ...per 34 1D 57 nL nH Set Printing Area Width 52 1D 5C nL nH Set Relative Vertical Print Position in Page Mode 128 1D 5E r t m Execute Macro 130 1D 61 n Select or Cancel Automatic Status Back 110 1D 66 n...

Страница 136: ...i Drop 25 1B 40 Initialize Printer 26 1B 43 n Set Slip Paper Eject Length 26 1B 63 30 n Select Receipt or Slip for Printing Slip for MICR Read 26 1B 63 31 n Select Receipt or Slip for Setting Line Spa...

Страница 137: ...Paper One Line 36 0C Print and Return to Standard Mode Print and Eject Slip 36 0D Print and Carriage Return 37 14 n Feed n Print Lines 37 15 n Feed n Dot Rows 38 16 n Add n Extra Dot Rows 39 17 Print...

Страница 138: ...Command Page 09 Horizontal Tab 45 1B 14 n Set Column 45 1B 24 n1 n2 Set Absolute Starting Position 46 1B 44 n k 00 Set Horizontal Tabs 47 1B 5C n1 n2 Set Relative Print Position 48 1B 61 n Select Just...

Страница 139: ...Copy Character Set from ROM to RAM 62 1B 3F n Cancel User Defined Characters 63 1B 45 n Select or Cancel Emphasized Mode 63 1B 47 Select Double Strike A756 Emulation Mode 64 1B 47 n Select Double Stri...

Страница 140: ...Graphics 78 1D 23 n Select Current Logo Downloaded Bit Image 79 1D 2A n1 n2 d1 dn Define Downloaded Bit Image 81 1D 2F m Print Downloaded Bit Image 83 1F 04 n Convert 6 Dots mm Bitmap to 8 Dots mm Bi...

Страница 141: ...me Status Transmission GS Sequence 103 1D 05 Real Time Printer Status Transmission 109 Auto Status Back Code Hexadecimal Command Page 1D 61 n Select or Cancel Auto Status Back 110 Barcode Commands Cod...

Страница 142: ...n Select Print Direction in Page Mode 124 1B 57 n1 n2 n8 Set printing Area in Page Mode 125 1D 24 nL nH Set Absolute Vertical Print Position in Page Mode 127 1D 5C nL nH Set Relative Vertical Print Po...

Страница 143: ...1B 77 46 Check Flip Command 146 User Data Storage Commands Code Hexadecimal Command Page 1B 27 m addr d1 dm Write to User Data Storage 146 1B 34 m addr Read from User Data Storage 147 1B 6A k Read fro...

Страница 144: ...Return Segment Number Status of Flash Memory 152 1D 02 n Select Flash Memory Sector to Download 153 1D 06 Get Firmware 153 1D 07 Return Microprocessor CRC 154 1D 0E Erase the Flash Memory 154 1D 0F R...

Страница 145: ...Macro capabilities 9 Additional remote diagnostics Page Mode on the receipt Normally the printer will print data as it is sent In Page Mode the data to be printed is composed on a page before printing...

Страница 146: ...FLASH or SRAM depending on the application developer s preferences Barcodes The 7158 supports printing of one dimensional barcodes on the slip station The receipt station supports ladder barcodes and...

Страница 147: ...ty to record and execute a series of commands called a macro Additional Remote Diagnostics The 7158 supports 5 additional remote diagnostics Number of Flash cycles Number of knife jams Numbers of cove...

Страница 148: ...n1 n2 Set Absolute Starting Position For graphics commands the position is scaled to best match the previous product In text mode the equivalent character position is calculated 1B 26 s c1 c2 n1 d1 nn...

Страница 149: ...Emulation Mode this command calculates how many character positions to move based on the previous product s character width in dots 10 versus the current product 13 1B 61 n Select Justification This c...

Страница 150: ...imal 10 Decimal 16 Clears the print line buffer without printing and sets the printer to the following condition 1 Receipt station is selected 2 Double Wide command 0x12 is cancelled 3 Line Spacing Pi...

Страница 151: ...eset or the Clear 0x10 is received the feed roller and platen are opened This command executes if the platen is already closed This command is processed regardless of which station is selected Open Fo...

Страница 152: ...ed regardless of which station is selected Perform Partial Knife Cut ASCII SUB or ESC m Hexadecimal 1A or 1B 6D Decimal 26 or 27 109 Cuts the receipt leaving 5 mm 20 inch of paper This command is impl...

Страница 153: ...er is able to detect carriage motor jams eliminating the need to home the printhead after each slip transaction Select Peripheral Device for Multi Drop ASCII ESC n Hexadecimal 1B 3D n Decimal 27 61 n...

Страница 154: ...ings for the startup configuration refer to Default settings above Single Wide Single High Non Rotated and Left Aligned characters are set and User defined characters or logo graphics are cleared Flas...

Страница 155: ...When slip is selected the printer waits based on the slip waiting time setting ie 1B 66 m n for the paper to be inserted When slip has already been selected and the selection is changed the form is o...

Страница 156: ...l 1B 63 31 n Decimal 27 99 49 n Value of n 1 2 3 Select receipt 4 Select Slip Default of n 1 Selects which station receives the effects of the following commands 1 Select Default Line Spacing 1B 32 2...

Страница 157: ...er roll near end sensor enable 1 Off On 00 02 0 2 Paper roll near end sensor disabled Paper roll near end sensor enabled 2 Off On 00 04 0 4 Paper roll end sensor disabled Paper roll end sensor enabled...

Страница 158: ...ffect the paper out sensor on the receipt station which will automatically stop the printer when the paper is depleted Enable or Disable Panel Buttons ASCII ESC c 5 n Hexadecimal 1B 63 35 n Decimal 27...

Страница 159: ...the slip station It also sets the time n x 0 1 seconds that the printer waits to close the platen and start printing once the slip has been inserted The printer reads that a slip is inserted when the...

Страница 160: ...is the hexadecimal number multiplied by 2 msec to equal the total time 1 On time p1 x 2 msec 2 Off time p2 x 2 msec Related Information The off time is the delay before the printer performs the next...

Страница 161: ...e 7 33 Select Slip Station ASCII FS Hexadecimal 1C Decimal 28 Selects the Slip Station for all functions The receipt station is the default setting after the printer is initialized or the Clear Printe...

Страница 162: ...otion unit and cuts the paper completely 66 Feeds paper to cutting position n times vertical motion unit and performs a partial cut Range of m 0 48 1 49 65 66 when used with n Range of n 0 255 Default...

Страница 163: ...ons 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 Hexadecimal 1F 74 Decimal 31 116 Prints the cur...

Страница 164: ...and Eject Slip ASCII FF Hexadecimal 0C Decimal 12 Prints data from the buffer to the slip station and if the paper sensor is covered reverses the slip out the front of the printer far enough to be acc...

Страница 165: ...hers use it as print command Related Information See Ignoring Using the Carriage Return in Diagnostics for more information Carriage Return Line Feed pairs prints and feeds only one line Feed n Print...

Страница 166: ...t Rows ASCII NAK n Hexadecimal 15 n Decimal 21 n Value of n Receipt Slip n 203 inchn 72 inch Range of n 0 127 A756 Emulation Mode 0 255 A758 Native Mode Feeds paper n dot rows without printing Receipt...

Страница 167: ...The following table shows the relationship between the number of lines per inch and each extra dot row added for both the receipt and slip stations Receipt Station Slip Station Extra Rows Lines Per In...

Страница 168: ...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 1B 32 Decimal 27 50...

Страница 169: ...r the slip For the receipt the spacing is set to n 406 inches For the slip the line spacing is set to n 144 inches The line spacing equals the character height when n is too small If the Set Horizonta...

Страница 170: ...the printer to print on the last line of the slip at 59 inches from the trailing edge and still retain the slip in the feed rollers for reverse feeding the paper back out of the slip station Related I...

Страница 171: ...he number of lines on the slip station to be reverse fed Range of n 0 255 Prints one line from the buffer and reverse feeds the paper n lines on the slip station The receipt station cannot be reverse...

Страница 172: ...ommand This command is ignored if receipt station is selected Set Horizontal and Vertical Minimum Motion Units ASCII GS P x y Hexadecimal 1D 50 x y Decimal 29 80 x y Value of x Horizontal Value of y V...

Страница 173: ...in will move the tab positions When there are no tabs defined to the right of the current position or if the next tab is past the right margin line feed is executed both slip and receipt HT has no eff...

Страница 174: ...ltiplying the column for the absolute starting position by 10 slip or receipt standard pitch or 8 receipt compressed pitch The example shows how to calculate column 29 10 dots per column as the absolu...

Страница 175: ...position See the Horizontal Tab 09 command The tab positions remain unchanged if the character widths are changed after the tabs are set This command ends with hexadecimal 00 hexadecimal 1B 44 00 clea...

Страница 176: ...are two bytes in low byte high byte word orientation Moves the print starting position the specified number of dots either right up to the right margin or left up to the left margin of the current po...

Страница 177: ...ontal and Vertical Minimum Motion Units command 1D 50 in this document Compatibility Information 7158 receipt vs 7156 receipt There is a difference in the normal behavior of this command in A758 Nativ...

Страница 178: ...mal 27 97 n Value of n 0 48 Left Aligned 1 49 Center Aligned 2 50 Right Aligned Range of n 0 2 48 50 Default 0 Left aligned Specifies the alignment of the characters graphics logos and bar codes on th...

Страница 179: ...ng Area Width command 1D 57 in this document for a description of that command If the setting exceeds the printable area the maximum value of the printable area is used The maximum printable area is 5...

Страница 180: ...ea follows the Set Left Margin command 1D 4C See the Set Left Margin command 1D 4C earlier in this document for a description Formulas To set the width of the printing area to one inch at the default...

Страница 181: ...codes Select Double Wide Characters ASCII DC2 Hexadecimal 12 Decimal 18 Prints double wide characters The printer is reset to single wide mode after a line has been printed or the Clear Printer 0x10 c...

Страница 182: ...ins 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 Exceptions This command is v...

Страница 183: ...rd 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 Pitch Receipt Columns Receipt CP...

Страница 184: ...he Set Horizontal and Vertical Minimum Motion Units 1D 50 command the value must be in even units and not less than the minimum amount of horizontal movement In Standard Mode the horizontal motion uni...

Страница 185: ...6 Col Line 20 3 CPI Rec 80 Col Line 17 1 CPI Slip Bit 3 Empha sized Mode Canceled Set Bit 4 Double high2 Canceled Set Bit 5 Double wide Canceled Set Bit 7 Underli ned Mode Canceled Set Bits 1 2 6 are...

Страница 186: ...as the basis Range 0 3 Default 0 Code Page 437 Selects either the Code Page 437 character set the Code Page 850 character set or the User Defined character set If the User Defined character set is sel...

Страница 187: ...rs downloaded characters into RAM or Flash The command may be used to overwrite single characters User defined characters are available until power is turned off or the Initialize Printer command 1B 4...

Страница 188: ...ters 1B 26 3 Slip Characters 1B 26 0 Most Significant Bit Is Not Printed d 10 dn MSB LSB d1 d4 dn MSB LSB d1 d2 d3 d4 d5 dn Values and Ranges Receipt c the ASCII codes of the first c1 and last c2 char...

Страница 189: ...st c1 and last c2 characters respectively c1 Hex 20 FF Hex 20 is always printed as a space c2 Hex 20 FF Hex 20 is always printed as a space To define only one character use the same code for both c1 a...

Страница 190: ...xceptions This command is ignored if n is out of the specified range This command is only available in A758 Native Mode Copy Character Set from ROM to RAM ASCII ESC 0 0 0 Hexadecimal 1B 3A 30 30 30 De...

Страница 191: ...E n Hexadecimal 1B 45 n Decimal 27 69 Value of n 0 bit 0 not selected 1 bit 0 selected Range of n 0 255 Default 0 bit 0 Starts or stops emphasized printing on slip and receipt In Emphasized Mode on t...

Страница 192: ...has been printed or after a Clear Printer 0x10 command is received Exceptions The settings do not apply in Page Mode However they can be set or cleared in Page Mode Double strike printing cannot be u...

Страница 193: ...Least Significant Bit LSB Default 0 Off Turns Italic print mode on or off This command is only available in A758 Native Mode Italic print mode is available for built in user defined characters This co...

Страница 194: ...0 4 Code Page 863 5 Code Page 865 6 Code Page 858 7 Code Page 866 Default 0 Code Page 437 Selects the character set to be used See Print Specifications for the character sets There are two codes for t...

Страница 195: ...idirectional printing increases column alignment and provides higher quality printing Printing is normally bi directional because of the faster speed Select or Cancel 90 Degrees Clockwise Rotated Prin...

Страница 196: ...characters The character order is inverted in the buffer so text is readable The command remains in effect until the Rotated Print 1B 12 command is received Only bit 0 is used Bits 1 7 are not used S...

Страница 197: ...ter width using bits 4 to 7 as follows Character Width Selection Hex Decimal Width 00 0 1 normal 10 16 2 two times width 20 32 3 three times width 30 48 4 four times width 40 64 5 five times width 50...

Страница 198: ...reversed In Page Mode vertical and horizontal direction are based on the character orientation When characters are enlarged with different sizes on one line all the characters on the line are aligned...

Страница 199: ...it is also applied to character spacing which is set by Right Side Character Spacing 1B 20 This command can be used with built in characters and user defined characters but does not affect the space...

Страница 200: ...2 Select superscript size Default 0 normal size Turns superscript or subscript modes on or off This attribute may be combined with other characters size settings commands 12 13 1B 21 n 1D 21 n This c...

Страница 201: ...he normal size characters Double wide and double high characters are printed in the same orientation double high characters cannot be printed on the slip station They may also be mixed on the same lin...

Страница 202: ...e data of a monochrome BMP file preceded by a hexadecimal 1B character The bit map is stored in the printer in the same manner as a downloaded bit image The downloaded BMP file can be printed by using...

Страница 203: ...nly 7 bit MSB not printed In A758 Native Mode slip graphics are 8 bit Select Bit Image Mode continued on the next page Values Receipt Station Value of m Mode No of Dots Vertical No of Dots Horizontal...

Страница 204: ...n 8 Dot Single Density Mode Value of n 24 Dot Single Density Mode Value of d n1 256 x n2 3 x n1 256 x n2 Number of Bytes of Data Printed left to right 8 dot mode Printed down then across 24 dot mode...

Страница 205: ...Chapter 7 Programming Guide 7 77 Top of Bit Image 24 Dot Single Density Mode Receipt Only dn MSB LSB d1 d2 d3 d4 d7 d5 d6 dn...

Страница 206: ...x n2 3 x n1 256 x n2 Number of Bytes of Data Printed Down Then Across Enters one line of 7 slip in 7156 mode or 8 dot double density graphics into the print buffer Any print command is required to pri...

Страница 207: ...previously existing application that expects only one possible logo the printer will not receive the Select Current Logo 1D 23 n command In this case the printer assigns 0 as the active logo identifi...

Страница 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...

Страница 209: ...uch as a logo into RAM or Flash with the number of dots specified by n1 and n2 in A756 Emulation unless loaded into Flash The downloaded bit image is available until power is turned off another bit im...

Страница 210: ...umn Column One 72 x 8 Max Row One Row 64 Max 64 65 d Exceptions See the illustration for the Print Downloaded Bit Image command 1D 2F for a representation of the bit image Related Information See 1D 2...

Страница 211: ...per inch Prints a downloaded bit image in RAM or Flash on the receipt station at a density specified by m It is ignored if any data is in the print buffer if the downloaded bit image is undefined or i...

Страница 212: ...ault 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 pr...

Страница 213: ...this busy condition it would not be processed In fact no Batch Commands are processed while the printer is in this state Real Time Commands These commands are sent to the printer and are NOT stored i...

Страница 214: ...ny of the Batch Mode Printer Status commands If the fault causing the busy condition can be cleared such as by loading paper or letting the thermal printhead cool down the printer will resume processi...

Страница 215: ...nt 03 Ignored No Change Printer Does Not Stay BUSY1 1PAPER EXHAUST LINE is valid to indicate previously requested status This command allows the printer to inform the host when the data in the buffer...

Страница 216: ...printer waits for DSR SPACE Status Byte RS 232C Bit Function 0 Signifies 1 Signifies 0 Receipt Paper Ok Low 1 Receipt Cover or Front Cover Closed Open 2 Receipt Paper Ok Out 3 Knife or Slip Ok Jam 4 A...

Страница 217: ...del ID NCR 7156 0x26 A756 Emulation 2 50 Type ID Installed options Refer to the table below 3 51 ROM version ID ROM version 0x00 4 52 Logo Definition Logo Definition Refer to table below Type ID n 2 B...

Страница 218: ...Bit Off On Hex Decimal Function 0 Off 00 0 No logo definition loaded by application On 01 1 Logo loaded by application 1 Undefined 2 Undefined 3 Undefined 4 Off 00 0 Not used Fixed to Off 5 Undefined...

Страница 219: ...s The first item group in the table includes an example of data to send and to receive Data sent from the host to write to NVRAM must contain all digits required by the remote diagnostic item All data...

Страница 220: ...are part returns 14 bytes 2F 47 Boot firmware CRC 4 digit ASCII Return Boot firmware CRC returns 6 bytes 3 33 51 Flash firmware part 12 digit ASCII Return Flash firmware part returns 14 bytes 7 37 55...

Страница 221: ...to 0 87 135 Knife cut tally Return knife cut tally returns 10 bytes 88 136 Slip character tally 8 digit ASCII numeric max 99 999 999 Write to NVRAM 89 137 Slip character tally Write to NVRAM and print...

Страница 222: ...rmware version returns 6 bytes A4 164 Flash cycles tally 8 digit ASCII numeric max 99 999 999 Write to NVRAM A5 165 Flash cycles tally Write to NVRAM and print on receipt to verify a A6 166 Flash cycl...

Страница 223: ...tally Return Cover openings tally returns 10 bytes B2 178 Max Temperature tally Set Max temp tally to 273 B3 179 Max Temperature tally Return Max Temperature tally returns 10 bytes B4 180 Slip lines t...

Страница 224: ...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 hands...

Страница 225: ...n 00 20 0 32 Slip leading edge sensor paper present Slip leading edge sensor no paper 6 Off On 00 40 0 64 Slip trailing edge sensor paper present Slip trailing edge sensor no paper 7 Off 00 0 Not used...

Страница 226: ...lash Memory Status n 4 or n 52 Bit Off On Hex Decimal Status for Transmit Status 0 Off 00 0 Undefined Fixed to off 1 Off 00 0 Undefined Fixed to off 2 Off On 00 04 0 4 User data storage write successf...

Страница 227: ...order in which they were solicited Batch Mode Response Response Recognized By ASCII HEX ESC u 0 1B 75 0 0 0 0 0 0 0 x x Binary ESC v 1B 76 0 0 0 0 0 x x x Binary GS I n 1D 49 n 0 x x 0 x x x x Binary...

Страница 228: ...loaded This is true for all error conditions knife home error slip paper jam thermal printhead overheat etc In addition there is no way to restart the printer after a paper jam or to cancel a slip wai...

Страница 229: ...receiving it and will transmit status regardless of the condition of the DSR signal Second the printer transmits status whenever it recognizes a Real Time Status Transmission command sequence even if...

Страница 230: ...en the printer is busy due to an error condition then data stops being processed out of the buffer until the condition clears one way or another In either case but more quickly in the case of an error...

Страница 231: ...tatus 5 Slip paper status Transmits the selected one byte printer status specified by n in Real Time according to the following parameters This command includes two sequences GS and DLE Exceptions The...

Страница 232: ...0 0 Fixed to Off Real Time Status Transmission continued on the next page 2 Transmit RS 232C Busy Status Bit Status Hex Decimal Function 0 Off 00 0 Fixed to Off 1 On 02 2 Fixed to On 2 Off On 00 04 0...

Страница 233: ...thead temp power supply voltage are in range Thermal printhead temp power supply voltage are out of range 7 Off 00 0 Fixed to Off Real Time Status Transmission continued on the next page 4 Transmit Re...

Страница 234: ...On 00 04 0 4 Slip paper selected Receipt paper selected 3 Off On 00 08 0 8 Not waiting for slip Waiting for slip 4 On 10 16 Fixed to On 5 Off On 00 20 0 32 Slip leading edge sensor paper preset Slip...

Страница 235: ...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 If the receipt is selected...

Страница 236: ...error recovery possibilities exist as for n 1 n 3 Cancels the slip waiting status This sequence is ignored except when the printer is waiting for a slip to be inserted When slip waiting is canceled th...

Страница 237: ...ceipt paper adequate Receipt paper low 2 Off On 00 04 0 4 Both receipt and cassette doors closed Receipt or cassette door open 3 Off On 00 08 0 8 Not busy at the RS 232C interface Printer is busy at t...

Страница 238: ...ween the printer receiving this command and changing the ASB response depending on the receive buffer status If any of the status items listed are selected ASB is enabled and the printer automatically...

Страница 239: ...r status disabled Slip detector slip paper status enabled 6 Undefined 7 Undefined Default 0 ASB disabled Select or Cancel Status Back continued on the next page Exceptions If n 0 ASB is disabled Relat...

Страница 240: ...Paper Feed Button is pressed 7 Off 00 0 Not used Fixed to off Select or Cancel Status Back continued on the next page Second Byte Error information Bit Off On Hex Decimal Status for ASB 0 Undefined 1...

Страница 241: ...ip leading edge sensor paper present Slip leading edge sensor no paper 6 Off On 00 40 0 64 Slip trailing edge sensor paper preset Slip trailing edge sensor no paper 7 Off 00 0 Not used Fixed to off Se...

Страница 242: ...e 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 Select Printing Position for HRI Characters ASCII...

Страница 243: ...de characters When slip is selected as the interface HRI is always compressed Select Bar Code Height ASCII GS h n Hexadecimal 1D 68 n Decimal 29 104 n Value of n Number of dots Range of n 1 255 Defaul...

Страница 244: ...e are two variations to this command The first variation uses a NUL character to terminate the string the second uses a length byte at the beginning of the string to compensate for the Code 128 bar co...

Страница 245: ...p code is supplied by printer if necessary Variable Length 5 Interleaved 2 of 5 48 57 Variable Length Even Number 6 Codabar 65 68 start code 48 57 36 43 45 46 47 58 Variable Length 10 PDF 417 1 255 Va...

Страница 246: ...code is supplied by printer if necessary Variable 70 Interleave d 2 of 5 ITF 48 57 Variable Even Number 71 CODABA R NW 7 65 68 start code 48 57 36 43 45 46 47 58 Variable 72 Code 93 48 57 65 90 ASCII...

Страница 247: ...justified PDF417 and Code 93 are only available in A758 Native Mode Select Bar Code Width ASCII GS w n Hexadecimal 1D 77 n Decimal 29 119 n Value of n 1 2 3 4 5 Default 3 for receipt 2 for slip Sets...

Страница 248: ...he Select Page Mode command 1B 4C puts the printer into Page Mode Any commands that are received are interpreted as Page Mode commands Several commands react differently when in Standard Mode and Page...

Страница 249: ...orm command which is performed when the printer is not in Page Mode Exceptions This command is only used in Page Mode Print Data in Page Mode ASCII ESC FF Hexadecimal 1B 0C Decimal 27 12 Collectively...

Страница 250: ...e set independently in Standard Mode and Page Mode to those for Page Mode 1 Set Right Side Character Spacing 1B 20 2 Select 1 6 Inch Line Spacing 1B 32 3 Set Line Spacing 1B 33 It is possible only to...

Страница 251: ...position is set to the beginning of the line This command switches the settings for the following commands the values for these commands can be set independently in Standard Mode and Page Mode to tho...

Страница 252: ...page B 2 Lower right corner proceeding across page to the left upside down C 3 Upper right corner proceeding down page D A D B Default 0 Upper left corner proceeding across page to the right The comm...

Страница 253: ...any mode Formulas The starting position of the print area is the upper left of the area to be printed x0 y0 The length of the area to be printed in the y direction is set to dy inches The length of t...

Страница 254: ...he following notes in mind for this command 5 The fundamental calculation pitch depends on the vertical or horizontal direction 6 The maximum printable area in the x direction is 576 203 inches 7 The...

Страница 255: ...when the starting position is set to the upper left or lower right and sets the absolute position in the horizontal direction when the starting position is set to the upper right or lower left The hor...

Страница 256: ...ion is set to the upper right or lower left of the printing area the horizontal motion unit x is used Value The value for the horizontal and vertical movement cannot be less than the minimum horizonta...

Страница 257: ...received Normal printing occurs while the macro is defined When the power is turned on the macro is not defined The defined contents of the macro are not cleared by the Initialize Printer 1B 40 thus t...

Страница 258: ...ion the number of specified times When the macro is executed by pressing the Paper Feed Button m 1 paper cannot be fed by using the Paper Feed Button Formulas The waiting time is t x 100 msec for ever...

Страница 259: ...create and maintain an Exceptions table Read MICR Data and Transmit ASCII ESC w 1 Hexadecimal 1B 77 01 Decimal 27 119 1 Default All data returned Reads and transmits the MICR data and adds a Carriage...

Страница 260: ...is to be the default parse string at printer power up If no parameters are selected parsing is not performed d1 through dn are the parse string The string must be CR terminated If the string has inval...

Страница 261: ...ble Variable Length Field Optional Modifiers Selector Comments Zero fill to length 0 ASCII zero preceding maximum length Maximum length nn 1 or 2 digit ASCII number Remove space dash X Replace space d...

Страница 262: ...heck Amount field present No error Field Separator x Field separator preceded by a single quote so a field separator of the letter A would be sent as A 0x27 0x41 If a Carriage Return is specified as a...

Страница 263: ...e for the exception table 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...

Страница 264: ...e account number Final Carriage Return ESC w p 18 X A CR Maximum 18 characters in the account number with spaces and dashes removed Final Carriage Return ESC w p 18 x A CR Maximum 18 characters in the...

Страница 265: ...ck number zero filled if check number is only three characters long Final Carriage Return ESC w p K9 X T 18 X A 04C CR U S check all nine characters in the transit number because there are no dashes C...

Страница 266: ...ing 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 Field separator Two digit stat...

Страница 267: ...d processing of the parsing parameters will stop Any data remaining after the unrecognized parameter will be treated as normal input data If parameters are not defined for example 1B 77 50 CR or 1B 77...

Страница 268: ...Guide Once a parsing format is specified the following values are returned MICR Characters ASCII Hexadecimal Numerics Space Dash Field separator Country code 0 9 0x30 0x39 0x20 0x2D As specified in t...

Страница 269: ...ccco txxxxxxxxxt xxxxxxxxo Otherwise a three or more digit number to the right of the rightmost on us symbol and to the left of the leftmost amount symbol if an amount field is present is the check se...

Страница 270: ...ic bank is picked out by its transit number and the firmware will look in the exception table for a transit number match before looking in the normal check serial number locations In this example with...

Страница 271: ...s 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...

Страница 272: ...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 Most exceptions will not need to use all six...

Страница 273: ...mmands 0x1B 0x73 0x22 0x13 30 0x1B 0x73 0x76 0x32 31 After the right transit symbol are four characters to skip a seven digit account number two characters to skip and finally a four digit check seria...

Страница 274: ...p the check is measured to see that it is of an appropriate size see Chapter 4 Media and Supplies Forms Specification to be flipped If not the check is fed back to the user Exception This command is a...

Страница 275: ...olatile Memory ASCII ESC j k Hexadecimal 1B 6A k Decimal 27 106 k Range of k 20 63 decimal Reads a two byte word from location k in the history EEROM The printer returns the word at the next available...

Страница 276: ...h Memory This is the default condition for logo Flash storage A logo defined following this command is stored in Flash Memory n 50 ASCII n 2 Loads user defined characters to RAM only This is the defau...

Страница 277: ...s the allocation of Flash sectors between user data storage and logos user defined characters This allocation is saved in the EEPROM of the printer and is therefore saved across power cycles n1 n2 2 5...

Страница 278: ...set with another In both cases all logos and character set definitions are erased and must be redefined n 50 ASCII n 2 This command erases all sectors available for user data storage Important While...

Страница 279: ...he printer has reset The printer never goes directly from the Download Mode to normal printer operation To return to normal printer operation either the operator must turn the power off and then on to...

Страница 280: ...nt Number Status of Flash Memory ASCII GS SOH Hexadecimal 1D 01 Decimal 29 1 Returns the size of the Flash used There may be 8 16 or 32 sectors 64K each in Flash Memory This command assures that the f...

Страница 281: ...cceptable or an NAK if the sector number is not acceptable Sector numbers start at 0 Exceptions Available only in Download Mode Get Firmware CRC ASCII GS ACK Hexadecimal 1D 06 Decimal 29 6 Causes the...

Страница 282: ...y ASCII GS SO Hexadecimal 1D 0E Decimal 29 14 Causes the entire Flash Memory except the boot to be erased The printer returns ACK if the command is successful NAK if it is unsuccessful Exceptions Avai...

Страница 283: ...and Range of n 0 7 512K bytes Flash 0 15 1M bytes Flash 0 31 2M bytes Flash Erases the previously selected sector The printer transmits ACK when the sector has been erased If the previous sector is no...

Страница 284: ...start address is relative to the start of the sector Addresses run from 0 to 64K The printer may return one of several responses ACK means that the data was written correctly and the host should tran...

Страница 285: ...and 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 befor...

Страница 286: ...7 158 Chapter 7 Programming Guide...

Страница 287: ...als Advantages of USB connections USB has a number of advantages over legacy connection schemes e g serial RS 232 These advantages include High Speed up to 12 MB second for high speed devices Plug and...

Страница 288: ...s These devices include image scanners and printers As the speed and capability of POS printers increases the performance of the printer in an application can become limited by the speed of the commun...

Страница 289: ...ws 95 and 98 1 Open the Control Panel 2 Click on System Windows 98 or System Properties Windows 95 The Windows 95 operating system version should read 4 00 950 B If your system is not current you ll n...

Страница 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...

Страница 291: ...he USB connector prior to installing the new USB board 1 You need to obtain Part Number 497 0417 2 Unplug the printer s power cable Back of Printer Strain Relief DIP Switches Communication Connector 9...

Страница 292: ...l for printing the diagnostic form To remove the Options Board and install the USB Board You ll need a No 1 Phillips screwdriver to complete this task Warning Electrostatic discharge could damage the...

Страница 293: ...onto the Controller Board where you just removed the Options Board by carefully aligning the connectors and pushing the USB Board down into place 6 Replace the Top PCB Cover Options PCB Cage over the...

Страница 294: ...per operation The printer can be configured to use hardware flow control using DTR DSR or software flow control using XON XOFF All other serial communication parameters i e baud rate parity stop bits...

Страница 295: ...s shown in the ON position On DIP Switch 4 3 2 1 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 configuratio...

Страница 296: ...nd No with a short click Press and hold the Paper Feed button for at least one second for a long click Press the Paper Feed button quickly for a short click 5 Select Set Communication Interface from t...

Страница 297: ...aining 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 th...

Страница 298: ...m the host to the printer be careful to plug it into the 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 coul...

Страница 299: ...Relief USB Cable To the USB Connector Strain Relief Cash Drawer Cable Power Supply or Adapter Cable Cash Drawer Cable Data 3 Data 2 1 5V USB 4 Ground PC end of USB Cable Pinouts of Printer end of USB...

Страница 300: ...drivers were installed correctly Windows 95 and 98 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 shoul...

Страница 301: ...the installation wasn t successful You will need to reinstall the drivers Windows NT Go the Windows Start button and select Programs InsideOut Networks Utilities Edgeport Configuration Utility A wind...

Страница 302: ...ration Methods on the following page Running the Edgeport Utility You ll need to run the Edgeport utility to check which serial port has been assigned to the printer This utility queries and configure...

Страница 303: ...w the directions on the resulting form to assign a new port to the printer Associating a serial port with a specific USB port Windows 98 and NT In certain installations it is desirable to associate a...

Страница 304: ...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 Click the...

Страница 305: ...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...

Страница 306: ...per second depending on other processes that takes place in the terminal Under Windows 95 the USB printer yields significantly slow print speed with a maximum output of 25 lines per second This issue...

Страница 307: ...4 standard features 1 2 test the printer 3 14 testing 2 11 Accessories See Supplies Adapters ordering 4 2 Axiohm address 3 40 B Bar code commands 7 114 Bar codes commands 7 114 BASIC sending commands...

Страница 308: ...age mode 7 120 print 7 36 print characteristics 7 53 printer function 7 22 printer status 7 85 real time 7 100 real time rules for using 7 101 realtime moving data through the buffer 7 102 user data s...

Страница 309: ...ad over under temperature 3 33 Dimensions of printer 5 36 Documentation ordering 4 4 DOS sending commands 6 1 DTR DSR protocol 6 7 Duty cycle 5 16 receipt 5 22 slip 5 16 E Electrical 5 10 Electrical i...

Страница 310: ...1 MICR check reader commands 7 131 MICR parsing 7 132 check serial number parsing 7 141 exception table entry format 7 144 exception table loading 7 143 exception table maintaining 7 145 parameter str...

Страница 311: ...l environment 5 10 Positioning slip 5 12 Power maximum 3 27 Power requirements 5 25 Power supply cable connecting 2 7 Power supply cord ordering 4 2 Print characterisitics commands 7 53 Print characte...

Страница 312: ...Receipt duty cycle 5 22 format 5 17 media 5 11 paper low 5 22 poor print quality 3 34 print zone 5 18 printing 5 17 standard features 5 5 throughput 5 21 Receipt paper changing 3 3 loading 2 8 Receipt...

Страница 313: ...n cassette 4 4 slip table 4 4 Switch settings 5 27 T Technical specifications RS 232C interface 6 8 Temperature 5 10 Testing the printer 2 11 3 14 Tests testing the printer 2 11 3 14 Thermal paper ord...

Страница 314: ...Index 8 W Weight of printer 5 36 X XON XOFF protocol 6 6...

Отзывы: