Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Can't get DPLSignFile to work |
Post Reply |
Author | |
jomski
Beginner Joined: 12 May 17 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 12 May 17 at 7:15AM |
I'm using Trial Version of QuickPDF v13.12, and I can't seem to get DPLSignFile to work. This is the barest minimum code that I made and I'm still stuck. I'm using the code below:
DPLSignFile always returns 1 but when I check the file using Acrobat DC it looks exactly as the unsigned version. There is also no Signature Tab/Panel. Thanks in advance.
Edited by Ingo - 12 May 17 at 9:42AM |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Jomski,
about signing files please first read here: http://www.debenu.com/kb/advanced-options-signing-pdf-files/ ...and in the developer guide. Both should give help. Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
jomski
Beginner Joined: 12 May 17 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Thanks Ingo! My next step after this is to add visual digital signature (which is also in the developer guide, very handy!). I will try this and see where this takes me. Cheers!
|
|
jomski
Beginner Joined: 12 May 17 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
I got it to work finally! And the problem is not in the Debenu Library. It's in the PDF I was trying to sign.
Initially I'm trying to sign a temporary PDF file that was created by MS Word. I'm not sure what flags is MS-Word using but signing ANY PDF generated by MS Word ALWAYS fails. Very very frustrating! I tried with another PDF file and it signed it perfectly, no problem at all. Anyways. Thanks Ingo for the help. Cheers!
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi,
after Load you can check the document properties (author/creator). If it's MS Word you can do a LoadFromFile and a new SaveToFile (and then it's QuickPDF and should work for you ;-) |
|
Cheers,
Ingo |
|
jomski
Beginner Joined: 12 May 17 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Ahh that's a neat trick. I will definitely keep that in mind! Thanks!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store