|
-
May 2nd, 1999, 04:06 PM
#1
Printing HTML files automatically
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
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|