网络异常状态改离线 Signed-off-by:zhengzhihao3@huawei.com

Signed-off-by: 13710294156 <13710294156@163.com>
This commit is contained in:
13710294156 2024-03-08 10:11:26 +08:00
parent efa383235e
commit 2c6ccc1766

View File

@ -637,7 +637,7 @@ bool PrintCupsClient::VerifyPrintJob(JobParameters *jobParams, int &num_options,
}
if (!isPrinterOnline) {
jobParams->serviceAbility->UpdatePrintJobState(jobParams->serviceJobId, PRINT_JOB_BLOCKED,
PRINT_JOB_BLOCKED_NETWORK_ERROR);
PRINT_JOB_BLOCKED_OFFLINE);
return false;
}
if (!CheckPrinterMakeModel(jobParams)) {