This blog will describe some of the learning experiences that I have with .NET, some personal projects that I'm working on, and whatever other topics tickle my fancy.
My Blog Links
Thursday, July 15, 2004
There's a very good Code Project article by Philippe Leybaert on getting the appropriate printer margin bounds so that what you print from you WinForms application will appear correctly.
While PrintPageEventArgs has a property MarginBounds, this property doesn't account for the hard margins of your printer for left and right margins -- although they do appear to have the top and bottom margins right. However, this article describes how you can get this information from the Windows API GetDeviceCaps.
It'll be interesting to see if this is fixed in Whidbey.
I am wiser on this subject now that I've read your blog on printer paper I was impressed with the information presented. I have seen another blog with related information printer paper
Great Info! Let your bloggers in on a secret! Discover how you can get FREE high performance color printers and copiers.Post a Comment