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

  • 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: number = 4

The Client Printer ID

Accessors

  • get dnsName(): string
  • set dnsName(value: string): void
  • Gets or sets the DNS name assigned to the printer. Default is an empty string

    Returns string

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

    Parameters

    • value: string

    Returns void

  • get ipAddress(): string
  • set ipAddress(value: string): void
  • Gets or sets the Internet Protocol (IP) address assigned to the printer. Default value is null (Nothing)

    Returns string

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

    Parameters

    • value: string

    Returns void

  • get port(): number
  • set port(value: number): void
  • Gets or sets the port number assigned to the printer. Default value is 0

    Returns number

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

    Parameters

    • value: number

    Returns void

Methods

  • serialize(): string
  • The Client Printer serialization.

    Returns string