|  Previous |  Next | 
This function returns a document as BLOB using XML based report data and RTF or XSL-FO based report layout.
Syntax
APEX_UTIL.GET_PRINT_DOCUMENT (
    p_report_data         IN BLOB,
    p_report_layout       IN CLOB,
    p_report_layout_type  IN VARCHAR2 default 'xsl-fo',
    p_document_format     IN VARCHAR2 default 'pdf',
    p_print_server        IN VARCHAR2 default NULL)
RETURN BLOB;
Parameters
Table: GET_PRINT_DOCUMENT Parameters describes the parameters available in the GET_PRINT_DOCUMENT function.
GET_PRINT_DOCUMENT Parameters
| Parameter | Description | 
|---|---|
| 
 | XML based report data | 
| 
 | Report layout in XSL-FO or RTF format | 
| 
 | Defines the report layout type, that is "xsl-fo" or "rtf" | 
| 
 | Defines the document format, that is "pdf", "rtf", "xls", "htm", or "xml" | 
| 
 | URL of the print server. If not specified, the print server will be derived from preferences. | 
For a GET_PRINT_DOCUMENT example see "GET_PRINT_DOCUMENT Function Signature 4".