Paxar 9416 XL User Manual

Monarch
9416®XL
Printer
®
®
TC941XPM Rev. AE 1/08 ©2007 Paxar Americas, Inc. a subsidiary of Avery Dennison Corp. All rights reserved.
Each product and program carries a respective written warranty, the only warranty on which the customer can rely. Paxar reserves the right to make changes in the product, the programs, and their availability at any time and without notice. Although Paxar has made every effort to provide complete and accurate information in this manual, Paxar shall not be liable for any omissions or inaccuracies. Any update will be incorporated in a later edition of this manual.
©2007 Paxar Americas, Inc. a subsidiary of Avery Dennison Corp. All rights reserved. No part of this publication may be reproduced, transmitted, stored in a retrieval system, or translated into any language in any form by any means, without the prior written permission of Paxar Americas, Inc.
WARNING
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense.
CANADIAN D.O.C. WARNING
This digital apparatus does not exceed the Class A limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications.
Le présent appareil numérique n’émet pas de bruits radioélectriques dépassant les limites applicables aux appareils numériques de la classe A prescrites dans le Réglement sur le brouillage radioélectrique édicte par le ministère des Communications du Canada.
Trademarks
MONARCH® and 9416®, and XL® are trademarks of Paxar A mericas, Inc. Paxar® is a trademark of Paxar Corporation.
Avery Dennison® is a trademark of Avery Dennison Corporation.
Microsoft, Windows, NT, and MS-DOS are registered tradem arks of Microsoft Corporation in the United States and/or other countries. True Type is a registered trademark of Apple Computer, Inc. Hewlett-Packard is a registered trademark of Hewlett-Packard Company. CG Triumvirate and CG Triumvirate Bold are trademarks of AGFA Corporation. Adobe and Acrobat are trademarks of Adobe Systems Incorporated which may be registered in certain jurisdictions. Centronics is a registered trademark of Centronics Data Computer Corporation.
Avery Dennison Printer Systems Division. 170 Monarch Lane Miamisburg, Ohio 45342
Table of Contents
GETTING STARTED
About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Creating an MPCLII Format Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Starting with a Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Determining Format Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Determining the Print Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Drawing Rough Sketches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Using Supply Layout Grids. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Considering Field Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Considering Fonts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Interchanging Packets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Using the Format Worksheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
CONFIGURING THE PRINTER
Setting Communication Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Using Parallel Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Using MPCLII Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Using Online Configuration Packets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Filling in the Format Worksheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
MPCLII Punctuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Standard Syntax Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Configuration Syntax Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Table of Contents
i
Making Print Adjustments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Defining the System Setup Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Defining the Supply Setup Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Defining the Print Control Packet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Defining the Monetary Formatting Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
Defining the Control Characters Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Resetting Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Defining the Communication Settings Packet . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Using Immediate Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Enabling Immediate Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Sending Immediate Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Clearing Packets from Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Using the Font Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Uploading Format Header Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
DEFINING FIELDS
Defining the Format Header. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Defining Text Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Defining Bar Code Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Defining Constant Text Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
Defining Non-Printable Text Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
Defining Line Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
Defining Box Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Line Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
ii
Table of Contents
DEFINING FIELD OPTIONS
Applying Field Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Combining Field Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Option 1 (Fixed Data) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Option 4 (Copy Data) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Merging Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Sub-Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Option 30 (Padding Data) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Sample Use for Padding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Option 31 (Calculate Check Digit) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Option 50 (Bar Code Density) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Option 51 (PDF417 Security/Truncation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Option 52 (PDF417 Width/Length). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
Option 60 (Incrementing/Decrementing Fields) . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Fixing the First Number in the Incrementing Sequence . . . . . . . . . . 4-11
Using Check Digits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Sum of Products Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
Sum of Digits Calculation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
CREATING GRAPHICS
Overview of Bitmapped Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Determining a Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Designing Bitmapped Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Special Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Using the Hex Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
Using the Run Length Encoding Method. . . . . . . . . . . . . . . . . . . . . . . 5-6
Determining How to Store the Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Using RAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Using Temporary Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Table of Contents
iii
Creating a Graphic Packet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
Positioning the Graphic Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
Defining the Graphic Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Creating Bitmap Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13
Creating Next-Bitmap Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
Creating Duplicate Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15
Sample Hex Graphic Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
Sample Run Length Graphic Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17
Placing the Graphic in a Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19
Defining the Graphic Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19
Sample Bitmap Graphic Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20
PRINTING
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Downloading Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Defining the Batch Header. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Defining the Batch Control Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Defining Batch Data Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
Using Special Characters in Batch Data. . . . . . . . . . . . . . . . . . . . . . . 6-5
Merged or Sub-Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
Incrementing Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
Entering Batch Data for QR Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
Sample QR Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
Structured Append Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
Sample QR Code using a Structured Append . . . . . . . . . . . . . . . . . . 6-8
Downloading Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
Sequential Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
Batch Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
Batch Quantity Zero Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
Modifying Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
Optional Entry Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
iv
Table of Contents
STATUS POLLING
Inquiry Request (ENQ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
ENQ Reference Table - Byte #2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
ENQ Reference Table - Byte #3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
Job Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Inquiry Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
Job Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
Job Status 0, 1, 2 Response Table (Status 1 Codes) . . . . . . . . . . . . 7-13
Job Status 0, 1, 2 Response Table (Status 2 Codes) . . . . . . . . . . . . 7-14
TROUBLESHOOTING
Printing Test Labels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Using Data Dump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Resetting Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
If You Receive an Error Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
If the PC and Printer Aren’t Communicating . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
Calling Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
Additional Diagnostics Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
Data Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
Format Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
Batch Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
Option Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9
Online Configuration Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10
Check Digit Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12
Graphic Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13
Communication Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13
Data Formatting Failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-14
Machine Faults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-15
Hard Printer Failure Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Table of Contents
v
PRINTER OPTIMIZATION
Adjusting the Print Quality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
Reducing Imaging Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
General Format Tips and Hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
SAMPLES
FONTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Sample UPCA Format Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Sample MaxiCode Packets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Mode 0 (Obsolete) Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
Mode 2 Sample. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
Mode 3 Sample. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6
HangTag Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7
Tag Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7
Label Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8
Receipt Format Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8
Label Sample 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9
Label Sample 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9
Bitmap Font Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Monospaced Font Magnification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4
Proportional Font Magnification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-7
CG Triumvirate Bold (9 pt.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-7
CG Triumvirate (6 pt.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8
CG Triumvirate (7 pt.) 300 DPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-9
CG Triumvirate (9 pt.) 300 DPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-10
CG Triumvirate (11 pt.) 300 DPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-11
CG Triumvirate (15 pt.) 300 DPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-12
Licensing Your Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-13
Using Font Numbers in Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-13
Locating the Font Number in a Font Packet . . . . . . . . . . . . . . . . . . . . . . . . . . B-14
vi
Table of Contents
SYMBOL SETS/CODE PAGES
Supported Symbol Sets and Code Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Selecting a Symbol Set or Code Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2
Selecting the Internal Symbol Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2
Selecting the 437 or 850 Code Page. . . . . . . . . . . . . . . . . . . . . . . . . . C-2
Using Code 128 Function Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2
Entering Extended Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2
Internal Symbol Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
ANSI Symbol Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-4
Bold Character Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-5
OCRA Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-6
Code Page 437 (Latin U.S.). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-7
Code Page 850 (Latin 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-8
ASCII to Hexadecimal Conversion Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-9
Binary to Hex Conversion Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-12
Dot to Run Length Encoding Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-16
ON (Black) Dots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-16
OFF (White Dots). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
FORMAT DESIGN TOOLS
Online Configuration Worksheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-2
Batch Worksheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-3
Check Digit Worksheet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Table of Contents
vii
viii
Table of Contents
GETTING STARTED
This manual provides the necessary information to design, write and print a Monarch® Printer Control Language II (MPCLII) format on a Monarch® 9416 thermal direct or thermal transfer Printer. Before you read this manual, review the printer information in the Quick Reference or Equipment Manual.
1
About This Manual
You do not need to be a programmer to use this manual, but you must be familiar with creating text files and using basic MS-DOS® commands. This chapter describes how to
N
create and download a sample MPCLII packet.
N
use the Supply Layout Grid and Format Worksheet.
N
categorize data into field types and select fonts to use in your format.
See "Defining Text Fields" in Chapter 3 for a list of available fonts for your printer. See Chapter 4, "Defining Field Options," for a list of available options for your printer.
Getting Started
1-1
Before You Begin
Connect the printer to the host. Refer to the Equipment
1.
Manual for more information.
Load supplies in the printer. Refer to the Equipment Manual
2.
for more information.
Turn on the printer.
3.
Set the communication parameters and configure the printer.
4.
The communication parameters at the printer must match those at the host. See Chapter 2, "Configuring the Printer," for more information.
Design your format. See "Starting with a Design" for more
5.
information.
Download your format to the printer. See Chapter 6,
6.
"Printing," for more information.
Creating an MPCLII Format Packet
A format defines which fields appear and where the fields are printed on the label. The printer requires this information in a special form, using Monarch Printer Control Language II (MPCL). This section describes how to create a sample MPCLII format packet.
1-2
Getting Started
For detailed information about the format header, text, constant text, and bar code fields, see Chapter 3, "Defining Fields." For information about batch packets, see Chapter 6, "Printing."
Type the following format header, in any text editor:
1.
{F,25,A,R,M,508,508,"FMT-25" p
Type the following constant text field:
2.
C,325,80,0,1,2,1,W,C,0,0,"MONARCH MARKING",1 p
Type the following bar code field:
3.
B,1,12,F,185,115,1,2,120,5,L,0 p
Type the following text field:
4.
T,2,18,V,105,70,1,1,1,1,B,C,0,0,1 p }
For detailed information about the format header, text, constant text, and bar code fields, see Chapter 3, "Defining Fields." For information about batch packets, see Chapter 6, "Printing."
You have created a format packet for your MPCLII printer. Now, a batch packet must be created before you can print the format.
Type the following batch header, after the text field line:
5.
{B,25,N,1 p
Type the following bar code data:
6.
1,"12345678901" p
Type the following text field data:
7.
2,"DAYTON, OHIO" p }
Save your file as SAMPLE.FMT.
8.
Getting Started
1-3
Type MODE COM1:9600,N,8,1 at the
9.
DOS prompt if you are using serial communications. This sets the communication parameters at your host. These communication parameters must match those at your printer. See "Setting Communication Parameters," in Chapter 2 or your host’s documentation for more information.
Type COPY SAMPLE.FMT COM1. The
10.
following 2 inch by 2 inch label prints.
Starting with a Design
Before you create a format packet, you must design your label. There are several steps to designing a custom label:
Decide which fields should appear on your label. See
1.
"Determining Format Contents" for more information.
Determine your label size. Labels are available from Monarch
2.
in a wide variety of sizes. Your application and the amount of data you need to print determines the supply size. Contact your sales representative for more information.
1-4
Getting Started
Draw a rough sketch of your label. You may want to draw
3.
several variations to see what works best. See "Drawing Rough Sketches" for more information.
Identify the field types that appear on your label. See
4.
"Considering Field Types" for more information.
Decide which fonts you want to use. See "Considering Fonts"
5.
for more information.
Fill out your Format Worksheet. See "Using the Format
6.
Worksheet" for more information.
At this point, you are ready to use your format.
Create a format packet, based on how you filled out your
7.
worksheet. See Chapter 3, "Defining Fields," for more information.
Determining Format Contents
Before you lay out your format, you need to make a few decisions. For example, how large is your supply, which fonts do you want to use, do you want to include a bar code, and do you want to include graphics?
Determining the Print Area
The "bottom" is the edge that exits the printer first. The 0,0 point is at the bottom left corner of the label. The print area varies, depending on the size of your supply. Below are the maximum and minimum print areas.
Unit of
Measure
English
(1/100")
Metric
(1/10mm)
Dots
(1/203 dots)
Dots
(1/300 dots)
Minimum
Supply Size
25 X 75 425 x 1000 400 x 1000
63 X 191 1080 x 2540 1016 x 2540
51 X 152 864 x 2030 812 x 2030
75 X 225 1275 x 2700 1200 x 2700
Maximum
Supply Size
Maximum Print Area
The minimum label feed length for peel mode is 0.75 inches (19 mm). For exact print area measurements of your supply, see the supply layout grids in Appendix D. When designing formats, the following non-print zone is recommended: 0.04 inches at the top and bottom of the label.
Use the following formulas to convert inches to dots and metric:
Dots = inches x 203 or (x 300 for 300 dpi) Metric (1/10mm) = inches x 254 English (1/100 inch) = 100 x (dots/203) or (dots/300) Dots = Metric (1/10 mm) x (799/1000) or (1181/1000) 300 dpi depends on your printer.
Getting Started
1-5
Drawing Rough Sketches
After you decide what information you want to print, sketch how you want the information to appear on the label. Note any areas that are preprinted on the label, such as a logo.
As soon as you know what information to include on the label, and you have a rough sketch, you can use a supply layout grid to help you layout and size your label. If you do not want to use a grid, go to "Considering Field Types" to choose what information you want on your label.
Using Supply Layout Grids
A supply layout grid contains measurement markers. These markers help you accurately position information on your label. Decide whether you want to design formats using English, Metric, or Dot measurements. Choose from the following grids:
Supply Layout (dpi)
N
English
The English grid is measured in 1/100 inches.
N
Metric
The Metric grid is measured in 1/10 millimeters (mm).
N
Graphic
The printer uses dots to print images on a label. The printhead has 203 dots per inch (dpi) or 300 dots per inch.
Choose English or Metric units when designing formats to use with different printers. English or Metric units allow more direct use of formats on printers with different density printheads.
192 203
1536
1440
1344
1248
1152
1056
960
864
768
672
576
480
384
288
192
96
0.0
192 203
192
96
0.0
203
102
0.0
480 576
288
384
508
305
406
609
1624
1523
1421
1320
1218
1117
1015
672
768
806
711
812
853
914
812
711
609
508
406
305
203
102
0.0
1-6
Getting Started
If you want to use the supply layout grids, a copy of each is in Appendix D, "Format Design Tools."
Considering Field Types
After you select a supply size, the next step in designing a format is to decide what information you want to print on the label. For example, you may want to print your company name, price of an item, and a bar code that combines information from other places. Everything you want to print falls into one of the following categories.
Field Type Description Examples
Text Contains letters, numbers, or
symbols you want to print.
Bar Code Used for printing bar codes
that can be scanned.
Constant Text Prints fixed characters that
print without changing.
Line or Box Highlights or separates items. line marking out the regular
Graphic Contains a bitmap image or a
compliance label overlay.
item number, item description, department number, price, date
item or serial numbers, zip codes, information you don’t want to have visible to customers
company name, company address
price, border around the supply
logos
All of the above field types except graphics
are discussed in Chapter 3. See Chapter 5,
"Creating Graphics" for information on
including graphics in your format.
Getting Started
1-7
Considering Fonts
When working with fonts, you have three considerations: font appearance, font size (bitmapped), and font spacing (monospaced or proportional). See Appendix B, "Fonts," for samples of each font.
Interchanging Packets
You can use an MPCLII format that was designed for another MPCLII printer on a 9416 printer. The format may appear smaller (fields will be shorter), because most of the 9416 printers use a 203 dpi printhead. However, an optional 300 dpi printhead is available. If you use a 203 dpi format on a 300 dpi printer, it may appear almost 50 percent smaller.
Using the Format Worksheet
The Format Worksheet is divided into sections that list the field types. Each section has boxes to fill in with parameters that define your format. A format worksheet is included in Appendix D, "Format Design Tools."
Filling in the Format Worksheet
1-8
Getting Started
Decide what type of field to use on your label.
Make a copy of the Format Worksheet.
1.
Define the Format Header.
2.
Define options as you require them. See Chapter 4, "Defining
3.
Field Options" for more information.
CONFIGURING THE PRINTER
This chapter discusses how to
N
set communication parameters.
N
upload the printer’s configuration or font information.
N
configure the printer using online configuration packets.
N
use immediate commands to control the printer’s operation at any time.
2
Configuring the Printer
2-1
Setting Communication Parameters
Use the following information if you are connecting to the printer’s 9-pin serial port.
The communication parameters at the printer must match those at the host, or you will not be able to communicate.
You can use the communication settings packet to set communication parameters for your printer.
On MS-DOS computers, you can use the MODE command to set communication values on your PC.
For example
MODE COM1:9600,N,8,1
This command sets your host to these communication values:
N
a baud rate of 9600
N
no parity
N
8 bit word length
N
1 stop bit
Using Parallel Communications
If your printer supports parallel communications, the parallel port is Centronics® mode. The communication settings are automatically configured for you. There are no operator settings required.
We recommend waiting at least two seconds (or longer) when switching between the serial and parallel ports to send data, because data may be lost. Be careful when using print spoolers, because data transmission occurs in the background of the operating system. This makes data transmission completion difficult to determine when switching between ports.
2-2
Configuring the Printer
Using MPCLII Conventions
Here are some guidelines to follow when using MPCLII.
MPCLII Punctuation
Use the following symbols when creating MPCLII packets:
{ start of header
} end of header
p field separator
, parameter separator
"ABC" Quotation marks enclose character strings.
Empty quotes ("") identify null strings or unused fields.
‘comment‘ Grave accents enclose comments. Any data
enclosed in grave accents is ignored. Do not embed comments within a quoted string. Grave accents are also used to reject mainframe data.
These MPCL characters are the default.
Configuring the Printer
2-3
Standard Syntax Guidelines
When creating MPCLII packets:
N
Begin each packet with a start of header ({).
N
End each packet with an end of header (}).
N
Define no more than 1000 fields in a format. Each p indicates one field. However, options are not counted as fields.
N
The field number (0 - 999) must be unique. Monarch recommends starting at 1, instead of 0.
N
Do not use a field number more than once per format.
N
Define all fields in the order you want to image/print them.
N
Separate all parameters with a Parameter Separator (,).
N
End each field with a Field Separator ( p ).
N
Enter all information in CAPITAL letters, except words or phrases within quotation marks.
N
Include all parameters for a field unless documented as optional.
N
Define non-printable text fields before the field to which they apply.
N
Define options immediately after the field to which they apply.
N
Multiple options can be used with most fields. Options can be used in any combination except as noted with each definition.
N
Keep in mind that proportionally spaced fonts need wider fields than monospaced fonts. For variable field data, use a letter "W" to determine the maximum field size.
N
Do not place a new line (return) or any other non-printing character in a character string. However, a carriage return or line break after each p makes your formats easier to read. T,1,20,V,30,30,1,1,1,1,B,C,0,0,0 p T,2,10,V,50,30,1,1,1,1,B,C,0,0,0 p
N
Spaces are ignored, except within character strings.
2-4
Configuring the Printer
Using Online Configuration Packets
Use online configuration packets to change the printer settings. You must send the online configuration packets one at a time, supplying all parameters for each packet. Leave the parameters blank that you do not need to change. For example,
,A,,,,1 p } prints a slashed zero and uses the last sent online
{ I System Setup parameters.
Make a copy of the online configuration worksheet in Appendix D, "Format Design Tools," and save the original. Packets A - F are listed on the worksheet.
When you turn off the printer, all the information in the online configuration packets is saved and used when the printer is turned back on. After you change printer configurations, you must resend the format, batch, or graphic to the printer before the changes take effect.
Always include an I before the packet identifier (A, B, C, etc.). The I identifies the data stream as a configuration packet.
Include the I parameter with each packet if
you are sending them individually. Include it
only at the beginning of a data stream if you
This is the syntax to use when you create online configuration packets:
, immediately after the left bracket { and
parameter
are sending multiple packets.
Configuring the Printer
2-5
Syntax
{
I
, 1 - 8 optional records A, parameter 1...parameter 5 p B, parameter 1...parameter 5 p C, parameter 1...parameter 5 p D, parameter 1...parameter 3 p E, parameter 1...parameter 9 p F, parameter 1...parameter 5 p }
Start of Header Configuration Header
System Setup Supply Setup Print Control Monetary Formatting Control Characters Communication Settings End of Header
Syntax for single packet
{
I
, A, parameter 1...parameter 5 }
Start of Header Configuration Packet Identifier System Setup End of Header
You can also add a configuration to non-volatile RAM or specify units for supply, print, margin, and cut positions. If you use the optional parameters with the
packet, any online configuration
I
packets following the split vertical bar ( p ) must specify distances using the selected units. However, the diagnostic labels display the units in dots, even if you entered them in English or Metrics units.
Syntax
{I, p }
Example
Adds a configuration to non-volatile RAM and specifies English units. It also uses the default contrast, moves print 0.25 inches closer to the bottom of the supply and does not change the margin adjustment, prints at the default print speed, and uses the default printhead width.
Example
Uploads the printer configuration from nonvolatile RAM and returns the following to the host.
2-6
Configuring the Printer
{I, p C,0,25,0,0,0 p }
{I,0,U,N p }
A,0,0,0,0,1 p B,2,0,0,0,0 p
C,0,0,0,0,0,0 p D,1,0,2 p E,"~123~044~034~124~125~126","","~013~010" p F,3,1,0,0,1 p
The parameters for each packet (A - F) are displayed. See each packet description later in this chapter for more information.
Configuration Syntax Guidelines
When creating a printer configuration packet:
N
Follow the "Standard Syntax Guidelines" listed at the beginning of this chapter.
N
Begin a packet with the configuration header (I).
N
Download multiple configuration packets within one packet or download a single configuration packet.
N
Include the first five ANSI codes, at a minimum, in the control characters packet.
N
If you change any of the online configuration packets, resend the format packet to the printer, so the configuration changes take effect.
N
Make sure the communication settings at the host match those at the printer.
Making Print Adjustments
You can adjust where the printer prints on your supply by adjusting the supply, print, or margin positions. However, keep in mind the following:
N
Supply adjustments across the width of your supply, such as the margin position, are based in dots. The 9416 printhead can be 203 or 300 dots per inch.
N
Supply adjustments for the length of your supply, such as supply position or print adjustment, are measured in 1/203 of an inch, regardless of your printhead density.
Configuring the Printer
2-7
Defining the System Setup Packet
Use the system setup packet (A) to select the power up mode, display language, print separators between batches, print a "slashed zero," and select the symbol set.
Syntax
A1. A System Setup Packet
A2. powup_mode Online Mode. Enter 0.
A3. language Display Language. Enter 0 (for English).
A4. sep_on Batch Separators. Enter 0 (for no batch separators).
A5. slash_zero Slash Zero. Options:
A6. symbol_set Symbol Set. Options:
Example
{I,A,powup_mode,language,sep_on,slash_zero, symbol_set p}
0 Print a standard zero (default) 1 Print a zero with a slash through it
0 Internal (default) 1 ANSI 2 Code Page 437 (Latin U.S.) 3 Code Page 850 (Latin 1)
NOTE: See Appendix C for more information.
{I,A,0,0,0,1,0 p }
Powers up the printer in the online mode, displays prompts in English, does not print a separator after each batch, prints zeros with slashes through them, and uses the internal symbol set.
2-8
Configuring the Printer
Defining the Supply Setup Packet
Use the supply setup packet (B) to select supply type, ribbon, feed mode, supply position, and cut position.
Syntax
{I,B,supply_type,ribbon_on,feed_mode, supply_posn p}
B1. B Supply Setup Packet
B2. supply_type Supply Type. Options:
B3. ribbon_on Ribbon. The printer automatically senses if a ribbon is
B4. feed_mode Feed Mode. Options:
B5. supply_posn -300 - 300 in 1/203 inch. 0 is the default. Adjusts the
0 Black mark supply 1 Die Cut supply (default) 2 Non-indexed supply
NOTE: You may need to adjust the print contrast (in the Print
Control packet), based on your type of supply.
installed and switches to thermal transfer mode. Options:
0 Ribbon not installed (thermal direct) 1 Ribbon installed (thermal transfer)
NOTE: If "ribbon installed" is sent to the printer, but no
ribbon is installed, an error occurs. If "ribbon not installed" is sent to the printer, but a ribbon is installed, no error occurs.
0 Continuous operation (default) 1 On-demand mode
machine to print at the vertical 0,0 point on the supply. This adjustment accounts for mechanical tolerances. The supply position adjustment only needs to be made on the initial machine setup. Increase the supply position to move print up, decrease to move print down on the label. You can not change the supply position while the printer is active. Changing the supply position affects the print position. Once the supply position is set, use the print control packet to adjust the print position.
Example
{I,B,0,0,1,10 p }
Indicates black mark and thermal direct stock has been loaded, causes the printer to operate in on-demand mode, and feeds the supply approximately .05 inches up before printing the format on each label (10/203 inches).
Configuring the Printer
2-9
Defining the Print Control Packet
Use the print control packet (C) to set the contrast, print, and margin adjustment, print speed, and printhead width.
Syntax
{I,C,contrast,print_adj,margin_adjust, speed_adj,ph_width p }
C1. C Print Control Packet
C2. contrast -390 - 156. 0 is the default. You may need to adjust this
C3. print_adj -99 - 99 in 1/203 inch. 0 is the default. Adjusts where data
C4. margin_adj -99 - 99 in 1/203 inch. 0 is the default. Adjusts where data
C5. speed_adj Print Speed. The only valid settings for 300 dpi are 20 and
value depending on the type of supplies you are using. To make the print darker, use increments of 13 (for example, 0, 13, 26, 39, 52, etc.). To make the print lighter, use increments of -129 (for example, -129, -258, or -387). You need to use these incremental values to see a difference in the print contrast. For example, values 1 to 13 produce the same result. This is true for values -1 to -130.
prints vertically on the supply. Increase the print position to move print up, decrease to move print down.
prints horizontally on the supply. Increase the margin position to move print to the right, decrease to move print to the left. Margin and print position are format adjustments. They will not affect the supply position, dispense position, or backfeed distance.
30. Options:
0 This is the default and the printer prints at 3.0 ips. 20 Uses a print speed of 2.0 ips 30 Uses a print speed of 3.0 ips. 40 Uses a print speed of 4.0 ips (not for 300 dpi) 50 Uses a print speed of 5.0 ips. (not for 300 dpi)
C6. ph_width Width of the printhead in dots. Use 0.
Example
Uses the default contrast, moves print 0.1 inch closer to the bottom of the supply (20/203 inches) and .05 inch to the left on the supply (10/203 inches), the printer prints at the default speed of 3.0 ips, and uses the default printhead width.
2-10
Configuring the Printer
{I,C,0,-20,-10,0,0 p }
Defining the Monetary Formatting Packet
The monetary formatting packet (D) selects the monetary symbols to print for a price field. Use the monetary formatting packet to select primary and secondary monetary symbols, and designate the number of digits to appear at the right of a decimal.
Syntax
D1. D Monetary Formatting Packet
D2. cur_sym Currency Symbol. Options:
D3. secondary Secondary Sign. Options:
{I,D,cur_sym,secondary,decimals p }
0 No symbol 1 USA ($, Dollar- default) 2 UK (£, Pound) 3 Japan (¥, Yen) 4 Germany (1, Deutsche Mark) 5 France (F, Franc) 6 Spain (P, Peseta) 7 Italy (L., Lira) 8 Sweden (Kr, Krona) 9 Finland (2, Markka) 10 Austria (6, Shilling) 11 India (Rs, Rupee) 12 Russian (3, Ruble) 13 Korean (4 , Won) 14 Thai (5, Baht) 15 Chinese (¥, Yuan) 16 Euro-Dollar (c)
NOTE: To use these symbols, select the internal symbol set.
0 No secondary sign (default) 1 Print secondary sign
NOTE: Secondary symbols only print if you designate at
least one decimal place.
Configuring the Printer
2-11
D4. decimals Number of digits to the right of the decimal. Options:
0 No digits 1 One digit 2 Two digits (default) 3 Three digits
Example
{I,D,1,1,2 p }
Prints the dollar sign, uses a secondary symbol, and places two digits to the right of the decimal.
Defining the Control Characters Packet
Use the control characters packet (E) to change the MPCLII control characters, enable and disable the immediate commands, and change the default terminator character for job requests and ENQ’s.
Changes take effect with the first character following the end of header character } of the configuration packet. Each control character must be unique and cannot appear anywhere else in your packet, except within quotation marks. You can customize the trailer characters to work with your host.
Wait two seconds for the new characters to
take effect before sending packets using the
new characters.
Use the following syntax for the control characters packet. Notice all but the first parameter are within quotation marks.
2-12
Configuring the Printer
Syntax
E1. E Control Characters Packet
{I,E,"ANSI_cd","string1","string2" p }*
E2. "ANSI_cd" ~123 Start of header { (left bracket)
E3. "string 1" Terminator for status requests and ENQ requests. Up to any 3
E4. "string 2" Terminator for job requests and data uploads. Up to any 3
~044 Parameter , (comma)
separator
~034 Quoted strings " (quotes) ~124 Field separator p (pipe sign) ~125 End of header } (right bracket) ~126 Data escape ~~ (double tilde)
character (optional)
def. ch. Immediate command character (optional).
Up to any 3 characters in the 0 - 255 decimal range. The character must be defined before this command can be used. The caret (~094) is normally used.
NOTE: "ANSI_cd" includes seven separate parameters. The
first five parameters are required. The other parameters are optional.
characters in the 0 to 255 decimal range. The default is "013". Sending "" disables this sequence.
characters in the 0 to 255 decimal range. The default is none. Sending "" disables this sequence.
After you change these parameters, all packets, including any future configuration packets, must use the new control characters. We recommend using the tilde and ASCII character code sequence when sending this packet multiple times. Also, set the packet delimiters to characters within the 21 hex to 7E hex range.
You must send the control characters packet to enable the immediate commands. An immediate command will execute immediately, even if it is embedded within quotation marks, and all data following the command in the string will be ignored.
Configuring the Printer
2-13
Example
Changes the parameter separator character from , to ?. The other control characters remain unchanged. It also enables the immediate commands by defining the ^ symbol as the command identifier.
{I,E,"~123~063~034~124~125~126~094" p }
Resetting Control Characters
You can change the characters in the previous example back to their original settings by downloading this packet:
{I?E?"~123~044~034~124~125~126~094" p }
Notice that the parameter separator is ? in this packet. This is the parameter separator that was set before this packet. Once the packet is received by the printer, the new parameter separator (a comma, in this case) is valid.
Be careful when using this feature. If you forget what the control characters were changed to, print the diagnostic labels. (The labels list the current control characters.) See "Printing a Test Label," in Chapter 8 for more information.
Defining the Communication Settings Packet
Use the communication settings packet (F) to set the baud rate, word length, stop bits, parity, and flow control for serial communications. To set parallel communications, see "Using Parallel Communications."
Changing the communication settings takes approximately two seconds. Communications sent during this interval will be lost. Make sure the host communication values match the values on the printer and the host is capable of communicating at the speed you select for the printer.
Do not add any characters, such as a carriage return/line feed, in your communication settings packet or communications errors may occur.
2-14
Configuring the Printer
Syntax
{I,F,baud,word_length,stop_bits,parity, flow_control p }
F1. F Communication Settings Packet
F2. baud Baud Rate. Options:
0 1200 3 9600 (default) 1 2400 4 19200 2 4800 5 38400
F3. word_length Word Length. Options:
F4. stop_bits Stop Bits. Options:
F5. parity Parity. Options:
F6. flow_control Flow Control. Options:
Example
0 7-bit word length (odd or even parity only) 1 8-bit word length (default)
0 1-stop bit (default) 1 2-stop bits
0 None (default) 1 ODD parity 2 EVEN parity
0 None 2 RTS/CTS 1 DTR (default) 3 XON/XOFF
NOTE: If you use the DOS COPY command to download
your formats, set "Flow Control" to DTR (not XON/XOFF).
{I,F,3,1,0,0,1 p }
Uses 9600 baud, an 8-bit word length, one stop bit, no parity, and the DTR mode.
Configuring the Printer
2-15
Using Immediate Commands
Immediate commands affect printer operation as soon as the printer receives them, even if they are included within a packet or used inside quotation marks.
You can use immediate commands to change immediate command or status polling control characters, reset the printer, or cancel and repeat batches.
Enabling Immediate Commands
When the printer is first turned on, these commands are not available. To use these commands, you must first send the control characters packet and define the immediate command control character. The immediate command control character is saved in non-volatile RAM and therefore not lost after you turn off the printer. Once the immediate command control character is defined, the immediate commands are enabled.
Sending Immediate Commands
Immediate commands consist of a three- or four-character sequence you can send in a packet or embed in your application. Each command must be sent separately.
Syntax
The printer can accept only one immediate command at a time. Sending a command before the previous one is completed can result in an error.
Example
Immediately cancels the batch currently printing. This example assumes that the defined immediate command control character is the caret (^).
2-16
Configuring the Printer
control character_immediate command
^CB
Command Parameter
^CA
^CB
^DD or
^DCd
^EA
^ER
^FD
^ID or ^ICd
^MC
^MD
^MI
^MM
^MP
^MR
^MV
^PR
^RB
^RS
^TP
Cancels all the batches or cancels the last batch in the queue. Cancels only the current batch being printed. Disables the MPCL data escape character (the tilde) and inhibits MPCL
from acting on ANY data escape sequence from the host. Sets the MPCL data escape character to the ASCII value given by the d parameter. The value can be any ASCII character.
Aborts an error condition. May need to be sent multiple times. Use ^RB to reprint batch. CAUTION: Command causes the current batch to stop and the
condition that caused the error to remain uncorrected.
Resets the error. Normal operation will resume. Feeds a label when printer is idle. Simulates the operation of pressing
FEED and dispenses the next label if printer is in the on-demand mode (purchase optional). NOTE: Printer ignores this command if printing.
Disables the Immediate Command feature by turning off the Immediate Command escape character. Sets the Immediate Command escape character to the ASCII value given by the d parameter. The value can be any ASCII character.
Returns the customer ID or RPQ version to the host. (00 - 99) Returns the printhead dot density to the host. 00 = 203 dpi 01 = 300 dpi Returns the customer ID or RPQ revision level to the host. (00 - 99) Returns the model number to the host. 41 = 9416 Returns the prototype number to the host. (00 - 99) Returns the revision number to the host. (00 - 99) Returns the version number to the host. (00 - 99) Resets the printer. This command takes five seconds to complete and then
the printer is ready to receive data. It has the same effect as turning off and then turning on the printer. NOTE: Command should be used only when the printer is not printing.
Repeats the last printed batch, printing the same number of labels as specified in the original batch. This command does not work if using batch separators. NOTE: Printer ignores this command if printing.
Resynchronizes supply when supply roll is changed. NOTE: Printer ignores this command if printing.
Prints a diagnostic (test) label. NOTE: Printer ignores this command if printing.
Configuring the Printer
2-17
The table represents the defined immediate command control character as ^ and the defined status polling control character as d. You may define these characters to suit your needs.
To use the immediate command control
character or the status polling character
within your data, use the tilde sequence.
Clearing Packets from Memory
You may want to remove packets from the printer to increase memory storage capacity or if the formats/fonts are no longer needed. In some cases, turning the printer off may clear the packets from memory. If not, send a format clear packet.
Syntax
1. header Identifies the packet. Options:
2. packet# Identification number of the packet to clear (1 - 999) or font
3. action Enter C to clear the packet.
4. device Storage device. Use R (Volatile RAM)
Example
{header,packet#,action,device p }
A Check Digit Scheme F Format G Graphic W Font
number (0 - 9999). 0 is for all fonts.
{F,1,C,R p }
Clears Format #1 from volatile RAM.
2-18
Configuring the Printer
Using the Font Packet
You can use a font packet to add or clear downloaded fonts from memory, upload your font buffer, font data, or the cell size information for a particular font. The font packet is useful when you are downloading fonts. If you are using downloaded fonts, the font number and the number of bytes each downloaded font uses is listed.
This packet does not list the number of bytes the standard printer fonts use.
Syntax
{W,font#,action,device,data_length,data_rec ord p }
W1. W Writable Font Header.
W2. font# The font identifier from 0 - 32000. Use 0 to specify all fonts.
W3. action Action. Options:
A Adds the specified font. C Clears all or specified fonts, except ones in ROM. H Uploads font size information. M Uploads font memory usage information.
W4. device Device. Options:
R Volatile RAM Z All devices (use for upload).
W5. data_length (optional)
The length of the font data. The range is 68 - 16384.
If you are creating fonts, you need to have font data included with this packet.
W6. data_ record (optional)
Multiple data records define the font. The first character is either an H (hex) or an R (run-length), referring to the algorithm. The rest of the record is up to 2710 characters of font data in double quotes. Separate the algorthm and the data with a comma, and end the record with p .
Configuring the Printer
2-19
Example
{W,0,M,R p }
Selects all fonts and checks the memory usage in RAM. The printer returns the following to the host:
{W,0,M,R p Number of bytes free, Number of bytes used p }
Example
{W,0,H,Z p }
Selects all fonts and uploads the font size information for any downloaded fonts.
The printer returns the following to the host:
{W,0,H,Z p 0,1,0,"Standard",0,0,0,21,33,21,33,5,1 p 0,1,437,"Standard",0,0,0,21,33,21,33,5,1 p 0,2,0,"Reduced",0,0,0,10,21,10,21,2,1 p 0,2,437,"Reduced",0,0,0,10,21,10,21,2,1 p 0,3,0,"Bold",0,0,0,36,51,36,51,5,1 p 0,3,437,"Bold",0,0,0,36,51,36,51,5,1 p 0,4,0,"OCRA",0,0,0,19,36,19,36,5,1 p 0,4,437,"OCRA",0,0,0,19,36,19,36,5,1 p 0,5,0,"HR1",0,0,0,18,30,18,30,3,1 p 0,5,437,"HR1",0,0,0,18,30,18,30,3,1 p 0,6,0,"HR2",0,0,0,26,24,26,24,2,1 p 0,6,437,"HR2",0,0,0,26,24,26,24,2,1 p 0,10,0,"CGTriBd9",1,0,7,25,31,10,15,0 p 0,10,1,"CGTriBd9",1,0,7,25,31,10,15,0 p 0,10,437,"CGTriBd9",1,0,7,25,31,10,15,0 p 0,10,850,"CGTriBd9",1,0,7,25,31,10,15,0 p 0,11,0,"CGTriumv6",1,0,5,17,21,5,10,0 p 0,11,1,"CGTriumv6",1,0,5,17,21,5,10,0 p 0,11,437,"CGTriumv6",1,0,5,17,21,5,10,0 p 0,11,850,"CGTriumv6",1,0,5,17,21,5,10,0 p 0,15,0,"CGTriumv7",1,0,7,21,28,9,14,0 p 0,15,1,"CGTriumv7",1,0,7,21,28,9,14,0 p 0,15,437,"CGTriumv7",1,0,7,22,28,9,14,0 p 0,15,850,"CGTriumv7",1,0,7,22,28,9,14,0 p 0,16,0,"CGTriumv9",1,0,8,28,35,12,18,0 p 0,16,1,"CGTriumv9",1,0,8,28,35,12,18,0 p 0,16,437,"CGTriumv9",1,0,8,29,35,12,18,0 p 0,16,850,"CGTriumv9",1,0,8,29,35,12,18,0 p 0,17,0,"CGTriumv11",1,0,9,31,40,13,22,0 p 0,17,1,"CGTriumv11",1,0,9,31,40,13,22,0 p
Font Style
Font Name
Spacing
Baseline
Cell Width
Cell Height
Inter-Character Gap Nominal Width
Nominal Height
Ty p e
Symbol Set
2-20
Configuring the Printer
0,17,437,"CGTriumv11",1,0,9,33,40,13,22,0 p 0,17,850,"CGTriumv11",1,0,9,33,40,13,22,0 p 0,18,0,"CGTriumv15",1,0,13,47,59,20,31,0 p 0,18,1,"CGTriumv15",1,0,13,47,59,20,31,0 p 0,18,437,"CGTriumv15",1,0,13,49,59,20,31,0 p 0,18,850,"CGTriumv15",1,0,13,49,59,20,31,0 p }
Spacing Monospaced (0) or proportional (1).
Ty p e Bitmapped (0) or scalable (1).
Baseline Bottom of the font.
Cell Width Horizontal number of dots for the widest char.
Cell Height Vertical number of dots for the tallest char.
Nominal Width Average width for lower-case letters.
Nominal Height Average height for lower-case letters.
Inter-Character Gap
Default spacing between characters in monospaced fonts.
Printhead Density Displays what printhead density is used.
Uploading Format Header Information
You can upload format header information from the formats in memory to check the supply length and width for each format.
Syntax
F1. header Format Header
F2. format# Format number from 0 - 999. 0 is for all formats in memory.
F3. action Action. Options:
F4. device Device. Options:
{header,format#,action,device p }
A Adds the specified format C Clears the specified format H Uploads format header information
R Volatile RAM Z All devices (use for upload)
Configuring the Printer
2-21
Example
{F,0,H,Z p }
Selects all formats in memory and returns the following:
Example
{F,0,H,Z p Fmt_1,406,406 p Fmt_10,324,406 p Fmt_15,812,812 p Fmt_20,305,609 p Fmt_25,1218,406 p }
Displays the format number, supply length, supply width (in dots) for each format in memory.
Example
{F,1,H,Z p }
Selects format1 and returns the following to the host:
{F,1,H,Z p Fmt_1,406,406 p }
Displays the supply length and supply width (in dots) for format1.
2-22
Configuring the Printer
DEFINING FIELDS
This chapter provides a reference for defining
N
the format header
N
text and constant text
N
bar code fields
N
line and box fields.
3
Defining Fields
3-1
Defining the Format Header
A Format Header begins a format file.
Syntax
{F,format#,action,device,measure,length, width,"name" p
F1. F Format Header.
F2. format# Unique number from 0 -
F3. action Action. Enter A to add the format to the printer.
F4. device Format storage device. Use R (Volatile RAM).
F5. measure Unit of measure. Options:
English, measured in 1/100 inches
E
Metric, measured in 1/10 mm
M
Graphic, measured in dots
G
F6. length Supply length, top to bottom, in selected units.
English Metric 203 Dots 300 Dots In peel mode, the minimum label length is 0.75 inches (19 mm). For 300 dpi, the maximum label length is 9.0 inches (229 mm). Make sure your format length matches the actual label size exactly for correct printer performance. This is especially true for shorter feed length supply and formats. If an error occurs, recalibrate the supplies in the printer. See your Quick Reference for more information.
25 63 51 75
-
-
-
-
1000 2540 2030 2700
to identify the format.
999
Defining Fields
3-2
F7. width Supply width, from left to right, in selected units.
English Metric 203 Dots 300 Dots
F8. "name" Format name (optional), 0 - 8 characters, enclose within
Example
quotation marks.
{F,1,A,R,E,300,100,"TEXTILES" p
75 191 152 225
-
-
-
-
400
1016 812 1200
Format 1 ("TEXTILES") uses a three inch long by one inch wide label.
Defining Text Fields
Create a separate definition for each text field. If text falls on two lines, each line of text requires a separate definition.
Syntax
T,field#,# of char,fix/var,row,column, gap,font,hgt mag,wid mag,color,alignment, char rot,field rot,sym set
p
T1. T Text Field.
T2. field# Unique number from 0 -
T3. # of char Maximum number of printed characters (0 -
to identify this field.
999
) in the field.
2710
T4. fix/var Fixed or variable length field. Options:
Fixed length
F
Variable length
V
T5. row For monospaced fonts, distance from bottom of print area to
the pivot point. The pivot point varies depending on how text is justified.
0 (TOP)
3 (RIGHT)
2 (BOTTOM)
1 (LEFT)
End-Justified
1 (LEFT)
0 (TOP)
2 (BOTTOM)
3 (RIGHT)
Left/Center/Right-Justified
2 (BOTTOM)
0 (TOP)
3 (RIGHT)
1 (LEFT)
Balanced
For proportionally spaced fonts, distance from bottom of print area to baseline of characters in field.
English Metric 203 Dots0 ­300 Dots0 -
-
0
999
-
0
2539 2029 2699
Defining Fields
3-3
T6. column Distance from the left edge of the print
area to the pivot point to find the column location.
English Metric 203 Dots0 ­300 Dots0 -
T7. gap Number of dots between characters (203 dots per inch).
Range: 0 - 99.
NOTE:
Any number other than 0 or the default number affects your field width. Default spacing:
Standard Reduced Bold OCRA-like HR1 HR2
HR1 and HR2 are only used with the UPC bar code family and must be numeric.
T8. font Style of font. Options:
-
0
399
-
0
1015 811 1199
For monospaced fonts, the additional spacing is added to the existing inter-character gap. This is also true for proportionally spaced fonts, but remember that the inter-character gap varies with character combinations.
3 dots 1 dot 3 dots 3 dots 3 dots 2 dots
3-4
Defining Fields
Standard
1
Reduced
2
Bold
3
OCRA-like
4
HR1
5
HR2
6
Fonts 5 and 6 are for numeric data only.
Fonts 15 through 18 are only for 300 dpi
T9. hgt mag Height magnifier, 1 7 (times- for bitmapped fonts).
T10. wid mag Width magnifier, 1 - 7 (times). Proportionally spaced fonts do
not have a set width. To estimate the size of your field, use the letter "W" for the widest field or an "L" for an average width field. Find your selected font and the desired width in Appendix B, "Fonts."
CG Triumvirate Bold
10
CG Triumvirate
11
7 pt. CG Triumvirate
15
9 pt. CG Triumvirate
16
11 pt. CG Triumvirate
17
15 pt. CG Triumvirate
18
.
T11. color Options for standard printer fonts:
B D/R/W O
There are two types of field color overlay attributes:
Opaque, Normal, Black, Normal Opaque, Normal, White, Normal Transparent, Normal, Black, Normal
Transparent The overlay field (text or constant text) does
Opaque The overlay field blocks out (or "erases")
Line field blocked out by opaque field using attribute B
Field placement in the packet is an important consideration when using field color attributes. If a line field is defined before the overlay (text or constant text) field, the line field is blocked out by the overlay field, depending on the overlay field’s color attribute. If a line field is defined after the overlay field, the line field is not blocked out by the overlay field, regardless of the overlay field’s color attribute.
T12. alignment Options:
Align on left side of field.
L
Center text within field (monospaced fonts only)
C
Align on right side of field (monospaced fonts only)
R
Align at midpoint of field
B
Align at endpoint of the field
E
not block out (or "erase") existing fields.
existing fields.
Line field not blocked out by transparent field using attribute O
Use L, B, or E for any font.
Defining Fields
3-5
T13. char rot Character rotation. The field or supply does not rotate, only
the characters do. Options:
Top of character points to top of field
0
Top of character points to left of field
1
Top of character points to bottom of field
2
Top of character points to right of field
3
T14. field rot Field rotation. Field rotation rotates the whole field, not just
T15. sym set Symbol set. Options:
Example
the characters. Rotation is affected by the pivot point, which varies depending on how text is justified. Lower left corner of field is the pivot point. Options:
Top of field points to top of supply
0
Top of field points to left of supply
1
Top of field points to bottom of supply
2
Top of field points to right of supply
3
Internal Symbol Set.
0
ANSI Symbol Set
1
DOS Code Page 437 (Domestic)
437
DOS Code Page 850 (International)
850
See Appendix C, "Symbol Sets/ Code Pages" for more information.
T,2,10,V,250,80,0,1,1,1,B,C,0,0,0 p
Defines a text field (field #2) with a variable length of up to 10 characters. The field begins at row 250, column 80. There is no additional gap between characters, and the Standard font is used without any additional magnification. The printing is black on white and centered. No field or character rotation is used. The internal symbol set is used.
3-6
Defining Fields
Defining Bar Code Fields
Each bar code field requires a separate definition.
Syntax
B,field#,# of char,fix/var,row,column, font,density,height,text,alignment, field rot p
B1. B Bar Code Field.
B2. field# Unique number from 0 -
B3. # of char Maximum number of characters. If the bar code uses a check
digit, allow an extra character for the check digit. The actual maximum number of characters is limited by the size of the label and bar code density. Range: 0 -
For Quick Response bar codes, this number includes header information. The maximum depends on the type of characters entered for the batch data and differs for the two models of the bar code.
Data Type Model 1 Model 2
Numeric Data 1167 2710 Alphanumeric data 707 2710 8-byte data 486 2710 Kanji data 299 1817
NOTE:
The maximum number of characters depends on the selected level of error correction. As you increase the error correction level, the maximum number of characters decreases.
to identify this field.
999
2710
.
Defining Fields
3-7
B4. fix/var Fixed (F) or variable (V) length field.
Bar Code Number of Characters Fixed or
UPCA
UPCA+2
UPCA+5
UPCA+Price CD
UPCE
UPCE+2
UPCE+5
EAN8
EAN8+2
EAN8+5
EAN13
EAN13+2
EAN13+5
EAN13+Price CD
Interleaved 2 of 5
or
Interleaved I 2 of 5 with Barrier Bar
Code 39 (w/ or w/o CD) or MOD43
Codabar
Code 128
Code 93
Code 16K
MSI
MaxiCode
PDF417
POSTNET
Variable
12 F
14 F
17 F
12 F
7F
9F
12 F
8F
10 F
13 F
13 F
15 F
18 F
13 F
0 - 2710 F or V
0 - 2710 F or V
0 - 2710 F or V
0 - 2710 F or V
0 - 2710 V
0 - 2710 V
0 - 14 F or V
15 - 99 For V
0 - 2710 F or V
0 - 11 F
3-8
Defining Fields
B5. row Distance from bottom of the print area to the pivot point of the
field. The pivot point varies, depending on how the field is justified. Pivot points:
Left/Center/Right-Justified Fields
Balanced Fields
Remember to include text or numbers that may appear with the bar code for the row measurement.
English Metric 203 Dots0 ­300 Dots0 -
B6. column Distance from the lower left edge of
the print area to the pivot point.
English Metric 203 Dots0 ­300 Dots0 -
NOTE:
-
0
999
-
0
2539 2029 2699
-
0
399
-
0
1015 811 1199
Allow a minimum of of bar code and label edges or other data.
End-Justified Fields
inch between the scan edge
1/10
Defining Fields
3-9
B7. font Bar code. Options:
B8. density Bar code density. Use 0 for Quick Response bar codes. Use
UPCA
1
UPCE
2
Interleaved 2 of 5
3
Code 39 (no check digit)
4
Codabar
5
EAN8
6
EAN13
7
Code 128
8
MSI
9
UPCA +2
10
UPCA +5 check digit)
11
UPCE +2
12
UPCE +5
13
EAN8 +2
14
the following table for other bar codes.
15 16 17 22 23 31 32 33 36 40
41 44 50
EAN8 +5 EAN13 +2 EAN13 +5 POSTNET Code 93 Code 16K PDF417 MaxiCode Quick Response Code 39 (MOD 43
UPCA & Price CD EAN13 & Price CD Interleaved 2 of 5 with Barrier Bar
3-10
Defining Fields
203 DPI Densities
Bar code
Ty pe
UPCA +2/+5 Price CD
UPCE +2/+5
EAN8 +2/+5
EAN13+2/+5 Price CD
Interleaved 2 of 5 or I2of5 with Barrier Bar
Density
Selector
2
4
2
4
2
4
2
4 1
2 3
4 5 6
Density
(% or cpi)
76
%
114
%
76
%
114
%
76
%
114
%
76
%
114
%
1.1
2.1
3.2
4.2
5.6
6.3
Narrow
Element
(dots/mils)
2/9.9 3/14.8
2/9.9 3/14.8
2/9.9 3/14.8
2/9.9 3/14.8
21/103.4 12/59.1 7/34.5
6/29.6 4/19.7 4/19.7
Narrow to
Wide Ratio
1.0:1 11 or 12
1.0:1 6 or 7
1.0:1 7 or 8
1.0:1 12 or 13
1:3.0 1:2.5 1:3.0
1:2.5 1:3.0 1:2.5
Data
Length
14/17
9/12
10/13
15/18 0 to 2710 8 0 to 9
Appearance
Codes
Available
1, 5, 6, 7 or 8 0 to 9
1, 5, 6, 7 or 8 0 to 9
1, 5, 6,7 or 8 0 to 9
1, 5, 6,7 or 8 0 to 9
Char
Set
(Code 39 or MOD43 (Extended Code 39)
Codabar (NW7)
Code 128 or Code 16 K204
7 8 9
10 11
12
13 1
2 3 4 6
7
11 12 20
2 3 4 5 7
8
9
6
8
NOTE:
7.5
8.8
9.6
11.2
11.0
12.7
14.5
1.4
1.7
3.5
4.2
6.3
7.0
3.9
12.7
3.0
2.1
3.0
4.6
5.1
8.4
9.2
10.1
3.5/7.0
4.4/8.7
5.8/11.7
8.7/11.5
3/14.8 3/14.8 3/14.8
2/9.9 2/9.9 2/9.9
2/9.9 10/49.3
8/39.4 4/19.7 3/14.8 2/9.9 2/9.9 4/19.7 1/4.9 5/24.6
8/39.4 6/29.6 4/19.7 4/19.7 2/9.9 2/9.9 2/9.9
5/24.6 4/19.7 3/14.8 2/9.9
1:3.0 1:2.3 1:2.0
1:3.0 1:3.0 1:2.5
1:2.0 1:2.5
1:2.5 1:2.5 1:3.0 1:3.0 1:2.5 1:2.0 1:3.0 1:2.2
1:3.0 1:2.5 1:2.5 1:2.0 1:3.0 1:2.5 1:2.0
N/A 0 to 2710 8 00H to 7FH
0 to 2710 8 SPACE
$%*+-./ 0 to 9 A to Z
0 to 26 8 $+-./
0 to 9 a to d
The start (*) and stop (+) characters are automatically added for Code 39. Code 39, density 12, produces a one-dot narrow bar.
Defining Fields
3-11
203 DPI Densities
Bar code
Ty p e
CODE 93 3
MSI 4
Density
Selector
4 5
7
10
5
7
Density
(% or cpi)
3.7
4.5
5.6
7.5
11.2
4.2
5.6
7.2
Narrow
Element
(dots/mils)
6/29.6 5/24.6 4/19.7 3/14.8 2/9.9
4/19.7 3/14.8 2/9.9
Narrow to
Wide Ratio
N/A 0 to 2710 8 00H to
1:2.0 1:2.0 1:2.5
Data
Length
0 to 14 8 0 to 9
Appearance
Codes
Available
Char Set
7FH
Bar code
Ty p e
POSTNET 0 (fixed at
MaxiCode 7 N/A N/A N/A 99 8 00H to
Bar code
Ty p e
PDF417 1
Density
Selector
4.3 cpi)
Density
Selector
2 3 4 5 6 7 8 9
Density
(% or cpi)
24/118.2 10/49.3 4/19.7 (5
Element
Width
(dot/mils)
2/9.8 2/9.8 2/9.8 3/14.8 3/14.8 3/14.8 4/19.7 4/19.7 4/19.7
Narrow
Element
(dots/mils)
Row Height
(dots/mils)
2/9.8 4/19.7 6/29.6 3/14.8 6/29.6 9/44.3 4/19.7 8/39.4 12/59.1
Narrow to
Wide Ratio
dot gap)
Aspect
Ratio
1:1 1:2 1:3 1:1 1:2 1:3 1:1 1:2 1:3
Data
Length
0,5,6,9 or118 0 to 9
Data
Length
0 to 2709 8 00H to
Appearance
Codes
Available
Appearance
Codes
Available
Char Set
FFH
Char Set
FFH
203 and 300 DPI Densities
Bar Code
Ty pe
Quick Response (QR Code) Models 1 and 2
Density
Selector
0
Data Length
Model 1: 0-1167 Numeric; 0-707 Alphanumeric; 0-486 (8-Bit); 0-299 Kanji Model 2: 0-2710 Numeric; Alphanumeric and 8-Bit; 0-1817 Kanji
3-12
Defining Fields
NOTE:
Values in bold indicate the default.
300 DPI Densities
Bar code
Ty pe
UPCA +2/+5 Price CD
UPCE +2/+5
EAN8 +2/+5
EAN13+2/+5 Price CD24
Interleaved 2 of 5 or I2of5 with Barrier Bar
Density
Selector
2
4
2
4
2
4
1 2 3
4 5 6
Density
(% or cpi)
77
%
103
%
77
%
103
%
77
%
103
%
77
%
103
%
1.1
2.1
3.3
4.2
5.6
6.2
Narrow Element
(dots/mils)
3/10 4/13.3
3/10 4/13.3
3/10 4/13.3
3/10 4/13.3
31/103.4 18/60.1 10/33.4
9/30.0 6/20.0 6/20.0
Narrow to
Wide Ratio
1:2.0 11 or 12
1:2.0 6 or 7
1:2.0 7 or 8
1:2.0 12 or 13
1:3.0 1:2.5 1:3.0
1:2.4 1:3.0 1:2.5
Data
Length
14/17
9/12
10/13
15/18 0 to 2710 8 0 to 9
Appearance
Codes
Available
1, 5, 6, 7 or 8 0 to 9
1, 5, 6, 7 or 8 0 to 9
1, 5, 6,7 or 8 0 to 9
1, 5, 6,7 or 8 0 to 9
Char
Set
Code 39 or MOD43 (Extended Code 39)
Codabar (NW7)
Code 128 or Code 16 K46
7 8 9
10 11
12
13 1
2 3 4 6
7
11 12 20
2 3 4 5 7
8
9
8
20
NOTE:
8.3
9.4
9.9
11.1
11.1
13.0
14.3
1.4
1.7
3.4
4.7
6.2
7.1
3.8
11.5
3.1
2.3
3.4
5.0
5.6
9.1
10.4
11.1
4.5
6.8
9.1
3.9
4/13.3 4/13.3 4/13.3
3/10.0 3/10.0 3/10.0
3/10.0 15/50.0
12/40/0 6/20.0 4/13.3 3/10.0 3/10.0 6/20.0 2/6.7 7/23.4
12/40.0 9/30.0 6/20.0 6/20.0 3/10.0 3/10.0 3/10.0
6/20.0 4/13.3 3/10.0 7/23.4
1:3.0 1:2.5 1:2.3
1:3.0 1:3.0 1:2.3
1:2.0 1:2.5
1:2.3 1:2.5 1:3.0 1:3.0 1:2.3 1:2.0 1:3.0 1:2.3
1:3.0 1:2.4 1:2.5 1:2.0 1:3.0 1:2.3 1:2.0
N/A 0 to 2710 8 00H to 7FH
0 to 2710 8 SPACE
0 to 2710 8 $+-./
The start (*) and stop (+) characters are automatically added for Code 39. Code 39, density 12, produces a one-dot narrow bar.
$%*+-./ 0 to 9 A to Z
0 to 9 a to d
Defining Fields
3-13
300 DPI Densities
Bar code
Ty p e
CODE 93 3
MSI 4
Density
Selector
4 5
7
10
5
7
Density
(% or cpi)
3.7
4.5
5.6
7.5
11.2
4.2
5.6
7.2
Narrow
Element
(dots/mils)
6/29.6 5/24.6 4/19.7 3/14.8 2/9.9
4/19.7 3/14.8 2/9.9
Narrow to
Wide Ratio
N/A 0 to 2710 8 00H to
1:2.0 1:2.0 1:2.5
Data
Length
0 to 14 8 0 to 9
Appearance
Codes
Available
Char Set
7FH
POSTNET 0 (fixed at
MaxiCode 7 N/A N/A N/A 99 8 00H to
Bar code
Ty p e
PDF417 1
4.3 cpi)
Density
Selector
2 3 4 5 6 7 8 9
24/118.2 10/49.3 4/19.7 (5
Element
Width
(dot/mils)
2/9.8 2/9.8 2/9.8 3/14.8 3/14.8 3/14.8 4/19.7 4/19.7 4/19.7
Row Height
(dots/mils)
2/9.8 4/19.7 6/29.6 3/14.8 6/29.6 9/44.3 4/19.7 8/39.4 12/59.1
dot gap)
Aspect
Ratio
1:1 1:2 1:3 1:1 1:2 1:3 1:1 1:2 1:3
0,5,6,9 or118 0 to 9
FFH
Data
Length
0 to 2709 8 00H to
Appearance
Codes
Available
Char Set
FFH
3-14
Defining Fields
B9. height Bar code height, in 1/100 inches, 1/10 mm, or dots. Minimum
values: English Metric 203 Dots 300 Dots
For Quick Reference bar codes, the value you enter is the symbol’s maximum height. Small bar codes may not be scannable.
20 51 40 60
B10. text Appearance of text with bar code. For UPC and EAN, use
B11. alignment Choose L, R, C, B or E to align the bar code data correctly in
B12. field rot Field rotation. Field rotation rotates the whole field, not just
Example
or Options:
1
2 5 6 7 8
the field. For I2 of 5, Code 39 (Mod 43), Codabar, and MSI, you can use L, R, C, B or E. For all other bar codes, use L.
the characters. Rotation is affected by the pivot point, which varies depending on how text is justified. Lower left corner of field is the pivot point. Options:
0 1 2 3
NOTE:
. For Quick Response, use
5 - 8
No check digit or number system or Quick Response Model 1 Quick Response Model 2 Number system at bottom, no check digit Check digit at bottom, no number system Check digit and number system at bottom No text, bar code only
Top of field points to top of supply Top of field points to left of supply Top of field points to bottom of supply Top of field points to right of supply
Serial bar codes printed at speeds greater than 3.0 IPS may not scan properly.
For all others, use 8.
0 2.
B,3,12,V,150,70,1,2,80,7,L,0 p
1
Defines a bar code field (field #3) with 12 characters of variable length starting at row 150, column 70. A UPCA bar code with a density of 2 and a height of 80 is used. The check digit and number system are shown at the bottom. The bar code is left aligned without any field rotation.
Defining Fields
3-15
Defining Constant Text Fields
A constant text field is a set of fixed characters that prints on all labels. Define each constant text field separately. This field is not assigned a field number, but is counted as a field (keep this in mind, as the printer allows a maximum of The characters in this field cannot be changed by batch data. Field options do not apply to constant text fields.
Determine the height and the maximum width of the characters, using the tables in Appendix B, "Fonts." If you’re using proportionally spaced fonts, use the average size of the characters. Mark the pivot point of your field. This will vary, depending on how your field is justified.
fields per format).
1000
Syntax
C,row,column,gap,font,hgt mag, wid mag,color,alignment,char rot, field rot,"fixed char",sym set p
C1. C Constant Text Field.
C2. row For monospaced fonts, distance from bottom of print area to
C3. column Distance from the lower left edge of the print area to the pivot
C4. gap Number of dots between characters (203 dots per inch).
the pivot point. For proportionally spaced fonts, distance from bottom of print area to baseline of characters in the field. (Bottom exits the printer first.) English Metric 203 Dots0 ­300 Dots0 -
point. English Metric 203 Dots0 ­300 Dots0 -
Range: 0 - 99.
Any number other than 0 or the default number affects your field width. Default spacing:
Standard Reduced Bold OCRA-like
-
0
999
-
0
2539 2029 2699
-
0
399
-
0
1015 811 1199
3 dots 1 dot 3 dots 3 dots
3-16
Defining Fields
C5. font Style of font. Options:
Standard
1
Reduced
2
Bold
3
OCRA-like
4
HR1
5
HR2
6
Fonts 5 and 6 are for numeric data only.
Fonts 15 through 18 are only for 300 dpi
C6. hgt mag Height magnifier, 1 - 7 (times).
C7. wid mag Width magnifier, 1 - 7 (times) Proportionally spaced fonts do
not have a set width. To estimate the size of your field, use the letter "W" for the widest field or an "L" for an average width field.
C8. color Options for standard printer fonts:
B D/R/W O
There are two types of field color overlay attributes:
Transparent The overlay field (text or constant text) does
Opaque The overlay field blocks out (or "erases")
Field placement in the packet is an important consideration when using field color attributes. If a line field is defined before the overlay (text or constant text) field, the line field is blocked out by the overlay field, depending on the overlay field’s color attribute. If a line field is defined after the overlay field, the line field is not blocked out by the overlay field, regardless of the overlay field’s color attribute.
Opaque, Normal, Black, Normal Opaque, Normal, White, Normal Transparent, Normal, Black, Normal
not block out (or "erase") existing fields.
existing fields.
CG Triumvirate Bold
10
CG Triumvirate
11
7 pt. CG Triumvirate
15
9 pt. CG Triumvirate
16
11 pt. CG Triumvirate
17
15 pt. CG Triumvirate
18
.
C9. alignment Alignment of constant text in the field. Options:
Align on left side of field.
L
Center text within field (for monospaced fonts only)
C
Align on right side of field (for monospaced fonts only)
R
Align at midpoint of field
B
Align at end of field.
E
Use L, B, or E for any font.
Defining Fields
3-17
C10. char rot Character rotation. Options:
C11. field rot Field rotation. Lower left corner of field is the pivot point.
Top of character points to top of field
0
Top of character points to left of field
1
Top of character points to bottom of field
2
Top of character points to right of field
3
Options:
Top of overlay points to top of supply
0
Top of overlay points to left of supply
1
Top of overlay points to bottom of supply
2
Top of overlay points to right of supply
3
NOTE:
C12. "fixed char" Fixed characters to appear in the field. Maximum
characters. Enclose in quotation marks.
C13. sym set Symbol set. Options:
0 1 437 850
Rotation is affected by the pivot point, which varies depending on how text is justified.
2710
Internal Symbol Set. ANSI Symbol Set DOS Code Page 437 (Domestic) DOS Code Page 850 (International)
See Appendix C, "Symbol Sets/ Code Pages" for more information.
Example
C,100,80,0,1,1,1,B,L,0,0,"MADE IN USA",0 p
Defines a constant text field starting at row 100, column 80. It does not have any additional inter-character gap. The Standard font is used without any additional magnification. The printing is black on white and left justified. No field or character rotation is used. "MADE IN USA" is printed in this field. The internal symbol set is used.
3-18
Defining Fields
Defining Non-Printable Text Fields
Non-printable text fields allow you to enter data without printing it in its entered form. Typically, non-printable fields "hold" data that later combines with other fields to form a merged field. Define non-printable text fields before you define the field where the information prints.
When you copy this field into another field, the maximum number of characters for the final field is
2710.
characters as you need, because extra characters use up space. Also, if you are copying into a bar code field, the maximum number of characters in the destination bar code is determined by the bar code specification (UPCA-12, EAN-13, etc.). You need to apply field options to manipulate the text entered in this field. For example, you may want to copy data from this field into another field. See "Option 4 Copy Data" in Chapter 4 for more information.
In the following example, data is entered into four non-printable fields and merged to form field 5, and is then printed as a bar code. See "Merging Fields" in Chapter 4 for more information.
Field Data Field Type
1 20374 Non-printable 2 339 Non-printable 3 8 Non-printable 4 15 Non-printable 5 20374339815 Bar Code
Allow only as many
Each non-printable text field requires a separate definition.
Syntax
D1. D Non-Printable Text Field.
D2. field# Unique number from
D3. # of char Maximum number of characters in this field:
Example
D,field#,# of char p
assigned to this field.
0-999
D,4,20 p
0-2710.
Defines a non-printable text field (field #4) with a maximum of 20 characters.
Defining Fields
3-19
Defining Line Fields
Use lines to form borders and mark out original prices. Define each line separately. This field is not assigned a field number, but is counted as a field (keep this in mind, as the printer allows a maximum of length and a thickness up to 99 dots, as long as the solid black print does not exceed 25 percent of any given square inch of the label.
Line Types
You can create horizontal and vertical lines. There are two ways to define lines.
fields per format). You can define any line
1000
Segments
You choose the starting point and ending point.
Vectors
You choose the starting point, the angle, and the length of the line.
Syntax
L1. L Line Field.
L2. type Type of line. Only vertical and horizontal lines are
L3. row Distance from bottom of print area to the starting point.
L,type,row,column,angle/end row,length/ end col,thickness,"pattern" p
supported. Options:
Segment. You choose the starting
S
point and ending point.
Vector. You choose the starting
V
point, angle, and length.
English Metric 203 Dots0 ­300 Dots0 -
-
0
999
-
0
2539 2029 2699
3-20
Defining Fields
L4. column Distance from left edge of the print area
to line origin. English Metric 203 Dots0 ­300 Dots0 -
-
0
-
0
399 1015 811 1199
L5. angle /end row
L6. length/ end col
, or
270
Segments:
Vec tors:
.
Vec tors:
-
0
399
-
0
1015 811 1199
-
0
999
-
0
2539 2029 2699
If Using Row location of ending point. Measure from bottom of print area. Ranges same as row above. On horizontal lines, this value must match item L3.
If Using Angle of line. Options: 0, 90,
180
If Using Segments: Column location of end point. Measure from left edge of print area. Ranges same as column above. On vertical lines, this value must match parameter L4.
If Using
Length of the line in selected units.
Ranges for horizontal lines: English Metric 203 Dots0 ­300 Dots0 -
Ranges for vertical lines: English Metric 203 Dots0 ­300 Dots0 -
Defining Fields
3-21
L7. thickness Using the chart below for reference, write the line thickness
(1 - 99) in box L7. Measured in dots.
NOTE:
L8. "pattern" Line pattern. Enter "".
Example
Line thickness fills upward on horizontal lines, or to the right on vertical lines.
L,S,110,70,110,350,10,"" p
Defines a horizontal line field as a segment starting at row 110, column 70 and ending at row 110, column 350. The line thickness is 10 dots.
Defining Box Fields
Use boxes to form borders or highlight items of interest. Define each box field separately. This field is not assigned a field number, but is counted as a field (keep this in mind, as the printer allows a maximum of line length and a thickness up to 99 dots, as long as the solid black print does not exceed 25 percent of any given square inch of the label.
fields per format). You can define any
1000
3-22
Defining Fields
Syntax
Q1. Q Box (Quadrilateral) Field.
Q,row,column,end row,end col,thickness, "pattern" p
Q2. row Distance from bottom of print area to
lower left corner of box. English Metric 203 Dots0 ­300 Dots0 -
-
0
999
-
0
2539 2029 2699
Q3. column Distance from left edge of print area to
Q4. end row Distance from bottom of print area to
Q5. end col Distance from left edge of print area to
lower left corner of box. English Metric 203 Dots0 ­300 Dots0 -
upper right corner of box. Ranges same as row.
upper right corner of box. Ranges same as column.
-
0
399
-
0
1015 811 1199
Defining Fields
3-23
Q6. thickness Using the chart below for reference, write the desired line
thickness (1 - 99) in box Q6. Measure in dots.
NOTE:
Q7. "pattern" Line pattern. Enter "".
Example
Line thickness fills upward on horizontal lines, or to the right on vertical lines.
Q,240,80,270,130,3,"" p
Defines a box field starting at row 240, column 80. It ends at row 270, column 130. It has a thickness of 3 dots.
3-24
Defining Fields
DEFINING FIELD OPTIONS
This chapter provides a reference for defining
N
field options in formats
N
check digit packets.
4
Defining Field Options
4-1
Applying Field Options
Field options further define text and bar code fields. The text, constant text, or bar code field must be previously defined before you can apply any field option to it. Define options immediately after the field to which they apply.
Combining Field Options
You can use more than one option with most fields. When you use multiple options for the same field, you must place the options in the order you want to apply them to your format.
Restrictions
Some options cannot be used together. See the following sections addressing individual options for specific combinations to avoid.
Example
Syntax
R1. R Indicates field option header.
R2. option# Option number:
R3. parameter(s) Varies per option. See the following option descriptions.
R,1,3,1,3,1,1 p
R,option#,parameter...parameter p
Define Fixed Characters
1
Copy Data
4
Pad Data
30
Calculate Check Digit
31
Define Bar Code Densities
50
Define Security and Truncation of PDF417 Bar Codes
51
Define Width or Length of PDF417 Bar Codes
52
Define Incrementing/Decrementing Fields
60
4-2
Defining Field Options
Option 1 (Fixed Data)
Fixed data is information (a company name or store number) you want to print on all labels. You can define fixed characters for an entire field or for part of a field.
Syntax
R1. R Option Header.
R2. 1 Option 1.
R3. fixed char Characters to insert. Enclose in quotation marks. If you are
R,1,"fixed char" p
defining fixed characters for part of a field, place underscores(_) in non-fixed positions. Any spaces in the phrase are fixed characters. Range 0 to
2710.
Underscore characters are stripped out and
the data is compressed if no data is supplied
by the batch and the field length is variable.
Example
R,1,"_ _ _%$_ _ _ _ _" p
Uses fixed characters (%$) in positions 4 and 5. The other positions are variable.
Example
R,1,"MONARCH" p
"MONARCH" appears as a fixed field in this example.
To fill in the non-fixed portion of the field, see "Defining Batch Data Fields" in Chapter 6. As an alternative, you can apply Option 4 to copy data into the non-fixed character positions.
Defining Field Options
4-3
Option 4 (Copy Data)
You can create a field that uses data from another field. This is useful for creating merged fields or sub-fields. You can copy the information from multiple fields into one field by applying the copy procedure more than once. Copy data is the only option you can apply to a field more than once.
The maximum number of characters defined in box T3 or B3 must allow for the number of characters you will place in the field, including any price, check digit, or fixed characters inserted by the printer. The maximum number of characters in the field into which data is copied cannot exceed of characters permitted by the
bar code
When copying from more than one field, copy
into the destination field from left to right.
or the maximum number
2710
.
Syntax
R1. R Field Option Header.
R2. 4 Option 4.
R3. src fld Field number from which data is copied. Range: 0 to
R4. src start Position number in the source field of the first character to be
R5. # to copy Number of characters to copy. Range: 1 to
R6. dest start Position number where copied characters are to begin printing
R7. copy code Copy Method.
R,4,src fld,src start,# to copy,dest start,copy code p
copied. Character positions are numbered 1 to from the left.
in the destination field. Range: 1 to
1 Copy field as is (including price symbols,
pad characters, check digits, etc.).
2 Copy unformatted data (without price characters,
pad characters, etc.).
2710
2710
.
2710
.
.
999
, starting
4-4
Defining Field Options
Example
Copies data from field #3, starting at the first position and copying three characters. In the destination field, the information is placed in position 1 and copied as formatted data.
R,4,3,1,3,1,1 p
Merging Fields
You can copy data to merge the contents of fields. Use the copy data option as many times as necessary to copy all the appropriate fields into the merged field.
In the following example, two text and two non-printable fields are shown. Data from these fields is merged to form field 5, and is then printed as a bar code.
Field Data Field Type
1 203 Non-printable 2 339 Non-printable 38 Text 4BLUE Text 5 2033398BLUE Bar Code
To create this sequence:
Define fields 1, 2, 3, and 4.
1.
Define field 5 as a bar code. Allow enough characters in the
2.
bar code field to hold all the copied characters.
Apply Option 4 to field 5 once for every source field.
3.
Sub-Fields
You can copy a segment of data from one field into a new location, called a sub-field. For example, extract part of the data in a bar code and display it in text form in a sub-field. Then, use the copy data option.
Defining Field Options
4-5
Option 30 (Padding Data)
You can add characters to one side of a field to "pad" the field. Padding allows you to fill in the remaining spaces when the entered data does not fill an entire field.
If a variable length field is not completely filled with batch data, this option fills the remaining positions in the field with the character designated by Option 30.
Syntax
R1. R Option Header.
R2. 30 Option 30.
R3. L/R Indicates type of padding
R4. "character" Pad character must be within the 0 -
Example
R,30,L/R,"character" p
L Pad field on left side
R Pad field on right side
enclosed inside quotation marks.
NOTE:
Do not use on fixed length fields.
R,30,L,"X" p
decimal range and
255
Pads data with an "X" on the left side of the field.
Sample Use for Padding
If you have a variable length bar code that you want to occupy a fixed amount of space on the supply, use pad characters. If the maximum number of characters in the bar code is 15, but the batch record only has 10 characters, the padding option fills the remainder of the field with pad characters.
4-6
Defining Field Options
Option 31 (Calculate Check Digit)
The printer generates a check digit if you apply Option 31 to the field. You cannot use this option if the field contains a UPC, EAN, or Code 39 (with the MOD43 check digit) bar code.
Syntax
R1. R Option Header.
R2. 31 Option 31.
R3. gen/ver Enter G to generate a check digit.
R4. check digit # Specifies a check digit scheme. Enter a number that
Example
R,31,gen/ver,check digit # p
identifies a check digit scheme that has been defined. For more information, see "Using Check Digits." Range: 1 - 10.
R,31,G,5 p
Generates a check digit using the previously defined check digit scheme 5.
Option 50 (Bar Code Density)
You can apply this option to bar code fields when you want to create custom densities. When you apply this option, it overrides the density value in the bar code field.
When using this option, set the density parameter in your bar code field to the default value. You can only use this option once for each bar code field. This option overrides the density selected in the bar code field.
Bar codes produced using Option 50 may not be scannable. The additional character gap, narrow space, and wide space parameters are valid
with Code 39 and Codabar. If these
only
parameters are specified for any other bar codes, they will be ignored by the printer. Do not use Option 50 with UPC or EAN bar codes.
Defining Field Options
4-7
Syntax
R1. R Field Option Header.
R2. 50 Option 50.
R3. narrow Dot width of the narrow element. Range: 1 - 99.
R4. wide Dot width of the wide element. Range: 1 - 99.
R,50,narrow,wide,gap,nar_space,wide_space
p
R5. gap Additional dot space between characters. Enter a value of 1 -
R6. nar_space Additional dot width of the narrow bar code space. (Code 39
R7. wide_space Additional dot width of the wide bar code space. (Code 39
Example
. (Code 39 and Codabar only.)
99
and Codabar only). Range: 1 - 99.
and Codabar only). Range: 1 - 99.
R,50,4,8,4,4,8 p
Creates a custom bar code density with a narrow element of 4 dots, a wide element of 8 dots, a gap of 4 dots, 4 additional dot widths for the narrow bar code space, and 8 additonal dot widths for the wide bar code space (if this is a Code 39 or Codabar bar code).
Option 51 (PDF417 Security/Truncation)
You can define a security level and choose whether or not to truncate a PDF417 bar code. Higher security levels add data to a bar code, improving scan reliability. Some damaged bar codes may still be scannable if the security level is high enough. You can use this option to create standard PDF417 bar codes or use the truncated option to create a narrower bar code. This option can appear only once per PDF417 field, in any order, following the bar code field.
As the security level is increased, so is the size of your PDF417 bar code. For each level increased, the bar code will double in size.
4-8
Defining Field Options
Syntax
R1. R Option Header.
R2. 51 Indicates Option 51.
R3. security Security level ranges from 0 - 8 (0 is the default).
R,51,security,stand/default p
Higher security levels add data to a bar code, improving scan reliability. Some damaged bar codes may still be scannable if the security level is high enough.
R4. stand/def Truncation selector. Valid values:
Example
(default) a standard PDF417 bar code
S
truncated
T
R,51,2,S p
Defines a security level of 2 for a standard PDF417 bar code.
Option 52 (PDF417 Width/Length)
This option defines the image width or length of a PDF417 bar code. If you define a fixed number of columns (width), the bar code expands in length. If you define a fixed number of rows (length), the bar code expands in width.
Column value does not include start/stop or left/right indicator columns.
If this option does not immediately follow the PDF417 bar code field, the default settings are used. You can only use this option once per PDF417 bar code field.
Syntax
R1. R Option Header.
R,52,row/column,dimension p
R2. 52 Indicates Option 52.
R3. row/column Indicates if you are defining the number of rows or columns.
Row
R
Column
C
If you specify rows, the bar code expands in columns, or vice versa.
Defining Field Options
4-9
R4. dimension The number of rows or columns defined for the bar code. The
default is 4. Valid values:
- 90 for rows
3
- 30 for columns
1
Example
R,52,C,10 p
Defines the column width of 10, which expands the PDF417 bar code length by 10.
Option 60 (Incrementing/Decrementing Fields)
You may have an application, such as serial numbers, in which you need a numeric field to increment (increase in value) or decrement (decrease in value) on successive tickets within a single batch. Incrementing or decrementing can be applied to
numeric
digits, apply incrementing or decrementing to only the portion of the field that contains digits.
Syntax
R1. R Option Header.
R2. 60 Option 60.
R3. I/D I incrementing field
R4. amount Amount to increase or decrease. Range: 0 -
R5. l pos Leftmost position in inc/dec portion of field. If this value is not
data only. If you have a field that includes letters and
R,60,I/D,amount,l pos,r pos p
D
entered, the default value 1 is used. Range: 0 -
decrementing field
999
.
2710
.
R6. r pos Rightmost position in inc/dec portion of field. If this value is
Example
Increments a field by 5 each time the field is printed. The field increments beginning with the first left position and ending with the sixth position.
4-10
Defining Field Options
not used, the entire field length is used as the default. Range: 0 -
R,60,I,5,1,6 p
2710
.
Fixing the First Number in the Incrementing Sequence
There are two ways to enter the first number in the incrementing sequence. You can use batch data to define the first number as a fixed character.The first number in the sequence must contain the same amount of digits as the highest number to be counted. For example, to count the numbers 1 ­sequence must be entered as
001
, the first number in the
999
.
Using Check Digits
Check digits are typically used to ensure that a text or bar code field scans correctly. If you apply Option 31, the printer calculates a check digit. A check digit scheme determines how the printer calculates a check digit. When you define a check digit scheme, you assign a number to identify it. This number is later entered in box R4 when you apply Option 31 to a field. You can use check digits with text or bar code fields. Check digit calculations are performed on numeric data only.
Do not use check digits with price fields. Do not define a check digit scheme for these bar codes, because they have predefined check digits: UPC, EAN, Code 39 (with the MOD43 check digit), and Code 93.
Syntax
A1. A Check Digit Header.
A2. selector Assign a number from 1 - 10 to this check digit formula.
A3. action The action to perform. Enter A to add the check digit scheme.
A4. device Device. Use R.
A5. modulus Number from 2 - 11. The modulus is used to divide the sum
A6. fld_length The maximum number of characters the field will contain.
{A,selector,action,device,modulus, fld_length,D/P,"weights" p }
of products or the sum of digits.
Range: 0 -
2710
.
Defining Field Options
4-11
A7. D/P Algorithm. The algorithm determines how the check digit is
calculated.Options:
sum of digits
D
sum of products
P
A8. "weights
Example
String of digits used for calculation. A weight string is a group
"
of two or more numbers that is applied to a field. The number of digits in this string should equal the number in fld_length. Enclose in quotation marks. Range: 0 -
{A,1,A,R,10,5,P,"65432" p }
2710
.
Adds check digit scheme number 1 to the printer’s memory. The modulus is 10, the maximum number of characters in the field is
5. The check digit is calculated by using the Sum of Products and the string of digits used in the calculation is "65432."
Sum of Products Calculation
This is an example of how the printer uses Sum of Products to calculate a check digit for this data:
5 2 3 2 4 5 2 1 9
Weights are applied to each digit, starting with the last digit in
1.
the weight string. They are applied right to left, beginning at the right-most position of the field. Remember, a weight string must contain at least two different numbers. This example has a weight string of
1,2,3,4
:
4-12
Defining Field Options
field: 5 2 3 2 4 5 2 1 9
weight string:
Each digit in the field is multiplied by the weight assigned to it:
2.
4 1 2 3 4 1 2 3 4
field: 5 2 3 2 4 5 2 1 9
weight string:
4 1 2 3 4 1 2 3 4
products: 20 2 6 6 16 5 4 3 36
Next, the product of each digit is added together. This is the
3.
sum of the products.
20 + 2 + 6 + 6 + 16 + 5 + 4 + 3 + 36 = 98
Divide the sum of the products by the modulus (10 in this
4.
case), only to the whole number. The balance is called the remainder.
9
10 98
90
8
Subtract the remainder from the modulus.
5.
The result becomes the check digit. In this case, the check digit is 2.
10 - 8 = 2
Sum of Digits Calculation
This is an example of how the printer uses Sum of Digits to calculate a check digit for this data:
5 2 3 2 4 5 2 1 9
Weights are applied to each digit, starting with the last digit in
1.
the weight string. They are applied right to left, beginning at the right-most position of the field. Remember, a weight string must contain at least two different numbers. This example has a weight string of
field: 5 2 3 2 4 5 2 1 9
weight string:
Each digit in the field is multiplied by the weight assigned to it:
2.
4 1 2 3 4 1 2 3 4
1,2,3,4
:
Defining Field Options
4-13
field: 5 2 3 2 4 5 2 1 9
weight string: products:
Next, the digits of the products are added together. Two-digit
3.
products are treated as two separate digits. This is the sum of the digits.
2 + 0 + 2 + 6 + 6 + 1 + 6 + 5 + 4 + 3 + 3 + 6 = 44
Divide the sum of the digits by the modulus (10 in this case),
4.
only to the whole number. The balance is called the remainder.
4
10 44
40
4
Subtract the remainder from the modulus.
5.
The result becomes the check digit. In this case, the check digit is 6.
10 - 4 = 6
4 1 2 3 4 1 2 3 4
20 2 6 6 16 5 4 3 36
4-14
Defining Field Options
CREATING GRAPHICS
This chapter provides information on how to
N
map out the graphic image using the hexadecimal (hex) or run length method.
N
create a graphic packet using a graphic header, bitmap, duplicate, next-bitmap, text, constant text, line, and box fields.
N
place a graphic image into a format.
You can use graphic packets to create bitmapped images. To include a graphic packet within your format, your format must contain a graphic field. See "Placing the Graphic in a Format" for more information.
5
Creating Graphics
5-1
Overview of Bitmapped Images
A printed image is formed through a series of dots. Each square on the grid below represents a dot on the printhead. The graphic image is created by blackening dots in a specific pattern. You can print varying shades of gray according to the concentration of dots on the image. When the dots are printed together, the end result is a graphic image.
Determining a Method
You can use one of two methods to map out your graphic image:
Hex Method The dot sequences are segmented into binary
numbers and then converted to hex numbers.
A graphic using gray-scaling, several slanted lines, or several vertical lines typically translates more efficiently with hex representation.
5-2
Creating Graphics
Run Length Encoding Method
The dot sequences are segmented into black and white strings within a row. The total count of each white string is converted to a lower-case letter, corresponding to numeric value. The total count of each black string is converted to an uppercase letter, corresponding to numeric value. This method can reduce imaging time for graphics that contain repetitive rows of dots. A graphic with horizontal lines or very few white-to-black borders typically translates more efficiently with run length encoding.
The most efficient encoding method depends on how complicated your graphic image is and whether or not imaging time is a concern. You may want to experiment with both encoding methods to get optimal performance.
Designing Bitmapped Images
Once you determine the encoding method to use, you can begin mapping out your graphic image.
The image that you map must be an upside
down mirror image of the final result.
Special Considerations
Solid black print cannot exceed 25% of any given square inch of the supply. If the black print exceeds this limit, you may lose data or damage the printhead.
Creating Graphics
5-3
In the first label, the large "M" logo and thick black line exceed the allowed black to white print ratio. In the second label, the large "M" logo does not exceed the black to white print ratio.
2 inches
Exceeds Limit
Exceeds Limit
2 inches
0.5"
Does not exceed limit
Does not exceed limit
Using the Hex Method
The following steps explain how to derive a hex character string from a bitmapped graphic.
Each square on the grid represents a dot. A black square indicates the dot is ON, and a white square indicates the dot is OFF. A sequence of binary numbers, called a bit pattern or bitmap, determines what dots are on and off. The numbers "0" and "1" are used for this purpose. The number "1" turns a dot on and "0" turns a dot off.
0.5"
5-4
Creating Graphics
Assign 1 to every black square and 0 to every white square.
1.
00000000000000000000000000000000000000000000000000111111111111111111111111110000000000000000000000000000 00000000000000000000000000000000000000011111111111000000000000000000000000001111111110000000000000000000 00000000000000000000000000000000001111100000000000000000000000000000000000000000000001111110000000000000 00000000000000000000000000000011110000000000000000111111111111111111111111110000000000000001111000000000 00000000000000000000000001111100001111111111111111111111111111111111111111111111111111111110000111110000 00000000000000000000000110000011111111111111111111111111111111111111111111111111111111111111111000001100 00000000000000000000000110001111111111111111111111111111111111111111111111111111111111111111111111111110 00000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110 00000000000000000000000111111111111111111111111111111000000000000000000011111111111111111111111111111110 00000000000000000000000111111111111111111111000000000000000000000000000000000000011111111111111111111100 00000000000000000000000001111111100000000000000000000111111111111111111100000000000000000011111111110000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000010000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000011000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000001111000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000111000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000111111000000000000011100000000111111111111111111111111111111111111111111111111100000001111000000 00000000111111100000000000000000001111111111111111111111111111111111111111111111111111111110001111000000
Section off the grid in columns of eight. If any rows are not
2.
divisible by 8, add enough 0’s to complete a column.
00000000 00000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11110000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 11111111 11000000 00000000 00000000 00001111 11111000 00000000 00000000 00000000 00000000 00000000 00000000 00111110 00000000 00000000 00000000 00000000 00000000 00000111 11100000 00000000 00000000 00000000 00000000 00000011 11000000 00000000 00111111 11111111 11111111 11110000 00000000 00011110 00000000 00000000 00000000 00000000 01111100 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11110000 00000000 00000000 00000001 10000011 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00001100 00000000 00000000 00000001 10001111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00000000 00000000 00000001 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00000000 00000000 00000001 11111111 11111111 11111111 11111000 00000000 00000000 11111111 11111111 11111111 11111110 00000000 00000000 00000001 11111111 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111111 11111100 00000000 00000000 00000000 01111111 10000000 00000000 00000111 11111111 11111111 00000000 00000000 00111111 11110000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000010 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000011 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000001 11100000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 11100000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 11111100 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000011 11000000 00000000 11111110 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100011 11000000
Creating Graphics
5-5
One row at a time, convert each group of eight binary digits to
3.
hex.
starting at position 49 ...
00111111 = 3F 11111111 = FF 11111111 = FF 11110000 = F0
Write the hex values for each row as a continuous string.
4.
row 1, position 49 = 03FFFFFF00000
Repeat steps 3 through 4 for each row on the grid.
5.
Insert the hex values in syntax format.
6.
Using the Run Length Encoding Method
The following steps explain how to derive a run length character string from a bitmapped graphic.
Each square on the grid represents a dot. A black square indicates the dot is ON, and a white square indicates the dot is OFF.
5-6
Creating Graphics
For visual clarity, the following example
shows "1" to indicate when a square is ON,
and "0" to indicate when a square is OFF.
You do not have to convert your dots when
using the run length method.
00000000 00000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11110000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 11111111 11000000 00000000 00000000 00001111 11111000 00000000 00000000 00000000 00000000 00000000 00000000 00111110 00000000 00000000 00000000 00000000 00000000 00001111 11000000 00000000 00000000 00000000 00000000 00000011 11000000 00000000 00111111 11111111 11111111 11110000 00000000 00011110 00000000 00000000 00000000 00000000 01111100 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11110000 00000000 00000000 00000001 10000011 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00001100 00000000 00000000 00000001 10001111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00000000 00000000 00000001 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00000000 00000000 00000001 11111111 11111111 11111111 11111000 00000000 00000000 11111111 11111111 11111111 11111110 00000000 00000000 00000001 11111111 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111111 11111100 00000000 00000000 00000000 01111111 10000000 00000000 00000111 11111111 11111111 00000000 00000000 00111111 11110000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000010 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000011 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000001 11100000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 11100000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 11111100 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000011 11000000 00000000 11111110 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100011 11000000
Count the number of consecutive OFF or ON dots in a row.
1.
Write the number of consecutive dots in sequence for the first row on the grid. Write "ON" or "OFF" after each number to indicate ON or OFF dots.
(row 1, position 50) 26 on (row 2, position 39) 11 on, 26 off, 9 on (row 3, position 34) 5 on, 45 off, 6 on.
Replace each number you have written with its corresponding
2.
code from the Dot to Run Length Encoding Chart provided in Appendix C, "Symbol Sets/Code Pages." Be sure to use CAPITAL letters for black dots and lower-case letters for white dots.
26 on (Z) 11 on (K), 26 off (z), 9 on (I) . .
If the number is greater than 26, write z, followed by the letter corresponding to the amount over 26. For example, to represent 45 off dots, write zs.
5 on (E), 45 off (zs), 6 on (F) . .
Creating Graphics
5-7
Write the letter codes in sequence, uninterrupted, for each
3.
row.
(row 1,position 50) Z (row 2,position 39) KzI (row 3,position 34) EzsF (row 4,position 30) DpZoD . .
If the end of the line specifies OFF dots (lower-case letters), the ending lower-case letters can be omitted. For example, uZFu
can be written as uZF.
Repeat steps 1 through 5 for each row on the grid.
4.
Insert the code values in syntax format.
5.
Determining How to Store the Image
Once you have mapped out your graphic image, determine how you want to store it. You have two options:
5-8
Creating Graphics
N
RAM
N
Temporary Storage
Using RAM
You should use RAM when the graphic image is used by several formats, because you only have to send the graphic image once. This eliminates the need to send the graphic image repeatedly. See "Placing the Graphic in a Format," for more information about using the graphic packet in a format. Graphics smaller than approximately 1/2 inch by 1/2 inch can be stored in printer RAM and referenced by the graphic ID number.
Graphics are stored in the image buffer and
remain there until another format is sent or
the printer is turned off.
Using Temporary Storage
You should use temporary storage when the graphic image is used only in one format or your graphic image is very large. Graphic data in temporary storage is held in the image buffer until the graphic is printed. Then, it is cleared from memory when you send a new or updated batch. You can use the same graphic image multiple times on a format. Send the graphic image to the printer after the format to which it applies.
If a graphic is stored in temporary storage, do not place a graphic field in the format. This will cause an error. Instead, position the graphic image by using the row and column locations in the graphic packet header.
Image memory (temporary storage) will accept a graphic packet 1218 rows long with 811 dots per row.
Creating a Graphic Packet
Your graphic packet can contain
N
bitmapped fields (for bitmapped images)
N
constant text fields
N
lines
N
boxes.
Images using hex representation or run length encoding are bitmapped images. See "Designing Bitmapped Images" to design your bitmapped image.
Once you design your graphic image, you are ready to define a graphic packet. This packet generates the graphic image you use in a format.
Creating Graphics
5-9
Positioning the Graphic Image
This section explains how to position the graphic image within a graphic packet header, a field of a graphic packet, or within a format.
Within the Graphic Packet Header
When you are using RAM, the row and column parameters in the graphic header are usually 0,0, because placement is controlled by the graphic field in your format. This is especially true when designing a compliance label overlay.
When you are using temporary storage, these parameters control the placement of the graphic image on the supply.
The area enclosed within the dotted lines represents the graphic image starting at 0,0 (as defined in the graphic header).
5-10
Creating Graphics
If you want a fixed amount of white space around your graphic image, use something other than 0 for row and/or column.
The area enclosed within the dotted lines represents the graphic image starting at 0,0 with a fixed amount of white space (10,10) around the graphic image.
Within the Field
In a bitmap, constant text, line, or box field, the row and column parameters control where an individual field or bitmapped row begins in relation to the coordinates defined in the graphic header.
The bottom of the triangle in this example represents the first field of the graphic packet starting at 10,0.
Within a Format
When you define the graphic field within your format, the row and column parameters represent where on the format to place the graphic image.
If you are placing a graphic (a logo, for example) within a certain area on your supply, enter the starting position bottom left corner) of the graphic image.
This label shows the triangle "logo" beginning (the bottom left corner) at 155, 33 as defined in the graphic field.
Defining the Graphic Header
Every graphic packet must contain a graphic header. This is the first thing you enter. It identifies and provides important measurement and formatting information for the graphic. Bitmap, duplicate, next-bitmap, constant text, line, and box fields follow the graphic header, if they are used.
Syntax
G1. G Graphic Header.
G2. graphID Unique number from 0 - 999 to identify the graphic image.
{G,graphID,action,device,units,row,col, mode,"name"
p
Creating Graphics
5-11
G3. action The action to perform to the graphic. Options:
G4. device Graphic storage device:
G5. units Unit of measure. Options:
A Add the graphic. C Clear the graphic from the printer.
R Volatile RAM (format must contain a graphic field) T Temporary Storage
E English, measured in 1/100 inches M Metric, measured in 1/10 mm G Graphic, measured in dots. For bitmapped graphics, use G.
G6. row Distance between the bottom of the graphic image area and
G7. column Distance between the left edge of the graphic image area and
G8. mode Imaging mode. Enter 0.
G9. "name" Graphic name (optional), 0-8 characters, enclose within
Example
the first bitmap line. This is usually 0, unless you want a fixed amount of white space around the graphic image. See "Positioning the Graphic Image," for more information.
English 0 - 999 Metric 0 - 2539 203 Dots 0 - 2029 300 Dots 0 - 2699
the left edge of first bitmap line. This is usually 0, unless you want a fixed amount of white space around the graphic image. See "Positioning the Graphic Image," for more information.
English 0 - 399 Metric 0 - 1015 203 Dots 0 - 811 300 Dots 0 - 1199
quotation marks.
{G,99,A,R,G,0,0,0,"99Wire"
p
Adds a graphic image identified by number 99 to volatile RAM. The graphic uses dot measurement. The image will be placed according to the row and column parameters in the graphic field. The imaging mode is 0 and the image is called 99Wire.
5-12
Creating Graphics
Creating Bitmap Fields
This defines one row of dots, starting at a specific row and column within the graphic image. Each unique row of dots requires a bitmap field. A bitmap field can later be repeated by using a duplicate field.
Syntax
B1. B Bitmap Field.
B2. row Distance (in dots) from the graphic image’s bottom margin to
B3. column Distance (in dots) from the graphic image’s left edge to the
B4. algorithm Coding method for bitmap data:
B5. data Character string made up of hex or run length encoding. Do
Example
B,row,column,algorithm,"data"
the bitmap line.
English 0 - 999 Metric 0 - 2539 203 Dots 0 - 2029 300 Dots 0 - 2699
bitmap line.
English 0 - 399 Metric 0 - 1015 203 Dots 0 - 811 300 Dots 0 - 1199
H Hex Representation R Run Length Encoding
not put spaces or any other character between the numbers. Range: 0 2710.
{B,39,56,H,"3FFFFFF0"
p
p
Defines a bitmapped graphic field. The image begins 39 dots from the bottom and 56 dots from the left edge of the graphic area. Hex representation is used.
Creating Graphics
5-13
Creating Next-Bitmap Fields
This field uses the previous field’s row and column locations. It allows you to use the bitmap or duplicate field data without having to recalculate row and column locations. This field represents one row of dots on the image.
Syntax
N1. N Next-Bitmap Field.
N2. adjdir Increments or decrements the row count. Inserts the
N3. adjamt Amount of row adjustment in dot rows. Using 0 overwrites the
N4. algorithm Coding method for bitmap data:
N5. "data" Character string made up of hex or run length encoding. Do
Example
N,adjdir,adjamt,algorithm,"data"
duplicate line after or before the current row.
0 Increments (inserts after) 1 Decrements (inserts before)
For example: B,50,35,R,"GsSsG" N,0,R,"DpZoD" prints a next-bitmap field on row 51 at column 35.
same line. Range: 0 - 999.
H Hex Representation R Run Length Encoding
not put spaces or any other character between the hex numbers or run length code letters. Range: 0 - 2710.
B,39,56,H,"3FFFFFF0" N,0,1,H,"000000E00000"
p
p
p
p
p
Defines a next-bitmap graphic field beginning on row 40. The row count increments by 1. Hex representation is used.
5-14
Creating Graphics
Creating Duplicate Fields
If a line of data is identical to a previous bitmap or next-bitmap field, the duplicate field allows you to repeat the dot sequence without retyping the data. A duplicate field represents one row of dots on the image.
Duplicate fields are useful when you have a
graphic with a lot of repetition.
Syntax
D1. D Duplicate Field.
D2. adjdir Increments or decrements the row count. Inserts the
D3. adjamt Amount of row adjustment in dot rows. Range for 203 dpi: 0
D4. count Number of times to duplicate the line. Range: 0 - 999.
Example
D,adjdir,adjamt,count
duplicate line after or before the current row.
0 Increments (inserts after) 1 Decrements (inserts before)
For example: B,50,35,R,"GsSsG" D,0,20,2 inserts row 50 again at row 70 and row 90. Rows 70 and 90 do not have to be defined later.
999; range for 300 dpi: 0 - 2699. The above example adjusts the duplicate field to image on row 70 and 90 (adding 20 to the current row count).
B,117,24,H,"03FFFFFFFFFFFFFFFFFFFC" D,0,1,2
p
p
p
p
p
Defines a duplicate field that is imaged after the bitmap line. This field duplicates the preceding bitmap line twice (at row 118 and
119).
You can use constant text, line, or box fields in a graphic packet to create a compliance label overlay. See Chapter 3, "Defining Fields," for more information about these fields.
Creating Graphics
5-15
Sample Hex Graphic Packet
{G,99,A,R,G,0,0,0,"99WIRE" B,39,48,H,"3FFFFFF0" p B,40,32,H,"01FFC000000FF8" p B,41,32,H,"3E00000000000FC0" p B,42,24,H,"03C0003FFFFFF0000F" p B,43,24,H,"7C3FFFFFFFFFFFFFE1F0" p B,44,16,H,"0183FFFFFFFFFFFFFFFF06" p B,45,16,H,"018FFFFFFFFFFFFFFFFFFE" p B,46,16,H,"01FFFFFFFFFFFFFFFFFFFE" p B,47,16,H,"01FFFFFF80001FFFFFFFFE" p B,48,16,H,"01FFFFF0000000007FFFFC" p B,49,24,H,"7F800007FFFF00003FF0" p B,50,24,H,"1FC00007FFFF00001FC0" p D,0,4,4 p B,51,24,H,"1C03FFFFFFFFFFFE01C0" p D,0,4,4 p B,52,32,H,"3FFFFFFFFFFFFFE1C0" p D,0,4,4 p B,53,24,H,"03FFF0000000007FFE" p D,0,4,4 p B,70,0,H,"0400001FC00007FFFF00001FC0" p B,71,0,H,"0600001C03FFFFFFFFFFFE01C0" p B,72,0,H,"030000003FFFFFFFFFFFFFE1C0" p B,73,0,H,"01000003FFF0000000007FFE" p B,74,8,H,"FC001C03FFFFFFFFFFFE00C0" p B,75,8,H,"FE00003FFFFFFFFFFFFFE0C0" p B,76,8,H,"1FF803FFF0000000007FFE" p B,77,8,H,"0FFFCFFC00000000000001C0" p B,78,16,H,"FFDF000FFFFFFFFF8003C0" p B,79,16,H,"7FFFC00007FFFF00001FC0" p B,80,24,H,"1C03FFFFFFFFFFFE01C0" p D,0,4,4 p B,81,32,H,"3FFFFFFFFFFFFFE1C0" p D,0,4,4 p B,82,24,H,"03FFF0000000007FFE" p D,0,4,3 p B,83,24,H,"1FC00007FFFF00001FC0" p D,0,4,3 p B,98,24,H,"03FFFFFFFFFFFFFFF0" p B,99,24,H,"07FFFFFFFFFFFFFFFC" p B,100,24,H,"1FF9FFFFFFFFFFFFFF" p B,101,24,H,"3FFE0007FFFF8000FF80" p B,102,24,H,"391E0027FFFF803FFFC0" p B,103,24,H,"1C7FFFFFFFFFFFFFFFC0" p B,104,24,H,"1FC1FFFFFFFFFFFF1FC0" p
5-16
Creating Graphics
B,105,24,H,"0FFDFFFFFFFFFFE0FF" p B,106,24,H,"FFFFFFFFFFFFFFF8" p B,107,32,H,"3FFFFFFFFFFFFFE0" p B,108,32,H,"03FFFFFFFFFFFF" p B,109,48,H,"07FFFF80" p D,0,1,2 p B,111,48,H,"FFFFFFFF" p B,112,32,H,"FFFF00000000FFE0" p B,113,24,H,"078000FFFFFFFF001F" p B,114,24,H,"78FFFFFFFFFFFFFFE060" p B,115,16,H,"0187FFFFFFFFFFFFFFFC18" p B,116,16,H,"027FFFFFFFFFFFFFFFFFF2" p B,117,16,H,"03FFFFFFFFFFFFFFFFFFFC" p D,0,1,2 p B,120,16,H,"01FFFFFFFFFFFFFFFFFFF8" p B,121,24,H,"FEFFFFFFFFFFFFFFFFE0" p B,122,24,H,"07FFFFFFFFFFFFFFFC" p B,123,32,H,"FFFFFFFFFFFFFFC0" p B,124,32,H,"01FFFFFFFFFFF8" p }
Sample Run Length Graphic Packet
{G,99,A,R,G,0,0,0,"99WIRE" p B,39,50,R,"Z" p B,40,39,R,"KzI" p B,41,34,R,"EzsF" p B,42,30,R,"DpZoD" B,43,25,R,"EdZZEdE" B,44,23,R,"BeZZMeB" B,45,23,R,"BcZZW" B,46,23,R,"ZZZA" B,47,23,R,"ZDsZE" B,48,24,"TzkU" B,49,25,"HtRqJ" B,50,27,"GsSsG" D,0,4,4 B,51,27,"ChZWgC" D,0,4,4 B,52,34,R,"ZZEdC" D,0,4,4 B,53,30,R,"NzkN" D,0,4,4 B,70,5,R,"AuGsSsG" B,71,5,R,"BtChZWgC" B,72,6,R,"DxZZEdC" B,73,7,R,"CtNzkN"
p
p
p
p
p
p p
p
p
p
p
p p
p
p
p
p
p
p
p
Creating Graphics
5-17
B,74,8,R,"FmChZWhC" B,75,8,R,"GsZZEdC" B,76,11,R,"JiNzkN" B,77,12,R,"NbJzzeC" B,78,16,R,"JaElZKmD" B,79,17,R,"QsSsG" B,80,27,R,"ChZWgC" D,0,4,4 B,81,34,R,"ZZEdC" D,0,4,4 B,82,30,R,"NzkN" D,0,4,4 B,83,27,R,"GsSsG" D,0,4,4 B,98,30,R,"ZZJ" B,99,29,R,"ZZM" B,100,27,R,"JbZZE" B,101,26,R,"MnToI" B,102,26,R,"CbHnTiP" B,103,27,R,"CcZZC" B,104,27,R,"GeZWcG" B,105,28,R,"JaZReH" B,106,32,R,"ZZI" B,107,34,R,"ZZE" B,108,38,R,"ZQ" B,109,53,R,"T" D,0,1,2 B,111,48,R,"ZF" B,112,33,R,"PzfK" B,113,29,R,"CpZBoE" B,114,25,R,"DcZZGfB" B,115,23,R,"BdZZMeB" B,116,22,R,"AbZZVbA" B,117,22,R,"ZZZB" D,0,1,2 B,120,23,R,"ZZZ" B,121,25,R,"ZZV" B,122,29,R,"ZZM" B,123,32,R,"ZZF" B,124,39,R,"ZT"
p
p
p
p
p
p
p
p
p
p
p p
p
p p p
p
p
p
p
p
p
p
p
}
p p p
p
p
p
p p
p
p
p
p
p
p p p
5-18
Creating Graphics
Placing the Graphic in a Format
To include a graphic within a format:
Design the graphic image as shown in "Designing Bitmapped
1.
Images."
If you are using RAM, place a graphic field in the format file to
2.
reference the graphic. See the following section, "Defining the Graphic Field," for more information.
If you are using temporary storage, you do
not need a graphic field in your format to
reference the graphic image.
Download all the necessary packets (check digit, format, etc.).
3.
Send the graphic file to the printer, if you have not already
4.
done so. See "Creating a Graphic Packet" for more information.
Defining the Graphic Field
The graphic field in a format references the graphic image by the graphID in the graphic header.
This field is required only if the graphic
will be stored in RAM.
Syntax
G1. G Graphic Field.
G2. graphID Unique number from 0 - 999 to identify the graphic image.
G,graphID,row,col,mode,rotation
p
Creating Graphics
5-19
G3. row Distance between the bottom of the print area on the supply to
G4. column Distance between the left edge of the print area on the supply
G5. mode Imaging mode. Enter 0.
G6. rotation The orientation of the graphic on the supply. Enter 0.
the bottom of the graphic image. Measured in selected units.
English 0 - 999 203 Dots 0 - 2029 Metric 0 - 2539 300 Dots 0 - 2699
The row specified in the constant text, bitmap, line, or box field is added to the row value above to determine the actual position in the format.
and the left edge of the graphic. Measured in selected units.
English 0 - 399 203 Dots 0 - 811 Metric 0 - 1015 300 Dots 0 - 1199
The column specified in the constant text, bitmap, line, or box field is added to the col value above to determine the actual position in the format.
5-20
Creating Graphics
Example
G,57,0,0,0,0
p
Defines a graphic field that is identified by the number 57. The image begins at 0,0. The imaging mode is 0 and there is no rotation.
Sample Bitmap Graphic Image
The following format shows the graphic packets (hex and run length) in a sample format.
{F,2,A,R,E,200,200,"FMT2"| G,99,132,30,0,0 Q,146,30,198,95,5,"" T,1,5,V,175,100,0,1004,1,1,B,L,0,0,0 T,2,5,V,150,100,0,1004,1,1,B,L,0,0,0 T,3,15,V,120,25,0,1003,1,1,B,L,0,0,0 T,4,15,V,95,35,0,1003,1,1,B,L,0,0,0 L,S,84,15,84,195,10," " B,5,12,F,30,65,1,2,40,1,L,0
p
p
p
p p p
p
p
p
}
PRINTING
This chapter describes how to
N
download files to the printer
N
format flash memory
N
define the batch header, batch control, and batch data files
N
modify formats
N
create DOS batch files.
6
Printing
6-1
Turn on the printer and make sure it is ready to receive data before you download. See your host’s documentation, system administrator, or "Downloading Methods" for information on ways to download.
When downloading, send your packets in this order:
Configuration packets (A-F)
1.
Any of the following:
2.
Check digit packets (see Chapter 4)
Format packets (see Chapter 3)
Graphic packets (see Chapter 5)
Batch data (see "Defining the Batch Header")
3.
Downloading Files
To download from a PC:
Check that the PC and the printer are connected.
1.
Check that communications have been established between
2.
the PC and the printer.
6-2
Printing
Send the communication settings packet to select the
3.
printer’s communication settings. See "Defining the Communication Settings Packet" in Chapter 2 for more information (only used for serial communication). If you change the printer’s communication settings, make sure they match those at the host before sending any packets to the printer.
Type this command at the DOS prompt:
4.
COPY LABEL1.FMT COM1 Transmits a file called "LABEL1.FMT" to COM1.
COPY LABEL1.BCH COM1 Transmits a batch called "LABEL1.BCH" to COM1.
Loading...