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 |
PrintSetup ( ) |
Return value
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 2 3 4 5 6 7 |
long Job // Call the printer setup program. PrintSetup() // Start a job and a new page. Job = PrintOpen() |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest