Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 36 Converting via runfm > 36.3 Understanding runfm command-line syntax
The syntax for runfm
is as follows:
runfm [ -progid FrameMaker.M2G ]
[ -book [ path\to\yourbook.book ] ]
[ -doc [ path\to\yourdoc.fm ] ]
[ -project "your Mif2Go project name" ]
[ -print ( book | doc ) [ path\to\printfile.prn ]
| [ -pdf ( book | doc ) [ path\to\pdffile.pdf ] ]
| [ -pdfsave ( book | doc ) [ path\to\pdffile.pdf ] ]
[ -printer "name of printer to set via SetPrint" ]
[ -close ( book | doc | all ) ]
Type the runfm
command and options all on one line, at a command prompt. You can use
either “/
” or “-
”
as the switch indicator for runfm
command-line options. If you specify no options at all, or if you specify
-help
(or /help
)
or -?
(or /?
),
you get a message about usage, then runfm
exits.
To use the -print
,
-printer
, and -pdf
options, you must have the SetPrint plug-in for FrameMaker installed.
You can download SetPrint from Sundorne Communications:
http://www.sundorne.com/FrameMaker/Freeware/setPrint.htm
Table 36runfm
command-line options
and their arguments; see §36.4 Using runfm for Mif2Go conversions
for additional information.
Table 36
Names whatever identifier you used when you set
up FrameMaker (see Setting
up FrameMaker for unattended operation); the default is
|
||
Names a different system (in the same domain), where FrameMaker is to be run; the same user must be logged into, and FrameMaker must already be open on, the specified system. |
||
Optionally specifies the full absolute path to a book to be converted, or to a book that contains a chapter specified by the -doc option (otherwise, the book currently active in FrameMaker); quote the path name if it contains any spaces. |
||
Optionally specifies the full absolute path to a document to be converted (otherwise, the document currently active in FrameMaker); quote the path name if it contains any spaces. |
||
Names a Mif2Go project (not
the name of a |
||
Specifies the |
||
Optionally specifies the full absolute path to
a file to which the active book (-print |
||
When used with -print, specifies the print order: |
||
Optionally specifies the full absolute path to
a PDF file to which the active book (-print |
||
Same as -pdf,
except executes Save As PDF
(FrameMaker version 8 and later versions only). Do not use with -close |
||
Names the printer to use when you specify the -print option; works only if you have installed SetPrint. |
||
Causes FrameMaker (or just the book, or the just document) to close after the conversion: -close |
||
Causes runfm to write more diagnostic messages to the FrameMaker console window; intended primarily for Mif2Go developers. |
||
Names a text file to which the contents of the
FrameMaker console window are appended when you also specify a -close option; the default log file
name is |