Intermec PX4i Fingerprint Developer's Guide (old) - Page 23
About Functions, Function Examples - time out
View all Intermec PX4i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 23 highlights
Chapter 2 - Understanding Fingerprint Syntax Note: By default, if you enter a carriage return on the host, the printer echoes back a Carriage Return + Line Feed (ASCII 13 + 10 decimal). With the setup option "New Line", you can restrict the printer to only echo back either a Carriage Return (ASCII 13 decimal) or a Line Feed (ASCII 10 decimal). If you choose to enter the line numbers manually, start with number 10 and increment line numbers up by 10s (10, 20, 30, 40, etc.). That makes it easier to insert additional lines (for example 11,12,13...etc.), should the need arise. After typing the line number, use a space character to separate it from the keyword and statement that follows, as in this example: 100 FONT "Swiss 721 BT" Several Fingerprint commands may be issued on the same line, provided they are separated by colons (:) as in this example: 100 FONT "Swiss 721 BT":PRTXT "HELLO" Note: In Immediate Mode and in Direct Protocol, you can send a complete set of instructions as a single line as in this example: PP100,250:FT"Swiss 721 BT":PT"Text 1":PF ? It is not possible to alter a line after it has been transmitted to the printer. If you want to change such a line, you must send the whole line again using the same line number, or delete it using a DELETE statement. About Functions A function is a statement which returns a value. A function consists of a keyword combined with values, flags, and/or operators enclosed by parentheses. The next table lists function examples. Function Examples Keyword and Function CHR$(65) TIME$("F") ABS(20*5) IF(PRSTAT AND 1)... Description Return the readable character for ASCII code 65. Return the current time based on the currently specified format. Return the absolute value of 20*5. If the current position of the insertion point +1... A function can be entered inside a statement or on a line containing other instructions. They are often used in connection with conditional statements, as in this example: 320 IF (PRSTAT AND 1) THEN GOTO 1000 Blank spaces may be inserted to separate the function from other instructions and to separate the keyword from the rest of the statement. Intermec Fingerprint Developer's Guide 7