On Apr 26, 2007, at 01:21 UTC, Cindy wrote:

> This works beautifully for Macintosh but all I am getting out of my  
> PC computer is a blank page. Does the drawinto command work when  
> printing on Windows machines or is it something else that I am doing 
> wrong?

It certainly should work -- I don't see what you could be doing wrong
with this code.  However, it needn't be a show-stopper for your app. 
You do all the drawing in Canvases anyway; you can just call the same
drawing code for printing.  Take the guts out of your Paint methods,
put them into window methods, and then make the Paint events call them,
like so:

Sub Paint( g as Graphics )
  DrawMyStuff g
End Sub

Then, when printing, just call DrawMyStuff (or whatever) passing in the
printer context.

HTH,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to