RE:imprimir letras blancas sobr fondo negro
Hay que utilizar la propiedad fonttransparent del objeto printer pero en vb5 hay un
bug que impide que esto funcione correctamente. Hay que utilizar la siguiente api:
Private Declare Function SetBkMode Lib "gdi32" _
(ByVal hdc As Long, ByVal nBkMode As Long) As Long
Private iBKMode As Long
Private Const TRANSPARENT = 1
Private Const OPAQUE = 2
Y al imprimir:
If TypeOf Un_Obj Is Printer Then
'PARA MAS VER msdn
'PRB: Setting FontTransparent Has No Effect on Windows 95
'Last reviewed: July 7, 1997
'Article ID: Q145726
'Correctly sets the background mix mode to transparent
iBKMode = SetBkMode(Printer.hdc, TRANSPARENT)
Else
'es un picture box
Un_Obj.FontTransparent = True
End If