Intermec EasyCoder 501XP Programmer's Reference Manual

Intermec EasyCoder 501XP Programmer's Reference Manual

Intermec easycoder 501xp: reference guide
Hide thumbs Also See for EasyCoder 501XP:
Table of Contents

Advertisement

Programmer's
Reference Manual
Intermec
Direct Protocol
v7.80

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EasyCoder 501XP and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Intermec EasyCoder 501XP

  • Page 1 Programmer’s Reference Manual Intermec Direct Protocol v7.80...
  • 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: Table Of Contents

    Serial Communication Test ... 6 Principles of Operation Entering from Intermec Shell ... 10 Entering from Immediate Mode ... 10 Special Intermec Direct Protocol Features ... 10 Sending Instructions ... 11 Fields ... 14 General Formatting Instructions ... 14 Field-Related Formatting Instructions ... 15 Layout Instructions ...
  • Page 4 6.20 Selecting Centronics Type ... 75 6.21 Clearing Media Feed Data at Headlift ... 75 6.22 Minimum Gap Length ... 75 6.23 Equal Safe for TESTFEED ... 75 6.24 Overriding Media Feed Setup ... 70 Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 5 Character Sets and Fonts 10.1 Character Sets ... 94 10.2 Resident Fonts ... 118 Error Messages 11.1 Interpretation Table ... 120 Reference Lists 12.1 Instructions in Alphabetical Order ... 124 12.2 Instruction Syntax List ... 129 Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 6 Contents Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 7 Introduction This chapter gives a quick introduction to the Intermec Direct Protocol. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 8 • To send input data and formatting instructions as a continuous string of data directly from the host computer. In both cases, the Intermec Direct Protocol provides a fl exible error handler, which allows you to compose your own error messages in any language.
  • Page 9: Getting Started

    This chapter how to connect the printer to a computer using the serial interface, switch on the printer, use Intermec Shell to select the Direct Protocol, and how to check that the communication between printer and the host computer is working.
  • Page 10: Computer Connection

    fi t the host computer, as described in the User’s Guide. However, until you have become familiar with the Intermec Direct Protocol, it may be easier to adapt the host to the printer’s default setup parameters.
  • Page 11: Switch On The Printer

    ENTER=SHELL 5 sec. v.4.6 This menu indicates that the printer is fi tted with the Intermec Shell startup program. Before the 5 seconds countdown is completed, you should take action as to select the Intermec Direct Protocol by means of Intermec Shell as described in the Installation & Operation manual.
  • Page 12: No Startup Program

    If the printer starts up in the immediate mode of Intermec Finger- print (because you have already selected the Fingerprint application in Intermec Shell, or because the printer for some reason is not fi tted with any startup program at all), the display window should show the follow-...
  • Page 13 When you press the “Carriage Return” key the third time, the printer will feed out a label, ticket, tag, or piece of contin- uous stock with the text printed in the lower left corner of the printable area.
  • Page 14 Chapter 2 — Getting Started Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 15: Principles Of Operation

    Principles of Operation This chapter explains how to enter the Direct Protocol from Intermec Shell and from the Immediate Mode. It also describes the special features of the Direct Protocol and shows how to send instructions to the printer. Finally, it provides a quick overview of the instructions used for various purposes in the Direct Protocol.
  • Page 16: Entering From Intermec Shell

    • The Intermec Direct Protocol is able to receive variable input data in a special format to fi elds in a predefi ned layout.
  • Page 17: Sending Instructions

    LAYOUT RUN PRINT KEY ON|OFF 3.4 Sending Instructions The Intermec Direct Protocol allows you to send instructions to the printer in two ways: • You can send instructions that the printer will act upon directly. This method is used for setting up the printer, for reading various data from the printer back to the host, and for managing fi...
  • Page 18 PF ↵ A label looking like this should be printed regardless if you use a continu- ous string or send the instructions line-by-line: Intermec Direct Protocol v7.80 Programmer’s Reference Manual (enable bar code interpretation) (select bar code interpr. font) (insertion point for box fi eld) (create a box) (insertion point for image fi...
  • Page 19 Layout and Variable Input Data in Separate Sequences All necessary commands for setting up the printer (see Chapter 6) should be issued before the LAYOUT INPUT exceptions are NASC Creating the Layout LAYOUT INPUT "tmp:LABEL1" ↵ BF ON ↵ BF "Swiss 721 BT",6 ↵...
  • Page 20: Fields

    • A line 3.6 General Formatting Instructions Any type of fi eld should be specifi ed in regard of: • Position • Alignment • Direction Refer to Chapter 4.2 for more information. Intermec Direct Protocol v7.80 Programmer’s Reference Manual LAYOUT RUN ""...
  • Page 21: Field-Related Formatting Instructions

    fi rmware, for example counter values or various data related to the printer’s clock/calendar. In the Intermec Direct Protocol, you can either specify the fi elds both in regard of formatting parameters and input data in the same string, or you can create a layout to which you can send variable data later.
  • Page 22: Layout Instructions

    • Printing one label or a batch of labels (or similar) • Activating an optional paper cutter • Speeding up batch printing • Reprinting lost labels after interruption of batch print jobs • Enable/disable reprinting Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 23: Setting Up The Printer

    • Select verbosity level • Select type of error message • Enable error handling and create customized error messages • Select method for breaking the printing of a batch of labels • Change the printer’s setup Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 24: Reading Printer's Status

    A number of instructions are used to control the printer’s memory, for example to: • Read the number of free bytes in the printer’s memory • Read the names of fi les, fonts, or images stored in the printer’s memory • Remove fi les, fonts and images •...
  • Page 25: Syntax Descriptions

    • Negative values are indicated by leading minus signs (-). The various instructions are described in as simple terms as possible. Complete syntax descriptions and comprehensive information on each instruction can be found in the Intermec Fingerprint v7.80, Programmer’s Reference Manual. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 3 —...
  • Page 26 Chapter 3 — Principles of Operation Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 27: Label Design

    Label Design This chapter describes how a label layout is made up of various types of fi elds and explains the instructions used for creating each type of fi eld. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 28: Introduction

    Image Field Intermec Direct Protocol v7.80 Programmer’s Reference Manual of text. A multi-line text fi eld consists of one or more lines of text with line-wrap and hyphenation, optionally surrounded by a black border line.
  • Page 29: General Formatting Instructions

    Coordinates Starting from origin, there is a coordinate system where the X-axis runs across the media path from left to right (as seen when facing the printer) and the Y-axis runs along the media path from the printhead and back towards the media supply.
  • Page 30: Insertion Point

    This instruction will place the lower left corner of the text fi eld at the insertion point specifi ed by PRPOS. Refer to the illustration below, and to the Intermec Fingerprint v7.80, Programmer’s Reference Manual; statement, for detailed information on the anchor points for various types of printable objects.
  • Page 31 Chapter 4 — Label Design Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 32 2 and now comes line 3 followed by No. 4. ALIGN 1 Intermec Direct Protocol v7.80 Programmer’s Reference Manual This is line number 1 and this is line 2 and now comes line 3 followed by No. 4.
  • Page 33 Directions Intermec Direct Protocol allows printing in four different directions. You can rotate the printable object clockwise around the anchor point/inser- tion point with a 90° increment (0°, 90°, 180°, or 270°) using a instruction: DIR <direction> <direction> is a number 1–4 (DIR 1 = 0°; DIR 2 = 90°; DIR 3 = 180°; DIR 4 = 270°)
  • Page 34 Enabling/Disabling Partial Fields Normally, any fi eld that extends outside the print window, as specifi ed by the printer’s setup in regard of media size (X-start, width, and length), will cause Error 1003 “Field out of label.” This can easily happen while you design your label layout, for example when changing the font, font size, direction, alignment, etc.
  • Page 35: Text Fields

    "Futura Light BT" "Monospace 821 BT" "OCR-A BT" "Prestige 12 Pitch Bold BT" "Swiss 721 Bold BT" "Zurich Extra Condensed BT" Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 4 — Label Design , and PRPOS ALIGN "DingDings SWA" "Dutch 801 Bold BT"...
  • Page 36 INVIMAGE | II Default: NORIMAGE. Reset to default by: PRINTFEED (PF). NORIMAGE INVIMAGE Intermec Direct Protocol v7.80 Programmer’s Reference Manual instruction. However, for outline fonts the , the printing can be inversed so the characters INVIMAGE NORIM- instruction NORIMAGE printing.
  • Page 37 [Magnifi cation] Appearance II (INVIMAGE) NI (NORIMAGE ) Example: PP 200,500:AN 7:DIR 2:FT "Swiss 721 BT",18:II ↵ Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 4 — Label Design Default Remarks Number of dots Select AN 1-9 Select DIR 1-4...
  • Page 38: Bar Code Field

    Chapter 4 — Label Design 4.4 Bar Code Field The Intermec Direct Protocol supports 53 of the most common bar code symbologies. 38 of these bar code symbologies are standard, whereas 15 are available as a dynamic module (see Intermec Fingerprint v7.80, Programmer’s Reference Manual).
  • Page 39 RSS-14 Expanded Stacked (dynamic module only) Straight 2 of 5 Two-Character Supplemental Code UCC-128 Serial Shipping Container Code UPC-5 digits Add-On Code UPC-A Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 4 — Label Design EAN13_CC" "EAN128" "EAN128A" "EAN128B" "EAN128C"...
  • Page 40 EAN and UPC codes. BARMAG | BM <magnifi cation> <magnifi cation> is the enlargement of the bar code pattern. Default: Reset to default by: PRINTFEED (PF) Intermec Direct Protocol v7.80 Programmer’s Reference Manual "UPCA_CC" "UPCD1" "UPCD2" "UPCD3" "UPCD4" "UPCD5"...
  • Page 41: Bar Code Interpretation

    Bar code interpretation printing can also be enabled or disabled using these instructions: BARFONT ON | BF ↔ ↔ BARFONT OFF | BF ↔ ↔ By default, bar code interpretation is disabled. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 4 — Label Design...
  • Page 42 Bar Code Select BARSET Interpretation BF...ON Example: PP 100,100:AN 7:DIR 4:BARSET "CODE39",2,1,3,120: BF #2,"Swiss 721 BT",5,1,1 ON ↵ Intermec Direct Protocol v7.80 Programmer’s Reference Manual Default Remarks Number of dots Select ALIGN 1-9 Select DIR 1-4 see above Can be replaced by BT,...
  • Page 43: Image Field

    , an image fi eld can contain the following instructions: Select an Image An image is selected by the full name under which it is stored in the printer’s memory, either as plain text or as a variable (also see Chapter 4.9). PRIMAGE | PM "<image name>"...
  • Page 44 Magnifi cation Appearance II (INVIMAGE) NI (NORIMAGE) Image name PM (PRIMAGE) Example: PP 200,500:AN 3:DIR 3:MAG 2,2:II:PM "GLOBE.1" ↵ Intermec Direct Protocol v7.80 Programmer’s Reference Manual , the black and transparent parts can be NVIMAGE NORIMAGE printing. INVIMAGE Default n.a.
  • Page 45: Box Field

    Alignment AN (ALIGN) Direction Box size PX (PRBOX) Example: PP 250,250:AN 1:DIR 3:PX 200,200,10 ↵ Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 4 — Label Design PRPOS instruction is also used to format and provide Default n.a. , and...
  • Page 46: Line Field

    X/Y Position PP (PRPOS) Alignment AN (ALIGN) Direction Line size PL (PRLINE) Example: PP 100,100:AN 1:DIR 4:PL 200,10 ↵ Intermec Direct Protocol v7.80 Programmer’s Reference Manual PRPOS ALIGN Default Remarks Number of dots Select ALIGN 1-9 Select DIR 1-4 n.a.
  • Page 47: Layout Instructions

    LAYOUT INPUT starts the layout recorder, and allows you to assign a name and a device to the layout. The layout should be created in the printer’s temporary memory ("tmp:"). Once the layout has been created in "tmp:", it can be copied to "c:"...
  • Page 48 ("tmp:"), turn off the layout recorder, and clear the printer’s working memory by means of a instruction. The layout LAYOUT END could then be copied to the printer’s permanent memory ("c:") so it will not be deleted when the power is turned off. LAYOUT END Example: LAYOUT END ↵...
  • Page 49: Printable Data Instructions

    Before any variable data can be transmitted to a preprogrammed layout, the layout must be selected by means of a the layout has been saved in the printer’s permanent memory ("c:") as described in Chapter 4.8, it should be copied to the temporary memory ("tmp:"), and run from there.
  • Page 50 PT "Price: ";VAR1$;" per dozen" ↵ PT "Box No. ";CNT15$;" Packed: ";DATE$ ("F") ↵ PT WEEKDAY$(DATE$);", ";DATE$("F") PT "Week Number ";WEEKNUMBER(DATE$) PT "Expiry date: ";DATEADD$ (30,"F") ↵ Intermec Direct Protocol v7.80 Programmer’s Reference Manual LAYOUT RUN "" CNT1$ DATE$ ("F") TIME$ ("F") DATEADD$ ("F")
  • Page 51 <control string> is a string for hypenation control, see Intermec Fingerprint v7.80, Programmer’ s Reference Manual. The height, width, and line thickness parameters are the same as when creating an ordinary box fi...
  • Page 52 PRBAR instructions in the form of a variable. CNT<Counter No.>$ <Counter No.> is the number is assigned to the counter in the COUNT& instruction. Example: PT "Label number: ";CNT1$ ↵ PB CNT2$ ↵ Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 53 HH is the hour (00-24), MM is the minute (00-59) and SS is the second (00-59). Example: PT TIME$ ↵ TIME$ ("F") Returns the current time according to the printer’s clock in the format specifi ed by FORMAT TIME$, see Chapter 6.4. Example: PT TIME$("F") ↵...
  • Page 54 “YYMMDD” or by a DATE$ instruction. By default, the week number is calculated according to ISO 8601, but there are 14 other methods (see Intermec Fingerprint v7.80, Programmer’ s Reference Manual). Examples: PT WEEKNUMBER("041201") ↵...
  • Page 55: Feeding And Printing Instructions

    This chapter describes the various instructions used for controlling the media feed and the printing of labels. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Feeding & Printing Instructions...
  • Page 56: Media Feed

    CLEANFEED <feed length in dots> Runs the printer’s media feed mechanism in order to facilitate cleaning of the platen roller. FORMFEED | FF [<feed length in dots>] Feeds out a blank label or optionally feeds out (+) or pulls back (-) a certain amount of media without printing.
  • Page 57 (or the equivalent) will be fed out. Do not instructions with specifi ed feed length to substitute the FORMFEED Start- and Stopadjust setup. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 5 — Feeding & Printing Instructions FORMFEED , the fi rmware will add some extra PRINTFEED operations is decided by the “Media Size;...
  • Page 58 Y-axis, that is along the media path. Likewise, the relation between the media and the cutting edge when the cutter is activated decides where the media will be cut off. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 59: Label Printing

    This does only affect new instructions executed after the instruction, but not already executed instructions, which makes batch printing possible. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 5 — Feeding & Printing Instructions instruction resets the following instruc- BARFONT ON|OFF...
  • Page 60: Batch Printing

    Before the label can be printed, the instructions must be processed into a bitmap pattern. This involves scaling of fonts and generation of bar codes. The bitmap pattern is stored in print buffers in the printer’s tem- porary memory. The size of the print buffers is decided by the actual size of the print window according to the setup in regard of “Media Size;...
  • Page 61 fi rst be cleared from the printer’s working memory using the instruction: Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 5 — Feeding & Printing Instructions instead of PRINTFEED LAYOUT RUN ""...
  • Page 62 <Print> key on the printer’s front. However, if for example the printer runs out of media somewhere in the middle of a batch, a label can be lost.
  • Page 63: Setting Up The Printer

    Setting Up the Printer This chapter describes how to use various instructions to set up the printer. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 64: Enabling/Disabling Intermec Direct Protocol

    Chapter 6 — Setting Up the Printer 6.1 Enabling/Disabling Intermec Direct Protocol Unless you use Intermec Shell to select the Intermec Direct Protocol, you must issue this instruction to switch from the Intermec Fingerprint Immediate Mode to the Intermec Direct Protocol:...
  • Page 65: Setting Time And Date

    6.3 Setting Time and Date The printer is, or can be, provided with an internal real-time clock/calen- dar (RTC) which retains its setting even when the printer is switched off. Note: If no RTC is installed, the internal clock will be used.
  • Page 66: Selecting Format For Time And Date

    = am/pm (lowercase) in 12-hour cycle (one character per p; left-justifi ed) Default: HHMMSS Examples: FORMAT TIME$ "HH:MM:SS" ↵ FORMAT TIME$ "HH.MM" ↵ FORMAT TIME$ "hh.MM.SS p" ↵ FORMAT TIME$ "hh.MM PP" ↵ Intermec Direct Protocol v7.80 Programmer’s Reference Manual , and TIME$("F") TIMEADD$("F") FORMAT DATE$ , see yields for example 2004.12.01...
  • Page 67 ”Monday”. The date and time formats as well as the names of months and weekdays are not saved in the printer’s permanent memory, but must be transmit- ted to the printer after each power-up. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 68: Changing Separators

    ENQ/ACK, which may interfere with the communication between printer and host. You must fi rst leave the Intermec Direct Protocol by means of an instruction, change the separators using a tion, and then enter the Intermec Direct Protocol again by means of an instruction.
  • Page 69: Creating Counters

    COUNT& "COPY", <counter number>,"<number of copies>" <number of copies> sets the quantity of copies to be printed before counter is incremented or decremented. Default: Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 6 — Setting Up the Printer CNT<Counter No.>$ operation, regardless of label. PRINTFEED...
  • Page 70: Enabling/Disabling Label Taken Sensor

    The printers can, as an option, be fi tted with a so called label taken sensor (LTS) that detects if there is a label left in the printer’s outfeed slot and holds the printing until the label has been removed. This facility is especially useful for batch printing.
  • Page 71: Enabling/Disabling Automatic Cutting

    By default, the <Print> key is disabled. PRINT KEY ON | OFF 6.10 Producing Audible Signals The printer can emit audible signal from its built-in beeper. There are two instructions you can use for that purpose, for example to give warn- ing signals to the operator: BEEP Emits a short beeping sound.
  • Page 72: Formatting The Printer's Memory

    Chapter 6 — Setting Up the Printer 6.11 Formatting the Printer’s Memory By formatting the printer’s memory, you will either erase all fi les stored in the permanent memory or all fi les except system fi les (that is, fi les with names starting with a period character).
  • Page 73: Preprocessing Input Data

    6.12 Preprocessing Input Data All input data to the printer come in binary form via the standard IN channel (by default "uart1:"). Characters are transmitted in ASCII format, which upon reception will be preprocessed by the printer’s fi rm- ware according to possible instruction is used to modify a character set, or to fi...
  • Page 74: Selecting Character Set

    NASC the various characters will be printed. This instruction makes it possible to adapt the printer to various national standards. By default, the Roman 8 character set is used, see Chapter 10. NASC <character set number>...
  • Page 75: Rebooting The Printer

    6.14 Rebooting the Printer As an alternative to cycling the power to the printer using the On/Off switch, you can issue a REBOOT temporary memory, that has not been saved to the permanent memory, will be deleted and the buffers will be emptied.
  • Page 76: Error Handling

    6.17 Error Handling When an instruction is executed, the error-handler of the INPUT ON Intermec Direct Protocol starts. By default, it handles fi ve error condi- tions (see below). All other errors are ignored unless specifi ed by an instruction. ERROR The general response to an error is to set the standard IN channel busy, then turn off the “Ready”...
  • Page 77 Out of transfer ribbon: A message is shown in the display. The printer waits for a ribbon to be loaded. If the error stopped a print operation, the operation must be restarted.
  • Page 78: Setting Break For Batch Printing

    ASCII decimal value of the desired break character. Default: Communication channels: ASCII 03 dec. Keyboard: <Pause> + <Shift> (= ASCII 128 dec.) By default, the function keys on the printer’s keyboard produce the fol- lowing ASCII values: F1 + Shift F2 + Shift...
  • Page 79: Changing The Printer's Setup

    • Manually using the printer’s built-in keyboard, see the User’s Guide for the respective printer model. • Remotely using Intermec Shell’s Terminal Setup, see the User’s Guide for the respective printer model. • Remotely using setup fi les, see Intermec Fingerprint v7.80, Program- mer’s Reference Manual.
  • Page 80 ↔ ↔ "MEDIA,CONTRAST,-10%|-8%|-6%|-4%|-2%|+0%|+2%|+4%|+6%|+8%|+10%" "MEDIA,PAPER, LOW DIAMETER,nnn" ↔ "PRINT DEFS,PRINT SPEED,nnn" ↔ ↔ "PRINT DEFS,LT VALUE,nn" ↔ ↔ Intermec Direct Protocol v7.80 Programmer’s Reference Manual FROM HOST,ENABLE|DISABLE" ↔ ↔ HOST,ENABLE|DISABLE" ↔ ↔ BUF,nnnnn" MARK)|TICKET GAPS)|FIX ↔ ↔ ↔ ↔ THERMAL" CONSTANT,nnn"...
  • Page 81: Selecting Centronics Type

    fi rmware registers it as a gap or mark (0-255). Default is 6. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 6 — Setting Up the Printer...
  • Page 82 fi ts on the label or ticket will be printed and the remainder will be ignored. This means that some of the print image may not be printed at all, but the following labels will not be affected. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 83: Reading The Printer's Status

    This chapter describes the various methods and instruction that enables the programmer to read how the printer is set up. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Reading the Printer’s Status...
  • Page 84: Introduction

    The current date and time according to the printer’s clock/calendar can be read as follows: ? DATE$ ? TIME$ 7.4 Testing the Printer’s Memory Various parts of the printer’s memory can be tested by reading the result of a instruction: FUNCTEST$ ? FUNCTEST$ ("<CARD>|<KERNEL>|<ROMn>") <CARD>...
  • Page 85: Testing The Printhead

    <check type> = -1: checks printhead. Returns -1 of OK, else 0 <check type>= -7: returns mean resistance of printhead in ohms Refer to the Intermec Fingerprint v7.80, Programmer’s Reference Manual. ? SYSVAR(<parameter>) <parameter> = 21 returns printhead density in dots per mm <parameter>...
  • Page 86: Reading Sensors And Straps

    Parameters can be combined, for example <3> checks for both “printhead lifted” and “label not removed” conditions. The printer will return 1 (= yes) or 0 (= no). The version of the Intermec Direct Protocol, the type of printer family, and the type of CPU board can be read using a ? VERSION$[(type of info)] <type of info>...
  • Page 87 - Immediate - Input - Layout Input ? IMMEDIATE STDIO prints two lines to the standard OUT port with information on the cur- rent settings for the standard IN and standard OUT channels. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 88 Chapter 7 — Reading the Printer’s Status Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 89: File Handling

    File Handling This chapter explains how to read the contents in the various parts of the printer’s memory and how to remove, copy, and download fi les. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 90: Reading The Printer's Memory

    Returns the number of free bytes in the specifi ed part of the memory. FONTS Returns the names of all fonts in the printer’s entire memory plus information on used and free size of the permanent memory. Font fi les will not be included.
  • Page 91: Copying Files

    COPY "[<device>]<original fi le name>"[,"[<device>]<new fi le name>"] The size of the name is max. 30 characters. If no memory device reference is given, the printer’ s permanent memory ("c:") is assumed. Example: COPY "card1:Logotype.1","LOGO.1"...
  • Page 92 Chapter 8 — File Handling Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 93: Advanced Features

    This chapter gives short descriptions on how to use complex two-dimensional bar code symbologies and international character sets including double-byte fonts. Please refer to the Intermec Fingerprint v.7.80, Programmer’s Reference Manual for comprehensive descriptions and examples. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 94: Specifying Complex Bar Codes

    (default 0) <no. of columns> is only used in some complex codes (default 0) <truncate fl ag> is only used in some complex codes (default 0) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 95: Using International Character Sets

    “unicode.”. Unicode Fonts The Intermec Direct Protocol v7.80 works with Unicode fonts in either TrueDoc or TrueType format: its font scaler accesses images of characters within these fonts according to the character’s unicode.
  • Page 96 NASC and NASCD Tables There are many national and international standards for mapping ASCII strings to strings of unicode. The Intermec Direct Protocol v7.80 pro- vides support for virtually all of these. There are two types of mappings: • Single-byte mappings, which map one ASCII character to a unicode using Character Sets.
  • Page 97 FONTD "DLC Ming Medium",20,0 ↵ PP 100,100 ↵ PT "NASCD ON: ";CHR$(185);CHR$(235) ↵ NASCD "" ↵ PP 100,200 ↵ PT "NASCD OFF: ";CHR$(185);CHR$(235) ↵ PF ↵ Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 9 — Advanced Features NASC com- FONT...
  • Page 98 Chapter 9 — Advanced Features Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 99: Character Sets And Fonts

    This chapter lists the various single-byte character sets used in Intermec Direct Protocol v7.80 and provides printout samples of the resident fonts. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Character Sets and Fonts...
  • Page 100: Character Sets

    • If a character, which does not exist in the selected font, is used, an error condition (Error 1030) will occur. Non-printable control characters (ASCII decimal values): Intermec Direct Protocol v7.80 Programmer’s Reference Manual instruction. They are illustrated using the font as listed below.
  • Page 101 Roman 8 (NASC 1) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 102 Chapter 10 — Character Sets and Fonts French (NASC 33) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 103 Spanish (NASC 34) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 104 Chapter 10 — Character Sets and Fonts Italian (NASC 39) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 105 English (UK) (NASC 44) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 106 Chapter 10 — Character Sets and Fonts Swedish (NASC 46) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 107 Norwegian (NASC 47) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 108 Chapter 10 — Character Sets and Fonts German (NASC 49) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 109 Japanese Latin (NASC 81) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 110 Chapter 10 — Character Sets and Fonts Portuguese (NASC 351) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 111 MS-DOS Latin 1 (NASC 850) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 112 Chapter 10 — Character Sets and Fonts MS-DOS Greek 1 (NASC 851) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 113 MS-DOS Latin 2 (NASC 852) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 114 Chapter 10 — Character Sets and Fonts MS-DOS Cyrillic (NASC 855) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 115 MS-DOS Turkish (NASC 857) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 116 Chapter 10 — Character Sets and Fonts Windows Latin 2 (NASC 1250) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 117 Windows Cyrillic (NASC 1251) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 118 Chapter 10 — Character Sets and Fonts Windows Latin 1 (NASC 1252) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 119 Windows Greek (NASC 1253) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 120 Chapter 10 — Character Sets and Fonts Windows Latin 5 (NASC 1254) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 121 Windows Baltic Rim (NASC 1257) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 122 Chapter 10 — Character Sets and Fonts PCMAP (NASC -1) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 123 ANSI (NASC -2) Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 10 — Character Sets and Fonts...
  • Page 124: Resident Fonts

    Chapter 10 — Character Sets and Fonts 10.2 Resident Fonts All fonts in this list contains the Euro currency sign (€) with the excep- tion of OCR-A BT, OCR-B 10 Pitch BT, and DingDings SWA. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 125: Error Messages

    Error Messages This chapter lists the number and messages for the various errors conditions. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 126: Interpretation Table

    Run statement in program. Parameter out of range. Illegal bar code ratio. Memory overfl ow. File is write protected. Unknown store option. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Code Message/Explanation Store already in progress. Unknown store protocol. No store defi ned.
  • Page 127 1051 Dot resistance measure out of limits. 1052 Error in printhead. 1053 Unable to complete a dot measurement. Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 11 — Error Messages Code Message/Explanation 1054 Error when trying to write to device.
  • Page 128 Specifi ed Feed Length Exceeded. 1610 Illegal Character Map File. 1701 Cutter Error1 (EasyCoder F-series only) 1702 Cutter Error2 (EasyCoder F-series only) 1703 Cutter Error3 (EasyCoder F-series only) 1704 Cutter open (EasyCoder F-series only) Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 129: Reference Lists

    Reference Lists This chapter lists the instructions in alphabetic order with short explanations and references to the related chapters. It also provides a shortlist of instruction syntaxes. Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 130: Instructions In Alphabetical Order

    BREAK ON/OFF CLEANFEED CLIP COPY COUNT& CUT ON/OFF Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter Purpose Specifying which part (anchor point) of a text, bar code field, image field, line, or box will be positioned at the insertion point.
  • Page 131 FONTS FORMAT FORMAT DATE$ FORMAT INPUT FORMAT TIME$ Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 12 — Reference Lists Chapter Purpose 4.9, 6.3, 7.3 Setting or returning the current date. Returning a new date after a number of days have been added to, or subtracted from, the current date or optionally a specified date.
  • Page 132 KILL LAYOUT END LAYOUT INPUT LAYOUT RUN LBLCOND LTS& ON/OFF Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter Purpose Activating the paper feed mechanism in order to feed out or pull back a certain length of the paper web. Returning the number of free bytes in a part of the printer’s memory.
  • Page 133 PRINTFEED (PF) PRLINE (PL) PRPOS (PP) PRSTAT PRTXT (PT) REBOOT Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 12 — Reference Lists Chapter Purpose 6.12 Changing the ASCII value of a character when received on the standard IN channel, or optionally on another specified communica- tion channel.
  • Page 134 SOUND SYSVAR TESTFEED TIME$ TIMEADD$ VERSION$ WEEKDAY$ WEEKNUMBER XORMODE Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter Purpose Removing a specified image or bitmap font from the printer’s memory. Enabling/disabling reprinting. Selecting standard IN and OUT communi- cation channel. 6.19 Entering the printer’s Setup Mode, changing...
  • Page 135: Instruction Syntax List

    CUT [<feed length>] ON|OFF DATE$ = "<YYMMDD>" DATE$[("F")] DATEADD$ (["<original date>",]<number of days>[,"F"]) DIR <direction> ERROR <number>, "<message>" <fi eld>% = FIELDNO FILE& LOAD"<fi le name>",<fi le size> Intermec Direct Protocol v7.80 Programmer’s Reference Manual Chapter 12 — Reference Lists...
  • Page 136 NAME WEEKDAY$ <No. of weekday>,"<name of weekday>" NASC <character set no.> NASCD "[<device>]<fi le name>" NORIMAGE|NI PRBAR|PB <input data>[;<input data>...] PRBOX|PX <height>,<width>,<line thickness>[,"<input data>"[,<hor. off set>[,<vert. off set>[,"<line delimiter>" [,"<control string>"]]]]] PRIMAGE|PM "<image name>" PRINT|? Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 137 SOUND <frequency in Hz>,<duration in units of 0.02 sec:s> SYSVAR (<parameter>) TESTFEED [<feed length>] TIME$ = "<HHMMSS>" TIME$ [("F")] TIMEADD$ (["<original time>",]<number of sec’s>[,"F"]) VERSION$[(type of info)] WEEKDAY$ ("<date>") WEEKNUMBER ("<date>"[<calculating function>]) XORMODE ON|OFF Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 138 Chapter 12 — Reference Lists Intermec Direct Protocol v7.80 Programmer’s Reference Manual...
  • Page 140 Intermec Technologies Corporation Corporate Headquarters 6001 36th Avenue West Everett, WA 98203 U.S.A. tel 425.348.2600 fax 425.355.9551 www.intermec.com Intermec Direct Protocol v7.80 Programmer’s Reference Manual *1-960633-00* *1-960633-00*...

Table of Contents