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 file prints as blank page |
Post Reply ![]() |
Author | |
earlb ![]() Beginner ![]() Joined: 01 Jun 09 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 01 Jun 09 at 8:42PM |
I am using c# and QuickPDF Library 7.13 to print PDF documents. A PDF document with a page size = letter prints OK on a letter sized piece of paper but PDF documents that have a page size bigger than letter size, for example 9.84 x 13.94 in., only produce a blank printed page. PageScaling is switched on which I thought would take care of printing larger page sizes onto a letter size piece of paper. Is PageScaling the right approach to print PDF documents that have a page size greater than letter size? Is there something else that I am overlooking? The code that is being used follows the sample code included in the QuickPDF library: Thanks
Earl
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Earl!
You should try PageScaling = 2 ("shrink large pages"). PageScaling = 1 is for boosting smaller pages up tp letter size. The standard pdf-sizes are PSunits 842 x 595. You can get these values with the functions PageHeight and PageWidth. If these values are bigger than 842 x 595 then you should use "PageScaling = 2". Cheers and welcome here, Ingo |
|
![]() |
|
earlb ![]() Beginner ![]() Joined: 01 Jun 09 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Hi Ingo
Thanks for the feedback. I tried PageScaling=2 but it still printed a blank page. There must be something else I am missing. I am using QuickPDFAX0713.PDFLibrary. Is there anything else that influences page scaling? Could it be something in the PDF document that is preventing the page scaling or are there other settings that need to be in place for page scaling to work? On the off chance I also set the PageSize, to Letter, and PageDimensions, to 842 x 595, in two seperate tests but that did not help. The PDF document can be successfully printed from Adobe Reader.
Thanks
Earl
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Earl!
If you want you can send me the document. I'll try to print it ... ingo -dot- schmoekel -at- ewetel -dot- net Cheers, Ingo |
|
![]() |
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