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!
![]() |
PrintDocument() gives blank pages |
Post Reply
|
| Author | |
einar
Beginner
Joined: 18 Mar 10 Location: Norway Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Topic: PrintDocument() gives blank pagesPosted: 15 Jul 11 at 9:02AM |
|
I have a laboratorysystem creating PDF files. In addition to sending the PDF's with e-mails, the system prints a hardcopy. After adding NeeviaPDF to sign visually, the printing using LoadFromFile() and PrintDocument() gives blank pages. If I open the PDF with Acrobat, printing is OK.
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 Jul 11 at 11:02PM |
|
Hi!
A relevant code-snippet would be good ;-) Cheers, Ingo |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 Jul 11 at 9:10AM |
|
What is the return values from the LoadFromFile call ? 1 or 2. If it is 2 then the PDF could be malformed or password protected.
|
|
![]() |
|
tfrost
Senior Member
Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 Jul 11 at 12:57PM |
|
What version of QuickPDF? I have seen PDFs rendered with blank pages in 7.24 which are OK using 7.26.
|
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 Jul 11 at 1:20PM |
|
If a document is malfored and returns 2 from LoadFromFile() it will then print a blank page as there is actually no document loaded to even be printed.
We are trying to include fixes for these malformed documents when we find them but this is not always easy. There are PDF's out there that contain spelling errors, invalid xref tables, missing keys etc. Unfortunately, Adode Acrobat opens these files so everyone expects every other PDF library should be able to open the same files. Adobe have hundreds of programmers and sell their tools for many thousands of dollars.
|
|
![]() |
|
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