Intermec PM23c Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 19
About Functions, Function Examples
View all Intermec PM23c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 19 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 type 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.) later. 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 "Univers" To send multiple Fingerprint commands on the same line, add a colon (:) between each command: 100 FONT "Univers":PRTXT "HELLO" Note: In Immediate Mode and in Direct Protocol, you can send a complete set of instructions on one line: PP100,250:FT"Univers":PT"Text 1":PF ? You cannot change a line after you send it to the printer. However, you can send a new line that uses the same line number to replace the existing line, or delete the line 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... You can insert a function 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 You can add spaces to separate a function from other instructions on the same line, or to separate a keyword from the rest of the statement. Fingerprint Developer's Guide 7