Programatically printing Linked documents using Print Templates
From: Sujay Ghosh (sujayg_mfc_at_yahoo.com)
Date: 12/21/04
- Previous message: Igor Tandetnik: "Re: IHTMLWindow2 from IFrameBase2"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Dec 2004 22:17:04 -0800
Hello ,
I am working on a product written in C++ which generates HTML reports for
its users . I am working on the enhancement of the product to make it more
better .
The generated html file contains link to 4 reports ( html files) .
Instead of letting the user open one link at a time, and then printing the
report , I want to print all the reports with a single button click, say on
pressing a button "Print All" .
I guess Print Templates can do the trick for me, as IE can print all
linked documents. Logically speaking I think if I can work with the
"dialogArguments.__IE_PrintType" and "allLinkedDocuments", I can acheive what
I am looking for .
I have found out an example on Print Templates from MSDN by which the
reports can be printed without the print dialog box popping up . It checks
for the "dialogArguments.__IE_PrintType" value and takes action accordingly
. But I am not able to set the "dialogArguments.__IE_PrintType" value .
Any help to the above would be highly appreciated .
Thanks in advance .
Sujay
-- Sujay Ghosh Bangalore, INDIA Email : sujayg_mfc@yahoo.com Mobile : 9845467789
- Previous message: Igor Tandetnik: "Re: IHTMLWindow2 from IFrameBase2"
- Messages sorted by: [ date ] [ thread ]