IsOEMPrinterLocked method (IEPrint)

Visual Basic example

Visual C++ example

 

Syntax

VARIANT_BOOL IsOEMPrinterLocked(BSTR pszPrinterName);

Overview

Refer to Using the OEM Version of ePrint.

Remarks

Indicates whether a specified OEM printer is locked.

Support for OEM functionality must be unlocked by calling the UnlockSupport method before using this method.

This method checks if applications were prevented from directly printing to the specified OEM printer. OEM printers are installed by calling InstallOEMPrinter.

If the OEM printer is locked, the user can use it indirectly by using one of the following methods:

CreateEmailDC

CreateRedirectionDC

CreateSaveDC

For more information, refer to Locking and Unlocking the OEM ePrint Printer.

See Also

Elements:

LockOEMPrinter method, UnlockOEMPrinter method, UnlockSupport method, InstallOEMPrinter method, UninstallOEMPrinter method, CreateSaveDC method, CreateRedirectionDC method, CreateEmailDC method

Topics:

ePrint: Locking and Unlocking OEM Printers

 

Types of Printers