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 - Some PDFs print blank
  FAQ FAQ  Forum Search   Register Register  Login Login

Some PDFs print blank

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


Joined: 03 Sep 19
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Billq Quote  Post ReplyReply Direct Link To This Post Topic: Some PDFs print blank
    Posted: 03 Sep 19 at 9:50PM
I am testing the PDF Lib.  I have been able to print PDFs from my code.
 
However, some PDFs just print a blank page while others print fine.
 
The problem PDFs open and print fine from Acrobat.
 
Not sure where to look.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 2998
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 03 Sep 19 at 10:28PM
Hi Bill,

without a relevant code snippet or a sample file (you can upload anywhere on a free file hoster) it's like looking into a glass bowl ;-)
A shot into the dark could be:
...
      If QP.EncryptionStatus > 0 Then
        QP.decrypt;
...
or
CombineContentStreams
or
NormalizePage

Cheers and welcome here,
Ingo


Cheers,
Ingo

Back to Top
Billq View Drop Down
Beginner
Beginner


Joined: 03 Sep 19
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Billq Quote  Post ReplyReply Direct Link To This Post Posted: 03 Sep 19 at 10:43PM

Here is the code.
It is called from a process which passes it the filename.
 
Clarion Ver 10 .
 
I am trying to find a sample I can post.   ( Need one without Customer Info) 
 
Thanks,
 
Bill
 

QuickPDF.CreateLibrary()

If QuickPDF.UnlockKey('----KEY----')

ST.Trace('>' & FileName & '<')

PDF:PDFFileName = Clip(Filename)

If Access:PDFFiles.Fetch(PDF:KeyPDFName) = Level:Benign THEN

ST.Trace('Found PDF')

Printer:SysID = PDF:PrintID

Access:Printers.Fetch(Printer:KeySysID)

END

St.Trace(Printer:PrinterName)

E# = QuickPDF.LoadFromFile(PDF:PDFFileName,'')

QuickPDF.NormalizePage(0)

St.Trace(E# & ' -- ' & PDF:PDFFileName)

Loc:CustomPrinter = QuickPDF.NewCustomPrinter(Printer:PrinterName)

QuickPDF.SetupCustomPrinter(Loc:CustomPrinter, 7, 1) ! Simplex

Loc:iPrintOptions = QuickPDF.PrintOptions(0, 0, '')

P# = QuickPDF.PrintDocument(Loc:CustomPrinter,1,QuickPDF.PageCount(),Loc:iPrintOptions)

St.Trace(P# & ' -- ' & PDF:PDFFileName)

QuickPDF.ReleaseLibrary()

Else

Message('Could not unlock library')

End

Back to Top
Kathi F Elder View Drop Down
Beginner
Beginner


Joined: 04 Sep 19
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kathi F Elder Quote  Post ReplyReply Direct Link To This Post Posted: 04 Sep 19 at 2:55AM

In the print dialog, there is a control labelled Comments & Forms.

 

If you have that set to Document or Document and Stamps, none of the forms fields will print at all (including constant form fields). If you select Form Fields Only, the form fields will print, but not anything else. To get everything to print, choose the Document and Markup option!!!

 

Based on the symptoms you describe, that should solve the problem (and turn off the print as image option which of course gives much inferior output).

Another way,maybe your pdf's size are too larger to print.I ever try to use a PDF Compressor --iMyMac PDF Compressor,It is the  best free PDF compressor software on Your Mac.

Back to Top
Billq View Drop Down
Beginner
Beginner


Joined: 03 Sep 19
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Billq Quote  Post ReplyReply Direct Link To This Post Posted: 04 Sep 19 at 1:33PM
Ingo,
 
Thanks for the reply and welcome.
 
The PDFs are not Encrypted.
 
They are either a check image or simple text.
 
Neither CombineContentStatus or Normalize page work.
 
What would be the best way to get you a sample? 
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 2998
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 04 Sep 19 at 7:42PM
Which version of QuickPDF you're using?
If it's a very old version and on the other side the pdf uses the latest pdf specs...
How the security settings are set?

For upload a pdf you can use any (free) file hoster (like drop box for example) and post the download-link here.

Cheers,
Ingo

Back to Top
Billq View Drop Down
Beginner
Beginner


Joined: 03 Sep 19
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Billq Quote  Post ReplyReply Direct Link To This Post Posted: 04 Sep 19 at 10:35PM
Ver 16.13
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