diff --git a/index.js b/index.js index 77d28da..c2fd399 100644 --- a/index.js +++ b/index.js @@ -51,6 +51,10 @@ function textTripleSize() { return "\x1D\x21\x22"; // GS ! 34 → triple (si la impresora lo soporta) } +function textQuadSize() { + return "\x1D\x21\x33"; // GS ! 34 → triple (si la impresora lo soporta) +} + function textFifthSize() { return "\x1D\x21\x44"; // GS ! 34 → triple (si la impresora lo soporta) } @@ -335,8 +339,8 @@ async function ticketDPSTockGondola( // Encabezado ticket += init(); ticket += left(); - ticket += textDoubleWidth() + nombre + textNormal() + line(1); - ticket += textFifthSize() + boldOn() + "$" + top_price + textNormal() + line(); + ticket += textDoubleSize() + nombre + textNormal() + line(1); + ticket += textQuadSize() + boldOn() + "$" + top_price + textNormal() + line(); ticket += textTripleSize() + "x unidad" + textNormal() + boldOff() + line(); if (off) {