en de fr
Forum

can we use watermarks with PDF creator? Please

5 Antworten [Letzter Beitrag]
utahherb
Offline
Beigetreten: 09/03/2009

I really need to add watermarks using PDF creator.  any help would be greatly appreciated

 

unbob
Bild von unbob
Offline
Beigetreten: 08/26/2009

Hi,

have a look at the "Scripts" folder in you PDFCreator installation. (haven't tried it myself)

bb_dn
Offline
Beigetreten: 06/02/2007

Hi,

if you want a watermark to every pdf you create, you can mark the action "after saving"-box and select the "addwatermarktopdf.vbs"-script.(pdfcreator ->-settings ->action -> action after saveing)

But attention, take a look at the script. You have to install pdftk-1.12. In  "addwatermarktopdf.vbs" is the path to pdftk defined as well as the name of your watermark-file.

You can also run the script from commandline ""addwatermarktopdf.vbs file.pdf". The script is found in C:\program files\PDFCreator\scripts\RunProgramAfterSaving.

Good luck

bb_dn

frasmus
Bild von frasmus
Offline
Beigetreten: 11/30/2009

I cannot solve a problem I am having with this watermark script.

tfname = fso.GetTempName yields a temp file name

but this line

WshShell.Run PathToPdftk & " """ & fname & """ background """ & WatermarkPDF & """ output """ & tfname & """",0,true

does not see the temp file. It gives me an error: "The system cannot find the file specified." Source: (null)

and when I put this line ahead of the shell command...

If Not fso.FileExists(tfname)

it equates to TRUE.

So my temp file does not exist. Please let me know if there's anything else I can do.
 

Ivar van Doorn
Offline
Beigetreten: 12/10/2009

Hello,

The WshShell line must look like this:

WshShell.Run """"&PathToPdftk&"""" & " """ & fname & """ background " & " """ & WatermarkPDF & """ output """ & tfname & """",0,true

Good luck!

Standa
Offline
Beigetreten: 10/08/2009