Patent ID: 8130393
Filing Date: 2012-03-06
Classification: G06F,G06K

Abstract:
1. A printing apparatus operated by command data and print data transmitted from the host computer comprising: a data receiving means for receiving data outputted from the host computer; a data transmission means for transmitting data to the host computer; a real-time command switching means for checking whether or not data received by the data receiving means is a real-time command identifier which converts a non real-time command into a real-time command when an error occurs and designates the order in which real-time commands are to be processed, and if the data is the real-time command identifier, outputting the received data designated by the identifier directly to a command interpreter, and if the data is not the real-time command identifier, outputting the data to a receive buffer; the receive buffer for storing the received data transmitted from the real-time command switching means and outputting the data in the order of First-In-First-Out (FIFO) to the command interpreter; the command interpreter for interpreting the received data outputted from the real-time command switching means with first priority, and reading and interpreting the received data stored in the receive buffer in the order of FIFO with next priority, distinguishing between command data and print data; a print buffer for storing the received data distinguished as print data by the command interpreter; and a control means for receiving the data distinguished as command data by the command interpreter to control the overall function of the printing apparatus according to the corresponding command and reading the data from the print buffer to be printed, wherein the real-time command identifier converts to a real-time command at least one non real-time command selected from the group consisting of: a command for opening a cash drawer, a paper cutting command, and a status information request command, and wherein the real-time command is processed in real time and is processed even if an error occurs, and the non real-time command is processed according to First-In-First-Out and is not processed if an error occurs.