How to set Printers properties in Coding

Hi, I would like to know how to Change Printer Properties in coding. I have installed Printers on Dropdown Button please see the attached image .

image

Thank you in advance

See GoView Printer Selection - #2 by Jake