diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 55b3e0d..a37f71a 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -726,7 +726,8 @@ void ATBDeviceControllerPlugin::requestPrintTicket(const QHashfromUnicode(currentDateString); memcpy((char*)dynTicketData->currentDate, ba_currentDate.data(), std::min(ba_currentDate.size(),8)); + // Ticket-Number + QByteArray ba_ticketNumber = codec->fromUnicode(printingData["ticketNumber"].toString()); + memcpy((char*)dynTicketData->dynDat7, ba_ticketNumber.data(), std::min(ba_ticketNumber.size(),8)); + // DEBUG /* @@ -791,7 +796,8 @@ void ATBDeviceControllerPlugin::requestPrintTicket(const QHashonPrintFinishedERR();