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
andpagedef.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.
- -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 theimage.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.tab
. - -centerlines
- Specifies the use of the SAP specification for centering BX boxes.
- -gocatext
- Specifies the use of GOCA fonts from the 6400fonts.tab for ST text data.
- -sap_bc_origin
- Specifies the SAP bar code orientation point as the lower left corner.
- -truetype
- Specifies the use of TrueType fonts. In the Unicode environment, it uses the configuration
files
fonts.tab.unicode.truetype
andpagedef.tab.unicode.truetype
which map the TrueType fonts. For SAP OTF input files with TrueType inline fonts, the transform will output AFP data containing the referenced TrueType fonts as inline resources. - -useascii
- Specifies that data should be interpreted as ASCII in SAPGOF OTF files, with ST commands that use Unicode codepages CP4102 or CP4103. If data is not interpreted as ASCII, any non-Unicode codepage file is specified using the -abapcp flag.
- -sapgof_st_chars
- Specifies that the OTF input file was generated using the
SAPGOF_ST_CHARS: X
entry from the SAP Unicode System. Using this flag, the sap2afp transform detects that for Unicode codepages the ST and BC commands counters are halved. They are also doubled internally, so that the SAP file is correctly processed. This parameter is ignored for ABAP files. - -is3
- Specifies that the transform produce IS/3 compliant datastreams.
- Note:
- 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
andpagedef.tab.unicode.truetype
. See The sap2afp configuration files for more information.
- 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:
- -S ServerName
- Specifies the name of the server to be used for processing.
- -P PortNumber
- Specifies the port number that the server monitors (set by the -S flag).
- -o outfile
- Specifies the name of the output file.
- infile
- Specifies the name of the input file.
- -inlinefdefpath=path
- Specifies the search path for the used form definition, to include it inline in the
resource group of the AFP output file. The path value can consist of one or multiple paths. If you use multiple paths, separate the paths by semicolon [;] on Windows. The search order is given by the order you enter the paths. If you leave the value
empty, the search is carried out in the default
install_path\reslib
folder. - -?
- Displays the sap2afp help file.