Class InstalledPrinter
It represents a printer installed in the client machine with an associated OS driver.
Inherited Members
Namespace:Neodynamic.SDK.Web
Assembly:cs.temp.dll.dll
Syntax
public class InstalledPrinter : ClientPrinter
Constructors
InstalledPrinter()
Creates an instance of the InstalledPrinter class.
Declaration
public InstalledPrinter()
InstalledPrinter(String)
Creates an instance of the InstalledPrinter class with the specified printer name.
Declaration
public InstalledPrinter(string printerName)
Parameters
Type | Name | Description |
---|---|---|
System.String | printerName | The name of the printer installed in the client machine. |
InstalledPrinter(String, Boolean)
Creates an instance of the InstalledPrinter class with the specified printer name allowing to print to Default printer if not found.
Declaration
public InstalledPrinter(string printerName, bool printToDefaultIfNotFound)
Parameters
Type | Name | Description |
---|---|---|
System.String | printerName | The name of the printer installed in the client machine. |
System.Boolean | printToDefaultIfNotFound | Whether to use Default printer if the specified one is not found. |
InstalledPrinter(String, Boolean, String, String)
Creates an instance of the InstalledPrinter class with the specified printer name, tray and paper name.
Declaration
public InstalledPrinter(string printerName, bool printToDefaultIfNotFound, string trayName, string paperName)
Parameters
Type | Name | Description |
---|---|---|
System.String | printerName | The name of the printer installed in the client machine. |
System.Boolean | printToDefaultIfNotFound | Whether to use Default printer if the specified one is not found. |
System.String | trayName | The name of the tray supported by the client printer. |
System.String | paperName | The name of the Paper supported by the client printer. |
Properties
PaperName
Gets or sets the name of the Paper supported by the client printer. Default value is an empty string.
Declaration
public string PaperName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PrinterName
Gets or sets the name of the printer installed in the client machine. Default value is an empty string.
Declaration
public string PrinterName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PrintToDefaultIfNotFound
Gets or sets whether to print to Default printer in case of the specified one is not found or missing. Default is False.
Declaration
public bool PrintToDefaultIfNotFound { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TrayName
Gets or sets the name of the tray supported by the client printer. Default value is an empty string.
Declaration
public string TrayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |