L_PrnSetNetworkInitialData

Summary

Sets the initialization data for the specified printer.

Syntax

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetNetworkInitialData(pszPrinterName, pbtInitialData, lLength)

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.

See Also

Functions

Topics

Example

For an example, refer to L_PrnGetRemoteData.

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

LEADTOOLS Virtual Printer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.