Print to PDF

Hi All,

We have a complex forms database written in Lotus Script.

We would like to pragmatically print several of our completed forms that show in a view collection at onetime with a button or an agent. We can presently use the Microsoft Print to Pdf to manually print one at a time. Is it possible for to pass the file name and location to Microsoft Print to Pdf API and prevent the dialog box from popping up?

Hi Cliff, I don't think it's possible to pass a filepath to the "Microsoft Print to PDF" printer.

However, I did evaluate a product awhile back that allowed creating PDFs from NotesDocuments/Forms via Lotusscript and it seemed to do a pretty good job.

Take a look at Swing PDF from Swing Software. It's not immediately obvious from their product page but their product does provide Lotusscript libraries you can use in your own applications to create PDFs. They also offer (or did) a free trial so you can test how it works for you.

Hi David,

Thanks for your reply.

That is what I was thinking about MicrosoftPDF.

I was hoping for a little magic.

We have evaluated the Swing software, you are correct it does work pretty well.

The boss was hoping to avoid the need for another intermediate software.

Maybe they will approve it now that someone else is stating the capabilities of the Swing software.

Thanks so much for your help.

Yeah, I was hoping someone would chime in with something I wasn't aware of.

Oh well.

There is always the hope that HCL will add something. If you haven't already voted for it, here is the Product Ideas feature request: https://domino-ideas.hcltechsw.com/ideas/DOMINO-I-1222

We also looked at WinToPDF.

Woops! Meant Win2PDF

Hi

I have been using SumatraPDF for printing PDF to default printer. it works really great.

I have the printing agent check if the portable version of SumatraPDF exist in filesystem, if not it detaches it and uses to print.

I wrote about it some years ago here

See https://nevermind.dk/nevermind/blog.nsf/0/CAAB1E5517BD5513C1257E3500337699?opendocument&Highlight=0,pdf

/Jesper Kiaer

I've had excellent results using SwingSoftware PDF Converter for Notes ( https://www.swingsoftware.com/pdf-converter-for-notes ).

Reasonable price, fast support. Used it to export a document library of digital records, including attached Word documents to PDFs, with the attachments also converted to PDF, included as attachment inside the PDF of the record.

The internal solution using the document library was outsourced, and the export saved us a lot of manual record migrations, and thus cost!