A method of manufacturing a printhead includes providing a substrate and a filter membrane structure. The marking can be in an electronically readable form while being transparent. The optical unit includes a light guide for guiding the light beam toward the converging system and a light-transmissive optical plate covering the light guide. The recognition result is sent to the client via a communication module. The present invention also relates to a method of production of the same.