摘要 |
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. |