VpeReadPrinterSetup

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeReadPrinterSetup

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by the Community Edition]

Reads a printer setup file that was previously written by VpeSetupPrinter() or VpeWritePrinterSetup() and uses the settings contained in the file.

int VpeReadPrinterSetup(

VpeHandle hDoc,

LPCSTR file_name

)

VpeHandle hDoc

Document Handle

LPCSTR file_name

the name of the file, the setup is read from

Returns:

Value

Description

True

success

False

failure

Remarks:

In case of an error, LastError is set to VERR_COMMON.