A printer is a peripheral device used with a computer that produces a physical representation of digital documents or images on paper or other media. It receives electronic data from a computer and transfers it onto paper using various printing technologies such as inkjet, laser, or dot matrix, allowing users to create hard copies of documents, photos, graphics, and more.