Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
#include "Ltprinter.h"
L_LTPRINTER_API L_INT L_PrnGetNetworkInitialData(pszPrinterName, phGlobalData, plLength)
L_TCHAR * pszPrinterName; |
/* printer name */ |
L_HGLOBAL *phGlobalData; |
/* pointer to HGLOBAL pointer */ |
L_LONG *plLength; |
/* length of the HGLOBAL size */ |
Retrieves the initial data, and fills it in an HGLOBAL pointer.
Parameter |
Description |
pszPrinterName |
Character string that contains the printer name. |
phGlobalData |
HGLOBAL pointer to be filled with initialization data. |
plLength |
Size of the HGLOBAL data that was filled. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The L_PrnGetNetworkInitialData function will fill the phGlobalData pointer with data initialization data; the plLength will contain the size of the pointer.
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. |
Win32, x64.
See Also
Functions: |
L_PrnSetEnableNetworkPrinting, L_PrnSetNetworkInitialData, L_PrnIsNetworkPrintingEnabled, L_PrnGetRemoteData, L_PrnInstallPrinter, L_PrnUninstallPrinter |
Topics: |
Example
For an Example, refer to L_PrnGetRemoteData