Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 3
...xii 1 Introduction to Fingerprint 1 What Is Fingerprint 2 Learning the Structure of Fingerprint Commands 2 Fingerprint Operating Modes 3 Sending Fingerprint Commands to the Printer 3 2 Understanding Fingerprint Syntax 5 Learning Fingerprint Syntax 6 About Keywords, Statements, and Lines 6 About Functions 7 About Constants, Variables, and ... 12 About Programming Mode 13 Using Line Numbers 13 Programming Without Line Numbers 14 Sending Programs to the Printer 14 Commands for Editing Code 15 Using Conditional Instructions 16 Using an IF...THEN...[ELSE] Instruction 16 Using...
...xii 1 Introduction to Fingerprint 1 What Is Fingerprint 2 Learning the Structure of Fingerprint Commands 2 Fingerprint Operating Modes 3 Sending Fingerprint Commands to the Printer 3 2 Understanding Fingerprint Syntax 5 Learning Fingerprint Syntax 6 About Keywords, Statements, and Lines 6 About Functions 7 About Constants, Variables, and ... 12 About Programming Mode 13 Using Line Numbers 13 Programming Without Line Numbers 14 Sending Programs to the Printer 14 Commands for Editing Code 15 Using Conditional Instructions 16 Using an IF...THEN...[ELSE] Instruction 16 Using...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 4
... Changes 29 Making Copies of Programs 29 Renaming a Program 29 Creating a Startup Program 29 3 Managing Files 31 Using Directories in the Printer File System 32 Using Path Shortcuts 32 About File Types 33 Commands for Listing Files 33 Listing a File With the FILELIST Program 33...35 Using the TRANSFER KERMIT Statement 35 Using the ZMODEM Protocol 35 Using a TRANSFER STATUS Statement 35 Commands for Transferring Files Between Printers 36 Checking Transferred Files With CHECKSUM 36 Commands for Working With Arrays 36 Specifying Array Dimensions Using DIM 37 Sorting Arrays 37 ...
... Changes 29 Making Copies of Programs 29 Renaming a Program 29 Creating a Startup Program 29 3 Managing Files 31 Using Directories in the Printer File System 32 Using Path Shortcuts 32 About File Types 33 Commands for Listing Files 33 Listing a File With the FILELIST Program 33...35 Using the TRANSFER KERMIT Statement 35 Using the ZMODEM Protocol 35 Using a TRANSFER STATUS Statement 35 Commands for Transferring Files Between Printers 36 Checking Transferred Files With CHECKSUM 36 Commands for Working With Arrays 36 Specifying Array Dimensions Using DIM 37 Sorting Arrays 37 ...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 5
... a Specific Field with GET 48 Closing a File 49 Finding the Last Field Read with LOC 49 Determining File Length with LOF 49 Input From the Printer Keypad 49 Controlling Communication 50 Using BUSY or READY Statements 50 Using an ON LINE | OFF LINE Statement 51 Controlling... Printer Response with VERBON | VERBOFF 51 Managing Background Communication 51 Background Communication Example 52 Retrieving Buffer Status With LOC or LOF 54 Setting Up RS-422 ...
... a Specific Field with GET 48 Closing a File 49 Finding the Last Field Read with LOC 49 Determining File Length with LOF 49 Input From the Printer Keypad 49 Controlling Communication 50 Using BUSY or READY Statements 50 Using an ON LINE | OFF LINE Statement 51 Controlling... Printer Response with VERBON | VERBOFF 51 Managing Background Communication 51 Background Communication Example 52 Retrieving Buffer Status With LOC or LOF 54 Setting Up RS-422 ...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 6
... a CLOSE Statement 62 Finding the Last Field Read and Determining File Length With LOC and LOF 62 Output to Communication Channels 62 Output to the Printer Display 63 5 Managing Fonts, Bar Codes, and Images 65 Managing Fonts 66 About Font Types 66 Selecting Fonts 66 Controlling Font Direction, Size, Slant, and...
... a CLOSE Statement 62 Finding the Last Field Read and Determining File Length With LOC and LOF 62 Output to Communication Channels 62 Output to the Printer Display 63 5 Managing Fonts, Bar Codes, and Images 65 Managing Fonts 66 About Font Types 66 Selecting Fonts 66 Controlling Font Direction, Size, Slant, and...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 7
... Handling Errors With ERRHAND.PRG 99 Renumbering Lines When Merging Files 99 Merging Programs 99 Using the Print Key 100 7 Controlling the Printer 101 Using Fingerprint to Control the Printer 102 Controlling Media Feed 102 Adjusting Media Feed Distance With TESTFEED 102 Feeding Media With FORMFEED 103 Overriding Start and Stop Adjust...
... Handling Errors With ERRHAND.PRG 99 Renumbering Lines When Merging Files 99 Merging Programs 99 Using the Print Key 100 7 Controlling the Printer 101 Using Fingerprint to Control the Printer 102 Controlling Media Feed 102 Adjusting Media Feed Distance With TESTFEED 102 Feeding Media With FORMFEED 103 Overriding Start and Stop Adjust...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 8
...#, INPUT$, or LINE INPUT 110 Remapping the Keypad With KEYBMAP 110 Using the Keypad in Immediate Mode 111 Using the Printer Display 112 Customizing the Printer Display 112 Controlling the LEDs and Beeper 112 Using an LED ON|OFF|BLINK Statement 112 Using a BEEP or SOUND ...116 Using the SYSVAR System Variable 116 Checking Hardware and Firmware Versions 118 Checking Immediate Mode and STDIO Status 118 Restarting the Printer 119 About Printer Memory 119 Permanent Memory 119 Temporary Memory 120 Other Memory Devices 120 Changing the Current Directory 121 Checking Free Memory 121 ...
...#, INPUT$, or LINE INPUT 110 Remapping the Keypad With KEYBMAP 110 Using the Keypad in Immediate Mode 111 Using the Printer Display 112 Customizing the Printer Display 112 Controlling the LEDs and Beeper 112 Using an LED ON|OFF|BLINK Statement 112 Using a BEEP or SOUND ...116 Using the SYSVAR System Variable 116 Checking Hardware and Firmware Versions 118 Checking Immediate Mode and STDIO Status 118 Restarting the Printer 119 About Printer Memory 119 Permanent Memory 119 Temporary Memory 120 Other Memory Devices 120 Changing the Current Directory 121 Checking Free Memory 121 ...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 12
...PC23d printer product page, click Printers > Desktop Printers > PC23d. 4 Click the Manuals tab. You should also be familiar with networking terms, such as PDF files) that you can download for developing applications in the Intermec Fingerprint programming language. To download documents 1 Visit the Intermec web site at www.intermec... Category, the Product Family, and Product to find your Intermec printer. xii Fingerprint Developer's Guide Document Title Fingerprint Command Reference Manual The Intermec web site at www.intermec.com. 2 Click the Products tab. 3 Using the ...
...PC23d printer product page, click Printers > Desktop Printers > PC23d. 4 Click the Manuals tab. You should also be familiar with networking terms, such as PDF files) that you can download for developing applications in the Intermec Fingerprint programming language. To download documents 1 Visit the Intermec web site at www.intermec... Category, the Product Family, and Product to find your Intermec printer. xii Fingerprint Developer's Guide Document Title Fingerprint Command Reference Manual The Intermec web site at www.intermec.com. 2 Click the Products tab. 3 Using the ...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 13
1 Introduction to Fingerprint This chapter introduces Intermec Fingerprint and includes these topics: • What Is Fingerprint? • Learning the Structure of Fingerprint Commands • Fingerprint Operating Modes • Sending Fingerprint Commands to the Printer 1
1 Introduction to Fingerprint This chapter introduces Intermec Fingerprint and includes these topics: • What Is Fingerprint? • Learning the Structure of Fingerprint Commands • Fingerprint Operating Modes • Sending Fingerprint Commands to the Printer 1
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 14
...a programming language you use to perform a variety of operations, such as setting up the printer, loading printer firmware, or loading media, see your printer. For information on your Intermec printer. Each command is entered as the print feed. For example, a simple Fingerprint program can ... that include conditional branching and subroutines. This guide includes information on printer-specific features, such as downloading data from a host PC. Learning the Structure of Intermec Fingerprint and is at www.intermec.com. 2 Click Support > Downloads. 3 Use the Product Category...
...a programming language you use to perform a variety of operations, such as setting up the printer, loading printer firmware, or loading media, see your printer. For information on your Intermec printer. Each command is entered as the print feed. For example, a simple Fingerprint program can ... that include conditional branching and subroutines. This guide includes information on printer-specific features, such as downloading data from a host PC. Learning the Structure of Intermec Fingerprint and is at www.intermec.com. 2 Click Support > Downloads. 3 Use the Product Category...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 15
...program. To send Fingerprint commands to your printer, see your printer using a serial connection, you are processed when the printer receives a carriage return. In this mode, you want to test the effects of methods to send commands to an Intermec printer using a serial port and a terminal ...emulation program. Use Immediate Mode when you can edit, copy, load, list, or merge programs with a screen and keyboard. • a serial connection to your printer user's manual. For a complete ...
...program. To send Fingerprint commands to your printer, see your printer using a serial connection, you are processed when the printer receives a carriage return. In this mode, you want to test the effects of methods to send commands to an Intermec printer using a serial port and a terminal ...emulation program. Use Immediate Mode when you can edit, copy, load, list, or merge programs with a screen and keyboard. • a serial connection to your printer user's manual. For a complete ...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 16
The printer returns its current setup parameters. If you have changed the communication settings on your printer, use those settings instead. 5 In the communications program, type: SETUP WRITE "uart1:" 6 Press Enter. Introduction to Fingerprint Stop bits Flow control 1 None These serial connection parameters are the default for Fingerprint printers. SETUP WRITE Command Results 4 Fingerprint Developer's Guide Chapter 1 -
The printer returns its current setup parameters. If you have changed the communication settings on your printer, use those settings instead. 5 In the communications program, type: SETUP WRITE "uart1:" 6 Press Enter. Introduction to Fingerprint Stop bits Flow control 1 None These serial connection parameters are the default for Fingerprint printers. SETUP WRITE Command Results 4 Fingerprint Developer's Guide Chapter 1 -
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 17
2 Understanding Fingerprint Syntax This chapter explains the basics of Fingerprint command syntax and includes these sections: • Learning Fingerprint Syntax • About Devices • About Immediate Mode • About Programming Mode • Sending Programs to the Printer • Commands for Editing Code • Using Conditional Instructions • About Branching • About Loops • Structuring Your Program • Executing the Program • Breaking Program Execution • Breaking Program Execution 5
2 Understanding Fingerprint Syntax This chapter explains the basics of Fingerprint command syntax and includes these sections: • Learning Fingerprint Syntax • About Devices • About Immediate Mode • About Programming Mode • Sending Programs to the Printer • Commands for Editing Code • Using Conditional Instructions • About Branching • About Loops • Structuring Your Program • Executing the Program • Breaking Program Execution • Breaking Program Execution 5
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 18
... (for example, PT instead of a keyword, usually followed by a carriage return character (ASCII 13 decimal). Keywords indicate an action, a printer setting to a specified line. In some cases, a space character is a required part of the keyword, as YYMMDD). Some keywords can... A Fingerprint command begins with a keyword. COPY Copies a file. STORE IMAGE Sets up to 32,767 characters and must branch to the printer OUT channel. FILES "tmp:", A Indicates that the following data ("HELLO") is an instruction which further define the statement. Chapter 2 - FORMAT...
... (for example, PT instead of a keyword, usually followed by a carriage return character (ASCII 13 decimal). Keywords indicate an action, a printer setting to a specified line. In some cases, a space character is a required part of the keyword, as YYMMDD). Some keywords can... A Fingerprint command begins with a keyword. COPY Copies a file. STORE IMAGE Sets up to 32,767 characters and must branch to the printer OUT channel. FILES "tmp:", A Indicates that the following data ("HELLO") is an instruction which further define the statement. Chapter 2 - FORMAT...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 19
... Return the current time based on a line containing other instructions on the same line, or to the printer. You can send a complete set of instructions on the host, the printer echoes back a Carriage Return + Line Feed (ASCII 13 + 10 decimal). Fingerprint Developer's Guide 7 ...separate a function from other instructions. The next table lists function examples. Understanding Fingerprint Syntax Note: By default, if you can restrict the printer to replace the existing line, or delete the line using a DELETE statement. About Functions A function is a statement which returns a value...
... Return the current time based on a line containing other instructions on the same line, or to the printer. You can send a complete set of instructions on the host, the printer echoes back a Carriage Return + Line Feed (ASCII 13 + 10 decimal). Fingerprint Developer's Guide 7 ...separate a function from other instructions. The next table lists function examples. Understanding Fingerprint Syntax Note: By default, if you can restrict the printer to replace the existing line, or delete the line using a DELETE statement. About Functions A function is a statement which returns a value...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 23
... with OPEN statements. You may need to specify a device in relation to see the list of devices your printer supports. Can Be OPENed For Input (files only) Input/Output/Random Input/Output/Append/ Random (files only)...F About Devices "Device" is a generic term for example, "/c"). Communication Devices Name console: uart1: uart2: uart3: centronics: net1: usb1: finisher: Refers To Printer display and/or keyboard Serial communication port Serial communication port (optional) Serial communication port (optional) Parallel communication EasyLAN communication (optional) USB communication port...
... with OPEN statements. You may need to specify a device in relation to see the list of devices your printer supports. Can Be OPENed For Input (files only) Input/Output/Random Input/Output/Append/ Random (files only)...F About Devices "Device" is a generic term for example, "/c"). Communication Devices Name console: uart1: uart2: uart3: centronics: net1: usb1: finisher: Refers To Printer display and/or keyboard Serial communication port Serial communication port (optional) Serial communication port (optional) Parallel communication EasyLAN communication (optional) USB communication port...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 24
... types of names: 0 = "console:" 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" 5 = "net1:" 6 = "usb1:" About Immediate Mode In Immediate mode, Fingerprint commands are specified by numbers instead of label printers. • Send commands that can be used to: • Send commands to print label formats. Immediate mode is received. Any command line that is treated...
... types of names: 0 = "console:" 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" 5 = "net1:" 6 = "usb1:" About Immediate Mode In Immediate mode, Fingerprint commands are specified by numbers instead of label printers. • Send commands that can be used to: • Send commands to print label formats. Immediate mode is received. Any command line that is treated...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 25
...Managing Program Files" on a line, followed by a carriage return. The program is switched on , the printer returns either manually entered as you do not use Intermec Direct Protocol, since it allows variable input data to be saved in consecutive ascending order according to the host....inserts a space character when the program is entered on page 34. This orders the printer to make the program easier to read, you write program lines. For more information, see the Intermec Direct Protocol Programmer's Reference Manual. If you wish. Provided there is a working two...
...Managing Program Files" on a line, followed by a carriage return. The program is switched on , the printer returns either manually entered as you do not use Intermec Direct Protocol, since it allows variable input data to be saved in consecutive ascending order according to the host....inserts a space character when the program is entered on page 34. This orders the printer to make the program easier to read, you write program lines. For more information, see the Intermec Direct Protocol Programmer's Reference Manual. If you wish. Provided there is a working two...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 26
...characters, you can write the program line by line without line numbers may be numbered 10-20-30-40-50, and so on , the printer returns either "Ok" or an error message. Programming Without Line Numbers To write program lines without the colon). Note: If verbosity is checked.... All lines must not start of writing and transmitting a program to a line marked with any keywords reserved by line numbers. To branch to the printer: • One line at the start with a digit or interfere with a line label, just enter the line label (without manually entering line numbers...
...characters, you can write the program line by line without line numbers may be numbered 10-20-30-40-50, and so on , the printer returns either "Ok" or an error message. Programming Without Line Numbers To write program lines without the colon). Note: If verbosity is checked.... All lines must not start of writing and transmitting a program to a line marked with any keywords reserved by line numbers. To branch to the printer: • One line at the start with a digit or interfere with a line label, just enter the line label (without manually entering line numbers...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 27
...Chapter 2 - Understanding Fingerprint Syntax • Copying and pasting lines from the subroutines. For more information, see "Sending Programs to the Printer" on the Immediate mode again using the communications program. REM statements can write the program in the working memory, CLOSE all files, ... breakpoints. Commands for Editing Code This section describes Fingerprint commands you use a SAVE statement before using a RUN statement to the printer using an IMMEDIATE ON statement before you enter the first program line, always issue a NEW statement in the text editor and ...
...Chapter 2 - Understanding Fingerprint Syntax • Copying and pasting lines from the subroutines. For more information, see "Sending Programs to the Printer" on the Immediate mode again using the communications program. REM statements can write the program in the working memory, CLOSE all files, ... breakpoints. Commands for Editing Code This section describes Fingerprint commands you use a SAVE statement before using a RUN statement to the printer using an IMMEDIATE ON statement before you enter the first program line, always issue a NEW statement in the text editor and ...
Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM43c)
Page 31
... 2000 COMSET 1 ON IF A$ "STOP" THEN GOTO 40 COMSET 1 OFF END END A$= COMBUF$(1) PRINT A$ COMSET 1 ON RETURN Fingerprint Developer's Guide 19 You can make the printer emit a sound or display a message before the program is shown in this example: 10 20 30 1000 2000 3000 RUN INPUT "Press key 1, 2, or 3 on... "You have pressed key 2": GOTO 30 PRINT "You have pressed key 3": GOTO 30 Using an ON BREAK...GOSUB Instruction When a BREAK condition occurs on the printer keyboard are specified by a long shrill signal. 10 20 30 40 50 60 70 1000 1010 1020 1030 1040 RUN BREAK 1,35 BREAK 1 ON ON...
... 2000 COMSET 1 ON IF A$ "STOP" THEN GOTO 40 COMSET 1 OFF END END A$= COMBUF$(1) PRINT A$ COMSET 1 ON RETURN Fingerprint Developer's Guide 19 You can make the printer emit a sound or display a message before the program is shown in this example: 10 20 30 1000 2000 3000 RUN INPUT "Press key 1, 2, or 3 on... "You have pressed key 2": GOTO 30 PRINT "You have pressed key 3": GOTO 30 Using an ON BREAK...GOSUB Instruction When a BREAK condition occurs on the printer keyboard are specified by a long shrill signal. 10 20 30 40 50 60 70 1000 1010 1020 1030 1040 RUN BREAK 1,35 BREAK 1 ON ON...