L_PrnSetUserDefaultPrinterSpecifications

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnSetPrinterSpecifications(pszPrinterName, pSpecifications)

L_TCHAR * pszPrinterName;

printer name

PRNPRINTERSPECIFICATIONS * pSpecifications;

pointer to a structure

Sets the user default specifications of the 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 that contains the specifications to be set.

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 get the default specifications of the LEADTOOLS Virtual Printer Driver, call the L_PrnGetUserDefaultPrinterSpecifications function.

To see you default printer specifications go to:

 "Printer And Devices" -> "Leadtools Printer" -> "Printer Properties " -> "Advanced"

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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help