M-S Cash Drawer 7193 manual Real Time Commands, First Implementation

Page 90

7193 Owner’s Guide

Commands

Real Time Commands

The Real Time commands correct difficulties with the original version of the 7193 RS-232C communication interface:

Real Time Status Transmission: GS (Hex 1D) Sequence and DLE (Hex 10) Sequence

Real Time Request to Printer: GS (Hex 1D) Sequence and DLE (Hex 10) Sequence

Real Time Printer Status Transmission

The original Printer Status commands, Transmit Printer Status (Hex 1B 76, ASCII ESC v) and Transmit Cash Drawer Status (Hex 1B 75 0, ASCII ESC u 0) are placed in the printer’s data buffer as they are received and handled by the firmware in the order in which they were received. If the paper exhausts while printing data which was in the buffer ahead of the status command, the printer goes busy at the RS-232C interface and suspends processing the data in the buffer until paper is reloaded. This is true for all error conditions: knife home error, thermal printhead overheat, etc. In addition, there is no way to restart the printer after a paper jam or other error.

The Real Time commands are implemented in two ways to correct these problems. Both implementations offer the same functionality; which one you choose depends on the current usage of your application.

First Implementation

For a new application the GS (Hex 1D) sequences of the first implementation are recommended to avoid possible misinterpretation of a DLE (Hex 10) sequence as a Clear Printer (Hex 10 0, ASCII DLE NUL) command.

The first implementation builds upon the GS ENQ sequence as implemented on Epson’s TM-930II™, TM-950™ and TM-U950™ by defining two new GS (Hex 1D) sequences to provide the same functions as the DLE (Hex 10) sequences above, and to provide complete backward compatibility to the original 7193 Clear Printer command.

An application using these GS (Hex 1D) sequences does not need to distinguish for the printer between the new Real Time commands and the old Clear Printer command. This implementation is ideal for an existing 7193 application which already uses the Clear Printer command or for a new application being developed.

This implementation also provides the original GS ENQ Real Time sequence in addition to the newer Real Time sequences.

May 1996

Image 90
Contents Owners Guide Information to User Quick Reference How to Use This Book How to Obtain More InformationWho Should Use this Book? Contents Solving Problems Appendix B Print Characteristics 107 About the 7193 Printer Communication Interfaces FeaturesModels OptionsThermal Printhead Ordering Paper and Supplies Ordering Thermal PaperRecommended Suppliers Other Qualified Suppliers Kanzaki Specialty PapersOrdering the Power Supply and Cables Ordering the Printer Wall-Mount KitOrdering Cash Drawers Cleaning the Printer What Is in the Box? Removing the Packing MaterialRepacking the Printer Choosing a Location Setting Switches Owner’s Guide Attaching the Feet Connecting Cash Drawer Cables Connecting Communication and Power Cables RS-232C ModelsParallel Models Turning On the Printer When to Change the Paper Loading and Changing PaperRemoving the Paper Roll Putting In the Paper Roll Advancing Paper Testing the Printer 3cx39pi Mounting the Printer on a Wall Bracket Mounting the Power Supply on a Wall Holder Solving Problems Operator Panel LightsCorrecting Problems Service-Related ProblemsOperator-Correctable Conditions Contacting a Service Representative No Power to Printer or Power Voltages IncorrectPrint is Light or Spotty Diagnostics Level 0 DiagnosticsLevel 1 Diagnostics EeromSetting Data Error and Data Buffer options Setting Printhead Resistance Setting Default Lines per Inch Setting Partial Cut Distance Ignoring/Using the Carriage Return Running the Data Scope Mode Enter the Data Scope ModeExit the Data Scope Mode 1BHTesting Receipt Printing Level 2 Diagnostics Level 3 DiagnosticsSending Commands Communication OverviewInterfaces Using DOS to Send Commands Using Basic to Send CommandsRS-232C Interface XON/XOFF Protocol DTR/DSR ProtocolRS-232C Technical Specifications ConnectorsCash Drawer Connectors Switch Settings OFF Parallel Interface Parallel ProtocolParallel Technical Specifications Parallel ConnectorsParallel Printers Parallel Switch Settings Commands Command ListPrinter Function Commands Owner’s Guide Print Characteristics Commands Graphics Commands Printer Status CommandsReal Time Commands Bar Code CommandsCommand Descriptions Horizontal TabLine Feed Carriage Return Clear PrinterFeed n Print Lines Feed n Dot Rows Add n Extra Dot RowsPrint Generate Tone Full Knife CutPartial Knife Cut Set ColumnSet Character Right-Side Spacing Set Absolute Starting PositionSelect Printer Set Line Spacing to 1/6 InchSet Line Spacing to n Minimum Units Initialize PrinterSet Horizontal Tab Positions Print and Feed n Minimum UnitsSet Relative Starting Position Select Sensors to Stop Printing Enable or Disable Panel SwitchAlign Character Positions Print and Feed n LinesRead from Non-Volatile Memory Generate Pulse to Open Cash DrawerWrite to Non-Volatile Memory Select Double-Wide Characters Select Single-Wide CharactersRotate Characters Counter-Clockwise Set Print Mode Select Pitch Column WidthSelect Character Set Define User-Defined Character SetCopy Character Set from ROM to RAM Select Character Code TableSet or Cancel Rotated Characters Clockwise Set or Cancel Upside-Down CharactersSummary of Rotated Printing Set Bit Image Mode N1 + 256 x n2 N1 + 256 x n2 Number of Bytes of Data Single-Density Graphics Double-Density GraphicsDefine Downloaded Bit Image Print Downloaded Bit Image Transmit Cash Drawer Status Request Alternate Status Transmit Printer Status First Implementation Rules for Using Real Time Commands Alternate ImplementationMoving Data Through the Buffer Busy Line and Fault Conditions Real Time Status Transmission GS Sequence= Transmit Printer Status = Transmit RS-232C Busy Status Real Time Request to Printer = Transmit Receipt Paper StatusDLE Sequence Clear Printer Command Real Time Printer Status TransmissionRecognizing Data from the Printer Select Printing Position of HRI Characters Select Pitch of HRI CharactersSelect Height of Bar Code Print Bar Code JAN8 EANPrint Code 128 Bar Code Select Width of Bar CodeAppendix a Specifications ReliabilityPower Requirements Environmental ConditionsDimensions and Weight Printing SpecificationsPrint Zones Density of Receipt Print Lines Duty Cycle Restrictions Printing Solid BlocksAppendix B Print Characteristics Appendix B Print Characteristics Owner’s Guide 110 May Index May Index112 Owner’s Guide Owner’s Guide 114 Owner’s Guide Owner’s Guide Axiohm IPB