Page orientation

Questions related to converting various types of documents
Post Reply
nikhiljain
Posts:4
Joined:Tue May 19, 2009 9:01 am
Page orientation

Post by nikhiljain » Mon Jun 01, 2009 9:04 am

Hi,

We are using API calls to convert the documents to SWF using batch processing. In some documents there pages both in Portrait as well as Landscape format. During the batch processing as it is an automated process we don't know about the page orientation of individual pages.
The orientation of pages in resulting SWF file is not correct. It is Portrait even if there were 9 pages in Landscape & 1 Page in Portrait orientation in original 10 page document.

how to solve this problem of incorrect orientation.

Thanks,
Nikhil Jain

staff
Posts:267
Joined:Sat Dec 15, 2007 4:48 pm

Re: Page orientation

Post by staff » Tue Jun 02, 2009 5:02 am

Print2Flash is a virtual printer, it does not deal with source documents directly but by means of a printing application (such as Adobe Reader if you convert PDF documents) and hence it does not know about the orientation of pages in source documents either. When a printing applicatiion prints a document, it instructs the printer driver to use a specific page orientation and it is this orientation that is used by Print2Flash printer. Other than complying with printing applicatiion page orientation selection request, Print2Flash can do nothing to change that orientation. So if an application chooses a wrong orientation for some reason, Print2Flash cannot detect this.
We know such a problem occurs only with PDF documents when you print them with Adobe Reader. To make Adobe Reader choose correct page orientation, you need to use Adobe Reader 9 or later version and set "Choose paper source by PDF page size" option in the File/Print window of Adobe Reader (do this only once and Adobe Reader should memorize this option).

Post Reply