(self, printJobId=None)
| 107 | return True |
| 108 | |
| 109 | def startPrint(self, printJobId=None): |
| 110 | if not super(PrinterWithPlugin, self).startPrint(printJobId): |
| 111 | return |
| 112 | |
| 113 | if not self.isOperational() or self.isPrinting(): |
| 114 | return |
| 115 | |
| 116 | if self._currentFile is None: |
| 117 | raise ValueError("No file selected for printing") |
| 118 | |
| 119 | self._plugin.startPrint() |
| 120 | |
| 121 | def executeCancelCommands(self, disableMotorsAndHeater): |
| 122 | self._plugin.executeCancelCommands(disableMotorsAndHeater) |
no test coverage detected