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 - Blank page after RenderPageToFile
  FAQ FAQ  Forum Search   Register Register  Login Login

Blank page after RenderPageToFile

 Post Reply Post Reply
Author
Message
bk View Drop Down
Beginner
Beginner


Joined: 17 Mar 11
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bk Quote  Post ReplyReply Direct Link To This Post Topic: Blank page after RenderPageToFile
    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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 17 Mar 11 at 5:46PM
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
Back to Top
bk View Drop Down
Beginner
Beginner


Joined: 17 Mar 11
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bk Quote  Post ReplyReply Direct Link To This Post Posted: 20 Mar 11 at 11:52AM
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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

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