add a part function of add printer function and glade