
DT-6XXX IP-SPOOL Application User’s Manual – Build 12.0
04/13/06
Datatek Applications Inc.
17
8.9 V
ERSION
–
VER
|
VERSION
Syntax: ver | version
The
version
command is only visible when the application is
logged in
. The command has
no arguments. It displays the current software and database revisions of the application.
8.10 D
EFINING THE
S
HARED
P
RINTER
-
PRT
Syntax: prt [ dest=<IP-Addr> ] [ timeout=<#secs> ] [ retry=<#secs> ]
[ tcpport=<source TCP port > ] [ queue=<queue name > ]
[ class=<string > ] [ host=<string > ] [ user=<string > ]
[capture=<#secs> ] [errors=<#errors | off>]
The
prt
command is only visible when the application is
logged in
. The command is used
to define parameters associated with the shared printer.
The
dest
parameter defines the IP address of the printer in the format d.d.d.d where d = 0
to 255 decimal. There is no need to specify a TCP port number, since that is specified in
RFC 1179.
The
timeout
parameter allows the configuration of a hold period of the shared printer after
all buffered data has been sent, as discussed in sec. 7.2.
The
retry
parameter is the number of seconds to wait before attempting a new connection
to the shared printer when an attempt fails. The range for both
timeout
and
retry
is 15-255
seconds.
The
tcpport
parameter
is the originating TCP port to be used for the connection to the
shared printer. RFC 1179 requires the TCP port to be between 721 and 731, inclusive.
However, many printers do not require this. If the port is defined as zero (the default value)
the next available port will be used.
The
queue
parameter is the name of the printer. The value
<queue name>
is a single
word with a maximum of 32 characters.
The
class
,
host
and
user
strings correspond to the ‘C’, ‘H’ and ‘P’ commands used in the
control file as defined in RFC 1179. This allows customization the fields that will be used