We have been using the command line version of your product with the suplied registration code without any problem for several years. However, I recently tried to use the same registration code alonfg with the DLL version (PDFToImageSetCode; PDFToImageConverter). The PDF converts to a multipage tiff file, but I am getting the test version watermark. Do I need a different registration code:
(I am working in VFP 8 in this project)
DECLARE long PDFToImageConverter in "c:\rts\pdf2image.dll" ;
String szPDFFileName , String szOutputName, ;
String szUserPassword,String szOwnPassword, ;
long xresolution,long yresolution,long bitcount, ;
long compression, long quality,INTEGER grayscale, ;
INTEGER multipage,long firstPage,long lastPage
Declare long PDFToImageGetPageCount in "c:\rts\pdf2image.dll" ;
string szPDFFileName
Declare PDFToImageSetCode in "c:\rts\pdf2image.dll" ;
string szRegcode
LOCAL coutfile,npagecnt,
nok = PDFToImageSetCode("XXXXXXXXXXXXXX")
npagecnt = PDFToImageGetPageCount(cpdffile)
WAIT WINDOW "Converting PDF file to Tiff File: " + ALLTRIM(STR(npagecnt)) + " page(s)" NOWAIT NOCLEAR
nok = PDFToImageConverter(cPdffile, cTiffFile ; ,"", "", 200, 200, 1, 4, 70, 0, 1, -1, -1) WAIT CLEAR
IF nok>0
gfmessage("Failed to convert PDF file to Tiff file")
ENDIF
CLEAR DLLS
"PDFToImageConverter","PDFToImageGetPageCount","PDFToImageSetCode"
SET DEFAULT TO (c_drive)
Email secured by Check Point
========================================
Are you using the latest version of pdf2image.dll library? If yes, please use old version of pdf2image.dll to replace the new version of pdf2image.dll file, then you will get it work.
========================================
I was using the wrong activation code, the one for our earlier command line version. I switched to the SDK version activation code and all is now working properly. Thank you for your help.
========================================
Thanks for your information.
========================================
Related Posts
Related posts:
PDF to Image Component on x64 machine
PDF To Image Converter COM Developer License
Pages being dropped using docPrint pro v3.3
Convert Japanese PDF to BMP image
How to call PDF to Image Converter Command Line from C# source code and convert first one page only?
VeryPDF PDF Rasterizer for .NET SDK. Convert PDF to Images from C# and VB.NET Applications. PDF SDK ...
Does PDF to Image Converter Command Line convert fillable PDF form fields to TIFF or JPG or PNG imag...
How to rotate some pages of the PDF file 90 degrees to create a jpg file?