Intermec PF2i Intermec Direct Protocol 8.60 Programmer's Reference Manual
Intermec PF2i Manual
![]() |
View all Intermec PF2i manuals
Add to My Manuals
Save this manual to your list of manuals |
Intermec PF2i manual content summary:
- Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 1
Programmer's Reference Manual Intermec Direct Protocol v8.60 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 2
the part of Intermec Technologies Corporation. © 2005 by Intermec Technologies Corporation. All rights reserved. The word Intermec, the Intermec are either trademarks or registered trademarks of Intermec Technologies Corporation. Throughout this manual, trademarked names may be used. Rather - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 3
Direct Protocol v8.00. Describes Intermec Direct Protocol v8.10. Describes Intermec Direct Protocol v8.20. Describes Intermec Direct Protocol v8.30. Describes Intermec Direct Protocol v8.40. Describes Intermec Direct Protocol v8.60. Intermec Direct Protocol v.8.60-Programmer's Reference Manual iii - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 4
1 Getting Started 1.1 Computer Connection 2 1.2 Media and Ribbon Supply 2 1.3 Switch On the Printer 3 1.4 Intermec Shell Startup Program 3 1.5 Intermec Fingerprint 3 1.6 Serial Communications Test 4 2 Principles of Operation 2.1 Entering from Intermec Shell 6 2.2 Entering from Immediate Mode - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 5
Gap Length 69 5.22 Overriding Media Feed Setup 69 6 Reading the Printer's Status 6.1 Introduction 72 6.3 Reading Date and Time 72 6.4 Testing the Printhead 72 6.5 Reading System Counters 73 6.6 Reading Sensors and Straps 73 Intermec Direct Protocol v.8.60-Programmer's Reference Manual v - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 6
8.3 XMLReady™ Printing 84 9 Character Sets and Fonts 9.1 Character Sets 86 9.2 Resident Fonts 110 A Error Messages Table of Error Messages 112 B Reference Lists Instructions in Alphabetic Order 116 Instruction Syntax List 121 vi Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 7
the end of this manual for lists of the various instructions in the Intermec Direct Protocol. We recommend that you have the following manuals accessible: • The User's Guide for the printer model in question. • This Programmer's Reference Manual. • Intermec Fingerprint v.8.60, Programmer's Reference - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 8
Contents viii Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 9
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. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 1 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 10
ample supply of media (that is, paper or similar) and, in case of thermal transfer printing, of thermal transfer ribbon. Also check that the printer is set up accordingly in regard of media size, media type, and paper type. Refer to the User's Guide for setup and loading instructions. 2 Intermec - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 11
5 sec. v.8.2 This menu indicates that the printer is fitted 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 User's Guide. Should you fail to take any - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 12
it has been entered correctly. When you press the "Carriage Return" key the third time, the printer will feed out a label, ticket, tag, or piece of continuous stock with the text printed in the lower left corner of the printable area. ABCDEFGHIJKLM You can try using other characters between the - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 13
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. These are explained more comprehensively in the chapters that follow. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 5 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 14
Print key to produce printouts. • By default, verbosity is off in the Intermec Direct Protocol. While you develop your Direct Protocol files, we recommend setting the verbosity to ON using a SYSVAR (18) instruction, see Chapter 5.15. 6 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 15
work in the Intermec Direct Protocol: COUNT& ERROR FORMAT INPUT INPUT ON|OFF LAYOUT END LAYOUT INPUT LAYOUT RUN PRINT KEY ON|OFF 2.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 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 16
eld) (insertion point for text field) (select font for text field) (input data to text field) (print one label) A label looking like this should be printed regardless if you use a continuous string or send the instructions line-by-line: 8 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 17
(variable input data to VAR1$) My FIRST label ↵ (variable input data to VAR2$) (end of input data, ASCII 04 dec) PF ↵ (print one label) This should produce a label looking exactly like the one shown on the previous page. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 9 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 18
want to return to the method of printing labels using layout and printable data in one sequence, the predefined layout must first be cleared from the printer's working memory using the instruction: LAYOUT RUN "" 2.5 Fields The printable information on a label, ticket, tag, or piece of strip consists - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 19
printer's clock/calendar. In the Intermec Direct Protocol, you can either specify the fields 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. Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 20
Printing Instructions There are some instructions that control the printing and media feed, for example used for: • 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 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 21
• Restart 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 v.8.60-Programmer's Reference Manual 13 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 22
number of free bytes in the printer's memory • Read the names of files, fonts, or images stored in the printer's memory • Remove files, fonts and images • Copy files • Download binary files • Download .PCX files and convert them to images 14 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 23
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 v.8.60, Programmer's Reference Manual. Intermec Direct Protocol v.8.60-Programmer - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 24
Chapter 2-Principles of Operation 16 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 25
3 Label Design This chapter describes how a label layout is made up of various types of fields and explains the instructions used for creating each type of field. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 17 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 26
Chapter 3-Label Design 3.1 Field Types A label layout is made up of a number of fields. There are restrictions, other than the size of the memory, regarding the number of fields on a single label. Bar Code Field (w. interpretation) This is a multiline text field with line-wrap and hyphenation Image - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 27
instruction or after the preceding PRINTFEED). 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 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 28
value: Reset to default by: is a number 1-9 1 PRINTFEED (PF) Example: AN 1 ↵ This instruction will place the lower left corner of the text field at the insertion point specified by PRPOS. Refer to the illustration below, and to the Intermec Fingerprint v.8.60, Programmer's Reference Manual; ALIGN - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 29
Chapter 3-Label Design Intermec Direct Protocol v.8.60-Programmer's Reference Manual 21 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 30
2 and now comes line 3 followed by No. 4. ALIGN 5 This is line number 1 and this is line 2 and now comes line 3 followed by No. 4. ALIGN 1 This is line number 1 and this is line 2 and now comes line 3 followed by No. 4. ALIGN 3 22 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 31
out from the printer. This illustration summarizes the three general formatting instructions PRPOS (PP), ALIGN (AN), and DIR: X-Coordinate DIR 4 DIR 3 Dot 0 Origin X-start DIR 2 DIR 1 Insertion point = Anchor point Dot-line on printhead FEED DIRECTION X-Coordinate Intermec Direct Protocol - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 32
↵ AN 6 ↵ PT "INTERMEC PRINTERS" ↵ PF ↵ XOR Mode The instruction XORMODE controls how intersecting fields will be printed. At XORMODE OFF (default), the intersection will be black, and at XORMODE ON, the intersection will be white. 24 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 33
box In addition to the instructions PRPOS, ALIGN, and DIR (see Chapter 3.2), a text field can contain the following instructions: Select Font The FONT instruction specifies the typeface, size, slant, and width of the simgle-byte Unicode font to be printed. The printer may contain various font sets - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 34
the background is decided by the character cell. A NORIMAGE instruction is only needed when changing back from INVIMAGE printing. NORIMAGE | NI INVIMAGE | II Default: Reset to default by: NORIMAGE. PRINTFEED (PF) NORIMAGE INVIMAGE 26 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 35
missing parameters). Input data to the field and printing instructions are explained in Chapters 3.9 and 4.2 respectively. Purpose Instruction Default Remarks X/Y Position PP (PRPOS) 0/0 Number of dots Alignment AN (ALIGN) 1 Select AN 1-9 Direction DIR 1 Select DIR 1-4 Font FT - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 36
Chapter 3-Label Design 3.4 Bar Code Field The Intermec Direct Protocol supports 53 of the most common bar code symbologies. Each bar code (optionally including its human readable interpretation) makes up a bar code field. In addition to the general formatting instructions PRPOS, ALIGN, and DIR (see - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 37
Chapter 3-Label Design EAN 128 subset A EAN 128 subset B EAN 128 subset C EAN "PLESSEY" "POSTNET" "QRCODE" "RSS14" "RSS14T" "RSS14S" "RSS14SO" "RSS14L" "RSS14E" "RSS14ES" "C2OF5" "ADDON2" "UCC128" "SCCADDON" "UPCA" "UPCA_CC" "UPCD1" Intermec Direct Protocol v.8.60-Programmer's Reference Manual 29 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 38
also affects interpretations that are integrated in the code, for example EAN and UPC codes. BARMAG | BM Default: Reset to default by: is the enlargement of the bar code pattern. 2 PRINTFEED (PF) 30 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 39
position as shown in the figure (default:0 meaning disabled) � � � Offset in the bar code direction from the insertion point. Offset in the bar code height direction from the insertion point. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 31 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 40
3-Label Design enables printing of bar code interpretation (default: OFF) All parameters reset to default by PRINTFEED (PF) Bar code interpretation printing can also be enabled or disabled using these instructions: BARFONT ↔ON | BARFONT↔OFF[,] BF ↔ON | BF↔OFF[,] By default - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 41
downloaded as a file by means of an IMAGE LOAD instruction, see Chapter 7.5. In addition to the general formatting instructions PRPOS, ALIGN, and DIR, an image field can contain the following instructions: Select an Image An image is selected by the full name under which it is stored in the printer - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 42
para-meters). Image selection by means of variable input, and printing instructions are explained in Chapters 3.9 and 4.2 respectively. Purpose Instruction Default X/Y Position PP (PRPOS) 0/0 Alignment AN (ALIGN) 1 Direction DIR 1 Magnification MAG 1,1 Appearance II (INVIMAGE) off NI - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 43
Box size Instruction PP (PRPOS) AN (ALIGN) DIR PX (PRBOX) Default Remarks 0/0 Number of dots 1 Select ALIGN 1-9 1 Select DIR 1-4 n.a. Height, width, and line thickness (dots) Example: PP 250,250:AN 1:DIR 3:PX 200,200,10 ↵ Intermec Direct Protocol v.8.60-Programmer's Reference Manual 35 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 44
Alignment Direction Line size Instruction PP (PRPOS) AN (ALIGN) DIR PL (PRLINE) Default 0/0 1 1 n.a. Remarks Number of dots Select ALIGN 1-9 Select DIR 1-4 Length and thickness (dots) Example: PP 100,100:AN 1:DIR 4:PL 200,10 ↵ 36 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 45
Chapter 3-Label Design 3.8 Layout Instructions Start Layout Recorder The LAYOUT INPUT instruction clears the printer's working memory, 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:"). - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 46
and clear the printer's working memory by means of a LAYOUTEND instruction. The layout could then be copied to the printer's permanent memory ("/c") so it will not be deleted when the power is switched off. LAYOUT END Example: LAYOUT END ↵ COPY "tmp:Shipping Label","/c/Shipping Label" ↵ 38 Intermec - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 47
separator. By default, the following separators should be used: • Start separator: STX (ASCII 02 dec) • Field separator: CR (ASCII 13 dec) • End separator: EOT (ASCII 04 dec) All separators can be changed at will using a FORMAT INPUT instruction, see Chapter 5.5. Intermec Direct Protocol - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 48
printing labels using layout and printable data in one sequence, the predefined layout must first be cleared from the printer's working memory using the instruction in a single PRTXT instruction. The different parts are placed adjacently by Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 49
Default: 0. is a string used to replace the default carriage return or line feed character. is a string for hypenation control, see Intermec Fingerprint v.8.60, Programmer's Reference Manual the character cells on the next line. Note that the alignment affects both how the box is located in relation - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 50
PRBAR instruction. The different parts are instructions in the form of a variable. CNT$ is the number is assigned to the counter in the COUNT& instruction. Example: PT "Label number: ";CNT1$ ↵ PB CNT2$ ↵ 42 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 51
3-Label Design Input Data from the Printer's Clock/Calendar The printer's clock/calendar can be used to provide input data to text and bar code fields by including any of the following instructions in the PRTXT, PRBOX, or PRBAR instructions: DATE$ Returns the current date according to the printer - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 52
be specified in the standard format"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 v.8.60, Programmer's Reference Manual). Examples: PT WEEKNUMBER("031201") ↵ PT WEEKNUMBER(DATE$) ↵ DATEADD - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 53
4 Feeding & Printing Instructions This chapter describes the various instructions used for controlling the media feed and the printing of labels. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 45 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 54
optional paper cutter: CLEANFEED Runs the printer's media feed mechanism in order to facilitate cleaning of the platen roller. FORMFEED | FF [] Feeds out a blank label or optionally feeds out (+) or pulls back (-) a certain amount of media without printing - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 55
specification of the feed length, a complete blank label (or the equivalent) will be fed out. Do not use FORMFEED instructions with specified feed length to substitute the Start- and Stopadjust setup. The relation between media and printhead at the moment when the actual printing starts decides all - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 56
, a batch of labels, tickets, tags, or pieces of continuous stock. PRINTFEED | PF [] Default: specifies the number of copies to be printed. 1 The execution of a PRINTFEED instruction resets the following instructions to their respective default values: ALIGN BARMAG DIR - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 57
By default, you can break and resume the printing of a batch of labels by pressing either the or the keys on the printer's built-in keyboard. Other methods for issuing a break instruction can be selected as described in Chapter 6.18. Clearing the Image Buffer The image buffers store - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 58
fined layout and you want to return to the method of printing labels using layout and printable data in one sequence, the predefined layout must first be cleared from the printer's working memory using the instruction: LAYOUT RUN "" 50 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 59
Chapter 4-Feeding & Printing Instructions Reprinting a Lost Label An out-of-paper, an out-of-ribbon condition, or a media jam may cause serious trouble when printing batches of labels, especially with consecutive numbering. If the key is enabled (see PRINT KEY ON/OFF in Chapter 5.9), an - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 60
Chapter 4-Feeding & Printing Instructions 52 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 61
5 Setting Up the Printer This chapter describes how to use various instructions to set up the printer. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 53 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 62
"Direct Protocol 8.60" appears in the printer's display. To return from the Intermec Direct Protocol to the Immediate Mode, use this instruction: INPUT OFF Reception of data to layouts are disabled, the error-handler is turned off and the verbosity is reset to the level selected before last INPUT ON - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 63
/calendar (RTC) which retains its setting even when the printer is switched off. Note: If no RTC is installed, the internal clock will be used. After startup, an error will occur when trying to read the date or time before the internal clock has been manually set by means of either a DATE$ or a TIME - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 64
) Default: instructions that allow you to assign names in any language to months and weekdays: NAME DATE$,"" is 1-12. is the desired name enclosed with quotation marks. 56 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 65
or ENQ/ACK, which may interfere with the communication between printer and host. You must first leave the Intermec Direct Protocol by means of an INPUT OFF instruction, change the separators using a FORMAT INPUT instruction, and then enter the Intermec Direct Protocol again by means of an INPUT ON - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 66
digits. Must only be used in numeric counters. 1 Number of Copies Before Update COUNT& "COPY", ,"" Default: sets the quantity of copies to be printed before counter is incremented or decremented. 1 Incrementation/Decrementation COUNT& "INC - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 67
label has been removed. This facility is especially useful for batch printing. You can enable or disable this function by means of the following instruction. By default, LTS is disabled. LTS& ON | OFF 5.8 Enabling/Disabling Automatic Cutting Some printers can, as an option, be fitted with a paper - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 68
5.9 Enabling/Disabling the Print Key All printers have a key on its front panel, usually labelled "Print", which can be used to initiate a PRINTFEED operation. You can enable or disable this function by means of the following instruction. By default, the key is disabled. PRINT KEY ON | OFF - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 69
which are not included in the 7-bit part of that character set (see Chapter 8). Suppose you have no need for the $ character. Then remap the £ character (ASCII 187 dec.) to the value of the $ character (ASCII 36 dec.): MAP 36,187 ↵ Intermec Direct Protocol v.8.60-Programmer's Reference Manual 61 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 70
code interpretation (the human readable characters below the bar pattern) is affected by a NASC instruction. However, the interpretation of bar codes, that have been processed and are stored in the print buffer, will not be affected. 62 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 71
be deleted and the buffers will be emptied. REBOOT Note: Counters, time and date formats, separators, and error messages will be lost and a number of instructions will be reset to default. 5.15 Setting the Verbosity Level The verbosity level controls the amount of information to be returned from - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 72
the text in the lower line. Examples: ERROR 1010,"HARDWARE ERROR"↵ ERROR 1029,"PRINTHEAD↔VOLT-↔↔AGE↔TOO↔HIGH"↵ The following error conditions are always handled without having to be activated by an ERROR instruction: Font not found (error 15) Printer beeps and message is shown. Press any key - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 73
for the operator to press the key. Ribbon installed (Error 1058) A message is shown in the display. The printer waits for the ribbon to be removed or the setup to be changed from direct thermal to thermal transfer printing. If the error stopped a print operation, the operation must be - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 74
Batch Printing When printing large batches of labels, it is useful to be able to break the printing, if for example an error should be detected. You can break the printing either via any serial communication channel or from the printer's built-in keyboard (if any). By default, a break instruction is - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 75
the Printer's Setup The basis for how the printer works is the setup in the Setup Mode. There are several ways to change the setup: • Manually using the printer's built-in keyboard, see the "User's Guide" manual for the resp. printer model. • Remotely using setup files, see Intermec Fingerprint - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 76
,LABEL↔OFFSET,nnn" "MEDIA,PAPER↔TYPE,TRANSFER,LOW↔DIAMETER,nnn" "MEDIA,CONTRAST,-10%|-8%|-6%|-4%|-2%|+0%|+2%|+4%|+6%|+8%|+10%" "MEDIA,PAPER, LOW ↔DIAMETER,nnn" "MEDIA,PAPER, TESTFEED↔MODE,FAST|SLOW" "MEDIA,LEN(SLOW↔MODE),nn" "PRINT↔DEFS,PRINT↔SPEED,nnn" "PRINT↔DEFS,LT↔VALUE,nn" 68 Intermec - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 77
and FORMFEED. Default is 1 mm/0.039 inches (8 or 12 dots depending on printhead density). 5.22 Overriding Media Feed Setup The LBLCOND instruction allows you to override the media feed setup, switch off the label stop/black mark sensor (LSS), or to select mode for controlling the printing of very - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 78
, only the part of the print image that fits 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. 70 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 79
6 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 v.8.60-Programmer's Reference Manual 71 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 80
time according to the printer's clock/calendar can be read as follows: ? DATE$ or ? DATE$("F") ? TIME$ or ? TIME$("F") 6.4 Testing the Printhead The thermal printhead can be tested in three ways: ? FUNCTEST$ ("HEAD") The printhead is tested for number of dots and possible faults. There are - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 81
level (see 5.15) returns selected type of error message (see 5.16) returns printer's paper type setup: 0= Direct thermal or 1= Thermal transfer returns status of the ribbon end sensors: 0=No ribbon or 1=Ribbon returns status of the ribbon low sensor: 0=Ribbon OK or 1=Ribbon low returns status of the - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 82
ribbon (returns 0 if DT) printer voltage too high printer is feeding RESERVED printer out of media Parameters can be combined, for example checks for both "printhead lifted" and "label not removed" conditions. The printer will either return 1 (=yes) or 0 (=no). The version of the Intermec - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 83
7 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 files. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 75 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 84
of all files in the printer's permanent memory or optionally in some other specified part of the memory. Information on Intermec Fingerprint v.8.60 Programmer's Reference Manual): KILL ""|"" The file name must correspond exactly to the name returned by a FILES instruction - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 85
to be received with a 25 sec. timeout between characters. 7.5 Downloading Image Files Image files in .PCX format can be downloaded to the printer's memory and installed using a single instruction. Before the transfer can be performed, the communication setup must be changed to 8 characters, CTS - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 86
Chapter 7-File Handling 78 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 87
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.8.60, Programmer's Reference Manual for comprehensive descriptions and examples. Intermec Direct Protocol v.8.60-Programmer's Reference - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 88
fies height of bars in dots (default 100) - are bar code specific. Only used in some complex codes. See the Fingerprint Programmer's Reference Manual for more information on how these param- eters affect specific bar codes. 80 Intermec Direct Protocol v.8.60-Programmer's Reference - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 89
compound data, such as... PRTXT "Label No.";CNT1$;" Date ";DATE$("F") ...is expanded by the printer into a single ASCII string before any Intermec Direct Protocol v8.60 supports these using NASCD commands, which activate double-byte character sets. The UTF-8 character set is stored in the printer - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 90
NASCD "[card1:]"|"utf-8" "/utf-8" Default: is one of the values listed in chapter 6.11 is the device and name of a double byte character set (normally stored in a memory card) sets the printer to use uth UTF-8 character set. NASC 1 (Roman 8 character set - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 91
detail regarding the use of UTF-8 with Fingerprint or Direct Protocol can be found in Intermec Fingerprint v8.60, Programmer's Reference Manual. The example below assumes that the font "Song" has been installed. NASC "UTF-8" ↵ FONT "Song" ↵ PRTXT CHR$(227)+CHR$(129)+CHR$(129) ↵ PRTXT " = Hiragana - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 92
running Direct Protocol v8.60 are XMLReady™, and have support for Oracle MSCA/WMS and SAP Auto-ID Infrastucture (AII) XML document types. XML data can be sent over the network to the printer, triggering a label (or labels) to be printed with the variables defined in the layout file substituted - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 93
9 Character Sets and Fonts This chapter lists the various single-byte character sets used in Intermec Direct Protocol v8.60 and provides printout samples of the resident fonts. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 85 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 94
be selected using the NASC instruction. They are illustrated using decimal can only be printed if the selected font exist in the selected font, is used, an error condition (Error 1030) will occur. Non-printable control characters (ASCII Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 95
Roman 8 Chapter 9-Character Sets and Fonts (NASC 1) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 87 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 96
Chapter 9-Character Sets and Fonts French (NASC 33) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 88 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 97
Spanish Chapter 9-Character Sets and Fonts (NASC 34) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 89 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 98
Chapter 9-Character Sets and Fonts Italian (NASC 39) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 90 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 99
English (UK) Chapter 9-Character Sets and Fonts (NASC 44) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 91 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 100
Chapter 9-Character Sets and Fonts Swedish (NASC 46) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 92 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 101
Norwegian Chapter 9-Character Sets and Fonts (NASC 47) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 93 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 102
Chapter 9-Character Sets and Fonts German (NASC 49) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 94 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 103
Japanese Latin Chapter 9-Character Sets and Fonts (NASC 81) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 95 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 104
Chapter 9-Character Sets and Fonts Portuguese (NASC 351) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 96 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 105
MS-DOS Latin 1 Chapter 9-Character Sets and Fonts (NASC 850) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 97 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 106
Chapter 9-Character Sets and Fonts MS-DOS Greek 1 (NASC 851) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 98 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 107
MS-DOS Latin 2 Chapter 9-Character Sets and Fonts (NASC 852) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 99 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 108
Chapter 9-Character Sets and Fonts MS-DOS Cyrillic (NASC 855) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 100 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 109
MS-DOS Turkish Chapter 9-Character Sets and Fonts (NASC 857) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 101 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 110
Chapter 9-Character Sets and Fonts Windows Latin 2 (NASC 1250) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 102 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 111
Windows Cyrillic Chapter 9-Character Sets and Fonts (NASC 1251) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 103 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 112
Chapter 9-Character Sets and Fonts Windows Latin 1 (NASC 1252) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 104 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 113
Windows Greek Chapter 9-Character Sets and Fonts (NASC 1253) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 105 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 114
Chapter 9-Character Sets and Fonts Windows Latin 5 (NASC 1254) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 106 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 115
Windows Baltic Rim Chapter 9-Character Sets and Fonts (NASC 1257) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 107 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 116
Chapter 9-Character Sets and Fonts PCMAP (NASC -1) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 108 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 117
ANSI Chapter 9-Character Sets and Fonts (NASC -2) 0123456789 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Direct Protocol v.8.60-Programmer's Reference Manual 109 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 118
Chapter 9-Character Sets and Fonts 9.2 Resident Fonts All fonts in this list contain the Euro currency sign (€) with the exception of OCR-A BT, OCR-B 10 Pitch BT, and DingDings SWA. 110 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 119
A Error Messages This appendix lists the number and messages for the various errors conditions. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 111 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 120
without WHILE Not allowed in execution mode. Not allowed in a layout. Download timeout. Exit to system. Invalid cont environment. ETX Timeout. Not implemented. Memory too small. Field out of label. Wrong font to chosen direction. 112 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 121
Unsupported protocol. 1022 Head lifted. 1083 Ribbon low. 1023 Incomplete label. 1084 Paper low. 1024 File too large. 1085 Connection timed out. 1025 File does not exist. 1086 Secret not found. 1026 Label pending. 1087 Paper jam. 1027 Out of transfer ribbon. 1088 Printhead too hot. 1028 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 122
item. 1320 No RFID support installed. 1321 No tag found. 1322 Access outside tag memory. 1323 Access too long for block. 1324 RFID inactive. 1601 Reference Font Not Found. 1602 Error in Wand-Device. 1603 Error in Slave Processor. 1604 Print Shift Error. 1605 No Hardware Lock. 1606 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 123
B 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 v.8.60-Programmer's Reference Manual 115 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 124
. CLEANFEED 4.1 Running the printer's feed mechanism. CLIP 3.2 Enabling/disabling partial fields. CLL 4.3 Partial or complete clearing of the print image buffer. COPY 7.3 Copying files. COUNT& 5.6 Creating a counter. CUT 4.1 Activating an optional paper cutting device. CUT ON - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 125
and enabling the error handler for specified error conditions. 3.3 Getting the current field number for partial clearing of the print buffer by a CLL instruction. 6.4 Reception and storing of binary files in the printer's permanent memory 6.1 Listing files stored in the printer's memory to - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 126
of free bytes in a part of the printer's memory. Performing various hardware tests. Returning the result of a thermal printhead check. Reception and conversion predefined layout. Overriding media feed setup, switching off LSS, or select mode. Enabling or disabling the label taken sensor. Magnifying - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 127
a multiline text field. Selecting an image stored in the printer's memory. Printing of data to the standard OUT channel. Enabling/disabling printing of a label by pressing the Print key. Printing and feeding out one or a specified number of labels (or similar). Creating a line. Specifying the - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 128
of the firmware, printer family, or type of CPU board 3.9 Returning the name of the weekday from a specified date. 3.9 Returning the number of the week for a specified date. 3.2 Controlling printing of intersection fields. 120 Intermec Direct Protocol v.8.60-Programmer's Reference Manual - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 129
Appendix B-Reference Lists Instruction Syntax List ALIGN|AN BARFONT|BF[#,"" COUNT& "RESTART", ,"" CUT CUT [] ON|OFF DATE$ = "" Intermec Direct Protocol v.8.60-Programmer's Reference Manual 121 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 130
(["",][,"F"|"A"]) DIR ERROR , "" % = FIELDNO FILE& FF [] FRE () FUNCTEST$ ("|||") HEAD( - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 131
>[,[,]] TAGFORMAT TAGPROTECT ON|OFF TAGREAD [,,,] TAGWRITE [,,,] TESTFEED [] Intermec Direct Protocol v.8.60-Programmer's Reference Manual 123 - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 132
Appendix B-Reference Lists TIME$ = "" TIME$ [("F")] TIMEADD$ (["",] - Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 133
- Intermec PF2i | Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 134
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 v8.60-Programmer's Reference Manual *1-960597-06* *1-960597-06*
![](/manual_guide/products/intermec-px4i-intermec-direct-protocol-860-programmers-reference-manual-b363863/1.png)
Programmer’s
Reference Manual
Intermec
Direct Protocol
v8.60