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: Optional[str] = None, state_reasons: Optional[List[str]] = None, location: Optional[str] = None, uri_supported: Optional[str] = None, make_and_model: Optional[str] = None, **kwargs)[source]

Bases: Response

__init__(*args, name: str, printer_type: int, info: str, uri: str, state: int, is_shared: bool, state_message: Optional[str] = None, state_reasons: Optional[List[str]] = None, location: Optional[str] = None, uri_supported: Optional[str] = None, make_and_model: Optional[str] = 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