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!
DPLExtractFilePagesEx producing blank pages |
Post Reply |
Author | |
kukulkan
Team Player Joined: 02 Mar 06 Location: Germany Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 18 Nov 20 at 2:01PM |
I want to extract single pages from a password protected PDF using DPLExtractFilePagesEx function (QuickPDF Library 18 for Windows, working on Windows 10). I get success (1) as result and no error code. But the extracted pages (eg page 1) are only some blank page. What is wrong? This is my test document: The password is 1234567 (not 123456 like in the name). This document was created using Word, saved as encrypted PDF. Online tools for validation and PDF readers do not see any errors and can decrypt and display it with no problems. PS. I tried the support form at http://www.quickpdflibrary.com/support/support-query.php but the QuickPDF versions end at version 11 (we're on 18 now) and Windows 8 (we're on 10 now). Upon submit, I only get a blank page. No confirmation, no email. This is completely broken.
Edited by kukulkan - 18 Nov 20 at 3:34PM |
|
kukulkan
Team Player Joined: 02 Mar 06 Location: Germany Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Update: I consider this to be a bug in DPLExtractFilePagesEx because if I do manually, it works. Manual way: DPLLoadFromFile DPLDecrypt DPLExtractPages DPLSaveToFile DPLRemoveDocument Pages extracted like this are working fine! How fast is Debenu fixing such issues and providing new fixed version 18? Is this something I can wait for or do I really have to simulate DPLExtractFilePagesEx using above method? And how do I report this finding, if the support form does not work (as written in first post)?
|
|
tfrost
Senior Member Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
Post Options
Thanks(0)
|
I do not use those features myself so cannot suggest anything, but another user here may be able to. For support on recent QPDF versions, try https://www.foxitsoftware.com/support and log in. or create an account, to open a ticket there. There is an option in the product list to select Quick PDF Library for a new ticket.
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3529 |
Post Options
Thanks(0)
|
Hi Kukulkan,
try a LastErrorCode directly after your LoadFromFile... Perhaps the resulting error code can give a hint. What's your programming language? Strings in QuickPDF are processed as unicode. This is the correct link you should use asking for official support: https://www.debenu.com/support/ At the top right box you'll find all you need. I don't think that there's an error regarding password processing... Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
kukulkan
Team Player Joined: 02 Mar 06 Location: Germany Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Hello, thanks for the hints and information, but I'm using the most recent version 18 and not an older one. Also, the function does not return an error. My code is checking every call for success codes. It simply writes a blank file with 136KB but with no visible content. It works if I do it manually like described. So there must be an issue in the library. I'm using Unicode for the names and there is no issue with the file names at all, even with Chinese filenames. It reads without error and saves a PDF file, but it is with blank content. |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3529 |
Post Options
Thanks(0)
|
Did you try both functions?
Regarding ...Ex: Did you try all three options? This here is only the user forum... Seems nobody had your probs so far ;-) |
|
Cheers,
Ingo |
|
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