Added PrintJob handling to ClusterUM3

CL-541
This commit is contained in:
Jaime van Kessel 2017-11-21 11:01:19 +01:00
parent 152f3462ce
commit b1649f2d38
4 changed files with 68 additions and 5 deletions

View file

@ -60,6 +60,13 @@ class PrinterOutputDevice(QObject, OutputDevice):
def _update(self):
pass
def _getPrinterByKey(self, key):
for printer in self._printers:
if printer.key == key:
return printer
return None
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None):
raise NotImplementedError("requestWrite needs to be implemented")