473,386 Members | 1,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Printing HTML from C#

Hi everyone,

anyone knows how to print a html file locally storted from a C#
application?!

it's urgent,, any idea, examples, links would be very much appreciated ..

hope to hear from you asap...

Thank you in advance..

Regards,
Kam
Nov 16 '05 #1
5 2184
why not include IE as an activeX and let it load & print?

Kamal wrote:
Hi everyone,

anyone knows how to print a html file locally storted from a C#
application?!

it's urgent,, any idea, examples, links would be very much appreciated ..

hope to hear from you asap...

Thank you in advance..

Regards,
Kam

Nov 16 '05 #2
Hi,
This link might be useful to you.
http://www.codeproject.com/csharp/PrintForm.asp

Regards,
R.Balaji

"Kamal" <No****@NoSpam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi everyone,

anyone knows how to print a html file locally storted from a C#
application?!

it's urgent,, any idea, examples, links would be very much appreciated ..

hope to hear from you asap...

Thank you in advance..

Regards,
Kam

Nov 16 '05 #3
"Kamal" <No****@NoSpam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi everyone,

anyone knows how to print a html file locally storted from a C#
application?!

it's urgent,, any idea, examples, links would be very much appreciated ..


http://www.itwriting.com/htmleditor/index.php will do this if you are
printing through a GUI.

This makes it easy to use print templates (which is how you can customize
printing in IE).

I don't know any way to do it though if you don't want to display the file.

Tim
Nov 16 '05 #4
noone got any idea?!!!

"Kamal" <No****@NoSpam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi everyone,

anyone knows how to print a html file locally storted from a C#
application?!

it's urgent,, any idea, examples, links would be very much appreciated ..

hope to hear from you asap...

Thank you in advance..

Regards,
Kam

Nov 16 '05 #5
Kamal wrote:
noone got any idea?!!!

"Kamal" <No****@NoSpam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi everyone,

anyone knows how to print a html file locally storted from a C#
application?!

it's urgent,, any idea, examples, links would be very much appreciated ..

hope to hear from you asap...

Thank you in advance..

Regards,
Kam

Namespace System.Drawing.Printing will help you.
Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Mark Preston | last post by:
Admission first - I don't actually have a problem here but have noticed that a lot of people have been asking similar questions and getting very varied answers. What I've done is to sort of...
2
by: Jurjen de Groot | last post by:
I'm about to start a new ASP.NET application, this application will generate several types of documents (PDF HTML XML-DOC) wich have to be printed at the client-side... (probably on different...
12
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
4
by: Lucas Ponzo | last post by:
Hi All, I have an ASP.NET 2.0 app. The users access the pages, uniquely via pocket pc ... I need to print a page. But I need that the page print on a printer installed on the web server...
0
by: nikhilgargi | last post by:
Requirement: I need to provide printing capability in a C# desktop application that I am developing The documents that need to be printed can be in Rich Text Format (RTF) or HTML. Custom...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.