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

PrintEx – PB Docs 2022 – PowerBuilder Library

PrintEx – PB Docs 2022

PrintEx

PowerScript function

Description

Prints the contents of a RichTextEdit control.

Applies to

RichTextEdit controls

Syntax

Argument

Description

rtename

The name of the RichTextEdit control whose contents you
want to print.

canceldialog

A boolean value indicating whether you want to display a
nonmodal Cancel dialog box that allows the user to cancel
printing. The System Print dialog box always displays. Values
are:

TRUE — Display the dialog box

FALSE — Do not display the dialog box

Return value

Integer. Returns 1 if it succeeds and -1 if an error occurs. If the
user presses Cancel in the Print dialog box, PrintEx returns -1. If the
user presses Cancel in the Cancel dialog box, PrintEx returns 1.

Usage

To specify a range of pages and the number of copies to print and
whether pages should be collated, use the Print function.

Examples

This statement prints the document in the RichTextEdit control
rte_1. A Cancel dialog box displays to allow the user to cancel the
printing:

See also

Preview

Print


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