M-S Cash Drawer 7193 manual Alternate Implementation, Rules for Using Real Time Commands

Page 91

Commands

7193 Owner’s Guide

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.

An application using these DLE (Hex 10) sequences must also send the second byte of the sequence within 100 milliseconds of the first, to prevent the first byte being mistaken for a Clear Printer command. This implementation is useful for an existing TM-T85™ or TM-U950™ application which is being migrated to a 7193. This application would not be using the 7193 Clear Printer command at all since it is not recognized by the Epson printers.

Note: The DLE (Hex 10) sequences as implemented on Epson’s TM-T85™ and TM-U950™ are not exactly the same as those implemented on Epson’s TM-950™.

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

Rules for Using Real Time Commands

Three situations must be understood when using Real Time commands.

1.First, the printer executes the Real Time command upon receiving it and will transmit status regardless of the condition of the DSR signal.

2.Second, the printer transmits status whenever it receives the Real Time status transmission command sequence, even if that sequence happens to occur within the data of another command, such as graphics data.

In this case the sequence will also be handled correctly as the graphics data it is intended to be, when the graphics command is executed from the buffer.

3.Care must be taken not to send a Real Time command within the data sequence of another command that consists of two or more bytes.

In this case the printer will use the Real Time command sequence bytes instead of the other command’s bytes when finally executing that other command from the buffer or the other command will not be executed correctly.

These three situations generally preclude use of standard DOS drivers for the serial communication ports when using Real Time commands.

88

May 1996

Image 91
Contents Owners Guide Information to User Quick Reference How to Obtain More Information How to Use This BookWho Should Use this Book? Contents Solving Problems Appendix B Print Characteristics 107 About the 7193 Printer Options FeaturesModels Communication InterfacesThermal Printhead Ordering Thermal Paper Ordering Paper and SuppliesRecommended Suppliers Kanzaki Specialty Papers Other Qualified SuppliersOrdering the Printer Wall-Mount Kit Ordering the Power Supply and CablesOrdering 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 ProblemsService-Related Problems Correcting ProblemsOperator-Correctable Conditions No Power to Printer or Power Voltages Incorrect Contacting a Service RepresentativePrint 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 DiagnosticsCommunication Overview Sending CommandsInterfaces Using Basic to Send Commands Using DOS 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 CommandsHorizontal Tab Command DescriptionsLine Feed Clear Printer Carriage ReturnFeed n Print Lines Add n Extra Dot Rows Feed n 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 PrintingGenerate Pulse to Open Cash Drawer Read from Non-Volatile MemoryWrite to Non-Volatile Memory Select Single-Wide Characters Select Double-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 Pitch of HRI Characters Select Printing Position 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