M-S Cash Drawer 7193 manual Print Code 128 Bar Code, Select Width of Bar Code

Page 103

Commands

7193 Owner’s Guide

Print Code 128 Bar Code

Selects and prints the Code 128 bar code.

This command is available only on RS-232C and Parallel printers.

Hex

Decimal

ASCII

Value of n

Value of dn

1D 6B

29 107

GS k

1-255

0-105

49 n dn 73 n dn

I n dn

 

 

Since the characters encoded via Code 128 include the NUL (Hex 00) character, a NUL cannot be used to terminate the Code 128 bar code sequence as is done with other bar code sequences. The number of characters to be encoded is variable and is specified by n.

Following n are the data bytes: dn. The printer processes n bytes from the next character data as bar code data.

The first data byte must be a Start code: d1 = 103-105.

Data bytes past the Start code: d2 = 0-102.

The printer provides the Stop code.

If character code d cannot be printed, the printer prints the processed bar code data up to that point and the following data is treated as normal data. If the horizontal size exceeds one line, the printer does not print the excess data.

This command is enabled only when no data is in the print buffer. When data is in the printer buffer, the printer processes the data following ‘GS k I’ as normal data.

Select Width of Bar Code

Sets the bar code width to n dots or n/152 inch (n/6 mm).

Hex

Decimal

ASCII

Value of n

Default

1D 77 n

29 119 n

GS w n

2, 3, 4

3

100

May 1996

Image 103
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 Command Recognizing 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