Update label margins to match Brother QL-820NWB: 0/0/2mm/0.5mm
Deploy to LXC / deploy (push) Successful in 20s

Set @page margins to top:0 right:0.5mm bottom:0 left:2mm matching
the working configuration found for DK-11209 labels. Updated setup
hint text on all print pages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 09:43:10 +07:00
parent 142b27301b
commit bb125396f2
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -26,7 +26,7 @@
</button> </button>
</div> </div>
<div style="background: #f3f4f6; padding: 8px 12px; border-radius: 6px; font-size: 12px; color: #666; margin-bottom: 16px;"> <div style="background: #f3f4f6; padding: 8px 12px; border-radius: 6px; font-size: 12px; color: #666; margin-bottom: 16px;">
<strong>Setup:</strong> Brother QL-820NWB, paper "29mm x 62mm" (DK-11209), margins minimum. <strong>Setup:</strong> Brother QL-820NWB, paper "29mm x 62mm" (DK-11209), margins: top 0, bottom 0, left 2mm, right 0.5mm.
</div> </div>
</div> </div>
@@ -59,7 +59,7 @@
<style> <style>
@page { @page {
size: 62mm 29mm; size: 62mm 29mm;
margin: 0; margin: 0mm 0.5mm 0mm 2mm;
} }
@media print { @media print {
.no-print { display: none !important; } .no-print { display: none !important; }
@@ -34,7 +34,7 @@
</div> </div>
</div> </div>
<div style="background: #f3f4f6; padding: 8px 12px; border-radius: 6px; font-size: 12px; color: #666; margin-bottom: 16px;"> <div style="background: #f3f4f6; padding: 8px 12px; border-radius: 6px; font-size: 12px; color: #666; margin-bottom: 16px;">
<strong>Setup:</strong> Brother QL-820NWB, paper "29mm x 62mm" (DK-11209), margins minimum. <strong>Setup:</strong> Brother QL-820NWB, paper "29mm x 62mm" (DK-11209), margins: top 0, bottom 0, left 2mm, right 0.5mm.
</div> </div>
</div> </div>
@@ -61,7 +61,7 @@
<style> <style>
@page { @page {
size: 62mm 29mm; size: 62mm 29mm;
margin: 0; margin: 0mm 0.5mm 0mm 2mm;
} }
@media print { @media print {
.no-print { display: none !important; } .no-print { display: none !important; }
@@ -34,7 +34,7 @@
</div> </div>
</div> </div>
<div style="background: #f3f4f6; padding: 8px 12px; border-radius: 6px; font-size: 12px; color: #666; margin-bottom: 16px;"> <div style="background: #f3f4f6; padding: 8px 12px; border-radius: 6px; font-size: 12px; color: #666; margin-bottom: 16px;">
<strong>Setup:</strong> Brother QL-820NWB, paper "29mm x 62mm" (DK-11209), margins minimum. <strong>Setup:</strong> Brother QL-820NWB, paper "29mm x 62mm" (DK-11209), margins: top 0, bottom 0, left 2mm, right 0.5mm.
</div> </div>
</div> </div>
@@ -67,7 +67,7 @@
<style> <style>
@page { @page {
size: 62mm 29mm; size: 62mm 29mm;
margin: 0; margin: 0mm 0.5mm 0mm 2mm;
} }
@media print { @media print {
.no-print { display: none !important; } .no-print { display: none !important; }