Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog
sdfbatch is a preprocessor for
usage : sdfbatch [+alias] [-h[help]] [-f fmt_file] [-F fmt_what] [-u] [-p[print_doc]] [-P paper_size] [-s[save_ext]] [-S save_fmt] [-n] [-t timeout] frame_file ... purpose: generate fmbatch input file version: 2.000 (SDF 2.000)
The options are:
Option | Description |
-h | display help on options |
-f | formats file |
-F | formats to import |
-u | update documents |
-p | print documents |
-P | paper size name |
-s | save extension |
-S | save file format |
-n | output the batch file (instead of calling fmbatch) |
-t | timeout for printer driver to generate ps |
The aliases are:
Alias | Description |
fm2ps | convert Frame files to PostScript |
Given a set of FrameMaker documents, sdfbatch can be used to:
Character | Meaning |
p | Paragraph formats |
f | Font formats |
l | Page layouts |
c | Cross references |
v | Variables |
r | Reference page contents |
t | Table formats |
x | Conditional text |
k | Color |
m | math |
B | Preserve manual page breaks |
O | Preserve other formatting overrides |
By default, all formats are imported.
To update documents, use the -u option.
To print documents, use the -p option. If a parameter is not provided, the file will be printed to the default printer. To print to a PostScript file, specify the "file" keyword as the parameter. Alternatively, the parameter is the name of a print settings file.
When generating a PostScript file, the paper size can be specified using the -P option. The default value is global. The paper size name is actually mapped to a print settings file called paper_size.fmver in the stdlib library directory. fmver is typically either fm4 or fm5, depending on which version of FrameMaker you are using.
To specify a different format, use the -S option. Possible values are:
Take care with the file extension - any existing files will be replaced without warning.
A combination of the f, u, p and s options can be supplied if more that one operation is required per file. For example, you may wish to import formats and then save the resultant file. For each file, the operations are always done in the following order:
To format and print a set of files:
sdfbatch -fmyfmts.doc -p *.doc
To convert mif files to binary files:
sdfbatch -sdoc -Sd *.mif
To copy Frame variables from a file to a set of files:
sdfbatch -fvariable.mif -Fv -s *.doc
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog