Retrieves the default specifications for a virtual LEADTOOLS Virtual Printer Driver.
#include "Ltprinter.h"
L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnGetUserDefaultPrinterSpecifications(pszPrinterName, pSpecifications)
Character string that contains the name of the LEADTOOLS Virtual Printer Driver.
Pointer to a PRNPRINTERSPECIFICATIONS structure to be updated with the specifications of the LEADTOOLS Virtual Printer Driver.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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"
Win32, x64.
For an example, refer to L_PrnInstallPrinter.