I am struggling to find a way of printing reports in
Landscape. I am using mx.printing.FlexPrintJob and PrintDataGrid
classes. looking through articles on the internet there is another
class called PrintJob in the flash.printing package that has a read
only property to check the page orientation. Unfortunately, this is
not there in the FlexPrintJob Class.
Is there any way of changing the page orientation using code
while using the FlexPrintJob and FlexDataGrid.
thanks for your reply.. the workaround shown in the comments
is applicable to the flash.printing.flexJob and not
mx.printing.FlexPrintJob. I need FlexPrintJob as i am using
PrintDataGrid. flexJob doesnt work with PrintDataGrid and therefore
i cant use it.
Problem is that FlexPrintJob doesn't have a property called
orientation to check the page orientation which makes the whole
printing thing even more annoying :(