Print templates: check printer status
This commit is contained in:
parent
6b807fd636
commit
d16234f8e9
@ -763,9 +763,7 @@ void ATBDeviceControllerPlugin::onPrinterPrintNextTemplate()
|
|||||||
|
|
||||||
if (templateList.isEmpty()) {
|
if (templateList.isEmpty()) {
|
||||||
// all templates are printed
|
// all templates are printed
|
||||||
|
QTimer::singleShot(2000, this, SLOT(onPrinterWaitForPrintingTicket()));
|
||||||
// FAKE SIGNAL:
|
|
||||||
QTimer::singleShot(2000, this, SLOT(onPrintFinishedOK()));
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// print next template
|
// print next template
|
||||||
|
Loading…
Reference in New Issue
Block a user