You are here: Available Utilities > A > AFPFMDEF > Example

AFPFMDEF Example

Here is an example of AFPFMDEF:

AFPFMDEW /I=f1fsi.dat

The output file will have the same name as the data file, with an FDF extension.

Here is an example of a form definition DAT file:

******************************************************************

*

* FIELD LAYOUT

*

*;Medium Map Name;Medium Map Id;X Origin;Y Origin;Paper Size;Orientation;Copies;

*

* Stacking;Tray;Flash;Duplex;Print Quality;

*

* Medium Map Name => up to 8 character long use A-Z 0-9 $ # @

*

* Medium Map Id => 1 to 127

*

* X Origin => 0 to 32767

*

* Y Origin => 0 to 32767

*

* Paper Size => L Letter (default)

*   E Executive

* G Legal

* A A4

*

* Orientation => O1 - Portrait

* O2 - Landscape

* O3 - Portrait 90

* O4 - Landscape 90

*

* Copies => 1 to 255

*

* Stacking => Yes or No

*

* Tray => T1 - Source Drawer #1

* T2 - Source Drawer #2

* T3 - Source Drawer #3

* T4 - Manual Feed

* T5 - Envelopes

*

* Flash => Yes or No

*

* Duplex => Simplex, Duplex, or Tumble duplex

*

* Print Quality => Default, Lowest, or Highest

*

*------------------------------------------------

* Medium Map Name convention

*------------------------------------------------

* Position Values Description

* ======== ====== ===========

*    0            Orientation

*            L      Landscape

*            P      Portrait (default)

*    1            Papersize

*            E      Executive

*            G      Legal

*            A      A4

*            L      Letter (default)

*    2            Tray selection

*            M      Manual

*            F      Envelope feeder

*            L      Lower

*            U      Upper (default)

*    3            Duplex

*            L      Long binding

*            S      Short binding

*            O      Simplex

*            ?      Unknown (default)

*

*

******************************************************************

;B1;1;0;0;L;O1;1;Y;T1;Y;S;L;

*----Landscape [Paper Size] Upper Simplex

;LLUO;60;0;0;L;O2;255;Y;T1;Y;S;D;

A standard form definition file called F1FMMST is included with the system. It contains medium maps of all possible combinations of orientations, paper sizes, duplex mode and so on.

This form definition file should be resident on the printer. On z/OS, place it in a PDS which is available to the PSF procedure. On a Novell print server, define it as a device option in the printer profile in PSF2.