![[LWN Logo]](/images/lcorner.png) |
|
![[LWN.net]](/images/Included.png) |
Version LPRng-3.8.4 - Thu Dec 13 08:25:17 PST 2001
ARGH! ARGH! screwed up lpq -a by forgetting to
get the 'all' printer information. Doh!
(Spotted by and slapped his forehead by:
Patrick Powell <papowell@lprng.com>)
"Why do we need a TCP/IP port?" quoth the raven, I mean
Craig Small <csmall@eye-net.com.au>.
"I have a version that has this facility..." respondeth
Patrick ("Mr. Grumpy") Powell. "But I think you will not
be happy". I merged the two versions. Be Happy.
configure:
Added these options
--enable-unix_socket (default disabled)
--with-unix_socket_path=PATH (default /dev/lprng)
/etc/lpd.conf:
OPTION TYPE DEFAULT PURPOSE
unix_socket FLAG 1 enables/disables the UNIX socket
unix_socket_path STR /dev/lprng path to the pipe using this
Also: lpd_port = 0 will disable the TCP/IP port
lpd -p 0 - disables the TCP/IP port
or /etc/lpd.conf lpd_port=0
lpd -P /path - enables, unix socket specified by path
or /etc/lpd.conf unix_socket@
lpd -P off - disable unix socket
Permissions:
Connections to the UNIX socket will appear to come
from localhost, (127.0.0.1) port 0. You can use the
UNIXSOCKET to check for this condition, or explicitly for
localhost/port 0
ACCEPT/REJECT ... UNIXSOCKET
Also updated the INSTALL note.
checkpc: I was using 'To_daemon()' calls all through the
code. This was not needed and would cause a substantial
slowdown in operation. I now do exactly ONE call at the
start of operations.
updated the config.guess and config.sub to the latest version
provided by autoconf.
Incoming jobs now have a status entry. This is to support IPP
and status reporting for incoming jobs. The idea is that you
can start transferring a job and then, when the whole job is
transferred, the job will be done. To make this happen you
need to put an entry in the queue to act as a place holder and
reserve the job number for this action. When transfering an
IPP job, you can send it in chunks. This now allows the IPP
system to send the job header (request), set up the job status,
and then the job contents. Just to make life interesting...
Found some places where I was using 'sizeof(xxx)' instead of a
passed value for an error message buffer. Very short error
messages - 3 chars long... :-)
LPD now REALLY uses the lock files to prevent multiple
instances from running. This might/will/could break on
systems that NFS mount their lock directories.
Cleaned up the error message about bad print job formats.
Clearly there are some REALLY strange printing systems out there.
(reported by: Phil Moses <pmoses@physics.ucsd.edu>)
Checkpc -A XX -r now has nicer format:
t1: file 'hfA877', age 24.57 hours > 24.00 hours maximum
(Spotted by: (Craig Small) csmall@eye-net.com.au)
Added the following to the pass_env options:
LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
LC_IDENTIFICATION LC_ALL
This should help with LOCALE support.