Introduction - If you have any usage issues, please Google them yourself
Call the API pop-up printer properties dialog
Author:vitoriatang
From:Internet
.NET Framework encapsulates many dialogs about printing, such as PrintDialog, PageSetupDialog.
But sometimes we need to care about the printer properties dialog box, so you can call API to solve this problem. There are several API functions related to it
PrinterProperties
DocumentProperties
OpenPrinter
ClosePrinter
Introduce one by one
Printerproperties
Display the printer properties dialog.
Documentproperties
Display the printer configuration dialog.
Openprinter
Open the printer
Closeprinter
Close the printer