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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - DPLExtractFilePagesEx producing blank pages
  FAQ FAQ  Forum Search   Register Register  Login Login

DPLExtractFilePagesEx producing blank pages

 Post Reply Post Reply
Author
Message
kukulkan View Drop Down
Beginner
Beginner
Avatar

Joined: 02 Mar 06
Location: Germany
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote kukulkan Quote  Post ReplyReply Direct Link To This Post Topic: DPLExtractFilePagesEx producing blank pages
    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
Back to Top
kukulkan View Drop Down
Beginner
Beginner
Avatar

Joined: 02 Mar 06
Location: Germany
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote kukulkan Quote  Post ReplyReply Direct Link To This Post Posted: 18 Nov 20 at 3:08PM
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)?
Back to Top
tfrost View Drop Down
Senior Member
Senior Member


Joined: 06 Sep 10
Location: UK
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrost Quote  Post ReplyReply Direct Link To This Post Posted: 18 Nov 20 at 4:31PM
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.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3218
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 18 Nov 20 at 7:05PM
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

Back to Top
kukulkan View Drop Down
Beginner
Beginner
Avatar

Joined: 02 Mar 06
Location: Germany
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote kukulkan Quote  Post ReplyReply Direct Link To This Post Posted: 23 Nov 20 at 3:22PM
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.

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3218
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 23 Nov 20 at 8:15PM
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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store