cancel
Showing results for 
Search instead for 
Did you mean: 

Create watermark to pdf

naguilar
Champ in-the-making
Champ in-the-making
HI Smiley Very Happy

I need create watermark in files pdf, this watermark only can see when de document has been printed, I don´t know if Alfresco has this option at the moment to create any rule. If this option doesn´t exist in Alfresco, how could I create this option with java scrip?

Please help me is very important for my job.

:roll:  :roll:
10 REPLIES 10

invictus9
Champ in-the-making
Champ in-the-making
Have you read about Transformers in the Alfresco environment? You could add a new transformer, based on the existing one that adds a watermark.

http://wiki.alfresco.com/wiki/Content_Transformations

naguilar
Champ in-the-making
Champ in-the-making
I already have the. Xml indicating what you are in the link of such transformer, however how can I do to make the display in RuntimeExecutableContentTransformerWorker WebClient? Not find a way to make these calls to this RuntimeExecutableContentTransformerWorker.

naguilar
Champ in-the-making
Champ in-the-making
I have tried to add the watermark with the pdftk command-content.xml configuring a file with the necessary parameters for execution. I add a rule Inbound and action type = Transform and copy content to a specific space. with these parameters only adds watermark the second time you add the document. No reason why we do not always run the command.
I tried also with the composite command and does not run ImageMagick command line tells me that is not recognized internal or external command composite being that I am in the same path where the ImageMagick folder.

If anyone knows where I am wrong or that other commands can I use, I would be very helpful, and i just three weeks with this requirement.

ssaravanan
Champ in-the-making
Champ in-the-making
You can use iText java pdf library for providing watermarked pdfs on the swing- http://itextpdf.com/
Probably you might need to develop a custom implementation for watermarked transformations.
Zaizi has provided an implementation of this watermarking and virus scanning solutions (using ClamAv)

naguilar
Champ in-the-making
Champ in-the-making
thanks for you answer, ok I will tried using the library itext, but i need to Know, how do i configure this library with Alfresco?, what is the path for add the class itext?, and which are the files to configure for calls to the classes?. For example, when I use the utility pdftk i configure the files in -context.xml and this is add in the  extension folder, do you have the path for this configuration? :roll:

ssaravanan
Champ in-the-making
Champ in-the-making
You probably need to build it as an Alfresco amp, and the watermarked pdf transformation has to be done on the swing.
The ideal example to look is Share thumbnails, where the transformations are used.

jameskelleherge
Champ in-the-making
Champ in-the-making
Hello,

We also have a product DocSecure that does this:

http://www.generiscorp.com/docsecure.html

nmcminn
Champ in-the-making
Champ in-the-making
If you still need simple PDF watermarking, I just contributed my iText-based PDF watermarking code to this project:

http://code.google.com/p/alfresco-pdf-toolkit/

the 0.91 AMP has the watermarking action included.  See here for some additional details:

http://www.unorganizedmachines.com/site/software-and-technology/34-software-development/99-watermark...

leonard
Champ in-the-making
Champ in-the-making
Hi guys i have a question, how could i watermarking the pdf based on User Login?
or do guys have any idea or tutorial for that?

i've seen addons like Skytizen but i have to pay for that addons? is it possible to make waterking pdf with username with pdf toolkit ?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.