Locking and Unlocking LEADTOOLS Virtual Printers

By default LEADTOOLS Virtual Printers are unlocked and any application can print directly to it. However, it is possible to lock the printer to prevent other applications from printing directly to it by calling the L_PrnLockPrinter function

If the printer is locked, when a user tries to print directly to the printer a message box displays saying that printer is locked.

To unlock a printer, call the L_PrnUnlockPrinter function.

To determine whether applications were prevented from directly printing to the specified LEADTOOLS Virtual Printer, call the L_PrnIsPrinterLocked function.

Only printers that were originally created with a password can be locked.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help