LPRng 3.8.2 has been put up on the LPRng Website.
This version has some minor corrections and a MAJOR change in the
lpq status display.
Version LPRng-3.8.2 - Mon Dec 3 12:26:52 PST 2001
MAJOR CONFIGURATION CHANGE:
LPRng can retain status of last N completed jobs
configure --with-done_jobs=N
- set done_jobs value, default 1
configure --with-done_jobs_max_age =N
- set done_jobs_max_age value, default = 0 (no expiry)
Or in the printcap/lpd.conf:
:done_jobs=1
:done_jobs_max_age=1
Example:
Printer: t1@h110 'Test Printer 1'
Queue: no printable jobs in queue
Server: no server active
Status: job 'cfA231h110.private' removed at 18:25:36.281
Rank Owner/ID Class Job Files Size Time
done papowell A 278 /tmp/hi 3 18:25:31
Controlled by:
:save_on_error - all jobs with error saved, status not removed
:save_when_done - all jobs with no error saved, status not removed
:done_jobs=N - last N jobs completed (error or no error) saved
:done_jobs_max_age=N - jobs with status older than N seconds removed
This is best explained by:
On job completion:
if( (no error && save_when_done)
|| (error && save_on_error)
|| done_jobs > 0 || done_jobs_max_age > 0 ){
do not remove job
}
When queue updated:
if( !(save_on_error || save_when_done) ){
while( done_jobs_max_age >= 0
&& the time since completion of oldest done job > done_jobs_max_age ){
remove the oldest done job
}
while( done_jobs >= 0 && total number of done jobs > done_jobs ){
remove the oldest done job
}
}
Fixed up the order of 'require_explicit_q' in the variable list.
Added 'lpd -p port' so that lpd port can be specified at run time.
(Suggested by: Chris J. Herbst <[EMAIL PROTECTED]>)
Added 'PrintingCookbook' to the distribution.
The 'shorthost' DNS lookup result was not being set correctly
if DNS lookup failed and you had to drop back to using IP address.
Clearly the shorthost form of IP10.0.0.1 is IP10.0.0.1, not
IP10.
Added patches to help support Win32 porting using Cygwin:
UID 0 is now ROOTUID instead of 0 value.
ROOTUID is set by ifdef in portable.h
checkpc -f no longer puts out the annoying '/var/run/lpd.515
does not exist' message.
List_sep (which is only used in Check_for_rg_group) needs
a comma.
(Discovered by: Graeme Wood <[EMAIL PROTECTED]>)
Reworked the 'start lpd subprocess' code so that it is a little more
civilized.
Modified portable.h so that LPRng compiles properly on HPUX 11.xx
systems.
lpc help fixed up - 'redo - reprints jobs'
Cleaned up the 'Make_sort_key' code so it does not do needless
malloc.
LPRng:
total 13945
-rw-r--r-- 1 papowell papowell 5592645 Dec 5 04:50 LPRng-3.8.2.tgz
MD5 (LPRng-3.8.2.tgz) = 0abcb2c55cafe763ae3dbb29194a46d4
LPRngTool:
total 1049
-rw-r--r-- 1 papowell papowell 396822 Dec 5 04:51 LPRngTool-1.2.8.tgz
MD5 (LPRngTool-1.2.8.tgz) = dfe19f047d28403a94d087d6b493bc10
ifhp:
total 1881
-rw-r--r-- 1 papowell papowell 716321 Dec 5 04:51 ifhp-3.4.9.tgz
MD5 (ifhp-3.4.9.tgz) = aa3c4a0c59c1eefd78b7de8d3432dbf5
Patrick Powell Astart Technologies,
[EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 858-874-6543 FAX 858-279-8424
LPRng - Print Spooler (http://www.lprng.com)
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------