Airprint - Choose Tray and Set Orientation?

We have an iPad app that requires two separate print jobs - landscape/legal on tray 1 and portrait/letter on tray 2.


Is there a way with Airprint to specity the printer tray and set orientation? If not through Airprint, are there other printer APIs that could allow us to achieve the same goal?