Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,

Need to send html data to Print buffer.
My application receives html data and have to send it to printer bypassing the print dialog
Please help.

Thanks.
Regards,
Annie
Posted
Updated 2-Jan-14 1:35am
v3
Comments
E.F. Nijboer 2-Jan-14 7:33am    
I think most of the readers (me including) are asking themselves if you want to send html data as code to the print buffer or as the end result (as shown as a webpage).
Richard MacCutchan 2-Jan-14 7:35am    
It would also help if you explained exactly what part of this procedure you cannot do.
Annie Abraham 2-Jan-14 7:39am    
Sorry I am new to C#. I will try to explain more.I want to send the data to print buffer directly.(means I don't want to display the print dialog box,selectthe file all those)
Richard MacCutchan 2-Jan-14 7:45am    
Then you need to know the details of the printer that you are going to send it to, in order to bypass using the PrintDialog. There are many sample articles around that explain printing from C#.
Richard MacCutchan 2-Jan-14 7:53am    

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900