473,508 Members | 2,195 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 2188
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
2197
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
2869
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
6331
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
5886
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
2205
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
7227
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7127
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
7331
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,...
1
7054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7501
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...
1
5056
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...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
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...

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.