Programmer’s Reference Manual Intermec Fingerprint® v7.
Information in this manual is subject to change without prior notice and does not represent a commitment on the part of Intermec Printer AB. © Copyright Intermec Printer AB, December 2001. All rights reserved. Published in Sweden. EasyCoder, EasyLAN, Fingerprint, and LabelShop are registered trademarks of Intermec Technologies Corp. The word Intermec, the Intermec logo, InterDriver, and PrintSet are trademarks of Intermec Technologies Corp. Bitstream is a registered trademark of Bitstream, Inc.
Chapter 1 1. Introduction Contents 1. Introduction Contents.............................................................................................1 Preface...............................................................................................7 News in Intermec Fingerprint v7.61................................................8 Auxiliary Files in Intermec Fingerprint v7.61................................9 2. Program Instructions Syntax.........................................................
Chapter 1 Introduction 2. Program Instructions, cont. 2 DBBREAK.................................................................................... 61 DBBREAK OFF ........................................................................... 62 DBEND.......................................................................................... 63 DBSTDIO...................................................................................... 64 DBSTEP................................................................
Chapter 1 2. Program Instructions, cont. Introduction INPUT ON/OFF.......................................................................... 128 INPUT#........................................................................................ 129 INPUT$........................................................................................ 130 INSTR .......................................................................................... 131 INVIMAGE (II).....................................................
Chapter 1 Introduction 2. Program Instructions, cont. 4 PRBOX (PX) ............................................................................... 191 PRBUF......................................................................................... 197 PRIMAGE (PM).......................................................................... 198 PRINT (?)..................................................................................... 199 PRINT KEY ON/OFF ...................................................
Chapter 1 Introduction 2. Program Instructions, cont. TIMEDIFF................................................................................... 263 TRANSFER KERMIT ............................................................... 264 TRANSFER STATUS ................................................................ 265 TRANSFER ZMODEM............................................................. 266 TRANSFER$............................................................................... 267 TRANSFERSET ....
Chapter 1 Introduction 5. Bar Codes Introduction.................................................................................. 312 Standard Bar Codes..................................................................... 313 EAN 8........................................................................................... 314 EAN 13 ........................................................................................ 314 UPC-E ...........................................................................
Chapter 1 Preface Introduction Intermec Fingerprint is a BASIC-inspired, printer-resident programming language that has been developed for use with the Intermec EasyCoder XPand EasyCoder F-series of direct thermal and thermal transfer printers. The Intermec Fingerprint firmware is an easy-to-use intelligent programming tool for label formatting and printer customizing, which allows you to design your own label formats and write your own printer application software.
Chapter 1 Introduction News in Intermec Fingerprint v7.61 Intermec Fingerprint v7.61 is an enhanced and bug-corrected version of Intermec Fingerprint v7.60. General Improvements • New version of Intermec Shell (v4.8). Autohunting bug corrected. • Bug corrections. Modified Instructions • PRSTAT • SYSVAR Corrections • FORMAT$ • SETSTDIO • SETUP GET • STORE INPUT • SYSVAR New detection of out-of-ribbon/ribbon-installed. SYSVAR (41) and SYSVAR (42) added. Examples corrected.
Chapter 1 Auxiliary Files in Intermec Fingerprint v7.61 Introduction The Intermec Fingerprint v7.61 firmware contains the following auxiliary files in addition to the system files (“kernel”): In device "rom:" .FONTALIAS .flk .profile .setup.saved .ubipfr1.bin CHESS2X2.1 CHESS4X4.1 DIAMONDS.1 ERRHAND.PRG FILELIST.PRG GLOBE.1 LBLSHTXT.PRG LINE_AXP.PRG LSHOPXP1.SUB MKAUTO.PRG PUP.BAT SHELLXP.PRG WINXP.PRG copyright.htmf default.html diagnostics.htmf dochead.htmf footer.htmf framelay.cgi home.htmf htmlhead.
Chapter 1 Introduction Auxiliary Files in Intermec Fingerprint v7.61, cont. In device "rom:", cont. secure/ftv2link.gif secure/ftv2mlastnode.gif secure/ftv2mnode.gif secure/ftv2node.gif secure/ftv2plastnode.gif secure/ftv2pnode.gif secure/ftv2vertline.gif secure/main.html secure/view.html support.htmf tof.
Chapter 2 2. Program Instructions Syntax In the syntax descriptions which follow, certain punctuation marks are used to indicate various types of data. They must not be included in the program. [ ] | < > ..... ↔ " ↵ indicate that the enclosed entry is optional. indicates alternatives on either side of the bar. indicate grouping. indicate repetition of the same type of data. indicates a compulsory space character between two keywords. is a quotation mark (ASCII 34 dec).
Chapter 2 Program Instructions ABS Field of Application Function returning the absolute value of a numeric expression. Syntax ABS() is a numeric expression, from which the absolute value will be returned. Remarks The absolute value of a number is always positive or zero. Note that the expression must be enclosed within parentheses. Examples PRINT ABS(20-25) 5 PRINT ABS(25-20) 5 PRINT ABS(5-5) 0 PRINT ABS(20*-5) 100 12 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions ACTLEN Field of Application Function returning the length of the most recently executed PRINTFEED, FORMFEED, or TESTFEED statement. Syntax ACTLEN Remarks The length of the most recently executed paper feed operation, resulting from a PRINTFEED, FORMFEED, or TESTFEED statement, will be returned as a number of dots. Due to technical reasons concerning the stepper motor control and label gap detection, a small deviation from the expected result may occur.
Chapter 2 Program Instructions ALIGN (AN) Field Application Statement specifying which part (anchor point) of a text field, bar code field, image field, line, or box will be positioned at the insertion point. Syntax ALIGN|AN Default value: Reset to default by: Remarks is the anchor point of the object (1–9). 1 PRINTFEED execution Each text, bar code, or image field has nine possible anchor points, whereas lines and boxes have three.
Chapter 2 Program Instructions ALIGN (AN), cont. Remarks, cont. Bar Code Field: A bar code field makes up an imaginary box sufficiently large to accommodate the bar code interpretation, regardless if it will be printed or not (provided that the selected type of bar code may include an interpretation at all). However, for EAN and UPC codes, the box is restricted in regard of width by the size of the bar pattern, not by the interpretation.
Chapter 2 Program Instructions ALIGN (AN), cont. Remarks, cont. Box: The anchor points are situated at the lower side of the line or box in relation to how text is printed in the selected direction. Lines and boxes have only three anchor points, each of which can be specified by means of three different numbers. A special case is multi-line text fields in a box. The fields can be aligned in nine positions in relation to the box, whereas the box itself only has three anchor points, as described above.
Chapter 2 Program Instructions ASC Field of Application Function returning the decimal ASCII value of the first character in a string expression. Syntax ASC() is a string expression, from which the ASCII decimal value of the first character will be returned. Remarks ASC is the inverse function of CHR$. The decimal ASCII value will be given according to the selected character set (see NASC statement).
Chapter 2 Program Instructions BARADJUST Field of Application Statement for enabling/disabling automatic adjustment of bar code position in order to avoid faulty printhead dots. Syntax BARADJUST, is the maximum left offset in dots. is the maximum right offset in dots. Default: 0,0 (BARADJUST disabled) Remarks Under unfortunate circumstances, a printer may have to be run for some time with a faulty printhead, before a replacement printhead can be installed.
Chapter 2 Program Instructions BARCODENAME$ Field of Application Function returning the names of the bar code generators stored in the printer’s temporary memory ("tmp:"). Syntax BARCODENAME$() the result of the expression should be either false or true, where... False (0) indicates first font. True (≠0) indicates next font. Remarks BARCODENAME$(0) produces the first bar code name in alphabetical order. BARCODENAME$(≠0) produces next name.
Chapter 2 Program Instructions BARFONT (BF) Field of Application Statement specifying fonts for the printing of bar code interpretation. Syntax BARFONT|BF[#,][,[,[,[, [,[,]]]]][ON] # is, optionally, the start parameter in the syntax above. is the name of the font selected for bar code interpretations. is the height in points of the font. is the clockwise slant in degrees (0-90°).
Chapter 2 Program Instructions BARFONT (BF), cont. Remarks, cont. Width: A scaleable font can enlarged in regard of width relative height. The value is given as percent (1-1000). This means that if the value is 100, there is no change in the appearance of the characters, whereas if the value is given as for example 50 or 200, the width will be half the height or double the height respectively.
Chapter 2 Program Instructions BARFONT ON/OFF (BF ON/OFF) Field of Application Statement enabling or disabling the printing of bar code interpretation. Syntax BARFONT|BF↔ON|OFF Default: BARFONT OFF Reset to default by: PRINTFEED execution Remarks Usually, you start your program by selecting a suitable bar code interpretation font, see BARFONT. Then use BARFONT ON and BARFONT OFF statements to control whether to print the interpretation or not, depending on application.
Chapter 2 Program Instructions BARHEIGHT (BH) Field of Application Statement specifying the height of a bar code. Syntax BARHEIGHT|BH is the height of the bars in the bar code expressed in number of dots. Default value: 100 dots. Reset to default by: PRINTFEED execution. Remarks The barheight specifies the height of the bars, that make up the code. In bar codes consisting of several elements on top of each other, for example Code 16K, the barheight specifies the height of one element.
Chapter 2 Program Instructions BARMAG (BM) Field of Application Statement specifying the magnification in regard of width of the bars in a bar code. Syntax BARMAG|BM is the magnification in regard of width of the bars, which make up the bar code. Allowed input: Depends on type of bar code. Default value: 2 Reset to default by: PRINTFEED execution. Remarks The magnification only affects the bar code ratio (see BARRATIO), not the height of the bars (see BARHEIGHT).
Chapter 2 Program Instructions BARRATIO (BR) Field of Application Statement specifying the ratio between the wide and the narrow bars in a bar code. Syntax BARRATIO|BR, is the thickness of the wide bars relative to the narrow bars. is the thickness of the narrow bars relative to the wide bars. Default value: 3:1 Reset to default by: PRINTFEED execution. Remarks This statement specifies the ratio between the wide and the narrow bars in a bar code in relative terms.
Chapter 2 Program Instructions BARSET Field of Application Statement specifying a bar code and setting additional parameters to complex bar codes. Syntax BARSET[#,][[,[,[,[,[, [,[,[,[,[,]]]]]]]]]]] # is the the start parameter in the syntax above. is the barcode type. is the ratio of the large bars. is the ratio of the small bars. is the enlargement.
Chapter 2 Program Instructions BARSET, cont. Remarks, cont. Aspect Ratios: The aspect height ratio and aspect width ratio is used for complex bar codes to define the relation between height and width of the pattern. This method of defining the bar code size has lower priority than rows and colomns, see below. Refer to the specifications of the bar code for allowed input. Default values: 1 for aspect ratio height 2 for aspect ratio width.
Chapter 2 Program Instructions BARTYPE (BT) Field of Application Statement specifying the type of bar code. Syntax BARTYPE|BT Allowed input: Default value: Reset to default by: Remarks specifies the type of bar code. Valid bar type name. "INT2OF5" PRINTFEED execution. The selected bar code type must exist in the printer’s memory and be entered in the form of a string expression.
Chapter 2 Program Instructions BEEP Field of Application Statement ordering the printer to emit a beep. Syntax BEEP Remarks This statement makes the printer’s built-in buzzer sound at ≈800 Hz for 1/4 of a second. If a different frequency and/or duration is desired, use a SOUND statement instead. Example In this example, a beep is emitted when an error occurs: 10 ON ERROR GOTO 1000 ..... ..... ..... 1000 BEEP 1010 RESUME NEXT Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions BREAK Field of Application Statement specifying a break interrupt character separately for the keyboard and each serial communication channel. Syntax BREAK, is one of the following devices: 0 = "console:" 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" is the decimal ASCII value for the break interrupt character. Default: Comm.
Chapter 2 Program Instructions BREAK, cont. Remarks, cont. It is possible to remap the keyboard, which may affect the keys used for break interrupt. Please refer to the variable KEYBMAP$. Another method is to transmit the character ASCII 03 decimal (default) to the printer on one of the serial communication channels. The execution will be interrupted regardless of any INPUT waiting (that is, INPUT [#], LINE INPUT [#], and INPUT$).
Chapter 2 Program Instructions BREAK, cont. Remarks, cont. A specified break interrupt character is saved in the temporary memory until the printer is restarted or REBOOTed, which may be confusing for example when switching between programs. To change a break interrupt character, specify a new one for the same device using a BREAK statement and to remove it from memory, use a BREAK OFF statement.
Chapter 2 Program Instructions BREAK ON/OFF Field of Application Statement enabling or disabling break interrupt separately for the keyboard and each serial communication channel. Syntax BREAKON|OFF is one of the following devices: 0 = "console:" 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" Default: Comm.
Chapter 2 Program Instructions BUSY Field of Application Statement ordering a busy signal, for example XOFF, CTS/RTS, or PE, to be transmitted from the printer on the specified communication channel. Syntax BUSY[] Remarks optionally specifies the channel as: 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" Communication protocol usually contain some “busy” signal, which tells the host computer that the printer, for some reason, is unable to receive data.
Chapter 2 Program Instructions CHDIR Field of Application Statement specifying the current directory. Syntax CHDIR Default: Remarks specifies the current directory (see DEVICES) "c:" By default, the printer’s permanent memory ("c:" ) is the current directory, which means the directory that is used if the Intermec Fingerprint instruction does not contain any reference to a directory, for example FILES.
Chapter 2 Program Instructions CHECKSUM Field of Application Statement calculating the checksum of a range of program lines in connection with the transfer of programs. Syntax CHECKSUM(, is the number of the first line in a range of program lines. is the number of the last line in a range of program lines. Remarks The checksum is calculated from parts of the internal code using an advanced algorithm.
Chapter 2 Program Instructions CHR$ Field of Application Function returning the readable character from a decimal ASCII code. Syntax CHR$() is the decimal ASCII code to be converted to a readable character. Remarks This function is useful for entering characters that cannot be produced from the keyboard of the host, for example non-printable characters ASCII 0-31 dec. Only integers between 0 and 255 are allowed.
Chapter 2 Program Instructions CLEANFEED Field of Application Statement running the printer’s feed mechanism. Syntax CLEANFEED is the feed length expressed as a positive or negative number of dots. Remarks The CLEANFEED statement activates the stepper motor that drives the printer’s platen roller (the rubber roller beneath the printhead). In case of thermal transfer printers, it also often drives the ribbon mechanism.
Chapter 2 Program Instructions CLEAR Field of Application Statement clearing strings, variables, and arrays in order to free memory space. Syntax CLEAR Remarks The CLEAR statement empties all strings, sets all variables to zero, and resets all arrays to their default values. As a result, more free memory space becomes available.
Chapter 2 Program Instructions CLIP Field of Application Statement for enabling/disabling the printing of partial fields. Syntax CLIP [BARCODE [HEIGHT|INFORMATION|X|Y]][ON|OFF] BARCODE toggles between partial bar code fields enable/disable. BARCODE HEIGHT clips the height of the bar so the bar code will fit inside the print window. A one-dimensional bar code may still be readable. BARCODE INFORMATION clips the bar code lengthwise, so some bars will be missing, making the bar code unreadable.
Chapter 2 Program Instructions CLL Field of Application Statement for partial or complete clearing of the print image buffer. Syntax CLL [] Remarks optionally specifies the field from which the print image buffer should be cleared. The print image buffer is used to store the printable image after processing awaiting the printing to be executed.
Chapter 2 Program Instructions CLL, cont. Examples, cont. Complete clearing: In this example, the print image buffer will be cleared completely if Error 1030, “Character missing in chosen font” occurs. 10 ..... ..... ..... 1000 1010 ..... .... 1100 1110 1120 42 ON ERROR GOTO 1000 IF ERR=1030 GOSUB 1100 RESUME NEXT CLL PRINT "CHARACTER MISSING" RETURN Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions CLOSE Field of Application Statement closing one or several files and/or devices for input/output. Syntax CLOSE[[#] [, [#] ...]] # optionally indicates that whatever follows is a number. is the number assigned to a file or device when it was OPENed. Remarks This statement revokes OPEN. Only files or devices, which already have been OPENed, can be CLOSEd.
Chapter 2 Program Instructions COM ERROR ON/OFF Field of Application Statement enabling/disabling error handling on the specified communication channel. Syntax COM↔ERRORON|OFF is one of the following communication channels: 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" Default: COM ERROR OFF on all channels. Remarks This function is closely related to COMSET, ON COMSET GOSUB, COMSET ON, COMSET OFF, COMSTAT, and COMBUF$.
Chapter 2 Program Instructions COMBUF$ Field of Application Function reading the data in the buffer of the communication channel specified by a COMSET statement. Syntax COMBUF$() Remarks is one of the following communication channels: 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" 5 = "net1:" 6 = "usb1:" This function is closely related to COMSET, ON COMSET GOSUB, COMSET ON, COMSET OFF, COM ERROR ON/OFF, and COMSTAT.
Chapter 2 Program Instructions COMSET Field of Application Statement setting the parameters for background reception of data to the buffer of a specified communication channel (see COMBUF$). Syntax COMSET,,,,, is one of the following communication channels: 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" 5 = "net1:" 6 = "usb1:" specifies the start of the message string (max. 12 char).
Chapter 2 Program Instructions COMSET, cont. Remarks, cont. The reception of data to the buffer can be interrupted by four conditions: • An end string being encountered. • An attention string being encountered. • The maximum number of characters being received. • If error-handling is enabled for the communication channel in question (see COM ERROR ON/OFF) and an communication error occurs. This condition can be checked by a COMSTAT function.
Chapter 2 Program Instructions COMSET OFF Field of Application Statement turning off background data reception and emptying the buffer of the specified communication channel. Syntax COMSETOFF is one of the following communication channels: 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" 5 = "net1:" 6 = "usb1:" Remarks This statement is closely related to COMSET, ON COMSET GOSUB, COMSTAT, COMSET ON, COM ERROR ON/OFF, and COMBUF$.
Chapter 2 Program Instructions COMSET ON Field of Application Statement emptying the buffer and turning on background data reception on the specified communication channel. Syntax COMSETON Remarks is one of the following communication channels: 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" 5 = "net1:" 6 = "usb1:" This statement is closely related to COMSET, ON COMSET GOSUB, COMSTAT, COMSET OFF, COM ERROR ON/OFF, and COMBUF$.
Chapter 2 Program Instructions COMSTAT Field of Application Function reading the status of the buffer of a communication channel. Syntax COMSTAT() Remarks is one of the following communication channels: 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" 5 = "net1:" 6 = "usb1:" This function is closely related to COMSET, ON COMSET GOSUB, COMSET ON, COMSET OFF, COM ERROR ON/OFF, and COMBUF$.
Chapter 2 Program Instructions CONT Field of Application Statement for resuming execution of a program that has been interrupted by means of a STOP, BREAK, or DBBREAK statement. Syntax CONT Remarks The CONT statement may be used to resume program execution after a STOP, BREAK, or DBBREAK statement has been executed. Execution continues at the point where the break happened with the STDIO settings restored. CONT is usually used in conjunction with DBBREAK or STOP for debugging.
Chapter 2 Program Instructions COPY Field of Application Statement for copying files. Syntax COPY[,] is the name and optionally directory of the original file. is, optionally, a new name and/or directory for the copy. Remarks This statement allows you to copy a file to another name and/or directory as an alternative to LOADing the file in question and then SAVEing it.
Chapter 2 Program Instructions COUNT& Field of Application Statement for creating a counter (Intermec Direct Protocol only).
Chapter 2 Program Instructions COUNT&, cont. Remarks, cont. COPY: Decides how many copies (labels etc.) will be printed before the counter is updated according to the INC parameter. Default: 1 INC: Decides by which value the counter should be incremented or decremented when it is updated. In case of decrementation, the value should contain a leading minus sign. Default: 1 STOP: Decides the value after which the counter should start all over again at the value specified by the RESTART parameter.
Chapter 2 Program Instructions CSUM Field of Application Statement calculating the checksum of an array of strings. Syntax CSUM,, is the type of checksum calculation: 1: Longitudinal Redundancy Check (LRC) XOR in each character in each string array[0][0] xor array[0][1] ...
Chapter 2 Program Instructions CUT Field of Application Statement activating an optional cutter. Syntax CUT Remarks Obviously, this statement only works with printers fitted with a cutter. A cutter is normally used to cut non-adhesive paper strip or to cut through the liner between self-adhesive labels.
Chapter 2 Program Instructions CUT ON/OFF Field of Application Statement enabling or disabling automatic cutting after PRINTFEED execution and optionally adjusting the media feed before and after the cutting. Syntax CUT [] ON|OFF is optionally the length of media to be fed out before cutting and pulled back after cutting.
Chapter 2 Program Instructions DATE$ Field of Application Variable for setting or returning the current date. Syntax Setting the date: DATE$= sets the current date by a 6-digit number specifying Year, Month and Day (YYMMDD). Returning the date: =DATE$[()] returns the current date according to the printer’s calendar. is an optional flag "F", indicating that the date will be returned according to the format specified by FORMAT DATE$.
Chapter 2 Program Instructions DATEADD$ Field of Application Function returning a new date after a number of days have been added to, or subtracted from, the current date or optionally a specified date. Syntax DATEADD$([,][,]) is any date given according to the DATE$ format, which a certain number of days should be added to or subtracted from. is the number of days to be added to (or subtracted from) the current date or optionally the date specified by .
Chapter 2 Program Instructions DATEDIFF Field of Application Function returning the difference between two dates as a number of days. Syntax DATEDIFF(,) is one of two dates (date 1). is the other of two dates (date 2). Remarks To get the result as a positive numeric value, the two dates, for which the difference is to be calculated, should be entered with the earlier of the dates (date 1) first and the later of the dates (date 2) last, see the first example below.
Chapter 2 Program Instructions DBBREAK Field of Application Statement for adding or deleting a breakpoint for the Fingerprint Debugger. Syntax DBBREAK|[ON|OFF] is the line number where the debugger will break and also the name of the breakpoint. is the line label where the debugger will break and also the name of the breakpoint. ON adds the specified breakpoint (default). OFF deletes the specified breakpoint.
Chapter 2 Program Instructions DBBREAK OFF Field of Application Statement for deleting all breakpoints for the Fingerprint Debugger. Syntax DBBREAK OFF Remarks This statement is similar to DBBREAK|OFF but deletes all breakpoints instead of just one breakpoint at the time. Related instructions are DBBREAK, DBEND, DBSTDIO, and DBSTEP. 62 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions DBEND Field of Application Statement for terminating the Fingerprint Debugger. Syntax DBEND Remarks This statement is used for termianting the Fingerprint Debugger prematurely and restore the STDIO settings as they were before the Debugger was started. Related instructions are DBBREAK, DBBREAK OFF, DBSTDIO, and DBSTEP. Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions DBSTDIO Field of Application Statement for selecting the standard IN/OUT channel for the Fingerprint Debugger.
Chapter 2 Program Instructions DBSTEP Field of Application Statement for specifying the interval between breaks for the the Fingerprint Debugger and execute the program accordingly. Syntax DBSTEP Remarks is the number of lines that will be executed before break. Default: 1 line. If is omitted, one line will be executed, but if is specified as 0, nothing at all will happen. DBSTEP cannot be used in execution mode (yields Error 78).
Chapter 2 Program Instructions DELETE Field of Application Statement deleting one or several consecutive program lines from the printer’s working memory. Syntax DELETE[-] is the line, or the first line in a range of lines, to be deleted. is (optionally) the last line in a range of program lines to be deleted. Remarks This statement can only be used for editing the current program in the Immediate Mode and cannot be included as a part of the program execution.
Chapter 2 Program Instructions DELETEPFSVAR Field of Application Statement for deleting variables saved at power failure. Syntax DELETEPFSVAR is the name of the variable to be deleted. Remarks Related instructions are SETPFSVAR, GETPFSVAR, and LISTPFSVAR. Examples DELETEPFSVAR "QCPS%" DELETEPFSVAR "QS$" Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions DEVICES Field of Application Statement returning the names of all devices to the standard OUT channel. Syntax DEVICES Remarks All devices available to the user in the Intermec Fingerprint firmware will be listed, regardless if they are installed or not. There are also a number of devices for internal use only. The list below indicates if and how the device can be OPENed (see OPEN statement).
Chapter 2 Program Instructions DEVICES, cont. Remarks, cont. lock: is all electronic key items that has been specified as locks by means of special software. Each electronic key may contain several key items with different properties (counter, lock, or storage). The device name calls all key items with the corresponding properties, regardless if they are stored in the key circuit on the CPU board or in an inserted external key.
Chapter 2 Program Instructions DEVICES, cont. Example DEVICES yields for example: c: card1: cardx: centronics: console: dll: lock: net1: par: rom: rs485: status: storage: tmp: uart1: uart2: uart3: usb1: wand: 70 (optional interface board in EasyCoder F-series) (only if an optional interface board is fitted) (only if an optional interface board is fitted) (only if an optional interface board is fitted) (only if an optional interface board is fitted) (EasyCoder F-series only) Intermec Fingerprint v7.
Chapter 2 Program Instructions DIM Field of Application Statement specifying the dimensions of an array. Syntax DIM<|>([,...])... ...[,<|>([,...])] | is the name of the array. is the max. subscript value for the first dimension. are, optionally, the max. subscript value for the following dimensions (No. 2-10).
Chapter 2 Program Instructions DIR Field of Application Statement specifying the print direction. Syntax DIR Default value: Reset to default by: Remarks is the print direction (1, 2, 3, or 4). 1 PRINTFEED execution A change of print direction affects all printing statements, that is PRTXT, PRBAR, PRIMAGE, PRBOX, and PRLINE statements that are executed later in the program until a new DIR statement or a PRINTFEED statement is executed.
Chapter 2 Program Instructions DIR, cont. Remarks, cont. Bar Codes: Horizontal “picket fence" printing. Vertical “ladder" printing. Images: The relation of the image and the print direction depends how the image was drawn. An image can only be “rotated" 180˚. Thus, it may be useful to have two copies of the image available with different extensions for either horizontal or vertical printing: DIR 1 & 3, use extension .1 DIR 2 & 4, use extension .2 Intermec Fingerprint v7.
Chapter 2 Program Instructions DIR, cont. Remarks, cont. Lines: Examples Printing a label with one line of text and drawing a line beneath the text: 10 20 30 40 50 60 70 80 RUN Boxes: PRPOS 30,300 DIR 1 ALIGN 4 FONT "Swiss 721 BT",18 PRTXT "TEXT PRINTING" PRPOS 30,280 PRLINE 555,10 PRINTFEED Printing the same information vertically necessitates new positioning to avoid Error 1003, “Field out of label.
Chapter 2 Program Instructions END Field of Application Statement ending the execution of the current program or subroutine and closing all OPENed files and devices. Syntax END Remarks END can be placed anywhere in a program, but is usually placed at the end. It is also useful for separating the “main” program from possible subroutines with higher line numbers. It is possible to issue several END statements in the same program.
Chapter 2 Program Instructions EOF Field of Application Function for checking for an end-of-file condition. Syntax EOF() is the number assigned to the file when it was OPENed. Remarks The EOF function can be used with files OPENed for sequential input in connection with the statements INPUT#, LINE INPUT#, and INPUT$ to avoid the error condition “Input past end” which has no error message. When the EOF function encounters the end of a file, it returns the value -1 (true).
Chapter 2 Program Instructions ERL Field of Application Function returning the number of the line on which an error condition has occurred. Syntax ERL Remarks Also useful in connection with an ON ERROR GOTO statement.
Chapter 2 Program Instructions ERR Field of Application Function returning the code number of an error that has occurred. Syntax ERR Remarks The firmware is able to detect a number of error conditions. The errors are represented by code numbers according to Chapter 7, “Error Messages.” The ERR function enables the program to read the coded error number. Thereby you may design your program to take proper action depending on which type of error that may have occurred.
Chapter 2 Program Instructions ERROR Field of Application Statement for defining error messages and enabling error handling for specified error conditions (Intermec Direct Protocol only). Syntax ERROR [,] is the number of the error condition. is the desired error message. Remarks The ERROR statement can only be used in the Intermec Direct Protocol for the purpose of enabling error-handling and creating customized error messages, as described below.
Chapter 2 Program Instructions ERROR, cont. Remarks, cont. By default, no error messages are returned to the host in the Intermec Direct Protocol, since the statement INPUT ON sets the verbosity level to off, that is SYSVAR (18)= 0. However, the verbosity level can be changed by means of VERBON/VERBOFF statements or the SYSVAR (18) system variable. Different types of error messages to be returned on the standard OUT channel can be selected by means of the SYSVAR (19) system variable.
Chapter 2 Program Instructions EXECUTE Field of Application Statement for executing a Fingerprint program line or a file with Fingerprint program lines from within another Fingerprint program. Syntax EXECUTE Remarks is one line of Fingerprint instructions or the name of a file containing at least one line of a Fingerprint program.
Chapter 2 Program Instructions FIELD Field of Application Statement for creating a single-record buffer for a random file and dividing the buffer into fields to which string variables are assigned. Syntax FIELD[#],AS[,AS...] # indicates that whatever follows is a number. Optional. is the number assigned to the file when it was OPENed. is the number of bytes to be reserved for the string variable that follows. (Null not allowed.
Chapter 2 Program Instructions FIELDNO Field of Application Function getting the current field number for partial clearing of the print buffer by a CLL statement. Syntax FIELDNO Remarks By assigning the FIELDNO function to one or several numeric variables, you can divide the print buffer into portions, which can be cleared using a CLL statement.
Chapter 2 Program Instructions FILE& LOAD Field of Application Statement for receiving and storing binary files in the printer’s memory. Syntax FILE& LOAD[1,],[,] is optionally the number of bytes to skip before starting to read the file data. is the desired name of the file when stored in the printer’s memory. is the size of the file in number of bytes.
Chapter 2 Program Instructions FILENAME$ Field of Application Function returning the names of the files stored in the specified part of the printer’s memory. Syntax FILENAME$[()] is the name of the memory device from which the first file name (in alphabetical order) will be listed. Parts of file names and wildcards (*) are allowed. Maximum size is 30 characters. If is omitted, the next file name in the same memory device is listed. Can be repeated.
Chapter 2 Program Instructions FILES Field of Application Statement for listing the files stored in one of the printer’s directories to the standard OUT channel. Syntax FILES[][,A] Remarks optionally specifies the directory (see DEVICES). If no directory is specified, the files in the printer’s current directory will be listed. As default, the current directory is the printer’s permanent memory ("c:"), see CHDIR statement.
Chapter 2 Program Instructions FLOATCALC$ Field of Application Function for calculation with float numbers. Syntax FLOATCALC$(,,[,]) is the first operand. is the operator (+, -, *, or /). is the second operand. is, optionally, the precision in decimals (default 10). Remarks Operands are float numbers, that is, a string of digits with a decimal point to separate decimals from integers.
Chapter 2 Program Instructions FONT (FT) Field of Application Statement for selecting a scaleable TrueType or TrueDoc single-byte font or a single-byte bitmap font for the printing of the subsequent PRTXT statements. Syntax FONT|FT[,[,[,]]] is the name of the font. Default: "Swiss 721 BT". is optionally the height in points of the font. Default: 12 points. Use MAG to enlarge with bitmap fonts. is the clockwise slant in degrees (0–90°). Default: 0.
Chapter 2 Program Instructions FONT (FT), cont. Remarks, cont. Slanting means that you can create the same effect as in ITALIC characters.The higher value, the more askew the upright parts of the characters will come. Slanting increases clockwise. Values greater than 65-70° will be unreadable. Slanting cannot be used with bitmap fonts. Slanting value: 10 Slanting value: 20 ABCDEFGH ABCDEFGH A scaleable font can enlarged in regard of width relative the height. The value is given as percent (1-1000).
Chapter 2 Program Instructions FONTD Field of Application Statement for selecting a scaleable TrueType or TrueDoc double-byte font for the printing of the subsequent PRTXT statements. Syntax FONTD[,[,[,]]] is the name of the font. Default: none. is optionally the height in points of the font. Default: 12 points. is the clockwise slant in degrees (0-90°). Default: 0. is the width enlargement in percent relative the height (1-1000).
Chapter 2 Program Instructions FONTNAME$ Field of Application Function returning the names of the fonts stored in the printer’s memory. Syntax FONTNAME$() the result of the expression should be either false or true, where... False (0) indicates first font. True (≠0) indicates next font. Remarks FONTNAME$(0) produces the first name in the memory. FONTNAME$(≠0) produces next name. Can be repeated as long as there are any fontnames left.
Chapter 2 Program Instructions FONTS Field of Application Statement returning the names of all fonts stored in the printer’s memory to the standard OUT channel. Syntax FONTS Example A list of the fonts stored in the printer may look like this: FONTS Century Schoolbook BT Dutch 801 Roman BT Letter Gothic 12 Pitch BT MS030RMN.1 MS050RMN MS050RMN.2 MS060BMN.1 Monospace 821 BT OB035RM1 OB035RM1.2 OCR-B 10 Pitch BT SW020BSN SW020BSN.2 SW030RSN.1 SW050RSN SW050RSN.2 SW060BSN.1 SW080BSN SW080BSN.2 SW120BSN.
Chapter 2 Program Instructions FOR...TO...NEXT Field of Application Statement for creating a loop in the program execution, where a counter is incremented or decremented until a specified value is reached. Syntax FOR=TO[STEP]NEXT[] is the variable to be used as a counter. is the initial value of the counter. is the final value of the counter. is the value of the increment (decrement).
Chapter 2 Program Instructions FORMAT Field of Application Statement for formatting the printer’s permanent memory, or formatting a SRAM-type memory card to MS-DOS format. Syntax FORMAT[,[,]][,A] specifies the device to be formatted either as "c:" or "card1:" Specifies the number of entries in the root directory (only applicable when = "card1:"). Default: 208 entries.
Chapter 2 Program Instructions FORMAT, cont. Examples Issuing the statement FILES before and after a FORMAT "c:" statement shows how the memory is affected. Note that system files starting with a period character are not removed, since the FORMAT statement does not contain any “A” flag: FILES "c:",A yields for example: Files on c: .theDefaultSetup STDIO FILELIST.DAT 505856 bytes free 157 2 0 DIRECT APPLICATION 0 1 160 bytes used Ok FORMAT "c:" Ok FILES "c:",A yields for example: Files on c: .
Chapter 2 Program Instructions FORMAT DATE$ Field of Application Statement for specifying the format of the string returned by DATE$("F") and DATEADD$(..... ,"F") instructions. Syntax FORMAT DATE$ is a string representing the order between year, month and date plus possible separating characters. “Y” represents Year (one digit per Y). “M” represents Month (one digit per M). “D” represents Day (one digit per D).
Chapter 2 Program Instructions FORMAT INPUT Field of Application Statement for specifying separators for the LAYOUT RUN statement used in the Intermec Direct Protocol. Syntax FORMAT INPUT[,[,[,]]] is the start -of-text separator, default STX (ASCII 02 dec.). is the end-of-text separator, default EOT (ASCII 04 dec.). is the field separator, default CR (ASCII 13 dec.). is a string of characters to be filtered out.
Chapter 2 Program Instructions FORMAT TIME$ Field of Application Statement for specifying the format of the string returned by TIME$("F") and TIMEADD$("F") instructions. Syntax FORMAT TIME$ is a string representing the order between hours, minutes and seconds plus possible separating characters. “H” represents hours in a 24 hour cycle (one digit per H). “h” represents hours in a 12 hour cycle (one digit per h). “M” represents minutes (one digit per M).
Chapter 2 Program Instructions FORMAT$ Field of Application Function for formatting a number represented by a string. Syntax FORMAT$(,) is the string of numerals, optionally with decimals, which is to be formatted. specifies the format of the string. Remarks The original string () is a string of digits, optionally with a decimal point to separate decimals from integers. It can also contain leading plus (+), minus (-), and space characters.
Chapter 2 Program Instructions FORMAT$, cont. • An empty format string is equivalent to "0.##########". Remarks, cont. • 0 and # cannot be mixed in every way. Before the decimal separator, use # first and then 0. After the decimal separator, use 0 first and then #. For example: ####00.000### is OK and #00##0.##0#00 is not OK. • A point or a comma separates integers and decimals. The decimal separator used in the format is the one that will be the returned separator type.
Chapter 2 Program Instructions FORMAT$, cont. Examples, cont. Subtraction. The third parameter will be subtracted from the first. A$=FLOATCALC$("234.90","-","100.013",2) PRINT A$ yields: "134.88" PRINT FORMAT$(A$,"\$ 0,000#") yields: "$ 134,880" Note: If a higher precision is used in FLOATCALC$, A$ will yield "$134,887". Multiplication B$="3" A$=FLOATCALC$("100", "*", B$, 1) PRINT A$ yields: "300.0" C$="0 0 0,00###" PRINT FORMAT$(A$,C$) yields: "3 0 0,00" Division.
Chapter 2 Program Instructions FORMFEED (FF) Field of Application Statement for activating the media feed mechanism in order to feed out or pull back a certain length of media. Syntax FORMFEED|FF[] is, optionally, the feed length expressed as a positive or negative number of dots. Remarks If no value is entered after the FORMFEED statement, the printer will feed out one single label, ticket, tag, or a portion of continuous stock according to the printer’s setup.
Chapter 2 Program Instructions FRE Field of Application Function returning the number of free bytes in spcified part of the printer’s memory. Syntax FRE(<|>) is the designation of the part of the printer’s memory from which the number of free bytes should be returned, for example "c:", "tmp:", "card1:". is a dummy argument. Returns the number of free bytes in the printer’s temporary memory ("tmp:").
Chapter 2 Program Instructions FUNCTEST Field of Application Statement for performing various hardware tests. Syntax FUNCTEST, is the type of test to be performed: "CARD" Test of memory card. "HEAD" Test of the thermal printhead. "KERNEL" Test of the live kernel in RAM. ROMn Test of ROM where n is a digit denoting the number of the SIMM socket. is the variable in which the result will be placed.
Chapter 2 Program Instructions FUNCTEST, cont. Example This example shows how a test program using the FUNCTEST statement may be composed: 10 20 30 40 50 60 70 80 RUN FUNCTEST "CARD", A$ FUNCTEST "HEAD", B$ FUNCTEST "KERNEL", C$ FUNCTEST "ROM1", D$ PRINT "CARDTEST:", A$ PRINT "HEADTEST:", B$ PRINT "KERNELTEST:", C$ PRINT "ROM1-TEST:", D$ yields for example: CARDTEST: NO CARD HEADTEST: HEAD OK,SIZE:1280 DOTS KERNELTEST: 8E4791DC ROM1-TEST: NO ROM Ok Intermec Fingerprint v7.
Chapter 2 Program Instructions FUNCTEST$ Field of Application Function returning the result of various hardware tests. Syntax FUNCTEST$() "CARD" "HEAD" "KERNEL" ROMn Remarks is the type of test to be performed: Test of memory card. Test of the thermal printhead. Test of the live kernel in RAM. Test of ROM where n is a digit denoting the number of the SIMM socket.
Chapter 2 Program Instructions FUNCTEST$, cont. Example This example shows how a test program using the FUNCTEST$ function may be composed (compare with the example for FUNCTEST statement): 10 20 30 40 RUN PRINT PRINT PRINT PRINT "CARDTEST:", FUNCTEST$ ("CARD") "HEADTEST:", FUNCTEST$ ("HEAD") "KERNELTEST:", FUNCTEST$ ("KERNEL") "ROM1-TEST:", FUNCTEST$ ("ROM1") yields for example: CARDTEST: NO CARD HEADTEST: HEAD OK,SIZE:1280 DOTS KERNELTEST: 8E4791DC ROM1-TEST: NO ROM Ok Intermec Fingerprint v7.
Chapter 2 Program Instructions GET Field of Application Statement for reading a record from a random file to a random buffer. Syntax GET[#], # indicates that whatever follows is a number. Optional. is the number assigned to the file when it was OPENed. is the number of the record. Must be ≠ 0.
Chapter 2 Program Instructions GETASSOC$ Field of Application Function for getting a value from a string association. Syntax GETASSOC$ (, ) is the name of the association (case-sensitive). is the name of a tuple in the association. Remarks An association is an array of tuples, where each tuple consists of a name and a value.
Chapter 2 Program Instructions GETASSOCNAME$ Field of Application Function for traversing the tuples of a string association. Syntax GETASSOCNAME$(,) is the association to be traversed (case-sensitive). specifies the tuple in the association. = 0 specifies first tuple. ≠ 0 specifies next tuple. Remarks An association is an array of tuples, where each tuple consists of a name and a value.
Chapter 2 Program Instructions GETPFSVAR Field of Application Function for recovering saved variables. Syntax GETPFSVAR([,D]) is the name of the variable (uppercase characters only). D optionally specifies that the variable is to be deleted after recovery. Remarks This function is used to recover variables registered to be saved at power failure by means of a SETPFSVAR statement and returns either -1 on success or 0 at failure.
Chapter 2 Program Instructions GOSUB Field of Application Statement for branching to a subroutine. Syntax GOSUB| | is the number or label of the first line in the desired subroutine. Remarks After branching, the subroutine will be executed line by line until a RETURN statement is encountered. The same subroutine can be branched to many times from different lines in the main program.
Chapter 2 Program Instructions GOSUB, cont. Examples, cont.
Chapter 2 Program Instructions GOTO Field of Application Statement for branching unconditionally to a specified line. Syntax GOTO| / is the number or label of the line to be branched to. Remarks If the specified line contains an executable statement, both that statement and all that follows will be executed. If the specified line does not exist, an error condition will occur.
Chapter 2 Program Instructions HEAD Field of Application Function returning the result of a thermal printhead check. Syntax HEAD() ≥ 0 = -1 = -7 specifies the number of a dot for which the resistance in ohms will be returned. printhead check: Returns -1 (true) if OK Returns 0 (false) if error returns mean printhead resistance in ohms. = HEAD() returns the number (quantity) of faulty dots.
Chapter 2 Program Instructions HEAD, cont. Examples Read the resistance value of dot No. 5: PRINT HEAD(5) Perform a printhead check: PRINT HEAD(-1) Read the printhead’s mean resistance value: PRINT HEAD(-7) Check printhead for faulty dots and their respective resistance values: A%=HEAD(B$) yields for example: Ok PRINT A% 5 Ok PRINT B$ 25, 2944 42, 2944 106, 2944 107, 2944 140, 2944 Ok 116 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions IF...THEN...(ELSE) Field of Application Statement for conditional execution controlled by the result of a numeric expression. Syntax IF[,]THEN[ELSE] IF[,]THEN [...] [ELSE [...]] ENDIF Remarks ↵ ↵ ↵ ↵ ↵ ↵ ↵ is a numeric expression, which is either true or false. is the statement or list of statements telling the program what to do, should the IF-condition be true.
Chapter 2 Program Instructions IF...THEN...(ELSE), cont. Examples, cont. IF ... THEN are often used in connection with GOTO. In this example, line numbering is used. Also see the example for the GOTO statement. 10 20 30 40 50 RUN A%=100 B%=50 IF A%=B% THEN GOTO 50 ELSE PRINT "NOT EQUAL" END PRINT "EQUAL":END yields: NOT EQUAL This example correspond to the preceding example, but line labels are used instead of line numbers.
Chapter 2 Program Instructions IMAGE BUFFER SAVE Field of Application Statement for saving the content of the image buffer as a file. Syntax IMAGE BUFFER SAVE is the desired name of the file, optionally with a reference to the device where the file should be saved. Remarks This statement saves the current content of the print buffer as an image file in RLL format.
Chapter 2 Program Instructions IMAGE LOAD Field of Application Statement for receiving, converting and installing image and font files. Syntax IMAGE LOAD[,],[,[,]] is optionally the number of bytes to skip before starting to read the data. is the desired name of the image or font to be created. is the size of the original file in number of bytes.
Chapter 2 Program Instructions IMAGENAME$ Field of Application Function returning the names of the images stored in the printer’s memory. Syntax IMAGENAME$() is the result of the expression which is either false or true: False (0) indicates first image. True (≠0) indicates next image. Remarks This function can be used to produce a list of all images (another method is to use the IMAGES statement).
Chapter 2 Program Instructions IMAGES Field of Application Statement for returning the names of all images stored in the printer’s memory to the standard OUT channel. Syntax IMAGES Remarks This statement can be used to list all image names (another method is to use an IMAGENAME$ function). Image files downloaded by means of a TRANSFER KERMIT statement will not be printed, since the firmware will regard them as files rather than images.
Chapter 2 Program Instructions IMMEDIATE Field of Application Statement for enabling or disabling the immediate mode of Intermec Fingerprint in connection with program editing without line numbers, for reading the current mode, or for reading the current standard IN and OUT channels.
Chapter 2 Program Instructions IMMEDIATE, cont. Remarks, cont. IMMEDIATE MODE Layout Input On/Off indicates whether or not a layout is being recorded in the Direct Protocol as specified by LAYOUT INPUT and LAYOUT END. Dbstdio On/Off indicates whether the debug standard I/O is active or not. The following conditions are not reported: - Running a Fingerprint application. - Execution of a TRANSFER KERMIT, FILE& LOAD, IMAGE LOAD, LOAD, RZ, and STORE INPUT instruction. - Running external commands (ush).
Chapter 2 Program Instructions INKEY$ Field of Application Function reading the first character in the receive buffer of the standard IN channel. Syntax INKEY$ Remarks For information on standard I/O channels, see SETSTDIO statement. By default, "uart1:" is the standard I/O channel. As opposed to the INPUT statement, INKEY$ does not interrupt the program flow to wait for input data, unless a loop is created by means of a GOTO statement, see line 20 in the example below.
Chapter 2 Program Instructions INPUT (IP) Field of Application Statement for receiving input data via the standard IN channel during the execution of a program. Syntax INPUT|IP[<;|,>]<|>[,<|>...] <;|,> is an optional prompt string, followed by a semicolon or comma. <|> are variables to which the input data will be assigned. Remarks For information on standard I/O channel, see SETSTDIO statement. By default, "uart1:" is the standard I/O channel.
Chapter 2 Program Instructions INPUT (IP), cont. Examples This example shows input to one numeric variable and one string variable: 10 20 30 40 50 RUN INPUT "ADDRESS";A%,B$ PRINT A%;" ";B$ IF A% > 0 THEN GOTO 50 GOTO 10 END yields: ADDRESS? When the prompt “ADDRESS?” appears on the screen, you can type the input data on the terminal’s keyboard, for example: 999, HILL STREET Note the separating comma.
Chapter 2 Program Instructions INPUT ON/OFF Field of Application Statement enabling or disabling the Intermec Direct Protocol. Syntax INPUT ON|OFF Default: Remarks INPUT OFF These statements are used to enter or leave the Intermec Direct Protocol. Also refer to Intermec Direct Protocol v7.50, Programmer’s Guide.
Chapter 2 Program Instructions INPUT# Field of Application Statement for reading a string of data from an OPEN device or sequential file. Syntax INPUT#,<|>[,<|>...] is the number assigned to the file or device when it was OPENed. <|> is the variable to which the input data will be assigned. Remarks This statement resembles the INPUT statement, but allows the input to come from other devices than the standard IN channel or from various files.
Chapter 2 Program Instructions INPUT$ Field of Application Function returning a string of data, limited in regard of number of characters, from the standard IN channel, or optionally from an OPENed file or device. Syntax INPUT$([,]) is the number of characters to be read. optionally specifies a file or device using the number assigned to it when it was OPENed.
Chapter 2 Program Instructions INSTR Field of Application Function searching a specified string for a certain character, or sequence of characters, and returning its position in relation to the start of the string. Syntax INSTR([,],) is , optionally, the position where the search will start. is the string to be searched. is the character(s) for which the string will be searched.
Chapter 2 Program Instructions INVIMAGE (II) Field of Application Statement for inversing the printing of text and images from “black-on-white" to “white-on-black." Syntax INVIMAGE | II Default: Reset to default by: Remarks NORIMAGE PRINTFEED execution This statement can only be used in connection with the printing of text and images (PRTXT and PRIMAGE). In the matrix of the font or image, all “white” dots will be black and all black dots will be “white.
Chapter 2 Program Instructions KEY BEEP Field of Application Statement for resetting the frequency and duration of the sound produced by the beeper, when any of the keys on the printer’s keyboard is pressed down. Syntax KEY↔BEEP, is the frequency of the sound in Hz. is the duration of the sound in periods of 0.020 seconds each (max. 15,0000 = 5 minutes). Default: Frequency: 1200 Hz Duration: 0.030 sec. Remarks This statement sets the response for all keys of the printer.
Chapter 2 Program Instructions KEY ON/OFF Field of Application Statement enabling or disabling a specified key on the printer’s front panel to be used in connection with an ON KEY...GOSUB statement. Syntax KEY()OFF|ON is the id. number of one of the keys on the printer’s front panel (see illustration below). OFF|ON disables|enables the specified key. Remarks Using an ON KEY... GOSUB statement, any key (except the key) can be assigned to make the program branch to a subroutine.
Chapter 2 Program Instructions KEY ON/OFF, cont. Remarks, cont. Example In this example, the F1 key (id. No. 10) is first enabled, then used for branching to a subroutine and finally disabled. 10 20 30 KEY (10) ON ON KEY (10) GOSUB 1000 KEY (10) OFF Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions KEYBMAP$ Field of Application Variable returning or setting the keyboard map table.
Chapter 2 Program Instructions KEYBMAP$, cont. Remarks, cont. The keyboards return the following ASCII values: Note! In the Setup Mode, the keys have fixed positions and are not affected by any KEYBMAP$ statement. KEYBMAP$ only affects the keys when used outside the Setup Mode. Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions KEYBMAP$, cont. Remarks, cont. Position numbers of the EasyCoder 501/601 XP keyboard . The keys printed on the keyboard overlay are marked with a shade of gray. Key position number 1 (Shift) cannot be remapped. Position numbers of the EasyCoder F-series keyboard. The key marked “Shift" cannot be remapped. Examples The following example illustrates the mapping of the keyboard for EasyCoder 501 XP (unshifted keys only).
Chapter 2 Program Instructions KILL Field of Application Statement for deleting a file from the printer’s memory or from a DOS-fomatted SRAM memory card inserted in the memory card adapter. Syntax KILL Remarks is the name, including extension, of the file which is to be deleted. The name of the file to be deleted must match the name given when the file was saved, see SAVE statement. The name must include the extension.
Chapter 2 Program Instructions LAYOUT Field of Application Statement for handling of layout files. Syntax LAYOUT[F,] ,,|,| F, optionally allows use of data and error files instead of arrays is the layout file. is the logotype name file. | is the data array () or data file (/ is the error array () or error file (
Chapter 2 Program Instructions LAYOUT, cont. Remarks, cont. Note 1: The bar code extended field record (E) corresponds to the six last parameters in the BARSET statement. Must have a lower element number than the corresponding bar code record (B), which specifies the other bar code parameters. Note 2: The maximum font name length in the LAYOUT statement is 10 characters. Most font names in Intermec Fingerprint are longer.
Chapter 2 Program Instructions LAYOUT, cont. Example Note that the 10 characters available to define a font in the LAYOUT statement in most cases cannot accommodate modern outline font names. Instead, use font aliases as described in Chapter 6. In the example below, the font aliases are indicated by lowercase italic typing (lines 90–120, 150).
Chapter 2 Program Instructions LAYOUT END Field of Application Statement for stopping the recording of a layout description and saving the layout (Intermec Direct Protocol only). Syntax LAYOUT END Remarks This statement can only be used in the Intermec Direct Protocol after a layout has been recorded by means of a LAYOUT INPUT statement. After a LAYOUT END statement has been executed, no more data will be added to the layout.
Chapter 2 Program Instructions LAYOUT INPUT Field of Application Statement for starting the recording of a layout description (Intermec Direct Protocol only). Syntax LAYOUT INPUT is the desired name of the layout (max.30 characters) including name of the device where the layout is to be stored. Remarks This statement can only be used in the Intermec Direct Protocol and starts the recording of a layout.
Chapter 2 Program Instructions LAYOUT RUN Field of Application Statement for providing variable input data to a predefined layout (Intermec Fingerprint Direct Protocol only). Syntax LAYOUT RUN is the name of the layout as specified in the LAYOUT INPUT statement.
Chapter 2 Program Instructions LBLCOND Field of Application Statement for overriding the media feed setup. Syntax LBLCOND,| specifies the type of action: 0 = Overriding the stop adjust. 1 = Overriding the start adjust. 2 =Turning off the Label Stop Sensor/Black Mark Sensor. 3 = Selecting the mode specified by specifies = 0, 1, or 2 as a number of dots.
Chapter 2 Program Instructions LBLCOND, cont. Remarks, cont. IPL Mode ( = 1): If the print image is longer than the physical length of the label or ticket, the print image will extend into the following label(s) until the entire print image has been printed. Then the media is fed out to the next gap or mark according to the stop adjust setup.
Chapter 2 Program Instructions LED ON/OFF Field of Application Statement for turning a specified LED control lamp on or off. Syntax LEDON|OFF Remarks is the LED which is to be turned on or off. 0 is the “Ready” LED. 1 is the “Error” LED. All present Intermec Fingerprint printers are equipped with three LED (Light Emitting Diode) control lamps on the front panel. Two of the LEDs can be used to indicate for example when an error occurs or when the printer is ready.
Chapter 2 Program Instructions LEFT$ Field of Application Function returning a specified number of characters from a given string starting from the extreme left side of the string, that is from the start. Syntax LEFT$(,) is the string from which the characters will be returned. is the number of characters to be returned. Remarks This function is the complementary function for RIGHT$, which returns the characters starting from the extreme right side, that is from the end.
Chapter 2 Program Instructions LEN Field of Application Function returning the number of character positions in a string. Syntax LEN() is the string from which the number of characters will be returned. Remarks The number of characters to be returned includes unprintable characters, but the quotation marks enclosing the string expression are not included.
Chapter 2 Program Instructions LET Field of Application Statement for assigning the value of an expression to a variable. Syntax [LET]<=>|<=> is the numeric variable to which a value will be assigned. is the numeric expression from which the value will be assigned to the numeric variable. or... is the string variable to which the content of the string expression will be assigned.
Chapter 2 Program Instructions LINE INPUT Field of Application Statement for assigning an entire line, including punctuation marks, from the standard IN channel to a single string variable. Syntax LINE↔INPUT[;] ; is an optional prompt plus a semicolon is the string variable to which the input line is assigned. Remarks For information on standard I/O channel, see SETSTDIO statement. By default, "uart1:" is the standard I/O channel.
Chapter 2 Program Instructions LINE INPUT# Field of Application Statement for assigning an entire line, including punctuation marks, from a sequential file or a device to a single string variable. Syntax LINE´INPUT#, is the number assigned to the file when it was OPENed. is the string variable to which the input line is assigned. Remarks This statement differs from the INPUT# statement in that an entire line of max.
Chapter 2 Program Instructions LIST Field of Application Statement for listing the current program completely or partially, or listing all variables, to the standard OUT channel. Syntax LIST[[[–]]|,V|,B] is a single line, or the first line number in a range of lines. is optionally the last line number in a range of lines. ,V lists all variables. ,B lists all breakpoints.
Chapter 2 Program Instructions LISTPFSVAR Field of Application Statement for listing variables saved at power failure. Syntax LISTPFSVAR Remarks Related instructions are SETPFSVAR, GETPFSVAR, and DELETEPFSVAR. Example LISTPFSVAR yields for example: QS$ QCPS% A% Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions LOAD Field of Application Statement for loading a copy of a program, residing in the current directory or in another specified directory, into the printer’s working memory. Syntax LOAD Remarks is the program to be loaded into the working memory. If the program has the extension .PRG, the name of the program can be given with or without any extension. Otherwise, the extension must be included in the name.
Chapter 2 Program Instructions LOC Field of Application Function returning the current position in an OPEN file or the status of the buffers in an OPEN communication channel. Syntax LOC() Remarks is the number assigned to the file or communication channel when it was OPENed. In a random file, LOC will return the number of the last record read or written by the use of GET or PUT statements respectively.
Chapter 2 Program Instructions LOF Field of Application Function returning the length in bytes of an OPEN sequential or random file, or returning the status of the buffers in an OPEN communication channel. Syntax LOF() () is the number assigned to the file or communication channel when it was OPENed.
Chapter 2 Program Instructions LSET Field of Application Statement for placing data left-justified into a field in a random file buffer. Syntax LSET= is the string variable assigned to the field by a FIELD statement. holds the input data. Remarks After having OPENed a file and formatted it using a FIELD statement, you can enter data into the random file buffer using the LSET and RSET statements (RSET right-justifies the data).
Chapter 2 Program Instructions LTS& ON/OFF Field of Application Statement for enabling or disabling the label taken sensor. Syntax LTS& ON|OFF Default: Remarks LTS& OFF The label taken sensor (LTS) is a photoelectric device that can be fitted in the vicinity of the printer’s label outfeed slot and detects if a printed label or ticket has been removed or not. (Usually, a self-adhesive label is not fed out completely, but will remain partly stuck to the liner so it will not fall off.
Chapter 2 Program Instructions MAG Field of Application Statement for magnifying a font, barfont, or image up to four times separately in regard of height and width. Syntax MAG, Default value: Reset to default by: Remarks is the magnification in regard of height (1, 2, 3, or 4). is the magnification in regard of width (1, 2, 3, or 4). 1,1 PRINTFEED execution Magnification makes the object grow in directions away from the selected anchor point, see ALIGN statement.
Chapter 2 Program Instructions MAKEASSOC Field of Application Statement for creating an association. Syntax MAKEASSOC , , specifies the name of the association to be created (case-sensitive). contains an argument list of parameter tuples according to the convention in . should always be "HTTP" (case sensitive). Remarks HTTP implies that the argument list in is encoded in “x-wwwurl-encoding.
Chapter 2 Program Instructions MAP Field of Application Statement for changing the ASCII value of a character when received on the standard IN channel, or optionally on another specified communication channel. Syntax MAP[,], optionally specifies a communication channel: 0 = "console:" 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" 5 = "net1:" 6 = "usb1:" Default: Standard I/O channel. is the original ASCII decimal value.
Chapter 2 Program Instructions MAP, cont. Examples You can check what characters the host produces using a simple program. Pressing different keys on the host should produce the corresponding characters both on the label and on the screen of the host. If not, try another character set (see NASC). In this example we presume that the keyboard produces ASCII 81 dec. and ASCII 90 dec. when you press the Q and Z keys respectively.
Chapter 2 Program Instructions MERGE Field of Application Statement for merging a program in the printer’s current directory, or optionally in another specified directory, with the program currently residing in the printer’s working memory. Syntax MERGE Remarks is the name (optionally including a reference to another directory than the current one) of the program, which is to be merged with the program currently residing in the printer’s working memory.
Chapter 2 Program Instructions MID$ Field of Application Function returning a specified part of a string. Syntax MID$(,[,]) is the original string. is the start position in the original string. [,] is the number of characters to be returned (optional). Remarks is the original string from which a specified part is to be returned. specifies which character position in the original string is to be the first character in the part to be returned.
Chapter 2 Program Instructions NAME DATE$ Field of Application Statement for formatting the month parameter in return strings of DATE$("F") and DATEADD$(...,"F"). Syntax NAME DATE$ , is the month number (1-12). is the desired name of the month. Remarks This statement allows you to assign names to the different months in any form and language you like.
Chapter 2 Program Instructions NAME WEEKDAY$ Field of Application Statement for formatting the day parameter in return strings of WEEKDAY$. Syntax NAME WEEKDAY$ , is the number of the weekday according to the WEEKDAY$ function syntax (Monday = 1... Sunday = 7). is the desired name of the weekday. Default: Full English name in lowercase characters, that is Monday, Tuesday, etc.
Chapter 2 Program Instructions NASC Field of Application Statement for selecting a single-byte character set.
Chapter 2 Program Instructions NASC, cont. Remarks, cont. A NASC statement will have the following consequences: Text printing: Text on labels etc. will be printed according to the selected character set. However, parts of the label, that already has been processed and stored in the print buffer before the NASC statement is executed, will not be affected. This implies that labels may be multi-lingual. LCD Display: New messages in the display will be affected by a NASC statement.
Chapter 2 Program Instructions NASCD Field of Application Statement for selecting a double-byte character set according to the Unicode standard. Syntax NASCD Default: Remarks is the name of the character set. "" (disables double-byte interpretation). When a double-byte character set has been selected, the firmware will usually treat all characters from ASCII 161 dec. to ASCII 254 dec (ASCII A1-FE hex) as the first part of a two-byte character.
Chapter 2 Program Instructions NEW Field of Application Statement for clearing the printer’s working memory in order to allow a new program to be created. Syntax NEW Remarks The NEW statement will delete the program currently residing in the printer’s working memory, close all files, and clear all variables and breakpoints. If the current program has not been saved (see SAVE statement), it will be lost and cannot be restored.
Chapter 2 Program Instructions NORIMAGE (NI) Field of Application Statement for returning to normal printing after an INVIMAGE statement has been issued. Syntax NORIMAGE|NI Remarks Normal image is the default type of printing and means that text and images will be printed in black-on-white. Using an INVIMAGE statement, the printing of text and images can be inversed. Such inverse printing will be discontinued for all PRTXT and PRIMAGE statements that follows the encounter of a NORIMAGE statement.
Chapter 2 Program Instructions ON BREAK GOSUB Field of Application Statement for branching to a subroutine, when break interrupt instruction is received. Syntax ON↔BREAKGOSUB| is one of the following communication channels: 0 = "console:" 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" | is the number or label of the program line to be branched to. Remarks This statement is closely related BREAK and BREAK ON/OFF.
Chapter 2 Program Instructions ON COMSET GOSUB Field of Application Statement for branching to a subroutine, when the background reception of data on the specified communication channel is interrupted. Syntax ON↔COMSETGOSUB| is one of the following communication channels: 0 = "console:" 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" 6 = "usb1:" / is number or label of the program line to be branched to.
Chapter 2 Program Instructions ON COMSET GOSUB, cont. Examples, cont. The same example written without line numbers would look like this: IMMEDIATE OFF REM Exit program with #STOP& COMSET1,"#","&","ZYX","=",50 ON COMSET 1 GOSUB QQQ COMSET 1 ON WWW: IF A$ <> "STOP" THEN GOTO WWW COMSET 1 OFF ..... ..... END QQQ: A$=COMBUF$(1) PRINT A$ COMSET 1 ON RETURN IMMEDIATE ON 176 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions ON ERROR GOTO Field of Application Statement for branching to an error-handling subroutine when an error occurs. Syntax ON↔ERROR↔GOTO| is the number or label of the line to which the program should branch when an error condition occurs.
Chapter 2 Program Instructions ON GOSUB Field of Application Statement for conditional branching to one of several subroutines. Syntax ONGOSUB|[,|...] is a numeric expression that determines which line the program should branch to. / is the number or label of the line, or list of lines, to which the program should branch. Remarks This statement is closely related to the ON GOTO statement.
Chapter 2 Program Instructions ON GOTO Field of Application Statement for conditional branching to one of several lines. Syntax ONGOTO|[,|...] is a numeric expression that determines which line the program should branch to. / is the number or label of the line, or list of lines, to which the program should branch. Remarks This statement is closely related to the ON GOSUB statement.
Chapter 2 Program Instructions ON HTTP GOTO Field of Application Statement for branching to a subroutine when a request for an application CGI is received. Syntax ON↔HTTP↔GOTO| / is the number or label of the line to which the program will branch when the CGI request is received. Remarks This statement is used in connection with EasyLAN 100i and defines a Fingerprint subroutine that handles the CGI-request.
Chapter 2 Program Instructions ON KEY GOSUB Field of Application Statement for branching to a subroutine when a specified key on the printer’s front panel is activated. Syntax ON↔KEY()GOSUB| is the id. number of one of the keys on the printer’s front panel (see illustration below). / is the number or label of the line to which the program will branch when the specified key is pressed down. Remarks All Intermec Fingerprint v7.
Chapter 2 Program Instructions ON KEY GOSUB, cont. Remarks, cont. 182 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions ON KEY GOSUB, cont. Examples This example illustrates how activating the F1 key (id. No. 10) will make the program branch to a subroutine, which contains the PRINTFEED statement. Note line 30 where the execution will wait for the key to be pressed. 10 20 30 ..... ..... .....
Chapter 2 Program Instructions ON/OFF LINE Field of Application Statement controlling the SELECT signal on the "centronics:" communication channel. Syntax ON|OFF↔LINE specifies the communication channel: 4 = "centronics:" 6 = "usb1:" Remarks Pin 13 in the Centronics/IEEE 1284 interface connector contains the SELECT signal: • ON LINE 4 sets the SELECT signal high. • OFF LINE 4 sets the SELECT signal low.
Chapter 2 Program Instructions OPEN Field of Application Statement for opening a file or device–or creating a new file–for input, output, or append, allocating a buffer, and specifying the mode of access. Syntax OPEN[FOR↔↔]AS [#][LEN=] is the file or device to be opened, of the file to becreated. File names must not contain any colon character (:). # indicates that whatever follows is a number. Optional.
Chapter 2 Program Instructions OPEN, cont.
Chapter 2 Program Instructions OPTIMIZE BATCH ON/OFF Field of Application Statement for enabling/disabling optimizing for batch printing. Syntax OPTIMIZE "BATCH"↔ON|OFF ON|OFF enables/disables optimizing respectively. Default: Disabled (OFF) Remarks This facility is intended to speed up batch printing, which means the uninterrupted printing of large numbers of identical or very similar labels. OPTIMIZE BATCH is not recommended for the printing of labels with frequently varying content.
Chapter 2 Program Instructions PORTIN Field of Application Function reading the status of a port on an Industrial Interface Board. Syntax PORTIN() Remarks is the number of the port to be read: IN ports (optical): 101-108 OUT ports (relay): 201-204 OUT ports (optical): 221-228 This function works with the Industrial Interface Board and is able to read the status of 8 IN ports with optocouplers, 8 OUT ports with optocouplers, and 4 OUT ports with relays.
Chapter 2 Program Instructions PORTOUT ON/OFF Field of Application Statement for setting one of four relay port or one of eight optical ports on an Industrial Interface Board to either on or off. Syntax PORTOUT () ON|OFF is the number of the port to be set: OUT ports (relay): 201-204 OUT ports (optical): 221-228 Remarks This statement works with the Industrial Interface Board and is able to control 8 IN ports with optocouplers, 8 OUT ports with optocouplers, and 4 OUT ports with relays.
Chapter 2 Program Instructions PRBAR (PB) Field of Application Statement for providing input data to a bar code. Syntax PRBAR|PB<|> <|> is the input data to the bar code generator. Remarks The bar code must be defined by BARSET, BARTYPE, BARRATIO, BARHEIGHT, BARMAG, BARFONT, and/or BARFONT ON/OFF statements, or by the corresponding default values.
Chapter 2 Program Instructions PRBOX (PX) Field of Application Statement for creating a box, optionally containing a single text line or a frame of mulitiple hyphenated text lines. Syntax PRBOX|PX,, [,[,[,[,[,]]]]] is the height of the box in dots (1-6000). is the width of the box in dots (1-6000). is the line weight in dots (0/1-6000). is the framed text to be written inside the box (max. 300 char./line, max.
Chapter 2 Program Instructions PRBOX, cont. Remarks, cont. Creating a simple box, cont. The illustration below shows how the height and width of the box are defined for different print directions. Creating a multiline text field The PRBOX statement can also be used to create an area in which a field of wrapped and hyphenated text can be printed. As opposed to the PRTXT statement, there is no need to specify each line of text separately.
Chapter 2 Program Instructions PRBOX, cont. Remarks, cont. Creating a multiline text field, cont. The vertical distance between the inner edge of the box line and the borders of the text field as well as the empty vertical space between the character cells of two adjacent lines (line spacing) is specified by : - In case of ALIGN 1, 2, or 3, it decides the distance between the inner edge of the bottom box line and the bottom edge of the text field as well as line spacing.
Chapter 2 Program Instructions PRBOX, cont. Remarks, cont. and now comes line 3 followed by No. 4. ALIGN 7 This is line number 1 and this is line 2 and now comes line 3 followed by No. 4. ALIGN 8 followed by No. 4. ALIGN 9 This is line number 1 This is line number 1 and this is line 2 and this is line 2 and now comes line 3 followed by No. 4. ALIGN 4 This is line number 1 and this is line 2 and now comes line 3 followed by No. 4.
Chapter 2 Program Instructions PRBOX, cont. Remarks, cont. Hyphenation Support, cont. Specify the parameter in PRBOX using the following syntax: =[space[space]] is a soft hyphen delimiter. If the text does not have enough room on one line, the rest of the text will be wrapped from the last space or from the position marked by the soft hyphen delimiter. Exception: Two adjacent soft hyphen delimiters revoke each other. Default: Normal hyphen (-).
Chapter 2 Program Instructions PRBOX, cont. Examples, cont. This program illustrates a multi-line text field with line wrap, where “&S” is the soft hyphen delimiter: 10 20 30 40 50 60 70 80 90 RUN 196 DIR 1 ALIGN 8 R$="Hyphen&Sated words will be divid&Sed into sylla&Sbles." NL$="NEWLINE" S$="&S&Special Cases and EXTRAORDINARY long words." T$=R$+NL$+S$ PRPOS 300,300 PRBOX 700,500,20,T$,25,1,NL$,"&S - +" PRINTFEED Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions PRBUF Field of Application Statement for receiving and printing bitmap image data using the PRBUF protocol. Syntax PRBUF[, is the number of bytes of the image in PRBUF protocol. is, optionally, a timeout between characters in TICKS (0.01 sec). Default ≈ 12.7 sec./character. is any combination of CR, CR/LF, or LF. is the image according to the PRBUF protocol.
Chapter 2 Program Instructions PRIMAGE (PM) Field of Application Statement for selecting an image stored in the printer’s memory. Syntax PRIMAGE|PM is the full name of the desired image including extension. Remarks An image is positioned according to the preceding PRPOS, DIR, and ALIGN statements. It can be magnified by means of a MAG statement. For the best printout quality, create and download a larger version of the image rather than magnifying a smaller one.
Chapter 2 Program Instructions PRINT (?) Field of Application Statement for printing data to the standard OUT channel. Syntax PRINT|?[<|>[<,|;><|>...][;]] <|> are string or numeric expressions, which will be printed to the standard OUT channel. Remarks If no expressions are specified after the PRINT statement, it will yield a blank line.
Chapter 2 Program Instructions PRINT KEY ON/OFF Field of Application Statement for enabling or disabling printing of a label by pressing the Print key. Syntax PRINT KEY ON|OFF Default: Remarks PRINT KEY OFF In the Immediate Mode and in the Intermec Direct Protocol, the key can be enabled to issue printing commands, corresponding to PRINTFEED statements.
Chapter 2 Program Instructions PRINT# Field of Application Statement for printing data to a specified OPENed device or sequential file. Syntax PRINT#[,<|>[<,|;><|>...][;]] is the number assigned to the file or device when it was OPENed. <|> are the string or numeric expressions, which will be printed to the specified file or device.
Chapter 2 Program Instructions PRINTFEED (PF) Field of Application Statement for printing and feeding out one or a specified number of labels, tickets, tags, or portions of strip, according to the printer’s setup. Syntax PRINTFEED|PF [] | [-1,] specifies number of copies to be printed. -1, specifies that number of identical copies of the last printed label should be reprinted (cannot be used with Intermec Direct Protocol).
Chapter 2 Program Instructions PRINTFEED (PF), cont. Examples Printing a single label with one line of text: 10 20 30 RUN FONT "Swiss 721 BT" PRTXT "Hello!" PRINTFEED Printing five identical labels with one line of text: 10 20 30 RUN FONT "Swiss 721 BT" PRTXT "Hello!" PRINTFEED 5 Printing five labels using a FOR...NEXT loop.
Chapter 2 Program Instructions PRINTONE Field of Application Statement for printing characters, specified by their ASCII values, to the standard OUT channel. Syntax PRINTONE[<,|;>...][;] is the ASCII decimal value of a character, which will be printed to the standard OUT channel. Remarks When, for some reason, certain characters cannot be produced by the host computer, they can be substituted by the corresponding ASCII decimal values using the PRINTONE statement.
Chapter 2 Program Instructions PRINTONE# Field of Application Statement for printing characters specified by their ASCII values to a device or sequential file. Syntax PRINTONE#[,[<,|;>...][;]] is the number assigned to the file or device when it was OPENed. is the ASCII decimal value of the character, which is to be printed to the specified file or device. Remarks This statement is useful, when the host for some reason cannot produce certain characters.
Chapter 2 Program Instructions PRLINE (PL) Field of Application Statement for creating a line. Syntax PRLINE|PL, is the length of the line in dots (max. 6000). is the line weight in dots (max. 6000). Remarks The line will be drawn from the insertion point and away according to the nearest preceding DIR and ALIGN statements (that is the line runs in parallel with any text printed in the selected direction). A line can be ALIGNed left, right or center.
Chapter 2 Program Instructions PRPOS (PP) Field of Application Statement for specifying the insertion point for a line of text, a bar code, an image, a box, or a line. Syntax PRPOS|PP, is the X-coordinate (number of dots from the origin). is the Y-coordinate (number of dots from the origin). Default value: 0,0 Reset to default by: PRINTFEED execution. Remarks When the printer is set up, a “print window” is created.
Chapter 2 Program Instructions PRPOS (PP), cont. Remarks, cont. The insertion point must be selected so the field in question will fit inside the print window. This implies that the print direction, the size of the field including “invisible” parts of for example an image, the alignment, and other formatting instructions must be considered. A field that does not fit entirely inside the print window will cause Error 1003, “Field out of label”, except when a CLIP ON statement is issued.
Chapter 2 Program Instructions PRSTAT Field of Application Function returning the printer’s current status or, optionally, the current position of the insertion point. Syntax PRSTAT[()] = 1 = 2 = 3 = 4 = = = = = = Remarks 5 6 7 8 9 10 returns the X-position for the insertion point at DIR 1&3. returns the Y-position for the insertion point at DIR 2&4.
Chapter 2 Program Instructions PRSTAT, cont. Remarks, cont. PRSTAT(7)-PRSTAT(10) These functions are used to detect if a print job has been interrupted, so steps can be taken to reprint missing copies (see PRINTFEED). PRSTAT (7) returns a print job identifier that is automatically assigned to the print job by the firmware.
Chapter 2 Program Instructions PRTXT (PT) Field of Application Statement for providing the input data for a text field. Syntax PRTXT|PT<|>[;<|>...][;] <|> specifies one line of text (max. 300 characters) Remarks A text field consists of one line of text. The text field must be defined in regard of FONT or FONTD and may be further defined and positioned by DIR, ALIGN, MAG, PRPOS, INVIMAGE, or NORIMAGE statements or their respective default values.
Chapter 2 Program Instructions PRTXT (PT), cont. Examples, cont.
Chapter 2 Program Instructions PUT Field of Application Statement for writing a given record from the random buffer to a given random file. Syntax PUT[#], # indicates that whatever follows is a number. Optional. is the number assigned to the file when it was OPENed. is the number of the record. Must be ≥1. Remarks Use LSET or RSET statements to place data in the random buffer before issuing the PUT statement.
Chapter 2 Program Instructions RANDOM Field of Application Function generating a random integer within a specified interval. Syntax RANDOM(,) is the first integer in the interval. is the last integer in the interval.
Chapter 2 Program Instructions RANDOMIZE Field of Application Statement for reseeding the random number generator, optionally with a specified value. Syntax RANDOMIZE[] is the integer (0 -99999999) with which the random number generator will be reseeded Remarks If no value is specified, a message will appear asking you to enter a value between 0 and 99,999,999. Examples In the following example, no reseeding integer is specified in the program.
Chapter 2 Program Instructions READY Field of Application Statement for ordering a ready signal, for example XON, CTS/RTS or PE, to be transmitted from the printer on the specified communication channel.
Chapter 2 Program Instructions REBOOT Field of Application Statement for restarting the printer. Syntax REBOOT Remarks This statement has exactly the same effect as switching off and on the power to the printer. Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions REDIRECT OUT Field of Application Statement fo redirecting the output data to a created file. Syntax REDIRECT↔OUT[] is, optionally, the name of the file to be created and where the output will be stored. Remarks Normally the output data will be transmitted on the standard output channel (see SETSTDIO statement). In most cases, this means the screen of the host.
Chapter 2 Program Instructions REM (') Field of Application Statement for adding headlines and explanations to the program without including them in the execution. Syntax REM|' Remarks is a text inserted in the program for explanatory purpose. Max. 32,767 characters per line. A REM statement may either be entered on a program line of its own or be inserted at the end of a line containing another instruction. In the latter case, REM must be preceded by a colon (“:REM”).
Chapter 2 Program Instructions REMOVE IMAGE Field of Application Statement for removing a specified image from the printer’s memory. Syntax REMOVE↔IMAGE is the full name including extension of the image to be removed. Remarks Useful for removing obsolete or faulty images from the printer’s memory in order to save valuable memory space. Note that there is a distinction between on one hand images and on the other hand image files (compare with IMAGES and FILES statements).
Chapter 2 Program Instructions RENDER ON/OFF Field of Application Statement for enabling/disabling rendering of text, bar code, image, box, and line fields. Syntax RENDER ON|OFF ON OFF Remarks enables rendering (default). disables rendering. These statements are intended to get information regarding size and position of a field without actually rendering it, that is the field will not be printed when the program is executed. The information on the field is retrieved using PRSTAT functions.
Chapter 2 Program Instructions RENUM Field of Application Statement for renumbering the lines of the program currently residing in the printer’s working memory. Syntax RENUM[][,[][,]] is the first line number of the new sequence. is the line in the current program at which renumbering is to start. is the desired increment between line numbers in the new sequence.
Chapter 2 Program Instructions RESUME Field of Application Statement for resuming program execution after an error-handling subroutine has been executed. Syntax RESUME[<|||<0>>|] is the number or label of the line to which the program should return. Remarks RESUME must only be used in connection with error-handling subroutines (see ON ERROR GOTO). There are five ways of using RESUME: RESUME Execution is resumed at the statement where the error occurred.
Chapter 2 Program Instructions RETURN Field of Application Statement for returning to the main program after having branched to a subroutine because of a GOSUB statement. Syntax RETURN[|] is optionally the number or label of a line in the main program to return to. Remarks When the statement RETURN is encountered during the execution of a subroutine, the execution will return to the main program.
Chapter 2 Program Instructions RIGHT$ Field of Application Function returning a specified number of characters from a given string starting from the extreme right side (end) of the string. Syntax RIGHT$(,) is the string from which the characters will be returned. specifies the number of characters to be returned. Remarks This function is the complementary function for LEFT$, which returns the characters starting from the extreme left side, that is from the start.
Chapter 2 Program Instructions RSET Field of Application Statement for placing data right-justified into a field in a random file buffer. Syntax RSET= is the string variable assigned to the field by a FIELD statement. holds the input data. Remarks After having OPENed a file and formatted it using a FIELD statement, you can enter data into the random file buffer using the RSET and LSET statements (LSET left-justifies the data).
Chapter 2 Program Instructions RUN Field of Application Statement for starting the execution of a program. Syntax RUN[<|>] optionally specifies an existing program to be run. optionally specifies the number of a line in the current program where the execution will start. Remarks The RUN statement starts the execution of the program currently residing in the printer’s working memory, or optionally of a specified program residing elsewhere.
Chapter 2 Program Instructions SAVE Field of Application Statement for saving a file in the printer’s memory or optionally in a DOS-formatted memory card. Syntax SAVE[,P|L] P L Remarks is the name of the file, optionally starting with a reference to a directory (see DEVICES). Allowed input: Max. 30 characters incl. extension. Max. 26 characters excl. extension optionally protects the file. optionally saves the file without line numbers.
Chapter 2 Program Instructions SAVE, cont. Examples SAVE "LABEL14" saves the file as “Label 14.PRG" in current directory. SAVE "LABEL14",P saves and protects the file "Label14.PRG". SAVE "LABEL14",L saves the file "Label14.PRG" without line numbers. SAVE "card1:LABEL14.PRG" saves the file in an optional DOS-formatted SRAM memory card. Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions SET FAULTY DOT Field of Application Statement for marking one or several dots on the printhead as faulty, or marking all faulty dots as correct. Syntax SET↔FAULTY↔DOT[,...] is the number of the dot to be marked as faulty. Successive executions add more faulty dots. = -1 marks all dots as correct (default). Remarks This statement is closely related to the HEAD function and the BARADJUST statement.
Chapter 2 Program Instructions SETASSOC Field of Application Statement for setting a value for a tuple in a string association. Syntax SETASSOC , , is the name of the association (case-sensitive). is the name of the tuple is the value of the tuple. Remarks An association is an array of tuples, where each tuple consists of a name and a value.
Chapter 2 Program Instructions SETPFSVAR Field of Application Statement for registering variable to be saved at power failure. Syntax SETPFSVAR[,] is the name of a numeric or string variable (uppercase characters only). is the size in bytes of a string variable (compulsory). Remarks When a program is loaded, it is copied to and executed in the printer’s temporary memory ("tmp:").
Chapter 2 Program Instructions SETSTDIO Field of Application Statement for selecting standard IN and OUT communication channel.
Chapter 2 Program Instructions SETSTDIO, cont. Example This example selects the "uart2:" communication channel as the standard input and output channel: 10 SETSTDIO 2 . . . . . . . . This example enables autohunting for input and "uart1:" for output: 10 SETSTDIO 100,1 . . . . . . . . 234 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 2 Program Instructions SETUP Field of Application Statement for entering the printer’s Setup Mode or changing the setup. Syntax SETUP If no parameter is specified, the printer enters the Setup Mode. SETUP is the name of an existing setup file that will be used to change the printer’s entire current setup, or a string used to change a single parameter in the printer’s current setup. SETUP , is the name of a setup section (see Chapter 8).
Chapter 2 Program Instructions SETUP, cont. Remarks, cont. When creating setup files or setup strings, there is a special syntax for each parameter that must be followed exactly. Variable numeric input data are indicated by “n” – “nnnnn”, alternative data are indicated by bold characters separated by vertical bars (|). Compulsory space characters are indicated by double-headed arrows (↔). Note that some parameters listed below may only apply to a certain printer model or an optional device.
Chapter 2 Program Instructions SETUP, cont. Examples This example enables a key for branching to the Setup Mode: 10 20 ..... 1000 1010 ON KEY(18) GOSUB 1000 KEY(18)ON SETUP RETURN This example shows how a new file is OPENed for output and each parameter in the setup is changed by means of PRINT# statements. Then the file is CLOSEd. Any lines, except the first and the last line in the example, may be omitted. Finally, the printer’s setup is changed using this file.
Chapter 2 Program Instructions SETUP GET Field of Application Statement for getting the current setting for a single setup object. Syntax SETUP GET,, specifies the setup section. specifies the setup object. stores the result. Remarks Refer to Chapter 8, EasyLAN 100i Setup for a list of setup sections and objects. Examples SETUP GET "lan1","RTEL_PR1",A$ SETUP GET "prt","MEDIA,MEDIA TYPE", B$ SETUP GET "alerts","lts",C$ 238 Intermec Fingerprint v7.
Chapter 2 Program Instructions SETUP WRITE Field of Application Statement for creating a file containing the printer’s current setup or for returning it on a specified communication channel. Syntax SETUP WRITE[] , is an optional parameter specifying the setup section. is the name of a file or device to which the printer's current setup is to be written. Remarks The SETUP WRITE statement is useful when you want to return to the printer’s current setup at a later moment.
Chapter 2 Program Instructions SETUP WRITE, cont. Remarks, cont. MEDIA,PAPER TYPE,TRANSFER,RIBBON CONSTANT,100 MEDIA,PAPER TYPE,TRANSFER,RIBBON FACTOR,25 MEDIA,PAPER TYPE,TRANSFER,LABEL OFFSET,0 MEDIA,CONTRAST,0% #MEDIA,TESTFEED,10 3 (Info only. Comparator 0–15; amplifier 0–7) PRINT DEFS,HEAD RESIST, 1166 (Info only) PRINT DEFS,PRINT SPEED,150 Note that when a SETUP WRITE file is used to change the setup, the printer’s present TESTFEED adjustment is not affected.
Chapter 2 Program Instructions SGN Field of Application Function returning the sign (positive, zero, or negative) of a specified numeric expression. Syntax SGN() is the numeric expression from which the sign will be returned.
Chapter 2 Program Instructions SORT Field of Application Statement for sorting a one-dimensional array. Syntax SORT<|>,,, <|> is the array to be sorted. is the number of the first element. is the number of the last element. > 0: Ascending sorting < 0: Descending sorting = 0: Illegal value In a string array, the value specifies the position according to which the array will be sorted.
Chapter 2 Program Instructions SOUND Field of Application Statement for making the printer’s beeper produce a sound specified in regard of frequency and duration. Syntax SOUND, is the frequency of the sound in Hz. is the duration of the sound in periods of 0.020 sec. each (max. 15,0000 = 5 minutes). Default: Frequency: 1200 Hz. Duration: 0.030 sec.
Chapter 2 Program Instructions SPACE$ Field of Application Function returning a specified number of space characters. Syntax SPACE$() is the number of space characters to be returned. Remarks This function is useful for more complicated spacing, for example in tables.
Chapter 2 Program Instructions SPLIT Field of Application Function splitting a string into an array according to the position of a specified separator character and returning the number of elements in the array. Syntax SPLIT(,,) is the string to be split. is the string array in which the parts of the split string should be put. specifies the ASCII value for the separator.
Chapter 2 Program Instructions STOP Field of Application Statement for terminating execution of a program and to return to immediate mode. Syntax STOP Remarks When a STOP statement is encountered, the following message is returned to the host: Break in line You can resume execution where it was stopped by means of a CONT statement or at a specified program line using a GOTO statement in the immediate mode. STOP is usually used in conjunction with CONT for debugging.
Chapter 2 Program Instructions STORE IMAGE Field of Application Statement for setting up parameters for storing an image in the printer’s memory. Syntax STORE↔IMAGE [RLL] [KILL],,,[], [RLL] optionally indicates RLL compression. [KILL] optionally specifies that the image will be erased from the temporary memory at startup (recommended). is the name of the image (max 30 char. incl. extension). is the width of the image in bits (=dots).
Chapter 2 Program Instructions STORE INPUT Field of Application Statement for receiving and storing protocol frames of image data in the printer’s memory. Syntax STORE↔INPUT[,] is the timeout in ticks (0.01 sec.) before next character is received. is, optionally, the number assigned to a device when it was OPENed for INPUT. Default: Standard IN channel.
Chapter 2 Program Instructions STORE OFF Field of Application Statement for terminating the storing of an image and resetting the storing parameters. Syntax STORE↔OFF Remarks After having stored all protocol frames of an image, the storing must be terminated by a STORE OFF statement. Even if you want to store another image, you must still issue a STORE OFF statement before the parameters for the new image can be set up using a new STORE IMAGE statement.
Chapter 2 Program Instructions STR$ Field of Application Function returning the string representation of a numeric expression. Syntax STR$() is the numeric expression from which the string representation will be returned. Remarks This is the complementary function for the VAL function.
Chapter 2 Program Instructions STRING$ Field of Application Function repeatedly returning the character of a specified ASCII value, or the first character in a specified string. Syntax STRING$(,<|>) is the number of times the specified character should be repeated. is the ASCII decimal code of the character to be repeated. is a string expression, from which the first character will be repeated.
Chapter 2 Program Instructions SYSVAR Field of Application System array for reading or setting various system variables.
Chapter 2 Program Instructions SYSVAR, cont. Remarks 1-12. Not for public use or not implemented. 13. Ribbon counter (Read only) Reads the value of the optional ribbon counter in EasyCoder 501 XP/601 XP. At startup, the counter is set to a value of approximately 65,000 and is decremented by 1 for each pulse. There are 40 pulses for each turn of the ribbon unwind unit. 14. Errors since power up Reads number of errors detected since last power up. (Read only) 15.
Chapter 2 Program Instructions SYSVAR, cont. Remarks, cont. 19.
Chapter 2 Program Instructions SYSVAR, cont. Remarks, cont. 25. Type of Centronics communication (Set or Read) Three types of Centronics communication in the compatible mode can be selected or read. (Nibble, byte, ECP and EPP are presently not supported.) SYSVAR(25) = 0 Standard type Predefined timing for the ACK and BUSY signals when responding to host data is: 500 ns ACK, BUSY inactivated after ACK finishes.
Chapter 2 Program Instructions SYSVAR, cont. Remarks, cont. 30: DSR condition on "uart3:" (Read only) This parameter allows you to read the DSR (Data Send Ready) condition on the serial channel "uart3:" The printer returns: 0 = No 1 = Yes 31: Last control character sent (Read only) This parameter allows you to read the last control character sent from the MUSE protocol (special applications).
Chapter 2 Program Instructions SYSVAR, cont. Remarks, cont. 36: Print changes of program modes (Set or Read) This parameter is used with the Fingerprint debugger and controls whether changes of program modes should be printed to the Debug Standard Out port (see DBSTDIO). The options are: 0 = Disable printout (default) 1 = Enable printout 37: Set Minimum Gap Length (Set or Read) The media may have perforations or marks that not are intended to be interpreted as gaps or black marks by the LSS.
Chapter 2 Program Instructions SYSVAR, cont. Remarks, cont. 42: Stop Media Feed in the Middle of Label Gaps (Set or Read) If SYSVAR(42) = 0, the media feed stops so the middle of a 3 mm (0.12 in) gap becomes aligned with the tear bar when using labels (w gaps). This is the default setting.
Chapter 2 Program Instructions TESTFEED Field of Application Statement for adjusting the label stop sensor while performing a number of formfeeds. Syntax TESTFEED[] Remarks is an optional feed length in dots. The TESTFEED statement feeds dots while adjusting the label stop/black mark sensor (LSS) for the characteristics of the media presently loaded in the printer.
Chapter 2 Program Instructions TICKS Field of Application Function returning the time, that has passed since the last power up in the printer, expressed in number of “TICKS" (1 TICK = 0.01 seconds.) Syntax TICKS Remarks TICKS allows you to measure time more exactly than the TIME$ variable, which cannot handle time units smaller than 1 second. The TICKS counter is reset to zero at power up.
Chapter 2 Program Instructions TIME$ Field of Application Variable for setting or returning the current time. Syntax Setting the time: TIME$= sets the current time by a 6-digit number specifying Hour, Minute and Second. Reading the time: =TIME$[()] returns the current time according to the printer’s clock. is an optional flag "F", indicating that the time will be returned according to the format specified by FORMAT TIME$.
Chapter 2 Program Instructions TIMEADD$ Field of Application Function returning a new time after a number of seconds have been added to, or subtracted from, the current time or optionally a specified time. Syntax TIMEADD$([,][,]) is any time given according to the TIME$ format, which a certain number of seconds should be added to or subtracted from.
Chapter 2 Program Instructions TIMEDIFF Field of Application Function returning the difference between two specified moments of time in number of seconds. Syntax TIMEDIFF(,) is one of two moments of time (time 1). is the other of the two moments (time 2).
Chapter 2 Program Instructions TRANSFER KERMIT Field of Application Statement for transferring data files using KERMIT communication protocol. Syntax TRANSFER↔K[ERMIT][,[,[,sexp4>]]] specifies the direction of the transmission by the expression "S " (= send) or "R" (= receive). is, optionally, the name of the file transmitted from the printer (default "KERMIT.FILE").
Chapter 2 Program Instructions TRANSFER STATUS Field of Application Statement for checking last TRANSFER KERMIT or TRANSFER ZMODEM operation. Syntax TRANSFER↔S[TATUS], is a five-element one-dimensional numeric array where the elements will return: 0: Number of packets. (Kermit only) 1: Number of NAK’s. (Kermit only) 2: ASCII value of last status character. (Kermit only) 3: Last error. (Kermit and ZMODEM) 4: Block check type used.
Chapter 2 Program Instructions TRANSFER ZMODEM Field of Application Statement for transferring data files using ZMODEM communication protocol. Syntax TRANSFER↔Z[MODEM][,[,[,sexp4>]]] specifies the direction of the transmission by the expression "S " (= send) or "R" (= receive). is, optionally, the name of the file transmitted from the printer (default "ZMODEM.FILE").
Chapter 2 Program Instructions TRANSFER$ Field of Application Function executing a transfer from source to destination as specified by a TRANSFERSET statement. Syntax TRANSFER$() is the character time-out in ticks (10 milliseconds). Remarks The TRANSFER$ function executes the transfer from source to destination as specified by the TRANSFERSET statement.
Chapter 2 Program Instructions TRANSFERSET Field of Application Statement for entering setup for the TRANSFER$ function. Syntax TRANSFERSET[#],[#],[,] # optional number sign. is the number of the source (the file or device OPENed for input). is the number of the destination file (the file or device OPENed for output or append). is a set of break characters.
Chapter 2 Program Instructions TRON/TROFF Field of Application Statements enabling/disabling tracing of the program execution. Syntax TRON|TROFF TRON TROFF Remarks enables tracing. disables tracing (default) Useful for debugging purposes. When tracing is enabled, each line number of the program is displayed on the screen within parentheses as the execution goes on. Tracing will be disabled when a TROFF statement is executed.
Chapter 2 Program Instructions VAL Field of Application Function returning the numeric representation of a string expression. Syntax VAL() Remarks is the string expression from which the numeric representation will be returned. VAL is the complementary function for STR$. VAL ignores space characters from the argument string to determine the result.
Chapter 2 Program Instructions VERBON/VERBOFF Field of Application Statements for specifying the verbosity level of the communication from the printer on the standard OUT channel (serial communication only). Syntax VERBON|VERBOFF VERBON VERBOFF Remarks enables all verbosity levels (default). disables all verbosity levels. VERBON: By default, when a character is received on the standard IN channel (see SETSTDIO statement), the corresponding character will be echoed back on the standard OUT channel.
Chapter 2 Program Instructions VERSION$ Field of Application Function returning the version of the firmware, printer family, or type of CPU board. Syntax VERSION$[()] is, optionally, the type of information to be returned: 0 = Version of firmware (default) 1 = Printer family 2 = Type of CPU board Remarks The name of the firmware depends on if the printer is running in the Immediate or Programming Modes, or in the Intermec Direct Protocol.
Chapter 2 Program Instructions WEEKDAY Field of Application Function returning the weekday of a specified date. Syntax WEEKDAY() Remarks is the date in DATE$ format from which the weekday will be returned.
Chapter 2 Program Instructions WEEKDAY$ Field of Application Returning the name of the weekday from a specified date. Syntax WEEKDAY$() is the date for which the name of the weekday, according to a list of weekday names created by means of NAME WEEKDAY$ statement , will be returned.
Chapter 2 Program Instructions WEEKNUMBER Field of Application Function returning the number of the week for a specified date. Syntax WEEKNUMBER([, is the date for which the week number will be returned (1-53). specifies the calculating function (0-14) as listed below. Default is 0. Remarks WEEKNUMBER calculating function: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Week #1 starts...
Chapter 2 Program Instructions WHILE...WEND Field of Application Statement for executing a series of statements in a loop providing a given condition is true. Syntax WHILE [...] WEND Remarks is a numeric expression that is either TRUE (-1) of FALSE (0). is a statement, or a list of statements on separate lines, that will be executed provided is TRUE.
Chapter 2 Program Instructions XORMODE ON/OFF Field of Application Statement for enabling or disabling the xor/flip mode of Intermec Fingerprint in connection with graphical operations. Syntax XORMODE ON|OFF Remarks When XORMODE is set ON, dots are reversed, as opposed to set, by all graphical operations except bar codes. This means that if, for example two black lines cross, the intersection will be white. If XORMODE is set to OFF, the intersection will be black.
Chapter 2 Program Instructions External Commands; ZMODEM Field of Application External commands for receiving and sending data using the ZMODEM protocol. Syntax RUN "rz [] []" (receive data) : -c Forces no crash recovery, even if sender requests ZCRESUM (resume interrupted file transfer). -e Print last error to std OUT channel. -l[] Send verbose output to logfile. Default logfile name is "tmp:.zmodemlog".
Chapter 2 Program Instructions External Commands; Dynamic Modules Field of Application External commands for inserting, listing, and removing dynamic modules in the running kernel. Syntax RUN "insmod " (insert module) is the device where the dynamic module is stored. is the name of the dynamic module. RUN "rl m" (list modules) is the device where the dynamic module is stored. is the name of the dynamic module.
Chapter 3 3. Image Transfer The following five image transfer file protocols are used in connection with the STORE IMAGE statement and use a common format for the image data, as descibed on next page. Intelhex Intel hex [Intel Hexadecimal Intellec 8/MDS (I_hex) file format] is a well-known standard format for transfer of bitmap images. Please refer to the standard literature on the subject. Note that: • Hex digits in Intelhex frames must be uppercase. • Null frames may be omitted.
Chapter 3 Image Format Image Transfer The following image format is valid for Intelhex, UBI00, UBI01, UBI02, and UBI03 image transfer protocols, but not for the UBI10 protocol, which is a combined image transfer protocol and format. A bitmap picture can be encoded in one of two ways, as a plain bit representation or encoded with a Run Lenght Limited (RLL) algoritm. Pictures can be magnified, by the printer, up to four times independently in both x and y directions.
Chapter 3 Image Transfer Image Format, cont. Example 1: Bitmap encoding To clarify this, lets try a simple example. X’s represent black dots in the final printout. The pattern shown is 22 bits wide and 28 rows high. NOTE! • The bit order in each byte. Note also word fill to nearest word (16 bit). • To the right is a hex representation of the pattern, as it would appear in a memory dump.
Chapter 3 Image Format, cont. Image Transfer Example 2: RLL Encoding To clarify this, lets try a simple example. X’s represent black dots in the final print out. The pattern shown is 22 bits wide and 32 rows high. NOTE! • Notice the reverse byte order. Count dots from right. • To the right is a decimal representation of the pattern. • To get the pattern to appear as printed on this page with direction one, the last row (row 27) should have the lowest address.
Chapter 3 UBI10 Image Transfer UBI10 is a combined protocol/file format for image transfer, as opposed to Intelhex and UBI00-UBI03 protocols described earlier in this chapter. UBI10 is used in various Intermec Windows Drivers. Protocol Description !BG ↵ !XA ↵ !YA ↵ !XA | !YA !SBW !XA | !YA !SBW !XA | !YA !SBW .....
Chapter 3 Image Transfer UBI10, cont. The image illustrated above contains 2 bytes (= 16 bits) in each horizontal line. By setting the absolute start position to x = 8, you can start counting from the start of the second byte, that is x = 8 in the matrix above. The first 3 bits (x-positions) are white, then comes one black bit followed by three white bits, and finally one black bit. Expressed in 0:s and 1:s, where 0 represents a white bit and 1 a black bit, the pattern will be 00010001.
Chapter 3 Image Transfer PRBUF-Protocol The PRBUF Protocol is designed for downloading bitmap print image data directly from an application program, such as a Windows printer driver, directly to the printer’s image buffer in connection with the PRBUF statement. The protocol consist of a two-byte header and a number of data bytes: Header Byte No 1. is always the @-sign (Commercial at; Unicode 0x0040) and indicates start of the protocol header.
Chapter 3 PRBUF-Protocol, cont.
Chapter 4 4. Character Sets Introduction This chapter contains the various single-byte character sets, that can be selected using the NASC statement. Printouts are made using the font “Swiss 721 BT”. Other fonts may not include all characters listed in the character sets. Double-byte character sets are not included, but are available separately on special request. For more information on character sets and fonts, refer to the Intermec Fingerprint, Font Reference Manual.
Chapter 4 Roman 8 Character Set 0 1 Character Sets NASC 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets French Character Set 0 NASC 33 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 290 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Spanish Character Set 0 1 Character Sets NASC 34 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets Italian Character Set 0 NASC 39 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 292 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 English (UK) Character Set 0 1 2 3 Character Sets NASC 44 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets Swedish Character Set 0 1 NASC 46 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 294 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Norwegian Character Set 0 1 2 Character Sets NASC 47 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets German Character Set 0 1 NASC 49 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 296 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Japanese Latin Character Set 0 1 2 3 4 Character Sets NASC 81 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets Portuguese Character Set 0 1 2 NASC 351 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 298 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 PCMAP Character Set 0 1 Character Sets NASC -1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets ANSI Character Set 0 NASC -2 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 300 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 MS-DOS Latin 1 Character Sets NASC 850 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets MS-DOS Greek 1 NASC 851 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 302 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 MS-DOS Latin 2 Character Sets NASC 852 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets MS-DOS Cyrillic NASC 855 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 304 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 MS-DOS Turkish Character Sets NASC 857 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets Windows Latin 2 NASC 1250 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 306 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Windows Cyrillic Character Sets NASC 1251 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets Windows Latin 1 NASC 1252 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 308 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Windows Greek Character Sets NASC 1253 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Character Sets Windows Latin 5 NASC 1254 0 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 310 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 4 Windows Baltic Rim 0 Character Sets NASC 1257 1 2 3 4 5 6 7 8 9 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 5 5. Bar Codes Introduction The printer contains a number of bar code generators, which can produce highly readable bar codes in four different directions. However, a general rule which applies to all thermal printers is that it is more difficult to print a bar code with the bars across the media path (ladder style) than along the media path (picket fence style.
Chapter 5 Standard Bar Codes Bar Codes Codabar Code 11 Code 16K Code 39 Code 39 full ASCII Code 39 w. checksum Code 49 Code 93 Code 128 Datamatrix (dynamic module only) DUN-14/16 EAN-8 EAN-13 EAN-128 Five-Character Supplemental Code Industrial 2 of 5 Industrial 2 of 5 w. checksum Interleaved 2 of 5 Interleaved 2 of 5 w.
Chapter 5 EAN-8 Bar Codes BARTYPE: BARRATIO: BARMAG: BARHEIGHT: BARFONT: INPUT DATA: No. of characters: Check digit: Digits: Uppercase letters: Lowercase letters: Punctuation marks: Start characters: Stop characters: EAN-13 BARTYPE: BARRATIO: BARMAG: BARHEIGHT: BARFONT: INPUT DATA: No. of characters: Check digit: Digits: Uppercase letters: Lowercase letters: Punctuation marks: Start characters: Stop characters: 314 "EAN8" Fixed ratio. BARRATIO statement ignored. Max. 8 No restriction.
Chapter 5 UPC-E BARTYPE: BARRATIO: BARMAG: BARHEIGHT: BARFONT: INPUT DATA: No. of characters: Check digit: Digits: Uppercase letters: Lowercase letters: Punctuation marks: Start characters: Stop characters: UPC-A BARTYPE: BARRATIO: BARMAG: BARHEIGHT: BARFONT: INPUT DATA: No. of characters: Check digit: Digits: Uppercase letters: Lowercase letters: Punctuation marks: Start characters: Stop characters: Bar Codes "UPCE" Fixed ratio. BARRATIO statement ignored. Max. 8 No restriction.
Chapter 5 Bar Codes Interleaved 2 of 5 BARTYPE: BARRATIO: BARMAG: BARHEIGHT: BARFONT: "INT2OF5" 2:1-3:1 No restriction. No restriction. No restriction. INPUT DATA: No. of characters: Check digit: Digits: Uppercase letters: Lowercase letters: Punctuation marks: Start characters: Stop characters: Unlimited No 0-9 No No No Added automatically. Added automatically. Note: A numeric code where input digits are encoded in pairs.
Chapter 5 Code 128 BARTYPE: BARRATIO: BARMAG: BARHEIGHT: BARFONT: INPUT DATA: No. of characters: Check digit: Input characters: Function characters: Start characters: Stop character: Bar Codes "CODE128" Fixed. BARRATIO statement ignored. ≥ 2. No restriction. No restriction. Unlimited 1 check digit added automatically. ASCII 0-127 decimal according to Roman 8 character set. FNC1: ASCII 128 decimal1 FNC2: ASCII 129 decimal1 FNC3: ASCII 130 decimal1 FNC4: ASCII 131 decimal1 Added automatically2.
Chapter 5 Bar Codes Setup Bar Codes The EasyCoder XP- and F-series printers can optionally be fitted with an EasySet bar code wand. By reading a special bar code containing encoded data for one or several setup parameters, the printer’s setup can easily be changed, even by a person without any knowledge of Intermec Fingerprint, the Direct Protocol, or their supporting software. This chapter explains how to create such setup bar codes.
Chapter 6 6.
Chapter 6 Fonts Bitmap Fonts Starting with Intermec Fingerprint v7.3, it is possible to use fonts in the “old” Intermec .ATF bitmap font format. This feature improves compatibility with custom-made programs originally created in Fingerprint v6.xx or earlier versions. Downloading an .ATF font (for example XX030RSN.ATF) to the printer produces three fonts in the memory; one without any extension (for example XX030RSN), one with the extension .1 (for example XX030RSN.1), and one with the extension .
Chapter 6 Printout Samples Fonts The printout samples below are in 10 point size, no slant, and 100% width. The quality of these samples does not exactly correspond to the printout quality from your printer, which is affected by printhead density, printing method, type of media and ribbon, and a number of other factors. Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 6 Fonts OCR-A BT Character Set 322 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 6 Fonts OCR-B 10 Pitch BT Character Set Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 6 Fonts Zapf Dingbats BT Character Set 324 Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed.
Chapter 7 7. Error Messages Interpretation Table Code 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 31 32 33 34 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 Message/Explanation No error Syntax error. Unbalanced parenthesis. Feature not implemented. Evaluation syntax error. Unrecognized token. Tokenized line too long. Evaluation stack overflow. Error in exectab. Undefined token. Non-executing token. Evaluation stack underflow. Type mismatch. Line not found.
Chapter 7 Code 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1081 1082 1083 1101 1102 1103 1104 1105 1106 1107 1108 Error Messages Message/Explanation File does not exist. Label pending. Out of transfer ribbon. Paper type is not selected. Printhead voltage too high. Character is missing in chosen font. Next label not found. File name too long. Too many files are open.
Chapter 8 8. EasyLAN 100i Setup Sections, Objects, and Values Setup sections are used in connection with EasyLAN 100i. There are three setup sections: "prt" is the legacy section as it was before the introduction of sections. It is the default section. "alerts" controls printer alerts in regard of individual enable/disable and delay conditions for repeated traps. "lan1" contains all the variables available in the print server. Setup objects are used in connection with EasyLAN 100i.
Chapter 8 EasyLAN 100i Setup Sections, Objects, and Values, cont.
Intermec Printer AB Idrottsvägen 10, P.O. Box 123 S-431 22 Mölndal, Sweden tel +46 31 869500 fax +46 31 869595 www.intermec.com Intermec Fingerprint v7.