M-S Cash Drawer 7193 manual Set Character Right-Side Spacing, Set Absolute Starting Position

Page 70

7193 Owner’s Guide

Commands

Set Character Right-Side Spacing

This command is not implemented and is ignored if received.

Hex

Decimal

ASCII

1B 20 n

27 32 n

ESC (SPACE) n

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.

Hex

Decimal

ASCII

1B 24 n1 n2

27 36 n1 n2

ESC $ n1 n2

n = Number of dots to be moved from the beginning of the line

n1 = Remainder after dividing n by 256

n2 = Integer after dividing n by 256

The values for n1 and n2 are two bytes in low byte, high byte word orientation.

Determine the value of n by multiplying the column for the absolute starting position by 10 (standard pitch) or 8 (compressed pitch). The example shows how to calculate column 29 (10 dots per column) as the absolute starting position.

28 x 10 = 280 dots (beginning of column 29) 280/256 = 1, remainder of 24

n1 = 24

n2 = 1

Note: This command is also used in the graphics mode to emulate the Epson LQ- 950™ dot matrix printer. See “Graphics Commands” later in this chapter for more information.

May 1996

Image 70
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 Communication Interfaces FeaturesModels OptionsThermal Printhead Ordering Thermal Paper Ordering Paper and SuppliesRecommended Suppliers Other Qualified Suppliers Kanzaki Specialty PapersOrdering the Printer Wall-Mount Kit Ordering the Power Supply and CablesOrdering 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 LightsService-Related Problems Correcting ProblemsOperator-Correctable Conditions No Power to Printer or Power Voltages Incorrect Contacting a Service RepresentativePrint 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 DiagnosticsCommunication Overview Sending CommandsInterfaces Using Basic to Send Commands Using DOS 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 CommandsHorizontal Tab Command DescriptionsLine Feed Clear Printer Carriage ReturnFeed n Print Lines Add n Extra Dot Rows Feed n 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 LinesGenerate 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 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 Pitch of HRI Characters Select Printing Position 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