How do I print an HTML document from a web service? alexander sabato308804-Feb-2013Hi Expert!How to print HTML document using command line and C#.Thanks in advancec#c# Updated on 12-Dec-2016
Dinesh Tummala
12-Dec-2016AVADHESH PATEL
04-Feb-2013Hi Alexander Sabato!
Run this command into command prompt
rundll32.exe %WINDIR%\System32\mshtml.dll,PrintHTML "FilePath"
If you are using C#, than used line of code as below
Note: Here "FilePath", represent path of document which you want to print.