RVTDocs.com
Namespace: Autodesk.Revit.DB Class: PrintManager

PrintManager.SelectNewPrintDriver

Method
Description:
Select a new printer.
Remarks:
This property is the global print setting property for all documents.
Syntax
public void SelectNewPrintDriver(
	string strPrinterName
)
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.