My Blog Links
Site Links
Currently Reading
  • This page is powered by Blogger. Isn't yours?
  • Weblog Commenting and Trackback by HaloScan.com
  • 2RSS.com :: RSS directory
  • Listed on BlogShares
  • Blog Directory, Find A Blog, Submit A Blog, Search For The Best Blogs

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. 

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
Latest news. Viagra, cialis

Great Info! Let your bloggers in on a secret! Discover how you can get FREE high performance color printers and copiers.
canon printer
Post a Comment