摘要 |
A single CPU executes three tasks, a communication task, an image production task, and a print task. A block managing section has plural reception blocks of plural sizes, and determines a reception block which is to be given to the communication task, in accordance with the use states of the reception blocks. When the rate of receiving data from a network is higher than the data processing rate in a printer, a block of a size which is larger than that of the previous block is given to the communication task. When the data receiving rate is lower, a block of a size which is smaller than that of the previous block is given to the communication task. According to this configuration, even when the traffic congestion of the network, or the like is changed, it is possible to suitably allocate the CPU execution time period to the tasks. <IMAGE> |