L_PrnIsNetworkPrintingEnabled

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnIsNetworkPrintingEnabled(pszPrinterName, pbNetworkEnabled)

Determines whether the network printing is enabled for the specified printer in the LEADTOOLS Virtual Printer Driver.

Parameters

L_TCHAR * pszPrinterName

Character string that contains the name of the printer.

L_BOOL* pbNetworkEnabled

Pointer to a variable to be updated with a value that determines whether the network printing is enabled for the specified printer in the LEADTOOLS Virtual Printer Driver.  Possible values are:

Value Meaning
TRUE Network printing is enabled.
FALSE Network printing is disabled.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

LEADTOOLS Virtual Printer Drivers are installed by calling the L_PrnInstallPrinter function.

To enable or disable network printing for a specific printer in the LEADTOOLS Virtual Printer Driver, call the L_PrnSetEnableNetworkPrinting function.

Required DLLs and Libraries

Platforms

Win32, x64.

Example

For an example, refer to L_PrnGetRemoteData.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Virtual Printer C API Help