NCR 7193 Thermal Receipt Printer Owner’s Guide BD20-1439-A Issue B August 1998
The product described in this book is a licensed product of NCR Corporation. It is the policy of NCR Corporation (NCR) to improve products as new technology, components, software, and firmware become available. 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.
7193 Owner’s Guide Contents Contents Chapter 1: About the 7193 Printer 1 Models ........................................................................................................................................ 1 Communication Interfaces................................................................................................ 1 Features ............................................................................................................................... 2 Options .....................
Contents 7193 Owner’s Guide Chapter 4: Diagnostics 25 Level 0 Diagnostics.................................................................................................................. 25 Level 1 Diagnostics.................................................................................................................. 26 Setting Data Error and Data Buffer options.................................................................. 26 Setting Printhead Resistance.........................................
7193 Owner’s Guide Appendix A: Specifications Contents 81 Features .................................................................................................................................... 81 Reliability ................................................................................................................................. 81 Power Requirements............................................................................................................... 81 Environmental Conditions....
Contents x 7193 Owner’s Guide August 1998
193 Owner’s Guide Chapter 1: About the 7193 Printer Chapter 1: About the 7193 Printer The 7193 thermal receipt printer is fast (at 1020 lines per minute), quiet, and very reliable. With thermal printing technology, there is no ribbon cassette to change, and paper loading is extremely simple. The printer is small enough to fit almost anywhere and is easy to use with the receipt exiting from the top. There is no journal as it is kept electronically by the host computer.
Chapter 1: About the 7193 Printer 7193 Owner’s Guide Features All models come with the following features: • Drop-in paper loading with no spindle or complicated paper path • Host-selectable 44 or 56 columns of print on 80 mm wide “fax grade” thermal paper • 1020 lines per minute • Two resident selectable character sets: • PC Code Page 437 (US) • PC Code Page 850 (Multilingual) • 16K RAM for downloadable character sets and bit-mapped graphics • 4K buffer • History EEROM • Audible tone (c
7193 Owner’s Guide Chapter 1: About the 7193 Printer Ordering Thermal Paper The 7193 requires qualified thermal thermal paper with the following dimensions: Diameter Length Width 83 mm max. (3.27 in.) 83 meters (273 ft.) 80 mm ± .2 mm (3.15 ± .02 in.) The paper must not be attached at the core. Use paper with a colored stripe at the end to indicate that the paper is running low.
Chapter 1: About the 7193 Printer 7193 Owner’s Guide Cleaning the Printer There is no customer maintenance required for the 7193. Cleaning the Cabinet Clean the cabinet as needed to remove dust and finger marks. Use any household cleaner made for plastics, but test it first on a small unseen area. If the receipt paper bucket is dirty, wipe it with a clean, damp cloth.
7193 Owner’s Guide Chapter 2: Setting Up the Printer Chapter 2: Setting Up the Printer What Is in the Box? The following items are packed in the shipping box (printers shipped in bulk may not include all of these items): • • Printer enclosed in a plastic bag and foam pack • Thermal paper roll (inside printer) • Test printout protecting the printhead (inside printer) Power supply with attached cable to printer (only if ordered with the printer) • Power cord—from power supply to outlet (only if orde
Chapter 2: Setting Up the Printer 7193 Owner’s Guide Repacking the Printer 1. Protect the printhead by placing a piece of receipt paper between the receipt cover and the printhead. 2. Place the printer in the plastic bag and foam pack. 3. Place the packed printer in the box and secure the box with packing tape. 4. If you are sending the printer to NCR for repair, call your NCR-authorized service representative for instructions on where to send the printer.
7193 Owner’s Guide Chapter 2: Setting Up the Printer • To set the data buffer for the Parallel communication interface (see “Parallel Switch Settings” in chapter 5) Caution: The DIP switches are set at the factory to predetermined settings and should generally not be changed. If you must change the settings do so carefully to avoid changing other functions. Before changing any of the switches, first run the print test to print out the current switch settings on the receipt.
Chapter 2: Setting Up the Printer 7193 Owner’s Guide Connecting Cash Drawer Cables The cash drawer option allows up to two cash drawers to be connected to the printer in a system with a host computer that has no connectors for the cash drawer cables. The cash drawer cables usually come with the cash drawer. The cash drawers are operated by software command from the host computer through the printer.
7193 Owner’s Guide Chapter 2: Setting Up the Printer Connecting Communication and Power Cables The printer uses separate cables for communicating with the host computer and receiving power from the power supply. Caution: Be sure that all power is disconnected before connecting the cables. 1. Turn off the host computer or unplug the power supply if it is plugged in. 2. Plug the power supply cable into the printer first, then plug the power cord into the power supply, then into an outlet. 3.
Chapter 2: Setting Up the Printer 7193 Owner’s Guide Parallel Models 10 August 1998
7193 Owner’s Guide Chapter 2: Setting Up the Printer Turning On the Printer Note: The operator panel may differ from the standard version (left) depending on the model. On models matching the alternate version (right), use a paper clip or pointed object to press the plunger to put the printer on- or off-line. 1. Press the On Line button (or plunger) to put the printer on-line. The printer goes through a self-test routine to ensure everything is working, then “beeps.
Chapter 2: Setting Up the Printer 7193 Owner’s Guide Loading and Changing Paper The 7193 features extremely simple paper loading. See the next two illustrations. If you are loading paper for the first time and have already taken the roll out, go to “Putting In the Paper Roll” later in this chapter. If you have not taken the roll out, continue with the following instructions. Although the illustrations show a used roll being removed, the instructions still apply to loading paper for the first time.
7193 Owner’s Guide Chapter 2: Setting Up the Printer Putting In the Paper Roll Before putting in a new roll, tear off the end of the roll so that the edge is loose.
Chapter 2: Setting Up the Printer 7193 Owner’s Guide Advancing Paper Note: Some 7193 models may appear slightly different than what is shown in the illustration. The procedures are the same for all models unless otherwise noted. 1. To advance the receipt paper, press the Paper Feed button on the operator panel. The cover must be closed. 2. Tear off the excess paper against the tear off blade. Clearing Paper Jams Paper jams are rare, and if they do occur are simple to clear. 14 1. Open the cover.
7193 Owner’s Guide Chapter 2: Setting Up the Printer Testing the Printer Run this test to check the printer. The test prints the settings for several functions, prints all variations of the character sets, and partially cuts the paper between each variation. See “Level 1 Diagnostics” in chapter 4 for a description of the functions. A sample printout of RS-232C printers is shown on the facing page. The printouts for other models are similar. The test ends with a partial cut, then begins again.
Chapter 2: Setting Up the Printer 16 7193 Owner’s Guide August 1998
7193 Owner’s Guide Chapter 2: Setting Up the Printer Mounting the Printer on a Wall Use the wall-mount kit to mount the printer vertically on a wall. See “Ordering Other Supplies” in chapter 1 for information on ordering the printer wall-mount kit. The kit contains a mounting bracket, screws with plastic anchors, and a label. Once the printer is mounted on the wall, the operator panel will be upside down. The label corrects this so the panel can be easily read.
Chapter 2: Setting Up the Printer 18 7193 Owner’s Guide August 1998
7193 Owner’s Guide Chapter 2: Setting Up the Printer Mounting the Power Supply on a Wall The power supply can be ordered with a wall-mount kit to mount the power supply on the wall or under a table. See “Ordering Other Supplies” in chapter 1 for information on ordering the power supply with or without a wall-mount kit. The kit contains a holder and screws with plastic anchors. Be sure there are no hidden wires or other obstructions in the wall where you mount the power supply.
Chapter 2: Setting Up the Printer 20 7193 Owner’s Guide August 1998
7193 Owner’s Guide Chapter 3: Solving Problems Chapter 3: Solving Problems The 7193 printer is a simple, generally trouble-free printer, but from time to time minor problems may occur. For example, the power supply may be interrupted or the printhead may overheat for some reason. Lights on the operator panel will signal that something may not be operating properly: one green light and one red light may either flash or glow continuously as described in the following table and on the following pages.
Chapter 3: Solving Problems 7193 Owner’s Guide Correcting Problems Operator-Correctable Conditions The following conditions can be corrected generally without calling for service. However, if problems persist, contact your NCR authorized service representative to arrange for a service call. Paper Out Replace the paper roll. Do not operate the printer or host computer if the printer runs out of paper. The printer will not operate without paper, but it may continue to accept data from the host computer.
7193 Owner’s Guide Chapter 3: Solving Problems No Power to Printer or Power Voltages Incorrect The power being supplied to the printer is not in the normal range. Check that all connections are correct. Make sure the power supply is plugged in and that the printer is on-line. Contact your NCR authorized service representative if this does not resolve the problem. Print is Light or Spotty The printhead may be dirty. Clean it with cotton swabs and rubbing alcohol.
Chapter 3: Solving Problems 24 7193 Owner’s Guide August 1998
7193 Owner’s Guide Chapter 4: Diagnostics Chapter 4: Diagnostics The following diagnostic tests are available for the 7193: • Level 0 Diagnostics Performed during the startup cycle • Level 1 Diagnostics (setup mode) Available in a dedicated environment and accessed through the DIP Switches • Level 2 Diagnostics Performed during normal printer operation • Level 3 Diagnostics Maintained during normal operation and printed in the print test Level 0 Diagnostics The printer automatically performs leve
Chapter 4: Diagnostics 7193 Owner’s Guide Level 1 Diagnostics Level 1 Diagnostics (setup mode) allow you to change settings for various printer functions (described on the following pages) and to run certain tests using the DIP switches. Keep the following information in mind when changing the settings: • Turn the printer off by pressing the On Line button (or plunger). Although the printer still receives power, this is sufficient for changing the DIP switches.
7193 Owner’s Guide Chapter 4: Diagnostics On 4. Off On Off On On One Line Data Buffer Turn the printer back on to enter the settings into the EEROM. The On Line light (green) blinks. 5. Turn the printer off and set the DIP switches to the former settings. DIP switch 1 must be Off to return the printer to the on-line mode. 6. Turn the printer back on. Setting Printhead Resistance This function allows you to change the setting for the printhead resistance.
Chapter 4: Diagnostics 7193 Owner’s Guide Setting Default Lines per Inch This function allows you to set the default for lines per inch to either 7.6 or 6. Note: The operator panel may differ depending on the model. To turn the printer on or off, (on-line or off-line), use a paper clip or other pointed object to depress the plunger (in place of the On Line button) on models with that item. Caution: The DIP switches are pre-set at the factory and should generally not be changed.
7193 Owner’s Guide Chapter 4: Diagnostics Switch 1 Switch 2 Switch 3 Switch 4 Switch 5 Switch 6 Cut Distance Value On On Off Off Off Off 0 On On Off Off Off On 1 On On Off Off On Off 2 On On Off Off On On 3 On On Off On Off Off 4 On On Off On Off On 5 (Default) On On Off On On Off 6 On On Off On On On 7 4. Turn the printer back on to enter the settings into the EEROM. The On Line light (green) blinks. 5.
Chapter 4: Diagnostics 7193 Owner’s Guide DIP switch 1 must be Off to return the printer to the on-line mode. 6. Turn the printer back on. Running the Data Scope Mode This test prints a hexadecimal dump of all data sent to the printer: “1” prints as hexadecimal 31, “A” as hexadecimal 41 and so on. This helps troubleshoot communication problems and runs during a normal application (after being enabled in level 1 diagnostics).
7193 Owner’s Guide Chapter 4: Diagnostics 2. Set the switches to the settings in the table. Switch 1 Switch 2 Switch 3 Switch 4 Switch 5 Switch 6 On Off Off On Off Off 3. Turn the printer back on to enter the settings into the EEROM and disable the Data Scope Mode. The On Line light (green) blinks. 4. Turn the printer off and set the DIP switches to the former settings. DIP switch 1 must be Off to return the printer to the on-line mode. 5. Turn the printer back on.
Chapter 4: Diagnostics 7193 Owner’s Guide Level 2 Diagnostics Level 2 diagnostics run during normal printer operation. When the following conditions occur, the printer automatically turns off the appropriate motors and disables printing to prevent damage: • Paper out, cover off, or knife unable to home • Printhead too hot or voltages out of range The lights on the operator panel will signal when these conditions occur as well as indicate what state or mode the printer is in.
7193 Owner’s Guide Chapter 5: Communication Chapter 5: Communication Communication Overview In order for a receipt to be printed, a program must be in place that translates the data from the host computer into a language that the printer can understand. This program must tell the printer exactly how to print each character. This chapter describes how to create such a program or modify an existing one. Interfaces In order for the printer to communicate with the host, a communication link must be set up.
Chapter 5: Communication 7193 Owner’s Guide 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. Previously sent commands tell the printer exactly how this data should appear on the paper.
7193 Owner’s Guide Chapter 5: Communication The next table shows that with no delay between lines, the transmit time is much less than the print time, allowing the printer to print at full speed. Characters/Line Lines/Receipt Transmit Time: (9600 Baud) Transmit Time: (19.2 K Baud) Print Time 20 20 0.4 Seconds 0.2 Seconds 1.2 Seconds 20 40 0.8 Seconds 0.4 Seconds 2.4 Seconds 44 20 0.88 Seconds 0.44 Seconds 1.2 Seconds 44 40 1.76 Seconds 0.88 Seconds 2.
Chapter 5: Communication 7193 Owner’s Guide RS-232C Technical Specifications This section describes the pin settings for the connectors and the RS-232C interface parameters. The RS-232C parameters are selected by setting the DIP switches on the printed circuit board. See “RS-232C Switch Settings” on the next page for the position of the DIP switches. The RS-232C parameters must match those of the host computer.
7193 Owner’s Guide Chapter 5: Communication RS-232C Printers Pin Number Cash Drawer 1 Connector Cash Drawer 2 Connector 1 Frame Ground Frame Ground 2 Drawer 1 Solenoid Drawer 2 Solenoid (Remove jumper JPR2 to disable) 3 Drawer 1 Status Switch Drawer 2 Status Switch 4 +24 Volts (to Solenoid +) +24 Volts (to Solenoid +) 5 Drawer 2 Solenoid (Remove jumper JPR3 to disable) Drawer 1 Solenoid 6 Ground (Status Switch Return) Ground (Status Switch Return) RS-232C Switch Settings The DIP switch
Chapter 5: Communication 7193 Owner’s Guide DIP Switch Settings for RS-232C Parameters Switch Settings Description 1 OFF ON On-line Mode (default) Level 1 Diagnostics (setup mode) 2 OFF ON DTR/DSR Protocol (default) XON/XOFF Protocol 3 OFF ON Without Parity (default) With Parity 4* OFF ON Odd Parity Even Parity 5, 6 5 OFF ON OFF ON 6 OFF OFF ON ON 19,200 Baud 9600 Baud (default) 4800 Baud 1200 Baud *Switch 4 is not used if the parity is disabled (switch 3 set to OFF).
7193 Owner’s Guide Chapter 5: Communication Parallel Interface Parallel Protocol The 7193 uses a standard PC-compatible parallel interface. The illustration shows the timing diagram for the interface protocol. D A TA STROBE 0 .5 µ s (M in .) 1 .0 µ s (M in .) 0 .0 8 µ s (M in .) 0 .5 µ s (M in .) BU S Y ACK A p p .0 .0 6 µ s SeeN o .1 1. ACK/ will not go high until STROBE/ goes high. 2. When the printer is not ready to receive more data, ACK/ will be sent, but BUSY will remain high. 3.
Chapter 5: Communication 7193 Owner’s Guide Parallel Technical Specifications Parallel Connectors The following illustration shows the Parallel communication connector and pin assignments. The connector is at the rear of the printer. The connector for the power supply cable has the following pin assignments. The power cable connector is in the small cavity under the printer at the front. Cash Drawer Connectors The following illustration shows the pinouts for the cash drawer connector.
7193 Owner’s Guide Chapter 5: Communication The following table shows the pinouts for cash drawers 1 and 2. The cash drawer connectors are located at the rear of the printer.
Chapter 5: Communication 42 7193 Owner’s Guide August 1998
7193 Owner’s Guide Chapter 6: Commands Chapter 6: Commands The commands control all operations and functions of the 7193 printer, from selecting the size and placement of characters and graphics on the receipt to feeding and cutting the paper. Note: All versions of the 7193 use the same commands as listed in this section unless otherwise noted. For example, the Parallel interface requires unique commands for controlling the cash drawer.
Chapter 6: Commands 7193 Owner’s Guide Printer Function Commands Hexadecimal Code Command Page 09 Horizontal Tab 47 0A Line Feed 47 0D Carriage Return 47 10 Clear Printer 48 14 n Feed n Print Lines 48 15 n Feed n Dot Rows 48 16 n Add n Extra Dot Rows 48 17 Print 49 19 Full Knife Cut 49 Partial Knife Cut 49 1B 07 Generate Tone 49 1B 14 n Set Column 49 1B 20 n Set Character Right Side Spacing (Not Implemented) 49 1B 24, etc.
7193 Owner’s Guide Chapter 6: Commands Print Characteristics Commands These commands control what the printed information looks like and are listed in numerical order of their hexadecimal codes. Print Characteristics Commands Hexadecimal Code Command Page 12 Select Double-Wide Characters 56 13 Select Single-Wide Characters 57 1B 12 Rotate Characters Counter-Clockwise 57 1B 16 n Select Pitch (Column Width) 57 1B 21 m Set Print Mode 57 1B 25 n Select Character Set 58 1B 26, etc.
Chapter 6: Commands 7193 Owner’s Guide Printer Status Commands These commands send printer status information to the host computer and are listed in numerical order of their hexadecimal codes.
7193 Owner’s Guide Chapter 6: Commands Command Descriptions This section lists the commands with their hexadecimal, decimal, and ASCII codes.
Chapter 6: Commands 7193 Owner’s Guide Clear Printer Clears the print line buffer without printing and sets the printer to the following condition: • Double-Wide (12) command is cancelled • Line Spacing, Pitch, and User-Defined Character Sets are maintained at current selections (RAM is not affected) • Single-Wide, Single-High, Non-Rotated, and Left-Aligned characters are set • Printer is restarted and error status is cleared in a fault condition • Returns paper exhaust to the paper status line i
7193 Owner’s Guide Chapter 6: Commands Print Prints one line from the buffer and feeds paper one line. Hexadecimal Decimal ASCII 17 23 ETB Full Knife Cut This command is implemented the same as Partial Knife Cut (1A/1B 6D). Hexadecimal Decimal ASCII 19 25 EM 1B 69 27 105 ESC i Partial Knife Cut Partially cuts the receipt, leaving .20 inch (5 mm) of paper. The length of the cut can be changed through the DIP switches. See “Setting Partial Cut Distance” in chapter 4.
Chapter 6: Commands 7193 Owner’s Guide Set Absolute Starting Position Sets the print starting position to the specified number of dots (up to the right margin) from the beginning of the line. The print starting position is reset to the first column after each line.
7193 Owner’s Guide Chapter 6: Commands Select Peripheral Device Selects the device which the host computer sends data to. When the printer is disabled by this command, it ignores transmitted data until the printer is re-enabled by the same command. Hexadecimal Decimal ASCII Value of n Default 1B 3D n 27 61 n ESC = n 0 (bit 0), device not selected 1 (bit 0), device selected 1 Other bits of n are undefined and ignored.
Chapter 6: Commands 7193 Owner’s Guide Set Relative Starting Position 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 position. The print starting position is reset to the first column after each line.
7193 Owner’s Guide Chapter 6: Commands Align Character Positions Specifies the alignment of characters, graphics, logos, and bar codes (see table). It is valid only at the beginning of a line. Hexadecimal Decimal ASCII Value of n Default 1B 61 n 27 97 n ESC a n 0 (Left Aligned) 1 (Center Aligned) 2 (Right Aligned) 0 Select Sensors to Stop Printing This command is not implemented and is ignored if received.
Chapter 6: Commands 7193 Owner’s Guide Write to Non-Volatile Memory Writes two-byte word n1:n2 to location k in history EEROM. Hexadecimal Decimal ASCII Value of n Value of k 1B 73 n1 n2 k 27 115 n1 n2 k ESC s n1 n2 k n1 = 1st Byte n2 = 2nd Byte 16-63 (Hex Locations 00-15 are Reserved) Set Left Margin Sets the left margin of the printing area. The command is effective only at the beginning of a line.
7193 Owner’s Guide Chapter 6: Commands Set Horizontal and Vertical Minimum Motion Units Sets the horizontal and vertical motion units to 1/x inch and 1/y inch respectively. Hexadecimal Decimal ASCII Value of x (Horizontal) Value of y (Vertical) 1D 50 x y 29 80 x y GS P x y 0-255 Default = 150 0-255 Default = 300 When x or y is set to 0, the default setting for that motion unit is used. Notes The default horizontal motion is x = 150.
Chapter 6: Commands 7193 Owner’s Guide Set Printing Area Width Sets the width of the printing area. The command is effective only at the beginning of a line. Hexadecimal Decimal ASCII Value of nL Value of nH 1D 57 nL nH 29 87 nL nH GS W nL nH 0-255 0-255 The width of the printing area is set to (((nH X 256) + nL) X horizontal motion unit) inches. The horizontal motion units are set by the Set Horizontal and Vertical Minimum Motion Units command (1D 50). This command is described above.
7193 Owner’s Guide Chapter 6: Commands Select Single-Wide Characters Prints single-wide characters. It may be used with double-wide characters on the same line, but not with Single and Double Density Graphics modes. Hexadecimal Decimal ASCII 13 19 DC3 Rotate Characters Counter-Clockwise Rotates characters 90 degrees counter-clockwise.
Chapter 6: Commands 7193 Owner’s Guide Select Character Set Selects the character set. The character sets cannot be used together on the same line. When an undefined RAM character is selected, the Code Page 437 character is used. See “Appendix B” for the character sets. Hexadecimal Decimal ASCII Value of n Default 1B 25 n 27 37 n ESC % n 0 = Code Page 437 1 = User Defined (RAM) 2 = Code Page 850 0 Define User-Defined Character Set Defines and enters downloaded characters into RAM.
7193 Owner’s Guide Chapter 6: Commands Copy Character Set from ROM to RAM Copies characters in the active ROM set to RAM. Use it to modify characters in one of the character set variations, such as Rotated Print. Select one of the Rotated Print commands, copy to RAM, then use the command, Define User-Defined Character Set (1B 26). Hexadecimal Decimal ASCII 1B 3A 0 0 0 27 58 0 0 0 ESC : 0 0 0 Cancel User-Defined Character Cancels the pattern defined for the character code specified by n.
Chapter 6: Commands 7193 Owner’s Guide 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. The samples of the print show only the normal size characters. Double-wide and doublehigh characters are printed in the same orientation. They may also be mixed on the same line.
7193 Owner’s Guide Chapter 6: Commands Note: If the Set Horizontal and Vertical Minimum Motion Units command (1D 50) is used to change the horizontal and vertical minimum motion unit, the parameters of this command (Set Absolute Starting Position) will be interpreted accordingly. For more information, see the description of the Set Horizontal and Vertical Minimum Motion Units command earlier in this chapter.
Chapter 6: Commands 7193 Owner’s Guide 24-Dot Single-Density Mode Top of Bit Image d1 d4 d7 MSB d2 d5 dn d3 d6 dn LSB Single-Density Graphics Enters one line of 8-dot single-density graphics into the print buffer. Any print command is required to print the line, after which the printer returns to normal processing mode. When the print buffer is full, incoming data will be accepted but not printed. Single-density mode allows 0-224 dot columns.
7193 Owner’s Guide Chapter 6: Commands Define Downloaded Bit Image Enters a downloaded bit image (such as a logo) into RAM with the number of dots specified by n1 and n2. It is available until power is turned off, another bit image is defined, or either Initialize Printer (1B 40), or Define User-Defined Character Set (1B 26), command is received. A downloaded bit image and user-defined characters cannot be defined at the same time.
Chapter 6: Commands 7193 Owner’s Guide Printer Status Commands 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 were received. When a fault occurs, the printer will go busy at the RS-232C interface and not respond to either of the Printer Status commands.
93 Owner’s Guide Chapter 6: Commands Transmit Printer Status Sends status data to the host computer. This command is available only on RS-232C printers. Hexadecimal Decimal ASCII 1B 76 27 118 ESC v The printer sends one byte to the host computer when it is not busy or in a fault condition. See “Busy Line and Fault Conditions” in the following section, “Real Time Commands,” for details about fault condition reporting. See the table below. In DTR/DSR protocol, the printer waits for DSR = SPACE.
Chapter 6: Commands 7193 Owner’s Guide Type ID (n = 2) Bit Off/On Hex Decimal Function 0 Off On 00 01 0 1 No two-byte character code installed. Two-byte character code installed. 1 Off On 00 02 0 2 No knife installed. Knife installed. 2 - - - Undefined. 3 - - - Undefined. 4 Off 00 0 Not used. Fixed to Off. 5 - - - Undefined 6 - - - Undefined 7 Off 00 0 Not used. Fixed to Off.
7193 Owner’s Guide Chapter 6: Commands Bit Off/On Hex Decimal Status for ASB 0 Off On 00 01 0 1 Cash drawer status disabled. Cash drawer status enabled. 1 Off On 00 02 0 2 RS-232C Busy status disabled. RS-232C Busy status enabled. 2 Off On 00 04 0 4 Error status disabled. Error status enabled. 3 Off On 00 08 0 8 Receipt paper roll status disabled. Receipt paper roll status enabled. 4 - - - Undefined 5 Off On 00 20 0 32 Slip detector, slip paper status disabled.
Chapter 6: Commands 7193 Owner’s Guide 7 00 0 Not used. Fixed to off. Second Byte (Error information) Bit Off/On Hex Decimal Status for ASB 0 - - - Undefined 1 - - - Undefined 2 - - - Undefined 3 Off On 00 08 0 8 No knife error. Knife error occurred. 4 Off 00 0 Not used. Fixed to off. 5 Off On 00 20 0 32 No unrecoverable error. Unrecoverable error occurred. 6 Off 00 0 Thermal printhead temperature and power supply voltage are in range.
7193 Owner’s Guide Chapter 6: Commands Transmit Status Transmits the status specified by n. This command is a batch mode command; that is, the response is transmitted after all prior data in the receive buffer has been processed. There may be a time lag between the printer receiving this command and transmitting the response, depending on the receive buffer status.
Chapter 6: Commands 7193 Owner’s Guide Cash Drawer Status (n = 2 or n = 50) Bit Off/On Hex Decimal Status for Transmit Status 0 Off On 00 01 0 1 One or both cash drawers open. Both cash drawers closed. 1 Off On 00 02 0 2 One or both cash drawers open. Both cash drawers closed. 2 - - - Undefined 3 - - - Undefined 4 Off 00 0 Not used. Fixed to off. 5 - - - Undefined 6 - - - Undefined 7 Off 00 0 Not used. Fixed to off.
7193 Owner’s Guide Chapter 6: Commands Alternate Implementation The alternate implementation uses the DLE (Hex 10) sequences as implemented on Epson’s TM-T85™ and TM-U950™. An application using these DLE (Hex 10) sequences and the original 7193 Clear Printer command must distinguish for the printer between the new Real Time commands and the old Clear Printer command by adding a NUL (Hex 00) to the Clear Printer command.
Chapter 6: Commands 7193 Owner’s Guide When the printer is busy due to an error condition, then data stops being processed of the buffer until the condition clears one way or another. In either case, but more quickly in the case of an error condition, the buffer can fill with Real Time commands. When the DLE sequences are being used, the last byte stored when the buffer fills up could be the DLE code, with no room for the subsequent EOT or ENQ.
7193 Owner’s Guide Chapter 6: Commands If you have programmed the printer to handle the busy line the old way, but wish to reprogram it to the new way, do the following steps: August 1998 73
Chapter 6: Commands 7193 Owner’s Guide 1. Record the current switch settings for their RS-232C parameters. 2. Set switches 2, 3, and 6 to OFF, and set switches 1, 4, and 5 to ON. 3. Power cycle the printer. 4. Wait until the printer beeps to store the parameter change in NVRAM. 5. Restore the switches to their RS-232C parameters. 6. Power cycle the printer. 7. Print out the diagnostics to be sure that the busy line parameter changed.
7193 Owner’s Guide Chapter 6: Commands 7 Off 00 0 Fixed to On. 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 4 Both receipt and cassette doors closed. Receipt or cassette door open. 3 Off On 00 08 0 8 Paper feed button is not pressed. Paper feed button is pressed. 4 On 10 16 Fixed to On. 5 Off On 00 20 0 32 Printing not stopped due to paper condition.
Chapter 6: Commands 7193 Owner’s Guide 7 On 40 64 Receipt paper exhausted Off 00 0 Fixed to Off Real Time Request to Printer The printer responds to a request from the host specified by n. The operations performed depend on the value of n, according to the following parameters. GS Sequence Hexadecimal Decimal ASCII Value of n 1D 03 n 29 3 n GS ETX n 1 = Recover and restart 2 = Recover and clear buffers The command is ignored if n is out of range.
7193 Owner’s Guide Chapter 6: Commands Real Time Printer Status Transmission Transmits one byte status of the printer in real time. Hexadecimal Decimal ASCII 1D 05 29 5 GS ENQ Bit Status Hex Decimal Function 0 Off On 00 01 0 1 Receipt paper adequate. Receipt paper low. 1 Off On 00 02 0 2 Receipt 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.
Chapter 6: Commands 7193 Owner’s Guide Batch Mode Response Response Recognized By: ESC u 0 0 0 0 0 0 0 x x Binary ESC v 0 0 0 0 0 x x x Binary GS I n 0 x x 0 x x x x Binary GS r n 0 x x 0 x x x x Binary Real Time Response Response Recognized By: GS EOT n 0 x x 1 x x 1 0 Binary DLE EOT n 0 x x 1 x x 1 0 Binary GS ENQ 1 x x x x x x x Binary XON 0 0 0 1 0 0 0 1 Binary XOFF 0 0 0 1 0 0 1 1 Binary Auto Status Back (AS
7193 Owner’s Guide Chapter 6: Commands Select Pitch of HRI Characters This command is not implemented and is ignored if received. Hexadecimal Decimal ASCII Value of n (Pitch) Default 1D 66 n 29 102 n GS f n 0 = Standard Pitch at CPI 1 = Compressed Pitch at 19 CPI 0 Select Height of Bar Code Sets the bar code height to n dots or n/152 inch (n/6 mm).
Chapter 6: Commands 7193 Owner’s Guide m Bar Code d n, Length 0 UPC-A 48- 57 (ASCII numerals) Fixed Length: 11, 12 1 UPC-E 48- 57 Fixed Length: 11, 12 2 JAN13 (EAN) 48- 57 Fixed Length: 12, 13 3 JAN8 (EAN) 48- 57 Fixed Length: 7,8 4 Code 39 48- 57, 65- 90 (ASCII alphabet), Variable Length 32, 36, 37, 43, 45, 46, 47 (ASCII special characters) d1 = dk = 42 (start/stop code is supplied by printer if necessary) 5 Interleaved 2 of 5 48- 57 Variable Length (Even Number) 6 Codabar 6
7193 Owner’s Guide Chapter 6: Commands m Bar Code d n, Length 65 UPC-A 48- 57 (ASCII numerals) Fixed Length: 11, 12 66 UPC-E 48- 57 Fixed Length: 11, 12 67 JAN13 (EAN) 48- 57 Fixed Length: 12, 13 68 JAN8 (EAN) 48- 57 Fixed Length: 7, 8 69 CODE39 48- 57, 65- 90 (ASCII alphabet), Variable 32, 36, 37, 43, 45, 46, 47 (ASCII special characters) d1 = dk = 42 (start/stop code is supplied by printer if necessary) 70 Interleaved 2 of 5 (ITF) 48- 57 Variable (Even Number) 71 CODABAR (NW
Chapter 6: Commands 82 7193 Owner’s Guide August 1998
7193 Owner’s Guide Appendix A: Specifications Appendix A: Specifications Features Interfaces: RS-232C, Parallel Memory/Firmware: 16K RAM (available for downloadable character sets and bit-mapped graphics) History EEROM 4K Buffer Resident character sets: PC Code Page 437 (US) PC Code Page 850 (Multilingual) Integrated bar codes: Code 39, Code 128, UPC-A, UPC-E, JAN8 (EAN), JAN13 (EAN), Interleaved 2 of 5, Codabar Options: Knife Power Supply (separate in-line power supply for models not receiving
Appendix A: Specifications 7193 Owner’s Guide Environmental Conditions Operating Temperature: 5°C to 35°C (40°F to 95°F), models with no knife 5°C to 28°C (41°F to 82°F), models with knife Operating Humidity: 5% to 90% Note: The printer can operate at higher temperatures if the humidity is lower (5°C to 45°C with humidity of 5% to 35%). Condensation: Condensation may occur when the printer is moved from cold to warm areas after shipment.
7193 Owner’s Guide Appendix A: Specifications Print Zones The printer centers characters (standard pitch and compressed pitch) and graphics on an 80 mm wide (3.15 in.) receipt. • Standard pitch: 10 x 18 dots in character cell, 44 characters (columns) per line • Compressed pitch: 8 x 18 dots in character cell, 56 characters (columns) per line • Graphics: 448 addressable bits The minimum print line height is 18 dots for characters and 24 dots for graphics. The standard print line height is 20 dots (3.
Appendix A: Specifications 7193 Owner’s Guide Density of Receipt Print Lines When the 7193 prints high density print lines (text or graphics), it automatically slows down to a rate slower than 1020 lines per minute. High density print lines are defined as lines with over 57% of the dots printing on the line (there are 448 total dot columns on the print station).
7193 Owner’s Guide Appendix B: Print Characteristics Appendix B: Print Characteristics Character Size The following two illustrations show the dot patterns of sample characters for standard pitch (15.2 CPI) and compressed pitch (19 CPI).
Appendix B: Print Characteristics 7193 Owner’s Guide Code Page 437 Character Set These are the characters for the Code Page 437 character set.
7193 Owner’s Guide Appendix B: Print Characteristics Code Page 850 Character Set These are the characters for the Code Page 850 character set.
Appendix B: Print Characteristics 88 7193 Owner’s Guide August 1998
7193 Owner’s Guide Index Index —7— 7193 printer cleaning, 4 clearance, 6 description, 1 dimensions, 6, 82 environmental conditions, 82 features, 2, 81 Installation. See Installation location, 6 models, 1 ordering supplies, 3 power requirements, 81 power supply wall-mount kit, 19 power supply, ordering, 3 print zones, 83 printer specifications, 82 reliability, 81 sending in for repair, 6 turning on, 11 wall-mount kit, 17 —A— Accessories.
Index Commands, printer function add n extra dot rows, 44, 48 align character positions, 44, 53 carriage return, 44, 47 clear printer, 44, 48 enable or disable panel switch, 44, 53 feed n dot rows, 43, 48 feed n print lines, 44, 48 full knife cut, 44, 49 generate pulse to open cash drawer, 44, 53 generate tone, 44, 49 horizontal tab, 44, 47 initialize printer, 44, 51 line feed, 44, 47 partial knife cut, 44, 49 print, 44, 49 print and feed n lines, 44, 53 print and feed n minimum units, 44, 51 read from non
7193 Owner’s Guide Index number of operating hours, 32 —E— Environmental conditions, 82 Errors. See Problems —F— Features, 2, 81 —I— Installation choosing location, 6 connecting cables, 8 loading paper, 12 mounting power supply on wall, 19 mounting printer on wall, 17 removing packing material, 5 setting switches, 6 testing printer, 15 turning on the printer, 11 Interface.
Index 7193 Owner’s Guide parameters, 41 protocol, 39 technical specifications, 40 Partial cut distance setting, 28 Pitch of characters 15.
7193 Owner’s Guide Index Troubleshooting. See Problems Turning on the printer, 11 —V— —T— Tallies. See Level 3 diagnostics Technical specifications parallel interface, 40 RS-232C interface, 36 Testing the printer, 15 Thermal paper ordering, 3 requirements, 3 suppliers, 3 Thermal printhead.
Index 94 7193 Owner’s Guide August 1998
BD20-1439-A Issue B 0898 NCR is the name and mark of NCR Corporation © 1997 NCR Corporation Printed in U.S.A.