Ca II K emission diagnostics: I. The widths and the strengths in a one dimensional model