On Dec 5, 2006, at 1:31 AM, Mattia wrote:
I have created one realbasic software with my mac that print
without problem with mac os, but if i compile this software for
windows and i try to print my 2 printer print a white paper...why
su MAc it's ok but with windows i have this problem?
I send the r.b. code that i have used...
dim windPic as new Picture( Window1.width, Window1.height, 32 )
Window1.drawInto( windPic.graphics, 0, 0 )
Dim g as Graphics
Dim p as PrinterSetup
p=New PrinterSetup
If p.PageSetupDialog then
g=OpenPrinterDialog(p)
if g<> Nil then
Window1.DrawInto g, 0, 0
End if
End if
I see that you are drawing Window1 into a Picture but not using it.
Have you tried using g.DrawPicture windPic, 0, 0 to draw the Picture
into the printer graphics object?
Best,
Jack
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>