Setting that enables you to send a DataWindow object directly to a printer using platform-independent Java printing when using the XSL-FO method to export to PDF. This is an option of the Apache FOP processor.
DataWindow objects
PowerBuilder dot notation:
dw_control.Object.DataWindow.PDF.XSLFOP.Print
Describe argument:
"DataWindow.PDF.XSLFOP.Print { = 'value ' }"
Parameter |
Description |
---|---|
value |
(exp) Whether the exported PDF is sent directly to the default printer. Values are:
|
Set this property if you are using the XSL-FO method to export a DataWindow object to a PDF file and you want to send the PDF file directly to a printer. The PDF file is always printed to the default system printer. The DataWindow.Printer property setting is ignored.
This property has no effect if the Export.PDF.Method property is set to Distill!.
On the Data Export page in the Properties view for the DataWindow object, select PDF from the Format to Configure list and XSLFOP! from the Method list, and then select Print Using XSLFOP.
This example specifies the XSLFOP! method for PDF export, sets the XSLFOP.Print property, and saves the data to a file called printed.pdf, which is sent directly to the default printer:
int li_ret dw1.Object.DataWindow.Export.PDF.Method = XSLFOP! dw1.Object.DataWindow.Export.PDF.xslfop.print='Yes' li_ret = dw1.SaveAs("printed.pdf", PDF!, true)