You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Marco Fabbri <mf...@racine.ra.it> on 2002/04/11 18:52:32 UTC
Viewing generated PDF without the toolbar
Hi all,
FOP is great and finally we find a solution to produce PDF reports from
Lotus Domino.
But...
Now I need to disable the PDF print for browser and I found an idea about it
on a adobe forum.
Using Javascript I can disable the toolbar I see on Explorer if in Acrobat I
use a JavaScript folder with some commands.
But this can be done only in the production phase.
How can I produce a PDF file with this capability on FOP environment?
Thanks a lot in advance
Marco Fabbri
Re: Viewing generated PDF without the toolbar
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Marco Fabbri wrote:
> Now I need to disable the PDF print for browser and I found an idea about it
> on a adobe forum.
> Using Javascript I can disable the toolbar I see on Explorer if in Acrobat I
> use a JavaScript folder with some commands.
> But this can be done only in the production phase.
> How can I produce a PDF file with this capability on FOP environment?
Am i right you want to produce a PDF which can't be
printed, i.e. with printing disabled?
There is currently no possibility to do this with
FOP directly. You can postprocess the result from
FOP with some other software. There are several
possibilities, a pure Java, on-the-fly in-memory
solutiont should be possible with iText:
http://www.lowagie.com/iText
For further hint, look here:
http://www.lowagie.com/iText/tutorial/ch01.html#readingPDF
J.Pietschmann