RestoreDefaults

 

Restores the default settings of the specified Black Ice printer for the current user by reading the values from the printer’s INI file.

 

RestoreDefaults(szPrinterName As String) As Boolean

 

Input value: szPrinterName           

-       Printer Name (string).

Return value                                  

-       True on success, otherwise False.

 

Programming Notes:

 

Calling the RestoreDefaults function is equivalent to calling the following functions:

 

ClearUserSettings(PrinterName, false);

Long Devmode = CreateDefaultSettings(PrinterName);

SaveBlackIceDEVMODE(PrinterName, Devmode);

ReleaseBlackIceDEVMODE(Devmode);