We need a to develop back end conversion of notes documents into pdf. The form contains a single RTF field and can contain any type of data (Images, tables, rich text).
I tried using a number of Java converters, however the XSLs they provide translate the document first into HTML then convert to pdf. We need a direct representation of the notes RTF not a HTML version.
Does anyone know of a Converter that will fully represent elements of a Rich Text Field in the PDF. Or any other suggestions how to accomplish this are welcome.
If you want to print the entire document. Here’s how we did it.
Download a free pdf writer (or any pdf converter that create a printer for you). Many ones have their own API which will allow you to set options and save on the network without any user intervention.
Then in your code just do a NotesDocument.Print (or UIView.Print) The last parameter is the printer you want to send it to. This basically does a file->Print command.
Note: That last parameter was just added in 8.0.1, I believe, so it would not work in 7.X. You could probably go about by selecting the default printer through Windows API and do it that way.
We’ve purchased a pdf driver called NOVA PDF which works perfectly.
Hi, we do something similar now as well using a pdf print driver, and overall the system is funtional. However, in large volume scenarios using windows print queue is not feasable and we’re dealing with a lot of issues trying to manage it. Hence the need for a single process conversion done on the server without UI interaction.
Great advise! For a lot of printing jobs.One question: is there a generic way to address the user’s local printer such as ‘localprinter’, ‘defaultprinter’ or ‘lpt1’?
Any way to reset the print jobs to the default or local printer after using the Print method?
Have you looked at DominoPDF from Primeapple (http://www.primeapple.com )? It uses the Domino http task to render the Notes document in html, then converts the html to pdf. In addition, it can directly convert RTF/Word/Excel files to PDF. The conversion happens on the server back-end. Might solve your problem.
For those of you who are still interested in Notes to PDF Conversion: SWING PDF Converter is worth to look at.
It converts any Notes document or collection of documents into a PDF file. It does not require a printer driver to be installed nor DLL files. You can run the code either on the Notes client or on the server. The SWING PDF Converter can be used out-of-the-box (as a Notes toolbar icon) or by programming (LotusScript API is provided).
Thanks for your reply. I have already evaluated this option. the draw back is that it is limited to customized pdf layout, based on personlalized data.
We need something that will not limit the flexibility of RTF fields, and render exactly what’s in them. For example we need to render a complex form into a RTF and convert that to pdf.