Patch Name: PHSS_5158 Patch Description: s700 9.X Graphics Hardcopy February Periodic Patch Creation Date: 95/03/13 Post Date: 95/03/21 Hardware Platforms - OS Releases: s700: 9.01 9.03 9.05 Products: N/A Filesets: STAR-SHLIBS STAR-RUN STAR-PRG Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700/9.X/PHSS_5158 Symptoms: PHSS_5158: - The previous version of pcltrans showed dithering stripes when printing Starbase bitmap files created on ColorRecovery devices. This version adds an option to provide high-quality output of these images on hardcopy devices. PHSS_4980: - The "man" pages for screenpr and pcltrans have been completely rewritten, and are included with this patch. The new versions present more detailed background information, which may be used for determining which options are appropriate in a particular situation. Also, new options to both pcltrans and screenpr have been documented in these new "man" pages. - The CGM Interpreter, cgmiui, failed to use the -m option (a config file) correctly. Also, when cgmiui was run with either CADplt or CADplt2, the SP (select pen) command in the resulting hpgl or hpgl2 file (usually encoded for hpgl2) was often incorrect. With CADplt2, a segmentation error/core dump would sometimes occur. PHSS_4857: - There is a delay built into libXhpPEX.sl used when waiting to establish communications with the PEX daemon. This delay, when added to new X server starup delays caused by dynamically loaded DDX drivers, is pushing Vue over the edge of how long it is willing to wait before pronouncing an X server startup incantation dead. This results in Vue *always* deciding the server is dead, thrashing, and Vue *never* successfully waking up. The individual 5 second delay has been reduced to 100 milliseconds, while the limit of a cummulative 20 second delay has been retained. This allows X server startup to proceed much sooner than in previously versions. - pcltrans and screenpr do not support RTL devices, such as the 650C RTL requires adding new header and trailer information to the pcl output file previously being generated by pcltrans. As these extra commands for RTL are not acceptable to non-RTL devices, a special option (-Z) was added to pcltrans and screenpr. More detailed infor- mation can be obtained by executing the following HP-UX command: pcltrans -h screenpr -h - pcltrans does not support RTL devices, such as the 650C RTL requires adding new header and trailer information to the pcl output file previously being generated by pcltrans. As these extra commands for RTL are not acceptable to non-RTL devices, a special option (-Z) was added to pcltrans. More detailed information can be obtained by executing the following HP-UX command: pcltrans -h - When using double-buffered mode with 12/12 images on 24-plane devices, pcltrans generates an incorrect image Basically, the fix required changes to the underlying operation in the creation and processing of either 12/12 double-buffered images on a 24-plane device. Previously, when writing out the data, either the top nibble or the bottom nibble contained valid data, and the other nibble was left as 0's. The code was changed to duplicate the information from the valid nibble to the other nibble. This then allowed pcltrans and file-to-bitmap to work properly. As a side benefit, this also fixes some problems with imageview and sb2xwd|xwud utilities when processing Starbase bitmap files. This fix depends on PHSS_4718/4719 as well as this patch. - When running both Starbase and X applications on the same screen with 12-bit visuals, screendumps via the "capture" utility (and the new screenpr) exhibit the "technicolor effect". The new screenpr code for MultiVisualGrab.c was changed to properly handle 12-bit visuals. The code had a special case for Starbase colormaps which is no longer needed, and also was incorrectly handling 12-bit true-color and direct-color visuals. Also cleaned up some code which wouldn't work should the HP implementation of XImage data structures change. The code changes were also included in the capture utility. PHSS_4255: - set_p1_p2() PS-parameters are not always properly calculated on CADplt and hpgl2 drivers resulting in wasted print media - HP-GL/2 driver can clip right or top of plot. - Add DeskJet 500C and DeskJet 550C support, -j and -J options. - Add a new option, -J to enable pcltrans to use the black ink cartridge instead of the composite black on the DeskJet 550C only. Defect Description: PHSS_5158: See Symptom Descriptions PHSS_4980: See Symptom Descriptions PHSS_4857: See Symptom Descriptions PHSS_4255: See Symptom Descriptions SR: 1653107797 1653095703 1653085324 5003127944 1653078998 Patch Files: /usr/lib/libddCADplt.a /usr/lib/libddCADplt.sl /usr/lib/starbase/formatters/pcl/libfmtpcl.a /usr/lib/starbase/formatters/pcl/libfmtpcl.sl /usr/bin/screenpr /usr/bin/screenpr8.07 /usr/bin/pcltrans /usr/man/man1.Z/screenpr.1 /usr/man/man1.Z/pcltrans.1 what(1) Output: /usr/lib/libddCADplt.a: GRAPHICS CORE R905_P5 BRANCH 950216 CADplt $Revisio n: 510.1.200.2 $ PHSS_5099/5100 February 95 Starbase/CORE Periodic Pa tch GRAPHICS CORE R905_P5 BRANCH 950216 CADplt2 $Revisi on: 510.1.200.4 $ PHSS_5099/5100 February 95 Starbase/CORE Periodic Pa tch /usr/lib/libddCADplt.sl: GRAPHICS CORE R905_P5 BRANCH 950216 CADplt $Revisio n: 510.1.200.2 $ PHSS_5099/5100 February 95 Starbase/CORE Periodic Pa tch GRAPHICS CORE R905_P5 BRANCH 950216 CADplt2 $Revisi on: 510.1.200.4 $ PHSS_5099/5100 February 95 Starbase/CORE Periodic Pa tch /usr/lib/starbase/formatters/pcl/libfmtpcl.a: GRAPHICS CORE R905_P5 BRANCH 950216libfmtpcl.a $Revi sion: 510.1.200.2 $ PHSS_5099/5100 February 95 Starbase/CORE Periodic Pa tch /usr/lib/starbase/formatters/pcl/libfmtpcl.sl: GRAPHICS CORE R905_P5 BRANCH 950216libfmtpcl.a $Revi sion: 510.1.200.2 $ PHSS_5099/5100 February 95 Starbase/CORE Periodic Pa tch /usr/bin/screenpr: $Header: screenpr.c,v 510.1.200.1 94/02/18 18:14:38 root Exp $ /usr/bin/screenpr8.07: STARBASE HP-UX 8.07 A.08.07 10/09/91 screenpr PHSS_ 1388 $Revision: 402.1.1.3 $ STARBASE HP-UX 8.07 A.08.07 10/09/91 libfmtpcl.a $R evision: 402.1.1.1 $ STARBASE HP-UX 8.07 A.08.07 10/09/91 libdd98550.a $ Revision: 402.1.1.1 $ STARBASE HP-UX 8.07 A.08.07 10/09/91 libdd98720.a $ Revision: 402.1.1.1 $ STARBASE HP-UX 8.07 A.08.07 10/09/91 libdd98730.a $ Revision: 402.1.1.1 $ STARBASE HP-UX 8.07 A.08.07 10/09/91 libdd98704.a $ Revision: 402.1.1.1 $ STARBASE HP-UX 8.07 A.08.07 10/09/91 libdd98735.a $ Revision: 402.1.1.1 $ STARBASE HP-UX 8.07 A.08.07 10/09/91 libddgcrx.a $R evision: 402.1.1.7 $ PHSS_1388 STARBASE HP-UX PATCH $Date: 92/06/17 06:52:03 $ echo _util.o $Revision: 402.1.1.6 $ STARBASE HP-UX 8.07 PATCH 04/28/92/ PICKING PATCH fpx_base.o STARBASE HP-UX Patch PHSS_1295 6/29/92 vwxfm2.o DI p olyhedrons STARBASE HP-UX 8.07 A.08.07 10/09/91 libsb1.a $Revi sion: 402.1.1.1 $ STARBASE HP-UX Patch PHSS_1096 05/12/92 fpxB_stubs.o $Revision: 402.1.1.5 $ STARBASE HP-UX Patch PHSS_0600 2/18/92 prim_wd.o $Re vision: 402.1.1.5 STARBASE HP-UX Patch PHSS_1295 6/29/92 prim_wd.o DI polyhedrons STARBASE HP-UX Patch PHSS_1354 7/21/92 prim_wd.o DI polyhedrons for gcrx STARBASE HP-UX 8.07 A.08.07 10/09/91 libsb2.a $Revi sion: 402.1.1.1 $ /usr/bin/pcltrans: GRAPHICS CORE R905_P5 BRANCH 950216pcltrans $Revisio n: 510.1.200.5 $ PHSS_5099/5100 February 95 Starbase/CORE Periodic Pa tch GRAPHICS CORE R905_P5 BRANCH 950216libfmtpcl.a $Revi sion: 510.1.200.2 $ PHSS_5099/5100 February 95 Starbase/CORE Periodic Pa tch /usr/man/man1.Z/screenpr.1: No what string for this file /usr/man/man1.Z/pcltrans.1: No what string for this file sum(1) Output: 23530 152 /usr/lib/libddCADplt.a 12286 216 /usr/lib/libddCADplt.sl 14359 168 /usr/lib/starbase/formatters/pcl/libfmtpcl.a 27049 240 /usr/lib/starbase/formatters/pcl/libfmtpcl.sl 37480 112 /usr/bin/screenpr 43426 4232 /usr/bin/screenpr8.07 54058 392 /usr/bin/pcltrans 38348 10 /usr/man/man1.Z/screenpr.1 19162 24 /usr/man/man1.Z/pcltrans.1 Patch Conflicts: None Patch Dependencies: s700: 9.01 9.03: (PHSS_4565 or PHSS_4566) PHSS_4485 PHSS_4505 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_4255 PHSS_4857 PHSS_4980 Equivalent Patches: None Patch Package Size: 2830 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_5158 . sh PHSS_5158 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_5158.updt" 7. Press "Done" (f4). 8. Follow the standard directions for update. Update moves the original software to /system/PHSS_5158/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHSS_5158 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHSS_5158.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: Be sure that applications using Starbase are NOT running and that the X-server is NOT running before installing this patch. Executables may appear "busy" to the file system and therefore unwritable because HP-UX uses the executable's image on disk as swap for code segments. The same is true for shared libraries because they are executable images as well.