Export.PDF.XSLFOP.Print
property (DataWindow object)
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.
Applies to
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Export.PDF.XSLFOP.Print |
Describe argument:
|
1 |
"DataWindow.Export.PDF.XSLFOP.Print { = 'value' }" |
|
Parameter |
Description |
|---|---|
|
value |
(exp) Whether the exported PDF is sent directly to 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 NativePDF! or 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 2 3 4 5 |
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) |
See also