Print: set font on bank-receipt

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

View File

@ -541,6 +541,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()));