It is called a printer by analogy with an inkjet printer which produces a two-dimensional document by a similar process of depositing a layer of ink on paper.
被称为打印机是因为这种设备与喷墨打印机的运行过程类似，只不过喷墨打印机是把一层墨水打到纸上，制作出二维的文件。