Show / Hide Table of Contents

Class InstalledPrinter

It represents a printer installed in the client machine with an associated OS driver.

Inheritance
System.Object
ClientPrinter
InstalledPrinter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:Neodynamic.SDK.Web
Assembly:Neodynamic.SDK.WebClientPrint.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
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com