M-S Cash Drawer 7193 manual XON/XOFF Protocol, DTR/DSR Protocol

Page 51

7193 Owner’s Guide

Communication

XON/XOFF Protocol

The XON/XOFF characters coordinate the information transfer between the printer and the host system. The printer sends an XON character when it is ready to receive data and it sends an XOFF character when it cannot accept any more data. The software on the host system must monitor the communication link as shown in the following flowchart in order to send data at the appropriate times.

13 HEX

Was an XON XOFF or XOFF charactor

last received?

XON

11HEX

Send Data

Wait for

XON character

XON character = Hex 11.

XOFF character = Hex 13.

DTR/DSR Protocol

The DTR signal is used to control data transmission to the printer. It is driven low when the printer is ready to recieve data and driven high when it cannot accept any more data. Data is transmitted from the printer after it confirms that the DSR signal is low.

Is DTR

High

 

High or Low

 

Wait for

DTR to Go Low

Low

Send Data

May 1996

Image 51
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 Options FeaturesModels Communication InterfacesThermal Printhead Ordering Paper and Supplies Ordering Thermal PaperRecommended Suppliers Kanzaki Specialty Papers Other Qualified SuppliersOrdering the Power Supply and Cables Ordering the Printer Wall-Mount KitOrdering Cash Drawers Cleaning the Printer Removing the Packing Material What Is in the Box?Repacking the Printer Choosing a Location Setting Switches Owner’s Guide Attaching the Feet Connecting Cash Drawer Cables RS-232C Models Connecting Communication and Power CablesParallel Models Turning On the Printer Loading and Changing Paper When to Change the 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 Operator Panel Lights Solving ProblemsCorrecting Problems Service-Related ProblemsOperator-Correctable Conditions Contacting a Service Representative No Power to Printer or Power Voltages IncorrectPrint is Light or Spotty Level 0 Diagnostics DiagnosticsEerom Level 1 DiagnosticsSetting Data Error and Data Buffer options Setting Printhead Resistance Setting Default Lines per Inch Setting Partial Cut Distance Ignoring/Using the Carriage Return Enter the Data Scope Mode Running the Data Scope Mode1BH Exit the Data Scope ModeTesting Receipt Printing Level 3 Diagnostics Level 2 DiagnosticsSending Commands Communication OverviewInterfaces Using DOS to Send Commands Using Basic to Send CommandsRS-232C Interface DTR/DSR Protocol XON/XOFF ProtocolConnectors RS-232C Technical SpecificationsCash Drawer Connectors Switch Settings OFF Parallel Protocol Parallel InterfaceParallel Connectors Parallel Technical SpecificationsParallel Printers Parallel Switch Settings Command List CommandsPrinter Function Commands Owner’s Guide Print Characteristics Commands Printer Status Commands Graphics CommandsBar Code Commands Real Time CommandsCommand Descriptions Horizontal TabLine Feed Carriage Return Clear PrinterFeed n Print Lines Feed n Dot Rows Add n Extra Dot RowsPrint Set Column Full Knife CutPartial Knife Cut Generate ToneSet Absolute Starting Position Set Character Right-Side SpacingInitialize Printer Set Line Spacing to 1/6 InchSet Line Spacing to n Minimum Units Select PrinterPrint and Feed n Minimum Units Set Horizontal Tab PositionsSet Relative Starting Position Print and Feed n Lines Enable or Disable Panel SwitchAlign Character Positions Select Sensors to Stop PrintingRead 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 Select Pitch Column Width Set Print ModeDefine User-Defined Character Set Select Character SetSelect Character Code Table Copy Character Set from ROM to RAMSet or Cancel Upside-Down Characters Set or Cancel Rotated Characters ClockwiseSummary of Rotated Printing Set Bit Image Mode N1 + 256 x n2 N1 + 256 x n2 Number of Bytes of Data Double-Density Graphics Single-Density GraphicsDefine Downloaded Bit Image Print Downloaded Bit Image Transmit Cash Drawer Status Request Alternate Status Transmit Printer Status First Implementation Alternate Implementation Rules for Using Real Time CommandsMoving Data Through the Buffer Busy Line and Fault Conditions GS Sequence Real Time Status Transmission= Transmit Printer Status = Transmit RS-232C Busy Status = Transmit Receipt Paper Status Real Time Request to PrinterDLE Sequence Real Time Printer Status Transmission Clear Printer CommandRecognizing Data from the Printer Select Printing Position of HRI Characters Select Pitch of HRI CharactersSelect Height of Bar Code JAN8 EAN Print Bar CodeSelect Width of Bar Code Print Code 128 Bar CodeReliability Appendix a SpecificationsEnvironmental Conditions Power RequirementsPrinting Specifications Dimensions and WeightPrint Zones Duty Cycle Restrictions Printing Solid Blocks Density of Receipt Print LinesAppendix B Print Characteristics Appendix B Print Characteristics Owner’s Guide 110 May May Index Index112 Owner’s Guide Owner’s Guide 114 Owner’s Guide Owner’s Guide Axiohm IPB