Pdf header signature not found

Hi, I've just installed V1.5.1 after V1.5.0.

I'm using a vbs script in order to add a watermark to my documents.

The error is in the title, it seems a problem in the script in this row:

pdf.StampPDFFileWithPDFFile fname, tfname, Watermark, 1, 1, false, 1, 10

I've used the same script for a year without problems, can you guess what's wrong?

I have Vista/32 ...

Hi,

does this happen for any PDF, or only for a particular one?
Could you post the entire script here (or send it to us by mail)?
As a workarround you could use the AddWatermark script which is supplied by PDFCreator.

regards,

Robin

Dear Robin,

this morning I've try the script "AddWatermarkToPDF.vbs" and it works.

Anyway here there is the script I was using before:

Option Explicit
' Path to watermark pdf file
Const Watermark = "C:\\Users\\sei\\Documents\\PDF Creator\\Watermark.pdf"
Dim objArgs, fname, tfname, fso, pdf
Set objArgs = WScript.Arguments
fname = objArgs(0)
Set fso = CreateObject("Scripting.FileSystemObject")
tfname = fso.GetTempName
Set pdf = WScript.CreateObject("pdfforge.pdf.pdf")
pdf.StampPDFFileWithPDFFile fname, tfname, Watermark, 1, 1, false, 1, 10
If fso.FileExists(tfname) Then
fso.DeleteFile(fname)
fso.MoveFile tfname, fname
Else
MsgBox "There was an error adding the Watermark!", vbCritical, AppTitle
End If
Set pdf = Nothing
Set fso = Nothing
Set objArgs = Nothing

I don't remember where I get it.

Regards

Nerochiaro