mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-26 18:40:40 +00:00
commit
5afad9a908
@ -564,8 +564,8 @@ Print_ErrorCode OH_Print_StartPrintByNative(const char *printJobName,
|
||||
int32_t ret =
|
||||
PrintManagerClient::GetInstance()->Print(printJobNameStr, printCb, attributes, uiContent);
|
||||
if (ret != PRINT_ERROR_NONE) {
|
||||
PRINT_HILOGE("OH_Print start print start failed.");
|
||||
return PRINT_ERROR_GENERIC_FAILURE;
|
||||
PRINT_HILOGE("OH_Print start print start failed, error code : %{public}d.", ret);
|
||||
return ConvertToNativeErrorCode(ret);
|
||||
}
|
||||
return PRINT_ERROR_NONE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user