Class NetworkPrinter
It represents a Network IP/Ethernet printer which can be reached from the client machine.
Inherited Members
Namespace:Neodynamic.SDK.Web
Assembly:cs.temp.dll.dll
Syntax
public class NetworkPrinter : ClientPrinter
Constructors
NetworkPrinter()
Creates an instance of the NetworkPrinter class.
Declaration
public NetworkPrinter()
NetworkPrinter(IPAddress, Int32)
Creates an instance of the NetworkPrinter class with the specified IP Address and port number.
Declaration
public NetworkPrinter(IPAddress ipAddress, int port)
Parameters
Type | Name | Description |
---|---|---|
IPAddress | ipAddress | The Internet Protocol (IP) address assigned to the printer. |
System.Int32 | port | The port number assigned to the printer. |
NetworkPrinter(String, Int32)
Creates an instance of the NetworkPrinter class with the specified DNS name and port number.
Declaration
public NetworkPrinter(string dnsName, int port)
Parameters
Type | Name | Description |
---|---|---|
System.String | dnsName | The DNS name assigned to the printer. |
System.Int32 | port | The port number assigned to the printer. |
Properties
DnsName
Gets or sets the DNS name assigned to the printer. Default is an empty string
Declaration
public string DnsName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IPAddress
Gets or sets the Internet Protocol (IP) address assigned to the printer. Default value is null (Nothing)
Declaration
public IPAddress IPAddress { get; set; }
Property Value
Type | Description |
---|---|
IPAddress |
Port
Gets or sets the port number assigned to the printer. Default value is 0
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |