SetHeaderEnabled

 

Enables or disables the Header feature of the printer driver.

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

 

Input value    - Handle to the BlackIceDEVMODE structure

Input value    - Set to TRUE to enable the Header, 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.