Re: [ADVANCED-DOTNET] Advanced printing with GDI+

2002-10-24 Thread Jeff Roberts
Jim, Thanks ! jeff You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [ADVANCED-DOTNET] Advanced printing with GDI+

2002-10-23 Thread Jim Nakashima
Hey Jeff, In V1.0 of the .Net framework, Microsoft did not take account for the hard margins of the printer. This means that if the hard margin for the printer was inset by 1/4 of an inch then a margin of 1 inch would actually be inset by 1.25 inches. Nice huh? :) In V1.1 of the framework, they

Re: [ADVANCED-DOTNET] Advanced printing with GDI+

2002-10-17 Thread Jeff Roberts
I have isolated my problem to the PrintEventArgs.Graphics.MarginBounds object. When I call the win32 Escape with a GETPRINTINGOFFSET, it returns a value of 59 for the size of the unprintable region on the left side of the page and when I use MarginBounds.Left in .NET its value is 100.0. What i

Re: [ADVANCED-DOTNET] Advanced printing with GDI+

2002-10-17 Thread Michael Potter
Most printer can not print "edge-to-edge". Although there is not an easy way to find the exact unprintable area in .Net you can come very close. See: PrintPageEventArgs. Graphics. VisibleClipBounds You can divide the Width (and height) by two to approximate the non-printable ar