'Declaration
Public Function PrintSetActivePrinter( _ ByVal PrinterName As String _ ) As Boolean
public bool PrintSetActivePrinter( string PrinterName )
public function PrintSetActivePrinter( PrinterName: String ): Boolean;
public function PrintSetActivePrinter( PrinterName : String ) : boolean;
public: bool PrintSetActivePrinter( string* PrinterName )
public: bool PrintSetActivePrinter( String^ PrinterName )
Parameters
- PrinterName
- The name of the printer you want to set up as an active printer to be used for subsequent printing.
Return Value
true if the method has been followed successfully, otherwise false.
Please use the GetStat method or the PrintGetStat method to determine the specific reason for the method's failure.