Flags

This section describes the flags for the sap2afp transform:
-x
Specifies that resources found in the pagedef.tab are to be used for the transform. You can use this flag to transform an SAP Output Text Format (OTF) or Advanced Business Application Programming (ABAP) file into an AFP data stream file.
-formdef=formdefname
Specifies the name of the form definition to be used to transform an SAP Output Text Format (OTF) file into an AFP data stream file.
-is {1 | 3}
Specifies the interchange set version.

Values are:

1
This is the default value.
3
If you specify 3, the output is IS/3 compliant.
    Note:
  • Any other value different than 1 or 3 is signaled as an error.
  • When using the sap2afp transform command to convert an ABAP file by specifying 3 as a value for the -is flag, it does not create IS/3 compliant AFP output. The sap2afp transform command creates IS/3 compliant AFP output only when the input file is an OTF file.
  • When you use the -is3 flag, the sap2afp transform uses TrueType fonts instead of FOCA fonts. The default TrueType fonts that the sap2afp transform uses are the WorldType Fonts, Version 8.13. You can specify your choice of TrueType fonts in the sap2afp configuration files: fonts.tab.unicode.truetype and pagedef.tab.unicode.truetype. See The sap2afp configuration files for more information.

-pagedef=pagedefname
Specifies the name of the page definition to be used to transform an Advanced Business Application Programming (ABAP) file into an AFP data stream file.
-chars=char1_name,char2_name
Specifies the name of the fonts to be used by ACIF in order to transform an Advanced Business Application Programming (ABAP) file into an AFP data stream file in a non-Unicode environment.
-environment {normal | japanese | spchinese | tdchinese | korean | cyrillic | unicode}
Specifies one of the legal values for the possible environments. You can only use this flag when you are transforming an ASCII-encoded ABAP file.
-t
Traces program execution.
-g
Invokes the Graphics Object Content Architecture (GOCA) feature of the printer device. The GOCA feature lets you print boxes with four different levels of shading, and clear and solid boxes.
-a {FS10 | FS45}
Specifies the type of AFP image output that the transform generates from SAP OTF color image input:
  • FS10 generates bi-level output.
  • FS45 generates color IOCA FS45 output.
The default value is FS10.
-r { 240 | 300 | 360 | 480 | 600 | 720 | 1200}
Specifies the printer resolution as dots-per-inch (DPI) used to print image data in the job. If you do not specify the -r flag, the DEFRES value in the image.tab file is used. In the image.tab file shipped with InfoPrint Manager Transform Feature, the DEFRES value is 600.
-fdeflib=pathname
Specifies the pathname for the form definition resources. You can only use this flag when you are transforming an ABAP file.
-fontlib=pathname
Specifies the pathname for the font resources. You can only use this flag when you are transforming an ABAP file.
-ovlylib=pathname
Specifies the pathname for the overlay resources. You can only use this flag when you are transforming an ABAP file.
-pdeflib=pathname
Specifies the pathname for the page definition resources. You can only use this flag when you are transforming an ABAP file.
-pseglib=pathname
Specifies the pathname for the page segment resources. You can only use this flag when you are transforming an ABAP file.
-reslib=pathname
Specifies the pathname for the system resources. You can only use this flag when you are transforming an ABAP file.
-userlib=pathname
Specifies the pathname for the user resources. You can only use this flag when you are transforming an ABAP file.
-abapcp filename
Specifies the filename to use instead of the information in the default defcp tab file selected. You can only use this flag when you are transforming an ABAP file, or in combination with the -useascii flag.
-pagedeftab filename
Specifies the pathname to use instead of the information in the default pagedef tab file selected.
-imagetab filename
Specifies the pathname to use instead of the information in image