Input and output

By default, img2afp reads data from the standard input and writes it to the standard output.

The output file name can be specified explicitly with the -o option. Input file names can also be specified on the command line.

By default, output is a printable document. Overlay, object, or page segment output can also be selected with the -pagetype option.

The MO:DCA structured fields are separated by the 0x5A separator in the output file unless the -no5a option is used.