{% extends "modern/base.html" %} {% block title %}{{ printer_name }} - Zebra Day{% endblock %} {% block content %}
Dashboard / Printers / {{ lab_name | default(lab) }} / {{ printer_name }}
{% if live_status %}

Live Status

Refresh
Status
{% if live_status.online %} {% if live_status.paper_out or live_status.ribbon_out or live_status.head_up %} Error {% elif live_status.paused %} Paused {% else %} Online {% endif %} {% else %} Offline {% endif %}
Firmware
{{ live_status.firmware | default('—') }}
DPI
{{ live_status.dpi | default('—') }}
Labels Printed
{{ live_status.label_count | default('—') }}
{% if live_status.online %}
Paper
{% if live_status.paper_out %} Out {% else %} OK {% endif %}
Ribbon
{% if live_status.ribbon_out %} Out {% else %} OK {% endif %}
Printhead
{% if live_status.head_up %} Open {% else %} Closed {% endif %}
Print Queue
{% if live_status.paused %} Paused {% else %} Ready {% endif %}
{% endif %} {% if live_status.odometer and live_status.odometer.raw %}
Odometer (Raw)
{{ live_status.odometer.raw }}
{% endif %}
{% endif %}

Printer Information

{% if printer_info.ip_address != 'dl_png' %} Web Interface {% endif %}
{% if printer_info.notes %} {% endif %}
Printer ID {{ printer_id }}
Display Name {{ printer_info.printer_name | default('Not set', true) }}
Location {{ printer_info.lab_location | default('Not set', true) }}
Manufacturer {{ printer_info.manufacturer | default('zebra') | title }}
Model {{ (live_status.model if live_status and live_status.model else printer_info.model) | default('Unknown') }}
Serial {{ (live_status.serial if live_status and live_status.serial else printer_info.serial) | default('Unknown') }}
State {% if printer_info.state == 'Ready' %} Ready {% elif printer_info.state == 'Paused' %} Paused {% elif printer_info.state == 'Error' %} Error {% elif printer_info.state == 'Offline' %} Offline {% else %} Unknown {% endif %}
LSMC EUID {% if printer_info.lsmc_euid %} {{ printer_info.lsmc_euid }} {% else %} Not set {% endif %}
IP Address {% if printer_info.ip_address != 'dl_png' %} {{ printer_info.ip_address }} {% else %} {{ printer_info.ip_address }} {% endif %}
Print Method {{ printer_info.print_method | default('socket') }}
Label Styles {% for style in printer_info.label_zpl_styles %} {{ style }} {% endfor %}
Default Label Style {% if printer_info.default_label_style %} {{ printer_info.default_label_style }} {% else %} {{ printer_info.label_zpl_styles[0] if printer_info.label_zpl_styles else 'None' }} (first in list) {% endif %}
Notes {{ printer_info.notes }}

Edit Settings

User-friendly name for this printer
{% if available_locations %} {% else %} Define locations at the lab level first {% endif %}
Style used when printing without specifying a template
Lab Sample Management Container Enterprise Unique ID (no leading zeros)

Quick Actions

Print Label Send a print request
View Templates Available label styles
Back to Lab View all printers
{% if printer_config %}

Printer Configuration

{{ printer_config }}
{% endif %}

Test Print

Send a test label to verify the printer is working correctly.

{% for style in printer_info.label_zpl_styles[:6] %}
{{ style }} Test print
{% endfor %}
{% endblock %}