I am going to be writing a small program to print a batch of files automatically. However, I need to select different trays on the fly because of different paper formats. I have looked but have not found command line arguements or APIs that allow me to pass a tray option without manually reconfiguring the printer settings in CUPS everytime. How can this be done?