I'm able to change to the second and third tray without a problem.
But i cant get it to work with the tray 1. This is a HP laser jet. Tray 1 is really not a tray but a popout panel where we just put standard or legal size paper. Tray 2(middle) and Tray 3(lowest) are actual trays. Does this make a difference? I will post my code tomorrow since I dont have access to it right now, but like i said I can change to tray 2 and 3