Patch Name: PHSS_5325 Patch Description: s300_400 9.X OpenSpool B.01.00 patch Creation Date: 95/03/23 Post Date: 95/05/12 Hardware Platforms - OS Releases: s300_400: 9.00 9.03 9.10 Products: OpenSpool B.01.00 Filesets: OSPOOL300 Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHSS_5325 Symptoms: PHSS_5325: Several problems with the BSD gateway and BSD printers (using nplpdout) if there are a lot of requests. The dumb device interface program does not have the same functionality as in A.04.02 (-oraw handling). Devices with status 'problem' do not switch the status back to 'busy' after the device is printing again. Requests with explicitly defined hardfont are not transferred from a holding queue to the destination queue. Option for title page (-b off) is ignored when submitting a request to a remote realm. When a device has the status 'problem', then the active request cannot be deferred or suspended. Submitting of a request fails if unable to resolve hardfonts in an OpenSpool alias file. Inconsistent state information between queue and device servers and therefore devices do not print anymore. Number of printed pages shows wrong value and a restart on a specific page is not always successful. Npautocontrol may consume too much CPU time. Some functions in npui and npuix do not work properly. Print jobs are not always deleted after keep time has expired. Defect Description: PHSS_5325: npuix: - REQUEST LOAD NEEDED PAPER does not show the right paper form. - REQUEST shows incorrect information if more than 500 requests are to be displayed. - CHANGE REQUEST not possible if request was submitted to an associated queue name with hardfont. - PRINT: Cannot submit request to associated queue with hardfonts. - PRINT: More than one hardfont is allowed when submitting a request. - CHANGE REQUEST on non-realm master using an explicitly defined titlepage is not possible. - CHANGE REQUEST sent to an asc. queue name issues an error message "You cannot change active print request". - UPDATE CHANGE FORM DEVICETYPE: Filename truncated to 12 characters and paper size is not displayed. - npuix may terminte with 'alarm call'. npui: - REQUEST LOAD NEEDED PAPER shows the incorrect paper form. - Several problems with the handling of hardfonts. - npui SUPERUPDATE does not accept a device type added using superupdate.local. - Message 'Code set and language do not match' is shown when entering UPDATE after switching codesets with npcmaster. - npui may terminate with 'alarm call'. npshow: - npshow -l output shows incorrect number of printed pages if printing on a form which does not specify number of lines per page. As a consequence, restarting printing at a specified page may not be possible. BSD gateway: - nplpdin does not accept jobs from Windows NT. - nplpdout: -- Banner page is always printed with lpr. -- Checkdelivery does not work in nplpdout network interface binary. - Requests are lost if more than 1000 requests were sent to a BSD destination via nplpdout or the BSD gateway. - If the BSD spooler contains a lot of print jobs, then the show request and delete action fail (bsdnpshow and bsdnp). Inconsistent queue/device server states: - Symptoms: Devices do not print although device has the status 'idle' and there are requests in the queue in status 'ready' and with priority 'low', 'normal', or 'high'. Device is in state 'problem' although it should be able to print again (paper is loaded, power on, online etc.). - Problem cause: One of the OpenSpool servers (queue or device server) was shut down and restarted independently of the other, while a print request was active. This could be done by: -- restarting servers selectively with npadmin -s|-S -q|-d -- npact -a: because automatic mode activation may restart only the queue server (if device servers have not changed at the same time) -- device server processes were killed manually when a request is active SR: B700025262 B700025270 B700025288 B700025296 B700025163 B700025130 Patch Files: /usr/lib/openspool/sw-master/vendor-sw/server/qserver /usr/lib/openspool/sw-master/vendor-sw/server/devserver /usr/lib/openspool/sw-master/vendor-sw/server/devserver.hpgl /usr/lib/openspool/sw-master/vendor-sw/bin/npuix /usr/lib/openspool/sw-master/vendor-sw/client/lpd/nplpdin /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnp /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnpshow /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnpdel /usr/lib/openspool/sw-master/vendor-sw/bin/nprpp /usr/lib/openspool/sw-master/vendor-sw/bin/np /usr/lib/openspool/sw-master/vendor-sw/bin/npautocontrol /usr/lib/openspool/sw-master/vendor-sw/networkif/nplpdout /usr/lib/openspool/sw-master/vendor-sw/bin/npui /usr/lib/openspool/sw-master/vendor-sw/bin/asyncnp /usr/lib/openspool/sw-master/vendor-sw/message/C/roman8/ C.cat /usr/lib/openspool/sw-master/vendor-sw/message/C/iso88591/ C.iso88591.cat /usr/lib/openspool/sw-master/vendor-sw/titlepage/lj_title /usr/lib/openspool/sw-master/vendor-sw/interface/dumb /usr/lib/openspool/sw-master/vendor-sw/bin/npadmin /usr/lib/openspool/sw-master/vendor-sw/bin/npuix.dm what(1) Output: /usr/lib/openspool/sw-master/vendor-sw/server/qserver: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/server/devserver: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/server/ devserver.hpgl: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/npuix: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/client/lpd/nplpdin: OpenSpool B.01.01 03/31/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnp: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnpshow: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnpdel: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/nprpp: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/np: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/npautocontrol: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/networkif/nplpdout: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/npui: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/asyncnp: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/message/C/roman8/ C.cat: None /usr/lib/openspool/sw-master/vendor-sw/message/C/iso88591/ C.iso88591.cat: None /usr/lib/openspool/sw-master/vendor-sw/titlepage/lj_title: $Header: lj_title,v 12.6 95/03/07 13:44:49 opsp Exp $ /usr/lib/openspool/sw-master/vendor-sw/interface/dumb: $Header: dumb,v 12.24 95/03/29 06:50:14 lovro Exp $ /usr/lib/openspool/sw-master/vendor-sw/bin/npadmin: OpenSpool B.01.01 03/23/95 $ /usr/lib/openspool/sw-master/vendor-sw/bin/npuix.dm: None sum(1) Output: 53072 1192 /usr/lib/openspool/sw-master/vendor-sw/server/ qserver 64530 1272 /usr/lib/openspool/sw-master/vendor-sw/server/ devserver 65026 1280 /usr/lib/openspool/sw-master/vendor-sw/server/ devserver.hpgl 20045 5192 /usr/lib/openspool/sw-master/vendor-sw/bin/npuix 29922 1256 /usr/lib/openspool/sw-master/vendor-sw/client/ lpd/nplpdin 41040 752 /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnp 9801 137 /usr/lib/openspool/sw-master/vendor-sw/bin/ bsdnpshow 5152 744 /usr/lib/openspool/sw-master/vendor-sw/bin/bsdnpdel 60109 27 /usr/lib/openspool/sw-master/vendor-sw/bin/nprpp 28140 1224 /usr/lib/openspool/sw-master/vendor-sw/bin/np 28663 936 /usr/lib/openspool/sw-master/vendor-sw/bin/ npautocontrol 39221 141 /usr/lib/openspool/sw-master/vendor-sw/networkif/ nplpdout 12010 2536 /usr/lib/openspool/sw-master/vendor-sw/bin/npui 40426 928 /usr/lib/openspool/sw-master/vendor-sw/bin/asyncnp 58850 310 /usr/lib/openspool/sw-master/vendor-sw/message/C/ roman8/C.cat 61094 310 /usr/lib/openspool/sw-master/vendor-sw/message/C/ iso88591/C.iso88591.cat 32418 37 /usr/lib/openspool/sw-master/vendor-sw/titlepage/ lj_title 16986 8 /usr/lib/openspool/sw-master/vendor-sw/interface/ dumb 19884 1480 /usr/lib/openspool/sw-master/vendor-sw/bin/ npadmin 46848 2317 /usr/lib/openspool/sw-master/vendor-sw/bin/ npuix.dm Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHSS_5319: s700: 9.01 9.03 9.05 s800: 9.00 9.04 Patch Package Size: 11110 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. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Copy the patch to your /tmp directory and unshar it: cd /tmp cp patch_source/PHSS_5325 . sh PHSS_5325 3. Become root and run update: /etc/update 4. Use the cursor keys to select "Change Source or Destination ->" and press [Return]. 5. Select "From Tape Device to Local System ..." in the Change window and 6. Change "Source: /dev/rmt/0m" to "Source: /tmp/PHSS_5325.updt" 7. Press "Done" (f4). 8. Follow the standard directions for update. Update moves the original software to /system/PHSS_5325/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHSS_5325 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHSS_5325.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: This patch (or its equivalent patch for a different architecture) must be installed on all binary masters of an OpenSpool realm. The communication between queue and device servers has changed with this B.01.01 version (i.e. a B.01.00 queue server cannot interact with a B.01.01 device server or the other way round). Therefore all binary masters (and member systems) should have the same version which is B.01.01. 1. Before installation of the patch perform the following steps as user spooladm: a) test whether all systems are up and running npact -t -v b) save the current configuration npcshow -E > /tmp/config c) save the current binding information npstat -E > /tmp/bindings chmod 700 /tmp/bindings d) Shutdown all queue and device servers in the realm npadmin -s -A Make sure that really all processes are stopped. If needed use npadmin -i -A to stop them all. e) Make sure that no npui or npuix processes are running in the realm. 2) Install the patch on all binary masters and on the realm master by follwing the "Installation Instructions" above. The patch is installed as user root with update(1M). 3) On each binary master and on the realm master execute the following command as user root to recreate the tar/cpio packages: /usr/lib/openspol/update/npinstall -t -v 4) Activate the changes in new release activation as user spooladm on the realm master: npact -n -v 5) Restore the previous binding information by executing script /tmp/bindings