Printing html file withought print dialog show
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi Gurus, I tried to print html files with ShellexecuteEx() to default printer and nothing happened.. no error, nothing in printer spool. So I tried to use ShellExecute() and the print dialog shows up. How can I send html file to default printer without user interrupting. thanks
-
Hi Gurus, I tried to print html files with ShellexecuteEx() to default printer and nothing happened.. no error, nothing in printer spool. So I tried to use ShellExecute() and the print dialog shows up. How can I send html file to default printer without user interrupting. thanks
ShellexecuteEx() returns BOOL Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError. so try to get Error .