The printhead contains a thermal block which is heated or cooled via a Peltier element. Heat is dissipated through a foil and fan to cool the TCPH. The printhead is heated through the same mechanism by reversing the polarity of the element.