#include "Ltprinter.h"
L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetNetworkInitialData(pszPrinterName, pbtInitialData, lLength)
Sets the initialization data for the specified printer.
Character string that contains the printer's name.
Byte array that contains the initialization data to set for the specified printer.
Size of the Byte array pbtInitialData to fill.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This function will set the printer's initial data, which will be sent to the client machine with the job data.
Required DLLs and Libraries
Win32, x64.
For an example, refer to L_PrnGetRemoteData.