Options
All
  • Public
  • Public/Protected
  • All
Menu

It represents a Network IP/Ethernet printer which can be reached from the client machine.

Hierarchy

  • NetworkPrinter

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new NetworkPrinter(port: number, ipAddress?: string, dnsName?: string): NetworkPrinter
  • Creates an instance of the NetworkPrinter class with the specified IP Address / DNS Name and port number.

    Parameters

    • port: number

      The port number assigned to the printer.

    • Optional ipAddress: string

      The Internet Protocol (IP) address assigned to the printer.

    • Optional dnsName: string

      The DNS name assigned to the printer.

    Returns NetworkPrinter

Properties

Id

Id: string = String.fromCharCode(4)

Accessors

dnsName

dnsName:

Gets or sets the DNS name assigned to the printer. Default is an empty string

ipAddress

ipAddress:

Gets or sets the Internet Protocol (IP) address assigned to the printer. Default value is null (Nothing)

port

port:

Gets or sets the port number assigned to the printer. Default value is 0

Methods

serialize

  • serialize(): string