473,414 Members | 1,744 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,414 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 2186
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
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...
0
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
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,...
0
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...

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.