PrintSetup PowerScript function
Description
Calls the Printer Setup dialog box provided by the system
printer driver and lets the user specify settings for the printer.
Syntax
1 |
<span>PrintSetup</span> ( ) |
Return Values
Integer. Returns 1 if it succeeds and
-1 if an error occurs or if the application user clicks Cancel in
the Printer Setup dialog box.
Usage
The user’s settings have effect for the duration
of the application only. After the application exits, printer settings
revert to their previous values.
Examples
These statements call the Printer Setup dialog box
for the current system printer and then start a new print job:
1 |
long Job |
1 |
1 |
// Call the printer setup program. |
1 |
<span>PrintSetup</span>() |
1 |
1 |
// Start a job and a new page. |
1 |
Job = PrintOpen() |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest