By combining the operator Hermite polynomial method and the technique of integration within an ordered product of operators, for the first time we derive the generating function of even- and odd-Hermite polynomials which will be useful in constructing new optical field states. We then show that the squeezed state and photon-added squeezed state can be expressed by even- and odd-Hermite polynomials.