http://bugs.winehq.org/show_bug.cgi?id=28979
Bug #: 28979 Summary: monochrome bitmap printing problem Product: Wine Version: 1.3.31 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ralf.habacker@freenet.de Classification: Unclassified
I have a test program which prints out a monochrome and colored bitmap and some text. It prints outs the monochrome image inverted and non inverted. On windows this test app works as expected, it prints black drawings with white background on none inverted page, white pixels and black background on inverted pages. I tested this with PDFCreator and a real HP laserjet compatible printer.
Running this application on wine shows coloring problems (see appended screenshots).
I have verified that this is not an os related problem by running this test on two different opensuse linux machines, one with running version 11.2 and the other opensuse 11.4. On both machines this problems occurs with slightly different wrong colors (green on the other machine)
I created the appended pdf files on both machines using a generic postscript level 2 printer driver and converted it to pdf with ps2pdf.
Binaries, source and wine log with WINEDEBUG=+all of the related test program are also appended. The related gdi commands are located in the source at PrintThread.cpp:AddContentToPage()
To print start the app, press <STRG-N>, enter 7 then enter <return> and <STRG-P>
Content of appended testcase.zip
GdiPrintSample-bin.zip GdiPrintSample-patched.zip output-windows.pdf output-wine.pdf wine_debug.bz2