UnlockOEMPrinter method (IEPrint)
short UnlockOEMPrinter (BSTR pszPrinterName, BSTR pszPassword); | |
Overview |
Refer to Using the OEM Version of ePrint. |
Remarks
Unlocks a specified OEM printer, enabling applications to print directly to it.
Support for OEM functionality must be unlocked by calling the UnlockSupport method before using this method.
This method unlocks an OEM printer that was previously locked using the LockOEMPrinter method.
Call this method to unlock the OEM printer. OEM printers are installed by calling InstallOEMPrinter method. When InstallOEMPrinter method was called, the string passed to the pszPassword parameter must be the same as the string set in the OEMPassword property of the IEpnOemPrinterInfo object.
See Also