Options
All
  • Public
  • Public/Protected
  • All
Menu

This class defines an IP-enabled printer to use with the Cloud Office Print server.

Hierarchy

  • Printer

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Printer(location: string, version: string, requester?: string, jobName?: string): Printer
  • Parameters

    • location: string

      IP address of the printer

    • version: string

      IPP version

    • requester: string = 'Cloud Office Print'

      the name of the requester; defaults to 'Cloud Office Print'

    • jobName: string = 'Cloud Office Print'

      the name of the print job; defaults to 'Cloud Office Print'

    Returns Printer

Properties

jobName

jobName: string

location

location: string

requester

requester: string

version

version: string

Methods

asDict

  • asDict(): { job_name: string; location: string; requester: string; version: string }
  • The dict representation of this Printer object.

    Returns { job_name: string; location: string; requester: string; version: string }

    The dict representation of this Printer object.

    • job_name: string
    • location: string
    • requester: string
    • version: string

Generated using TypeDoc