multiple page printing problem in IE6



I am trying to print multiple pages in a loop using the execwb()
method.
The problem I am facing is that the first page gets printed but the
subsequent documents do not get printed. The first page is printed
instead of all the documents.

This error is not being faced in case I used window.print() but this
prompts for each document which is a problem when I've got 1000
documents to print.

The error is being faced when I use the commands

WebBrowser.ExecWB(6,1);
WebBrowser.outerHTML = '';

Please respond back if you've got a solution to the problem ASAP.

Thanks,
Beena.

.