Page 1 of 1

Print Html page without user input

Posted: Fri Aug 07, 2009 2:53 pm
by ConvertFromOldNGs
by Andrew >> Thu, 26 May 2005 0:25:08 GMT

The only way I've been able to do this so far: (rundll32.exe MSHTML.DLL,PrintHTML "C:\testing\test.html") opens a printer dialog.

Anybody aware of any other way.

Re: Print Html page without user input

Posted: Fri Aug 07, 2009 2:53 pm
by ConvertFromOldNGs
by John Munro >> Thu, 26 May 2005 8:38:36 GMT

call _shellExecute(hwnd, "print", "C:\testing\test.html", null, null, 1);

although it also seems to open the print dialog...


John Munro

FileVision UK Ltd.
Atlantic House
Imperial Way
Reading
RG2 0TD

Telephone: +44 (0) 118 903 6066
Fax: +44 (0) 118 903 6100
Email: john.munro@filevision.com
Web: http://www.filevision.com

The contents of this communication are confidential and are only intended to be read by the addressee. We apologize if you receive this communication in error and ask that you contact FileVision UK Ltd. immediately to arrange for its return. The use of any information contained in this communication by an unauthorized person is strictly prohibited. FileVision UK Ltd. cannot accept responsibility for the accuracy or completeness of this communication as it is being transmitted over a public network. If you suspect this message may have been intercepted or amended, please inform FileVision UK Ltd.