Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preview goes wrong when using GraphicsUnit.Inch

Status
Not open for further replies.

phinoppix

Programmer
Jul 24, 2002
437
US
I have this really weird problem on using the PrintDocument class when setting the Graphics.PageUnit to Inch. The problem occurs whenever I try to print wrapped / rotated text in a rect. (Coordinates were properly converted)

I made a sample app that simply runs a preview of a 10-row grid with wrapped text in each cell. When I run this app in my machine, some of the cells would be empty, while some contains "trash". But on another machine, the same app works just fine.

Any suggestions, proven or theories, on how I can fix this? [peace]
Btw, I'm running VS over XP. Printer driver is HP3320.
 
Ok, now this is really buggin me! I rebuild my test app on a Win2K pro SP3 machine and everything went just perfect. The app still not running as expected on a WinXP (no SP) machine.

I guess I would have to get an XP service pack from MS and install this on every client ?!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top