Enables or disables network printing for the specified printer in the LEADTOOLS Network Virtual Printer Driver.
#include "Ltprinter.h"
L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetEnableNetworkPrinting(pszPrinterName, bEnable)
Character string that contains the printer's name.
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. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This function enables or disables network printing feature for the specified printer.
Win32, x64.
For an example, refer to L_PrnGetRemoteData.