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!
![]() |
Blank page after RenderPageToFile |
Post Reply ![]() |
Author | |
bk ![]() Beginner ![]() Joined: 17 Mar 11 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 17 Mar 11 at 8:10AM |
Hello,
I have a problem with Converting pdf created by Konica bizhub. My code looks like that: Set QP = CreateObject("QuickPDFAX0723.PDFLibrary") i = QP.SetGDIPlusFileName("c:\windows\System32\gdiplus.dll") succ = QP.LoadFromFile(inFilePath) stat = QP.RenderPageToFile(100, i, 1, tempPath & "\pmia_" & Trim(str(i)) & ".jpg") all functions return value 1, but the jpg is blank - white. (Code works fine with other pdf documents.) Could anyone had the same problem and can help? bk Edited by bk - 17 Mar 11 at 8:10AM |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
Hi BK!
So this one is encrypted and/or protected by a user password? Or it's a protected ebook? Check what's in "succ"... is it "1"? Then it should be okay. To avoid encryption insert this code after LoadFromFile: // . . . If ( QP.EncryptionStatus > 0 ) Then QP.Decrypt; // . . . Cheers and welcome here, Ingo Edited by Ingo - 17 Mar 11 at 5:47PM |
|
![]() |
|
bk ![]() Beginner ![]() Joined: 17 Mar 11 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Security staus of this document is set on 'no security'. The value of 'succ' is '1'. PDF was generated by Konica Minolta bizhut. I have uploaded it on: http://www.sendspace.com/file/uydess (use option: Download Link: SKMBT_50111031611570.pdf ) I also noticed, that the 'Fast web view' in this doc. is set on 'No'. I would be gratefull for any help. bk |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
Hi!
In my app there's a preview functionality and it's working fine with your pdf. I think the problem is anywhere here inside: tempPath & "\pmia_" & Trim(str(i)) & ".jpg" Remove it and try a "normal" name for test first. 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