X-ray spectroscopy of highly ionised atoms of Ti through Zn in a dense plasma