STScI Logo

Space Telescope Science Institute
How to Modify the FrameMaker
generated PostScript to print on A4 paper

I tried to print the above document but I received the error: "Can't select requested paper size for Frame print job!" I solved it by commenting out lines 650 to 665. A copy of the commented out code is as follows:

%	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