Hi Joe, Thanks for that. I've got it going, but it would have been a lot simpler if the drawinto had worked correctly.
All the best. Cindy On 26/04/2007, at 1:29 PM, [EMAIL PROTECTED] wrote: > 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 > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
