$BlogRSDURL$>
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 LinksSite Links
Currently ReadingBlogroll
Archives
Tools |
Thursday, July 15, 2004.NET: Printer Margin Bounds in .NET
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.
Comments:
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
FreePrinters.com canon printer |