Intermec EasyCoder 301 Programmer's Manual

Intermec EasyCoder 301 Programmer's Manual

Direct protocol 2.0
Hide thumbs Also See for EasyCoder 301:
Table of Contents

Advertisement

Programmer's Guide
P/N 1-960419-02
Edition 3
August 1999
EasyCoder 301
Direct Protocol 2.0

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Intermec EasyCoder 301

  • Page 1 Programmer’s Guide P/N 1-960419-02 Edition 3 August 1999 EasyCoder 301 Direct Protocol 2.0...
  • Page 2: Table Of Contents

    Direct Protocol 2.0 Programmer's Guide Edition 3, August 1999 Part No. 1-960419-02 Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 1. Introduction ... 4 1. Computer Connection ... 5 2. Check Paper Supply ... 6 3. Turn on the Printer ... 6 4.
  • Page 3 7. Reading the Printer's Status 8. File Handling 9. Advanced Features Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 1. Layout Mode/Immediate Mode ... 44 2. IN/OUT Channel Setup ... 44 3. Date and Time ... 45 4.
  • Page 4 Information in this manual is subject to change without prior notice and does not represent a commit- ment on the part of Intermec Printer AB. © Copyright Intermec Printer AB, 1999. All rights reserved. Published in Sweden. EasyCoder is a registered trademark of Intermec Technologies Corp.
  • Page 5: Introduction 1. Introduction

    Introduction Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Intermec Direct Protocol is an easy-to-use printer programming lan- guage that has been developed for use with the computer-control- led direct thermal and thermal transfer printers manufactured by Intermec.
  • Page 6: Getting Started 1. Computer Connection

    EasyCoder 301 Installation and Operation Manual. However, until you have become familiar with Intermec Direct Protocol, it may be easier to adapt the host to the printer's default setup parameters. There is no communication setup for the Centronics parallel interface.
  • Page 7: Check Paper Supply

    4. Serial Communications Test Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Check that the printer has an ample supply of paper or other receiv- ing material and, where applicable, of thermal transfer ribbon. Re- fer to the EasyCoder 301 User's Guide or Installation and Opera- tion Manual for loading commands.
  • Page 8 4. Serial Communications Test, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Each line will be acknowledged by “Ok” on the screen, provided it has been entered correctly. When you press the third time, the printer will feed out a label, ticket, tag or piece of strip with the text printed in the lower left corner of the printable area.
  • Page 9: Principles Of Operation 1. Intermec Direct Protocol Special Features

    OFF, since this will produce optimum printer performance. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 There is a built-in error handler, that can indicate selected error conditions and produce error-messages of your own creation in any language you like.
  • Page 10 LAYOUT RUN "" Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Let us create the simple label shown on the left using both methods: Immediate Mode You can send the string as a single line: BF ON:BF "Swiss 721 BT",9,0:PP 10,20:...
  • Page 11: Fields

    Complex two- dimensional bar or dot codes may have other formatting parameters. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Then add the variable input data and a print command: LAYOUT RUN "LABEL1" INPUT ON <STX>...
  • Page 12: Layout Commands

    Commands, cont'd. 6. Layout Commands 7. Printable Data Commands Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 • Image Field: - Magnification - Normal Image/Inverse Image • Box Field: - Size (height, width, line thickness) • Line Field:...
  • Page 13: Feeding And Printing Commands

    9. Setting Up the Printer 10. Reading Printer's Status Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Some commands control printing and paper feed, e.g.: • Changing paper feed speed • Rotating the print roller during cleaning •...
  • Page 14: File-Handling Commands

    Commands 12. Syntax Descriptions Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 A number of commands are used to control the printer's memory, for example: • Read the names of files, fonts or images stored in the printer's memory •...
  • Page 15: File Storage Devices And File Names

    Devices and File Names Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Files can be stored in the EasyCoder 301 on one of four devices: • "ROM:" Contains the built-in files necessary for using the printer. • "RAM:"...
  • Page 16: Label Design 1. Introduction

    Label Design 1. Introduction Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Field Types A label layout is made up of a number of fields. There are five different types of field: • Text Field A text field consists of a single line of text.
  • Page 17: General Formatting Commands

    Units of Measurement The unit of measurement is always “dots”, i.e. all measures depend on the density of the printhead. The EasyCoder 301 has an 8 dots/ mm printhead, i.e. a dot is mils. Insertion Point The insertion point of any printable object is specified within the coordinate system by means of PRPOS|PP.
  • Page 18 2. General Formatting Commands, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Alignment Once the insertion point is specified, you must also decide which part of the object should match the insertion point. For example, a text field forms a rectangle.
  • Page 19 2. General Formatting Commands, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Direction Intermec Direct Protocol allows printing in four directions. You can rotate the printable object clockwise around the anchor point/ insertion point with a 90 increment (0 , 90 , 180 , or 270 ) by means of a DIR command: DIR <direction>...
  • Page 20: Text Field

    3. Text Field Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 A text field consists of one or more alphanumeric characters on the same line (max 1,800 characters). Intermec Direct Protocol cannot wrap text to a new line, but each line must be specified as a separate text field.
  • Page 21 (integer) of points and is thus not 100% correct. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The three font parameters can be specified separately using the fol- lowing commands: FONT | FT "<font file name>"...
  • Page 22 3. Text Field, cont'd. NORIMAGE INVIMAGE Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Set Font Magnification Fonts can be magnified 1 - 4 times independently with regard to height and width by means of a MAG command.
  • Page 23 3. Text Field, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Summary To create a text field, the following formatting commands must be given (in most cases default values may substitute missing para- meters). Input data to the field is explained chapter 4.9, printing commands are explained in chapter 5.2, and the use of national...
  • Page 24: Bar Code Field

    BARSET com- mand, see chapter 9.1. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 As standard, Intermec Direct Protocol supports 38 of the most com- mon bar code symbologies. Each bar code (optionally including its human readable interpretation) makes up a bar code field.
  • Page 25 4. Bar Code Field, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Bar Code Interleaved 2 of 5 Interleaved 2 of 5 w. checksum Interleaved 2 of 5 A Matrix 2 of 5 Maxicode MSI (modified Plessey)
  • Page 26 4. Bar Code Field, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Set Bar Code Magnification The magnification of the bar code and the bar code ratio decides the actual thickness of the bars. For example, if BARRATIO is 3:1 and BARMAG is 2, then the wide bars will be 6 dots thick (3 2) and the narrow bars will be 2 dots (1 2).
  • Page 27 4. Bar Code Field, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Select Bar Code Interpretation Font Most bar codes do not automatically include any bar code interpre- tation in human readable characters. If you wish to include a bar code interpretation, you can specify the font to be used for the bar code interpretation (human readable).
  • Page 28 4. Bar Code Field, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Bar code interpretation printing can be enabled or disabled by means of these commands: BARFONT | BF ON BARFONT | BF OFF By default, bar code interpretation printing is disabled.
  • Page 29: Image Field

    5. Image Field Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 An image field contains a picture or logo in .PCX format. The im- age can either be stored in the printer's RAM or in a memory card.
  • Page 30: Image Field

    5. Image Field, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Select Normal/Inverse Printing Normally, an image is printed in black and white, just as it was created. Using INVIMAGE, the black and white can be inverted.
  • Page 31: Box Field

    6. Box Field Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 A box is a hollow square or rectangle that can be rotated with an increment of 90 according to the print direction. If the line thick- ness is sufficiently large, the box will appear to be filled (another method is to print an extremely thick short line).
  • Page 32: Line Field

    7. Line Field Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 A line can be printed in right angles along or across the paper ac- cording to the print direction. In addition to the general formatting commands, PRPOS, ALIGN and DIR, a line field is specified by a single command.
  • Page 33: Layout Commands

    8. Layout Commands Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Start Layout Recorder The LAYOUT INPUT command clears the printer's working memory, starts the layout recorder and allows you to assign a name to the layout.
  • Page 34: Printable Data Commands

    INPUT ON before using LAYOUT RUN. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Select a Layout Before any variable data can be transmitted to a preprogrammed layout, the layout must be selected by means of a LAYOUT RUN command.
  • Page 35 9. Printable Data Commands, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Input Data to Text Fields Input data is inserted into a text field using a PRTXT command. You can add various types of data to a text field: •...
  • Page 36 Use the DATE$ and TIME$ commands to reset the clock and calendar. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Input Data to Image Fields An image can be selected either by name in plain text (e.g.
  • Page 37 9. Printable Data Commands, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 DATE$ Returns the current date according to the printer's calendar in the standard format YYMMDD , where YY is the last two digits of the year, MM is the number of the month (01–12) and DD is the number...
  • Page 38 9. Printable Data Commands, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 WEEKNUMBER ("<date>") Returns the weeknumber from a given date or the current date. <date> can be specified in the standard format "YYMMDD" or by a DATE$ command.
  • Page 39 9. Printable Data Commands, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 TIMEADD$ (["<original time>",]<number of sec's>[,"F"]) Adds or subtracts a certain number of seconds to the current time or optionally to a specified moment of time.
  • Page 40: Feeding And Printing 1. Paper Feed

    Feeding and Printing Commands 1. Paper Feed Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 In order to provide maximum flexibility, there is a number of com- mands for controlling the paper feed: • CLEANFEED • FORMFEED •...
  • Page 41 See the Installation & Operation manual of the EasyCoder 301 printer model in question. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 5 When a FORMFEED, TESTFEED or PRINTFEED command is executed, the photoelectrical label stop sensor (LSS) detects the...
  • Page 42: Commands 2. Label Printing

    1. Paper Feed, cont'd. 2. Label Printing Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 5 If the FORMFEED command is issued without any specification of the feed length, a complete blank label (or the equivalent) will be fed out.
  • Page 43: Batch Printing

    3. Batch Printing Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 5 General Information The term “Batch Printing” means the process of printing several labels. The labels may either be exact copies or different from each other.
  • Page 44 3. Batch Printing, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 5 Clearing the Image Buffer The image buffer stores the bitmap pattern of the label between processing and printing. The image buffer can be cleared partially or completely by means of a CLL command.
  • Page 45: Setting Up The Printer 1. Layout Mode/Immediate Mode

    Immediate Mode 2. IN/OUT Channel Setup Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The EasyCoder 301 Printer can operate in Immediate Mode or Lay- out Mode. In Immediate Mode, layouts and variable data fields are disabled. In Layout Mode, layouts and variable data fields are ena- bled (see chapter 4.8).
  • Page 46: Date And Time

    3. Date and Time Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The printer's CPU board is, as standard, provided with an internal clock/calendar without battery backup, i.e. the setting will be lost when the printer is turned off.
  • Page 47: Date And Time Format

    Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The formats for printing dates and time in connection with the com- mands DATE$("F"), DATEADD$("F"), TIME$("F") and TIMEADD$("F") (see chapter 6.5) can be specified by the com-...
  • Page 48: Separators

    The separators are saved in the printer's flash memory. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 In many cases,you may prefer to have the names of months and weekdays printed in plain text rather than as a number. There are...
  • Page 49: Counters

    6. Counters Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 You can create counters for use in text and bar code fields (see chapters 4.3 and 4.4). The counters are global, i.e. the same counter can be used in many different labels and layouts, but will be incremented/decremented on any PRINTFEED operation, regard- less of label.
  • Page 50: Label-Taken Sensor

    The setting is saved in the printer's flash memory. By default, LTS is disabled. LTS& ON | OFF Feed on the EasyCoder 301 is used to initiate a PRINTFEED op- eration. You can enable or disable this function by means of the following command.
  • Page 51: Memory Formatting

    Formatting 10. Input Data Preprocess Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 By formatting the printer's memory, you will erase all files stored in the RAM memory. You can also format a RAM-type memory card inserted in the printer's PCMCIA slot to MS-DOS format. Be care- ful not to use this command unintentionally! FORMAT "<device>"[,<No.
  • Page 52: Character Set Selection

    11. Character Set Selection Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The NASC command is used to select a character set that decides how the various characters will be printed. This command makes it possible to adapt the printer to various national standards. By de- fault, characters will be printed according to the Roman 8 character set.
  • Page 53: Printer Reboot

    Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Suppose you order the printer to print the character ASCII 124 dec. ASCII 124 will generate the following: •...
  • Page 54: Verbosity Level

    Level 14. Error Message Types 15. Error Handling Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The verbosity level controls the amount of information to be re- turned from print to host: SYSVAR (18) = <value> <value> = -1 All levels enabled (Default) <value>...
  • Page 55 Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The ERROR command activates error-handling for the specified error type and allows you to write an error message, which will be trans- mitted back to the host computer (according to selected verbosity and type of error message, see chapters 6.13 and 6.14):...
  • Page 56: Break In Batch Printing

    Printing 17. Printer Setup Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 When printing large batches of labels, it is useful to be able to stop printing, for example, if an error is detected. You can stop printing via any serial communication channel.
  • Page 57 SETUP "SERVICE,PRINT_DEFS,NEW_SUPPLIES,<encoded value>" SETUP "SERVICE,PERFORMANCE,NORMAL|HIGH" SETUP "SERVICE,TESTFEED,LENGTH,nn" Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 In the syntax description below, characters separated by vertical bars indicate alternatives, n–nnnnn indicate variable numeric input and underscored space characters indicate compulsory space char-...
  • Page 58: Setting The Lss Threshold

    17. Printer Setup, cont'd. 18. Setting the LSS Threshold Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Setup files Two commands are used to set a printer up from a setup file: SETUP WRITE and SETUP. Use a setup string (as described above) to set up the printer. Then use the SETUP WRITE command to save the current printer setup to a file.
  • Page 59: Enabling/Disabling Automatic Cutting

    19. Enabling/ Disabling Auto- matic Cutting Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The standard EasyCoder 301 printers can optionally be fitted with a paper cutter that can cut non-adhesive paper strip or the backing paper between labels (no cutter is presently available for the Easy- Coder 301 LinerLess model).
  • Page 60: Reading The Printer's 1. Introduction

    1. Introduction 2. Date and Time 3. Memory Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Provided that two-way communication is working between the printer and the host computer, the printer's status with regard to various functions can be returned to the host. This implies that the serial channel "uart1:"...
  • Page 61: Printhead

    4. Printhead 5. System Counters Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 7 The thermal printhead can be tested in three different ways: • FUNCTEST$ ("HEAD") • ? HEAD (type of check) • ? SYSVAR (<parameter>) ? FUNCTEST$ ("HEAD")
  • Page 62: Sensors

    8. Firmware and Hardware Versions Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 7 The printer has a number of sensors and setup parameters that can be read and their status or value returned to the host: ? SYSVAR (<parameter>)
  • Page 63: Label Length

    9. Label Length 10. Gap Length 11. Media Light Transmission Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 7 The presently set label length, as specified by the printer's setup (print window), is returned by the following instruction: ? SYSVAR (<parameter>)
  • Page 64: File Handling 1. Reading The Printer Memory

    2. Removing Images, Files and Fonts Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 There are a number of commands for reading the printer's memory and returning the information to the host. This requires a working two-way serial communication (see SETSTDIO in chapter 6.1): ? FRE (1) Returns the number of free bytes in the printer's RAM memory.
  • Page 65: Copying Files

    Data to Host disabled. XON/XOFF: Data from Host disabled. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Files, including font files and images files, can be removed from the RAM memory or from an inserted DOS-formatted memory card: KILL "<filename>|CARD1:<filename>|CARD2:<filename>"...
  • Page 66: Downloading Image Files

    DIR 1 Paper Direction Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Image files in .PCX format can be downloaded to "RAM:", "CARD1:" or "CARD2:" using the IMAGE LOAD command. Before the transfer can be performed, the printer must be set up for two way communication IMAGE LOAD"<image name>",<file size>,"<flag>"...
  • Page 67: Advanced Features 1. Specifying Complex Bar Codes

    1. Specifying Complex Bar Codes Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Complex 2-dimensional bar or dot codes, e.g. PDF417, require many specifying parameters. Therefore, there is a complex command that allows all bar code parameters to be specified within a single com- mand.
  • Page 68: Using International Character Sets

    2. Using International Character Sets Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The data input to text fields and bar codes takes the form of an ASCII string. Even compound data, such as... PRTXT “Label No.”;CNT1$;” Date “;DATE$(“F”) is expanded by the printer into a single ASCII string before any other processing occurs.
  • Page 69 International Character Sets, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 To be exact, the double-byte mappings allow an ASCII string to contain a mixture of single-byte and double-bytes codes. For exam- ple, in the BIG5 mapping, any ASCII character with value 160 or greater is the first byte of a double-byte code, while the remaining characters form single-byte codes.
  • Page 70: Character Sets

    Label produced by the program example to the right. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 The three double-byte font parameters can be specified separately using the following commands: FONTD | FD “<font file name>”...
  • Page 71 International Character Sets, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 User-defined NASC tables A user-defined NASC table can be used in place of one of the built- in NASC settings. It specifies a unicode for each of the 256 ASCII characters, and determines the mapping of single-byte codes in text fields and human readable parts of bar codes.
  • Page 72: Font Scaling

    3. Font Scaling Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 In general, the EasyCoder 301 scales characters “on the fly” into bitmaps ready for printing. It stores as many character bitmaps as possible in a memory cache, to avoid having to rescale characters which are used more than once.
  • Page 73: Firmware Upgrade 1. Software And Fonts

    Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Firmware (software and resident fonts) can be upgraded using 1 or 2 PCMCIA cards, which may contain either printer software up- dates or fonts .
  • Page 74: Character Set, Fonts 1. Character Sets

    The Euro currency sign (€) has be included in most character sets, see chapter 6.11. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 This chapter contains the various single-byte character sets, that can be selected using the NASC statement. Double-byte character sets are not included, but are available separately on special re- quest.
  • Page 75 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Roman 8 (NASC 1) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 76 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. French (NASC 33) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 77 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Spanish (NASC 34) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 78 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Italian (NASC 39) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 79 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. English (UK) (NASC 44) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 80 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Swedish (NASC 46) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 81 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Norwegian (NASC 47) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 82 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. German (NASC 49) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 83 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Japanese Latin (NASC 81) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 84 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Portuguese (NASC 351) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 85 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. MS-DOS Latin 1 (NASC 850) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 86 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. MS-DOS Greek 1 (NASC 851) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 87 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. MS-DOS Latin 2 (NASC 852) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 88 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. MS-DOS Cyrillic (NASC 855) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 89 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. MS-DOS Turkish (NASC 857) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 90 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Windows Latin 2 (NASC 1250) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 91 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Windows Cyrillic (NASC 1251) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 92 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Windows Latin 1 (NASC 1252) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 93 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Windows Greek (NASC 1253) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 94 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Windows Latin 5 (NASC 1254) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 95 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Windows Baltic Rim (NASC 1257) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 96 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. PCMAP (NASC -1) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 97 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. ANSI (NASC -2) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 98 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. OCR-A BT (NASC "OCR-A.NSC") Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 99 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. OCR-B 10 Pitch BT (NASC "OCR-B.NSC") Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 100 Chapter 11 Character Sets, Fonts, and Bar Codes 1. Character Sets, cont'd. Zapf Dingbats BT (NASC "ZAPF.NSC") Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 101: And Bar Codes 2. Resident Fonts

    Swiss 721 BT (default font) Swiss 721 Bold BT Swiss 721 Bold Condensed BT Zapf Dingbats BT Zurich Extra Condensed BT Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 11 Character Sets, Fonts, and Bar Codes...
  • Page 102: Resident Bar Code Fonts

    3. Resident Bar Code Fonts Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 11 Bar Code Codabar Code 11 Code 16K Code 39 Code 39 full ASCII Code 39 w. checksum Code 49 Code 93 Code 128...
  • Page 103: Error Messages 1. Error Messages In Numerical Order

    Error Messages 1. Error Messages in Numerical Order Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Code Description No error Syntax error. Unbalanced parenthesis. Feature not implemented. Unrecognized token. Undefined token. Type mismatch. Font not found. Bar code type not implemented.
  • Page 104 1. Error Messages in Numerical Order, cont'd. Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Code Description 1027 Out of transfer ribbon. 1035 File pointer is not inside the file. 1037 No acknowledge received within specified timeout.
  • Page 105: Commands And 1. Commands (Alphabetical)

    BREAK BREAK ON/OFF CHR$ (n) CLEANFEED Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter Purpose Specifies which part of a text, bar code field, image field, line or box will be positioned at the insertion point.
  • Page 106 FONTDSLANT (FLD) FONT (FT) FONTSIZE (FS) FONTSLANT (FL) Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter Purpose Completely clears the print image buffer, if no starting field is specified. If a field is specified, the print image buffer is cleared from the field to the end of the label.
  • Page 107 KILL LAYOUT END LAYOUT INPUT LAYOUT RUN LTS& ON/OFF Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter Purpose Returns the names of all fonts stored in the printer's memory to the standard OUT channel. Formats the printer's RAM memory, or formats a RAM-type memory card to MS-DOS format.
  • Page 108 SETUP SETUP WRITE SYSVAR TESTFEED TIME$ Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter Purpose Enters the preferred month name in return strings of DATE$("F") and DATEADD$(...,"F"). Enters the preferred weekday name in return strings of WEEKDAY$.
  • Page 109 TIMEADD$ VERSION$ WEEKDAY$ WEEKNUMBER Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter Purpose Returns a new time after a number of seconds have been added to, or subtracted from, the current time or optionally a specified time.
  • Page 110: Functions 2. Command Syntax

    <variable name> % =FIELDNO FILE& LOAD "<filename>",<file size> FILES ["rom:|ram:|card1:|card2:"] FONTD|FD "<fontname>"[,<size>[,<slant>]] FONTDSIZE|FSD <size> FONTDSLANT|FLD <slant> FONT|FT "<fontname>"[,<size>[,<slant>]] FONTSIZE|FS <size> FONTSLANT|FL <slant> FONTS FORMAT "<device>"[,<no of entries>[.<no of bytes>]] FORMAT DATE$ <string> Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 111 PRPOS|PP <x-coordinate>, <y-coordinate> PRTXT|PT "<input data>"[;"<input data>"] REBOOT REMOVE IMAGE "<name>" SETSTDIO <IN channel>,<OUT channel> SETUP "<setup string>"|"<setup filename>" SETUP WRITE "<setup filename>"|"uart1:" SYSVAR (<parameter>)= <value> TESTFEED TIME$ = "<HHMMSS>" Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...
  • Page 112: Function Syntax

    TIMEADD$ (["<original time>",]<No. of seconds>[,"F"]) VERSION$ [(<type of info>)] WEEKDAY$ ("<date>") WEEKNUMBER ("<date>") Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3 Chapter 13 Funtions cannot stand alone: they must be used in conjunction with a command, e.g. PRINT, PRTXT.
  • Page 113 Notes Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3...

Table of Contents