I really need to add watermarks using PDF creator. any help would be greatly appreciated
I really need to add watermarks using PDF creator. any help would be greatly appreciated
Hi,
have a look at the "Scripts" folder in you PDFCreator installation. (haven't tried it myself)
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
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.
Hello,
The WshShell line must look like this:
WshShell.Run """"&PathToPdftk&"""" & " """ & fname & """ background " & " """ & WatermarkPDF & """ output """ & tfname & """",0,true
Good luck!
See also here: http://en.pdfforge.org/forum/open-discussion/4266-watermark and here: http://en.pdfforge.org/forum/open-discussion/4323-security-dont-work
Did you ever find the solution to this? I am getting the same error - system cannot find the file specified on line 50 of the .vbs file. My path to the WatermarkPDF and PathToPdftk are both correct.
Never mind, I missed Ivar’s post above, changing this line in the VBS file fixed it - many thanks!!
Hi,