Patch-ID# 100409-02 Keywords: printing, memory, fail, printer, postscript, books, answerbook, gsave Synopsis: AnswerBook 1.3: printing some AnswerBook "books" fail Date: 03/Mar/92 SunOS release: Unbundled Product: AnswerBook Unbundled Release: 1.3 Topic: Printing large volumes on some printers fail without this patch BugId's fixed with this patch: 1069383, 1084755 Architectures for which this patch is available: sun3, sun3x, sun4, sun4c Patches which may conflict with this patch: Obsoleted by: Files included with this patch: viewprint Problem Description: BugTraq ID #1069383 - This is the patch for the AnswerBook not printing large "books" (chapters) on laserwriters or other postscript printers. The postscript generated has extraneous postscript between pages which has unbalanced gsave commands. This overflows the save stack limit of 31 for most postscript printers (not SparcPrinter however since XNeWS stack is much larger). The patch script filters out the offending postscript before it is passed to the printer. BugTraq ID #1084755 - Some documents in AnswerBook made use of arguments to the PostScript setscreen function that Apple LaserWriters and some other printers would not accept. The new "viewprint" script eliminates this problem. Install Instructions: Perform the following as user "root": - If a previous version of this patch was installed, the original "viewprint" file should be restored first, via: mv $ABHOME/.viewprint $ABHOME/viewprint - Move the original file to new name. It will be used by the replacement "viewprint" file: mv $ABHOME/viewprint $ABHOME/viewprint.bin - Install the patch file: cp viewprint.sh $ABHOME/viewprint