diff --git a/pos/static/js/pos.js b/pos/static/js/pos.js index b76c024..d5c45d4 100644 --- a/pos/static/js/pos.js +++ b/pos/static/js/pos.js @@ -1665,10 +1665,12 @@ const POS = (() => { // Paper width: 58 mm -> 48 mm printable; 80 mm -> 72 mm printable. const paperWidth = parseInt(rc('paper_width', '80'), 10) || 80; const is58 = paperWidth === 58; - const printWidth = is58 ? 48 : 72; - const fontSize = is58 ? '9.5pt' : '11pt'; - const smallFont = is58 ? '8pt' : '9.5pt'; - const nameMax = is58 ? '17mm' : '32mm'; + // Lower virtual resolution: render on a narrower canvas so the printer + // driver scales content up, producing thicker/larger pixels. + const printWidth = is58 ? 42 : 64; + const fontSize = is58 ? '9pt' : '10.5pt'; + const smallFont = is58 ? '7.5pt' : '9pt'; + const nameMax = is58 ? '14mm' : '27mm'; let iframe = document.getElementById('ticketPrintFrame'); if (!iframe) { @@ -1691,7 +1693,7 @@ const POS = (() => {