Ink choice on the Dymo page, and a font warning

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vunz4VLxAYDBnU5tLciLDC
This commit is contained in:
jessikittyandClaude Opus 5 committed 2026-10-13 12:05:21 +11:00
1 parent 84049211f5
commit ca0cde198b
1 file changed
+31 -8
+31 -8
View File
@@ -79,15 +79,19 @@
{% if sheet.centre %}checked{% endif %}> {% if sheet.centre %}checked{% endif %}>
Centre on the sticker Centre on the sticker
</label> </label>
<label class="d-flex align-items-center gap-2" style="font-size:12px;"> <label class="fld mt-2">Ink</label>
<input type="checkbox" name="monochrome" value="1" <select name="ink" class="w-100" id="inkSelect">
{% if sheet.monochrome %}checked{% endif %}> {% for key, text in ink_modes %}
Monochrome (thermal) <option value="{{ key }}" {% if key == sheet.ink %}selected{% endif %}>{{ text }}</option>
</label> {% endfor %}
</select>
<div class="k mt-1" style="text-transform:none;"> <div class="k mt-1" style="text-transform:none;">
A LabelWriter is direct thermal: black dots on white, no A LabelWriter is direct thermal: each dot is burnt or it
colour and no greys of its own. Converting here means the isn't, with no colour and no greys in between. LIM makes
preview shows what will actually come out. that choice here rather than leaving it to the driver,
whose halftoning turns 2mm letters to mush. Keep
<em>Crisp</em> unless the part photo matters more than
the words.
</div> </div>
</div> </div>
</div> </div>
@@ -168,6 +172,25 @@
</div> </div>
<div class="col-lg-8"> <div class="col-lg-8">
{% if font_info.kind != 'system' %}
<div class="bl-panel">
<div class="bl-panel-body">
<span class="bl-tag {{ 'err' if not font_info.scalable else 'warn' }}">Font</span>
{% if font_info.scalable %}
Labels are being drawn with {{ font_info.name }}. It works, but
installing a proper font on the server gives better letterforms:
<code>apt install fonts-dejavu-core</code>, or set
<code>LABEL_FONT</code> to a .ttf file.
{% else %}
No scalable font on this server, so labels will print about a
millimetre tall whatever <em>Text size</em> says. Install
<code>fonts-dejavu-core</code> (or set <code>LABEL_FONT</code> to a
.ttf) and print again.
{% endif %}
</div>
</div>
{% endif %}
<div class="bl-panel"> <div class="bl-panel">
<div class="bl-panel-head"><span>Print</span></div> <div class="bl-panel-head"><span>Print</span></div>
<div class="bl-panel-body"> <div class="bl-panel-body">