Print worker
{% if worker.status == "running" %}
running
{% else %}
{{ worker.status }}
{% endif %}
{% if worker.worker_error %}
{{ worker.worker_error }}
{% endif %}
Printer
{% if not printer_reachable %}
unreachable
{% elif not printer_supported %}
ready
{% elif printer_status and printer_status.ready and not printer_status.error %}
ready
{% else %}
attention
{% endif %}
{% if not printer_reachable %}
{{ printer_error }}
{% elif not printer_supported %}
status not reported by this printer (printing still works)
{% elif printer_status %}
{% if printer_status.head_opened %}head open · {% endif %}
{% if printer_status.paper_empty %}paper out · {% endif %}
{% if printer_status.ribbon_empty %}ribbon out · {% endif %}
{% if printer_status.paper_jam %}jam · {% endif %}
{% if printer_status.paused %}paused · {% endif %}
{% if printer_status.ready and not printer_status.error %}ok{% endif %}
{% endif %}
{% if printer_info %}
Device
{% if autodetected %}auto-detected
{% else %}pinned{% endif %}
{{ printer_info.selector }}
{% if printer_info.description %}- Name
- {{ printer_info.description }}
{% endif %}
- USB id
- {{ printer_info.vendor_id }}:{{ printer_info.product_id }}
{% if printer_info.serial %}- Serial
- {{ printer_info.serial }}
{% endif %}
{% if printer_info.port_path %}- Port path
- {{ printer_info.port_path }}
{% endif %}
{% if printer_info.device_path %}- Device path
- {{ printer_info.device_path }}
{% endif %}
{% if printer_info.bus is not none and printer_info.address is not none %}- Bus / address
- {{ printer_info.bus }} / {{ printer_info.address }}
{% endif %}
{% if autodetected %}
Auto-detected. For a stable setup, pin this printer by setting
PRINTER_USB={{ printer_info.selector }} in your environment.
{% endif %}
{% endif %}