SelectPrinterByName

Top  Previous  Next

[This method  is new in version 2.04 of Gnostice PDFtoolkit ActiveX/. NET]

 

The SelectPrinterByIndex method allow to programmatically select the printer to be used for printing.

This function selects specified for printing. It returns true, if the printer is selected.

 

Syntax

 

[VC++]

BOOL SelectPrinterByName(LPCTSTR PrinterName);

 

[CS]

public abstract new Boolean SelectPrinterByName ( String PrinterName )

 

[VB]

Function SelectPrinterByName(PrinterName As String) As Boolean