SaveDefaultBlackIceDEVMODE

This method will save the new printer settings.

 

SaveDefaultBlackIceDEVMODE(szPrinterName As String, pBlackIceDEVMODE As Long) As Boolean

 

Input value: szPrinterName                     - Printer Name.

Input value: pBlackIceDEVMODE                     - handle to the BlackIceDEVMODE structure.

Return value            - TRUE if the DevMode was successfully updated, otherwise FALSE.

 

NOTE: For 32-bit applications , use pBlackIceDEVMODE as Integer, instead of Long.