Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Another "PDF Capability is Required" error...
Started by linzack at 01-24-2006 13:52. Topic has 9 replies.

Print Search « Previous Thread Next Thread »
  01-24-2006, 13:52
linzack is not online. Last active: 1/24/2006 6:22:01 PM linzack

Not Ranked
Joined on 01-24-2006
Posts 1
Another "PDF Capability is Required" error...
Reply Quote

Running 14.5, I am attempting to load a PDF file - resulting in error message "PDF Capability is Required".  Reading through previous postings, I have confirmed that the PdfDll32.dll exists within the winsys32 folder, and am loading references to Leadtools.pdf and Leadtools.Codecs.Pdf - C# on XP pro.

Any suggestions would be appreciated.

Thanks.


   Report 
  01-26-2006, 9:27
Ali is not online. Last active: 1/24/2006 12:52:31 PM Ali



Top 25 Posts
Joined on 01-19-2006
Posts 141
Re: Another "PDF Capability is Required" error...
Reply Quote

To solve this problem please download the PDF plug-in:

http://www.leadtools.com/releasedownloads/v15/LEADTOOLSPDFRuntime.exe

then please read this topic " Implementing PDF Plug in Features" in the help file specially the last paragraph " Distributing an application built using the PDF Module" and Setup the registry configuration as the help topic.

For any licensing questions, please contact sales@LEADTOOLS.com as PDF functionality requires a development and distribution license.


   Report 
  03-04-2008, 6:46
Borja is not online. Last active: 6/13/2008 9:50:36 AM Borja

Top 500 Posts
Joined on 02-04-2008
Posts 10
Re: Another "PDF Capability is Required" error...
Reply Quote
Hello:
I have installed LEADTOOLSPDFRuntime.exe v15 and the problem still happens, how coud i make it stop?

   Report 
  03-04-2008, 7:56
Adnan Ismail is not online. Last active: 8/14/2008 1:40:07 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,124
Re: Another "PDF Capability is Required" error...
Reply Quote
If you want to load PDF files in your application, you need to unlock PDF features in your application using the Unlock method. If you are using the LEADTOOLS .NET programming interface, you need to use the RasterSupport.Unlock() method.
Adnan Ismail
LEADTOOLS Technical Support

   Report 
  07-25-2008, 17:33
jmvetter is not online. Last active: 6/30/2008 7:51:26 PM jmvetter

Not Ranked
Joined on 06-26-2007
Posts 6
Re: Another "PDF Capability is Required" error...
Reply Quote
I am having an issue with deploying the PDF Runtime files. I am running my application and I keep getting an error along the lines of "cannot find the pdf runtime files". In the deployment instructions you talk about getting the files from: Redist\Pdf\Fonts and so on for the other folders. I look in my Leadtools15 folder inside the redist folder, but i don't have a pdf subdirectory. Eventually I find the place where the runtime files are on my computer which is in bin\common\pdf and I put those files on the other computer for deoployment, doesn't work. If you could direct me in where I'm going wrong so I can get this deployed that would be greatly appreciated.
Thanks
John
   Report 
  07-27-2008, 10:53
Yasir Alani is not online. Last active: 8/19/2008 2:17:58 PM Yasir Alani



Top 25 Posts
Joined on 02-05-2007
Posts 202
Re: Another "PDF Capability is Required" error...
Reply Quote
I checked our LEADTOOLS 15 help files, and they do NOT mention "Redist\PDF". Please see:
http://www.leadtools.com/Help/LEADTOOLS/v15/Main/API/default.htm#DLLSTEPS/Implementing_PDF_Plug_in_Features.htm
This help topic mentions that the PDF engine files are found in Bin\Common\Pdf.

Before you use any LEADTOOLS PDF loading functions, you must specify the location of the PDF engine. If you're using the DLL API, do this using the L_SetPDFInitDir function. If you're using .NET, set the path using the RasterCodecs.Options.Pdf.InitialPath Property.


   Report 
  07-30-2008, 19:18
jmvetter is not online. Last active: 6/30/2008 7:51:26 PM jmvetter

Not Ranked
Joined on 06-26-2007
Posts 6
Re: Another "PDF Capability is Required" error...
Reply Quote
I specified the path in code as you mentioned as shown below:
mstrPDFRuntimeFiles = "C:\PDFRuntimeFiles\Lib;C:\PDFRuntimeFiles\Fonts;C:\PDFRuntimeFiles\Resource"
'mstrPDFRuntimeFiles = "C:\PDFRuntimeFiles\"
codecs.Options.Pdf.InitialPath = mstrPDFRuntimeFiles

Either way I have tried i get the "PDF Error - Either the files required for initializing the PDF engine were not found or they were found but incorrect"

I did put a msgbox to check and make sure the pdf engine is installed and that gave a true response. I'm not sure what exactly I'm doing wrong.

Also I must have an old version of the documentation of the shipped documentation is slightly different than the online documenation as mine had the redist part in it. See attached.
   Report 
  07-31-2008, 8:31
Yasir Alani is not online. Last active: 8/19/2008 2:17:58 PM Yasir Alani



Top 25 Posts
Joined on 02-05-2007
Posts 202
Re: Another "PDF Capability is Required" error...
Reply Quote
If you run one of our demos (like the Main API demo), can you open a PDF file with it? If yes, then this means that the PDF engine files are properly installed on your computer.

Do you have a PDF runtime license and unlock key for the PDF plug-in? If not, then please send an email to sales@leadtools.com to inquire about them.

If you already have one, then please put your code in a working project (not your full application), then pack your project in a ZIP or RAR file and post it here. If you don't want to post here, please send it to support@leadtools.com and mention this forum post.

Also, please download the latest PDF engine from our site and send your LEADTOOLS serial number(s) in an email message to support@leadtools.com and ask for the latest DLL patches.


   Report 
  07-31-2008, 15:22
jmvetter is not online. Last active: 6/30/2008 7:51:26 PM jmvetter

Not Ranked
Joined on 06-26-2007
Posts 6
Re: Another "PDF Capability is Required" error...
Reply Quote
First Question: Yes the demo works on the deployment machine.
Second Question: Yes I have unlock keys for Annotations,PDF Read and Write
Third Question: Just sent a zip of the two projects I have been testing to the support email.
Fourth Question: I have my unlock keys in the code, those are the serials right. If you could send me the updated dlls that would be great.

Thanks
John
   Report 
  08-03-2008, 5:31
Yasir Alani is not online. Last active: 8/19/2008 2:17:58 PM Yasir Alani



Top 25 Posts
Joined on 02-05-2007
Posts 202
Re: Another "PDF Capability is Required" error...
Reply Quote
I got your message, and I will update you through email.
   Report 
Post
LEAD Support Fo... » Developer » PDF » Another "PDF Capability is Required" error...

Powered by Community Server, by Telligent Systems