Skip to main content

OH_Print_LaunchPrinterManager

Function OH_Print_LaunchPrinterManager 

Source
pub unsafe extern "C" fn OH_Print_LaunchPrinterManager() -> Print_ErrorCode
Available on crate features api-12 and print only.
Expand description

This API launches the system’s printer management window.

§Returns

  • Returns Print_ErrorCode if the execution is successful. [PRINT_ERROR_GENERIC_FAILURE] Unable to launch the printer manager window.

Required System Capabilities: SystemCapability.Print.PrintFramework

Available since API-level: 12