.\" man page for fixfm4 .\" .I ok, .B nok (SunOS, 11/09/90) .\" \fB...\fP ok, \fI...\fP nok .TH FIXFM4 1L "3 Novembre 1994" "Irisa local" "FrameMaker et PostScript .SH NAME .I fixfm4 \- a script for crunching FM 4.0 Postscript files for inclusion in LaTeX files or printing on ANY paper size .SH SYNOPSIS .B fixfm4 .I [-bb] .I InputFile .I OutputFile .br .SH DESCRIPTION .I fixfm4 is a program which translates FrameMaker 4.0.x PostScript files in such a way that you can .IP - either include them directly into Latex Documents, using, for example, .I psfig macros (they are now EPSI files, with a correct %%BoundingBox line and without any side-effect when printing) .IP - or print them on any PostScript printer, supporting any (letter, legal, A4,..) paper size, whichever be the original paper size in FrameMaker. .PP Too, it disable \fImanualfeed\fP operation. Actually, FrameMaker 4 PostScript tests, when printing, that the paper size for which the document has been written for is REALLY available on the current printer (lettertray for letter size, A4tray for A4, etc.). If it is, the file prints right. If it is not available, an error message is printed such as: .ce 1 Can't select requested paper size for Frame print job! .SH OPTIONS To run the filter use: .PP .ce 1 fixfm4 [-bb] [-p] InputFile [OutputFile] .IP "\fI-bb\fP" asks for a %%BoundingBox line, along with the mods for printing on any paper size. .IP "\fI-p\fP" make the orientation of the PostScript file .I always portrait, even if it was landscape in the original file. Useful if you intend to include the PS file in a LaTeX document. .IP "\fIInputFile\fP" is the file to be filtered .IP "\fIOutputFile\fP" is the resulting file. If \fIOutputFile\fP is missing, the resulting file will be \fIInputFile\fP, with no clash of course! If \fIOutputFile\fP ends with \fI.epsi\fP suffix, a preview image will be added to the file (if \fI-bb\fP present). If it ends with another suffix and \fI-bb\fP is present, only the %%BoundingBox line of the (modified) original file will be corrected to reflect the real Bounding Box. .PP The \fIInputFile\fP (original file) is ALWAYS modified to print everywhere. More, manualfeed is cancelled, if present. .SH NOTES .I fixfm4 does not act as a Unix filter, so redirections can not be used. Called without any parameter, a help message is displayed on stdout to remind you what is fixfm4. For BoundingBox computing, .I fixfm4 calls .I pstoepsi or .I ps2epsi which in turn calls .I gs (ghostscript). So if you have not these files, do not use .I -bb option. It also uses perl, an interpreted language optimized for scanning arbitrary text files, written by Larry Wall . .I fixfm4 applies ONLY to FrameMaker 4.0.x (x tested until 3) PostScript files. It DOES NOT apply to previous versions. See psfilt(1) .SH AUTHOR Eric A. Brewer with several mods from Peter Nuth (nuth@ai.mit.edu) and Bertrand Decouty (decouty@irisa.fr) who also wrote this man page. Originally posted in comp.text.frame, on 30 Nov 93. .SH SEE ALSO pstoepsi(l), psfig(l), psfilt(l) .SH TRADEMARKS PostScript is a trademark of Adobe Systems, Inc.