Use the AFPFMDEF utility to create an AFP form definition resource file from a DAT file (see the example below).
AFPFMDEW /I
| Parameter | Description | 
| /I | The data file's first two characters must be F1. | 
The AFP form definition resource file defines certain print attributes, such as paper size, orientation, and duplex settings. This utility takes a text file with a DAT extension and compiles it into an AFP form definition resource file which is installed on the AFP printer.
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.