Intermec PM23c Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 18
Learning Fingerprint Syntax, About Keywords, Statements, and Lines
View all Intermec PM23c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 18 highlights
Chapter 2 - Understanding Fingerprint Syntax Learning Fingerprint Syntax Fingerprint syntax consists of a variety of keywords, parameters, and operators. For specific command syntax, see the Fingerprint Command Reference Manual. About Keywords, Statements, and Lines A Fingerprint command begins with a keyword. Keywords indicate an action, a printer setting to change, or other related information. Keyword Examples Keyword Description BARSET Specifies a bar code. COPY Copies a file. FORMAT DATE$ Specifies the format to be used for dates (such as YYMMDD). GOTO Branches unconditionally to a specified line. STORE IMAGE Sets up parameters for storing an image in printer memory. In some cases, a space character is a required part of the keyword, as in LINEINPUT, where indicates a required space character. Some keywords can be used in an abbreviated form (for example, PT instead of PRTXT). For more information, see the Fingerprint Command Reference Manual. A statement is an instruction which specifies an operation. It consists of a keyword, usually followed by one or several parameters, flags, or input data, which further define the statement. The next table lists examples of statements. Statement Examples Keyword and Statement Description PRTXT "HELLO" Keyword PRTXT indicates that the following data ("HELLO") is to be placed in a text field. ON BREAK 1 GOSUB 1000 ON BREAK 1 GOSUB indicates that on the first break interrupt instruction, the program must branch to a subroutine at line 1000. FILES "tmp:", A Indicates that all files (A) in the "tmp:" directory should be listed to the printer OUT channel. A line in a Fingerprint program may contain up to 32,767 characters and must always be terminated by a carriage return character (ASCII 13 decimal). In Programming mode, lines are always numbered, although if you allow Fingerprint to number the lines automatically, the numbers are not visible until the program is listed. In Immediate mode or Direct Protocol, numbering is not required. 6 Fingerprint Developer's Guide