tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Printing NSR documentation
@ 1996-04-25  8:41 millers
  0 siblings, 0 replies; only message in thread
From: millers @ 1996-04-25  8:41 UTC (permalink / raw)
  To: tru64-unix-managers

 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-04-25  8:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-25  8:41 SUMMARY: Printing NSR documentation millers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox