Thin film libraries of functional polymers and materials prepared by inkjet printing door