From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076331021471.tru64-unix-managers.marc@archive.invalid> From: millers () grl008 ! dnet ! bp ! com Date: Thu, 25 Apr 1996 08:41:16 +0000 To: tru64-unix-managers Subject: SUMMARY: Printing NSR documentation X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076331021471 Summary - How to print NSR poscript documents Thanks to Adrian Ho ( adrianho@nii.ncb.gov.sg ) who advised the following we can now print the documents we require Adrian advised .... If you're referring to a postscript file with: % Frame ps_prolog 4.0, for use with Frame 4.0 products somewhere in the header, then it's a well-known problem for folks like us who use A4-sized paper. Here's the easy solution: (1) Use your favorite editor on the postscript file to look for the string "papersize". You should see the following 16 lines surrounding the first occurrence of string that you find: FMLevel1 { manualfeed {setmanualfeed} if /FMdicttop countdictstack 1 add def /FMoptop count def setpapername manualfeed {true} {papersize} ifelse {manualpapersize} {false} ifelse {desperatepapersize} {false} ifelse { (Can't select requested paper size for Frame print job!) FMFAILURE } if count -1 FMoptop {pop pop} for countdictstack -1 FMdicttop {pop end} for } {{1 dict dup /PageSize [paperwidth paperheight]put setpagedevice}stopped { (Can't select requested paper size for Frame print job!) FMFAILURE } if {1 dict dup /ManualFeed manualfeed put setpagedevice } stopped pop } ifelse (2) Comment out all 16 lines by prepending a "%" character, like this: % FMLevel1 { % manualfeed {setmanualfeed} if % /FMdicttop countdictstack 1 add def % /FMoptop count def % setpapername % manualfeed {true} {papersize} ifelse % {manualpapersize} {false} ifelse % {desperatepapersize} {false} ifelse % { (Can't select requested paper size for Frame print job!) FMFAILURE } if % count -1 FMoptop {pop pop} for % countdictstack -1 FMdicttop {pop end} for % } % {{1 dict dup /PageSize [paperwidth paperheight]put setpagedevice}stopped % { (Can't select requested paper size for Frame print job!) FMFAILURE } if % {1 dict dup /ManualFeed manualfeed put setpagedevice } stopped pop } % ifelse (3) Save and try printing again. It should work this time. 8-) Thanks to all who replied Samantha Miller BP Oil Grangemouth Refinery Ltd Bo'ness Road Grangemouth Stirlingshire FK3 9XQ Scotland