L_PrnSetEnableNetworkPrinting

Summary

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

Syntax

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetEnableNetworkPrinting(pszPrinterName, bEnable)

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.

See Also

Functions

Topics

Example

For an example, refer to L_PrnGetRemoteData.

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

LEADTOOLS Virtual Printer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.