摘要 |
PURPOSE:To prevent a time lag produced to the information which is sent back to the host side by releasing a buffer mode in case the next data is not received within a fixed time in an initial state and after reception of data from a host device. CONSTITUTION:In a buffer mode a CPU 4 fetches the data if stored in a reception buffer 5 to analize and carry out this data and also accepts an interruption. The data are stored in the buffer 5 with the interruption processing carried out at the reception of data and a signal ACK is transmitted after storage of data. While a timer 6 is restarted for each reception of data at the transmission of data. In this case, a timer interruption occurs in case the timer 6 is not restarted for a fixed time. As a result, a flag is turned off and the buffer mode is released with a non-buffer mode set instead. Thus it is possible to process the print data at high speed with use of the buffer 5 while replying immediately to various commands given from a host device 1. |