It's possible to use a script to print specific pages of a file using a specific printer, and it's also possible to specify whether or not it should print on both sides (and along which edge of the page to flip it), but I don't think it's possible to specify a specific drawer, unless each drawer is defined as its own printer.
What is possible, though, is to tell the printer to select the paper tray based on the paper size, but if the sizes of all pages are identical then it will probably not work in your case.
Talk to the printer manufacturer and see if they have a way to accomplish this. It is possible that you can create a new instance of your printer that has these settings associated with it (you would then have your generic printer to select from, and a second one that printed to the same physical printer, but with specific print settings). In the script, you would then select to print to this 2nd printer without specifying any print settings, and therefore the settings associated with the print queue will be used. How this is done depends on the printer, so only your printer manufacturer or their support department can provide this information.