469,898 Members | 1,425 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

print web page

May
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 PrintPageEventHandler 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
http://web2news.com/?microsoft.public.dotnet.general
Jul 19 '05 #1
0 1698

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by Steel | last post: by
3 posts views Thread by Umut Tezduyar | last post: by
reply views Thread by Paco Ferre | last post: by
reply views Thread by ShaneO | last post: by
4 posts views Thread by CSharpguy | last post: by
6 posts views Thread by CSharpguy | last post: by
2 posts views Thread by bob | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.