- -o outputfile
- Specifies the output path and file name of the output PDF file. By default, the output
PDF file is placed in the same directory as the input file, and it has the same file
name as the input file with the extension changed from
afpdoc.afp, an output file named
afpdoc.pdfis created.Note: If AFP is not used as the extension, a
- -pragma aligntext [0|90|180|270] | fdef formdefinition|resource_path=resource path
- Use aligntext to specify the rotation value to use when transforming the file. Valid values are
0, 90, 180, or 270 (clockwise). Some AFP files might have already been formatted with a rotated orientation.
If this occurs, text is aligned with the vertical axis of the paper rather than the
horizontal axis. To correct this, you must use this parameter to align the text as
Use resource_path to specify the path to the resources. This can be a single path or a list of paths separated by semi-colon (;).Note: When you specify aligntext, you must specify the = sign. For example,
Use fdef to specify the fully qualified file name of the form definition (FORMDEF) resource to be used when transforming the AFP file. For example,
afp2pdf -pragma fdef=c:\mydirectory\myformdef.fde afpfile.afpIf an inline form definition is associated with the AFP document, then both the fdef from the configuration file and the command line are ignored. If fdef is not included in the configuration file or specified on the command line, the F1A10110 default form definition is used.
When you use -pragma, you can specify only one of the -pragma options: aligntext, fdef, or resource_path. To specify more then one option, use a -pragma entry for each option specified.
- -C Configuration File
- Specifies the path and file name of the configuration file used with the transform.
You can use the default configuration file supplied with the afp2pdf transform, or you can copy the default configuration file and modify it as appropriate.
The configuration file contains option-value pairs. If you specify multiple -C options on the command line, the configuration files are processed in the order that
you specify them and the results are additive.
Note: If no -C parameter is specified, the default configuration file is used. The default afp2pdf configuration file is located in:
- For AIX or Linux
- For Windows
- -P 6986 | port DEFAULT=6986
- Specifies the port number afp2pdf uses to make a connection with the Transform Manager (set by the -S flag). If you specify the -P flag, you must also specify the -S flag. And conversely, if you specify the -S flag, you must also specify the -P flag.
- The default port number if InfoPrint Manager is connected to Transform Manager.
- The port number you specify if InfoPrint Manager is connected to Transform Manager
- -S SeverName
- Specifies the name of the system on which the Transform Manager is running. The value
Note: If you specify the -P flag, you must also specify the -S flag. And conversely, if you specify the -S flag, you must also specify the -P flag.
- Any valid workstation name on which the Transform Manager is installed and running. The name is defined in /etc/hosts file or by a name server, and can be a nickname like molly, or a dotted decimal address like 126.96.36.199.
- Specifies verbose information will be generated to
- Specifies the AFP input file to be transformed. This parameter is required.