Patent ID: 8595395
Filing Date: 2013-11-26
Classification: G06K,G07G

Abstract:
1. A printer which is configured to be connected to a host computer external to the printer and performs recording based on received data including commands, the printer comprising: a receiving control section that receives signals transmitted from the host computer and decodes the signals to create the received data; a receiving buffer that stores therein the received data created by the receiving control section; a command detection section that reads the received data stored in the receiving buffer while scanning the receiving buffer with a first read pointer to detect the commands included in the received data; a command execution section that processes the commands detected by the command detection section in a stored order of the commands in the receiving buffer; an immediate processing command detection section that reads the received data stored in the receiving buffer while scanning the receiving buffer with a second read pointer which is provided separately from the first read pointer to detect an immediate processing command included in the received data; and a control section that includes the command detection section, the command execution section and the immediate processing command detection section, wherein the command execution section preferentially processes the immediate processing command detected by the immediate processing command detection section regardless of the stored order of the commands in the receiving buffer, wherein the control section notifies an operation state thereof when the operation state is changed from an online state to an offline state, the online state in which a communication with the host computer and the recording can be performed, the offline state in which the printer is logically disconnected to the host computer, and wherein even when the control section is in the offline state, the immediate processing command can be processed by the command execution section.