Method of manufacturing printhead including polymeric filter