Patch Name: PHCO_4077 Patch Description: s700 9.X lp spooler patch This patch fixes the following problems: - Loss of request during lp/lpalt if sequence id had wrapped around - Disabling of printer during cancel, if printer was offline at time of cancel - Moving all requests from destination to another, causing the spooler to hang. - super user can't change the requests with lpalt command - data is lost at the end of a print job for "dumb" model file not printing of last line (in cooked mode) if it did not end with CR - various spooler hang situations - filter "divpage" truncates after 132 characters PCL1 model control over the FF output at the end of print jobs - lpsched doesn't check for error conditions with DDFA product. Path Name: /hp-ux_patches/s700/9.X/PHCO_4077 Effective Date: 940419 Repost: 94/06/13 The /system/PHCO_4077/customize script was modified so that the path to lpshut and lpsched (/usr/lib) was explicitly specified so the patch installation successfully shuts down the spooler prior to installing the patch files. The spooler is started after the patch is installed. Repost: 95/07/21 The patch was modified to allow installation on HP-UX 9.07. OS Release: 9.00 9.01 9.03 9.05 9.07 Reboot Required: No Patch Files: /usr/bin/lp /usr/bin/disable /usr/bin/enable /usr/bin/cancel /usr/bin/lpalt /usr/bin/lpstat /usr/lib/accept /usr/lib/divpage /usr/lib/lpadmin /usr/lib/lpana /usr/lib/lpfence /usr/lib/lpmove /usr/lib/lprpp /usr/lib/lpsched /usr/lib/lpshut /usr/lib/rcancel /usr/lib/reject /usr/lib/rlp /usr/lib/rlpdaemon /usr/lib/rlpstat /usr/lib/rwrite /usr/lib/nls/C/accept.cat /usr/lib/nls/C/cancel.cat /usr/lib/nls/C/disable.cat /usr/lib/nls/C/enable.cat /usr/lib/nls/C/lp.cat /usr/lib/nls/C/lpadmin.cat /usr/lib/nls/C/lpmove.cat /usr/lib/nls/C/lpsched.cat /usr/lib/nls/C/lpshut.cat /usr/lib/nls/C/lpstat.cat /usr/lib/nls/C/reject.cat /usr/spool/lp/model/thinkjet /usr/spool/lp/model/HPGL1 /usr/spool/lp/model/HPGL2 /usr/spool/lp/model/PCL1 /usr/spool/lp/model/PCL2 /usr/spool/lp/model/PCL3 /usr/spool/lp/model/PCL4 /usr/spool/lp/model/ruggedwriter /usr/spool/lp/model/colorpro /usr/spool/lp/model/deskjet /usr/spool/lp/model/draftpro /usr/spool/lp/model/dumb /usr/spool/lp/model/hp2225a /usr/spool/lp/model/hp2225d /usr/spool/lp/model/hp2227a /usr/spool/lp/model/hp2228a /usr/spool/lp/model/hp2235a /usr/spool/lp/model/hp2276a /usr/spool/lp/model/hp2300-1100L /usr/spool/lp/model/hp2300-840L /usr/spool/lp/model/hp2560 /usr/spool/lp/model/hp2563a /usr/spool/lp/model/hp2564b /usr/spool/lp/model/hp2565a /usr/spool/lp/model/hp2566b /usr/spool/lp/model/hp2567b /usr/spool/lp/model/hp2631g /usr/spool/lp/model/hp2932a /usr/spool/lp/model/hp2934a /usr/spool/lp/model/hp33447a /usr/spool/lp/model/hp3630a /usr/spool/lp/model/hp7440a /usr/spool/lp/model/hp7475a /usr/spool/lp/model/hp7550a /usr/spool/lp/model/hp7570a /usr/spool/lp/model/hp7595a /usr/spool/lp/model/hp7596a /usr/spool/lp/model/laserjet /usr/spool/lp/model/paintjet /usr/spool/lp/model/postscript /usr/spool/lp/model/quietjet /usr/spool/lp/model/rmodel /usr/spool/lp/model/clustermodel SR#: 1653040485 5003099036 5003091041 4701139386 5003041798 5003107128 "what" string/timestamp: ./usr/bin/lp: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o lp.o 94/04/19 ./usr/bin/disable: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o disable.o 94/04/19 ./usr/bin/enable: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o enable.o 94/04/19 ./usr/bin/cancel: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o cancel.o 94/04/19 ./usr/bin/lpalt: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o lpalt.o 94/04/19 ./usr/bin/lpstat: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o lpstat.o 94/04/19 ./usr/lib/accept: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o accept.o 94/04/19 ./usr/lib/divpage: PATCH_9_0: divpage.o 94/04/19 ./usr/lib/lpadmin: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o lpadmin.o 94/04/19 ./usr/lib/lpana: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o lpana.o 94/04/19 ./usr/lib/lpfence: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o lpfence.o 94/04/19 ./usr/lib/lpmove: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o lpmove.o 94/04/19 ./usr/lib/lprpp: $Revision: 72.1 $ PATCH_9_0: lprpp.o 94/04/19 ./usr/lib/lpsched: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o lpsched.o 94/04/19 ./usr/lib/lpshut: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o lpshut.o 94/04/19 ./usr/lib/rcancel: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o rcancel.o 94/04/19 ./usr/lib/reject: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o reject.o 94/04/19 ./usr/lib/rlp: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o rlp.o 94/04/19 ./usr/lib/rlpdaemon: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o rlpdaemon.o 94/04/19 ./usr/lib/rlpstat: $Revision: 72.8.1.16 $ PATCH_9_0: hpux_rel.o rlpstat.o 94/04/19 ./usr/lib/rwrite: PATCH_9_0: rwrite.o 94/04/19 ./usr/lib/nls/C/accept.cat: ./usr/lib/nls/C/cancel.cat: ./usr/lib/nls/C/disable.cat: ./usr/lib/nls/C/enable.cat: ./usr/lib/nls/C/lp.cat: ./usr/lib/nls/C/lpadmin.cat: ./usr/lib/nls/C/lpmove.cat: ./usr/lib/nls/C/lpsched.cat: ./usr/lib/nls/C/lpshut.cat: ./usr/lib/nls/C/lpstat.cat: ./usr/lib/nls/C/reject.cat: ./usr/spool/lp/model/thinkjet: ./usr/spool/lp/model/HPGL1: ./usr/spool/lp/model/HPGL2: ./usr/spool/lp/model/PCL1: ./usr/spool/lp/model/PCL2: ./usr/spool/lp/model/PCL3: ./usr/spool/lp/model/PCL4: ./usr/spool/lp/model/ruggedwriter: ./usr/spool/lp/model/colorpro: ./usr/spool/lp/model/deskjet: ./usr/spool/lp/model/draftpro: ./usr/spool/lp/model/dumb: ./usr/spool/lp/model/hp2225a: ./usr/spool/lp/model/hp2225d: ./usr/spool/lp/model/hp2227a: ./usr/spool/lp/model/hp2228a: ./usr/spool/lp/model/hp2235a: ./usr/spool/lp/model/hp2276a: ./usr/spool/lp/model/hp2300-1100L: ./usr/spool/lp/model/hp2300-840L: ./usr/spool/lp/model/hp2560: ./usr/spool/lp/model/hp2563a: ./usr/spool/lp/model/hp2564b: ./usr/spool/lp/model/hp2565a: ./usr/spool/lp/model/hp2566b: ./usr/spool/lp/model/hp2567b: ./usr/spool/lp/model/hp2631g: ./usr/spool/lp/model/hp2932a: ./usr/spool/lp/model/hp2934a: ./usr/spool/lp/model/hp33447a: ./usr/spool/lp/model/hp3630a: ./usr/spool/lp/model/hp7440a: ./usr/spool/lp/model/hp7475a: ./usr/spool/lp/model/hp7550a: ./usr/spool/lp/model/hp7570a: ./usr/spool/lp/model/hp7595a: ./usr/spool/lp/model/hp7596a: ./usr/spool/lp/model/laserjet: ./usr/spool/lp/model/paintjet: ./usr/spool/lp/model/postscript: $Revision: 72.1 $ ./usr/spool/lp/model/quietjet: ./usr/spool/lp/model/rmodel: $Revision: 70.2 $ */ ./usr/spool/lp/model/clustermodel: "sum" output: 63290 80 ./usr/bin/lp 12838 48 ./usr/bin/disable 44685 40 ./usr/bin/enable 38727 64 ./usr/bin/cancel 45270 72 ./usr/bin/lpalt 109 88 ./usr/bin/lpstat 1103 40 ./usr/lib/accept 40402 48 ./usr/lib/divpage 40034 80 ./usr/lib/lpadmin 48923 48 ./usr/lib/lpana 26664 40 ./usr/lib/lpfence 18358 48 ./usr/lib/lpmove 20709 32 ./usr/lib/lprpp 50885 96 ./usr/lib/lpsched 57243 32 ./usr/lib/lpshut 721 56 ./usr/lib/rcancel 44494 40 ./usr/lib/reject 46889 56 ./usr/lib/rlp 45879 112 ./usr/lib/rlpdaemon 34111 72 ./usr/lib/rlpstat 59377 32 ./usr/lib/rwrite 55961 28 ./usr/lib/nls/C/accept.cat 55961 28 ./usr/lib/nls/C/cancel.cat 55961 28 ./usr/lib/nls/C/disable.cat 55961 28 ./usr/lib/nls/C/enable.cat 55961 28 ./usr/lib/nls/C/lp.cat 55961 28 ./usr/lib/nls/C/lpadmin.cat 55961 28 ./usr/lib/nls/C/lpmove.cat 55961 28 ./usr/lib/nls/C/lpsched.cat 55961 28 ./usr/lib/nls/C/lpshut.cat 55961 28 ./usr/lib/nls/C/lpstat.cat 55961 28 ./usr/lib/nls/C/reject.cat 6831 13 ./usr/spool/lp/model/thinkjet 27710 6 ./usr/spool/lp/model/HPGL1 15655 6 ./usr/spool/lp/model/HPGL2 6831 13 ./usr/spool/lp/model/PCL1 23035 15 ./usr/spool/lp/model/PCL2 57378 36 ./usr/spool/lp/model/PCL3 15883 36 ./usr/spool/lp/model/PCL4 57378 36 ./usr/spool/lp/model/ruggedwriter 27710 6 ./usr/spool/lp/model/colorpro 57378 36 ./usr/spool/lp/model/deskjet 15655 6 ./usr/spool/lp/model/draftpro 64973 8 ./usr/spool/lp/model/dumb 6831 13 ./usr/spool/lp/model/hp2225a 6831 13 ./usr/spool/lp/model/hp2225d 6831 13 ./usr/spool/lp/model/hp2227a 6831 13 ./usr/spool/lp/model/hp2228a 57378 36 ./usr/spool/lp/model/hp2235a 57378 36 ./usr/spool/lp/model/hp2276a 23035 15 ./usr/spool/lp/model/hp2300-1100L 23035 15 ./usr/spool/lp/model/hp2300-840L 23035 15 ./usr/spool/lp/model/hp2560 23035 15 ./usr/spool/lp/model/hp2563a 23035 15 ./usr/spool/lp/model/hp2564b 23035 15 ./usr/spool/lp/model/hp2565a 23035 15 ./usr/spool/lp/model/hp2566b 23035 15 ./usr/spool/lp/model/hp2567b 6831 13 ./usr/spool/lp/model/hp2631g 57378 36 ./usr/spool/lp/model/hp2932a 57378 36 ./usr/spool/lp/model/hp2934a 15883 36 ./usr/spool/lp/model/hp33447a 6831 13 ./usr/spool/lp/model/hp3630a 27710 6 ./usr/spool/lp/model/hp7440a 27710 6 ./usr/spool/lp/model/hp7475a 15655 6 ./usr/spool/lp/model/hp7550a 15655 6 ./usr/spool/lp/model/hp7570a 15655 6 ./usr/spool/lp/model/hp7595a 15655 6 ./usr/spool/lp/model/hp7596a 15883 36 ./usr/spool/lp/model/laserjet 6831 13 ./usr/spool/lp/model/paintjet 43023 14 ./usr/spool/lp/model/postscript 6831 13 ./usr/spool/lp/model/quietjet 44026 10 ./usr/spool/lp/model/rmodel 6946 5 ./usr/spool/lp/model/clustermodel Dependencies: None Supersedes: PHCO_2984(s700 only) PHCO_3122(s700 only) Patch Package Size: 810 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. Note: Please back up your system before you patch. --------------------------------------------------------------------------- After getting the patch onto your machine, unshar the patch (sh PHCO_4077). To install this patch do the following: 1) Run /etc/update (Note: you must be logged in as root to update a system). 2) Once in the update "Main Menu" move the highlighted line to "Change Source or Destination ->" and press "Return" or "Select Item". 3) Make sure the highlighted item in the "Change Source or Destination" window is "From Tape Device to Local System ...", then press "Return" or "Select Item". 4) You should now be in the "From Tape Device to Local System" window. Change the "Source: /dev/rmt/0m" to "Source: /tmp/PHCO_4077.updt" (this assumes that you are in the /tmp directory where PHCO_4077.updt has been placed). Note: You must enter the complete path name. 5) Press "Done". 6) From here on follow the standard directions for update. The customized script that update runs will move the original software to /system/PHCO_4077/orig. HP recommends keeping this software there in order to recover from any potential problems. It is also recommended that you move the PHCO_4077.text file to /system/PHCO_4077 to be retained for future reference. If you wish to put this patch on a magnetic tape and update from the tape drive, dd a copy of the patch to the tape drive. As an example the following will create a copy of the patch that update can read: dd if=PHCO_4077.updt of=/dev/rmt/0m bs=2048