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!
Printing problem |
Post Reply |
Author | |
JanVen
Beginner Joined: 31 Oct 05 Location: Denmark Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 31 Mar 06 at 3:49AM |
Hi I only use QuickPDF for printing PDF files. But I have a problem if there is a large Image on the first page on a PDF file - then the page is blank, but the text on the following pages is OK. I currently use the last "official" release from iSED, but I have tried the newest from this forum - but with no difference. Anybody with a hint ??? |
|
Registered user
|
|
swb1
Debenu Quick PDF Library Expert Joined: 05 Dec 05 Location: United States Status: Offline Points: 100 |
Post Options
Thanks(0)
|
Jan, If you send me (pdfguy[at]dashdev[dot]com) an example PDF, I will step it though the source code and see if I can tell what is happening. I can’t guarantee a solution but I am always eager to further my knowledge of the inner workings of this library. Debugging is a great way to learn. Regards sb |
|
Frank
Debenu Quick PDF Library Expert Joined: 16 Feb 05 Location: Germany Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Jan, I had a similar problem now, when I was using the function RenderPageToStream. I revealed that, when I called the function SelectPage before the first call of RenderPageToStream, the first page also was rendered correctly. When I have more time, I will analyze this behaviour more thoroughly. Maybe your problem is not caused by the first page being a large Image, but by the same problem I had now. Frank Edited by Frank |
|
Matt
Beginner Joined: 10 Jan 06 Location: New Zealand Status: Offline Points: 2 |
Post Options
Thanks(0)
|
I also had a similar problem, with a PDF file that was encryped with a password. The first page was blank but the rest showed OK.
Using "SetPassword" and "UnEncypt" fixed the problem. |
|
JanVen
Beginner Joined: 31 Oct 05 Location: Denmark Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Hi Guys I have tried all your hints - but with no luck :-( I have sent the PDF file to swb1 - lets see what he can do with it. |
|
Registered user
|
|
swb1
Debenu Quick PDF Library Expert Joined: 05 Dec 05 Location: United States Status: Offline Points: 100 |
Post Options
Thanks(0)
|
Jan, I apologize.. My spam filter caught your email and removed it. I have added you to my friends list so that it will not happen again. Please re-send the file Thanks sb |
|
swb1
Debenu Quick PDF Library Expert Joined: 05 Dec 05 Location: United States Status: Offline Points: 100 |
Post Options
Thanks(0)
|
Jan, There is something about the image in your document that is not handled properly by the QuickPDF Library. Quick PDF uses GDIplus to render images. When Quick PDF attempts to load the image stream in your PDF, the function call returns “Invalid Parameters” . I do not have adequate documentation on GDIplus to understand how or what parameters are supposed to be passed to the GDIpLoadImageFromStream function. I suspect that your PDF is created with a newer specification of JBIG2Decode than currently is supported by the QuickPDF library. I do not (at this time) possess the resources to solve this. Perhaps another member of this forum who has better GDIplus knowledge would like to take a swing at this. Or maybe you could create your documents using and older specification. As it stands now QuickPDF will not render your PDF correctly. Regards, |
|
JanVen
Beginner Joined: 31 Oct 05 Location: Denmark Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Thankx Now we at least may post this as a bug in the correct forum and maybe it will be fixed in the future - this is more than I could hope for with ised |
|
Registered user
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
What about (as a first workaround) to unencrypt the pdf and resave it with the iSED-library and then to render? Best regards, Ingo |
|
swb1
Debenu Quick PDF Library Expert Joined: 05 Dec 05 Location: United States Status: Offline Points: 100 |
Post Options
Thanks(0)
|
I have my doubts - I don't think that the encoding of the image stream will change. I will try that nonetheless. |
|
swb1
Debenu Quick PDF Library Expert Joined: 05 Dec 05 Location: United States Status: Offline Points: 100 |
Post Options
Thanks(0)
|
As I suspected... Loading and re-saving made no difference. Even working with an uncompressed version of the file did not help.
|
|
JanVen
Beginner Joined: 31 Oct 05 Location: Denmark Status: Offline Points: 16 |
Post Options
Thanks(0)
|
I now have another PDF with the same problem, but this time from another customer. It seems there no development in the rendering part of QuickPDF, so I have to find another supplier. Any suggestions ??? |
|
Registered user
|
|
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