Print Page | Close Window

PrintDocument - Autorotate

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3102
Printed Date: 20 Dec 25 at 1:42AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: PrintDocument - Autorotate
Posted By: Ole Jorgensen
Subject: PrintDocument - Autorotate
Date Posted: 15 Apr 15 at 9:20AM
Hello all.
 
I have a problem Printing documents correctly from QuickPds's PrintDocument.
 
If I create a Document containing a Portrait page and a Landscape page, set Printoptions to Autorotate
and print the landscape page comes rotated 180 degrees - changing that Rotateoption to -1 just rescales the page and print it in Portrait instead
 
If I print the generated document from Adobe all comes out ok.
 
 
 



Replies:
Posted By: erico
Date Posted: 17 Apr 15 at 1:29PM
I suspect the "landscape" page is not truly landscape, but rather a rotated portrait page. There is a very subtle difference between the two dealing with coordinate systems.

Check out the operation of "NormalizePage" -- I think that will fix the problem


-------------
Eric O



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk