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!
![]() |
Some PDFs print blank |
Post Reply ![]() |
Author | |
Billq ![]() Beginner ![]() Joined: 03 Sep 19 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Billq ![]() Beginner ![]() Joined: 03 Sep 19 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Kathi F Elder ![]() Beginner ![]() Joined: 04 Sep 19 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
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
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. |
|
![]() |
|
Billq ![]() Beginner ![]() Joined: 03 Sep 19 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
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?
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Billq ![]() Beginner ![]() Joined: 03 Sep 19 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Ver 16.13
|
|
![]() |
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