mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-27 11:00:39 +00:00
网络异常状态改离线 Signed-off-by:zhengzhihao3@huawei.com
Signed-off-by: 13710294156 <13710294156@163.com>
This commit is contained in:
parent
efa383235e
commit
2c6ccc1766
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user