#include "Ltprinter.h"
L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnGetPrinterSpecifications(pszPrinterName, pSpecifications)
L_TCHAR * pszPrinterName; |
printer name |
PRNPRINTERSPECIFICATIONS * pSpecifications; |
pointer to a structure |
Retrieves the default specifications for a virtual LEADTOOLS Virtual Printer Driver.
Parameter |
Description |
pszPrinterName |
Character string that contains the name of the LEADTOOLS Virtual Printer Driver. |
pSpecifications |
Pointer to a PRNPRINTERSPECIFICATIONS structure to be updated with the specifications of the LEADTOOLS Virtual Printer Driver. |
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"
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your LEADTOOLS Virtual Printer Driver Application. |
Win32, x64.
Functions: |
L_PrnInstallPrinter, L_PrnSetPrinterSpecifications, L_PrnSetUserDefaultPrinterSpecifications |
Topics: |
LEADTOOLS Virtual Printer: Getting and Setting Printer Specifications |
|
For an example, refer to L_PrnInstallPrinter.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET