L_PrnSetNetworkInitialData

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetNetworkInitialData(pszPrinterName, pbtInitialData, lLength)

Sets the initialization data for the specified printer.

Parameters

L_TCHAR * pszPrinterName

Character string that contains the printer's name.

L_UCHAR *pbtInitialData

Byte array that contains the initialization data to set for the specified printer.

L_LONG lLength

Size of the Byte array pbtInitialData to fill.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

Platforms

Win32, x64.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Virtual Printer C API Help