Hi Syed,
Thank you for posting on this forum.
Based on my understanding, there are two issues in your post, one is how to printing HTML document, and the other is without showing the print dialog.
For the first one, please take a look at this code project: http://www.codeproject.com/Articles/12799/Print-HTML-in-C-with-or-without-the-web-browser-co
For the both, you can take this: http://stackoverflow.com/questions/419412/print-html-document-from-windows-service-without-print-dialog
"but it is working fine from windows application."
Best regards,
Mike Feng
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
