PDF Stamp SDK: What to install PDF Stamp SDK into our system?


My company, CA Technologies, recently purchased a license for PDF Stamp SDK which I had previously downloaded and tested in a classic .asp application on a test Win 2012/64 bit server running IIS 8.5/64 bit.

Following the order we received an email from SWREG but I am not clear about what I need to download and install.

There is firstly a link to https://www.verypdf.com/pdfstamp/pdfstamp_sdk.zip which has many folders and files and seems to be the same as the version that I downloaded for trial/testing.

The SWREG email seems to say that after installing the files from the first link and running install.vbs one just needs to specify the license key when calling the pdfstamp functions from within a asp. web page.

But then the email mentions Download PDF Stamp COM Server License which has far fewer folder files but much overlap compared to the folders/files in the above link.

So, what is the second link for? Do I just install the first set of files, just the second set or both? If both then in which folder as they each unzip to different folders.

Please unconfused me.

We apologize for any inconvenience this may have caused to you.

PDFStamp SDK contains two COM interfaces, one is PDFStampOcx.dll file, another is PDFStampCom.exe file.

PDFStampOcx.dll is a COM interface which based on PdfStamp.dll library, it can only be called from 32bit applications.

PDFStampCom.exe is also a COM interface which based on PdfStamp.dll too, it can be called from both 32bit and 64bit applications.

You can run following command lines with administrator privilege to register them into your system,

regsvr32 PDFStampOcx.dll

PDFStampCom.exe /regserver

If you wish to call PDFStampOcx.dll from a 32bit application, you can use following sample code,
Set oTest = CreateObject("PDFStampOCX.CPDFStamp")
id=oTest.veryOpenEx("D:\verypdf.pdf", "D:\out.pdf")
if id>0 then
oTest.veryAddTextEx id, 2, "This is a test.", 2666666,17, 0, 200, 0, 0, 0, 0, 0, 32, 0, 0, 0
oTest.veryCloseEx id
end if

If you wish to call PDFStampCom.exe from both 32bit and 64bit applications, you can use following sample code,
Set pdfstamp = CreateObject("PDFStampCOM.CPDFStamp")
pdfstamp.veryRegEx "XXXXXXXXXXXXXX"
id = pdfstamp.veryOpenEx("D:\verypdf.pdf", "D:\out.pdf")
If (id <= 0) Then
End If

nRet = pdfstamp.veryAddTextEx(id, 2, "VeryPDF", 255, 0, 0, 0, 0, 0, 0, 300, 0, 10, 1, "https://www.verypdf.com", 0)
pdfstamp.veryCloseEx (id)

As you see, PDFStampOcx.dll is "PDFStampOCX.CPDFStamp" and PDFStampCom.exe is "PDFStampCOM.CPDFStamp", you can call the different version of PDFStamp COM interface from your applications easily.

the test.asp file is using following code,

Set oTest = Server.CreateObject("PDFStampOCX.CPDFStamp")

so, you need run "regsvr32 PDFStampOcx.dll" to register PDFStampOcx.dll into your system first, then you can run test.asp code to stamp PDF files easily.

Please notice, in order to get both PDFStampOcx.dll and PDFStampCom.exe files to work fine, you need keep following files into same folder, because PDFStampOcx.dll and PDFStampCom.exe will load the necessary DLL files from same folder,


If you still can't get it work, please feel free to let us know, we will assist you asap,



VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!