With low usage, both tasks work well but as soon as we increase usage, one of them brings the app to a standstill. I think it's the HTML print, but it's hard to say, as they are both being called frequently. Is there a better way of printing? Or does a solution to the problem leap out at you?
What you're using seems to me a roundabout process. If you ultimately need an HTML page that contains all the information, why use MS Word as an intermediate step? Besides the fact that the bloated HTML it produces contains the most uncouth garbage tags that you're wasting your second agent's time processing, it's an extra step which it sounds like you can't afford.
Instead, create a style sheet and just bite the bullet and generate the HTML in your own agent, referring to the style sheet's URL in the header of the output. If you use an HTML editor (Dreamweaver MX is a personal preference but even Frontpage would probably do), you can design the look of your output exactly the way you want it, then plug the field values from your documents into that HTML (the rest of which you hardcode into your agent).
Another technique that might provide even better performance still is NotesDXLExporter and XSLT, but I haven't played with it enough to give explicit instructions. But there was a nice demonstration of it at last year's LotusSphere.
Ifyou have the time, another thing you might do is investigate why these documents are being printed, and see whether there's a way to save your company money by automating whatever part of the process now requires paper.
Just say no to printing.
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on Web Development for Lotus Notes Domino
Related Q&A from Andre Guirard
Learn how you can use LotusScript and OLE to create and populate Microsoft Excel spreadsheets, as well as a little bit about Lotus Symphony. Continue Reading
Discover options you can use if you'd like external users to be able to access a workflow-based Notes Domino application through different ... Continue Reading
Learn why you may receive the error message: "Illegal circular use: Audit Trail" when trying to open Lotus Notes documents that use copied forms. Continue Reading