发明名称 PRINTER AND CONTROL METHOD OF A PRINTER
摘要 Whether received data is the header of a print image command is determined in a receive interrupt process. If the received data is the header of a print image command, data transmission is paused. Whether the received data is a header of a print image command that can be transferred by DMA is then determined in a command task. If the received data is a header of a print image command that can be transferred by DMA, a DMA transfer mode is entered and the data transmission pause is cancelled, and the received data is transferred in the DMA transfer mode to a print buffer 42 by DMA.
申请公布号 US2016358051(A1) 申请公布日期 2016.12.08
申请号 US201615157001 申请日期 2016.05.17
申请人 Seiko Epson Corporation 发明人 WAKASA Shunichi
分类号 G06K15/02;G06K15/00 主分类号 G06K15/02
代理机构 代理人
主权项 1. A printer comprising: a data storage unit configured to store data received from a host device in a receive buffer in a receive interrupt process; an interrupt evaluation unit configured to determine if the data stored in the receive buffer in the receive interrupt process is a header of a print image command; a data transmission-stop unit configured to pause data transmission by the host device if the header of a print image command is detected in the receive interrupt process; a command interpreter configured to determine in a command task after the receive interrupt process if the data stored in the receive buffer is a header of a print image command that can be transferred by DMA; a mode selector configured to change the data transfer mode from a normal transfer mode to a DMA transfer mode if the command interpreter determines the data is a header of a print image command that can be transferred by DMA; a cancel transmission-stop unit cancels the pause of data transmission by the host device if the command interpreter determines the data is a header of a print image command that can be transferred by DMA; a DMA transfer unit configured to transfer data received from the host device by DMA to a print buffer without storing the received data to the receive buffer when the mode selector has changed the data transfer mode from the normal transfer mode to a DMA transfer mode; and a print unit configured to read the data transferred to the print buffer and print.
地址 Tokyo JP