473,586 Members | 2,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2206
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******** ********@TK2MSF TNGP10.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******** ********@TK2MSF TNGP10.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******** ********@TK2MSF TNGP10.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******** ********@TK2MSF TNGP10.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
2210
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 "compile the questions" into a theoretical problem to see what people think should be done to solve it. Maybe it will be a worthwhile discussion, but...
2
2879
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 printers A3 and A4 type) At this time I'm trying to figure out what would be the best way to accomplish this : 1. printing through HTML in a IE...
12
6344
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 of course it's thrown up a whole host of new issues... I'm generating a multi page printable document in HTML from my app, and displaying it in a...
4
5893
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 hosting my application. Step 1) The user clicks the Print icon in the web page
0
2222
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 application specific headers are to be added in the print out. Problem: The System.Drawing.Printing namespace .Net provides objects and dialogs to take care...
0
8202
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.