Open GoogleCodeExporter opened 9 years ago
I am getting the same problem on Mac OSX 10.6. Calling
PrintPreview.setPrintJob(PrintJob) just produces a blank screen. The same test
case works fine on Windows. There are no errors in the print preview window.
Our code seems to be running fine with no errors in the logs.
Original comment by cbeaveri...@gmail.com
on 9 Nov 2010 at 10:34
What happens if you explicitly call setPrinterData on the preview before
setting the print job?
Original comment by qualidaf...@gmail.com
on 9 Nov 2010 at 10:57
[deleted comment]
Hi all,
I think I've found a workaround!
We had the same Problem on Mac OSX 10.5 and 10.6.
We then took the examples and tried them. Same effect. Snippet7 for example
brought up a white dialog with no content being drawn.
Setting printerdata before preview did not help. It still did not help when a
new printer was explicitely installed and selected. (Thought it could be caused
by a missing default printer...).
That's not it!
The Problem is obviously related to the GC (method getGC()) which is created
from the printer. A played around with different alternatives. I got one
running!
Patch is attached.
Have fun!
Roland Oldenburg
Original comment by rol.olde...@gmail.com
on 16 Jan 2012 at 7:23
Attachments:
Original issue reported on code.google.com by
LarsBi...@gmail.com
on 23 Oct 2010 at 10:56