Print Page | Close Window

Printin a pdf document

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1427
Printed Date: 23 Jan 26 at 3:53PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Printin a pdf document
Posted By: rcapo
Subject: Printin a pdf document
Date Posted: 27 Apr 10 at 8:54PM
I'm using in this moment the evaluation version for seeing if it's cover my needs. But I' have one problem : When I' try to print a pdf document generated through a scanner system, all the 3 pages print in blank, the same document is printed through de Acrobat Reader without any problems.

On the other hand, I print others pdf files without problems. Is there any special characteristic for the pdf to be printed using the funcions provided by QuickPDF ?

Also I tried to change some heading data of any of the PDFs (Title, Author, etc) but I couldn't. All seems to be ok, the result of the applied functions  used give me 1, but the header is without change.

If I solve this problems, I will purchase the license.

Thank You very much

Ruben Caporossi



Replies:
Posted By: Ingo
Date Posted: 27 Apr 10 at 9:40PM
Hi Ruben!

Debenu should get the money... ;-)
So please send me the pdf and i'll check it.
ingo   - dot -   schmoekel   - at -   ewetel   - dot -   net

Cheers and welcome here,
Ingo



Posted By: rcapo
Date Posted: 27 Apr 10 at 9:54PM
Hi ingo
Thanks for your reply. Please tell me an e-mail address for sendind del pdf attach

Ruben


Posted By: Ingo
Date Posted: 28 Apr 10 at 6:13AM
Hi Ruben!

I've already post my email-adress ;-)
Convert the "- dot -" to .
Convert the "- at -" to @
... and you have it.

Cheers, Ingo



Posted By: Ingo
Date Posted: 28 Apr 10 at 8:24PM
Hi Ruben!

Here's a sample that's working:

    QP := TQuickPDF.Create;
    try
       QP.UnlockKey('MyKey');
       QP.LoadFromFile(Edit1.text);
       If QP.EncryptionStatus > 0 Then
          QP.Decrypt;
       pc := QP.PageCount;
       prName     := QP.GetDefaultPrinterName();
       prOptions  := QP.PrintOptions(2, 0, Edit1.Text);
       QP.PrintDocument(prName, startpage, endpage, prOptions);
    finally
       QP.Free;
    end;

But your document won't be printed out.
QuickPDF can't handle these scanned images.
It's JBIG2Decode ... Seems that QuickPDF has
still probs in this case.

You should send it to the official support pages.
If you're doing this, tell them that they shall
write to me in this case ;-)

But perhaps the problem is fixed already...
See this post from Rowan:
http://www.quickpdf.org/forum/quick-pdf-library-719-beta-8-released_topic1428.html
Try it with this version ... perhaps it's working.

Cheers, Ingo
 


Posted By: ryan.cole
Date Posted: 23 Aug 10 at 9:04PM
Was this issue ever resolved? I'm getting a blank print out result when trying to print a PDF using QuickPDF, also.


Posted By: Ingo
Date Posted: 24 Aug 10 at 6:27AM
Hi Ryan!

Is it necessary to post one prob in several threads ;-)
My posted code is working - so try it.
If you compare your code with mine there's one difference...
I think this could be the problem.
Do it this way:
Load...
PrintOptions...
PrintDocument...

Cheers and welcome here,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk