Export.PDF.XSLFOP.Print DataWindow object property
Description
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.
Controls
DataWindow objects
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.DataWindow.PDF.XSLFOP.Print |
Describe argument:
1 |
"DataWindow.PDF.XSLFOP.Print { = '<span>value </span>' }" |
Parameter |
Description |
---|---|
value |
(exp) Whether the Values are:
|
Usage
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!.
In the painter
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.
Examples
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:
1 |
int li_ret<br> <br>dw1.Object.DataWindow.Export.PDF.Method = XSLFOP!<br>dw1.Object.DataWindow.Export.PDF.xslfop.print='Yes'<br>li_ret = dw1.SaveAs("printed.pdf", PDF!, true) |