Patent ID: 7503712
Filing Date: 2009-03-17
Classification: G06K

Abstract:
1. A printing apparatus adapted to receive data composed of print data and control commands from a host device and to store the received data in a receive buffer and being switchable between a normal processing mode and a deletion processing mode, said printing apparatus comprising: a normal processing mode controller configured to process all data in the receive buffer so as to perform printing when the printing apparatus is in the normal processing mode; a deletion processing mode controller configured to search the data in the receive buffer for any of one or more specific commands among said control commands and to run a respective process in response to each detected specific command while deleting all other data from the receive buffer when the printing apparatus is in the deletion processing mode; a processing mode selection unit configured to select one of a first, second or third error state mode to be activated in case an error is detected in the printing apparatus when the printing apparatus is in the normal processing mode; wherein in said first error state mode, said printing apparatus keeps any data in the receive buffer and in a print buffer, and does not change to the deletion processing mode; wherein in said second error state mode, said printing apparatus clears all data in the receive buffer and the print buffer, and changes to the deletion processing mode; and wherein in said third error state mode, said printing apparatus clears all data in the print buffer while keeping any data in the receive buffer, and changes to the deletion processing mode.