PDF page rotation



Hi,
I have an application that needs to generate landscape style A4 reports. I have derived the Gtk::PrintOperation class to suite my needs and it works well. The reports generated are in landscape form itself when the printer is a physical printer or a PDF printer.

However when I export the job to a PDF file using Gtk::PRINT_OPERATION_ACTION_EXPORT, the PDF file generated is always portrait. Though all the contents are intact, the pages are rotated 90degree counter clockwise. I tried toggling with the page and print settings by settings wider page size without any luck.

Is there any separate method to follow while exporting to PDF so that I can set the rotation property in the PDF file? Or is there something extra I need to do while setting print settings or page settings?

--
regards
Mohith Manoj



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]