Intermec PB50 Fingerprint Developer's Guide (old)

Intermec PB50 Manual

Intermec PB50 manual content summary:

  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 1
    Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 2
    www.intermec.com The information contained herein is provided solely for the purpose of allowing customers to operate and service Intermec-manufactured part of Intermec Technologies Corporation. © 2008 - 2009 by Intermec Technologies Corporation. All rights reserved. The word Intermec, the Intermec
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 3
    7/2008 Description of Change Updated document for new printer models and new symbologies. Initial release of this document. Content in this document was originally located in: • the Fingerprint Programmer's Reference Manual (P/N 937-005-001). • the Intermec Fingerprint 8.00 Tutorial (P/N 1-960608
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 4
    iv Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 5
    Before You Begin xiii Safety Information xiii Global Services and Support xiii Who Should Read This Manual xiv Related Documents xiv 1 Introduction to Fingerprint 1 What Is Fingerprint 2 Which Printers Support Fingerprint 2 Learning the Structure of Fingerprint Commands 2 Fingerprint
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 6
    Loops 22 Using a FOR...NEXT Instruction 22 Using a WHILE...WEND Instruction the Program 28 Naming the Program 28 Protecting the Program 29 Saving Without Line Numbers Managing Files 33 Using Directories in the Printer File System 34 Using Path Shortcuts 34 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 7
    58 Printing Characters by ASCII Values With PRINTONE 59 Redirecting Output to a File 60 Output to Sequential Files 60 Using an OPEN Statement 60 Printing Expressions to a Sequential File With PRINT 61 Printing Characters by ASCII Values With PRINTONE 61 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 8
    Single-Line and Multi-Line Text Fields 83 Specifying a Font With FONT or FONTD 83 Inverting Black and White Printing With NORIMAGE or INVIMAGE 83 Specifying Text for Printing With PRTXT 84 Defining Borders With PRBOX 84 Summary for Text Fields 84 viii Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 9
    Automatic Paper Cutter With CUT ON 106 Enabling the Label Taken Sensor With LTS& ON 106 Repeating the Last Printing Operation With PRINTFEED 106 Enabling Manual Printing With PRINT KEY ON 107 Checking the Transfer Ribbon and Printhead With SYSVAR 107 Intermec Fingerprint Developer's Guide ix
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 10
    and BARADJUST 107 Checking Printhead Status With FUNCTEST or FUNCTEST 109 Reprinting Labels After Interruptions 109 About Batch Printing 109 Using the Printer Keypad 111 Branching to the Permanent Memory 126 Using the Industrial Interface 126 x Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 11
    Execution After Errors 132 Returning Print Job and Printhead Status With PRSTAT 132 Error Handling Example 133 Using the ERRHAND.PRG Utility Program 134 Modifying ERRHAND Variables and Subroutines 134 Complete Listing of ERRHAND.PRG 135 Standard Error Codes 138 A Printer Keypad Layouts
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 12
    Contents I Index 159 xii Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 13
    to download our current manuals (in PDF). Visit the Intermec technical knowledge base (Knowledge Central) at www.intermec.com and click Support > Knowledge Central to review technical information or to request technical support for your Intermec product. Intermec Fingerprint Developer's Guide xiii
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 14
    , and troubleshooting your Intermec printer. You should also be familiar with networking terms, such as IP address. Related Documents This table contains a list of related Intermec documents and their part numbers. Document Title Intermec Fingerprint Command Reference Manual Intermec Direct
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 15
    To download documents 1 Visit the Intermec web site at www.intermec.com. 2 Click Support > Manuals. 3 Use the Product Category field, the Product Family field, and the Product field to help you locate the product whose documentation you want to download. Intermec Fingerprint Developer's Guide xv
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 16
    Before You Begin xvi Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 17
    This chapter introduces Intermec Fingerprint and includes these topics: • What Is Fingerprint? • Which Printers Support Fingerprint? • Learning the Structure of Fingerprint Commands • Fingerprint Operating Modes • Sending Fingerprint Commands to the Printer Intermec Fingerprint Developer's Guide 1
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 18
    Reference Manual. Learning the Structure of Fingerprint Commands Fingerprint commands are text strings that instruct the printer to perform a variety of operations, such as downloading data from a host, configuring a bar code label format, enabling and disabling printer options, or starting a print
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 19
    feed. Specifies which anchor point of a field, line, or box should be at the insertion point. 5 indicates that the center anchor point should be at the insertion point. Selects an image stored in printer memory, where "Globe.1" is the image file name. Prints one label. Runs the program. For more
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 20
    to the printer with HyperTerminal 1 Connect the printer to the serial port (COM1) on your desktop PC. For more information, see the user's guide for your printer. 2 Turn the printer on. 3 On the desktop PC, start the HyperTerminal application. 4 Configure HyperTerminal for a serial connection using
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 21
    Programming Mode • Sending Programs to the Printer • Commands for Editing Code • Using Conditional Instructions • About Branching • About Loops • Structuring Your Program • Executing the Program • Breaking Program Execution • Breaking Program Execution Intermec Fingerprint Developer's Guide 5
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 22
    an image in printer memory. In some cases, a space character is a required part of the keyword, in a text field. ON BREAK 1 GOSUB indicates that on the first break interrupt instruction, the program Intermec Direct Protocol, numbering is not required. 6 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 23
    Line Feed (ASCII 13 + 10 decimal). With the setup option "New Line", you can restrict the printer to only echo back either a Carriage Return (ASCII 13 decimal) or a Line Feed (ASCII 10 decimal). If you choose to enter the line numbers manually, start with number 10 and increment line numbers up by
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 24
    . Digits or operators are considered part of the sequence of characters and errors. For a list of reserved keywords, see "Reserved Keywords and Symbols" on page 157. An expression can be either a constant or a variable. There are two types of expressions: 8 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 25
    return: -1 if relation is TRUE. 0 if relation is FALSE. The following rules apply: • Arithmetic operations are evaluated before relational operations. • Letters are greater than digits. Intermec Fingerprint Developer's Guide 9
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 26
    logical expressions. Examples of Logical Operator AND A B T T T F F T F F A AND B T F F F Examples of Logical OperatorXOR A B T T T F F T F F A XOR B F T T F Examples of Logical Operator OR A B T T T F F T A OR B T T T 10 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 27
    Input/Output usb1: USB communication port Input/Output finisher: Printer finisher interface Input/Output Memory Devices Name /rom /c tmp: Refers To Printer firmware (Kernel) plus read Name lock: Refers To Electronic key. Can Be OPENed For Input Intermec Fingerprint Developer's Guide 11
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 28
    starting with a number but ending in a carriage return is treated as an Immediate Mode command. Sending Command Strings in Immediate Mode You can send command strings in Immediate Mode to print label formats. Command strings can be issued in a single line: 12 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 29
    more information, see the Fingerprint Command Reference Manual. As soon as a carriage return is received, the firmware checks the instructions for syntax errors. Provided there is a working two-way communication and the verbosity is on, the printer returns either an error message or "Ok" to the host
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 30
    Chapter 2 - Understanding Fingerprint Syntax Using Line Numbers You can manually enter line numbers as you write program lines. Intermec recommends that you start with line number 10 and use an increment of 10 between lines to allow additional lines to be inserted later if necessary. To make the
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 31
    Printer Each time a command line or program line is sent to the printer, the line is checked for possible syntax errors. Note: If verbosity is on, the printer returns either "Ok" or an error text file to the printer. If the host CLEAR the printer working memory, statement to the printer. • IMMEDIATE
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 32
    a RUN statement to start the program. • REM Any characters preceded by REM are not regarded as part of the program and on page 26. Using Conditional Instructions Conditional instructions control the execution based on 50 IF A%>B% THEN PRINT C$ ELSE PRINT D$ 16 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 33
    from the main program execution. For example, branching to subroutines can occur when: • an error condition occurs. • a condition is fulfilled, such as a certain key being pressed or a variable obtaining a certain value. • a break instruction is received. Intermec Fingerprint Developer's Guide 17
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 34
    to write the routine once, making the program more compact. The instruction for unconditional branching to subroutines is the GOSUB statement. After branching, ",B% 30 IF A%=B% THEN GOTO 100 ELSE PRINT "NOT EQUAL" 40 END 100 PRINT "EQUAL" 110 GOTO 40 RUN 18 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 35
    PRINT "You have pressed key 3": GOTO 30 Using an ON BREAK...GOSUB Instruction When a BREAK condition occurs on a specified device, the execution is interrupted and branched to a specified subroutine. For example, the program can make the printer A% GOTO 60 Intermec Fingerprint Developer's Guide 19
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 36
    PRTXT "SAMPLE" ON KEY (10) GOSUB 1000 ON KEY (11) GOSUB 2000 KEY (10) ON : KEY (11) ON GOTO 70 PRINTFEED END SETUP "MEDIA,CONTRAST,-10%" PRPOS 100,100 : PRTXT "Weak Print" RETURN 110 SETUP "MEDIA,CONTRAST,10%" PRPOS 100,100 : PRTXT "Dark Print" RETURN 110 20 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 37
    to resume execution after an error-handling subroutine has been executed. RESUME is only used in connection with ON ERROR GOTO statements and can be used as follows: • RESUME or RESUME 0 - Execution is resumed at the statement where the error occurred. Intermec Fingerprint Developer's Guide 21
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 38
    . To loop back to a different FOR statement, the corresponding NEXT statement must include the same counter designation as the FOR statement. This example shows how five lines of text entered from the host keyboard can be printed with an even spacing: 22 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 39
    two nested FOR...NEXT loops: 10 FOR A%=20 TO 40 STEP 20 20 FOR B%=1 TO 2 30 PRINT A%,B% 40 NEXT : NEXT A% RUN This results in: 20 1 20 2 40 1 40 2 This example shows how to create an incremental counter: 10 INPUT "Start Value: ", A% 20 INPUT "Number of labels: ", B% 30 INPUT "Increment: ", C% 40
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 40
    #. • Printing routine: FORMFEED, PRINTFEED, CUT. • Looping instructions: GOTO. 4 Subroutines • Break subroutines: BREAK ON/OFF, BREAK. • Background communication subroutines: COM ERROR ON, COM ERROR OFF, COMSET, COMSET ON, COMSET OFF, COMBUF$, COMSTAT. 24 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 41
    connected to the printer through a serial connection, the first error that stops the execution causes an error message to be returned to the host screen. In case of program errors, the number of the line where the error occurred is reported by default (for example ,"Field out of label in line 110
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 42
    executes the program and prints the text to the HyperTerminal window. 6 Type LIST and press Enter. The program is listed with line numbers. Breaking Program Execution You may write some programs that auto-start when the printer is turned on. Because there is no default break facility from the
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 43
    using a BREAK...ON statement for a specified channel. Break interrupt from the printer keypad is enabled by default. The BREAK...OFF statement revokes BREAK...ON for the specified device and deletes the specified break character from the printer memory. Intermec Fingerprint Developer's Guide 27
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 44
    could branch the execution to another part of the program, show a message in the display, emit a warning signal, or ask for a password. ON BREAK... GOSUB... can be specified separately for each serial communication channel and for the printer keypad. This example shows how a break interrupt occurs
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 45
    The automatic case conversion and current directory (by default "/c"). SAVE "program2" printer. Protecting the Program When a program is SAVEd, you have the option to also protect labels for referring to other lines, such as loops and branching instructions Intermec Fingerprint Developer's Guide 29
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 46
    :"). Directories are not supported. In addition, Intermec Shell has an application that allows you to download files from the host directly to a CompactFlash memory card using the Zmodem communication tool in order to create firmware upgrade cards. See the printer user's guide for more information
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 47
    2 - Understanding Fingerprint Syntax 2 An AUTOEXEC.BAT file stored in the read/write part of the printer permanent memory (device "/c"). 3 The PUP.BAT file (Intermec Shell) in the read-only part of the printer permanent memory (device "/rom"). The MKAUTO.PRG program is included in the systems
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 48
    Chapter 2 - Understanding Fingerprint Syntax 32 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 49
    for Creating and Managing Program Files • Commands for Creating and Managing Data Files • Commands for Transferring Text and Binary Files • Commands for Transferring Files Between Printers • Commands for Working With Arrays Intermec Fingerprint Developer's Guide 33
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 50
    in the printer support the use of directories. However, directories cannot be used in any other parts of the memory information on commands, see the Intermec Fingerprint Command Reference Manual. Using Path Shortcuts As a "/c" supports using directories. 34 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 51
    parts of the printer memory supported). You can COPY a file to the standard OUT channel, where it will be printed on the screen of the host, for example: COPY "[device]filename", "uart1:" Listing a File With the FILELIST Program The FILELIST.PRG program included in the Intermec Fingerprint firmware
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 52
    files are used to run and control the printer and to produce labels or other printouts. A program file is file to the program file currently residing in the printer working memory. • RUN executes the instruction in the program file. Must be issued in Immediate Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 53
    output device. By default, a file name designated "KERMIT.FILE" will be transferred on the standard IN or OUT channel. In this example, the printer is set up to value of last character Element 3 returns: Last error Element 4 returns: Block check type used Intermec Fingerprint Developer's Guide 37
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 54
    printer to another printer, start by transferring the file to the host. Then disconnect the first printer and download the file to the second printer (or have the two printers connected to separate serial ports PRG." LOAD "DEMO.PRG" PRINT CHECKSUM (10,90000) Commands to 3) by default. There are four
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 55
    dimensions as well as the number of elements in each dimension. In most cases, one- or two-dimensional arrays will be sufficient. This example shows how SORT ARRAY$,0,3,-5 70 FOR I%=0 TO 3 80 PRINT ARRAY%(I%), ARRAY$(I%) 90 NEXT I% RUN The printer returns: Intermec Fingerprint Developer's Guide 39
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 56
    . In this example a string expression is divided into six parts by the separator character "/" (ASCII 47 dec.) and arranged PRINT "LRC checksum: ";B% 60 CSUM 2,ARRAY$,C%:PRINT "DRC checksum: ";C% RUN The printer returns: LRC checksum: 0 DRC checksum: 197 40 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 57
    Input From Sequential Files • Input From a Random File • Input From the Printer Keypad • Controlling Communication • Managing Background Communication • Output to the Standard OUT Files • Output to Communication Channels • Output to the Printer Display Intermec Fingerprint Developer's Guide 41
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 58
    : Enter character? Note: When using 7 bit communications, the printer cannot echo back the correct character to the host if its ASCII value exceeds 127. Although semicolon characters appear onscreen, the desired "£" characters are printed on the label. 42 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 59
    is printed according to the selected character set. However, instructions concerning the printable label image updated automatically. The display can show most printable Latin characters. In Setup Mode, all characters are mapped according to the US-ASCII standard. • Data transmitted from the printer
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 60
    printed. Double-byte fonts and character set tables are available from Intermec. For information, contact your Intermec sales representative. In this example, the text field value. This is useful when a printer keyboard cannot produce a particular character. Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 61
    Manual printhead of a 12 dots/mm printer: 10 MIN%=HEAD(-7)*85\100: MAX%=HEAD(-7)*115\100 20 DOTNO%=RANDOM(0,1279) 30 IF HEAD(DOTNO%)MAX% THEN 40 BEEP 50 PRINT "ERROR IN DOT "; DOTNO% 60 ELSE 70 BEEP 80 PRINT so. This example prints a random pattern RUN The printer returns: Random
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 62
    20 RANDOMIZE A% 30 B%=RANDOM(1,100) 40 PRINT B% RUN The printer returns: 42 Setting the Standard IN and OUT Channels The standard IN and standard OUT channels are the channels for input to the printer and output from the printer respectively. The default setting for both is "auto", which means
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 63
    PRINT #1, "Record B",1,2,3 40 PRINT #1, "Record C","x";"y";"z" 50 PRINT #1, "Record D,Record E,Record F" 60 CLOSE #1 70 OPEN "QFILE" FOR INPUT AS #1 80 INPUT #1, A$ 90 INPUT #1, B$ 100 INPUT #1, C$ 110 INPUT #1, D$,E$,F$ 120 PRINT A$ 130 PRINT B$ 140 PRINT C$ Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 64
    150 PRINT D$ 160 PRINT E$ 170 PRINT F$ 180 CLOSE #1 RUN The printer returns: Record A a b c Record B 1 2 3 Record C xyz Record D Record E Record F Reading a Specific Data Length With INPUT$ INPUT$ reads a specified number of characters from the specified sequential file or channel. By default, if
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 65
    INPUT AS #1 50 LINE INPUT #1, A$ 60 PRINT A$ 70 CLOSE #1 RUN The printer returns: Record A,Record B,Record C Closing a File LINE INPUT#, or INPUT$ statements to avoid the "Input past end" error condition. When the EOF function encounters the end of a file, Intermec Fingerprint Developer's Guide 49
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 66
    "PRICELIST" is returned: 10 OPEN "PRICELIST" AS #5 20 PRINT LOF(5 Input From a Random File To read the data stored in the remaining 6 bytes to F3$: 20 FIELD#1, 4 AS F1$, 4 AS F2$, 6 AS F3$ Copying a Specific Field With GET A GET statement copies the desired Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 67
    : 40 PRINT F1$,F2$,F3$ Closing a File Finally, close the file and execute: 50 CLOSE #1 RUN The printer returns: ABC DEF 123456 Finding the Last Field Read With printer keyboard: • OPEN (opens the device "console:" for sequential INPUT) • INPUT# • INPUT$ Intermec Fingerprint Developer's Guide 51
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 68
    signal (for example XON or RTS/CTS high). For more information, see the printer user's guide. • The parallel Centronics communication channel uses the BUSY/READY statements to control the PE (paper end) signal on pin 12: • BUSY = PE high • READY = PE low 52 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 69
    and PRINT also work normally. When the printer receives a character, such as from the host keyboard, the same character is echoed back on the standard OUT channel by default. When an instruction has been checked for syntax errors and accepted, the printer returns "Ok". Otherwise an error message
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 70
    see the Fingerprint Command Reference Manual. To set up the printer for background communication 1 Enable the error handling for the desired background communication channel using a COM ERROR ON statement. For specifics, see COM ERROR ON in the Fingerprint Command Reference Manual. It may be useful
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 71
    Managing Input and Output • the character or string of characters used to tell the printer to start receiving data and to stop receiving data. • the character or characters to be : • Max. number of characters received (2). • End character received (4). Intermec Fingerprint Developer's Guide 55
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 72
    ON statement. Note: Because COMSET ON/OFF statements empty the buffer, use COMBUF$ to read the buffer contents first. 6 Add a few lines to print the content of the buffer (line 1060) and create a loop that waits from input from the host (line 90). The entire example looks like this: NEW 10 COM
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 73
    QDATA$=COMBUF$(1) IF COMSTAT(1) AND 2 THEN PRINT A$ IF COMSTAT(1) AND 4 THEN PRINT B$ IF COMSTAT(1) AND 8 THEN PRINT C$ IF COMSTAT(1) AND 32 THEN PRINT D$ PRINT QDATA$ RETURN Setting Up RS-422 Communication Some Intermec printers can be fitted with an optional interface board that provides RS-422
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 74
    at the start of the next tabulating zone (each zone is 10 characters long). Example: PRINT "Price","$10" The printer returns: Price $10 • A semicolon (;) places the following expression immediately adjacent to the preceding expression. Example: 58 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 75
    expression immediately adjacent to the preceding string expression. Example: PRINT "Price_"+"$10" The printer returns: Price_$10 Each line is terminated by a carriage return to make the PRINT statement start on a new line. However, if a PRINT statement is appended by a semicolon, the carriage return
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 76
    is stored. In this case no data is echoed back The images in the printer memory are read to channel "uart1:" and printed on the screen of the instructions. The number mark (#) is optional. Optionally, the length of the record can also be changed (default Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 77
    to the selected file or device. For more information, see "Printing Characters by ASCII Values With PRINTONE" on page 59. This example prints two records ("Hello" and "Goodbye") to "FILE1": 10 OPEN example, see "Determining File Length With LOF" on page 49. Intermec Fingerprint Developer's Guide 61
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 78
    With OPEN Start by OPENing a file for random input/output. Since random access is selected by default, the field 1, 4 bytes to field 2 and 6 bytes to field 3. The fields are assigned to the string variables F1$, F2$, and F3$ respectively. 20 FIELD from the printer keyboard. In this example,
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 79
    instructions produce the following record: Record: 1 Field: 1 2 3 Byte: 1 2 3 4 1 2 3 4 1 2 3 4 5 6 The first field is left-justified, the second field is right-justified, and the third field 3 4 1 2 3 4 5 6 1 2 3 4 1 2 3 4 1 2 3 4 5 6 1 2 3 4 1 2 3 4 1 2 3 Intermec Fingerprint Developer's Guide 63
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 80
    RUN Finding the Last Field Read and Determining File serial case, the "centronics:" channel cannot be used. These Fingerprint commands are used in connection with output to a communication channel: • OPEN • PRINT# • PRINTONE# • CLOSE • LOC • LOF • COPY 64 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 81
    Output to the Printer Display The only device other than the serial communication channels that can be OPENed to receive output from a Fingerprint program is the printer display ("console:"). For more information, see "Printer Keypad Layouts" on page 139. Intermec Fingerprint Developer's Guide 65
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 82
    Chapter 4 - Managing Input and Output 66 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 83
    5 Managing Fonts, Bar Codes, and Images This chapter explains how to manage fonts, bar code printing, and images, and includes these topics: • Managing Fonts • About Bar Code Symbologies • Understanding Images and Image Files Intermec Fingerprint Developer's Guide 67
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 84
    fonts and font printing. Fingerprint printers include 15 scaleable single printer automatically switches to a special character set for the font. When any other font is selected, the printer automatically returns to the previously selected character set. 68 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 85
    , which will list dedicated barcode fonts. Font files can be listed to the standard OUT channel using the FILES statement. This example shows how to list all fonts: 10 A$ = FONTNAME$(0) 20 IF A$ ="" THEN END 30 PRINT A$ 40 A$ = FONTNAME$(-1) 50 GOTO 20 RUN Intermec Fingerprint Developer's Guide 69
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 86
    TRANSFER ZMODEM commands to download font files to the printer. You can also download fonts from a Font Fingerprint v8.xx, the relation between print direction and the file extension is font. Bitmap fonts do not support slant values. Creating and Using Font Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 87
    aliases as required. The default size is 12 points, the default slant is 0°, and Bar Code Symbologies Fingerprint supports the following bar code symbologies Bar Code Type Aztec Codabar Code 11 Code 16K Code 39 Code 39 EAN13_CC" "EAN128" "EAN128A" "EAN128B" Intermec Fingerprint Developer's Guide 71
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 88
    RSS-14 Truncated Straight 2 of 5 Two-Character Supplemental Code UCC-128 Serial Shipping Container Code UPC-5 digits Add-On Code UPC-A UPC-A Composite with UPCA" "UPCA_CC" "UPCD1" "UPCD2" "UPCD3" "UPCD4" "UPCD5" "UPCE" "UPCE_CC" "UPCSCC" "USPS4CB" 72 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 89
    Code Printing The printer contains a number of bar code generators, which can produce highly readable bar codes in four different directions. Generally, it is more difficult to print code. For more information, see the Fingerprint Command Reference Manual. Intermec Fingerprint Developer's Guide 73
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 90
    the PD42 Display" on page 116. Standard Images As a standard, the systems part ("Kernel") of the printer permanent memory contains a number of images primarily used for printing test labels and for training purposes: • CHESS2X2.1 • CHESS4X4.1 • DIAMONDS.1 • GLOBE.1 Downloading Image Files Image
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 91
    are reset when a new STORE IMAGE statement is executed. A special case involves print images complying with the PRBUF protocol. These are not normal pictures or logotypes, but complete labels including including printable objects which have been designed in some application program or printer driver
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 92
    Chapter 5 - Managing Fonts, Bar Codes, and Images 76 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 93
    -Line and Multi-Line Text Fields • Creating Bar Code Fields • Creating Image Fields • Creating Box Fields • Creating Line Fields • Additional Printing Instructions • Using the LAYOUT Command • Creating a Simple Label • Handling Errors With ERRHAND.PRG Intermec Fingerprint Developer's Guide 77
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 94
    these fields look in a sample label. Label border Bar code field with human-readable interpretation Box field Single-line text field ABC Company 1000 First Ave. Azusa CA Line field Image field Multi-line text field Example of Fields in a Label Layout 78 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 95
    to the innermost active dot on the printhead at the time the PRINTFEED statement is executed. The location of the origin is affected by: • the printer X-start value. This value can be set by using a SETUP command, or by manually placing the printer in Setup Mode and changing the value. • the current
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 96
    for the different fields. 5 7 8 9 4 6 1 2 3 Bar Code Field Anchor Points 1, 4, or 7 2, 5, or 8 Box Field Anchor Points 7 8 5 4 1 2 Image Field Anchor Points 1, 4, or 7 2, 5, or 8 Line Field Anchor Points 3, 6, or 9 9 6 3 3, 6, or 9 80 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 97
    Labels Print Directions By default, all fields run across the media from left to right. Using a DIR command, you can rotate the field clockwise around the anchor point/insertion point in 90° increments (0°, 90°, 180°, or 270°), as seen in the next illustration. Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 98
    to check the width of the printed fields. If the printed width exceeds 550 dots, the printer continues printing on the next label: 10 PRPOS 0,50 20 PRIMAGE "GLOBE.1" 30 X%=PRSTAT(1) 40 FOR A%=1 TO 10 50 Z%=PRSTAT(1) 60 PRPOS Z%+10,50 70 PRIMAGE "GLOBE.1" 82 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 99
    the Size and Position of a Field When printing a label, Fingerprint instructions are processed into a bitmap pattern that can be sent to the printhead. This process is called rendering. Use the RENDER OFF command to process instructions without printing anything. By combining RENDER OFF with
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 100
    Style Text Print a label Command PRPOS ALIGN DIR FONT FONTD INVIMAGE NORIMAGE PRTXT PRINTFEED Default 0/0 1 1 Swiss 721 BT,12,0,100 - no yes - - Remarks Number of dots Select ALIGN 1-9 Select DIR 1-4 White on black print Black on white print Field input data Resets parameters to default Example
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 101
    ). Default is 3. • Ratio (narrow bars). Default is 1. • Enlargement. Affects the bar pattern but not the interpretation, unless the bar font is an integrated part of the code (such as for EAN/UPC). Default is 2. • Height of the bars in dots. Default is 100. Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 102
    1-9 Select DIR 1-4 Can be omitted Input data to bar code field Resets parameters to default This example shows a typical bar code field instruction: 10 PRPOS 30,400 20 DIR 1 30 ALIGN 7 40 BARSET "CODE39",2,1,3,120 50 BARFONT "Swiss 721 BT",10,8,5,1,1 ON 86 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 103
    DIR 4 The image must be in the default directory. Summary for Image Fields To print an image field, the following instructions must be specified. If no value is specified, default values are substituted. Required Information for Image Fields Purpose X/Y Position Alignment Direction Magnification
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 104
    Information for Image Fields Purpose Style Image Print a label Command INVIMAGE NORIMAGE PRIMAGE PRINTFEED Default no yes - - Remarks White-on-black Black-on-white .1 or .2 depending on direction Resets parameters to default This example shows a typical image field instruction: 10 PRPOS 50
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 105
    the printer X-Start, Width, and Length settings. Any field extending outside the print window causes a "Field out of label" error condition (Error 1003) Using the CLIP ON command, you can make the program accept fields extending outside the print window. The CLIP ON command prints only the parts of
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 106
    the image file to be printed in the field. This file is required even if your label does not need or use a graphic field in this way. • A data file (or data array) that specifies the data to be printed in the fields. • An error file (or error array) that sets up error handling for the layout. Each
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 107
    character) of the fixed data that will be printed or used to generate the bar code. Possible variable data will be appended to the fixed data at the position specified in bytes 43 and 44. The LAYOUT statement does not support multi-line text fields. About Layout Requirements There are certain rules
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 108
    (0-9999) Barcode name (10 char.) Fixed Data (max. 20 char.) Char. to be printed in byte 23 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 Syntax of Layout File Records (1) 92 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 109
    Alignment (1-9) X-Position (0-9999) Y-Position (0-9999) Not used Logotype Number (0-99) Not used Normal (blank) or Inverse printing (I_) Vertical mag. Horizontal mag. Not used Example 01L13300 800 1 11 Byte No. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 110
    ), the third byte is always a colon (:), and the following 10 bytes are used for the image name: 10 OPEN "LOGNAME.DAT" FOR OUTPUT AS 1 20 PRINT#1, "0 :GLOBE.1 " 30 PRINT#1, "1 :GLOBE.2 " 40 PRINT#1, "2 :DIAMONDS.1" 50 PRINT#1, "3 :DIAMONDS.2"; 60 CLOSE 1 94 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 111
    array, you must use an error array. This file or array contains variable data that will be placed in the position specified by the layout. Each data record starts with a hexadecimal element number (00-FF hex) that links the data to the layout record or records that start with the same element number
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 112
    file>,, Note: You cannot omit any file or array, since the syntax requires a file name or array designation in each position. For example, you must create an empty logotype file if your design does not use a logotype field. 96 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 113
    11 "; 5 "; "; Creating a Simple Label This tutorial walks you through creating a short Fingerprint program that prints a simple label. For more information on Fingerprint commands and syntax, see the Fingerprint Command Reference Manual. To design and print a simple label 1 Connect the printer
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 114
    : GLOBE.1 image 6 Enter the following text: 50 PRPOS 75,270 60 BARTYPE "CODE39" 70 PRBAR "ABC" This code specifies a bar code field at location X=75, Y=270, using Code 39, with the data "ABC". 7 Type RUN and press Enter. The printer prints this label: 98 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 115
    25,220 90 FONT "Swiss 721 BT", 6 100 PRTXT "My FIRST label" This code specifies a single-line text field at location X=25, Y=220, using 6-point Swiss 721 BT font, with the text "My FIRST Label". 11 Type RUN and press Enter. The printer prints this label: Intermec Fingerprint Developer's Guide 99
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 116
    the line using the same line number. Enter the following text, which repositions the text field so the left side of the field is aligned with the left side of the bar code field: 80 PRPOS 75,220 14 Type RUN and press Enter. The printer prints this label: 100 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 117
    in the firmware. Note: To use ERRHAND.PRG you must merge it with your program. For information, see "Merging Programs" in this section. ERRHAND.PRG contains subroutines that displays the type of error on the printer display (for example, "Out of paper" or "Head lifted"), prints the error number on
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 118
    loop in the program to get a label every time you press Print: 160 GOSUB 500000 170 GOTO 170 RUN Try pressing different keys on the printer keyboard. Only keys that have been assigned a function in ERRHAND.PRG (Pause, Print, Setup and Intermec recommends that you include it in your programs
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 119
    the Date and Time • Using Setup Mode Programmatically • Using the SYSVAR System Variable • Checking Hardware and Firmware Versions • Checking Immediate Mode and STDIO Status • Rebooting the Printer • About Printer Memory • Using the Industrial Interface Intermec Fingerprint Developer's Guide 103
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 120
    control media feed without changing the setup. Feeding Media With FORMFEED A FORMFEED statement causes the printer to feed out a complete blank label. You can also specify a positive or negative distance (measured in printhead dots) to move the media. 104 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 121
    will work regardless of any error conditions such as "printhead lifted" or "out of media." Note: Intermec recommends that you use a CLEANFEED statement to remove labels that may be stuck on the platen roller. Manually pulling stuck media may damage the print mechanism. Checking Media Feed Distance
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 122
    is detected in the printer outfeed slot, and resumes printing after the label has been removed. Repeating the Last Printing Operation With PRINTFEED At execution of a PRINTFEED statement, the printer runs the last program that included printing instructions such as field content or positioning, and
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 123
    enables a single PRINTFEED operation when the Print key on the printer keypad is pressed manually. The default is PRINT KEY OFF. These commands can only be issued in the Immediate Mode and in the Intermec Direct Protocol. Checking the Transfer Ribbon and Printhead With SYSVAR A number of parameters
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 124
    Printer BARADJUST enables the firmware to track all faulty dots, and relocates the bar code so the spaces between the bars are lined up with the faulty dots. This way, you can print bar code labels immediately without loss of quality, although the printhead part of the printhead $="Printhead Error!":
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 125
    less in appearance. When a PRINTFEED is executed, the printer renders the program instructions into a bitmap pattern and stores the pattern in one of the two image buffers. The buffer compensates for differences between processing time and printing time. Intermec Fingerprint Developer's Guide 109
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 126
    without any reference to a field, and is useful to avoid printing a faulty label after certain errors have occurred. • Partial clearing is used in connection with print repetition when only part of the label should be modified between the copies. In this case, the CLL statement must include
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 127
    Conditional Instructions" on page 16. • the label taken sensor is disabled (LTS& OFF). This is the default. • the paper cutter is disabled (CUT OFF). This is the default. OPTIMIZE "BATCH" ON revokes OPTIMIZE "BATCH" OFF. Interrupting Batch Printing Batch printing is interrupted when an error occurs
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 128
    and Keywords" on page 153. Note: KEYBMAP$ instructions do not affect the printer in Setup Mode. The current keyboard mapping can be read to PRINT "Pos","ASCII","Char." 20 A$=KEYBMAP$(0) 30 FOR B%=1 TO 64 40 C$=MID$(A$,B%,1) 50 E%=ASC(C$) 60 PRINT B%,E%,C$ 112 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 129
    Chapter 7 - Controlling the Printer 70 NEXT RUN You can also use the KEYBMAP$ instruction to remap the keyboard, with the Decimal Values for Special Keys Key F1 F2 F3 F4 F5 Pause Setup Feed Enter C (Clear) Print Unshifted 1 2 3 4 5 30 29 28 13 8 31 RUN Intermec Fingerprint Developer's Guide 113
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 130
    information, see "Enabling Manual Printing With PRINT KEY ON" on page 107. • Pause interrupts or resumes batch printing. • Feed works the same way as the Print key. • Pressing Shift + Feed at the same time produces a TESTFEED operation. • Setup places the printer in Setup Mode. • Pressing i displays
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 131
    instructions can be used for four purposes: • To clear the display (instead of using a double PRINT# statement). • To select the cursor type (underscore or block). • To enable or disable the cursor. • To place the cursor at a specified position or to move it. Each cursor control command starts
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 132
    PRINT# in the Fingerprint Command Reference Manual. Customizing the PD42 Display Note: This section applies to the PD42 only. Several different icons appear in the state area of the PD42 display depending on the current printer /c/ADMIN/ DISPLAY directory. 116 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 133
    until the error is cleared. A short beep indicates that the printer is OK. 10 20 30 40 50 60 1000 1010 RUN ON ERROR GOTO 1000 PRPOS 100,100 FONT "Swiss 721 Bold BT", 36 PRTXT "OK!" PRINTFEED : BEEP END SOUND 880,25 : SOUND 988,25 : SOUND 30000,10 RESUME Intermec Fingerprint Developer's Guide 117
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 134
    Time Some Intermec printers are equipped with a real-time clock (RTC) with battery backup. If an RTC is installed, the internal clock is updated from the RTC at each startup. If no RTC is installed, you need to manually set the clock using either a DATE$ or a TIME$ variable, or an error occurs when
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 135
    a specified period of time: 10 20 30 40 1000 1010 1020 RUN INPUT "Enter delay in sec's: ", A% B%=TICKS+(A%*100) GOSUB 1000 END SOUND 440,50(Start signal) IF B%
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 136
    Mode Programmatically To change a printer setup parameter as a part of the program execution, you can use a SETUP statement. A SETUP statement can: • place the printer in Setup Mode for manual configuration (pressing keys on the printer keypad). When the printer is in Setup Mode, it does not respond
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 137
    INPUT statement. Returns or sets the verbosity level. Returns or sets the type of error messages transmitted by the printer. Returns 0 if the printer is set up for direct thermal or 1 if set up for thermal transfer printing. Returns the printhead density in dots/mm. Returns the number of dots in the
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 138
    speed after a negative Start Adjust value. Sets a lower print speed after lowering the printhead. Sets the enabled limit for SYSVAR 49 and 50. Sets or returns the highest allowed diamter (in mm) of the ribbon supply. (PF/PM/PX printers only) Modifies the DNS timeout value. Default is 5 (150 seconds
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 139
    such as an interface board or cutter. • The printer memory is searched for possible startup programs. The first startup program found is executed. • The printer internal clock is reset to default, or updated from the real-time clock if one is installed. Intermec Fingerprint Developer's Guide 123
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 140
    printer setup, unless the printer hardware configuration has changed during the power-off period (for example, if the printhead has been replaced or an interface board has been installed or removed). About Printer Memory Note: To provide compatibility with earlier versions of Intermec Fingerprint
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 141
    as shown in this example: FORMAT "card1:",208,512,A Note: The PB50 and PB51 printer does not support memory cards. Other Memory Devices The "storage:" device is a memory device the current directory from the default ("/c") to "tmp:" and then back to "/c". Intermec Fingerprint Developer's Guide 125
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 142
    for correct operation and are not erased when printer memory is erased with the FORMAT command. Using the Industrial Interface The optional Serial/Industrial Interface Board includes 8 digital IN ports, 8 digital OUT ports, and 4 OUT ports with relays. 126 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 143
    port, or checks the current state of a specified input or output signal. For more information, see: • the Fingerprint Command Reference Manual. • the PA30 Print Engine User's Manual. • the installation instructions for the Serial/Industrial Interface Board. Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 144
    Chapter 7 - Controlling the Printer 128 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 145
    8 Error Handling This chapter describes how Fingerprint handles errors and includes these topics: • Standard Error Handling • Checking for Programming Errors • Commands for Error-Handling Routines • Using the ERRHAND.PRG Utility Program • Standard Error Codes Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 146
    by the following examples using error #19: • "Invalid font in line 10" (default) • "Error 19 in line 10: Invalid font" • "E19" • "Error 19 in line 10" For more information, see the SYSVAR information in the Intermec Fingerprint Command Reference Manual. 130 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 147
    work as expected, there may be a programming error that prevents the program from being executed in the printed to the Debug STDOUT port or not. The statement LIST,B lists all breakpoints to the standard OUT channel. The statement DBEND terminates the debugger. Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 148
    returns 0 if printer has no LTS) Label Stop Sensor does not detect a label Printer out of thermal transfer ribbon, or the printer is set for direct thermal printing, a ribbon is installed Printhead voltage too high Printer is feeding Printer out of media 132 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 149
    %=ERL IF EFLAG%=1019 THEN GOTO 2000 ELSE GOTO 3000 PRINT #1 : PRINT #1 PRINT #1, "Font missing" PRINT #1, "in line ", ELINE%; FONT "Swiss 721 BT",24 : INVIMAGE RESUME PRINT #1 : PRINT #1 PRINT #1, "Undefined error" PRINT #1, "Program Stops!"; RESUME NEXT Intermec Fingerprint Developer's Guide 133
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 150
    .PRG Subroutines At Line 160000 200000 Description Errors which normally may occur during printing are handled: • Error 1005: Out of paper • Error 1006: No field to print • Error 1022: Head lifted • Error 1027: Out of transfer ribbon • Error 1031: Next label not found The subroutine shows the last
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 151
    Routine for Print key (key No. 17) that calls subroutine 500000. Called by the statement GOSUB 1700000. Routine for Setup key (key No. 18). Places the printer in Setup Mode. Called : LED 0 ON : READY 200400 RETURN 300000 'Error 1031 Next label not found Intermec Fingerprint Developer's Guide 135
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 152
    200000 500100 PCOMMAND%=0 500300 RETURN 600000 'Display handler 600010 PRINT #10 600020 PRINT #10 600030 PRINT #10, DISP1$ 600040 PRINT #10, DISP2$; 600200 RETURN 700000 'Init routine 700010 ON ERROR GOTO 100000 700020 OPEN "console:" FOR OUTPUT AS 10 136 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 153
    17 OFF 1700020 GOSUB 500000 1700030 KEY 17 ON 1700200 RETURN 1800000 'Setup key 1800010 KEY 18 OFF 1800020 LED 0 OFF 1800030 BUSY 1800040 SETUP 1800050 READY 1800060 LED 0 ON 1800080 KEY 18 ON 1800090 DISP1$=NORDIS1$ : DISP2$=NORDIS2$ 1800100 GOSUB 600000 Intermec Fingerprint Developer's Guide 137
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 154
    off FOR I% = 0 TO 21 KEY (I%) OFF NEXT I% RETURN Standard Error Codes When a problem occurs, your printer may display an error code. For a list of standard error codes and the explanations for the error, see the Fingerprint Command Reference Manual. 138 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 155
    numbers, and ASCII values. You can remap the printer keypad with the KEYBMAP$ command. Printer PF2i, PF4i, PF4ci PM4i PX4i, PX6i, PA30 PX4i, PX6i Alphanumeric PD42 PB50, PB51 PB21, PB31, PB22, PB32 Illustrations On Page 140 142 144 146 148 151 151 Intermec Fingerprint Developer's Guide 139
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 156
    A - Printer Keypad Layouts PF2i, PF4i, PF4ci PF-Series Keypad ID Numbers (Default) 10 11 12 13 14 7 8 9 15 4 5 6 18 1 2 3 19 21 0 20 16 17 ID Numbers (+ Shift) 110 111 112 113 114 107 108 109 115 104 105 106 118 101 102 103 119 121 100 120 116 117 140 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 157
    31 56 ASCII Values (Default) 123 45 55 56 57 30 52 53 54 29 49 50 51 28 46 48 8 13 31 ASCII Values (+ Shift) 129 130 131 132 133 183 184 185 158 180 181 182 157 177 178 179 156 174 176 136 141 159 Intermec Fingerprint Developer's Guide 141
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 158
    Chapter A - Printer Keypad Layouts PM4i PM-Series Keypad ID Numbers (Default) 17 10 11 12 18 13 14 16 7 8 9 15 4 5 6 19 1 23 21 0 20 Position Numbers 56 1 6 11 33 16 21 31 44 49 54 34 43 48 53 32 42 47 52 41 46 51 ID Numbers (+ Shift) 117 110 111 112
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 159
    ASCII Values (Default) 31 1 2 3 29 4 5 13 55 56 57 30 52 53 54 28 49 50 51 46 48 8 Appendix A - Printer Keypad Layouts ASCII Values (+ Shift) 159 129 130 131 157 132 133 141 183 184 185 186 180 181 182 156 177 178 179 174 176 136 Intermec Fingerprint Developer's Guide 143
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 160
    A - Printer Keypad Layouts PX4i and PX6i Standard Keypad, PA30 ID Numbers (Default) 10 11 12 13 14 ID Numbers (+ Shift) 110 111 112 113 114 7 8 9 15 18 4 5 6 19 16 123 21 0 20 17 107 108 109 115 118 104 105 106 119 116 101 102 103 121 100 120 117 144 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 161
    Position Numbers 2 7 12 1 6 11 ASCII Values (Default) 1 23 45 ASCII Values (+ Shift) 129 130 131 132 133 Appendix A - Printer Keypad Layouts 44 49 54 59 63 43 48 53 58 62 42 47 52 41 183 184 185 158 157 180 181 182 156 141 177 178 179 174 177 136 59 Intermec Fingerprint Developer's Guide 145
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 162
    keypad for two cases (three for PX printers with alphanumeric keypad): no Shift key pressed, and Shift key pressed (plus Alt key pressed for PX printers). This example code maps the alphanumeric keypad to the actual alphanumeric keypad appearance. 146 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 163
    Appendix A - Printer Keypad Layouts 10 REM PX Alphanumeric keypad mapping. 20 REM Character Set = + CHR$(131) 390 B$ = B$ + ".+P" + CHR$(156)+CHR$(158) 400 B$ = B$ + " " + CHR$(136) + "147" 410 B$ = B$ + CHR$(159)+"0258" 420 B$ = B$ + CHR$(141) + "369" Intermec Fingerprint Developer's Guide 147
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 164
    , giving the corresponding ASCII values of 16 and 144. The keyboard map string is only six characters long (compared to 64 for PF/PM/PX printers), with the Print key assigned position 1. ID Numbers (Key Pressed) 10 11 12 13 14 17 148 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 165
    ID Numbers (Key Released) Appendix A - Printer Keypad Layouts 110 111 112 113 114 117 ASCII Values (Key Pressed) 145 146 147 148 149 144 Intermec Fingerprint Developer's Guide 149
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 166
    Chapter A - Printer Keypad Layouts ASCII Values (Key Released) 145 146 147 148 149 144 Position Numbers 23456 1 150 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 167
    PB50 and PB51 17 16 Appendix A - Printer Keypad Layouts 20 19 PB21, PB31, PB22, and PB32 17 20 16 19 Intermec Fingerprint Developer's Guide 151
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 168
    Chapter A - Printer Keypad Layouts 152 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 169
    B Character Sets and Keywords This chapter includes an intoduction to character sets and a list of Fingerprint keywords reserved for use by commands. Intermec Fingerprint Developer's Guide 153
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 170
    US Cancel End of medium Substitute Escape File separator Group separator Record separator Unit separator For the full set of illustrations of the character sets supported by Fingerprint, see Fingerprint Command Reference Manual. 154 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 171
    bytes: Not currently supported. Follow the to the UTF-8 byte decimal value necessary to print the characters. To convert a hex format 10000010110. 4 Identify x, y, and z bits as applicable. Start with the least significant digits to the right and pad with Intermec Fingerprint Developer's Guide 155
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 172
    commands are reset to their defaults after a PRINTFEED (or CLL) command. NASC and NASCD commands are not reset to default after a PRINTFEED (or CLL) command. This example prints the Hiragana $(150) 80 PRTXT " = Cyrillic Capital Letter ZHE" 90 PRINTFEED 156 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 173
    DELETE DELETEPFSVAR DEVICES DIM DIR DIRNAME$ ELSE END EOF ERL ERR ERR$ ERROR ETUPLE EXECUTE FF FIELD FIELDNO FILE& FILENAME$ FILES FIX FLOTCALC$ FONT FONTD FONTDSIZE FONTDSLANT FONTNAME$ $ WEEKDAY WEEKDAY$ WEEKNUMBER WEND WHILE WRITE XOR XORMODE XYZZY Intermec Fingerprint Developer's Guide 157
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 174
    Appendix B - Character Sets and Keywords 158 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 175
    I Index 159
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 176
    units, 79 bar code record, for layouts, illustrated, 92 bar codes, 71 commands, 73 labels, designing, 78 printing, rules for, 73 rules for printing, 73 specifying for bar code fields, 85 supported, 71 baradjust record, for layouts, illustrated, 93 BARADJUST, to avoid faulty dots, 73, 107 BARCODENAME
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 177
    printing, 89 CLL, to clear print buffer, 110 CLOSE random files, 64 Index sequential files, 61 COM ERROR ON|OFF, 54 COMBUF$, 54 commands, sending to printer , 19 conditional instructions, 16 IF...THEN...[ELSE], 16 IF...THEN...[ELSE]...END IF, 17 console: as device, described, 11 constants, defined,
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 178
    BREAK...OFF, 27 BREAK...ON, 27 ON BREAK...GOSUB, 28 specifying printer action on break, 28 expressions, defined, 8 F faulty dots, defined, 107 Feed key handling errors, 130 Immediate Mode, 114 FIELD creating buffer with, 50 random files, creating buffer in, 62 Intermec Fingerprint Developer's Guide
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 179
    11 firmware version of printer, checking, 122 FLOATCALC$, 44 FONT choosing fonts, 69 default after PRINTFEED, 106 default for text fields, 84 font, specifying for text field, 83 font aliases, 70 Intermec Fingerprint Developer's Guide Index FONTD default after PRINTFEED, 106 default for text fields
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 180
    , 112 printer keypad input, 51 insertion point current position, 82 for fields in bar code labels, 80 INSTR, 44 instructions, conditional, 16 interrupt character, specifying, 27 interrupting batch printing, 111 intersection printing, inverting, 90 inverting print colors, 83 INVIMAGE default after
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 181
    clear printer memory, 15 NORIMAGE black-on-white print in image fields, 87 black-on-white print in text fields, 83 default for text fields, 84 numbering lines, described, 14 O OFF LINE, 53 ON BREAK...GOSUB, 19 ON COMSET...GOSUB conditional branching, 20 Intermec Fingerprint Developer's Guide 165
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 182
    118 rebooting, 123 to clear working memory, 15 using SETUP to control settings, 120 verbosity, controlling, 53 printer display, output to, 65 PRINTFEED batch printing, 109 default for bar code fields, 86 default for text fields, 84 default settings, 106 origin, described, 79 repeating last operation
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 183
    & ON, 106 labels with Print key, 102 paper cutter, enabling with CUT ON, 106 reprinting labels after interruptions, 109 using BARADJUST to change print position, 107 printing lines with PRINT, 58 PRINTONE, for printing characters by ASCII values, 59 PRINTONE#, 61 PRLINE, default for line fields, 89
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 184
    , counting, 61 expresisons, printing to, 61 file length, 61 opening file, 60 Serial/Industrial Interface Board, 126 SET FAULTY DOT, 107 SETPFSVAR, 124 SETSTDIO, setting communication channels with, 46 setup file, creating, 120 Setup key in Immediate Mode, 114 Setup Mode, using programmatically, 120
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 185
    , controlling with VERB ON, 53 VERSION$, 122 Index W waiting loop, described, 21 wand: as device, described, 11 WEEKNUMBER, 118 WHILE...WEND, 23 X X-axis, for printing, 79 XORMODE OFF, 90 XORMODE ON, 90 Y Y-axis, for printing, 79 Z ZMODEM protocol, 37 Intermec Fingerprint Developer's Guide 169
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 186
  • Intermec PB50 | Fingerprint Developer's Guide (old) - Page 187
    Worldwide Headquarters 6001 36th Avenue West Everett, Washington 98203 U.S.A. tel 425.348.2600 fax 425.355.9551 www.intermec.com © 2009 Intermec Technologies Corporation. All rights reserved. Intermec Fingerprint Developer's Guide *934-019-002* P/N 934-019-002
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187

Fingerprint
Developer’s Guide