Flags and values

This section describes the afp2pdf transform flags.
-pragma {aligntext={0 | 90 | 180 | 270} | fdef = form definition}
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 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 desired.
    Note:
  • When you specify aligntext, you must specify the = sign. For example, aligntext=90.
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,
-pragma fdef=F1A10110
If 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 specify -pragma, you can specify aligntext or fdef, but not both. If you want to specify both, you need two separate -pragma entries.
-v
Specifies that verbose information is generated to stderr.
afpfile
Specifies the AFP input file to be transformed. This parameter is required.