Print: set font on bank-receipt

This commit is contained in:
Siegfried Siegert 2024-01-08 17:10:16 +01:00
parent c679b489ba
commit bdb0f9911b
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -659,6 +659,7 @@ void ATBDeviceControllerPlugin::requestPrintReceipt(const QString & printingStri
{
QByteArray ba = printingString.toUtf8();
hw->prn_switchPower(true);
hw->prn_setFonts(8,12,0,0);
hw->prn_sendText(&ba);
QTimer::singleShot(4000, this, SLOT(onPrinterWaitForPrintingReceipt()));