Mixed report page orientation

Hello everyone,

I have made a mixed page orientation through custom print formats. However, I am thinking if it is possible to create a mixed page orientation through query report or script report.

Regards,

Ivan