MacOS Printer Tray

How I can get and set the printer tray on MacOS using Swift?