PDF Stamp COM SDK 3.2 — doesn’t work on Win2k8 64bit

Hello,

PDFStamp.DLL fails to register on our Windows 2008 64bit server. I've tried regsvr32 in both \windows\system32\ and \windows\syswow64\ and both fail. The other DLL, PDFStampOcx.dll, registered just fine.

Do I need a 64bit version of PDFStamp.DLL?
The "example_vb.exe" does work by creating stamped PDFs. However, the COM version isn't working - here's the error:
      
Microsoft VBScript runtime
error '800a01ad'
ActiveX component can't create object: 'PDFStampOCX.CPDFStamp'
=============================================
The latest version of PDF Stamp COM SDK does support Win2k8 64bit system, if you have purchased our product, please email to us your Order ID, we will assist you asap.

VeryPDF
=============================================
Thank you, that's good to know. I'm currently testing the trial version. But it doesn't work, as I explained below. I have to ensure it works before I purchase. Can you assist?

We're also strongly considering PDFLib. We currently use v6 but it doesn't support 64bit. So I tried v8 and it works great. But costs about $1400. I'd rather use your product... but only if I can get the trial version to work!
==============================================
Hi,

The latest test version has already supported the 64bit system, please by following steps to try again,

1. Please run "bin/install_for_x64.bat" to register PDFStampCom.exe first, you need run it with administrator right, you can also run following command line to register it by manual,

PDFStampCom.exe /regserver

2. Please run "test-pdfstampcom-x64.vbs" to test the stamp functions, please refer to sample code at below, please notice the RED code line, the "PDFStampCOM.CPDFStamp" interface can be supported in both 32bit and 64bit systems,

Const Very_Set_Range = 131
Const Very_Set_Opacity = 240
Const Very_Get_Opacity = 240
Const Very_Get_PdfPageCount = 206
Const Very_Get_PageBoxForStamp = 260
Const Very_Set_EmbedFont = 241
Const Very_Get_EmbedFont = 241
Const Very_Set_TransparentColor = 242
Const Very_Set_ImageLossless = 243
Const Very_Set_InsertMultipleImageCopy = 244
 
    Set fso = CreateObject("Scripting.FileSystemObject")
    strFolder = fso.GetParentFolderName(wscript.ScriptFullName)
   
    strPDFFile = strFolder & "\example.pdf"
    strOutFile = strFolder & "\vbcom-test.pdf"
    Set pdfstamp = CreateObject("PDFStampCOM.CPDFStamp")
    pdfstamp.veryRegEx "XXXXXXXXXXXXXX"
    id = pdfstamp.veryOpenEx(strPDFFile, strOutFile)
    'id = pdfstamp.VeryStampLayerOpenEx(strPDFFile, strOutFile, "PDFManWatermark_Overlayer", "PDFManWatermark_Underlayer")
    If (id > 0) Then
            Page = 1
            iRet = pdfstamp.verySetFunctionEx(id, Very_Set_InsertMultipleImageCopy, 1, 0, 0, 0)
            pagecount = pdfstamp.veryGetFunctionEx(id, Very_Get_PdfPageCount, 0, 0, 0, 0)
            MsgBox "PDF file: " & strPDFFile & ", Page Count = " & CStr(pagecount)
            For Page = 1 To pagecount
   
                leftpos = pdfstamp.veryGetFunctionEx(id, Very_Get_PageBoxForStamp, Page, 0, "left", 0)
                top = pdfstamp.veryGetFunctionEx(id, Very_Get_PageBoxForStamp, Page, 0, "top", 0)
                pagewidth = pdfstamp.veryGetFunctionEx(id, Very_Get_PageBoxForStamp, Page, 0, "width", 0)
                pageheight = pdfstamp.veryGetFunctionEx(id, Very_Get_PageBoxForStamp, Page, 0, "height", 0)
               
                'We need to control which pages the stamp goes on
                iRet = pdfstamp.verySetFunctionEx(id, Very_Set_Range, Page, 1, 0, 0)
                strStampBuf = "Page:" + CStr(pagecount - Page + 1) + ", Page Box: [" + CStr(leftpos) + " " + CStr(top) + " " + CStr(pagewidth) + " " + CStr(pageheight) + "]"
               
                'Not embed TTF font for general text stamp
                iRet = pdfstamp.verySetFunctionEx(id, Very_Set_EmbedFont, 0, 0, 0, 0)
                iRet = pdfstamp.veryAddTextEx(id, 2, strStampBuf, 255, 0, 0, 0, 0, 0, 0, 300, 0, 10, 1, "http://www.verypdf.com", 0)
         
                'Embed special TTF font into PDF file, we can to use any TTF font
                iRet = pdfstamp.verySetFunctionEx(id, Very_Set_EmbedFont, 1, 0, 0, 0)
                iRet = pdfstamp.veryAddTextEx(id, 1, "0123456789", RGB(0, 0, 0), 0, 0, 0, 0, 0, 0, 0, "Code-39-20", 8, 1, "http://www.verypdf.com/", 0)
               
                iRet = pdfstamp.verySetFunctionEx(id, Very_Set_ImageLossless, 1, 0, 0, 0)
                iRet = pdfstamp.veryAddImageEx(id, 9, strFolder & "\watermark.gif", 0, 0, 0, 0, 50, 50, 0, 0, 0)
            Next
        pdfstamp.veryCloseEx (id)
    End If
   
    iRet = pdfstamp.VeryStampDeleteStampFromPagesEx(strOutFile, strOutFile + "-StampRemoval.pdf", "1,5-6,8,13-15")
   
    iRet = pdfstamp.VeryStampDeleteImagesFromPagesEx(strOutFile, strOutFile + "-ImageRemoval.pdf", 1240, 1240, "1,5-6,8,13-15")
   
    nIsStamped1 = pdfstamp.VeryStampIsStampedEx(strPDFFile)
    nIsStamped2 = pdfstamp.VeryStampIsStampedEx(strOutFile)
    strMessage = strPDFFile & ", Check Stamp Status: " & CStr(nIsStamped1) & vbCrLf
    strMessage = strMessage & strOutFile & ", Check Stamp Status: " & CStr(nIsStamped2)
    MsgBox strMessage
   
    strOutFile = strFolder & "\vbcom-newLayer-test.pdf"
    id = pdfstamp.VeryStampLayerOpenEx(strPDFFile, strOutFile, "Foreground Layer", "Background Layer")
    If (id > 0) Then
        iRet = pdfstamp.veryAddTextEx(id, 2, "Test VeryStampLayerOpen() function", 255, 0, 0, 0, 0, 0, 0, 300, 0, 10, 1, "http://www.verypdf.com", 0)
        pdfstamp.veryCloseEx (id)
    End If
   
    strOutFile = strFolder & "\vbcom-Encrypted-test.pdf"
    iRet = pdfstamp.VeryStampEncryptPDFEx(strPDFFile, strOutFile, "", "123", 1, 3900)

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDFStamp Command Line | Tagged | Leave a comment

Issue with PDF2Word V3.0

Hi there,

I have 3 issue while using PDF2Word V3.0. I am using Windows XP.

Please see attached file for issue description:
1. Internal link in Word document does not work.
2. Empty checkbox is incorrect in Word document 3. The file size is much larger than original pdf file.
Could you please check and let me know if there is any way to get around this problem?

thanks
=====================================
>>1. Internal link in Word document does not work.
>>2. Empty checkbox is incorrect in Word document

Thanks for your message, we will try to solve these problems in the next version of PDF2Word product, we will send the new version to you as soon as it ready, thanks for your patience.
>>3. The file size is much larger than original pdf file.

You can open the converted DOC file in MS Word, save it to a new DOC file again, this will compress the DOC file size a lot, please to try.

VeryPDF

VN:F [1.9.20_1166]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: -1 (from 1 vote)
Posted in PDF to Word Converter | Tagged | 1 Comment

fill in pdf forms form a SQL database through PDF Form FIller OCX

I am looking for a solution to create CERTIFICATES inside a VB6 application. These are simple word documents which we fill in from a SQL database. It has limitations as word struggles with graphics etc. We know they can design "pretty" certificates of attainment etc in PDF files. If we turn these into PDF forms we need to be able to access the data from the SQL database to fill in the form. Obviously we want to supply the basic pdf suite to each of the companies but they would then want all their users to be able to use the ocx imbedded in our application. i.e. They need a royalty free client.
 
Can you supply a solution that allows us to fill in pdf forms form a SQL database through your ocx?
 
Is the ocx royalty free? e.g. Most of the companies are small - 5 to 10 users each. Often only one person would be capable of creating a form or they would get us to do it for them but any one of their users would need to produce a "certificate" for one of their customers.
===========================================
Hi,

>>Can you supply a solution that allows us to fill in pdf forms form a SQL database through your ocx?

Yes, please download VeryPDF Form Filler GUI OCX v3.1 from following web page to try, you can use VeryPDF Form Filler GUI OCX v3.1 to fill the PDF forms easily,

http://www.verypdf.com/pdfform/index.html
 

>>Is the ocx royalty free?

Yes, our VeryPDF Form Filler GUI OCX v3.1 is royalty free, With a developer license you can integrate our product with your application and distribute it with your own application royalty free.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Form Filler | Tagged | Leave a comment

PDF Stamp Command Line for Windows 7

I bought the command line version of PDF Stamp from you and discovered that it didn't run on my computer. I guessed it would work on Windows 7 since Vista is supported, but it didn't. I have made a test on a computer with Windows XP and it was successful. When will you upgrade to Windows 7 compatibility? I won't be able to do very much until then.

===================================
Hi,

Our PDF Stamp Command Line does support Windows 7 system, please run PDF Stamp Command Line with administrator right to try again, we hoping administrator right will helpful to you.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDFStamp Command Line | Tagged | Leave a comment

About your Spool File Page Counter SDK

i am trying out your Spool File Page Counter SDK
c# sample to print a windows spool file (eg 00009.spl)
why is it I am not bale to get the correct copies count.
============================================
Can you please email to us your sample 00009.spl file and your Order ID (if you have)?
after we checked your sample 00009.spl file, we will figure out a solution to you shortly.

VeryPDF
==================================
thanks for your prompt reply. will send you the spl file later.

by the way, do you have the sample code in VS2008.
===================================
Hi,

Please download trial package from following URL, this package does contain C#, VB.NET, etc. examples, you can compile and run these examples from VS2008 easily,

http://www.verydoc.com/ps-and-pcl-info-sdk.zip

VeryPDF
==================================
Hi,

We have double checked your 00009.SPL file, this SPL file is contain one copy only, it hasn't contain more copies, our Spool File Page Counter SDK will report following information for it, the following information is correct,

=============================
Page   1 is [Color]
=============================
Statistics: bwPageCount=0, colorPageCount=1
=======================================
File = 'D:\temp4\00009.SPL'
Return Value = TRUE
bIsRenderToPDF = 1
bwPageCount = 0
colorPageCount = 1
copyCount = 1
PageWidht = 2100
PageHeight = 2970
PaperSizeName = 'A4'

VeryPDF
====================================
i downloaded and run and am still told that vs2008 cannot be used. i need a newer version.
have you check my 00009.spl file?
====================================
Hi,

>>i downloaded and run and am still told that vs2008 cannot be used. i need a newer version.

This is the vs2010 project, maybe this is reason that you can't open it in vs2008.

However, you can create a blank vs2008 project, set the compile type to x86, you can insert following code into your vs2008 project, then you can compile and run your vs2008 project properly,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        [DllImport("ReadInfo.dll", EntryPoint = "ReadInfoFromPCLFile")]
        public static extern Int32 ReadInfoFromPCLFile(
            string fileName,
            Int32 bIsRenderToPDF,
            ref uint bwPageCount,
            ref uint colorPageCount,
            ref uint copyCount,
            ref double pagewidth,
            ref double pageheight,
            StringBuilder paperSizeName);

        [DllImport("ReadInfo.dll", EntryPoint = "ReadInfoSetCode")]
        public static extern void ReadInfoSetCode(string strCode);

        static void Main(string[] args)
        {
            if (args.Length != 1)
            {
                Console.WriteLine("test.exe C:\\test.pcl");
                Console.WriteLine("test.exe C:\\test.ps");
                return;
            }
            Console.Write("args length is ");
            Console.WriteLine(args.Length); // Write array length
            for (int i = 0; i < args.Length; i++) // Loop through array
            {
                string argument = args[i];
                Console.Write("args index ");
                Console.Write(i); // Write index
                Console.Write(" is [");
                Console.Write(argument); // Write string
                Console.WriteLine("]");
            }
            string fileName = args[0];
            int bIsRenderToPDF = 1;
            uint bwPageCount = 0;
            uint colorPageCount = 0;
            uint copyCount = 0;
            double nPageWidth = 0;
            double nPageHeight = 0;
            StringBuilder strPaperSizeName = new StringBuilder(300);

            ReadInfoSetCode("XXXXXXXXXXXXXXXXXX");
            ReadInfoFromPCLFile(fileName, bIsRenderToPDF, ref bwPageCount, ref colorPageCount,
                    ref copyCount, ref nPageWidth, ref nPageHeight, strPaperSizeName);

            Console.WriteLine(String.Format("File: {0}", fileName));
            Console.WriteLine(String.Format("Render To PDF: {0}", bIsRenderToPDF));
            Console.WriteLine(String.Format("BW Pages: {0}", bwPageCount));
            Console.WriteLine(String.Format("Color Pages: {0}", colorPageCount));
            Console.WriteLine(String.Format("Width: {0}", nPageWidth));
            Console.WriteLine(String.Format("Height: {0}", nPageHeight));
            Console.WriteLine(String.Format("Paper name: {0}", strPaperSizeName));
        }
    }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>>have you check my 00009.spl file?

We have double checked your 00009.SPL file, this SPL file is contain one copy only, it hasn't contain more copies, our Spool File Page Counter SDK will report following information for it, the following information is correct,

=============================
Page   1 is [Color]
=============================
Statistics: bwPageCount=0, colorPageCount=1
=======================================
File = 'D:\temp4\00009.SPL'
Return Value = TRUE
bIsRenderToPDF = 1
bwPageCount = 0
colorPageCount = 1
copyCount = 1
PageWidht = 2100
PageHeight = 2970
PaperSizeName = 'A4'

VeryPDF
========================================================

I have printed 3 copies of elexol.txt
but I still get one copy from 00010.spl.

is there some settings that I missed.
=========================================================
Hi,

The latest version of Spool File Page Counter SDK can print following information for your 00010.SPL file, as you see, “copyCount = 3” in your 00010.SPL file,

=============================
Page   1 is [   BW]
Page   2 is [   BW]
Page   3 is [   BW]
Page   4 is [   BW]
Page   5 is [   BW]
Page   6 is [   BW]
=============================
Statistics: bwPageCount=6, colorPageCount=0
=======================================
File = 'D:\temp4\00010.SPL'
Return Value = TRUE
bIsRenderToPDF = 1
bwPageCount = 6
colorPageCount = 0
copyCount = 3
PageWidht = 2100
PageHeight = 2970
PaperSizeName = 'A4'
==========================================================
==================================================================
It seems you are using the old version of Spool File Page CounterSDK, please download the latest version from following URL to tryagain,

http://www.verydoc.com/download/ps-and-pcl-info-sdk.zip

after you downloaded it, you can run following command line toretrieve information from your SPL file,
C:\>E:\ps-and-pcl-info-sdk\bin\vc_test.exe D:\temp4\00010.SPL
=============================
Page   1 is [   BW]
Page   2 is [   BW]
Page   3 is [   BW]
Page   4 is [   BW]
Page   5 is [   BW]
Page   6 is [   BW]
=============================
Statistics: bwPageCount=6, colorPageCount=0
=======================================
File = 'D:\temp4\00010.SPL'
Return Value = TRUE
bIsRenderToPDF = 1
bwPageCount = 6
colorPageCount = 0
copyCount = 3
PageWidht = 2100
PageHeight = 2970
PaperSizeName = 'A4'

VeryPDF

================================================
yes. you are right. i was using the old version.

now, everything is fine.
thanks

regards
================================================
how do I read the printer name, username and other info from the spl file.
================================================
>>how do I read the printer name, username and other info from the spl file.

PCL format doesn't contain printer name, username and other info, these information are store in .SHD file of print job, but not included in PCL file, so we can't retrieve these information from PCL file.

VeryPDF
=================================================
Hi,

I am trying to display the copies and pages in a textbox under windows form application. But I always get a "ReadInfo.dll not found error". where should I copy ReadInfo.dll to.

and do I need to regster it.

regards
=================================================
Hi,

Please copy your EXE and following DLL files into same folder, then you can run your EXE from this folder properly,

cimage.dll
cximagecrt.dll
Interop.FileInfoCOM.dll
pcl.dll
pcltool.dll
pdftoolsdk.dll
ReadInfo.dll

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in Spool File Page Counter SDK | Tagged | 3 Comments
Page 1,379 of 1,395« First...102030...1,3771,3781,3791,3801,381...1,390...Last »