We study high-order harmonic generation from a laser-produced tin plasma using 780 and 390 nm, 40 fs, 1 kHz pulses. Varying the chirp of the laser radiation, we observe variation of the harmonic frequency and intensity. The enhanced 16th and 17th harmonics are attributed to the influence of the strong ionic transitions of tin. Theoretical calculations of the photoabsorption spectra reveal the decisive role of Sn II and Sn III transitions in the enhancement of single harmonics. Varying the fundamental frequency we study numerically the spectral width where the harmonic is enhanced. We find, both theoretically and experimentally, that this width is wider than the one of the corresponding resonance in the photoabsorption spectrum. The resonance line modification can be explained by the Stark shift of the autoionizing state in the laser field, as well as the photoionization of this state.