Thermal inkjet printers use electricity to heat the ink, which vaporizes to form a bubble that ejects from the nozzle and onto the substrate. The printhead is part of the ink cartridge.