PrintTicket: skip check of serial port

This commit is contained in:
Siegfried Siegert 2023-12-11 18:32:37 +01:00
parent b3ad8e1ee9
commit c603313d73
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -609,11 +609,13 @@ void ATBDeviceControllerPlugin::requestPrintTicket(nsDeviceControllerInterface::
}
/*
if (!this->hw->dc_isPortOpen()) {
qCritical() << " ... serial port is not open!";
this->onPrintFinishedERR();
return;
}
*/
// TODO: wird hier nur 'licensePlate' gedruckt?
if (!this->hw->prn_sendDynamicPrnValues(dynTicketData->licensePlate)) {
@ -750,12 +752,13 @@ void ATBDeviceControllerPlugin::requestPrintTicket(const QHash<QString, QVariant
// DEBUG
qCritical() << "ATBDeviceControllerPlugin::requestPrintTicket()";
/*
if (!this->hw->dc_isPortOpen()) {
qCritical() << " ... serial port is not open!";
this->onPrintFinishedERR();
return;
}
*/
// TODO: wird hier nur 'licensePlate' gedruckt?
if (!this->hw->prn_sendDynamicPrnValues(dynTicketData->licensePlate)) {