Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 239
Chapter 2 Program Instructions
SETUP WRITE
Field of Application
Statement for creating a le containing the printers current setup or for
returning it on a speci ed communication channel.
Syntax SETUP WRITE[<sexp
1
>] ,<sexp
2
>
<sexp
1
> is an optional parameter specifying the setup section.
<sexp
2
> is the name of a le or device to which the printer's current
setup is to be written.
Remarks
The SETUP WRITE statement is useful when you want to return to the
printers current setup at a later moment. You can make a copy of the current
setup using SETUP WRITE< lename>, change the setup using a SETUP
< lename> statement, and, when so is required, return to the original setup by
issuing a new SETUP< lename> statement containing the name of the le
created by the SETUP WRITE< lename> statement.
It is strongly recommended to create the le in the printers temporary
memory ("tmp:"), for example SETUP WRITE "tmp:OLDSETUP". Once
it has been created in "tmp:", it can be copied to the printers permanent
memory "c:" so it will not be lost at power off.
Another application of SETUP WRITE is transmitting the printers
current setup on a serial communication channel, for example SETUP
WRITE "uart1:".
Setup sections are used in connection with EasyLAN 100i. Refer to Chapter
8, EasyLAN 100i Setup for a list of setup sections.
SETUP WRITE returns the printers setup in the following order (the example
shows default values for a standard EasyCoder 501 XP printer):
SETUP WRITE "uart1:"
yields:
SER-COM,UART1,BAUDRATE,9600
SER-COM,UART1,CHAR LENGTH,8
SER-COM,UART1,PARITY,NONE
SER-COM,UART1,STOPBITS,1
SER-COM,UART1,FLOWCONTROL,RTS/CTS,DISABLE
SER-COM,UART1,FLOWCONTROL,ENQ/ACK,DISABLE
SER-COM,UART1,FLOWCONTROL,XON/XOFF,DATA FROM HOST,DISABLE
SER-COM,UART1,FLOWCONTROL,XON/XOFF,DATA TO HOST,DISABLE
SER-COM,UART1,NEW LINE,CR/LF
SER-COM,UART1,REC BUF,300
SER-COM,UART1,TRANS BUF,300
FEEDADJ,STARTADJ,0
FEEDADJ,STOPADJ,0
MEDIA,MEDIA SIZE,XSTART,36
MEDIA,MEDIA SIZE,WIDTH,1244
MEDIA,MEDIA SIZE,LENGTH,1800
MEDIA,MEDIA TYPE,LABEL (w GAPS)
MEDIA,PAPER TYPE,TRANSFER
MEDIA,PAPER TYPE,DIRECT THERMAL,LABEL CONSTANT,70
MEDIA,PAPER TYPE,DIRECT THERMAL,LABEL FACTOR,30