Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Export.PDF.Distill.CustomPostScript – PB Docs 2022 – PowerBuilder Library

Export.PDF.Distill.CustomPostScript – PB Docs 2022

Export.PDF.Distill.CustomPostScript

property (DataWindow object)

Description

Setting that enables you to specify the PostScript printer driver
settings used when data is exported to PDF using the Distill!
method.

Applies to

DataWindow objects

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

value

(exp) Whether the printer specified in the
DataWindow.Printer property is used when data is exported to
PDF.

Values are:

  • 1 — The printer specified in DataWindow.Printer is
    used for PDF export.

  • 0 — The default printer is used for PDF export
    (default).

Usage

The Distill! method performs a PostScript “print to file” before
distilling to PDF. This property can be set to specify that you want to
use a custom PostScript printer before you call the SaveAs method with
PDF! as the SaveAsType or select File>Save Rows As with the file type
PDF in the DataWindow painter.

Set this property if you want to use a PostScript printer driver
for which you have set specific print options such as options for font
and graphic handling. If this property is not set, a default PostScript
printer driver specifically designed for distilling purposes is
used.

This property has no effect if the Export.PDF.Method property is
set to NativePDF!.

In the painter

In the Data Export tab in the Properties view for the DataWindow
object, select “PDF” from the Format to
Configure
list and “Distill!” from the Method list, and then select “Distill Custom
PostScript”.

Examples

This example specifies an HP LaserJet PostScript printer as the
printer to be used to export PDF with customized settings, and saves the
data to a file called custom.pdf:

This example uses Modify to set the PDF export properties and
specify a network printer:

See also

Export.PDF.Method


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x