Precise positioning of a film used to seal an electrical connection on a liquid ejecting head is made possible. The polymers according to the invention have excellent solubility in organic solvents and excellent film-forming properties. A first phase signal and a second phase signal are generated responsive to the first sample clock signal, where the first phase signal is out of phase with respect to the second phase signal.