printer.cups#

class platypush.message.response.printer.cups.PrinterJobAddedResponse(*args, printer: str, job_id: int, **kwargs)[source]#

Bases: Response

__init__(*args, printer: str, job_id: int, **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.printer.cups.PrinterResponse(*args, name: str, printer_type: int, info: str, uri: str, state: int, is_shared: bool, state_message: str | None = None, state_reasons: List[str] | None = None, location: str | None = None, uri_supported: str | None = None, make_and_model: str | None = None, **kwargs)[source]#

Bases: Response

__init__(*args, name: str, printer_type: int, info: str, uri: str, state: int, is_shared: bool, state_message: str | None = None, state_reasons: List[str] | None = None, location: str | None = None, uri_supported: str | None = None, make_and_model: str | None = None, **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.printer.cups.PrintersResponse(*args, printers: List[PrinterResponse], **kwargs)[source]#

Bases: Response

__init__(*args, printers: List[PrinterResponse], **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp