Sets the initialization data for the specified printer.
#include "Ltprinter.h"
L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetNetworkInitialData(pszPrinterName, pbtInitialData, lLength)
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.
Win32, x64.
For an example, refer to L_PrnGetRemoteData.