Visual Basic: CommonDialog Control
CommonDialog Control (Print Dialog)
The Print dialog is displayed by using the ShowPrinter method of the CommonDialog control. The Print dialog box allows the user to specify how output should be printed. The user can specify a range of pages to be printed, a print quality, a number of copies, and so on. This dialog box also contains information about the currently installed printer and allows the user to configure or reinstall a new default printer.
Note This dialog box does not send data to the printer but lets the user specify how they want data printed. If the PrinterDefault property is True, you can use the Printer object to print data in the format they select.
At run time, when the user makes selections in the Print dialog box, the following properties contain information about the user's selection.
Property Determines
Copies The number of copies to print.
FromPage The page to start printing
ToPage The page to stop printing
hDC The device context for the selected printer.
Сейчас этот форум просматривают: Yandex-бот и гости: 130