An inkjet printer is a computer peripheral that produces hard copies of a text document or photo by spraying droplets of ink onto paper.