Show TOC

Background documentationSET_TASK_RENDERPDL Locate this document in the navigation structure

 

You use this method to instruct the PDF Document object to create PDL output (that is, output in a printer language). You must have called the methods SET_TEMPLATE and SET_DATA first. After SET_TASK_RENDERPDL, call EXECUTE. You get the PDL either by using the method GET_PDL or directly in the file in PDLFILE (if specified).

Import parameters

  • PDLTYPE TYPE STRING

    Specifies the printer language in which you want to create the PDL. Possible values are ps (PostScript), pcl, zpl, or pdf.

    Note Note

    These constants are also specified in c_file_typ_<xx> in the include FP_SPOOL_CONSTANTS.

    End of the note.
  • XDCNAME TYPE STRING

    Specifies the control file. You can use the function module ADS_GET_XDC_DATA to determine this file.

  • PDLFILE TYPE STRING OPTIONAL

    Specifies the file to which you want to write the PDL.

Exception class

  • CX_FP_RUNTIME_USAGE