Configuration
Required setup
The following setup information is required by wxpqdic:
- Remote host
The computer running the printqd daemon.
Required, no default.
- Remote port
The UDP port number the printqd daemon reads requests from.
Optional, default: 9100.
- Local port
The local UDP port number used by wxpqdic.
Optional, default: 9100.
- Queue
The name of the LPRng print queue you want to use.
- User
User name to find information for.
Optional, default: user running the program.
- Interval
The refresh interval in seconds.
Optional, default: 30, minimum: 5.
- Encoding
The printqd host can use either UTF-8 or ASCII for 8 bit character
encoding.
Optional, default: UTF-8.
You can configure preferences or provide the information on the
command line.
Command line arguments
- -h host
- Remote host by name, IPv4 or IPv6 address.
- -p port
- Remote port number.
- -l port
- Local port number
- -q queue
- Print queue name.
- -u user
- User name.
- -i seconds
- Refresh interval
- -a
- Switch encoding on remote host from UTF-8 (default) to
ASCII.
Preferences
You can use a section
[application=wxpqdic]
printqd.host=host
printqd.port=port
printqd.local=port
printqd.queue=queue
printqd.interval=interval
printqd.encoding=encoding
in the ${sysconfdir}/dktools-site/dk4pref.conf file.
${sysconfdir} is typically ``/etc'' or ``/usr/local/etc'' on
Linux/Unix or ``C:\Program Files\Krause\etc'' on Windows
systems.