PrintManager.SelectNewPrintDriver
Method
Description:
Select a new printer.
Select a new printer.
Remarks:
This property is the global print setting property for all documents.
This property is the global print setting property for all documents.
Parameters
Parameter | Type | Description |
---|---|---|
strPrinterName | String | The name string of new printer. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input argument-strPrinterName-is. |
InvalidOperationException | Thrown when the assigned new printer is invalid, or the print resource is occupied by others. |