Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
#include "Ltprinter.h"
L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetNetworkInitialData(pszPrinterName, pbtInitialData, lLength)
L_TCHAR * pszPrinterName; |
/* printer name */ |
L_UCHAR *pbtInitialData; |
/* pointer to BYTE array */ |
L_LONG lLength; |
/* length of the byte array */ |
Sets the initialization data for the specified printer.
Parameter |
Description |
pszPrinterName |
Character string that contains the printer name. |
pbtInitialData |
Byte array that contains the initialization data to set for the specified printer. |
lLength |
Size of the Byte array pbtInitialData to fill. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function will set the printer initial data, which will be sent to the client machine with the job data.
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 Application - Server Application. |
Win32, x64.
See Also
Functions: |
L_PrnInstallPrinter, L_PrnGetRemoteData, L_PrnSetEnableNetworkPrinting, L_PrnIsNetworkPrintingEnabled, L_PrnGetNetworkInitialData, L_PrnUninstallPrinter |
Topics: |
Example
For an Example, refer to L_PrnGetRemoteData