This commit is contained in:
martin
2025-10-30 15:31:23 -03:00
parent 0bf5031982
commit 6cf5c02fa4

View File

@@ -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) {