Print document and all attachments from a browser

I need to print a document and all atttachments in a browser (button). I found one script library but it won’t work. Is there a way to do this in LotusScript? Any help will be greatly appreciated. Thanks.