155 | | # We can safely assume this won't change |
156 | | if self.printerInternalPageCounter == previousValue : |
157 | | # Here the job won't be printed, because probably |
158 | | # the printer rejected it for some reason. |
159 | | self.parent.filter.printInfo("Printer %s probably won't print this job !!!" % self.parent.filter.PrinterName, "warn") |
160 | | else : |
161 | | # Here the job has already been entirely printed, and |
162 | | # the printer has already passed from 'idle' to 'printing' to 'idle' again. |
163 | | self.parent.filter.printInfo("Printer %s has probably already printed this job !!!" % self.parent.filter.PrinterName, "warn") |
164 | | break |
| 155 | # We can safely assume this won't change if printer is now 'idle' |
| 156 | if self.printerStatus in ('10000', '10001', '35078', '40000') : |
| 157 | if self.printerInternalPageCounter == previousValue : |
| 158 | # Here the job won't be printed, because probably |
| 159 | # the printer rejected it for some reason. |
| 160 | self.parent.filter.printInfo("Printer %s probably won't print this job !!!" % self.parent.filter.PrinterName, "warn") |
| 161 | else : |
| 162 | # Here the job has already been entirely printed, and |
| 163 | # the printer has already passed from 'idle' to 'printing' to 'idle' again. |
| 164 | self.parent.filter.printInfo("Printer %s has probably already printed this job !!!" % self.parent.filter.PrinterName, "warn") |
| 165 | break |