The Output Text Format (OTF) is the established SAP output format for printing forms. It consists of a number of simple, device-independent commands, thus allowing output to be directed to different output devices such as line printers and laser printers, or as an on-screen print preview. OTF is an explicit output format, which means that once SAP Smart Forms has generated an OTF output, no modifications can be made.
OTF is set as the default in the
OTF is usually output usingspool processing. For this output, a printer must be set up in the system with a device type that understands OTF.
You can convert OTF into other formats:
Activating OTF Statically
In the Form Attributes in the Form Builder, go to the Output Options tab page and set the Output Format in the Output box to Standard Output. The attributes Output Mode and Output Device are not filled and are locked.
By default, OTF output is sent tospool processing. The printer specified in the printer settings is used as the output device (prerequisite: the standard parameter USER_SETTINGS is set; otherwise a printer must be specified either dynamically using the spool settings or manually in the spool dialog).
For information on other output options, seeOutput Media.
Activating OTF Dynamically
There is no standard parameter for activating OTF output dynamically. OTF is the default output format. To override this setting, activate eitherXSF output, HTML output, or XDF output. However, even if one of these output formats is set in the form, you can still use OTF output:
data: output_options type SSFCOMPOP.
* Deactivate XDF
output_options-xdfcmode = 'X'.
output_options-xdf = SPACE.
* Deactivate XSF and XSF + HTML
output_options-xsfcmode = 'X'.
output_options-xsf = SPACE.