Printing from an agent

I know this is a question that has been asked many times, but I can’t seem to find the answer. I am a novice developer but have a need to be able to print from an agent. I would like for the agent to be run by the user, not on schedule, and it needs to be able to select documents from several views and print them from the backend without having the documents open. Is this possible and if so, can I do it in lotusscript, formula language, Java…?

Subject: Depends on a number of parameters

A formula lamguage can print the documents using the @FilePrint command and its options. Not sure however if you then have to validate each document individually.

In LotusScript, you’d have to use the command :

Call notesUIView.Print

and can use all parameters to adapt to your needs including switching form just for the printing - very handy if the ‘printed’ look needs to be different than the ‘viewed’ look.

Check in your Designer helpfile for more information about it.

Definitely, after working with Notes since V1, I must say that printing from Notes anything else then full page documents is neither easy nor are there powerful features to do it. You can’t even define headers and footers programatically…and Notes has been out there for almost 20 years…Anybody at IBM read this and do something please ;=)

I’d recommend trying to send your output to open-office. We’ve done that and were able to expand greatly our capabilities this way, be it for ‘page’ documents like invoices or for reports. However it requires more overhead.

Subject: Thanks

Thank you for your response. I imagine we will send the documents to something else for printing. Lotus really should fix this. Printing is a pain and it is something that, in some cases, is an absolute necessity. Looks like they could make some improvements in this area.