out of paper detection
This commit is contained in:
@@ -86,6 +86,11 @@ public class PrinterQueue
|
||||
_logger.LogWarning("Job failed due to conversion error, not re-queuing");
|
||||
await _statusReporter.ReportStatusAsync(job, PrintJobStatus.Failed);
|
||||
}
|
||||
else if (result.ErrorType == PrintErrorType.Offline)
|
||||
{
|
||||
_logger.LogWarning("Printer is offline, job failed");
|
||||
await _statusReporter.ReportStatusAsync(job, PrintJobStatus.Failed);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Re-queue with retry logic
|
||||
|
||||
Reference in New Issue
Block a user