SAP Function RSPO_OUTPUT_POSTSCRIPT -

Parameter Reference Type Length Default Optional Text
DEVICE TSP03-PADEST C 4 ' ' X Output device (' ' = ask interactively)
LOCATION 0 'db' X Storage Location ('db' Database, '&G' File System)
PAGES RSPOTYPE-PAGES I 4 1 X No. of output pages (info only)
RQTITLE 0 ' ' X Title of spool request

Parameter Reference Type Length Text
RQID TSP01-RQIDENT I 4 Spool request number used

Parameter Reference Length Optional Text
POSTSCRIPT_DATA 0 PostScript data that is output

Exception Text
CANCELED_BY_USER Cancelled by user
DEVICE_TYPE_BAD Type of output device is unsuitable
DEVICE_TYPE_UNKNOWN Unknown device type
DEVICE_UNKNOWN Unknown output device
INTERNAL_ERROR Internal error in FM

Functionality
Prints Postscript data, which is to be delivered in an internal table.
This function module performs the user dialog for determining theoutput device, number of copies etc. (Function module'GET_PRINT_PARAMETERS' is used for this.)

Required tables
POSTSCRIPT_DATA
Table with ready and complete Postscript text. It must contain thecorrect leader, character set, trailer etc. Each line in the table issend as a line to the output device.

Required input parameters
None

Optional input parameters
DEVICE
Output device
If this parameter is missing or empty, the function module becomesinteractive and asks. You can then influence other parameters (such asnumber of copies, title page etc.) and search for devices with [F4].
If the parameter is filled, processing takes place in the background.Terminations can then occur if the device specified does not exist oris not suitable.
RQTITLE
The title of the spool request to be created. It can be seen intransaction 'SP01' and the host spooler, and is printed on the SAPcover sheet.
PAGES
Number of pages. This serves as information on the size of the requestin transaction 'SP01'.

Output parameters (optional)
RQID
The spool request number allocated by the spooler.

Example
See test report 'RSPO0044'.

Notes
You can only use output devices whose device type works with the'X_POSTSCRIPT' format.
In the current version, all blank characters contained in the table aresent to the printer. This is superfluous for Postscript, but does noharm.

Further information
Function module 'GET_PRINT_PARAMETERS'