L_PrnSetPrinterSpecifications

Summary

Sets the specifications of the LEADTOOLS Virtual Printer Driver.

Syntax

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetPrinterSpecifications(pszPrinterName, pSpecifications)

Parameters

L_TCHAR * pszPrinterName

Character string that contains the name of the LEADTOOLS Virtual Printer Driver.

PRNPRINTERSPECIFICATIONS * pSpecifications

Pointer to a PRNPRINTERSPECIFICATIONS structure that contains the specifications to be set.

Returns

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

Comments

These settings will be used whenever the user prints using this LEADTOOLS Virtual Printer Driver.

To get the specifications of the LEADTOOLS Virtual Printer Driver, call the L_PrnGetPrinterSpecifications function.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to L_PrnInstallPrinter.

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.