L_PrnSetEnableNetworkPrinting

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetEnableNetworkPrinting(pszPrinterName, bEnable)

Enables or disables network printing for the specified printer in the LEADTOOLS Network Virtual Printer Driver.

Parameters

L_TCHAR * pszPrinterName

Character string that contains the printer's name.

L_BOOL bEnable

Flag that indicates whether to enable or disable network printing. Possible values are:

Value Meaning
TRUE Enable network printing.
FALSE Disable network printing. This is the default value.

Returns

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

Comments

This function enables or disables network printing feature for the specified printer.

Required DLLs and Libraries

Platforms

Win32, x64.

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