print web page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • May

    print web page

    is it possible to print a web page by using the PrintDocument class?
    The thing is that I need to print out some data in a nice format if
    possible, to a client's default printer. I got the printing part
    working. But I want to format the page first before it prints. I want
    to create a web page to gather all data in a table and print out the web
    page. So what I see is what the client gets. I don't know how to print
    a web page by using System.Drawing. Printing. Currently, I put all data
    into stream and use PrintPageEventH andler to format the output by
    reading from stream. But I want to format the data into a table on a
    web page and print out the page. Please let me know if anyone knows.

    --
    Direct access to this group with http://web2news.com
    All the top headlines from popular topics around the web

Working...