Generating PDF through java

Hello all,

my requirement is that i want to generate pdf from saving the document.

i e it will take some of fields and will generate the pdf.

Regards,

Dev Chauhan.

Subject: Generating PDF through java … Consider iTEXT

this is a third party , Freely licensed set of Java classes

Link

we’ve used it quite successfully … though not quite as you describe

a quick WebSearch include some articles on Domino use of Itext

http://www.vincedimascio.com/vince/vpd.nsf/all/0433478FA6CB9A698825711A0083AD2F

Subject: Generating PDF through java

You can use third party freeware to install pdf as a printer and it java you can print documents.

Subject: RE: Generating PDF through java

Can you print a Notes document from the Java API directly? I don’t think so, since all print methods in the LS API are bound to UI objects.

One of the more common approaches is to use XSL-FO, e.g. using Apache FOP (Apache(tm) FOP - a print formatter driven by XSL formatting objects (XSL-FO) and an output independent formatter.). But this is not explained in a few sentences (at least I can’t). You should be able to find lots of info about it on the net, but off hands, the only fully-fledged presentation with a sample database for Domino integration is in German only. Still, you might have a look at it, could well be, that there are other good sources.

Subject: RE: Generating PDF through java

Its really not all that hard using XML, XSL and FOP (third party freeware). I have done this many times using these technologies with the ability to server up a dynamic pdf to a web user. You need XML and XSL skills to make this happen, don’t know of a way through the JAVA API directly.

Subject: RE: Generating PDF through java

Hi Tom,

Can you please let me through the basic step…

i mean how to create XML, and XSL… please

Dev"

Subject: RE: Generating PDF through java

You can achieve this very easily with the use of the Open Source project “IText”. Google for Lotus and IText and you will find a lot of example (java) code that will get you started. With this, you won’t be needing to transform stuff (FOP), just plain Domino Java api + IText api. You could even dump your documents as images and incude those if you like an exact layout from your source Domino database.

Kind regards

Daniel

www.noteshound.com

Subject: RE: Generating PDF through java

SWING Integrator can help you to create PDF’s automatically through field mapping, a flash demo and of this functionality and product trial is available at:

Kind regards,

Mario

Subject: RE: Generating PDF through java

How is this done? Can you please post a short sample…

Subject: RE: Generating PDF through java

Did you ever find a way to dump documents as images?

Subject: Generating PDF through java

SWING Integrator can help you to create PDF’s automatically through field mapping, a flash demo and of this functionality and product trial is available at:

Kind regards,

Mario

Subject: Generating PDF through java

Yes, if it is possible through the LS then also it is good,

but as of now i want when user save the document it should save as pdf in local drive…

can expert let me through procedure without using third party freeware.

Thanks in advance.

Dev

Subject: RE: Generating PDF through java

Impossible (in practice).