Intermec EasyCoder PL3 Programmer's Reference Manual

Intermec EasyCoder PL3 Programmer's Reference Manual

Intermec easycoder pl3: reference guide
Hide thumbs Also See for EasyCoder PL3:
Table of Contents

Advertisement

Quick Links

Programmer's
Reference Manual
EasyCoder PL-Series
Printer

Advertisement

Table of Contents
loading

Summary of Contents for Intermec EasyCoder PL3

  • Page 1 Programmer's Reference Manual EasyCoder PL-Series Printer...
  • Page 2 The information contained herein is proprietary and 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.
  • Page 3 Document Change Record This page records changes to this document. The document was originally released as version 001. Version Date Description of Change 6/03 Changed Bluetooth information in Chapter 13. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 4 EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 5: Table Of Contents

    ....................1 Manual Conventions ......................2 Getting Printer Information ....................2 Communications Diagnostic Mode ..................5 Label Coordinate System ..................... 6 Intermec PLUS........................7 Printer Commands ........................9 Command Start Line ......................10 Printer Commands ......................10 Print Command ........................ 11 Form Command........................
  • Page 6 Contents Count Command ......................23 Setmag Command ......................24 Scalable Text ..........................27 What is Scalable Text? ....................... 28 Scale-Text Commands....................... 28 Scale-To-Fit Commands....................29 Scalable Concatenation Commands................... 30 Rotate Commands......................31 Linear Bar Codes ........................33 Bar Code Standards ......................34 Resident Linear Bar Code Samples ..................
  • Page 7 Contents Two-Dimensional Bar Codes ....................49 What is a Two-Dimensional Bar Code?................50 PDF417..........................50 MaxiCode.......................... 50 Two-Dimensional Bar Code Commands................51 PDF417 (Portable Data File)................51 MaxiCode......................52 Graphics ............................57 Box Command ........................58 Line Commands ........................ 59 Inverse-Line Commands....................
  • Page 8 Contents Prefeed Command......................76 Postfeed Command ......................77 Present-At Command ......................77 Country/Code Page Command ..................78 Using Format Files ......................79 Beep Command......................... 80 Line Print Mode .......................... 83 What is Line Print Mode?....................84 Special Commands Using the Utility Function..............84 Units Commands ......................
  • Page 9 Contents Advanced Utilities ........................95 What are the Advanced Utilities? ..................96 Version Utility........................96 Checksum Utility ......................97 DEL Utility ........................97 DIR Utility........................97 Define-File (DF) Utility ....................98 Type Utility........................98 Baud Utility........................99 Country/Code Page Utility....................99 Timeout Utility .......................
  • Page 10 Contents Configuration/Control Commands ................117 What are the Commands in This Chapter?..............118 Printing Parameter Values ....................118 Command Format......................119 getvar Command ....................119 setvar Command ....................119 do Command ..................... 120 Commands and Parameters ..................... 120 Application Parameters ..................120 appl.date....................
  • Page 11 Contents memory.flash_size.................. 132 memory.flash_free ................. 132 memory.ram_size................... 133 memory.ram_free .................. 133 Odometer Parameter ..................133 odometer.user_label_count..............133 Power Parameters ....................134 power.ascii_graph .................. 134 power.dtr_power_off ................134 power.inactivity_timeout............... 135 power.low_battery_timeout..............135 power.low_battery_shutdown..............135 power.low_battery_warning ..............136 power.percent_full................. 136 power.status................... 136 power.voltage..................
  • Page 12 Contents wlan.encryption_key1................149 wlan.encryption_key2................150 wlan.encryption_key3................150 wlan.encryption_key4................151 wlan.encryption_mode ................151 wlan.essid ....................152 wlan.kerberos.kdc .................. 152 wlan.kerberos.mode................153 wlan.kerberos.password ................. 153 wlan.kerberos.realm ................154 wlan.kerberos.username ................. 154 wlan.leap_mode..................155 wlan.leap_password ................155 wlan.leap_username................156 wlan.operating_mode ................156 wlan.power_save..................157 wlan.preamble ..................
  • Page 13 Contents International ISO Substitution Characters............... 174 CP850 Character Set ....................... 175 Latin 1 Character Set ....................... 176 Font Information ........................177 Font Heights ........................178 Fixed-Width Fonts ......................178 Proportional Width Fonts ....................179 Bar Code Quick Reference ....................183 Bar Code Quick Reference Table..................
  • Page 14 Contents EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 15: Before You Begin

    Safety Summary 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.
  • Page 16: Safety Icons

    Global Services and Support Warranty Information To understand the warranty for your Intermec product, visit the Intermec web site at http://www.intermec.com, click Support, and then click Warranty. Disclaimer of warranties: The sample code included in this document is presented for reference only.
  • Page 17: Who Should Read This Document

    Related Documents The Intermec web site at http://www.intermec.com contains many of our documents that you can download in PDF format. To order printed versions of the Intermec manuals, contact your local Intermec representative or distributor. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 18 Before You Begin xviii EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 19: Programming Introduction

    Programming Introduction This chapter covers • manual conventions. • getting printer information. • communications diagnostic mode. • label coordinate system. • Intermec PLUS. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 20: Manual Conventions

    This manual details the various commands in the Comtec Printer Language (CPL) that allow the programmer to use the built in text, graphics, bar code printing, and communications capabilities of Intermec portable printers. The following notation conventions are used throughout...
  • Page 21 End of report. Getting Printer Information: Example of the first report 4 5 6 11 12 13 14 15 1 2 3 4 5 6 7 8 9 0 Intermec PL4 V79/00 08/24/01 Serial Number: XXEC00-10-0042 xxQF00-10-0042 Unit Serial Number...
  • Page 22 Chapter 1— Programming Introduction PCMCIA/CF Adapter 1.0 Build Date: Jan 15 2003 Build Time: 12:09:01 Card Detected. Spectrum24 802.11b MAC Adress: 00:a0:f8:a3:50:99 Operating Mode: infrastructure Preamble Length: long Power Save: best 802.11b settings Encryption: 128-bit Authentication: open system Kerberos: off Stored ESSID: TJX_2100 Associated ESSID: TJX_2100 Wireless Communications section with 802.11b wireless option installed...
  • Page 23: Communications Diagnostic Mode

    Chapter 1— Programming Introduction Peripherals: MCR 2.00 LCD: Installed Expansion module: 0x1D 802.11/b PCMCIA 5V Other : 0F Power Management: In-activity Timeout:120 Secs Low-battery Timeout:60 Secs Remote(DTR) pwr-off:Enabled Voltage :6.98(179) Low-bat Warning :6.86(176) Low-bat Shut-down:6.55(168) Flash memory size Memory(0): Flash :2097151 Bytes :2097151 Bytes Maximum label size Label:...
  • Page 24: Label Coordinate System

    Additionally, a file with a “.DMP” extension containing the ASCII information is created and stored in the printer’s memory. You can view, clone, or delete the file using the Intermec PLUS application. For help, see the online help for the Intermec PLUS application.
  • Page 25: Intermec Plus

    It combines an intuitive graphically based user environment with powerful, but easily mastered, editing tools. You can load Intermec PLUS from the CD that came with your printer or from www.intermec.com. Intermec PLUS allows the creation of printable, fixed-size (pre-scaled) ™...
  • Page 26 Chapter 1— Programming Introduction Intermec PLUS also provides a powerful set of diagnostics tools. It is recommended that the Intermec PLUS documentation package be consulted for a more detailed description of the printer diagnostics available in this program. Intermec PLUS requires an IBM compatible personal computer, running Windows 95 or later.
  • Page 27: Printer Commands

    Printer Commands This chapter provides information on • Command start line. • Printer commands. • Print command. • Form command. • Journal command. • Units commands. • Using comments. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 28: Command Start Line

    Chapter 2— Printer Commands Command Start Line A label file always begins with the “!” character followed by an “x” offset parameter, “x” and “y” axis resolutions, a label length, and finally a quantity of labels to print. The line containing these parameters is referred to as the command start line.
  • Page 29: Print Command

    Chapter 2— Printer Commands First black bar or gap Maximum height = d – 1.5 mm (0.062 inch) Second black bar or gap {qty}: Quantity of labels to be printed. Maximum = 1,024. Example Input: Input (HELLO.LBL): ! 0 200 200 210 1 TEXT 4 0 30 40 Hello World FORM PRINT...
  • Page 30: Journal Command

    Chapter 2— Printer Commands where: {command}: FORM Example: In the following example, the printer executes a form feed after the label is printed. For information on setting printer behavior when the Form command is executed, see “SETFF Command” in Chapter 9. Input: FORM.LBL ! 0 200 200 3 1 IN-CENTIMETERS...
  • Page 31: Using Comments

    Chapter 2— Printer Commands Example Input 1: Input 1 (UNITS1.LBL): ! 0.3937 200 200 1 1 IN-INCHES T 4 0 0 0 1 cm = 0.3937" IN-DOTS T 4 0 0 48 1 mm = 8 dots B 128 1 1 48 16 112 UNITS T 4 0 48 160 UNITS FORM PRINT...
  • Page 32 Chapter 2— Printer Commands ; Center justify text CENTER ; Print the words 'A COMMENT' TEXT 5 1 0 5 A COMMENT ; Print the label and go to top of next form FORM PRINT Example Output: EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 33: Text

    Text This chapter provides samples of resident fonts and explains how to use the following commands: • Text commands • Text Concatenation commands • Multiline commands • Count command • Setmag command EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 34: Resident Font Samples

    Chapter 3— Text Resident Font Samples This section provides samples of how the fonts resident on the printer print. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 35 Chapter 3— Text EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 36: Text Commands

    Chapter 3— Text Text Commands Purpose: You use the Text command to place text on a label. This command and its variants control the specific font number and size used, the location of the text on the label, and the orientation of this text. Standard resident fonts can be rotated to 90.5 increments as shown in the example.
  • Page 37: Font-Group Command

    Chapter 3— Text TEXT90 (Same as VTEXT above.) (or T90) TEXT180 Prints text (upside down) rotated (or T180) 180 degrees counterclockwise. TEXT270 Prints text (vertically) rotated 270 (or T270) degrees counterclockwise. {font}: Name or number of the font. For help, see “Resident Font Samples”...
  • Page 38: Text Concatenation Commands

    Chapter 3— Text Format: {command} {fg fn fs} [fn fs] ... where: {command}: FG {fg}: Font group number. Up to 10 font groups can be specified. Valid font groups range from 0 to 9. {fn}: Name or number of the font. For help, see “Resident Font Samples”...
  • Page 39 Chapter 3— Text Format: {command} {x} {y} {font} {size} {offset} {data} “ “ “ “ {font} {size} {offset} {data} <ENDCONCAT> where: {command}: Choose from the following: CONCAT Horizontal concatenation. VCONCAT Vertical concatenation. {x}: Horizontal starting position. For help, see “Label Coordinate System”...
  • Page 40: Multiline Commands

    Chapter 3— Text Multiline Commands Purpose: The Multiline (ML) command allows you to print multiple lines of text using the same font and line-height. Format: {command} {height} {text} {font} {size} {x} {y} {data} “ {data} <ENDMULTILINE> where: {command}: Choose from the following: MULTILINE Prints multiple lines of text.
  • Page 41: Count Command

    Chapter 3— Text Example Output: Count Command Purpose: You use the Count command for printing multiple labels where a numeric text field or numeric data encoded in a bar code is to be incremented or decremented for each label. The Text or Bar Code command string must contain this numeric data as the last characters of the string.
  • Page 42: Setmag Command

    Chapter 3— Text Example Output: Setmag Command Purpose: The Setmag command magnifies a resident font to the magnification factor specified. Format: {command} {w} {h} where: {command}: SETMAG {w}: Width magnification of the font. Valid magnifications are 1 thru 16. {h}: Height magnification of the font.
  • Page 43 Chapter 3— Text TEXT 0 0 0 110 Font 0-0 at SETMAG 2 2 SETMAG 2 4 TEXT 0 0 0 145 Font 0-0 at SETMAG 2 4 ; Restore default font sizes SETMAG 0 0 FORM PRINT Example Output: EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 44 Chapter 3— Text EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 45: Scalable Text

    Scalable Text This chapter explains what scalable text is and provides information on the following commands: • Scale-Text commands • Scale-To-Fit commands • Scalable Concatenation commands • Rotate commands EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 46: What Is Scalable Text

    72 points equating to 25.4 mm (1 inch). The printer can contain scalable font files as part of the application, or you can download scalable font files to the printer using the Intermec PLUS application. A scalable text file must be present in your printer’s memory in order to use scalable text features.
  • Page 47: Scale-To-Fit Commands

    Chapter 4— Scalable Text ; Print using x scale of 10 points and y scale ; of 20 points SCALE-TEXT PLL_LAT.CSF 10 20 0 150 TALLER FONT FORM PRINT Example Output: 10 POINT FONT WIDER FONT TALLER FONT Scale-To-Fit Commands Purpose: The Scale-To-Fit commands automatically calculate the scale in order to fit text inside a window.
  • Page 48: Scalable Concatenation Commands

    Chapter 4— Scalable Text ; Fit a text string into an area 40mm wide by 10mm ; high SCALE-TO-FIT PLL_LAT.CSF 40 10 0 10 SALE ; Fit a longer text string into the same 40mm wide ; by 10mm high area SCALE-TO-FIT PLL_LAT.CSF 40 10 0 20 SALE PRICE ;...
  • Page 49: Rotate Commands

    Chapter 4— Scalable Text {height}: Font height point size. For help, see Appendix D, “Font Information.” {offset}: Unit-value to offset text from the starting position. Used to align individual text strings or create superscript/subscript characters. Range is 0 to 255. {data}: Text to be printed.
  • Page 50 Chapter 4— Scalable Text ST PLL_LAT.CSF 20 20 20 $ ST PLL_LAT.CSF 40 40 0 22 ST PLL_LAT.CSF 20 20 0 99 ENDCONCAT FORM PRINT Example Output: EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 51: Linear Bar Codes

    Linear Bar Codes This chapter covers • bar code standards. • resident linear bar code samples. • UPC and EAN/JAN bar codes. • Code 39 or Code 3 of 9 bar codes. • Code 93 or Code 9 of 3 bar codes. •...
  • Page 52: Bar Code Standards

    They have been successfully used on items ranging in size from boxcars to bumblebees. This overview of bar code symbologies helps when programming Intermec PL-Series printers and/or designing labels with Intermec PLUS software.
  • Page 53: Resident Linear Bar Code Samples

    Chapter 5— Linear Bar Codes Resident Linear Bar Code Samples EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 54: Upc And Ean/Jan Bar Codes

    Chapter 5— Linear Bar Codes UPC and EAN/JAN Bar Codes UPC and EAN/JAN bar codes are typically used for marking products with a unique code used to look up prices and to track inventories of goods sold. They are also used for store coupons, periodicals, and paperback books.
  • Page 55 Chapter 5— Linear Bar Codes Step 5: The checksum is the smallest number that when added to the number in Step 4 equals a multiple of ten. In our example, 85 + 5 = 90, which is a multiple of 10. Therefore, the checksum digit is 5. It is called a modulo checksum because you take the modulo, or remainder, of the sum.
  • Page 56: Upc/Ean Specifications

    Chapter 5— Linear Bar Codes UPC/EAN Specifications Ideal Ideal Bar Code Bar Code Wide/Narrow Narrow Dot Checksum Symbology Type Input Length Characters Ratio Width Calculation UPC-A UPCA 11 or 12 digits 0-9 only mod 10 UPC-A plus 2 UPCA2 13 digits 0-9 only mod 10 (UPC-A)
  • Page 57: Code 39 (3 Of 9) Specifications

    Chapter 5— Linear Bar Codes Check Character Numerical Value Table Char Value Char Value Char Value Char Value SPACE $ (full) % (full) / (full) + (full) * Full represents F39 or F39C for Full ASCII Refer to the full bar code symbology specification for complete information on checksum calculation.
  • Page 58: Code 93 Or Code 9 Of 3 Bar Codes

    Chapter 5— Linear Bar Codes Code 93 or Code 9 of 3 Bar Codes You use the Code 93 bar code for applications that require heavy error checking capabilities. To accomplish this, the Code 93 bar code contains two separate error checking checksums that are automatically calculated and placed into the bar code.
  • Page 59: Interleaved 2 Of 5 Specifications

    Chapter 5— Linear Bar Codes Interleaved 2 of 5 Specifications Ideal Ideal Bar Code Bar Code Input Wide/Narrow Narrow Dot Checksum Symbology Type Length Characters Ratio Width Calculation Interleaved 2 of 5 I2OF5 Varies 0-9 only 2.5:1 See text Code 128 and the UCC-128 Shipping Standard You use Code 128 for applications that need to contain a large amount of data such as shipping applications, marking blood donations, and any other application that can vary in length between bar codes being scanned.
  • Page 60: Code 128/Ucc-128 Specifications

    Chapter 5— Linear Bar Codes Code 128/UCC-128 Specifications Ideal Ideal Bar Code Bar Code Input Wide/Narrow Narrow Dot Checksum Symbology Type Length Characters Ratio Width Calculation Code 128 Variable Refer to text 1.5:1 mod 103 /A/B/C/Auto UCC-128Std. UCCEAN 16 Refer to text Refer to text mod 103 Codabar...
  • Page 61: Codabar Specifications

    Chapter 5— Linear Bar Codes Codabar Specifications Ideal Ideal Bar Code Bar Code Input Wide/Narrow Narrow Dot Checksum Symbology Type Length Characters Ratio Width Calculation Codabar CODABAR Variable 0-9, A-D 2.5:1 None symbol CODABAR Variable 0-9, A-D, 2.5:1 mod 16 symbol MSI Plessey Bar Codes The MSI Plessey bar code is a fixed length code that uses only numerical...
  • Page 62: Postnet And Fim Specifications

    Chapter 5— Linear Bar Codes The Postnet bar code also contains an automatically calculated checksum as the last character in the decoded bar code. As a short example, our data is 98203928001. Step 1: Add the numerical value of all the characters (9 + 8 + 2 + 0 + 3 + 9 + 2 + 8 + 0 + 0 + 1 = 42).
  • Page 63: Bar Code Command

    Chapter 5— Linear Bar Codes Bar Code Command The Bar Code command prints bar codes in both vertical and horizontal orientations at specified widths and heights. Standard Bar Codes Format: {command} {type} {width} {ratio} {height} {x} {y} {data} where: {command}: Choose from the following: BARCODE Prints bar code horizontally.
  • Page 64: Bar Code Text Command

    Chapter 5— Linear Bar Codes Note: The ratios in Appendix E, “Bar Code Quick Reference,” are suggested for best results; however, you can assign any ratio. {height}: Unit-height of the bar code. For help, see Appendix D, “Font Information.” {x}: Horizontal starting position.
  • Page 65: Count Command

    Chapter 5— Linear Bar Codes {offset}: Unit distance to offset text away from the bar code. For help, see “Units Commands” in Chapter 2. Example Input: Input (BARTEXT.LBL): ! 0 200 200 400 1 JOURNAL CENTER ; Annotate bar codes using font 7 size 0 ;...
  • Page 66 Chapter 5— Linear Bar Codes Example Input: Input (COUNT.LBL): ! 0 200 200 210 3 ; Print 3 labels CENTER TEXT 4 0 0 50 TESTING 001 COUNT 1 TEXT 7 0 0 100 Barcode Value is 123456789 COUNT -10 BARCODE 128 1 1 50 0 130 123456789 COUNT -10 FORM...
  • Page 67: Two-Dimensional Bar Codes

    Two-Dimensional Bar Codes This chapter provides information on • PDF417. • MaxiCode. • Two-Dimensional Bar Code commands. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 68: What Is A Two-Dimensional Bar Code

    Development of scanners capable of 2D scanning allowed use of more compact and useful symbologies like PDF417 and MaxiCode. Intermec PL-series printers have capabilities to print PDF417 and MaxiCode symbols. If your application requires the use of PDF417 or MaxiCode symbols, we highly recommend acquiring the universal symbol specification to assist your programming.
  • Page 69: Two-Dimensional Bar Code Commands

    Chapter 6— Two-Dimensional Bar Codes other than ASCII, and the capability to link several MaxiCodes together. Since there are so many different modes, it is suggested that you contact AIM for the symbol specification. If you are developing software to be used with the UPS MaxiCode shipping system, contact UPS for information on how to order the information on the MaxiCode shipping system.
  • Page 70: Maxicode

    Chapter 6— Two-Dimensional Bar Codes <ENDPDF>: Terminates PDF417. Note: The Bar Code Text command does not work with the PDF417 bar code type. You must enter any desired human readable text separately with the Text command as in the next example. Example Input: Input (PDF.LBL): ! 0 200 200 210 1...
  • Page 71 Chapter 6— Two-Dimensional Bar Codes {tag}: Tags not supplied will be filled with default values. Use only the tags that you require. Tags can be in any order. <ENDMAXICODE> Final tag in MaxiCode bar code. Tags encoded in the high priority message of all MaxiCodes: Definition Default Value POST...
  • Page 72 Chapter 6— Two-Dimensional Bar Codes Tags Used When UPS5 is Turned On Definition Default Value End of transmission character 0x004h Field separator character [GS] 0x01Dh Format type separator [RS] 0x01Eh For more information on creating labels for the UPS shipping system, see the document Guide to Bar Coding with UPS OnLine: for Customers Generating Bar Code Labels, Version 5 available from the United Parcel Service.
  • Page 73 Chapter 6— Two-Dimensional Bar Codes Example 2 Output: Example 3 Input: ! 0 200 200 600 1 JOURNAL B MAXICODE 20 20 VAL Y STADDR 30 PLAN WAY WEIGH 210 SHIPID 42 PICKDAY 193 SHIPPER 12345 TN 1Z12345675 CC 860 SC 1 POST 02886 ZIPPER 1...
  • Page 74 Chapter 6— Two-Dimensional Bar Codes EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 75: Graphics

    Graphics This chapter provides the format and examples of the following commands: • Box command • Line commands • Inverse-Line command • Pattern command • Graphics commands • PCX commands EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 76: Box Command

    Chapter 7— Graphics Box Command Purpose: You use the Box command to draw rectangular shapes of specified line thickness. Format: {command} {x 0 } {y 0 } {x 1 } {y 1 } {width} where: {command}: BOX {x 0 }: x-coordinate of the top left corner.
  • Page 77: Line Commands

    Chapter 7— Graphics Line Commands Purpose: You can draw lines of any length, thickness, and angular orientation using the Line command. Format: {command} {x 0 } {y 0 } {x 1 } {y 1 } {width} where: {command}: Choose from the following: LINE Prints a line.
  • Page 78: Inverse-Line Commands

    Chapter 7— Graphics Note: Text coordinates (in output) are shown for illustration purposes only. Inverse-Line Commands Purpose: The Inverse-Line command has the same syntax as the Line command. Previously created objects that lie within the area defined by the Inverse-Line command have their black areas re-drawn white and white areas re-drawn black.
  • Page 79: Pattern Command

    Chapter 7— Graphics Example Output 1: Example Input 2: Input 2 (INVERSE2.LBL): ! 0 200 200 210 1 T 4 2 30 20 $123.45 T 4 2 30 70 $678.90 IL 25 40 350 40 90 T 4 2 30 120 $432.10 FORM PRINT Example Output 2:...
  • Page 80: Graphics Commands

    Chapter 7— Graphics Example Input: Input (PATTERN.LBL): ! 0 200 200 700 1 ; Draw horizontal and vertical patterns PATTERN 101 LINE 10 10 160 10 42 PATTERN 102 LINE 170 10 350 10 42 ; Draw left and right diagonal patterns PATTERN 103 LINE 10 65 160 65 40 PATTERN 104...
  • Page 81: Pcx Command

    Chapter 7— Graphics VEXPANDED-GRAPHICS Prints expanded (or VEG) graphics vertically. COMPRESSED-GRAPHICS Prints compressed (or CG) graphics horizontally. VCOMPRESSED-GRAPHICS Prints compressed (or VCG) graphics vertically. {width}: Byte-width of image. {height}: Dot-height of image. {x}: Horizontal starting position. For help, see “Label Coordinate System”...
  • Page 82 Chapter 7— Graphics {y}: y-coordinate of the top-left corner. For help, see “Label Coordinate System” in Chapter 1. {data}: PCX image data. Example 1: In the example below, the image is sent in three steps. First, the printer receives commands to expect a .PCX formatted file. The second input to the printer is the .PCX image.
  • Page 83 Chapter 7— Graphics Output: EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 84 Chapter 7— Graphics EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 85: Advanced Commands

    Advanced Commands This chapter provides the format and examples for the following commands: • Contrast command • SETSP command • Tone command • On-Out-Of-Paper command • Justification commands • On-Feed command • Page-Width command • Prefeed command • Pace command •...
  • Page 86: Contrast Command

    Chapter 8— Advanced Commands Contrast Command Purpose: You use the Contrast command to specify the print darkness for the entire label. The lightest printout is at contrast level 0. The darkest contrast level is 3. The printer defaults to contrast level 0 on power up. You must specify the contrast level for each label file.
  • Page 87: Justification Commands

    Chapter 8— Advanced Commands Justification Commands Purpose: You can control alignment of fields by using the Justification commands. By default, the printer left justifies all fields. A Justification command remains in effect for all subsequent fields until you specify another justification command.
  • Page 88: Pace Command

    Chapter 8— Advanced Commands Format: {command} {width} where: {command}: Choose from the following: PAGE-WIDTH Specifies page width. (or PW) {width}: Unit-width of the page. For help, see “Units Commands” in Chapter 2. Example Input 1: Input 1 (PW1.LBL): ! UTILITIES SETLP 7 0 15 PW 300 PRINT...
  • Page 89: Auto-Pace Command

    Chapter 8— Advanced Commands Format: {command} where: {command}: PACE Example: In the following example, the command file shown was sent to the printer once. The two additional printouts were produced by pressing the Feed button once for each additional printout. Input (PACE.LBL): ! 0 200 200 210 3 ;...
  • Page 90: No-Pace Command

    Chapter 8— Advanced Commands where: {command}: AUTO-PACE Example: This example instructs the printer to print ten labels. The printer prints a label and waits for that label to be removed before printing the next label. Input (APACE.LBL): ! 0 200 200 250 10 CENTER TEXT 7 0 0 10 AUTO-PACE EXAMPLE AUTO-PACE...
  • Page 91: Speed Command

    Chapter 8— Advanced Commands {delay-time}: Delay time in 0.125 second. Example: In the example below, the printer pauses 10 seconds (10 x 8 = 80) after printing each label. Input (WAIT.LBL): ! 0 200 200 150 5 WAIT 80 TEXT 5 0 0 20 DELAY 10 SECONDS FORM PRINT Speed Command...
  • Page 92: On-Out-Of-Paper Command

    Chapter 8— Advanced Commands Example: Input (SETSP.LBL): ! 0 200 200 210 1 T 4 0 0 10 Normal Spacing SETSP 5 T 4 0 0 50 Spread Spacing SETSP 0 T 4 0 0 90 Normal Spacing FORM PRINT On-Out-Of-Paper Command Purpose: You can issue this command to instruct the printer as to the course of action to take when it encounters an error while printing the label (such as...
  • Page 93 Chapter 8— Advanced Commands Format: {command} {action} where: {command}: ON-FEED {action}: Choose from the following: IGNORE Don’t take any action when the Feed button is pressed or when the form-feed character is received. FEED Feed to top-of-form when the Feed button is pressed or when the form-feed character is received.
  • Page 94: Prefeed Command

    Chapter 8— Advanced Commands Output: Prefeed Command Purpose: The Prefeed command instructs the printer to advance the media a specified amount prior to printing. Format: {command} {length} where: {command}: PREFEED {length}: Unit length the printer advances media prior to printing. Range is 0 to 64.
  • Page 95: Postfeed Command

    Chapter 8— Advanced Commands Postfeed Command Purpose: The Postfeed command instructs the printer to advance the media a specified amount after printing. Format: {command} {length} where: {command}: POSTFEED {length}: Unit length the printer advances media after printing. Range is 0 to 64. Example: The following example sets up the printer for post-feeding 40 dot-lines after printing.
  • Page 96: Country/Code Page Command

    Chapter 8— Advanced Commands Example: The following example instructs the printer to wait 1/4 second and if there is no printer activity within this interval to then advance the media 80 dot-lines. The printer will retract the media by the same amount before printing the next label.
  • Page 97: Using Format Files

    Chapter 8— Advanced Commands TEXT 4 0 0 28 COUNTRY IS FRANCE TEXT 4 0 0 35 #$@[\]^‘{|}~ PRINT Example Output: Using Format Files You use the Define-Format and Use-Format commands to identify format and data respectively. Format files eliminate having to re-send the same format information for every label printed.
  • Page 98: Beep Command

    Chapter 8— Advanced Commands Input (FORMATF.LBL): ! DF SHELF.FMT ! 0 200 200 210 1 CENTER TEXT 4 3 0 15 \\ TEXT 4 0 0 95 \\ BARCODE UPCA 1 1 40 0 145 \\ TEXT 7 0 0 185 \\ FORM PRINT The Use-Format (or UF) command instructs the printer to use a specified...
  • Page 99 Chapter 8— Advanced Commands Format: {command} {beep_length} where: {command}: BEEP {beep_length}: Duration of beep, specified in 0.125-second increments. Example: This example instructs the printer to beep for 2 seconds (16 x 0.125 second = 2 seconds). Input (BEEP.LBL): ! 0 200 200 210 1 CENTER TEXT 5 0 0 10 beeps for two seconds beep 16...
  • Page 100 Chapter 8— Advanced Commands EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 101: Line Print Mode

    Line Print Mode This chapter provides information on • special commands using the utility function. • units commands. • SETLP command. • SETLF command. • moving with x and y coordinates. • LMARGIN command. • SETBOLD command. • SETSP command. •...
  • Page 102: What Is Line Print Mode

    Chapter 9— Line Print Mode What is Line Print Mode? Besides printing labels, Intermec PL-series printers can make receipts, lists, and other variable length documents in Line Print mode. A printer in Line Print mode receives raw ASCII text and prints out your document in raw text.
  • Page 103: Units Commands

    ! U1 SETLP {font name or number} {size} {unit height} SETLP allows you to use either the resident fonts or pre-scaled fonts downloaded to the flash memory. The Intermec PLUS design software can  create and upload a font for the printer from any available TrueType font.
  • Page 104: Setlf Command

    Chapter 9— Line Print Mode You can set the printer font multiple times when using the line printer to make a receipt. For example, to put the company name in a larger font at the top of a label, change to font 5 size 2 and then to font 7 size 0. Example Input: ! U1 SETLP 5 2 46 AURORA’S FABRIC SHOP...
  • Page 105: Moving With X And Y Coordinates

    Chapter 9— Line Print Mode Moving With X and Y Coordinates Purpose: Even though the printer is in Line Print mode, it can still move down and across the paper using x and y values. Format: ! U1 X {unit value} ! U1 Y {unit value} ! U1 XY {x unit value} {y unit value} ! U1 RX {unit x value to move relative to present...
  • Page 106: Setsp Command

    Chapter 9— Line Print Mode If Units is in millimeters, the offset value range is 0 to 0.625 mm. Be sure to issue a ! U1 SETBOLD 0 command to turn the bolding off when done. Example Input: ! U1 SETBOLD 2 This text is in bold ! U1 SETBOLD 0 but this text is normal.
  • Page 107: Special Ascii Characters

    Chapter 9— Line Print Mode Special ASCII Characters This section explains how the Form Feed and Backspace ASCII characters are treated. Form Feed ASCII Character (0x0c) advances the paper to either the next index mark or the length specified by the Page-Height, SETFF, or SET-TOF command.
  • Page 108: Set-Tof Command

    Chapter 9— Line Print Mode SET-TOF Command Purpose: You use this command to program the distance between the top-of-form and the end of the next (positive value) or previous (negative value) eye-sense mark or gap. You should use the eye-sense mark or gap that is closer to the top-of-form for the top-of-form setting.
  • Page 109: Bar Codes And Graphics

    Chapter 9— Line Print Mode Use caution when implementing the Present-At command with preprinted media. The media may not reposition itself exactly when it is retracted prior to resuming printing, and the amount of this error is not repeatable from label to label. A buffer zone of 18 dots is recommended at the beginning and trailing edge of each receipt if you use the Present-At command.
  • Page 110: Designing A Receipt

    Choose a large font that is either resident in the printer or custom created with the Intermec PLUS software package. Resident font 4 size 0 or 1 and font 5 size 2 or 3 are perfect for this function.
  • Page 111 Chapter 9— Line Print Mode ! U1 JOURNAL ! U1 SETLP 4 0 47 YOURCO RETAIL STORES ! U1 SETLP 7 0 24 14:40 PM Thursday, 06/04/20 Quantity Item Unit Total Babelfish $4.20 $4.20 Tax: $0.21 ! U1 SETSP 5 Total:! U1 SETSP 0 $4.41 Thank you for shopping at YOURCO...
  • Page 112 Chapter 9— Line Print Mode 1211 45" Buckram 5 yds @ $3.42/yd $17.10 Z121 60" Blue Silk 10 yds@ $15.00/yd $150.00 N Z829 60" Muslin 20 yds@ $1.00/yd $20.00 SUBTOTAL: $187.10 RHODE ISLAND SALES TAX 7.00%: $2.60 Output for Example 2: EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 113: Advanced Utilities

    Advanced Utilities This chapter provides information on the • Version utility. • Checksum utility. • DEL utility. • DIR utility. • Define-File utility. • Type utility. • Baud utility. • Country/Code Page utility. • Timeout utility. • Beep command. • LT command. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 114: What Are The Advanced Utilities

    Chapter 10— Advanced Utilities What are the Advanced Utilities? The Advanced Utilities are used to manage the flash file system, to obtain information about firmware and printer applications, to configure the printer for use in other countries, and to set several operating parameters. The following example illustrates the use of some of the commands you find in this chapter.
  • Page 115: Checksum Utility

    Chapter 10— Advanced Utilities Example: Input (VERSION.LBL): ! UTILITIES VERSION PRINT Checksum Utility Purpose: This command reports the application checksum as a four character null-terminated ASCII string. Format: <!> <UTILITIES> {command} <PRINT> where: {command}: CHECKSUM Example: Input (CHECKSUM.LBL): ! UTILITIES CHECKSUM PRINT DEL Utility...
  • Page 116: Define-File (Df) Utility

    Chapter 10— Advanced Utilities Define-File (DF) Utility Purpose: The DF command defines a file name for a file to be loaded into the printer. If a file with the same name already exists in the printer, it is overwritten with the new file. The contents of the file must contain ASCII characters.
  • Page 117: Baud Utility

    Chapter 10— Advanced Utilities Format: <!> <UTILITIES> {command} {name.ext} <PRINT> where: {command}: TYPE {name.ext}: Name of text file to be sent to host. Baud Utility Purpose: The Baud utility enables you to set the printer serial port baud rate. This command takes effect immediately, and the requested baud rate remains in effect when the printer is powered down.
  • Page 118 Chapter 10— Advanced Utilities where: {command}: COUNTRY {name}: Choose from the following: GERMANY FRANCE SWEDEN SPAIN NORWAY CHINA (double byte encoding) ITALY CP850 BIG5 (Traditional Chinese; double byte encoding) JAPAN-S (Simplified Japanese fonts; double byte encoding) Example Input: Input (COUNTRY1.LBL): ! UTILITIES ;...
  • Page 119: Timeout Utility

    Chapter 10— Advanced Utilities Example Output: Note: The printer must be configured with fonts that contain the extended character sets used in the selected country. Timeout Utility Purpose: The Timeout utility allows you to set the time the printer remains on without receiving data.
  • Page 120: Beep Command

    Chapter 10— Advanced Utilities Beep Command Purpose: This command instructs the printer to sound the beeper for a given time length. Printers not equipped with a beeper ignore this command. Format: {command} {beep_length} where: {command}: BEEP {beep_length}: Duration of beep, specified in 0.125-second increments. Example: This example instructs the printer to beep for 2 seconds (16 .125 second = 2 seconds).
  • Page 121 Chapter 10— Advanced Utilities Set the printer to ignore any characters found between a carriage return character and a line-feed character. ! UTILITIES LT CR-X-LF PRINT EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 122 Chapter 10— Advanced Utilities EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 123: Printer Escape Commands

    Printer Escape Commands This chapter provides information on the • Set and Read Code command. • Printer Escape commands. • Status/Information. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 124: Set And Read Code Command

    Chapter 11— Printer Escape Commands Set and Read Code Command Purpose: Printer command sessions normally start with the “!” character. When you use the printer in Generic Text mode (or Line Print mode) and if you expect to print the “!” character in that mode, then you must change the CCL code.
  • Page 125: Get Printer Status

    Chapter 11— Printer Escape Commands • Get Printer Information • Get Extended Printer Status Get Printer Status Purpose: This command requests a status byte from the printer. If one is returned, it indicates that the printer is operational and has finished processing the previous label.
  • Page 126: Get Extended Printer Status

    Chapter 11— Printer Escape Commands Get Extended Printer Status Purpose: This command requests the extended status byte from the printer. The extended status byte returned from the printer is in the following format: Description Ribbon status: 0=ribbon detected, 1=no ribbon detected Paper supply status: 0=paper supply is OK 1=paper supply is low Presentation (self-strip) sensor: 0=last label removed, 1=last label not removed Reserved...
  • Page 127: Power Off Command

    Chapter 11— Printer Escape Commands Power Off Command Purpose: The Off command (OFF.LBL) instructs the printer to shut off. You can use this function instead of lowering DTR causing the printer to shut down. Format: ESC (0x1b) 'p' (0x70) EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 128 Chapter 11— Printer Escape Commands EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 129: Lcd Programming For Pl-Series

    LCD Programming for PL-Series This chapter provides examples for programming the LCD control panel. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 130: Using The Information In This Chapter

    WML tags and commands used to create a menu for the LCD. The file should be named INDEX.WML. You can send this file to the printer using an FTP session or using Intermec PLUS. By using a line like , you can display the value of that $(vnd.zo.parameter name)
  • Page 131 Chapter 12— LCD Programming for PL-Series </card> Begin a card named “main,” with a title and refresh rate of 1 second. <card id=”main” title=”Intermec PL4,Status” ontimer=”#main”> <timer value=”10"></timer> Line Break <br/> Display battery voltage and battery status. <p>Battery:$(vnd.zo.power.voltage)V($(vnd.zo.power.status )) </p>...
  • Page 132: Example 2

    Chapter 12— LCD Programming for PL-Series Status Batter:7.80V (ok) Latch:ok Paper:ok more IP:10.14.4.97 TCP Port:6101 ESSID: Yournet Associated:yes back Note: The LCD screen is 20 characters across and 4 lines. Example 2: This example is not a complete menu setup. It is a sample card. It is meant as a tool to break down the tags and explain their use.
  • Page 133 Chapter 12— LCD Programming for PL-Series <p><a href=”#main”>Main</a></p> End the card </card> Example 2 looks like this: <!— *************************************** —> <!— ******** Setup Comm Baud Card ********* —> <!— *************************************** —> <card id=”baud” title=”Com,Baud” ontimer=”#status”> <timer value=”200"></timer> <p> $(vnd.zo.comm.baud)</p> </br> <do type=”accept”...
  • Page 134 Chapter 12— LCD Programming for PL-Series Table 1: WML Tags Used on PL-Series Printers (continued) Comments Comments … <!— —> <timer value=nnn></timer> Sets the timer value to nnn, where nnn is the duration to wait in increments of 0.1 second for you to press the check before going to the card specified in the ontimer option of the card tag.
  • Page 135: Configuration/Control Commands

    Configuration/Control Commands This chapter provides the following information on getvar, setvar, and do commands: • Printing parameter values • Command format • Commands and parameters EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 136: What Are The Commands In This Chapter

    Chapter 13— Configuration/Control Commands What are the Commands in This Chapter? The following chapter covers a set of commands to configure and query printer parameters and perform various printer control functions. Examples of this set of commands include setting printer’s IP address, querying printer’s baud rate, or instructing the printer to advance its media to top of form.
  • Page 137: Command Format

    Chapter 13— Configuration/Control Commands Note: All commands must be terminated with a CR/LF (0x0D, 0x0A). Actions and parameter names must be specified in lower-case. Parameter values should be specified in lower-case unless the parameter value itself is case sensitive, such as a printer’s WLAN eSSID. Command Format The formats of the get, set, and do commands are described in the following sections.
  • Page 138: Do Command

    Chapter 13— Configuration/Control Commands do Command Purpose: You can use the do command to instruct the printer to perform predefined actions. Some do commands require one or more parameters. These parameters should be enclosed in double quotes. This command must be terminated by a CR/LF (0x0D, 0x0A).
  • Page 139: Appl.name

    Chapter 13— Configuration/Control Commands appl.name Type: getvar This parameter refers to the printer’s application name. getvar result Returns the printer’s application name. Example Description Get printer application name. Syntax ! U1 getvar “appl.name” “htstd40a.hex ” Result appl.version Type: getvar This parameter refers to the printer’s application version. getvar result Returns the printer application version as a 4-digit (hex) number.
  • Page 140: Bluetooth.authentication

    Chapter 13— Configuration/Control Commands bluetooth.authentication Type: getvar; setvar This parameter sets Bluetooth authentication mode. When authentication is to default, a PIN is required to connect to the printer that is based on the friendly name. When authentication is set to setpin, the PIN required to connect is set in the bluetooth.bluetooth_pin parameter.
  • Page 141: Bluetooth.date

    Chapter 13— Configuration/Control Commands bluetooth.date Type: getvar This parameter is the release date of the Bluetooth module. getvar result Returns the printer’s Bluetooth library release date in the format mm/dd/yy. Example Description Get printer’s Bluetooth module release date. Syntax ! U1 getvar “bluetooth.date” “02/12/02”...
  • Page 142: Bluetooth.local_Name

    Chapter 13— Configuration/Control Commands getvar result Returns the friendly name. Example Description Get printer friendly name. Syntax friendly_name ! U1 getvar “bluetooth. ” Result “SYGN01-11-0389” setvar choices Any string of 20 characters or less. Default = printer serial number Example Description Set the friendly name.
  • Page 143: Comm.baud

    Chapter 13— Configuration/Control Commands getvar result Returns the printer’s parity. See setvar choices for possible values. Example Description Get printer’s parity setting. Syntax ! U1 getvar “comm.parity” “n” Result setvar choices n (none), e (even), or o (odd). Default = n Example Description Set printer’s parity to none (no parity).
  • Page 144: Device Parameters

    Chapter 13— Configuration/Control Commands Device Parameters device.friendly_name Type: getvar; setvar This parameter refers to the device’s friendly name. The printer reports its serial number as its friendly name if a name has not been assigned to it yet. getvar result Returns the friendly name assigned to the printer.
  • Page 145: Head.latch

    Chapter 13— Configuration/Control Commands head.latch Type: getvar This parameter refers to the status of the print head latch. The head latch must be closed for printing. getvar result Returns ok or open. Example Description Get current status of print head latch. Syntax ! U1 getvar “head.latch”...
  • Page 146: Display.text

    Text to be displayed. The tab character moves the text position to the next line. Specifying more than 80 characters results in text to wrap. Default = “Intermec” followed by printer model such as “PL4” Description Change the displayed text.
  • Page 147: File.print

    Chapter 13— Configuration/Control Commands file.print Type: do You can use this command to print the contents of printer files. do parameters File name. Example Description Print the contents of the file called CONFIG.SYS. Syntax ! U1 do “file.print” “config.sys” Prints the contents of the CONFIG.SYS file. Result file.rename Type: do...
  • Page 148: Input Parameter

    Print or Run mode and retrieving them. Leaving the printer in Print or Run mode and not deleting the capture files reduces the printer's available flash memory. You can use the Intermec PLUS program to retrieve captured files from the printer.
  • Page 149: Media Parameters

    Chapter 13— Configuration/Control Commands Media Parameters media.sense_mode Type: getvar; setvar This parameter refers to Media Sense mode. getvar result Return the printer’s Media Sense mode. Example Description Get current Media Sense mode. Syntax ! U1 getvar “media.sense_mode” “bar” Result setvar choices bar, gap.
  • Page 150: Media.type

    Chapter 13— Configuration/Control Commands media.type Type: getvar; setvar This parameter refers to the media type that the printer is using. By default, the printer checks for correct media alignment if it encounters the eye-sense mark (black horizontal bars on back of media) during a print cycle (Label mode).
  • Page 151: Memory.ram_Size

    Chapter 13— Configuration/Control Commands memory.ram_size Type: getvar This parameter refers to the total amount of random access memory (RAM). getvar result Returns the RAM size. Example Description Get RAM size. Syntax ! U1 getvar “memory.ram_size” “2097151 Bytes” Result memory.ram_free Type: getvar This parameter refers to the amount of available RAM.
  • Page 152: Power Parameters

    Chapter 13— Configuration/Control Commands Power Parameters power.ascii_graph Type: getvar This parameter refers to the battery status depicted by ASCII graphics characters. getvar result Returns the battery graph, represented by ASCII graphics characters. Example Description Get current battery status graph. Syntax ! U1 getvar “power.ascii_graph”...
  • Page 153: Power.inactivity_Timeout

    Chapter 13— Configuration/Control Commands power.inactivity_timeout Type: getvar; setvar This parameter refers to the inactivity timeout. getvar result Returns the current inactivity timeout in seconds. Example Description Get the inactivity timeout value. Syntax ! U1 getvar “power.inactivity_timeout” “120 seconds” Result setvar choices 0 through 65535.
  • Page 154: Power.low_Battery_Warning

    Chapter 13— Configuration/Control Commands power.low_battery_warning Type: getvar This parameter refers to the low battery warning level. getvar result Returns the current low-battery warning level in volts. Example Description Get current low-battery warning level. Syntax ! U1 getvar “power.low_battery_warning” “6.86(176)” Result power.percent_full Type: getvar This parameter refers to the battery status.
  • Page 155: Test Function Parameters

    You can use this command to retrieve a diagnostics report from the printer. do parameters None. Example Description Retrieve diagnostics report. Syntax ! U1 do “test.report_diags” “” Intermec PL4 V79.40 02/01/02 Result CHK FFFF … … End of report. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 156: Networking Parameters

    Chapter 13— Configuration/Control Commands Networking Parameters Any changes made using the setvar command do not take effect until you turn the printer off and on or issue the device.reset command. card.mac_addr Type: getvar This parameter refers to the MAC address of the network card. getvar result Returns the MAC address of the printer.
  • Page 157: Ip.ftp.enable

    Chapter 13— Configuration/Control Commands ip.ftp.enable Type: getvar; setvar This parameter refers to the FTP setting. getvar result Returns printer’s FTP status (on or off). Example Description Get the FTP setting. Syntax ! U1 getvar “ip.ftp.enable” “on” Result setvar choices on, off. Default = on Example Description Disable FTP...
  • Page 158: Ip.lpd.enable

    Chapter 13— Configuration/Control Commands ip.lpd.enable Type: getvar; setvar This parameter refers to the LPD protocol setting. You should direct LPD communications from the host to port 515. getvar result Returns the LPD protocol status (on or off). Example Description Get the LPD value. Syntax ! U1 getvar “ip.lpd.enable”...
  • Page 159: Ip.pop3.Enable

    Chapter 13— Configuration/Control Commands ip.pop3.enable Type: getvar; setvar This parameter refers to whether the printer queries a POP3 mailbox for mail. getvar result Returns the POP3 enable status (on or off). Example Description Get the POP3 setting. Syntax ! U1 getvar “ip.pop3.enable” “on”...
  • Page 160: Ip.pop3.Print_Body

    Chapter 13— Configuration/Control Commands getvar result Returns the poll frequency in seconds. Example Description Get the POP3 poll frequency (in seconds). Syntax ! U1 getvar “ip.pop3.poll” “240” Result setvar choices 0 through 65535. A value of 0 causes the printer to only query the POP3 mailbox when you turn on the printer.
  • Page 161: Ip.pop3.Save_Attachments

    Chapter 13— Configuration/Control Commands ip.pop3.save_attachments Type: getvar; setvar This parameter refers to whether e-mail attachments are to be saved to the flash file system in the printer. This parameter only applies if ip.pop3.enable is set to on. Note: Attachment file names are truncated to 11 characters (8 characters with a 3-character extension).
  • Page 162: Ip.port

    Chapter 13— Configuration/Control Commands ip.port Type: getvar; setvar This parameter refers to the port number that the TCP and UDP print service is listening on. You should direct normal TCP communications from the host to this port. getvar result Returns current TCP/UDP port setting. Example Description Get the TCP/UDP port number.
  • Page 163: Ip.smtp.server_Addr

    Chapter 13— Configuration/Control Commands ip.smtp.server_addr Type: getvar; setvar This parameter refers to the IP address of the SMTP server used for sending e-mail. getvar result Returns the IP address of the SMTP server used for sending e-mail. Example Description Get the current SMTP server address. Syntax ! U1 getvar “ip.smtp.server_addr”...
  • Page 164: Ip.snmp.set_Community_Name

    The MIB file can then be retrieved (via Intermec PLUS, FTP, or other wired or wireless connection to the printer) and passed onto any SNMP-based utility to provide a means to monitor and configure all the printer’s parameters via SNMP.
  • Page 165: Ip.tcp.enable

    Chapter 13— Configuration/Control Commands ip.tcp.enable Type: getvar; setvar This parameter refers to the TCP socket protocol. getvar result Returns the TCP protocol status (on or off). Example Description Get the TCP setting. Syntax ! U1 getvar “ip.tcp.enable” “on” Result setvar choices on, off.
  • Page 166: Wlan.associated

    Chapter 13— Configuration/Control Commands wlan.associated Type: getvar This parameter refers to whether the printer is associated with an access point. getvar result Returns “yes” if the printer is associated and “no” if the printer is not associated with the access point. Example Description Get whether or not the printer is associated to an access...
  • Page 167: Wlan.current_Tx_Rate

    Chapter 13— Configuration/Control Commands wlan.current_tx_rate Type: getvar This parameter retrieves the current transmit (tx) rate (mbps). This rate varies depending on several factors such as the access point’s settings and the printer’s distance from the access point. Possible values are 1, 2, 5.5, and 11.
  • Page 168: Wlan.encryption_Key2

    Chapter 13— Configuration/Control Commands getvar result Returns the first encryption key. Example Description Get the encryption key value. (This example assumes that the printer is using 40-bit encryption.) Syntax ! U1 getvar “wlan.encryption_key1” “0000000000” Result setvar choices 10 hexadecimal characters for 40-bit encryption; 26 hexadecimal characters for 128-bit encryption.
  • Page 169: Wlan.encryption_Key4

    Chapter 13— Configuration/Control Commands getvar result Returns the third encryption key. Example Description Get the encryption key value. (This example assumes that the printer is using 40-bit encryption.) Syntax ! U1 getvar “wlan.encryption_key3” “0000000000” Result setvar choices 10 hexadecimal characters for 40-bit encryption; 26 hexadecimal characters for 128-bit encryption.
  • Page 170: Wlan.essid

    Chapter 13— Configuration/Control Commands Note: When using encryption, make sure that the encryption key is set properly. The encryption key and the encryption index should match the encryption key and encryption index of the access point (or the other network devices when in Ad Hoc mode). When you have changed all the settings, you must turn the printer off and on or reset the printer using the do device.reset command.
  • Page 171: Wlan.kerberos.mode

    Sets the Kerberos KDC to krbtgt. Result wlan.kerberos.mode Type: getvar; setvar Note: Intermec terminals currently do not support Kerberos network authentication protocol. This parameter refers to the Kerberos network authentication protocol. Kerberos provides secure mutual authentication for a wireless client through an access point based on user information stored on a Kerberos KDC server.
  • Page 172: Wlan.kerberos.realm

    Description Get the current Kerberos realm. Syntax ! U1 getvar “wlan.kerberos.realm” “intermec” Result setvar choices 0 to 64 ASCII characters. Default = intermec Example Description Set the Kerberos realm to intermec. Syntax ! U1 setvar “wlan.kerberos.realm” “intermec” Sets the Kerberos realm to intermec.
  • Page 173: Wlan.leap_Mode

    Type: getvar; setvar Note: The Trakker Antares family of terminals will support LEAP. Check with your Intermec sales representative for availability. This parameter refers to Cisco LEAP (Lightweight Extensible Authentication Protocol). LEAP provides secure mutual authentication for a wireless client through a Cisco Aironet access point, based on user...
  • Page 174: Wlan.leap_Username

    Chapter 13— Configuration/Control Commands getvar result Returns the LEAP password. Example Description Get the LEAP password. Syntax ! U1 getvar “wlan.leap_password” “password” Result setvar choices 4 to 32 ASCII characters. Default = password Example Description Set the LEAP password to password. Syntax ! U1 setvar “wlan.leap_password”...
  • Page 175: Wlan.power_Save

    Chapter 13— Configuration/Control Commands getvar result Returns the current Network Operating mode. Example Description Get the value of the Network Operating mode. Syntax ! U1 getvar “wlan.operating_mode” “infrastructure” Result setvar choices ad hoc, infrastructure. Default = infrastructure Example Description Set the Network Operating mode to infrastructure. Syntax ! U1 setvar “wlan.operating_mode”...
  • Page 176: Wlan.station_Name

    Chapter 13— Configuration/Control Commands getvar result Returns the current preamble length. Example Description Get the current preamble length. Syntax ! U1 getvar “wlan.preamble” “long” Result setvar choices long, short. Default = long Example Description Set the preamble length to short. Syntax ! U1 setvar “wlan.preamble”...
  • Page 177: Printer Configuration And Setup

    Printer Configuration and Setup This chapter covers the following topics: • Power management • Batch files • RUN.BAT command/file • Re-Run command • Gap-Sense and Bar-Sense commands EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 178: Power Management

    Chapter 14— Printer Configuration and Setup Power Management The printer contains the following power management features: • Synchronized On/Off control via DTR line from the attached host (DTR On/Off Control). • Programmable inactivity timeout. • Programmable low-battery timeout. • Shutdown command. •...
  • Page 179: Shutting Off The Printer Remotely

    Chapter 14— Printer Configuration and Setup A timeout of 0 disables inactivity timeout. Shutting Off the Printer Remotely You can turn off the printer by sending the following shutdown command: Off Command ESC (0x1b) 'p' (0x70) You can use this function instead of lowering DTR causing the printer to shut down.
  • Page 180: Run.bat Command And File

    Chapter 14— Printer Configuration and Setup RUN.BAT Command and File The printer executes the RUN.BAT file when you turn it on, if one exists. This file may be a format or label file. The only time the RUN.BAT file is not executed is after a two-key reset.
  • Page 181: Gap Sense And Bar Sense Commands

    You follow Gap and Bar Sense commands by a number to adjust the sensitivity. This adjustment is useful for gap sense stock from vendors other than Intermec. Example: The following example configures the printer for gap sensing. In addition, it specifies that the distance from top-of-form to the gap is zero.
  • Page 182 Chapter 14— Printer Configuration and Setup EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 183: Troubleshooting

    Troubleshooting This appendix contains information on how to troubleshoot your PL- Series printers. The problems and solutions are in no particular order. They cover the most commonly encountered questions asked about the PL-Series printers. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 184 Appendix A— Troubleshooting Troubleshooting Problem Solution The first label I print is fine, but the next one starts Make sure that you only have one carriage return and line printing further away from the top of the label form, then feed (CR/LF) pair after the Print statement in your label.
  • Page 185 Appendix A— Troubleshooting Troubleshooting (continued) Problem Solution The labels I am producing have fields missing, but the Ensure that the entire text or bar code fields you are trying command syntax to produce these fields seems to be to print are positioned within the label borders when correct.
  • Page 186 Appendix A— Troubleshooting EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 187: Interface Cables

    Interface Cables This appendix describes the interface cables that are available for the PL-Series printers. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 188: Bi-Directional Serial Interface Cable, Db-9 To 8 Pin Din

    Female Plug Male Plug (DSR) (DTR) (to P.C.) (to printer) Shield Shield Interface Cables for Specific Terminals This section provides information about the cables to connect your printer to Intermec terminals. Cord Terminal Printer Terminal Cable P/N Length/Type Connector Connector Notes...
  • Page 189 Appendix B— Interface Cables Interface Cables for Specific Terminals (continued) Cord Terminal Printer Terminal Cable P/N Length/Type Connector Connector Notes 6110 BL11757-000 6 feet/straight 9 pin DB 8 pin DIN 6400 BL11757-000 6 feet/straight 9 pin DB 8 pin DIN 6640 and 665X BL11757-000 6 feet/straight...
  • Page 190 Appendix B— Interface Cables EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 191: Character Tables

    Character Tables This appendix contains the following character tables: • ASCII table hexadecimal (hex) values • International ISO substitution characters • CP850 character set • Latin 1 character set EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 192: Ascii Table Hexadecimal Values

    Appendix C— Character Tables ASCII Table Hexadecimal Values International ISO Substitution Characters This table references the ISO symbol set substitutions performed for various countries. The ISO symbol set contains the same characters as the ASCII symbol set except for the character values listed in the table. If the country you are looking for is not listed in the following chart, the hex character values to support that country are the same as for the U.S.A.
  • Page 193: Cp850 Character Set

    Appendix C— Character Tables CP850 Character Set EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 194: Latin 1 Character Set

    Appendix C— Character Tables Latin 1 Character Set EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 195: Font Information

    Font Information This appendix provides information about font heights, fixed-width fonts, and proportional width fonts for the fonts loaded on the printer. EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 196: Font Heights

    Appendix D— Font Information Font Heights The following table contains the font heights. The height values are in pixels. Fixed-Width Fonts The following table contains the font widths for the fixed-width fonts. Only one width is given for each font/size combination since every character in that font/size combination has the same width.
  • Page 197: Proportional Width Fonts

    Appendix D— Font Information Proportional Width Fonts Font Width in Dots - Font 1, Size 0 EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 198 Appendix D— Font Information Font Width in Dots – Font 4, Sizes 0-1 Font Width in Dots – Font 4, Sizes 2-7 EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 199 Appendix D— Font Information Font Width in Dots – Font 5, Sizes 0-1 Font Width in Dots – Font 5, Sizes 2-3 EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 200 Appendix D— Font Information EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 201: Bar Code Quick Reference

    Bar Code Quick Reference This appendix provides a table that provides the following information for different bar code symbologies: • Bar code type • Input length • Characters • Ideal wide/narrow ratio • Ideal narrow dot width • Checksum calculation EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 202: Bar Code Quick Reference Table

    Appendix E— Bar Code Quick Reference Bar Code Quick Reference Table Ideal Ideal Bar Code Bar Code Input Wide/Narrow Narrow Dot Checksum Symbology Type Length Characters Ratio Width Calculation UPC-A UPCA 11 or 12 0-9 only Mod 10 digits* UPC-A plus 2 UPCA2 13 digits* 0-9 only...
  • Page 203 Appendix E— Bar Code Quick Reference Bar Code Quick Reference Table (continued) Ideal Ideal Bar Code Bar Code Input Wide/Narrow Narrow Dot Checksum Symbology Type Length Characters Ratio Width Calculation MSI Plessey 13 digits max 0-9 only None MSI10 13 digits max 0-9 only Mod 10 MSI1010...
  • Page 204 Appendix E— Bar Code Quick Reference EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 205: Index

    Index EasyCoder PL-Series Printer Programmer’s Reference Manual...
  • Page 206 Index aligning the top of media to the print head, 89 Symbols and Numbers alignment of fields, 69 ! in command session, 106 ALL CHRS.LBL, 5 ; before text, 13 appl.date, 120 2415 terminal, cable for, 170 appl.name, 121 2425 terminal, cable for, 170 appl.version, 121 2435 terminal, cable for, 170 application...
  • Page 207 Bar Sense, 163 Beep, 80 cables Box, 58 bi-directional serial interface, 170 Contrast, 68 for Intermec terminals, 170 conventions for this manual, 9 capturing input data, 130 count, 23 card, menu, 112 Count, 47 carriage return, adding to end of receipt, 90...
  • Page 208 Index commands (continued) contrast, setting, 127 On-Out-Of-Paper, 74 control panel, LCD, 111 Pace, 70 conventions for this manual Page-Height, 88 command notations, 1 Page-Width, 69, 88 commands, 9 Pattern, 61 coordinate system, label, 6 PCX, 63 Count command, 23, 47 PDF417, 51 count, user label, 108 Postfeed, 77...
  • Page 209 Index do commands (continued) examples (continued) file.run, 129 command lines for receipts, 92 file.type, 129 comments, using, 13 format, 120 Count command, 23, 48 ip.ping_remote, 140 Country/Code Page command, 78 ip.snmp.create_mib, 146 Country/Code Page utility, 100 test.feed, 137 Define-File utility, 98 test.print_diags, 137 Define-Format command, 80 test.report_diags, 137...
  • Page 210 Index eye-sense mark (continued) to top-of-form, 131 Gap Sense command, 163 gap to top-of-form, 131 gap, Media Sense mode, 131 Facing Identification Mark (FIM), 44 gateway address, 139 factory defaults, restoring, 126 Germany, character set for, 78, 99 Feed button, configuring, 74 get community name, SNMP, 145 feed to top-of-form, 11 Get Extended Printer Status command, 108...
  • Page 211 Interleaved 2 of 5 bar code head.latch, 127 defined, 40 headers, POP3 print, 142 samples, 35 height Intermec PLUS, functionality of, 7 changing for each line, 86 Intermec terminals, cables for, 170 font, 178 Inverse-Line command, 60 font, specifying, 28...
  • Page 212 Line Print mode, 87 adding to end of receipt, 90 label file, executing, 129 setting space, 86 Label Utility Software, See Intermec PLUS line height, changing, 86 labels Line Print mode advancing to top-of-form, 137...
  • Page 213 Interleaved 2 of 5, 41 aligning top to print head, 89 MSI Plessey, 43 alignment, disabling correction, 12 Postnet, 44 non-Intermec, adjusting gap sense, 163 UPC/EAN bar codes, 38 parameters network communications Media Sense mode, 131 access point, associated with, 148...
  • Page 214 Plessey bar code transmit rate, 149 defined, 43 troubleshooting, 5 samples, 35 UDP socket protocol, 147 PLUS, See Intermec PLUS WEP encryption plus 2 and plus 5 extensions, UPC/EAN, 37 key 1, 149 polling for POP3 email, 141 key 2, 150...
  • Page 215 Index printing renaming files, 129 advance before, 76 report advance media after, 77 printing diagnostics, 137 bar codes and graphics in Line Print mode, 91 retrieving diagnostics, 137 batch, 70 reprinting the last label, 74 contents of printer files, 129 Re-Run command, 162 diagnostics report, 137 reset bit, 107...
  • Page 216 Index set community name, SNMP, 146 setvar commands (continued) SETBOLD command, 87 wlan.encryption_index, 149 SETFF command, 89 wlan.encryption_key1, 149 SETLF command, 86 wlan.encryption_key2, 150 SETLP command, 85 wlan.encryption_key3, 150 SETLP-Timeout command, 91 wlan.encryption_key4, 151 Setmag command, 24 wlan.encryption_mode, 151 SETSP command, 73, 88 wlan.essid, 152 settings, printing, 118 wlan.kerberos.kdc, 152...
  • Page 217 Index turning off at low battery, 135 tags Power Off command, 109 for menu cards, explained, 114 remotely, 161 list of WML, 115 two-key reset, 2 MaxiCode, 53 TYPE, 99 type of media in printer, 132 port, setting, 144 Type utility, 98 socket protocol, 147 tearing off labels, 90 U, V...
  • Page 218 Index wide/narrow ratio WLAN (continued) Codabar, 43 operating mode, 156 Code 128, 42 Power Save mode, 157 Code 39, 39 preamble length, 157 Interleaved 2 of 5, 41 station name, 158 MSI Plessey, 43 transmission rate, 149 Postnet, 44 UPC/EAN bar codes, 38 key 1, 149 wider text, 87 key 2, 150...
  • Page 220 Corporate Headquarters 6001 36th Avenue West Everett, Washington 98203 U.S.A. tel 425.348.2600 fax 425.355.9551 www.intermec.com EasyCoder PL-Series Printer Programmer's Reference Manual *073210-002* P/N 073210-002...

This manual is also suitable for:

Easycoder pl4Easycoder pl-series

Table of Contents