SetDebugLoggingEnabled

Enables or disables the DebugLogging feature of the printer driver. Please note that enabling the Debug Logging feature can generate large log file.

SetDebugLoggingEnabled (pDevMode As Long, bEnable As Boolean) As Boolean

 

Input value    - Handle to the BlackIceDEVMODE structure

Input value    - Set to TRUE to enable the Debug Logging, set to FALSE to disable it.

Return value - TRUE on success, FALSE otherwise.

 

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