Open WordSystem3 opened 2 years ago
// função de Imprimir ingresso const imprimirComanda = async () => { try { const Printer = printerList[tipoImpressora];
switch (impressora.tipo) { case 'ble': await BLEPrinter.connectPrinter( impressora?.inner_mac_address || '' ); break; case 'net': await NetPrinter.connectPrinter( '192.168.1.100', 9100 ); break; case 'usb': await USBPrinter.connectPrinter( impressora?.vendor_id || '', impressora?.product_id || '' ); break; default: } Printer.printImageBase64(imagemImpressao, { beep: true, imageWidth: 200, // largura da impressão imageHeight: 500, // altura da impressão paddingX: 100, // beep: false, // imageWidth: 600, // largura da impressão // imageHeight: 1200, // altura da impressão }); Printer.printBill(''); } catch (err) { console.warn(err); }
};
every image has a large white space i don't know why
I've the same problem, did you find any solution for that? @WordSystem3
did you find any solution for that?
I have the same problem, Please help me.
// função de Imprimir ingresso const imprimirComanda = async () => { try { const Printer = printerList[tipoImpressora];
};
every image has a large white space i don't know why