diff --git a/pyipp/const.py b/pyipp/const.py index e9b6df863..c2feb6a85 100644 --- a/pyipp/const.py +++ b/pyipp/const.py @@ -31,6 +31,7 @@ "printer-uri-supported", "device-uri", "printer-is-shared", + "printer-more-info", ] DEFAULT_PORT = 631 diff --git a/pyipp/models.py b/pyipp/models.py index cec36d2d7..f23cdcb2a 100644 --- a/pyipp/models.py +++ b/pyipp/models.py @@ -25,6 +25,7 @@ class Info: serial: Optional[str] = None uuid: Optional[str] = None version: Optional[str] = None + more_info: Optional[str] = None @staticmethod def from_dict(data: dict): @@ -83,6 +84,8 @@ def from_dict(data: dict): uptime=data.get("printer-up-time", 0), uuid=uuid[9:] if uuid else None, # strip urn:uuid: from uuid version=data.get("printer-firmware-string-version", None), + more_info=data.get("printer-more-info", None) + )