TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Settavut Dindang
NA
5
6.7k
Print current webpage by ActiveX .NET ( System.Drawing.Printing Namespace )
Apr 25 2012 1:29 PM
Hello
I 'm new member and this first question :)
I 'm being develop ActiveX control which embedded in html page to
control printing in client side with .NET 3.5 , C#
My diagram shown this.
Printer <-- Client Web Browser <---> Web Server
Requirement is print current webpage with single click. No print dialog
, no confirm and can select printer to print by name , Can setup paper size , print quality etc.
At this time, I don't understand how to access in current page? I see System.Drawing.Printing.PrintDocument have Graphic element.
This my idea . I 'm will capture current page in image file (but now is not know how what to do :P )
and create PrintDocument from that image file. Good idea or bad please explain ?
Thanks and regards.
Ps. sorry for english sentence if make you difficult to read. I 'm not expert in english skill. I hope will better in next time :)
Reply
Answers (
4
)
Printing datagridview contents as a bill using dotmatrix printer
Tutorial