May 2nd, 1999, 04:06 PM
I am attempting to create a automated method of printing html documents using the Visual C++ html control. I am using the following code to print the CHtmlView current document to the printer without prompting the user for a printer.
--ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, NULL , NULL);
However, I am unable to specifiy a printer other than the default printer. I am unable to make any further progress on this problem.
Can anyone please point me in the right direction to being able to automatically print documents to a specified printer (can be non-default) without user intervention though C++. Any help in the right direction would be greatly appreciated.
Thanks in advance,
Kevin Badinger
ckbad@dallas.net
--ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, NULL , NULL);
However, I am unable to specifiy a printer other than the default printer. I am unable to make any further progress on this problem.
Can anyone please point me in the right direction to being able to automatically print documents to a specified printer (can be non-default) without user intervention though C++. Any help in the right direction would be greatly appreciated.
Thanks in advance,
Kevin Badinger
ckbad@dallas.net