A dot-matrix printer is an output device only. It produces printed output by striking pins against an ink ribbon to form characters and graphics. Like all printers, it receives data from the computer and produces output on paper - it cannot function as an input device.