Patch-ID# 100925-11 Keywords: Interleaf 400 defres xnews lwii sigsegv statusdict postscript Synopsis: NeWSprint 2.1 Rev B Jumbo Patch Date: May/05/94 Solaris Release: 1.0, 1.0.1, 1.1, 1.1_U1 SunOS release: 4.1.1 4.1.2 4.1.3 4.1.3_U1 Unbundled Product: NeWSprint2.1 RevB, Japanese NeWSprint 2.1 RevB Unbundled Release: 2.1 Rev B, J2.1 Rev B Topic: NeWSprint 2.1 Rev B Jumbo Patch Relevant Architectures: sparc NOTE: sun4(all) BugId's fixed with this patch: 1051728 1063669 1088914 1091702 1091951 1106030 1110733 1111649 1112836 1113578 1115472 1115473 1117237 1117295 1117995 1118223 1121079 1121432 1122952 1125723 1127125 1128026 1136746 1137474 1138645 1141383 1141606 1142453 1142792 1153896 1158046 Changes incorporated in this version: 1158046 Patches which may conflict with this patch: Obsoleted by: Files included with this patch: NOTE: with output of 4.1.1 "sum": * newsprint xnews specific fix: 57614 2169 xnews * bpp driver specific fix: 36981 42 bpp.o * support CL+ color printers specific fixes: 27319 1 colorimage.ps 26338 1 separated.ps 03923 9 ocimg.ps 38732 40 osep.ps 09199 2 ncimg.ps 30708 6 nsep.ps * NeWSprinter20 specific fixes: 63108 13 NEWSPRINTER20.PPD 12702 184 engine_ctl_NeWSprinter20 * SPARCprinter specific fixes: 36872 13 SPARCPRINTER.PPD 39468 184 engine_ctl_SPARCprinter 28743 41 lpvi.o * If you have a printer that requeires a ^D at the end of each job (e.g. HP III, APPLE Laswerwriter IIG,etc.) specific fix: 01547 40 postio * Apple LaserWriter specific fixes: 37359 1 default 10093 152 opost.2ps 38780 32 opost.2ps.lw 00000 0 opost.2ps.D * BUG ID 1118223 specific fixes 55591 16 coverups.ps * printing SCRIBE files on non-NeWSprint printers speicific fix: 10089 1 sed_script.scribe Problem Description: 1051728 Box from tbl preprocessor for nroff produces incorrect output on a Sparcprinter 1063669 Positioning problems with eqn characters and troff / ditroff 1088914 Postio does not send EOF (^D) at end of job, which breaks Apple Laserwriter IIG 1091702 Lines do not print with same thickness as on a laserwriter 1091951 Postscript file created from 'opost' are not converted correctly 1106030 Printing Interleaf 400 dpi file crashes xnews server 1110733 [server] eexec doesn't pop systemdict if it fails 1111649 Incorrect output on a LaserWriter with newsprint 1112836 Interleaf documents do not print on sparcprinter but do on lwII 1113578 Interleaf postscript file doesn't print and dumps core 1115472 PostScript Code produces coredump on NeWSprinter20 under NeWSprint 2.1 Rev. B 1115473 PostScript Code core dumps on NeWSprinter20 under NeWSprint 2.1 Rev. B 1117237 Interleaf file prints on LW. Not on newsprinter20 using newsprint2.1 1117295 Postscript file doesn't print and reports internal error (SIGSEGV) 1117995 Np 2.1B has problem with "statusdict begin a4tray end" at printing 1118223 Rounding errors in eofill, fill and eoclip operators 1121079 dash doesn't print with newsprint 2.1 but it's ok with newsprint 1.0 1121432 sparcprinter prints dashed lines incorrectly under NeWSprint 2.1 1122952 The .PPD file for NeWSprinter20 doesn't support ledger sized paper 1125723 NeWSprint 2.1 prints slower and has thicker lines than 2.0 1127125 Lines are bolder in 2.1 than 2.0 1128026 After rebooting ,the first print out produces abnormal results. 1135358 The postscript file from Scribe will not print on NeWSprint 2.1 Rev B 1136746 PS file generated by ORCALE V6 SQL REPORT WRITER 2.0 crash xnews server 1137474 J-NeWSprint 2.1 can't print out a PS file, but PS printer can print it. 1138645 restore operator does not totally remove the font from FontDirectory 1141383 Printing to Xerox postscript printers hangs under some conditions 1141606 Postscript file failed to print on the CL+, xnews server died with SIGSEGV error 1142453 Interleaf postscript file can't print landscape on ledger-size paper 1142792 Manualfeedtimeout does not work in NeWSprint 2.1 1153896 Setdash operator does not work correct in NeWSprint 2.1 RevB. 1158046 White lines appear in output from Sparcprinter and Newsprinter20 which is wrong. Patch Installation Instructions: -------------------------------- INSTALL: * login as root # su # Password: * Stop the printer queue for your printer and kill the server # cd /np/utils # lpr -P -H reset_server.ps # lpc stop (Don't forget to restart your printer queue at the end of your patch installation by 'lpc start '. * First, install newsprint specific fixes, a new xnews server. # cd /small_openwin/bin # mv xnews xnews.FCS (or "mv xnews xnews.1" if xnews.FCS already exists # cp /xnews . # chmod 755 xnews * Patch for new bpp driver cd /drivers/bpp mv bpp.o bpp.o.FCS mv bpp.o bpp.o chmod 755 bpp.o (Either at this point, or when you finish installing all the rest of the patches, you will want to enter "load.bpp" to load the new driver. Check your /etc/rc.local file to see if you need to copy the driver to another directory) * Patches for supporting color printers, especially CL+ cd /np/nps mv colorimage.ps colorimage.ps.FCS mv separated.ps separated.ps.FCS cp colorimage.ps colorimage.ps cp separated.ps separated.ps cp ocimg.ps ocimg.ps cp osep.ps osep.ps cp ncimg.ps ncimg.ps cp nsep.ps nsep.ps * NeWSprinter 20 specific patch(es): cd /printer_classes/NeWSprinter20/admin mv NEWSPRINTER20.PPD NEWSPRINTER20.PPD.fcs cp /NEWSPRINTER20.PPD . cd /printer_classes/NeWSprinter20/bin mv engine_ctl_NeWSprinter20 engine_ctl_NeWSprinter20.fcs cp /engine_ctl_NeWSprinter20 . chmod 755 engine_ctl_NeWSprinter20 * SPARCprinter specific patch(es): cd /printer_classes/SPARCprinter/admin mv SPARCPRINTER.PPD SPARCPRINTER.PPD.fcs cp /SPARCPRINTER.PPD . cd /printer_classes/SPARCprinter/bin mv engine_ctl_SPARCprinter engine_ctl_SPARCprinter.fcs cp /engine_ctl_SPARCprinter . chmod 755 engine_ctl_SPARCprinter cd /drivers/lpvi mv lpvi.o lpvi.o.FCS cp /lpvi.o lpvi.o chmod 755 lpvi.o (Either at this point, or when you finish installing all the rest of the patches, you will want to enter "load.lpvi" to load the new driver. Check your /etc/rc.local file to see if you need to copy the driver to another directory) * install ONLY if you have a printer that requires a ^D at the end of each job (ex. HP III, Apple Laserwriter IIG): cd /printer_classes/PostScript/bin mv postio postio.FCS cp /postio . chmod 755 postio * install ONLY if you are solely using the Apple Laserwriter: mkdir /printer_classes/PostScript/C/otroff chmod 755 /printer_classes/PostScript/C/otroff cd /printer_classes/PostScript/C/otroff cp /default . chmod 755 default cp /opost.2ps.lw opost.2ps chmod 755 opost.2ps cp /opost.2ps.D . chmod 755 opost.2pd.D * install ONLY if you have a problem resembling bugid 1118223: cd /np/nps mv coverups.ps coverups.ps.FCS cp /coverups.ps . chmod 444 coverups.ps * install ONLY if you are printing SCRIBE files on non-NeWSprint printers: cp /sed_script.scribe * restart your printer - "lpc start " POTENTIAL PROBLEMS: * The files in the directory "/printer_classes/PostScript/C/otroff" may cause problems for other PostScript printers besides the Apple Laserwriter. Do not use these files if you are not using the Apple Laserwriter! Also, the patch works when sending files directly using tbl or troff, since NeWSprint will use the opost in the printer_class directory; but if the user uses "pl ... :opost", the original opost will be used, unless the user specifies a different filter path to include the PostScript/C/otroff. * The patch for the file "/np/nps/coverups.ps" may create anamolies with some PostScript applications (for example: Excel). More specifically, if you have: 0 0 moveto 100 100 lineto fill showpage then the line will NOT be drawn using the patch. Additionally, this patch attempts to make lines the same thickness as found in NeWSprint 2.0; however, the difference in Adobe PostScript line thickness and NeWSprint line thickness are already made as small as possible, so some files may NOT print out as expected with this patch. If you have problems from the above, "/np/nps/coverups.ps.FCS" is the original file which you may want to use instead. * The patch for the file "/printer_classes/PostScript/bin/postio" may foul up print jobs if the PostScript printer doesn't expect an EOF (^D) at the end of each job. * The patch for SCRIBE files should be placed such that affected users will have the sed_script available within their PATH settings. Instructions for use: "sed_script.scribe" is a sh script that takes a PostScript file as an command line argument and puts result to the standard output. This filter script has to be applied to the postscript file before printing. -> This filter should not be used for non-NeWSprint printers (Adobe Postscript printers)! ADDENDA: This patch may be used for J-NeWSprint 2.1. If it is, be sure to: 1) install patch 100789-01 first 2) install this patch (100925) next. So far none of these patches affect localization.