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!
![]() |
PDF Prints Black page |
Post Reply
|
| Author | |
CrazyTIm
Team Player
Joined: 21 Aug 11 Location: Australia Status: Offline Points: 29 |
Post Options
Thanks(0)
Quote Reply
Topic: PDF Prints Black pagePosted: 18 Jun 15 at 3:09AM |
|
Hi all, I'm having an issue with a pdf which is printing out a completely BLACK first page. The other 2 pages print out fine. Adobe Acrobat prints it properly however. QuickPDF Library version: 11.14 Link to PDF: http://jmp.sh/Glxp89I Here is what it looks like printed: http://jmp.sh/a9DXkUK Here's the VB.NET code i'm using (pretty straightforward): Q.SetupCustomPrinter(Printer_Mono_P, Printer.Settings.PaperSize, Printer.PaperSize.A4) Q.SetupCustomPrinter(Printer_Mono_P, Printer.Settings.Orientation, Printer.Orientation.Portrait) Q.SetupCustomPrinter(Printer_Mono_P, Printer.Settings.Color, Printer.Colour.Monochrome) Q.SetupCustomPrinter(Printer_Mono_P, Printer.Settings.DoubleSided, Printer.Duplex.None) Q.SetupCustomPrinter(Printer_Mono_P, Printer.Settings.PrintQuality, Printer.Quality.Medium) Q.SetupCustomPrinter(Printer_Mono_P, Printer.Settings.Collate, Printer.Collate.No) Q.LoadFromFile(PathtoPDF, "") iPrintOptions = Q.PrintOptions(Printer.PageScaling.FitToPaper, Printer.AutoRotate.RotateAndCenter, PrintJobName) Q.PrintDocument(Printer_Mono_P, 1, Q.PageCount, iPrintOptions) Can anyone help? Is there a way to prevent this?
Edited by CrazyTIm - 18 Jun 15 at 3:20AM |
|
![]() |
|
mLipok
Senior Member
Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(1)
Quote Reply
Posted: 18 Jun 15 at 12:14PM |
|
There was an issue in 11.14.
You must use another $oQP.SelectRenderer(...) or give a try and use 11.15 mLipok Edited by mLipok - 18 Jun 15 at 12:15PM |
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
CrazyTIm
Team Player
Joined: 21 Aug 11 Location: Australia Status: Offline Points: 29 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 Jun 15 at 12:33AM |
|
Version 11.15 prints it fine.
Thanks mate
|
|
![]() |
|
lbidi
Beginner
Joined: 22 Jun 15 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 Jun 15 at 2:57PM |
|
Hi, all.. I'm testing the last version of this library and when printing, i got a blank page.
My pdf only contains text and its only 1 page large. My delphi code its next. cPdf.LoadFromFile( 'C:\test.pdf', '' ) if dlgPrint.Execute then begin iPrintOptions := cPdf.PrintOptions(0,0,'sample'); cPdf.PrintDocument( cPdf.GetDefaultPrinterName(), 1, 1, iPrintOptions ); end; Its this code ok only to print ? I dont need to view the pdf. Do I need to render previously to print ok ?? If so, how i do it ? Thanks for any help. |
|
![]() |
|
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