BiSavePrinterSettings

#include “BIADVPRN.H”

 

BOOL  BiSavePrinterSettings(  LPTSTR                         szPrinterName,
BlackIceDEVMODE*  pDevMode);

Description

Use this function to save the new settings to the printer. The settings are saved to the current user if possible (Win2000), if not the settings are saved to all users (default).

Parameters

LPTSTR

szPrinterName

Printer Name (string).

BlackIceDEVMODE*

pDevMode

Pointer to the BlackIceDEVMODE structure.

Return values

TRUE if the DevMode was successfully updated, otherwise FALSE.

Requirements

Header :     Declared in BiAdvPrn.h; include BiAdvPrn.h.

Library :    Use BiAdvPrn.lib.

DLLs :       BiAdvPrn.dll.