http://bugs.winehq.org/show_bug.cgi?id=5883
Summary: Printing does not work for ole visual basic 6 Product: Wine Version: CVS Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-ole AssignedTo: wine-bugs@winehq.org ReportedBy: me@benjaminarai.com
Printing does not work in VB6 (Visual Basic 6). It looks like OLEFontImpl_SetHdc needs to be implemented.
Code snippet:
Printer.Print ""
Printer.FontName = "Arial"
Printer.FontSize = 18
Printer.FontBold = True
Printer.Print Label1.Caption
Printer.FontBold = False
Printer.Print "This is a test."
Printer.EndDoc
Wine output:
fixme:ole:CoRegisterMessageFilter stub fixme:ole:OLEFontImpl_SetHdc (0x7fdab2c8)->(0x348): Stub fixme:ole:OLEFontImpl_SetHdc (0x7fdab2c8)->(0x348): Stub fixme:ole:OLEFontImpl_SetHdc (0x7fdab2c8)->(0x348): Stub fixme:ole:OLEFontImpl_SetHdc (0x7fdab2c8)->(0x348): Stub fixme:ole:OLEFontImpl_SetHdc (0x7fdab2c8)->(0x348): Stub fixme:ole:CoRegisterMessageFilter stub