Programming instructions

148
Intermec Fingerprint 6.13 – Programmer's Guide
6. Printer Setup,
cont'd.
15. PRINTER FUNCTION CONTROL, cont'd.
Continued!
Creating a Setup File
There are two ways of creating a setup file:
Create a setup file using Intermec Fingerprint instructions:
- OPEN a file for sequential OUTPUT. See chapter 8.3.
- Use a PRINT# statement to enter each parameters you want so
change. The input must follow the stipulated syntax exactly (see
the Intermec Fingerprint 6.13 Reference Manual, SETUP
statement).
- CLOSE the file.
Use the Toolbox Setup program to create the file.
Changing the Setup using a Setup File
Use a SETUP<filename> statement to change the printer's setup. If
the setup file is stored in another part of the printer's memory than
the current directory, the file name should contain a reference to the
device in question.
In the following example, we will first save the current setup under
a new file name and then make a setup file that changes the size of
the transmit buffer on "uart1:" just a little. Finally, we use the setup
file to change the printer's setup.
10 SETUP WRITE "SETUP1.SYS"
20 OPEN "SETUPTEST.SYS" FOR OUTPUT AS #1
30 PRINT#1,"SERVICE,MEMORY ALLOC,TRANS BUF UART1,310"
40 CLOSE #1
50 SETUP "SETUPTEST.SYS"
RUN
Changing the Setup using a Setup String
A single setup parameter can be changed without creating any file.
The SETUP statement should be followed by a string following
exactly the same syntax as the corresponding parameter in a Setup
file, but without any leading PRINT# statement.
The same change as in the example above would look this way when
using a setup string:
SETUP "SERVICE,MEMORY ALLOC,TRANS BUF UART1,310"