L_PrnGetUserDefaultPrinterSpecifications

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnGetPrinterSpecifications(pszPrinterName, pSpecifications)

Retrieves the default specifications for a virtual LEADTOOLS Virtual Printer Driver.

Parameters

L_TCHAR * pszPrinterName

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

PRNPRINTERSPECIFICATIONS * pSpecifications

Pointer to a PRNPRINTERSPECIFICATIONS structure to be updated with the specifications of the LEADTOOLS Virtual Printer Driver.

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 set the default specifications for a virtual LEADTOOLS Virtual Printer Driver, call the L_PrnSetUserDefaultPrinterSpecifications function.

To see printer default specifications go to:
"Devices and Printers" -> "LEADTOOLS Printer"-> "Printer Properties" -> "Advanced"

Required DLLs and Libraries

Platforms

Win32, x64.

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

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