This patch corrects the following: - Fixes a problem where the lpq command causes the program to crash (Memory fault). - 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", the new lpd fails to start. The error message from syslog is: /usr/spool/lpd.lock: locking failed: Operation would block - Fixes to improve the reliability and efficiency of Digital UNIX print services. - Fixes a problem where the lpq command causes the program to crash (Memory fault). - 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", the new lpd fails to start. The error message from syslog is: /usr/spool/lpd.lock: locking failed: Operation would block - Fixes to improve the reliability and efficiency of Digital UNIX print services. - Provides support to the BSD lpd(8) print system for Digital UNIX Advanced Printing System (APX). - Fixes a problem where under certain circumstances, a print queue becomes disabled and printing stops. - Provides printer support for the Euro currency symbol provided in the UTF-8 Unicode locales. - Fixes the following three problems: 1. When printing jobs, a timeout can occur after 5 minutes which causes some large print jobs to stop, then resume printing from the beginning of the print job. 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. 3. A problem where some print jobs will print out twice. - 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 print job is printing, and the connection to the remote printer is lost, the print job does not resume printing once the connection is restored. 3. Sometimes, as sequence numbers wrap around from 999 to 000, job 000 gets submitted before and prints before, job 999. 4. lpstat -u output is incorrect. - Fixes the following printing problems: o When using the I18N "ya" option, the queue daemon filters will terminate after 32 jobs. o Under certain circumstances, printjobs are terminated when printing to certain printers that are connected to a DECserver through TCP/IP. - Fixes a problem with the "lpstat -u" command output. - 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 corrects a problem in which, under certain conditions, unnecessary error messages are written to the lpr.log file. 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. 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).