Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_PrnGetPrinterSpecifications

Show in webframe

#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 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.

Returns

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

Required DLLs and Libraries

LTPRINTER

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.

Platforms

Win32, x64.

See Also

Functions:

L_PrnInstallPrinter, L_PrnSetPrinterSpecifications

Topics:

LEADTOOLS Virtual Printer: Getting and Setting Printer Specifications

 

Working with the LEADTOOLS Virtual Printer Driver

Example

For an example, refer to L_PrnInstallPrinter.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.