Hydrogen line spectrum in quasars. I - Approximation procedures for line transfer versus an exact treatment