Connecting a new format to a device type
To use the format you created, you must connect the format to a device type by doing these steps:
- From the R/3 main menu, access the Spool Administration window by selecting the Tools main menu and then selecting the Tools → Administration → Spool → Spool Administration path. or typing
/nSPAD
in the ok-Code field. - From the Spool Administration: Initial Screen window, select the Device formats option and click Change.
- From the Spool Administration: Choose Format for Device Type window, specify the Device
Type (link to creating custom device types) and your customized Format name (in this
case,
Z_65_255_DOC
orZLETDOC
) in the appropriate fields.Note: All ABAP customized user Formats follow the naming convention of Z_number-of-rows_number-of-columns_descriptive-text. - Click Execute.
- From the Maintain Format for Device Type window, the blank left column indicates that the customized format has not yet been initialized.
- Click Copy format.
- From the Spool Administration: Copy Format window, you can see that the system has filled in the information from the Maintain Format for Device Type window.
- Press the Copy from button to initialize your new Format.
- Click the back icon (the left-pointing arrow) and the system prompts you to save the new format.
- Access the pagedef.tab configuration file that is located in the /usr/lpp/psf/sap2afp directory on an InfoPrint Manager AIX or InfoPrint Manager Linux server and the install_path\sap2afp folder on an InfoPrint Manager Windows server.
- In the pagedef.tab configuration file, create a new entry for the format that you
just created. If you are printing landscape, specify
F1C10011
as the form definition value.Note: All fields must be specified in pagedef.tab. However, for OTF printing, only the form definition value is used, while ABAP printing uses all values. - Exit and save the pagedef.tab configuration file.