
PROBLEM:  (QAR 52528)            (Patch ID: OSF425-123)
********
This patch fixes a problem where the lpq command causes the program to crash
(Memory fault). The problem is caused by lpq running until a print queue
buffer in memory is overwritten. The following is an example of a core dump:

Fri Jun 20 14:55:30 1997:
Rank   Pri Owner      Job  Files                                 Total Size
1st    0   root       1    err3                                 28 bytes
2nd    0   root       2    file                                 195 bytes
3rd    0   root       3    file                                 195 bytes
4th    0   root       4    file                                 195 bytes
5th    0   root       5    file                                 195 bytes
6th    0   root       6    file                                 195 bytes
7th    0   root       8    file                                 195 bytes

Memory fault - core dumped

PROBLEM:  (QAR 53283,57243)      (Patch ID: OSF425-405157)
********
This patch fixes a problem with the lpd line printer daemon.  When
"/sbin/init.d/lpd stop" is followed right away by "/sbin/init.d/lpd start",
then the new lpd fails to start.  The error message from syslog is:

   /usr/spool/lpd.lock: locking failed: Operation would block

PROBLEM:  (QAR 23692, QAR 47716, QAR 51196, HPAQ1142J, QAR 51504, QAR 51757,
	   MGO102627, QAR 51837, HPAQ20FLV, QAR 51865, UVO105149, QAR 51866,
	   HPAQB119U, QAR 51987, QAR 52054, QAR 52377, MGO102769, QAR 52416,
	   EVT102133, QAR 52499, QAR 52502, QAR 52504, QAR 52505, QAR 52604,
	   QAR 52657, STLQ11212, QAR 53197, HPAQ500SR, QAR 53976, MGO102870,
	   QAR 54415, QAR 54961, QAR 55409, UTO101507, QAR 55515, QAR 55691,
	   QAR 57136, UVO105567, QAR 57374, QAR 57384, HPAQC0CM7, QAR 60179,
	   DMO100329)    (Patch ID: OSF425-405295 )
********
This patch includes no new print system features, but improves the overall 
print system as follows:

	o  Prevents race conditions that caused problems starting and
	   exiting the line print daemon.

	o  Fixes problems that caused print queues to hang.

	o  Efficiency is improved.  lpq can reliably determine when lpd
	   is not running, preventing the initialization of too many
	   instances of lpd when many lpr commands are issued
	   simultaneously.  This information is used by Pathworks/ASDU.

	o  Logging is improved.  All errors or unusual events are logged
	   as lpr.info or greater severity.  Messages for infinite network
	   tries will no longer increase the size of lpr.log.  All lpr.log
	   messages are tagged with the severity, to distinguish errors
	   clearly to the Administrator and to technical support.

	o  Loss of protocol messages is fixed due to improved reliability
	   of network I/O.

PROBLEM:  (QAR 52528)            (Patch ID: OSF425-123)
********
This patch fixes a problem where the lpq command causes the program to crash
(Memory fault). The problem is caused by lpq running until a print queue
buffer in memory is overwritten. The following is an example of a core dump:

Fri Jun 20 14:55:30 1997:
Rank   Pri Owner      Job  Files                                 Total Size
1st    0   root       1    err3                                 28 bytes
2nd    0   root       2    file                                 195 bytes
3rd    0   root       3    file                                 195 bytes
4th    0   root       4    file                                 195 bytes
5th    0   root       5    file                                 195 bytes
6th    0   root       6    file                                 195 bytes
7th    0   root       8    file                                 195 bytes

Memory fault - core dumped

PROBLEM:  (QAR 53283,57243)      (Patch ID: OSF425-405157)
********
This patch fixes a problem with the lpd line printer daemon.  When
"/sbin/init.d/lpd stop" is followed right away by "/sbin/init.d/lpd start",
then the new lpd fails to start.  The error message from syslog is:

   /usr/spool/lpd.lock: locking failed: Operation would block

PROBLEM:  (QAR 23692, QAR 47716, QAR 51196, HPAQ1142J, QAR 51504, QAR 51757,
	   MGO102627, QAR 51837, HPAQ20FLV, QAR 51865, UVO105149, QAR 51866,
	   HPAQB119U, QAR 51987, QAR 52054, QAR 52377, MGO102769, QAR 52416,
	   EVT102133, QAR 52499, QAR 52502, QAR 52504, QAR 52505, QAR 52604,
	   QAR 52657, STLQ11212, QAR 53197, HPAQ500SR, QAR 53976, MGO102870,
	   QAR 54415, QAR 54961, QAR 55409, UTO101507, QAR 55515, QAR 55691,
	   QAR 57136, UVO105567, QAR 57374, QAR 57384, HPAQC0CM7, QAR 60179,
	   DMO100329)    (Patch ID: OSF425-405295 )
********
This patch includes no new print system features, but improves the overall 
print system as follows. See the Release Notes for updated lpr(1) reference
page information.

	o  Prevents race conditions that caused problems starting and
	   exiting the line print daemon.

	o  Fixes problems that caused print queues to hang.

	o  Efficiency is improved.  lpq can reliably determine when lpd
	   is not running, preventing the initialization of too many
	   instances of lpd when many lpr commands are issued
	   simultaneously.  This information is used by Pathworks/ASDU.

	o  Logging is improved.  All errors or unusual events are logged
	   as lpr.info or greater severity.  Messages for infinite network
	   tries will no longer increase the size of lpr.log.  All lpr.log
	   messages are tagged with the severity, to distinguish errors
	   clearly to the Administrator and to technical support.

	o  Loss of protocol messages is fixed due to improved reliability
	   of network I/O.

PROBLEM:                                            (Patch ID: OSF425-438)
********
This patch provides support to the BSD lpd(8) print system for Digital UNIX
Advanced Printing System (APX).  This patch allows lpr(1) print jobs to
be submitted to the Advanced Print System (APX).

PROBLEM:  (QAR 68499)    (Patch ID: OSF425-589, OSF425-698)
********

This patch fixes a problem where under certain circumstances, a print queue
becomes disabled and printing stops. For example, when a queue has just been
created and the first job is submitted from a remote system, the queue's lock
file is created. The protections on the lock file are incorrectly set such
that the queue becomes disabled. This fix eliminates the erroneous protection-
setting on the queue's lock file.

PROBLEM:  ()    (Patch ID: OSF425-711)
********
These changes are the OS modifications to provide support for the Euro
currency symbol using the UTF-8 Unicode locales.  The changes add printer 
filter support.

PROBLEM: (CLD BCSMB02JR, CLD BCGM324NQ, CLD HPAQ519K5) (Patch ID: OSF425-811)
********

This patch fixes the following three problems:

1. When printing jobs, a timeout can occur after five minutes, which causes
some large print jobs to stop, then resume printing from the beginning of
the print job. This has been corrected by setting the timeout to read an
ACK from the remote lpd daemon to 3 days.

2. When slave lpd daemons try to process jobs on the print queue, some
of them can fail to obtain a lock on the lock file, and exit with an
error. This has been corrected by increasing, from 10 seconds to 120 seconds,
the time limit of lpd to wait for the current daemon to either give up
the lock on the queue or print the queued jobs.

3. A problem where some print jobs will print out twice. This has been
corrected by eliminating timeouts from the sendfile() procedure.

PROBLEM: (HPAQ80R71, BCSM518MX, BCSM31NJD, 48482)  (Patch ID: OSF425-821)
********

This patch fixes the following four problems:

1. A remote print job may fail to print, with the error message:

	lstat/open failed for dfA... no such file or directory. 

2. If a remote print job is printing, and the connection to the printer
is lost, the print job does not resume printing once the connection is
restored.

3. Sometimes, when sequence numbers wrap around from 999 to 000, job 000
is submitted before, and prints before, job 999.

4. lpstat -u output is incorrect.

PROBLEM:  (77238, 76104, 73772) (PATCH ID: OSF425-894)
********

This patch fixes the following printing problems:

   - When using the I18N "ya" option, the queue daemon filters will
     terminate after 32 jobs.

   - Under certain circumstances, printjobs are terminated when
     printing to certain printers that are connected to a DECserver
     through TCP/IP.

PROBLEM:  (48482) (PATCH ID: OSF425-903)
********

This patch fixes a problem with the "lpstat -u" command output.

PROBLEM:  (80620) (PATCH ID: OSF425-984)
********


This patch fixes a printing problem where lpd reads any data
from the printer that has not been read, for local and remote
connections. The read-backs for remote connections cause an addtional
2 second timeout which may cause a job-submit failure on the
job-number wraparound.

This patch fixes the problem by performing the read-backs
for local connections only.
PROBLEM: (76329, 76559) (PATCH ID: OSF425-1021)
********
This patch corrects a problem in which, under certain conditions,
unnecessary error messages are written to the lpr.log file.


PROBLEM: (78515, 80638, 80639, 80877) (PATCH ID: OSF425-998)
********
This patch fixes the following four printing problems:
- A user is unable to delete a print job from
a remote system with a hostname greater than 32 characters
because the hostname was truncated.

- When a TCP/IP connection fails, the retry
algorithm would take longer to print jobs due 
to a long retry interval.

- A timing hole during lpd last-job completion
and shutdown needed to be closed.

- It was not possible to print to the lpd queue
using Windows 2000.


PROBLEM: (82203, 81354, 85602) (PATCH ID: OSF425-1043)
********
This fix introduces the "JJ" /etc/printcap parameter, which allows the user
to choose either one tcp/ip connection for all jobs in the print queue (JJ=1),
or a tcp/ip connection for each job in the print queue (JJ=0). It also closes
a timing hole that existed when lpd was shutting down.
This patch also fixes a problem in which lpd hangs when printing to
advanced server queues (using /dev/null).



