Add Printers from drop list

Hello all

i saw this nice script that i modified to add printer from  alist at my domain, i would like to modify it more

so the user will be able to chose first his department and then he will see only the printers that are at that department

( i can create a file with Printername,Department)

any idead will be great 

community.idera.com/.../returning-a-value-from-a-drop-down