M-S Cash Drawer 7193 manual Printer Status Commands, Transmit Cash Drawer Status

Page 87

Commands

7193 Owner’s Guide

Printer Status Commands

For RS-232C printers, these commands enable the printer to communicate with the host system 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. 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 processing the data in its receive buffer.

Printers manufactured after mid 1996 include Real Time commands which are handled when the printer is busy at the RS-232C interface. See the following section, “Real Time Commands,” for details about these commands.

Transmit Cash Drawer Status

Transmits current status of the cash drawers. One byte is sent to the host system. This command is available only on RS-232 printers.

In DTR/DSR protocol the printer waits for DSR = SPACE. If a drawer is not connected, the status will indicate closed.

Hex

Decimal

ASCII

Bit

1 Signifies

0 Signifies

1B 75 0

27 117 0

ESC u 0

0

Drawer 1 Closed

Drawer 1 Open

 

 

 

1

Drawer 2 Closed

Drawer 2 Open

84

May 1996

Image 87
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