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!
![]() |
Problems printing rotated pdf |
Post Reply ![]() |
Author | |
carlos.albert ![]() Beginner ![]() Joined: 17 Apr 07 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 19 Sep 08 at 2:04PM |
I have problems to print a rotated pdf. I first rotate the pages of the pdf 180º with the RotatePage function, then I save the file, if I open it with adobe reader I can see the pages rotated. Then I print the pdf using the Print function of ISedQuickLibrary but the pages are printed without the rotatiton however if I print the same pdf using AdobeReader the pages are printer rotated. I need to use the print function of isedQuick because it alows me to use duplex property of the printer.
What can I do?
He is my code:
QPi := TiSEDQuickPDF.Create;
QPi.UnlockKey(Key); QPi.LoadFromFile(nomFich);
n := QPi.PageCount();
for i := 1 to n do
begin QPi.selectPage(i); QPi.RotatePage(180); end; QPi.SaveToFile(nomFich);
QPi.LoadFromFile(nomFich); PagFrom := 1; PagTo := QPi.PageCount();
QPi.PrintDocument(printerName, PagFrom , PagTo , QPi.PrintOptions(0, 0, '')); QPi.Free;
very simple, isn't it?
Thanks for your help.
|
|
![]() |
|
carlos.albert ![]() Beginner ![]() Joined: 17 Apr 07 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
I tried with Direct Acces funtion too and same result. Please, somebody can help me, is there any way the print function respect the rotation?
|
|
![]() |
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