Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_PrnIsNetworkPrintingEnabled

Show in webframe

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnIsNetworkPrintingEnabled(pszPrinterName, pbNetworkEnabled)

L_TCHAR * pszPrinterName;

/* printer name */

L_BOOL* pbNetworkEnabled;

/* flag */

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

Parameter

Description

pszPrinterName

Character string that contains the name of the printer.

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

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

LTPRINTER

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your LEADTOOLS Network Virtual Printer Driver Server Application.

Platforms

Win32, x64.

See Also

Functions:

L_PrnInstallPrinter, L_PrnSetEnableNetworkPrinting, L_PrnSetNetworkInitialData, L_PrnGetNetworkInitialData, L_PrnGetRemoteData, L_PrnUninstallPrinter

Topics:

Working with the LEADTOOLS Network Virtual Printer Driver

Example

For an Example, refer to L_PrnGetRemoteData

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.