Page rotation saved incorrectly?

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

guy.marom
User
Posts: 98
Joined: Tue Feb 17, 2009 12:08 pm

Page rotation saved incorrectly?

Post by guy.marom »

Hello,

I'm printing a word file with page size A4, and pages orientation set to landscape (Attached).
The output looks fine on the screen, but examining the file (Using PDFBox) I can see that the pages have the following dimensions: Width = 841.919, Height = 595.2, Rotation = 0 degrees.
These are not the correct dimensions of an A4 sheet, I would expect the width and height to be the other way around, and the rotation set to 90 degrees.
I'm printing with page size A4 and sheet size set to auto.
Is there any way to solve this problem so it will show the actual page size and actual rotation instead of just modifying the page's dimensions?
You do not have the required permissions to view the files attached to this post.
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom

Re: Page rotation saved incorrectly?

Post by John - Tracker Supp »

Hi Guy,

Can you also please post the PDF file generated.

Thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
guy.marom
User
Posts: 98
Joined: Tue Feb 17, 2009 12:08 pm

Re: Page rotation saved incorrectly?

Post by guy.marom »

Sorry, here it is.
You do not have the required permissions to view the files attached to this post.
guy.marom
User
Posts: 98
Joined: Tue Feb 17, 2009 12:08 pm

Re: Page rotation saved incorrectly?

Post by guy.marom »

To be more precise, the problem I see is with the page's MediaBox. The media box's height and width are switched.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3550
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada

Re: Page rotation saved incorrectly?

Post by Ivan - Tracker Software »

To be honest, page is A4 even if its dimensions are switched. So, pages with dimensions 210x297mm and 297x210mm both are A4.
For now we will not make changes into the driver.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.