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