Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 239
Chapter 2 Program Instructions
SETUP WRITE
Field of Application
Statement for creating a fi le containing the printer’s current setup or for
returning it on a specifi 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 fi 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
printer’s current setup at a later moment. You can make a copy of the current
setup using SETUP WRITE<fi lename>, change the setup using a SETUP
<fi lename> statement, and, when so is required, return to the original setup by
issuing a new SETUP<fi lename> statement containing the name of the fi le
created by the SETUP WRITE<fi lename> statement.
It is strongly recommended to create the fi le in the printer’s temporary
memory ("tmp:"), for example SETUP WRITE "tmp:OLDSETUP". Once
it has been created in "tmp:", it can be copied to the printer’s permanent
memory "c:" so it will not be lost at power off.
Another application of SETUP WRITE is transmitting the printer’s
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 printer’s 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