Intermec IPL
Intermec IPL
Developer's Guide
Intermec Technologies Corporation Worldwide Headquarters 6001 36th Ave.W. Everett, WA 98203 U.S.A. [Link] The information contained herein is provided solely for the purpose of allowing customers to operate and service Intermec-manufactured equipment and is not to be released, reproduced, or used for any other purpose without written permission of Intermec Technologies Corporation. Information and specifications contained in this document are subject to change without prior notice and do not represent a commitment on the part of Intermec Technologies Corporation. 2007 by Intermec Technologies Corporation. All rights reserved. The word Intermec, the Intermec logo, Norand, ArciTech, Beverage Routebook, CrossBar, dcBrowser, Duratherm, EasyADC, EasyCoder, EasySet, Fingerprint, INCA (under license), i-gistics, Intellitag, Intellitag Gen2, JANUS, LabelShop, MobileLAN, Picolink, Ready-to-Work, RoutePower, Sabre, ScanPlus, ShopScan, Smart Mobile Computing, SmartSystems, TE 2000, Trakker Antares, and Vista Powered are either trademarks or registered trademarks of Intermec Technologies Corporation. There are U.S. and foreign patents as well as U.S. and foreign patents pending. Microsoft, Windows, and the Windows logo are registered trademarks of Microsoft Corporation in the United States and/or other countries.
ii
iii
iv
Contents
Contents
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Global Services and Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Warranty Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Web Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Telephone Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Service Location Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Who Should Read This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
............................................. 1
What Is IPL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Which Printers Support IPL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 About IPL Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Printing Labels with IPL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Learning the Structure of IPL Command Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Using ASCII Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Creating Command Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Sending IPL Commands to the Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Switching Between Printer Operating Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
................................................. 9
Introduction to Label Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 About Field Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Human-Readable Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bar Code Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Line and Box Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . User-Defined Character or Graphic Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Working With Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Editing Field Zero (H0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Numbering Fields in a Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . About Interpretive Fields and Field Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . Editing Existing Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Deleting Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Positioning Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rotating Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scaling Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Magnifying Fonts and Character Fields . . . . . . . . . . . . . . . . . . . . . . . . . . Magnifying Bar Code Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 11 11 12 12 12 12 13 13 14 15 15 16 17 17 18
Contents
Specifying Data for Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example of Constant Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example of Changing Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example Using the Next Data Entry Field, Select Command . . . . . . . . . . . . . . Working With RFID Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How to Write Data to an RFID Tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Data is Stored on an RFID Tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Writing Hex or ASCII Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Writing Numerical Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating a Sample Label Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Positioning Fields in a Label Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating Command Strings for the Label Format . . . . . . . . . . . . . . . . . . . . . . . . . Printing the Sample Label. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Complex Label Design Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example with Lines and Boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example with Graphics and Rotated Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RFID Tag Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18 19 19 20 21 21 22 22 22 22 23 24 28 28 28 30 33
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 38 38 38 39 39 39 40 40 40
Learning About Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . About Bitmap Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . About Outline Fonts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Choosing a Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Downloading Fonts to the Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using PrintSet to Download Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using IPL Commands to Download Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Downloading Bitmap Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Downloading Outline Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using TrueType Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Selecting the Printer Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 TrueType Fonts and Memory Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Installing Asian Fonts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Installing Code Page Tables for Asian Scalable Fonts. . . . . . . . . . . . . . . . . . . . . . . 42 Installing Asian Bitmap Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Licensing Your Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Creating Bitmap Fonts From TrueType Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Creating User-Defined Characters and Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating User-Defined Characters for Emulation Mode . . . . . . . . . . . . . . . . . . . . Creating User-Defined Fonts for Emulation Mode . . . . . . . . . . . . . . . . . . . . . . . . Creating User-Defined Characters for Advanced Mode. . . . . . . . . . . . . . . . . . . . . Creating User-Defined Font Characters for Advanced Mode . . . . . . . . . . . . . . . . 44 45 48 49 54
vi
Contents
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Using the Printer Memory Efficiently . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 How Is the Printer Storage Memory Used? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Making the Most of Your Storage Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Reimaging Modified Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Using Emulation Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Using Direct Graphics Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What Is Run-Length Encoding? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Immediate Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Compression Encoding Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . Low Order Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . High Order Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bitmap Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example of Direct Graphics Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 64 64 64 65 65 65 65
Designing Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
5 Troubleshooting
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Troubleshooting Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 How the Printer Handles Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Syntax Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameter Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Image Overrun Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Invalid Numeric Character Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Insufficient Storage Memory Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 70 70 71 71 71
Interpreting Error Codes and Solving Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Printing Labels with 86XX-Compatible Code 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
. . . . . . . . . . . . . . . . . . . . . . 75
Full ASCII Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Full ASCII Control Characters Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 International Character Sets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Advanced Character Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86XX Character Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IBM Translation Character Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Code Page 850 Character Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 79 79 80 81
vii
Contents
Extended Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Characters in Fonts c0, c1, c2, and c7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Characters in Fonts c20, c21, and c22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Characters in Font c23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Characters in Font c24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Characters in Fonts c25, c26 and c28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
82 82 83 84 85 86
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Print Commands (t = 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Escape Print Commands (t = 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Shift Print Commands (t = 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Status Responses and Auto-Transmit Commands (t = 3) . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Protocol Commands (t = 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Communications Protocol Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
I Index
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
viii
Safety Information
Your safety is extremely important. Read and follow all warnings and cautions in this document before handling and operating Intermec equipment. You can be seriously injured, and equipment and data can be damaged if you do not follow the safety warnings and cautions. This section explains how to identify and understand cautions and notes that are in this document. A caution alerts you to an operating procedure, practice, condition, or statement that must be strictly observed to prevent equipment damage or destruction, or corruption or loss of data. Note: Notes either provide extra information about a topic or contain special instructions for handling a particular condition or set of circumstances.
Disclaimer of warranties: The sample code included in this document is presented for reference only. The code does not necessarily represent complete, tested programs. The code is provided as is with all faults. All warranties are expressly disclaimed, including the implied warranties of merchantability and fitness for a particular purpose.
Web Support
Visit the Intermec web site at [Link] to download our current manuals (in PDF). To order printed versions of the Intermec manuals, contact your local Intermec representative or distributor. Visit the Intermec technical knowledge base (Knowledge Central) at [Link] to review technical information or to request technical support for your Intermec product.
ix
Telephone Support
These services are available from Intermec.
In the USA and Canada call 1-800-755-5505 and choose this option 1 and then choose 2 1 and then choose 1 1 or 2 and then choose 4 2 and then choose 2 2 and then choose 1
Services Order Intermec products Order spare parts Technical Support Service
Description Place an order. Ask about an existing order. Order spare parts. Talk to technical support about your Intermec product. Get a return authorization number for authorized service center repair. Request an on-site repair technician.
Service contracts
Ask about an existing contract. 1 or 2 and then choose 3 Renew a contract. Inquire about repair billing or other service invoicing questions.
Outside the U.S.A. and Canada, contact your local Intermec representative. To search for your local representative, from the Intermec web site, click About Us > Contact Us. Service Location Support For the most current listing of service locations, click Support > Returns and Repairs > Repair Locations. For technical support in South Korea, use the after service locations listed below: AWOO Systems 102-1304 SK Ventium 522 Dangjung-dong Gunpo-si, Gyeonggi-do Korea, South 435-776 Contact: Mr. Sinbum Kang Telephone: +82-31-436-1191 E-mail: mjyun@[Link] IN Information System PTD LTD 6th Floor Daegu Venture Center Bldg 95, Shinchun 3 Dong Donggu, Daegu City, Korea E-mail: jmyou@[Link] or korlim@[Link]
Related Documents
The Intermec web site at [Link] contains our documents (as PDF files) that you can download for free. To download documents 1 Visit the Intermec web site at [Link]. 2 Click Support > Manuals. 3 In the Select a Product field, choose the product whose documentation you want to download. To order printed versions of the Intermec manuals, contact your local Intermec representative or distributor.
xi
xii
This chapter introduces the Intermec Printer Language (IPL) and includes these topics: What Is IPL? Which Printers Support IPL? About IPL Commands Printing Labels with IPL Commands Learning the Structure of IPL Command Strings Sending IPL Commands to the Printer Switching Between Printer Operating Modes
What Is IPL?
Intermec Printer Language (IPL) is one of the programming languages that has been developed for use with Intermec printers. IPL is an easy-to-use programming language that lets you: design formats (templates) for bar code labels, download formats to the printer, or modify formats stored in the printer. download data to fill in a bar code label (or RFID tag information) and print the label. enable or disable printer features and options, or abort print jobs and reset the printer. query the printer for hardware diagnostic data and status of print jobs. This Developers Guide includes information on how to use IPL to develop applications for your Intermec printer. For information on specific IPL commands, see the IPL Command Reference Manual.
Program commands send label format information to the printer. RFID program commands create and define tag fields and data sources. The printer must be in Program mode to use these commands. Configuration commands enable or disable printer features and options. The printer must be in Print mode to use these commands. Test and Service commands query the printer for hardware diagnostic data and print job status. The printer must be in Test and Service mode to use these commands. Immediate commands abort print jobs, return the status of print jobs, and reset the printer. The printer can be in any mode to use these commands, and executes these commands immediately even if other IPL commands are waiting to be executed.
where:
<STX>
is the readable equivalent of the start of text character. Command strings must always begin with the start of text ASCII command code or its equivalent in readable characters. Readable characters must be enclosed in angle brackets. For more information on using ASCII command codes or their readable equivalents, see the next section, Using ASCII Control Characters. is the syntax and data for the IPL command Format, Erase. is the command terminator character. Use ; to separate commands and associated data. is the syntax and data for the IPL command Format, Create. is the syntax and data for the IPL command Bitmap UserDefined Font, Clear or Define. Because this is the last command in the string, you do not need to follow it with ;. is the readable equivalent of the end of text character. Command strings must always end with the end of text ASCII character or its equivalent in readable characters. Readable characters must be enclosed in angle brackets.
E2 ; F2 T4
<ETX>
All command syntax is case sensitive. Note: When the printer is in XON/XOFF mode, you can send data and print multiple labels without using the <ETX> character.
This example shows a command string written with readable characters and with control codes: Readable characters: Control codes:
<STX><SI>g1,567<ETX> BOg1,567C
For a list of ASCII control characters, control codes, and definitions, see the Full ASCII Control Characters Table on page 78. If the start of text character is the actual control code, then all other control characters in the same command string must be in control code format. The printer ignores any control characters represented by readable characters. Conversely, if the start of text character is represented by readable characters (<STX>), then all other control characters in the same string must be represented by readable characters. The printer ignores any control characters represented by control codes. For simplicity, this manual uses readable characters in all examples and syntax. Note: Using readable characters consumes more memory space and takes more time to process, but each command string is more easily read and edited.
This longer command string combines all eight of the previous command strings into a single string:
<STX><ESC>P;E3;F3;H0;o81,100;f0;c0;d0,16;h1;w1;H1;o81,120; f0;c0;d0,16;h1;w1;H2;o81,150;f0;c2;d0,14;h1;w1;H3;o81,190; f0;c2;d0,16;h1;w1;B4;o81,0;f0;c0,1;h50;w1;d0,11;i0;p@; R<ETX>
The printer interprets each example exactly the same way. For more information on creating and testing command strings, see Chapter 2, Designing Bar Code Labels.
After you determine the IPL command strings you need to accomplish a task, save the strings as an ASCII text file for future use. To create a text file of IPL command strings 1 Determine the IPL command strings you need to accomplish a task. 2 Open a text editor or word processor and type the command strings. 3 Save the file as an ASCII text file.
These serial connection characteristics are the default for IPL printers. If you have changed the communication settings on your printer, change the HyperTerminal connection settings accordingly. Note: If you receive the write fault error error message, it indicates that either you are sending the data to the wrong COM port or your cable does not support hardware flow control. 4 From the Main menu bar, select Transfer. 5 From the Transfer list box, select Send Text File. 6 In the Send Text File dialog box, locate your .txt file and click Open. HyperTerminal sends the .txt file to your printer. Your command text file will either change a configuration setting in the printer or print your label format.
Send this command every time that you download formats, even if you think the printer is already in Program mode. If the printer is already in Program mode, it ignores this command. To place a printer in Print mode Send this command string:
<STX>R<ETX>
Send this command before each set of data or as your last format command. If the printer is already in Print mode, it ignores this command. Note: The R command may be treated as data if the data to the printer does not include a <CAN> or field pointer to clear the fields. To place a printer in Test and Service mode Send this command string:
<STX><ESC>T<ETX>
Send this command before any test and service commands. Typically, you will not need to use test and service commands when defining label formats.
This chapter explains how to design and print your own labels using IPL commands. It covers the basic elements of label design and includes these topics: Introduction to Label Formats About Field Types Working with Fields Specifying Data for Fields Working with RFID Tags Creating a Sample Label Format Complex Label Design Examples
SHIPPING LABEL
Box field
BASIS WT. 39-4838
38448379237
Humanreadable fields
ROLL WIDTH ROLLS
338438
CUSTOMER ORDER NUMBER
12
372181192
Line field
INTERMEC
Sample Label: This illustration shows a typical bar code label and how the different field types are used.
10
Human-Readable Fields
Human-readable fields contain information or data that is printed in one of the printers internal fonts, or in a user-defined font. Available fonts depend on your printer. Internal fonts on your printer include: Standard bitmap fonts measured in dots Bitmap fonts recognized by optical character recognition (OCR) applications Bitmap fonts measured in point sizes Bitmap monospaced fonts Outline fonts Font character size can be changed by using the width and height magnification commands, or with the pitch and point-size commands. The fonts themselves remain unchanged. See Appendix B, Character Sets, for the complete character set for each font. Intermec printers support nine different international character sets for each command set mode. The printer may also contain character sets for IBM translation and code pages. Note: In Emulation mode, international character substitution is compatible with Intermec 8336/8646 printers. In Advanced mode, the substitution complies with ISO standards.
Bar code fields can be accompanied by an interpretive field, which shows the bar code data in readable characters. You can use IPL commands to define the height and width magnification of bar code fields, set the data source for each field, change the physical orientation of fields, and to enable or disable the interpretive field.
11
Definition Field origin is 0,0. Field direction is horizontal with respect to the label motion from printer. Field height magnification is 2. Field width magnification is 2.
12
Definition Selects the 7x9 standard font. Selects no border around human-readable field. Selects horizontal orientation of characters. You enter variable data in Print mode. The maximum number of characters you can enter into this field is 30.
This automatically created field is always a human-readable field and is always assigned field number 0. Because a format must always have at least one defined field, you cannot delete field 0 if it is the only field in the format. To change field 0 to a different type of field (for example, a bar code field), you have to create a temporary field of any type, delete field 0, create field 0 with a different type, and then delete the temporary field. The next example shows how this is done:
<STX><ESC>P;E1;F1;L39;D0;B0;D39;<ETX>
The next table describes each command in the string. Command String Values
Command
<ESC>P; E1; F1; L39; D0; B0; D39;
Definition Enters Program mode. Erases format 1. Creates format 1. Creates line field (temporary field). Deletes field 0. Creates bar code field 0. Deletes the temporary line field.
13
Each interpretive field uses a field location from the available 400 fields. To avoid interference with other user-defined fields, interpretive fields are automatically assigned numbers beginning with the highest available field number. For example, if B33 is the first bar code field with interpretive text, then its interpretive field, I33, is assigned location 399. You can see how the printer uses the fields internally by uploading the format and examining where the interpretives appear. If you need to use more fields than IPL can accommodate in a single format (because of interpretive fields), you can use pages to combine several formats on one label.
Description Selects Advanced mode. Enters Program mode. Erases format 3, Creates format 3. Creates field H0. Creates field H1. Creates field H2. Creates field H3. Creates field B3. Saves and exits to Print mode.
To change the height and width of field 3 to 2 dots, download this command string:
<STX><ESC>P;F3;H3;h2;w2;R;<ETX>
The following table describes each command in this string: Field Editing Commands in the Sample Format
Command
<ESC>P; F3; H3; h2; w2; R;
Description Enters Program mode. Accesses format number 3 from memory. Accesses field 3. Sets the height to 2 dots. Sets the width to 2 dots. Returns to Print mode.
14
Deleting Fields
It is possible to delete any field from a format unless the format only has one field. For example, use the following command string to delete field 3 from format 4:
<STX><ESC>P;F4;D3;R<ETX>
The following table describes each command in this string: Command String Descriptions
Command
<ESC>P F4 D3 R
Description Enters Program mode. Accesses format 4. Deletes field 3. Returns to Print mode.
Positioning Fields
Using the IPL command language to position fields is the trickiest part of designing labels. Since you cannot tell exactly how the field looks until it prints, you may need to make several test prints before you get the field positioned correctly. For all types of fields, determine the print position by defining the coordinates of the upper left corner of the unrotated field. The field origin is the upper left corner of an unrotated field. To define the coordinates of the field origin, use the Field Origin, Define command (ox,y), where: o x y is the command syntax. is the distance (in dots) from the left edge of the label to the field origin. is the distance (in dots) from the top edge of the label to the field origin.
The actual measurements for x and y depend on the size of the printhead in your printer. The next table lists printhead sizes and the corresponding number of dots per mm. Dots/mm by Printhead Size
Printhead Size 203 dpi 300 dpi 406 dpi Dots/mm 8 11.8 16
Note: On the 4400, 7421, and PC41 printers, be sure to use the Label Width, Set command to set the printer for the correct label width, or the y setting will be incorrect.
15
For example, to position a field to print approximately 0.25 inch from the left side and 0.5 inch from the top of your label, the Field Origin, Define command value is o51,102.
D A
H u m a n - re a d a b l e e l d H u m a n - re a d a b l e e l d
B
*Bar code interpretive field*
*BCFIELD*
C
A = o51, 102 B = o51, 203 C = o51, 305 D = o355, 102
Field Positioning: This illustration shows the relative positions of four fields with different origin points.
Note: If you are operating your printer in Emulation mode, the dot sizes are doubled (101 dots per inch or 4 dots per mm), so the origin for 1 inch from the top of the label and 0.5 inch from the left side is o25,51.
Rotating Fields
You can rotate any type of printable field in increments of 90 degrees counterclockwise around the field origin. To position a rotated field, remember that the field origin remains on the corner where it was before you rotated the field. If you rotate a field 90 degrees counterclockwise, the origin that was at the upper left corner is now at the lower left corner. Use the Field Direction command (syntax fn) to define the field rotation. See the IPL Command Reference Manual for more information. To rotate a field 90 degrees, you must position the lower left corner of the rotated field. To rotate a field 180 degrees, you must position the lower right corner of the rotated field. To rotate a field 270 degrees, you must position the upper right corner of the rotated field.
16
f1(rotated 90 degrees)
Field Rotation: This illustration shows the effects of rotating a field by using the Field Direction command.
Scaling Fields
The size of a field is determined by the font or graphic you use and the field magnification factors you apply. You can use the height and width magnification commands to scale each of these fields even further.
ABCDE ABCDE
ABCDE
ABCDE f0 (horizontal)
Field origin
17
18
Definition
Places the printer in Program mode. Erases current format 2 and creates new format 2. <STX>H0;o200,50;d3,PART NUMBER FORMAT<ETX> Changes the default settings for field 0: places the origin at 200,50, and specifies the text PART NUMBER FORMAT for the field data. <STX>B1;o200,200;i1;d0,13<ETX> Defines a new bar code field at origin 200,200, enables an interpretive field, specifies that data for this field will be transmitted when the printer is in Print mode, and sets a data length of 13 characters. All other field settings are default values. <STX>R<ETX> Places the printer in Print mode. <STX><ESC>E2<CAN><ETX> Selects format 2 and clears all previous data. <STX><ESC>F1<LF>*999-999-999*<ETX> Selects field 1 (the new bar code field) and specifies the data to be printed in that field (*999-999-999*). <STX><ETB><ETX> Prints the bar code label.
*999-999-999*
19
Definition Places the printer in Program mode, erases current format 2, and creates a new format 2. Changes the default settings for field 0, placing the origin at 200,50, and specifying the text ORDER NUMBER FORMAT for the field data. Defines a bar code field at origin 200,200, enables an interpretive field, specifies that data for this field will be transmitted when the printer is in Print mode, and sets a data length of 13 characters. All other field settings are defaults. Defines a human-readable field at origin 200,350, and specifies the text ORDER NUMBER for the field data. All other field settings are defaults. Defines a human-readable field at origin 200,400, and specifies that data for this field will be transmitted when the printer is in Print mode. All other field settings are defaults. Places the printer in Print mode, selects format 2, and clears all previous data. Selects field 1 (the bar code field) and specifies the data to be printed in that field (*999-999-999*). Selects field 3 and specifies the value1000 for the field data. <FS> is the syntax for the Numeric Field Separator command, and indicates that the value is to be incremented for each label. <ESC>I is the syntax for the Increment Value, Set command, and sets an incrementation value of 5. <RS> is the syntax for the Quantity Count, Set command, and specifies that 3 labels are to be printed. <ETB> prints the labels. The order numbers on these labels should be 1000, 1005, and 1010.
<STX>H2;o200,350;d3,ORDER NUMBER<ETX>
<STX>H3;o200,400;d0,30<ETX>
<STX><RS>3<ETB><ETX>
Definition Places the printer in Program mode, erases current format 6, and creates a new format 6. Changes the default settings for field 0: places the origin at 200,50, and specifies that data for this field will be transmitted when the printer is in Print mode. All other field settings are defaults.
20
Definition Defines a human-readable field at origin 200,200. All other settings are identical to H0. Defines a human-readable field at origin 300,300. All other settings are identical to H0. Defines a human-readable field at origin 400,400. All other settings are identical to H0. Places the printer in Print mode, slects format 6, and clears all previous data. Specifies the data to be assigned to the four fields requiring input. <CR> separates the individual data strings. The first data string (FIRST FIELD) is assigned to field 0, the second (SECOND FIELD) to field 1, and so on. Prints the label.
21
*SAMPLE*
*SAMPLE*
Sample Label: This sample uses a human-readable field, a line field, and a bar code field with interpretive field enabled.
22
To determine the field origin 1 Measure the distance (in mm) from the upper left corner of the humanreadable field to the left edge of the label. 2 To determine the value for x, multiply the distance times the number of dots per mm for your printhead. See the next table for more information. Dots/mm by Printhead Size
Printhead Size 203 dpi 300 dpi 406 dpi Dots/mm 8 11.8 16
For example, if you are designing the label for a printer with a 203 dpi printhead and the distance is 25 mm: 25 mm x 8 dots/mm = 200. The value for x is 200. 3 Measure the distance (in mm) from the top left corner of the humanreadable field to the top edge of the label. 4 To determine the value for y, multiply the distance times the number of dots for your printhead.
23
For example, if the distance is 12.5 mm: 12.5 mm x 8 dots/mm = 100. The value for y is 100. The origin position for the human-readable field is 200, 100. 5 Repeat steps 1 to 4 to find the origin points for the line field and for the bar code field. Note: On the 4400, 7421, and PC41 printers, be sure to use the label width command to set the actual width of your labels; otherwise, the y origins will be incorrect.
The next table explains these values: Values for Sample Label Command Strings
Text
<STX>
Description ASCII start of text control code in readable characters. Each command string must begin with the start of text control code or its equivalent in readable characters. <ESC>C is the syntax for the Advanced Mode, Select command. ASCII end of text control code in readable characters. Each command string must end with the end of text control code or its equivalent in readable characters. <ESC>P is the syntax for the Program Mode, Enter command. You need to place the printer in Program Mode to create and define a label format. E is the syntax for the Format, Erase command. This command clears format 4 from the printer memory. F is the syntax for the Format, Create command, which creates a new, blank format 4 in the printer memory.
<ESC>C <ETX>
<ESC>P
E4 F4
24
3 Type the following text to create and define the human-readable field:
<STX>H0,o200,100;c25;f0;h20;w20;d0,30<ETX>
The next table explains these values. Values for Human-Readable Field Command String
Text
H0 o200,100
Description H is the syntax for Human-Readable Field, Create or Edit command, with field number 0. o sets the origin point for this field, where x = 200 and y = 100. For more information, see Positioning Fields in a Label Format on page 23. ; is the command terminator character, which is used to separate each command and its associated data with the next command. c selects the font to be used in this field. 25 = outline font. f sets the field direction. 0 = horizontal. h sets the height magnification (in this case, 20). w sets the width magnification value (in this case, 20). d sets the data source and length for this field. 0 chooses data field 0, with a maximum length of 30 characters.
4 Press Enter and type the following text to create and define the line field:
<STX>L1;o200,200;f0;l575;w5;<ETX>
The next table explains these values: Values for Line Field Command String
Text
L1
Description
L is the syntax for the Line Field, Create or Edit command, with field number 1. o200,200 o sets the origin of the line field, where x = 200 and y = 200. ; ; is the command terminator character. f0 f sets the direction of the line field (horizontal). l575 l sets the length of the line in dots (575). w5 w sets the width of the line in dots (5).
Note: The difference between the lowercase letter l and the numeral 1 is not very noticeable in the Courier font. Make sure that you enter the correct command. 5 Press Enter and type the following text to create and define the bar code field:
<STX>B2;o203,153;c0,0;h100;w2;i1;d0,10;<ETX>
25
The next table explains the bar code field command string values: Values for Bar Code Field Command String
Text
B2 o200,150 ; c0,0 h100 w2 i1 d0,10
Description B is the syntax for the Bar Code Field, Create or Edit command, with field number 2. o sets the origin of the bar code field, where x = 200 and y = 150. ; is the command terminator character. c is the syntax for the Bar Code, Select Type command, where 0,0 specifies Code 39, 8646 compatible, with no check digit. h is the syntax for the Height Magnification of Bar Code, Define command, where 100 indicates a magnification of 100 dots tall. w is the syntax for Width of Bar Code, Define command, where 2 indicates a magnification of 2 dots wide i is the syntax for the Interpretive Field command, where 1 enables the field. d is the syntax for the Field Data, Define Source command, where 0,10 indicates that the data is enetered in Print mode and has a maximum length of 10 characters.
6 Press Enter and type the following text to define the interpretive field:
<STX>I2;h1;w1;c20<ETX>
The next table explains these values: Values for Interpretive Field Command String
Text
I2 h1 w1 c20
Description I is the syntax for the Interpretive Field, Define command, with field number 2 (matches the accompanying bar code field number). h is the syntax for the Height Magnification command, with a magnification level of 1 dot vertically. w is the syntax for the Width Magnification command, with a magnification level of 1 dot horizontally. c is the syntax for the Font Type, Select command, where 20 specifies the 8-point monospace font.
7 Press Enter and type the following text to place the printer in Print mode, access format 4, and clear previous field data:
<STX>R<ETX> <STX><ESC>E4<ETX> <STX><CAN><ETX>
Description Places the printer in Print mode. <ESC>E is the syntax for the Format, Select command. This command selects format 4.
26
Description <CAN> is the syntax for the Clear All Data command.
8 Press Enter and type the following text to create the data lines for the human-readable and bar code fields:
<STX>THIS IS THE SAMPLE LABEL<CR><ETX> <STX>SAMPLE<ETX>
The next table explains these values: Values for Data Line Command Strings
Text
THIS IS THE SAMPLE LABEL
Description Data line for the human-readable field. The fields in the label format are populated in order by field number. <CR> is the syntax for the Next Data Entry Field, Select command. Data line for the bar code interpretive field.
<CR> SAMPLE
where <ETB> is the syntax for the Print command. Note: The difference between the lowercase letter l and the numeral 1 is not very noticeable in the Courier font. Make sure that you enter the correct command. 2 Save the text file as [Link]. The label format command strings are complete and look like this:
<STX><ESC>C<ETX> <STX><ESC>P<ETX> <STX>E4;F4<ETX> <STX>H0;o200,100;f0;c25;h20;w20;d0,30<ETX> <STX>L1;o200,150;f0;l575;w5<ETX> <STX>B2;o200,200;c0,0;h100;w2;i1;d0,10<ETX> <STX>I2;h1;w1;c20<ETX> <STX>R<ETX> <STX><ESC>E4<ETX> <STX><CAN><ETX> <STX>THIS IS THE SAMPLE LABEL<CR><ETX> <STX>SAMPLE<ETX> <STX><ETB><ETX>
27
*SAMPLE*
*SAMPLE*
Sample Label
Command Strings
<STX><ESC>C0<ETX> <STX><ESC>P<ETX> <STX>E4;F4,DEMO 4<ETX> <STX>L1;o11,447;f0;l1207;w4<ETX> <STX>L2;o11,285;f0;l1207;w4<ETX> <STX>W3;o11,0;f0;l1207;h802;w4<ETX> <STX>B4;o658,650;f0;h102;w2;c0,0;i1;r1;d0,11<ETX> <STX>I4;o658,752;f0;h1;w1;c20;r0;b0<ETX> <STX>B5;o87,650;f0;h102;w2;c0,0;i1;r1;d0,11<ETX> <STX>I5;o87,752;f0;h1;w1;c20;r0;b0<ETX> <STX>H6;o34,183;f0;h1;w1;c22;r0;b0;d0,17<ETX>
28
<STX>H7;o35,143;f0;h1;w1;c21;r0;b0;d3,BASIS WT. 394838<ETX> <STX>H8;o389,305;f0;h1;w1;c21;r0;b0;d3,ROLLS<ETX> <STX>H9;o40,305;f0;h1;w1;c21;r0;b0;d3,ROLL WIDTH<ETX> <STX>L10;o11,609;f0;l1207;w4<ETX> <STX>H12;o1022,508;f0;h1;w1;c22;r0;b0;d0,7<ETX> <STX>H13;o1022,467;f0;h1;w1;c21;r0;b0;d3,WEIGHT<ETX> <STX>H14;o539,508;f0;h1;w1;c22;r0;b0;d0,11<ETX> <STX>H15;o539,467;f0;h1;w1;c21;r0;b0;d3,LOCATION<ETX> <STX>H16;o42,508;f0;h1;w1;c22;r0;b0;d0,15<ETX> <STX>H17;o43,467;f0;h1;w1;c21;r0;b0;d3,CUSTOMER ORDER NUMBER<ETX> <STX>H18;o840,346;f0;h1;w1;c22;r0;b0;d0,13<ETX> <STX>H19;o840,305;f0;h1;w1;c21;r0;b0;d3,ORDER ITEM NUMBER<ETX> <STX>H20;o389,346;f0;h1;w1;c22;r0;b0;d0,7<ETX> <STX>H21;o34,346;f0;h1;w1;c22;r0;b0;d0,11<ETX> <STX>H22;o747,183;f0;h1;w1;c22;r0;b0;d0,15<ETX> <STX>H23;o743,143;f0;h1;w1;c21;r0;b0;d3,GRADE DESCRIPTION<ETX> <STX>H24;o325,0;f0;h51;w34;c25;r0;b3;d3,SHIPPING LABEL<ETX> <STX>R<ETX> <STX><ESC>E4<CAN><ETX> <STX><ESC>F4<LF>INTERMEC<ETX> <STX><ESC>F5<LF>372181192<ETX> <STX><ESC>F6<LF>38448379237<ETX> <STX><ESC>F12<LF>230<ETX> <STX><ESC>F14<LF>3839494<ETX> <STX><ESC>F16<LF>372181192<ETX> <STX><ESC>F18<LF>234-LOFT<ETX> <STX><ESC>F20<LF>12<ETX> <STX><ESC>F21<LF>338438<ETX> <STX><ESC>F22<LF>A-PLUS QTY<ETX> <STX><ETB><FF><ETX>
29
SHIPPING LABEL
BASIS WT. 39-4838 GRADE DESCRIPTION
38448379237
ROLL WIDTH ROLLS
A - PLUS QTY
ORDER ITEM NUMBER
338438
CUSTOMER ORDER NUMBER
12
LOCATION
234 - LOFT
WEIGHT
372181192
INTERMEC
3839494
3 7 2 1 8 11 9 2
230
Command Strings
<STX><ESC>C<ETX> <STX><ESC>P<ETX> <STX>E5;F5<ETX> <STX>H0;o35,40;c25;d3,Cat.;k12<ETX> <STX>H1;o35,70;c25;d3,No.;k12<ETX> <STX>H2;o165,0;c25;d3,432-3221;k36<ETX> <STX>H3;o785,40;c25;d3,Std.;k12<ETX> <STX>H4;o785,70;c25;d3,Qty.;k12<ETX> <STX>H5;o915,0;c25;d3,100;k36<ETX> <STX>L6;o740,10;f3;l130;w8<ETX> <STX>L7;o25,140;l1130;w8<ETX> <STX>H8;o30,165;c25;f3;r1;d3,Size;k12<ETX> <STX>H9;o80,170;c25;d3,1 ;k30<ETX> <STX>H10;o150,165;f3;r1;c25;d3,3/4;h3;w7<ETX> <STX>L11;o300,140;f3;l130;w8<ETX> <STX>L12;o25,270;l275;w8<ETX> <STX>H13;o60,560;f1;c25;d0,20;h3;w2<ETX> <STX>L14;o140,270;f3;l310;w8<ETX> <STX>H15;o360,120;c22;d3,DUPLEX ANGLE CONNECTOR;h3;w1<ETX> <STX>H16;o170,320;c25;d3,- For Flexible Steel Conduit and .375 - .625;k12<ETX>
30
<STX>H17;o212,375;c25;d3,Diameter Armored and Nonmetallic Sheath Cables;k12<ETX> <STX>H18;o170,450;c25;d3,- For Smooth or Interlocking Sheath Metal Clad;k12<ETX> <STX>H19;o212,505;c25;d3,Cables .375 - .675 Dia. (UL only);k12<ETX> <STX>L20;o25,580;l1130;w8<ETX> <STX>U21;o40,610;c2;h9;w9<ETX> <STX>H22;o210,600;c25;d3,ACE CORP.;k24<ETX> <STX>H23;o210,670;c25;d3,ADDRESS 3010;k12<ETX> <STX>H24;o210,710;c25;d3,FICTION USA;k12<ETX> <STX>B25;o685,615;c0,0;d0,20;i1;h100;p@<ETX> <STX>I25;h2;w2<ETX> <STX>L26;o590,580;f3;l185;w8<ETX> <STX>W27;o015,000;w10;l1150;h775<ETX> <STX>R<ETX> <STX><ESC>E5<CAN><ETX> <STX>Lot 23455 262948<CR><FS>307 91747<FS><ESC>I2<ETX> <STX><RS>5<ETB><ETX>
Cat. No. S i z e
Lot 23455 262948
432-3221
Std. Qty.
100
13 4
- For Flexible Steel Conduit and .375" - .625" Diameter Armored and Nonmetallic Sheath Cables - For Smooth or Interlocking Sheath Metal Clad Cables .375" - .675" Dia. (UL only)
ACE CORP.
ADDRESS 3010 FICTION USA
Note: This example uses the diamond graphic from the procedure in Creating User-Defined Characters for Advanced Mode on page 49. To print this label, you need to follow that procedure to create and download the graphic to your printer beforehand. The next table explains the command strings for this example. For more information, see the IPL Command Reference Manual.
31
Description Places the printer in Advanced mode. Places the printer in Program mode. Clears current format 5 and creates a new format 5. Defines field 0 as a human-readable field. Sets the origin of field 0 at 35,40. Sets the font for field 0 to font 25.z Sets the data for field 0 to Cat.. Sets the font size to 12. Defines field 6 as a line field. Sets the origin for field 6 at 740,10. Rotates field 6 by 270 degrees counterclockwise around the field origin. Sets the length of the line in field 6 to 130 dots. Sets the width of field 6 to 8 dots. Defines field 8 as a human-readable field. Sets the origin of field 8 at 30,165. Defines the font for field 8 as font 25. Rotates field 8 by 270 degrees counterclockwise around the origin. Rotates the characters in field 8 by 90 degrees counterclockwise. Sets the data for field 8 to Size. Sets the Font size to 12. Defines field 10 as a human-readable field. Sets the origin for field 10 at 150,165. Rotates field 10 by 270 degrees counterclockwise around the origin. Rotates the characters in field 10 by 90 degrees counterclockwise. Sets the font for field 10 to font 25. Sets the data for field 10 to 3/4. Sets the font size to 12. Defines field 13 as a human-readable field. Sets the origin of field 13 at 60,560. Rotates field 13 by 90 degrees around the origin. Sets the font for field 13 to font 25. Specifies that data for field 13 is entered during Print mode with a maximum of 20 characters. Sets the font size to 10. Defines field 21 as a graphic field. Sets the origin of field 21 at 40,610. Specifies that field 21 prints in font 2. In this case, font 2 actually refers to the user-defined graphic (diamond) previously downloaded to the printer. Sets the height to nine times the original size. Sets the width to 9 dots. Defines field 25 as a bar code field. Sets the origin of field 25 at 685,615. Sets the bar code font to Code 39 with no check digit. Determines that the data for field 25 is entered during Print mode with a maximum of 20 characters.
32
Description Enables the interpretive field for the bar code, to print with start and stop characters included. Sets the bar code height to 100 dots. Clears all prefixes from the bar code field. Edits the interpretive field for bar code field 25. Sets the height of the interpretive field to twice its original height. Sets the width of the interpretive field to 2 dots. Defines field 27 as a box field. Sets the origin of field 27 at 15,0. Defines the line width of the box as 10 dots. Defines the length of the box as 1150. Sets the height of the box to 775. Places the printer in Print mode. Accesses format 5 from the printer memory. Clears all data for the current format and sets the field pointer to the lowest numbered data-entry field. This is the data intended for the first data-entry field. <CR> instructs the printer to go to the next dataentry field. Specifies that the following data is to be incremented. This is the data intended for the next data-entry field (specified as data to be incremented). Specifies that the preceding data is to be incremented. The data surrounded by <FS> commands is to be incremented by a value of 2 after each label is printed. Sets the number of labels to print when the print command is executed. Prints the label.
Command Strings
<STX><ESC>C<ETX> <STX><ESC>P<ETX> <STX>E4;F4;<ETX> <STX>H0;o102,51;f0;c25;h20;w20;d0,30;<ETX> <STX>L1;o102,102;f0;l575;w5;<ETX> <STX>B2;o203,153;c0,0;h100;w2;i1;d0,10;<ETX> <STX>I2;h1;w1;c20;<ETX> <STX>Q3;a2,2,0,23;d3,MY FIRST RFID TAG WRITE;<ETX> <STX>R;<ETX> <STX><ESC>E4<ETX> <STX><CAN><ETX> <STX>MY FIRST RFID TAG WRITE<CR><ETX> <STX>SAMPLE<ETX>
33
<STX><ESC>J2,2,0,23<ETX> <STX><ETB><ETX>
The next table explains the command strings for the RFID tag example. For more information, see the IPL Command Reference Manual. Label Format RFID Example Command Descriptions
Command
<ESC>C <ESC>P E4;F4 H0 o102,51 f0 c25 h20 w20 d0,30 L1 o102,102 f0 l575 w5 B2 o203,153 c0,0 h100 w2 i1 d0,10
Description Places the printer in Advanced mode. Places the printer in Program mode. Clears current format 4 and creates a new format 4. Defines field 0 as a human-readable field. Sets the origin of field 0 at coordinates 102,51. Rotates field 0 by 0 degrees. Sets the font to font 25. Sets the height to 20 times original size. Sets the width to 20 times original size. Specifies that data for this field is transmitted in Print mode with a maximum of 30 characters. Defines field 1 as a line field. Sets the origin of field 1 at coordinates 102,102. Rotates field 1 by 90 degrees counterclockwise around the origin. Defines the length of the line as 575. Sets the width of the line to 5 dots. Defines field 2 as a bar code field. Sets the origin of field 2 at coordinates 203,153. Sets the bar code font to Code 39 with no check digit. Sets the height to 100 dots. Sets the width to 2 dots. Enables the interpretive field, to print with start and stop characters included. Specifies that data for this field is transmitted in Print mode with a maximum of 10 characters.
34
*SAMPLE*
*SAMPLE*
Description
Edits the interpretive field for bar code field 2. Sets the height to original size. w1 Sets the width to original size. c20 Sets the font to font 20. Q3 Defines field 3 as an RFID field. a2,2,0,23 Sets the format to ASCII, writes to the Data segment, starts on byte 0 and writes up to 23 bytes. d3,MY FIRST Defines constant data for field 3 to be MY FIRST RFID TAG WRITE.
RFID TAG WRITE R <ESC>E4 <CAN> MY FIRST RFID TAG WRITE<CR> SAMPLE <ESC>J2,2,0 ,23 <ETB>
Places the printer in Print mode. Accesses format 4 from the printer memory. Clears all data for format 4 and sets the field pointer to the lowest numbered data-entry field. This is the data intended for the first data-entry field (human-readable field 0). <CR> instructs the printer to go to the next data-entry field. This is the data intended for the second data-entry field (bar code field 2). Reads the data from the RFID tag. The data is in ASCII format on the Data segment, starting on byte 0 and having a length of 23 bytes. Prints the label.
35
36
This chapter explains fonts and how to choose them for your application, and describes how to create user-defined characters and fonts. Sections in this chapter include: Learning About Fonts Downloading Fonts to the Printer Using TrueType Fonts Installing Asian Fonts Licensing Your Fonts Creating User-Defined Characters and Fonts
37
TrueType fonts are the most popular outline fonts, and several are available through Windows on your desktop PC. For more information on TrueType fonts, see Using TrueType Fonts on page 41.
38
Although some Intermec printers do not support TrueType outline fonts, you can use the PrintSet application to convert TrueType outline fonts to bitmaps for use on any Intermec printer. For more information, see Creating Bitmap Fonts From TrueType Fonts on page 44.
Choosing a Font
See the next table to decide which type of font best suits your needs. Font Comparison Table
Font Type Bitmap Print Speed Fastest Selection Extensive Memory Scalability Varies with size of Poor characters Extensive in Typically 50-80KB; Good Windows Asian fonts are much larger Limited Typically 20-30KB Good
Outline (Speedo)
Fast
39
PrintSet automatically converts scaleable outline fonts into nybblized data that you can download to the printer. PrintSet can also convert fixed outline fonts into downloadable bitmap fonts. For more information on using PrintSet to download fonts, see the PrintSet online documentation.
40
Definition Enter Program mode. Create TrueType font 3 and give it the name Times. TrueType data string. TrueType data string. TrueType data string. Several TrueType data strings not shown due to space constraints. Last TrueType data string. Exit Program mode.
41
Some TrueType fonts require large amounts of dynamic RAM to operate. If you receive an error code 37 when printing a label using TrueType fonts, you may need to purchase expanded dynamic RAM.
5 Open a HyperTerminal session to the printer. Note: Configure the HyperTerminal session for these parameters: Baud rate: 19200 Parity: None Data bits: 8 Stop bits: 1 Flow control: XON/XOFF 6 From the Transfer menu, select Send File. The Send File dialog box appears. 7 In the Name field, locate your file, and then click Send. The code page is downloaded to the printer.
You may need to install more flash memory on the printer to use these fonts. The amount of memory you need depends on the size and number of fonts you want to install. For more information on downloading bitmap fonts to your printer, see the PrintSet documentation.
43
Note: Dynalab provides Chinese, Japanese, and Korean fonts. You can also purchase fonts from their offices in Taiwan and Hong Kong. See the Dynalab web page for the address of these offices.
44
UDCs and UDFs are created in a six bits per byte format for printers in Advanced mode, or in a one bit per byte format for printers in Emulation mode. You use a variety of IPL commands to create and define user-defined characters and fonts. After you write the command strings that create UDCs and UDFs, you download the command strings to the printer and save them to the printer memory.
If you look closely at the previous table, you can see that it is the outline of a diamond with a line down the middle and the upper right corner blacked in. To create a user-defined character for Emulation mode 1 Draw your design on a piece of graph paper. This procedure uses the next illustration as an example:
45
2 Convert each of the squares to either a one or a zero, where the blank boxes are zeros and the filled-in boxes are ones. Type these into a text file column by column, as shown here.
000000010000000 000000111000000 000001011100000 000010011110000 000100011111000 001000011111100 010000011111110 100000011111111 010000010000010 001000010000100 000100010001000 000010010010000 000001010100000 000000111000000 000000010000000
3 Read the pattern of ones and zeros down each column starting at the top left corner. The first column on the left becomes the data for the u0 command line:
u0,000000010000000
The second column becomes the data for the u1 command line:
u1,000000111000000
4 In a new text file, type the command line for all 15 columns, prefacing each line with un:
u0,000000010000000 u1,000000111000000 u2,000001010100000 u3,000010010010000 u4,000100010001000 u5,001000010000100 u6,010000010000010 u7,111111110000001 u8,011111110000010
46
5 Before the u0 command line, create IPL command strings that place the printer in Emulation mode, in Program mode, and define the bitmap as a UDC with field number 3:
<STX><ESC>c<ETX> <STX>P<ETX> <STX>G3;x15;y15<ETX>
6 Add the ASCII start of text and end of text (<STX> and <ETX>) characters to the un command lines. 7 Add a command string to place the printer in Print mode:
<STX>R<ETX>
8 Send the file to the printer. The UDC is created and assigned font 3. When you specify data for a graphic field in a format, assign c3 to the field to print this graphic in that field. Example of UDC for Emulation Mode
Command Line
<STX><ESC>c<ETX> <STX><ESC>P<ETX> <STX>G3;x15;y15;<ETX> <STX>u0,000000010000000;<ETX> <STX>u1,000000101000000;<ETX> <STX>u2,000001000100000;<ETX> <STX>u3,000010000010000;<ETX> <STX>u4,000100000001000;<ETX> <STX>u5,001000000000100;<ETX> <STX>u6,010000000000010;<ETX> <STX>u7,111111111111111;<ETX> <STX>u8,011111110000010;<ETX> <STX>u9,001111110000100;<ETX> <STX>u10,000111110001000;<ETX> <STX>u11,000011110010000;<ETX> <STX>u12,000001110100000;<ETX> <STX>u13,000000111000000;<ETX> <STX>u14,000000010000000;<ETX> <STX>R;<ETX>
Description Places the printer in Emulation mode Places the printer in Program mode Creates UDC and assigns it font 3. Defines column 0 Defines column 1 Defines column 2 Defines column 3 Defines column 4 Defines column 5 Defines column 6 Defines column 7 Defines column 8 Defines column 9 Defines column 10 Defines column 11 Defines column 12 Defines column 13 Defines column 14 Saves the graphic and places the printer in Print mode
47
Definition Selects 86XX Emulation mode Enters Program mode Creates bitmap font 11 Defines cell width and height Creates character 36 ($), character width is 12 Defines column 0 Defines column 1 Defines column 2 Defines column 3 Defines column 4 Defines column 5 Defines column 6 Defines column 7 Defines column 8
48
Definition Defines column 9 Creates character 105 (i), character width is 4 Defines column 4 Defines column 5 Saves and exits to Print mode
49
2 Convert each of the squares to either a one or a zero, where the blank boxes are zeros and the filled-in boxes are ones. Type these into a text file column by column, as shown here:
000000010000000 000000111000000 000001011100000 000010011110000 000100011111000 001000011111100 010000011111110 100000011111111 010000010000010 001000010000100 000100010001000 000010010010000 000001010100000 000000111000000 000000010000000
3 Starting from the top row, divide each vertical column into groups of six digits. If the bottom group has less than six digits, add zeros to this group until it also has six.
000000010000000 000000111000000 000001011100000 000010011110000 000100011111000 001000011111100 010000011111110 100000011111111 010000010000010 001000010000100 000100010001000 000010010010000 000001010100000 000000111000000 000000010000000 000000000000000 000000000000000 Zeros added 000000000000000
The six digits in each group are the six bits that you download in a byte of data. The top digit of each group is bit 0, the bottom digit is bit 5. 4 To complete the bit, add ones in the bit 6 position, and then add zeros in the bit 7 position so that each group now has eight digits.
50
000000010000000 000000111000000 000001011100000 000010011110000 Group 1 000100011111000 001000011111100 111111111111111 000000000000000 010000011111110 100000011111111 010000010000010 001000010000100 Group 2 000100010001000 000010010010000 111111111111111 000000000000000 000001010100000 000000111000000 000000010000000 000000000000000 Group 3 000000000000000 000000000000000 111111111111111 000000000000000
5 Starting with the first group of 8 bits in the first column, reverse the order of each group so that bit 0 is now last and bit 7 is first. One way to see this quickly is to imagine rotating each group 90 clockwise, as shown in the next illustration:
Group 1 Group 2 Group 3
01000000 01000000 01100000 01010000 01001000 01000100 01000010 01111111 01111110 01111100 01111000 01110000 01100000 01000000 01000000
Bit 7 Bit 0
01000010 01000101 01001000 01010000 01100000 01000000 01000000 01111111 01000011 01000011 01100011 01010011 01001011 01000111 01000010
Bit 7 Bit 0
01000000 01000000 01000000 01000000 01000000 01000001 01000010 01000111 01000010 01000001 01000000 01000000 01000000 01000000 01000000
Bit 7 Bit 0
Reading from left to right, each line is now made up of three eight-digit groups, and each group represents an ASCII character in binary form.
51
6 Translate each line into a string of three ASCII characters. For a list of ASCII characters and binary equivalents, see Full ASCII Table on page 76. For example, reading from left to right, the first line is:
01000000 01000010 01000000
The equivalent ASCII characters are @B@. The entire format should look like this:
@B@ @E@ `H@ PP@ H`@ D@A B@B <DEL><DEL>G ~CB |CA xc@ pS@ `K@ @G@ @B@
7 In a new text file, write command strings to place the printer in Advanced mode and then in Program mode:
<STX><ESC>C<ETX> <STX><ESC>P<ETX>
8 Write a command string to create a user-defined character, and define its size as 15 x 15 dots:
<STX>G1;x15;y15<ETX>
9 Add command strings for the graphic format you created in step 6. Place the ASCII start of text character at the beginning of each line, followed by the Graphic or UDC, Define command syntax (u). Number each line from 0 to 14, and then add the ASCII end of text character to the end of the line:
<STX>u0,@B@<ETX> <STX>u1,@E@<ETX> <STX>u2,`H@<ETX> <STX>u3,PP@<ETX> <STX>u4,H`@<ETX> <STX>u5,D@A<ETX> <STX>u6,B@B<ETX> <STX>u7,<DEL><DEL>G<ETX> <STX>u8,~CB<ETX> <STX>u9,|CA<ETX> <STX>u10,xc@<ETX> <STX>u11,pS@<ETX> <STX>u12,`K@<ETX> <STX>u13,@G@<ETX> <STX>u14,@B@<ETX>
52
11 Save the text file and send it to the printer. The graphic can now be used in a label format. 12 To print the graphic, send this set of command strings:
<STX><ESC>C<ETX> <STX><ESC>P<ETX> <STX>E4;F4<ETX> <STX>U1;o100,100;c2;w20;h20;<ETX> <STX>R;<ETX> <STX><ESC>E4<ETX> <STX><ETB><ETX>
The next table lists the complete command string set for the UDC example. Command Strings for User-Defined Character Example
Command
<STX><ESC>C<ETX> <STX><ESC>P<ETX> <STX>G1;x15;y15<ETX> <STX>u0,@B@<ETX> <STX>u1,@E@<ETX> <STX>u2,`H@<ETX> <STX>u3,PP@<ETX> <STX>u4,H`@<ETX> <STX>u5,D@A<ETX> <STX>u6,B@B<ETX> <STX>u7,<DEL><DEL>G<ETX> <STX>u8,~CB<ETX> <STX>u9,|CA<ETX> <STX>u10,xc@<ETX> <STX>u11,pS@<ETX> <STX>u12,`K@<ETX> <STX>u13,@G@<ETX> <STX>u14,@B@<ETX> <STX>R<ETX> <STX><ESC>C<ETX> <STX><ESC>P<ETX> <STX>E4;F4<ETX>
Definition Places the printer in Advanced mode Places the printer in Program mode Creates UDC 1, 15 rows by 15 columns Defines column 0 Defines column 1 Defines column 2 Defines column 3 Defines column 4 Defines column 5 Defines column 6 Defines column 7 Defines column 8 Defines column 9 Defines column 10 Defines column 11 Defines column 12 Defines column 13 Defines column 14 Saves and exits to Print mode Places the printer in Advanced mode Places the printer in Program mode Erases current format 4 and creates new format 4
53
Definition Creates graphic field 1, origin of 100,100, uses graphic 1, and magnifies it by a factor of 20 Saves and exits to Print mode Selects format 4 Prints the format
54
3 Write a command string that defines the width and height for cells that contain characters in this font. For this example, the width and height are defined as 10 and 14 dots respectively:
<STX>x10;y14<ETX>
4 Write a command string that creates the specific ASCII character and defines the width of that character. For this example, the user-defined graphic corresponds to the $ symbol (ASCII character 36) and has a width of 12 dots:
<STX>t36;z12<ETX>
5 Add command strings for the character format you created earlier. Place the ASCII start of text character at the beginning of each line, followed by the Graphic or UDC, Define command syntax (u). Number each line from 0 to 14, and then add the ASCII end of text character to the end of the line:
<STX>u0,|q@;<ETX> <STX>u1,~sA;<ETX> <STX>u2,FcA;<ETX> <STX>u3,FcA;<ETX> <STX>u4,<DEL><DEL>C;<ETX> <STX>u5,<DEL><DEL>C;<ETX> <STX>u6,FcA;<ETX> <STX>u7,FcA;<ETX> <STX>u8,N<DEL>A;<ETX> <STX>u9,L~@;<ETX>
6 Repeat steps 4 and 5 for each character in your user-defined font. You must create and download all characters in a user-defined font at the same time. If you try to add other user-defined characters to an already existing user-defined font, you erase previously created characters. 7 Write a command string to place the printer in Print mode:
<STX>R<ETX>
55
The user-defined font can now be used in a bar code label. You can specify the user-defined font for a human-readable or interpretive field. Characters in data you specify for those fields are mapped to the user-defined font. The next table lists the complete command string set for the user-defined font in this example. Command Strings for User-Defined Font Example
Commands
<STX><ESC>C<ETX> <ESC>P;<ETX> <STX>T3,FONT3<ETX> <STX>x10;y14;<ETX> <STX>t36;Z12;<ETX> <STX>u0,|q@;<ETX> <STX>u1,~sA;<ETX> <STX>u2,FcA;<ETX> <STX>u3,FcA;<ETX> <STX>u4,<DEL><DEL>C;<ETX> <STX>u5,<DEL><DEL>C;<ETX> <STX>u6,FcA;<ETX> <STX>u7,FcA;<ETX> <STX>u8,N<DEL>A;<ETX> <STX>u9,L~@;<ETX> <STX>R;<ETX>
Definitions Selects Advanced mode Enters Program mode Create bitmap font 3 Define cell width (10) and cell height (14) Create ASCII character 36 ($), define character width as 12 Defines column 0 Defines column 1 Defines column 2 Defines column 3 Defines column 4 Defines column 5 Defines column 6 Defines column 7 Defines column 8 Defines column 9 Saves and exits to Print mode
56
This chapter discusses topics for advanced IPL programmers and includes these sections: Using the Printer Memory Efficiently Reimaging Modified Fields Using Emulation Mode Using Direct Graphics Mode
57
58
where n is the format ID to be edited, and 1 specifies that only the changed fields should be reimaged. For more information, see the Format, Select command in the IPL Command Reference Manual. 3 Print the label to see if throughput is improved.
59
Print resolution is in 10 mil dots. RFID commands are not available. Two IPL commands place the printer in Emulation mode: Emulation or Advanced Mode on Power-Up Emulation Mode, Enter The following table lists all the IPL commands that work when the printer is in Emulation mode. IPL Commands and Emulation Mode
IPL Command Name 12 Volt Supply Value, Transmit Abort Print Job Advanced Mode, Select Alphanumeric Field Separator Auto-Transmit 1, Enable Auto-Transmit 2, Enable Auto-Transmit 3, Enable Auto-Transmit 1, 2, and 3, Disable Bar Code, Select Type Bar Code Field, Create or Edit Batch Count, Set Bitmap Cell Height for Graphic or UDF, Define Bitmap Cell Width for Graphic or UDF, Define Bitmap User-Defined Font, Clear or Define Border Around Human-Readable Text, Define Box Field, Create or Edit Character Bitmap Origin Offset, Define Character Rotation or Bar Code Ratio, Define Clear All Data Clear Data From Current Field Code 39 Prefix Character, Define Command Tables, Load Command Terminator Command Terminator 1 Command Terminator 2 Communication Port Configuration, Set Configuration Parameters, Transmit Control Panel Access Permission, Set Current Edit Session, Save Cut Syntax
U <EM> <ESC>C <GS> <ESC>j <ESC>d <ESC>e <ESC>k c B <US> y x T b W X r <CAN> <DEL> p C ; <NUL> <LF> <SI>P <ESC>p <SI>A N <SO>
60
<SI>c K <SI>d <SUB> e <ESC>g <ESC>c <SI>C <SI>D <BEL> D D <ESC>F d <ESC>D f <ESC>I o <ACK> <ESC>v Z c <FF> A or F E <ESC>E <ESC>x q O m M f c u h h H <SI>I <ESC>N <SYN> z I
61
I <ESC> L <SI>f <SI>R <SI>r <SI>T T l L <SI>L <SI>e <SI>g <ESC>m <ESC><SYN> <CR> <SI>I <FS> <ESC>O J j S s <ESC>G <ESC>y p <SI>p C g k <EOT> <SOH> <ETB> Q <SI>S <SI>l <SI>h <ESC>H P <ESC>P R <ESC>M <RS>
62
M <ESC>Q <DLE> <SI>t <SI>z s <ESC><SP> <VT> <ENQ> <SI>b <ESC>T R <SI>F G g G U <ESC>u t t <ESC>Z <BS> w
63
When printing a label with direct graphics, you must have enough dynamic RAM installed in your printer to contain the entire label. Because Intermec printers normally reuse image bands, you can print long labels with standard RAM; however, when you download direct graphics, the printer retains no information regarding the existence of the graphic in its image bands. Therefore, the printer cannot reuse those image bands when you download a direct graphic. With standard memory, you should be able to print almost any label up to 15.2 cm (6 in) long. You may need to install more memory for longer labels.
Immediate Commands
Recognized and executed as regular IPL commands or protocol commands. Syntax is removed from compressed data. Byte format (7-0): 000xxxx Range is 0 to 31
64
Bitmap Data
Composed of uncompressed bytes (7 data bits per byte) that represent columns of your graphic. 8th bit is always set to 1. Byte format (7-0): 1xxxxxx Range: 128 to 255 Data represented: Raw data
65
25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 . . . . . . 19
450 . . . . . . . 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Origin (0,0)
0,450
19,450
Direct Graphics Commands: This example shows how the printer loads information in Direct Graphics mode.
The next table explains the hex data file in the example. Hex Data Commands in Example
Data 1B 67 30 21 80 43 C2 Command <ESC>g0 0x21 80 43 C2 Description Enter Direct Graphics mode Change origin 80 - 80 (LO) = 0x00 -> X0 43 - 40 (HI) = 0x03 C2 - 80 (LO) = 0x42 (0x03 0x80) + 0x42 = 1C2 -> Y450
66
26 84 96 22
22 26 8C 84 22
24 82 25 88 22
21 93 43 C2
25 43 C2
0x25 43 C2
28
0x28
Designing Pages
A page is a collection of one or more formats that you combine to print at the same time. This feature is helpful when you need to print several different labels for an application at once. For example, you may need to attach one type of label to a product and a different type of label to its container. With the page printing capability, you can print both labels at the same time. Because you can print pages of several formats at once, you can also print labels on media rolls that have different sizes and shapes of labels already precut. When you group label formats into a page, you assign the formats to positions designated by the letters a through z. You can print the formats used in pages independent of each other.
67
68
Troubleshooting
This chapter describes the problems that may occur as a result of using IPL commands incorrectly. If you do not find your problem listed here, see the troubleshooting information in your printer users manual.
69
Chapter 5 Troubleshooting
Troubleshooting Checklist
If you receive an error message from the printer or have problems while operating the printer, follow the next procedure to troubleshoot the printer. To troubleshoot your printer 1 Send the Error Code, Request command (syntax <BEL>) to the printer and see if the printer returns an error message. 2 If the printer returns an error message, find it in the section called Interpreting Error Codes and Solving Problems on page 72. Follow the instructions in the table to correct the problem. If the printer does not return an error message, try to locate the symptom in the Printer Operation Problems and Print Quality Problems sections of the printer users manual. Follow the instructions in the manual to correct the problem. 3 Clean the printer components and check all connections. For more information, see the users manual for your printer. 4 If the problem persists, contact Intermec Product Support (1-800-7555505) in North America. If you are an international customer, contact your local Intermec representative.
Syntax Errors
The printer responds to syntax errors in the messages it receives from the host by attempting to execute the commands. It does not ignore a command with a syntax error; instead, the printer produces output, even if it is wrong. This output helps determine what went wrong and what should be done to correct the problem. For more information on command syntax, see the IPL Command Reference Manual.
Parameter Errors
Certain commands require optional parameters. If you do not supply these parameters, the printer substitutes default values. If a parameter is above its maximum range limit, the printer uses the maximum value. If it falls below the minimum range, the printer uses the minimum value. See the IPL Command Reference Manual for the range and default value for each command.
70
Chapter 5 Troubleshooting
71
Chapter 5 Troubleshooting
11 12 21 22 25 26 27 28 33 34 35 36 37 38 41 42
43
46
Undefined statement.
72
Chapter 5 Troubleshooting
53 54 55 56 57 60 61
62
63 64
65
66
67
68
69
Verify that the UDC/UDF bitmap cell height/width or intercharacter space is within the specified values for n. For more information, see these commands in the IPL Command Reference Manual: Bitmap Cell Height for Graphic or UDF, Define User-Defined Character Field, Create or Edit Intercharacter Space for UDF, Define Not enough room in RAM to store UDC or UDF. Remove or reduce formats, fonts, or UDCs. Invalid UDC command syntax. Correct the UDC command syntax. Not enough room in RAM to store downloaded Add more printer RAM. font. Flash file system error. Invalid parameter. Correct the syntax. No RFID support. The printer is unable to access the RFID module. Contact your local Intermec representative. No RFID tag found. The RFID module has determined that the printer does not have RFID media loaded. Load RFID media. Verify that the TAGADJUST value aligns the tag over the antenna. For help, see the RFID Parameters, Set command in the IPL Command Reference Manual. Access outside of the RFID tag memory. The defined RFID tag field specifies a position outside of the tags memory or the tag read/write operation was not successful (bad tag). Verify that the field specifies a position within the tags memory. For help, see the RFID Tag Field Setup command in the IPL Command Reference Manual. RFID number conversion error. You have entered an invalid hex or numerical (NUM) format in the data string. Enter a valid value. RFID inactive (off ). You have a printer with an RFID module and you have defined RFID commands, but you have turned RFID mode off. Turn RFID mode on. For help, see the RFID Parameters, Set command in the IPL Command Reference Manual. RFID tag type does not support the selected An application has sent a command with an argument that option. is not supported by the printers tag type. Verify that the application commands match the printers tag type. RFID module overheated. The printer RFID module has exceeded its recommended operating temperature and shut down automatically. Wait until the module has cooled to the recommended operating temperature before you try to print tags again. RFID module duty cycle exceeded. The printer RFID module has exceeded its recommended duty cycle and shut down automatically. You may need to check the RFID module settings. For help, see the Basic Reader Interface (BRI) Programmers Reference Manual (P/N 937-000-xxx). RFID lock error. You are trying to write data to a locked RFID tag. Use the RFID Tag Protect command to unlock the tag and try again. RFID Access error. Check the syntax for the RFID Tag Write Field, Create or Edit command.
73
Chapter 5 Troubleshooting
If you are using a PF/PM/PX series printer, and are having trouble printing Code 39 labels designed for an 86XX printer, use the Emulation or Advanced Mode on Power-Up command to place the printer in Legacy Emulation mode. In this mode: Code 39 characters are interpreted as 86XX-compatible Code 39 characters. For example, the characters $, / +, and % are encoded as $, /, +, and % instead of as /D, /O, /K, and /E. Fonts 23 and 24 are bitmap fonts instead of TrueDoc fonts. Fonts 25, 26, and 28 are Speedo fonts instead of TrueDoc fonts. Fonts 20, 21, 22, and 30 through 41 are generated from the corresponding Speedo fonts. For more information, see the Emulation or Advanced Mode on PowerUp command in the IPL Command Reference Manual.
74
This appendix contains the full ASCII chart, with binary, hexadecimal, and Code 39 equivalents, and an ASCII control character chart. The appendix also includes tables that show which hex codes to download for international characters not available in the U.S. character set.
75
76
Notes: 0 Bit positions are 76543210. 1 Hexadecimal value 2 ASCII character 3 SP is the SPACE character. 4 The Code 39 characters /P through /Y may be interchanged with the numbers 0 through 9. 5 May be interchanged with %X or %Y or %Z. 6 n is the DELETE character.
77
78
79
80
04
00
01
02
03
05
06
10
11
12
13
14
15
16
17
18
19
1A
1B
1C
!
20 21
22
"
#
23
$
24
%
25
&
26
'
27
(
28
)
29
+
2B
,
2C
2A
0
30
1
31
2
32
3
33
4
34
5
35
6
36
7
37
8
38
9
39
:
3A
;
3B
<
3C
@ A B C D E F G H I
40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58
49
4A
4B
K L M N O
4C 4D 4E 4F 5C
P Q R S T U V W X Y
59
5A
Z [ j
5B
`
60
61
a b 62 r
72 82
63
64
d e f66 g 65 67 u
75 85
68
69
6A
6B
6C
l m n o 6D 6E 6F }
7D 7E
p q
70 71 80 81
s t
73 74 83 84
v w
D6 77 E6 87
x y
78 79 88 89
z
7A 8A
{
7B 7C 8B 8C
90 91
94
97 98 99 9A
92
93
95 F6
9B
9C
X
9D 9E AD
A0
A1
A2
A3 B3
A4
a o
A5 A6 A7
A8 B8
A9 B9
AA
1 /2 AB
1 /4 AC
B0
B1
B2
B4
B5 B6 B7
C5 C6
BA
BB
BC
C0
C1
C2
C3
C4
C7
C8
C9
CA
CB
CC
D0
D D2 D3 D4
D1 E1 E2 E3 E4
D5
D6
D7
D8
D9
DA
DB
DC
E0 E5
E6
E7
y
E8 E9 EA EB F8 F9 FA FB
EC
F0
F1
F2
3 4
F3
F4
F5
F6 F7
FC
07 08 09 0A 0B 0C 0D 1D 0E 1E 0F 1F
2D
.
2E 2F
=
3D
>
3E
?
3F
]
5D 5E
5F
7F
8D
8E
8F
9F
AE
AF
BD
BE CE
BF
CD
CF
DD
DE
DF
Y ED EE FD
EF
FE
FF
[Link]
81
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
21
22
23
24
25
26
27
28
29
2A
2B
2C
2D
2E
2F
31
32
33
34
35
36
37
38
39
3A
3B
3C
3D
3E
3F
41
42
43
44
45
46
47
48
49
4A
4B
4C
4D
4E
4F
51
52
53
54
55
56
57
58
59
5A
5B
5C
5D
5E
5F
61
62
63
64
65
66
67
68
69
6A
6B
6C
6D
6E
6F
71
72
73
74
75
76
77
78
79
7A
7B
7C
7D
7E
7F
81
82
83
84
85
86
87
88
89
8A
8B
8C
8D
8E
8F
91
92
93
94
95
96
97
98
99
9A
9B
9C
9D
9E
9F
A1
A2
A3
A4
A5
A6
A7
A8
A9
AA
AB
AC
AD
AE
AF
B1
B2
B3
B4
B5
B6
B7
B8
B9
BA
BB
BC
BD
BE
BF
C1
C2
C3
C4
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
D1
D2
D3
D4
D5
D6
D7
D8
D9
DA
DB
DC
DD
DE
DF
E1
E2
E3
E4
E5
E6
E7
E8
E9
EA
EB
EC
ED
EE
EF
F1
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
FD
FE
FF
[Link]
82
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
!
2 21
" # $ % &
22 23 24 25 26 27
(
28
)
29
*
2A
+
2B
,
2C
2D
.
2E
/
2F
0
3
1
31
2
32
3
33
4
34
5
35
6
36
7
37
8
38
9
39
:
3A
;
3B
<
3C
=
3D 4D
>
3E 4E
?
3F
@
4
A
41
B
42
C
43
D
44
E
45
F
46
G
47 57
H
48 58
I
49
J
4A
K
4B
L
4C
M N ]
5D 5E
O
4F
P
5
Q
51
R
52
S
53
T
54
U
55
V
56
W X g
67
Y
59
Z
5A
[
5B
\
5C
_
5F
`
6
a
61
b
62
c
63
d
64
e
65
f
66
h
68
i
69
j
6A
k
6B
l
6C
m n
6D 6E
o
6F
p
7
q
71
r
72
s
73
t
74
u
75
v
76
w x
77 78
y
79
z
7A
{
7B 7C
}
7D
7E 7F 8E 8F
81
82
83
84
85
86
87
88
89
8A
8B
8C
8D
91
92
93
94
95
96
97
98
99
9A
9B
9C
9D
9E
9F
A A1
A2
A3
A4 A5
| |
A6
A8
A9
a
AA
AB
AC
AD
AE
AF
B B1
2
B2
3
B3
B4
B5 C5
B6 C6
A7
B8
1
B9
0
BA
BB
1 4
BC
1 2
BD
3 4
BE
BF
B7
C D
C1 D1
C2 C3 D2 D3
C4 D4
C7
C8 D8
C9 D8
CA DA
CB DB
CC DC
CD
CE
CF
D
E
D5
D6
D7
E8
EA
Y
EC
I
DE
DF
DD
E1
E2
E3
E4
E5
E6
E7
E9
EB
ED
EE
EF
~ o
F
F1
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
y
FD
Io
FE
FF
83
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
21
22
23
24
25
26
27
28
29
2A
2B
2C
2D
2E
2F
31
32
33
34
35
36
37
38
39
3A
3B
3C
3D
3E
3F
41
42
43
44
45
46
47
48
49
4A
4B
4C
4D
4E
4F
51
52
53
54
55
56
57
58
59
5A
5B
5C
5D
5E
5F
61
62
63
64
65
66
67
68
69
6A
6B
6C
6D
6E
6F
71
72
73
74
75
76
77
78
79
7A
7B
7C
7D
7E
7F
81
82
83
84
85
86
87
88
89
8A
8B
8C
8D
8E
8F
91
92
93
94
95
96
97
98
99
9A
9B
9C
9D
9E
9F
A1
A2
A3
A4
A5
A6
A7
A8
A9
AA
AB
AC
AD
AE
AF
B1
B2
B3
B4
B5
B6
B7
B8
B9
BA
BB
BC
BD
BE
BF
C1
C2
C3
C4
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
D1
D2
D3
D4
D5
D6
D7
D8
D8
DA
DB
DC
DD
DE
DF
E1
E2
E3
E4
E5
E6
E7
E8
E9
EA
EB
EC
ED
EE
EF
F1
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
FD
FE
FF
[Link]
84
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
21
22
23
24
25
26
27
28
29
2A
2B
2C
2D
2E
2F
31
32
33
34
35
36
37
38
39
3A
3B
3C
3D
3E
3F
41
42
43
44
45
46
47
48
49
4A
4B
4C
4D
4E
4F
51
52
53
54
55
56
57
58
59
5A
5B
5C
5D
5E
5F
61
62
63
64
65
66
67
68
69
6A
6B
6C
6D
6E
6F
71
72
73
74
75
76
77
78
79
7A
7B
7C
7D
7E
7F
81
82
83
84
85
86
87
88
89
8A
8B
8C
8D
8E
8F
91
92
93
94
95
96
97
98
99
9A
9B
9C
9D
9E
9F
A1
A2
A3
A4
A5
A6
A7
A8
A9
AA
AB
AC
AD
AE
AF
B1
B2
B3
B4
B5
B6
B7
B8
B9
BA
BB
BC
BD
BE
BF
C1
C2
C3
C4
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
D1
D2
D3
D4
D5
D6
D7
D8
D8
DA
DB
DC
DD
DE
DF
E1
E2
E3
E4
E5
E6
E7
E8
E9
EA
EB
EC
ED
EE
EF
F1
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
FD
FE
FF
[Link]
85
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
!
2 21
" # $ % &
22 23 24 25 26 27
(
28
)
29
*
2A
+
2B
,
2C
2D
.
2E
/
2F
0
3 4
1
31 41
2
32
3
33 43
4
34 44
5
35 45
6
36
7
37 47
8
38 48
9
39
:
3A
;
3B
<
3C
=
3D 4D
>
3E 4E
?
3F 4F
@ A P
5 51
B
42 52
C D E T
54 53 55
F
46 56
G H W X
57 58
I
49
J
4A
K
4B
L
4C
M N O ]
5D
Q R S a
61
U V e
65
Y
59
Z
5A
[
5B
\
5C
^
5E
_
5F
`
6
b
62
c
63
d
64
f
66
g
67
h
68
i
69
j
6A
k
6B
l
6C
m n
6D 6E
o
6F
p
7
q
71
r
72
s
73
t
74
u
75
v
76
w x
77 78
y
79
z
7A
{
7B 7C
}
7D
~
7E 7F
,
8 81 82
83
84
9 91
92
93
...
85 86
87 97
88 89 8A 8B 98 99 9A 9B
8C 8D 9C 9D
Z
8E 8F
95 A5
~
96
AB
z
9E 9F
94
A A1
A2
A3
A4
| |
A6
A8
A9
a
AA
AC
AD
AE
AF
B B1
2
B2
3
B3
B4
B5 C5
B6 C6
A7
B8
1
B9
0
BA
BB
1 4
BC
1 2
BD
3 4
BE
BF
B7
C D
C1 D1
C2 C3 D2 D3
C4 D4
C7 C8
C9 CA D8 DA
CB DB
CC DC
CD DD
CE
CF
D
E
D5
D6 E6
D7
D8
EA
Y
EC
I
DE
DF
E1
E2
E3
E4
E5
E7
E8
E9
EB
ED
EE
EF
~ o
F
F1
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
y
FD
Io
FE
FF
86
This chapter contains the user-defined interface tables, which you may need when programming with IPL. These tables show commands in the order that you must download them when you replace the User-Defined Command/Protocol characters. A table is shown for each type of command specified by a value for t.
87
Print Commands (t = 0)
This list shows the Print Mode commands in the order you must download them when you are replacing the command codes. Print Commands (t = 0)
Default Print Command NUL SOH EOT ENQ ACK BEL BS LF VT FF CR SO SI DLE SYN ETB CAN EM SUB ESC FS GS RS US DEL Hex Value 00 01 04 05 06 07 08 0A 0B 0C 0D 0E 0F 10 16 17 18 19 1A 1B 1C 1D 1E 1F 7F Print Command Description Command Terminator 1 Set Preamble Set Postamble Status Inquiry Select First Data Entry Field Transmit Error Code Warm Boot Command Terminator 2 Status Dump Form Feed Select Next Data Entry Field Label Cut Command Go to Shift Command Table Reset Set Intercharacter Delay Print Clear All Data Abort Print Job Data Shift Go to Escape Command Table Numeric Field Separator Alphanumeric Field Separator Set Quantity Count Set Batch Count Clear Data From Current Field
88
89
90
*Some older Intermec printers may not support this entry. **The status responses in the above table are for standard protocol. In XON/XOFF protocol, most of the status responses are the same; however, instead of DC1, the status response is DC2, and instead of DC2, the status response is DC4. See your printer users manual for more information about protocols and status responses.
91
Protocol Commands (t = 4)
This list contains the protocol codes in the order you must download them. Protocol Commands (t = 4)
Command Characters GS FS EOT ENQ STX ETX ACK NAK DLE DC1 DC3 GS FS EOT ENQ STX ETX ACK NAK DLE DC1 DC3 ENQ VT 20 (ms) (Range: 0 - 255) Hex Value 1D 1C 04 05 02 03 06 15 10 11 13 1D 1C 04 05 02 03 06 15 10 11 13 05 0B 14 Command Description SELECT IN POLL IN RES IN REQ IN SOM IN EOM IN AFF IN NEG IN DLE IN XON IN XOFF IN SELECT OUT POLL OUT RES OUT REQ OUT SOM OUT EOM OUT AFF OUT NEG OUT DLE OUT XON OUT XOFF OUT Proto-Cmd 1 Proto-Cmd 2 Timeout on EOM ACK
92
STX ETX
STX ETX
DLE
NAK DLE
ENQ VT
DC4
DC4
93
94
Index
95
Index
Symbols
86XX Emulation mode IPL commands supported, 60 using, 59 86XX-compatible Code 39, 74
A
advanced character table, 79 ASCII control codes, using, 4 table of character equivalents, 76 table of control characters, 78 text file, creating from IPL commands, 6 Asian fonts, 4243 installing code page tables, 42 RAM requirements for bitmap, 43 auto-transmit commands, downloading order, 91
B
communications commands, described, 2 communication protocol characters, 93 configuration commands, described, 3 control characters table of full ASCII, 78 using, 4 control codes, 4 creating bitmap fonts from TrueType, 44 one bit per byte user-defined graphics, 45 six bits per byte user-defined fonts, 54 six bits per byte user-defined graphics, 49 user-defined bitmap graphics, 44
D
bar code fields, 11 bitmap data, in run-length encoding, 65 bitmap fonts described, 38 downloading with IPL commands, 40 downloading with PrintSet, 39 generating from TrueType, 41, 44 box fields, 12
C
changing operating modes, 7 character tables advanced, 79 Code Page 850, 81 extended, 82 IBM translation, 80 international, 79 Code 39 equivalents, for ASCII characters, 76 Code Page 850 character table, 81 code pages installing, 42 tables, list of, 79 where to find, 42 codes, error, 72 command strings, 3 ASCII control codes or characters, 4 examples, 5 sample label format, 24 saving as text file, 6 sending text file to printer, 6 command terminator character, 4 commands. See IPL commands
data, specifying for fields, 1821 changing, example, 19 defaults for field 0, 12 deleting fields, 15 description of IPL commands, 2 designing label formats, example, 22 pages, 67 determining print position of a field, 15 Direct Graphics mode, 63 commands, using, 65 example, 65 dots per mm by printhead size, 15 downloading code pages, 42 commands, interface tables, 8893 fonts using IPL commands, 40 with PrintSet, 39 graphics one bit per byte, 45 six bits per byte, 49 IPL commands, 6 user-defined fonts, for Emulation mode, 48
E
editing fields, 12 Emulation mode, 59 commands supported, 6063 described, 5963 IPL commands supported, 60 Legacy mode, for 86XX-compatible Code 39, 74 user-defined fonts, 48 using, 59 end of text character, 4 error codes, listed, 72 conditions, handling, 70
96
Index
error (continued) handling, printer, 70 image overrun, 71 insufficient storage memory, 71 invalid numeric character, 71 parameter, 70 syntax, 70 escape print commands, 89 examples ASCII control codes, in command string, 5 bar code label, illustrated, 10 changing data in label format, 19 complex labels, 28 Direct Graphics mode, 65 graphics, using, 30 line and box fields, using, 28 Next Data Entry Field, in label format, 20 RFID tag, 33 rotated fields, using, 30 sample label format, 22 simple command string, 3 extended character sets, 82
F
downloading with IPL commands, 40 downloading with PrintSet, 39 generating bitmap from TrueType, 41, 44 licensing, 44 magnifying, 17 memory needed, 41 one bit per byte, creating, 48 outline, described, 38 RAM requirements, 41 six bits per byte, creating, 54 TrueDoc, 38 TrueType, 41 user-defined, for Advanced mode, 54 user-defined, for Emulation mode, 48 formats. See label formats full ASCII control characters table, 78 table of characters, 76
G
field 0, working with, 1213 fields bar code, defined, 11 box, defined, 12 data, specifying, 1821 deleting, 15 editing, 14 graphic, defined, 12 height, change magnification, 17 human-readable, defined, 11 interpretive fields, defined, 13 line, defined, 12 magnifying, 17 numbering, 13 origin, locating, 15, 23 positioning, 15 rotating, 16 scaling, 17 types, defined, 1012 user-defined character, defined, 12 width, change magnification, 17 working with fields, 12 flash memory. See memory fonts bitmap, described, 38 choosing type to use, 38 compared, 39 downloading, 3941 using PrintSet, 39
graphic fields, 12 graphics one bit per byte, for Emulation mode, 45 six bits per byte, downloading, 49 six bits per byte, for Advanced mode, 49 user-defined characters and fonts, 44
H
IBM translation character table, 80 image overrun errors, 71 immediate commands, described, 3 installing code page tables, 42 Intermec Printer Language. See IPL commands international character sets, hex codes, 79 interpreting error codes, 72 interpretive fields, 13 invalid numeric character errors, 71 IPL commands ASCII control characters, using, 4 basic procedure, 3 sending to printer, 6 structure, described, 3 types, 2 using to download fonts, 40 using to program printers, 3
J
97
Index
label formats command description, 32, 34 creating with IPL, 24 defined, 10 deleting fields, 15 editing, 12 editing fields, 14 example, 28, 30, 33 fields, numbering, 13 how to print, 3 origin of field, locating, 23 pages, designing, 67 positioning fields, 15 programming with IPL, 24 rotating fields, 16 sample, 22 using, 10 languages international character sets, 79 selecting on printer, 41 Legacy Emulation mode, 74 licensing fonts, 44 line fields, 12 low order data, in run-length encoding, 65
M
magnifying bar code fields, 18 character fields and fonts, 17 magnifying fields, 17 memory errors, 71 for TrueType fonts, 41 increasing amount available, 58 using efficiently, 58 Multi-Drop protocol, characters available, 93
N
pages, designing, 67 parameter errors, 70 Polling Mode D protocol, characters available, 93 positioning fields, 15 print commands, described, 2 Print mode commands, download order, 88 entering, 7 printers bitmap fonts, internal, 11 Emulation mode, 59 error conditions, 70 error handling, 70 memory, using efficiently, 58 operating modes, 7 outline fonts, compatibility, 38 printhead size, dots per mm, 15 programming, 3 RAM requirements, for fonts, 41 RAM, understanding, 58 selecting language, 41 storage memory, described, 58 troubleshooting, 70 printhead size, dots per mm, 15 PrintSet, using to download fonts, 39 problems and solutions, 7074 program commands, described, 3 Program mode, entering, 7 programming printers, described, 3 protocol commands, downloading, 92 protocols, characters available, 93
R
Next Data Entry Field, Select command, using, 20 numeric character errors, invalid, 71
O
one bit per byte fonts, creating, 48 one bit per byte graphics, creating, 45 operating modes for printers, 7 operating modes, changing, 7 origin of field described, 15 locating, 23 outline fonts Asian, 42 described, 38 downloading using IPL commands, 40
RAM increasing available, 58 requirements for fonts, 41 using efficiently, 58 reimaging modified fields, 59 RFID storing data on tags, 22 ASCII format, 22 Hex format, 22 numerical format, 22 working with tags, 21 writing data to tags, 21 RLE. See run-length encoding rotating fields, 16 run-length encoding, 6365
98
Index
scaling fields, 17 selecting the printer language, 41 sending IPL commands to the printer, 6 service commands, described, 3 shift print commands, 90 Simplified Chinese font, 42 six bits per byte format, for characters, 49 six bits per byte format, for fonts, 54 sizing fields, 17 specifying data for fields changing, example, 19 how to, 18, 20 standard protocol, characters available, 93 start of text character, 4 static RAM. See RAM status responses, downloading order, 91 storage memory. See memory switching printer operating modes, 7 syntax errors, 70
T
TrueDoc fonts, printer compatibility, 38 TrueType fonts code pages, installing, 42 licensing, 44 memory required, 41 printer language, choosing, 41
U
test and service commands, described, 3 Test and Service mode, entering, 7 Traditional Chinese font, 42 troubleshooting, 70
UDC, defined, 44 UDF, defined, 44 user-defined character fields, 12 user-defined characters Advanced mode, 49 creating, 44 Emulation mode, 45 one bit per byte, 45 six bits per byte, 49 user-defined fonts Advanced mode, 54 creating, 44 Emulation mode, 48 one bit per byte format, 48 six bits per byte format, 54
X
99
Index
100
Worldwide Headquarters 6001 36th Avenue West Everett, Washington 98203 U.S.A. tel 425.348.2600 fax 425.355.9551 [Link]
*934-013-002*
P/N 934-013-002









