# US 8,279,475 B2 · Printing apparatus and method for processing real-time command using the printing apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,279,475 B2
- Document ID: US8279475B2
- Status: Granted
- Kind: B2
- Application number: 12/467,403
- Filed: 2009-05-18
- Published: 2009-12-03
- Granted: 2012-10-02
- Earliest claimed: 2008-05-27
- Assignees: Bixolon Co., Ltd.
- Inventors: Hae Yong Choi; Young Kyoo Cho
- Web page: https://patentgrep.com/patent/US8279475B2

## CPC

- G06K 15/02: using printers
- G06F 3/121: {Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted}
- G06F 3/1211: {Improving printing performance}
- G06F 3/1234: {Errors handling and recovery, e.g. reprinting (G06F3/1261 takes precedence)}
- G06F 3/1284: {Local printer device}
- G06K 15/1803: {Receiving particular commands}
- G06F 3/1229: {Printer resources management or printer maintenance, e.g. device status, power levels}
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There are provided a printing apparatus and a method for processing real-time commands using the same. The printing apparatus is able to be stably operated without any mechanical troubles such as degraded performance of the printing apparatus, which are caused when real-time commands are analyzed and processed on a receive interrupt routine, by detecting real-time commands from data transmitted from the host computer, separately storing the detected real-time commands in a real-time command buffer and processing the stored real-time commands in preference to the other data.

## Claims

### Claim 1

A printing apparatus that is operated by receiving data from a host computer, comprising:
a data receiver block receiving data from the host computer;
a real-time command detector block detecting real-time commands from the received data, and storing the detected real-time commands in a real-time command buffer and the other data in a receive buffer;
a command analysis block analyzing the real-time commands stored in the real-time command buffer in preference to the data stored in the receive buffer; and
a command execution block executing the analysis results obtained by the command analysis block.

### Claim 2 (depends on 1)

The printing apparatus of claim 1, wherein the data received from the host computer comprises real-time commands, common commands and print data.

### Claim 3 (depends on 2)

The printing apparatus of claim 2, wherein the real-time commands or common commands are composed of command codes that specify the functions and operations of a printing apparatus and variables that assign details of the functions and operations.

### Claim 4 (depends on 1)

The printing apparatus of claim 1, wherein the real-time command detector block detects real-time commands by comparing the variable number of the received real-time commands with the variable number of predetermined real-time commands corresponding to the variable number of the received real-time commands.

### Claim 5 (depends on 1)

The printing apparatus of claim 1, wherein the real-time command detector block detects real-time commands by comparing variables of the received real-time commands with variables of predetermined real-time commands corresponding to the variables of the received real-time commands.

### Claim 6 (depends on 1)

The printing apparatus of claim 1, wherein the real-time command analysis block searches the real time buffer in advance when real-time commands are stored in the real-time command buffer, and analyzes data stored in the receive buffer when real-time commands are absent in the real-time command buffer.

### Claim 7 (depends on 1)

The printing apparatus of claim 1, wherein the real-time command analysis block analyzes the next data without analyzing the data stored in the receive buffer when the data stored in the receive buffer comprises real-time commands.

### Claim 8 (depends on 1)

The printing apparatus of claim 1, wherein the data received from the host computer comprises real-time commands for making a request for state information on a printing apparatus.

### Claim 9 (depends on 8)

The printing apparatus of claim 8, wherein the command execution block transmits the state information of the printing apparatus to the host computer according to the analysis results of the real-time commands for making a request for state information on a printing apparatus.

### Claim 10 (depends on 1)

The printing apparatus of claim 1, wherein the data received from the host computer comprises real-time commands for operating an auto cutter installed in the printing apparatus.

### Claim 11 (depends on 10)

The printing apparatus of claim 10, wherein the command execution block cuts a paper by operating the auto cutter installed in the printing apparatus according to the analysis results of the real-time commands for operating an auto cutter.

### Claim 12 (depends on 1)

The printing apparatus of claim 1, wherein the data received from the host computer comprises real-time commands for controlling peripheral devices coupled to the printing apparatus.

### Claim 13 (depends on 12)

The printing apparatus of claim 12, wherein the command execution block controls the peripheral devices of the printing apparatus according to the analysis results of the real-time commands for controlling peripheral devices.

### Claim 14

A printing apparatus that is operated by receiving data from a host computer, comprising:
a data receiver block receiving data from the host computer;
a real-time command detector block detecting real-time commands from the received data, and storing the detected real-time commands in a real-time command buffer and the received data in a receive buffer;
a command analysis block analyzing the real-time commands stored in the real-time command buffer in preference to the data stored in the receive buffer; and
a command execution block executing the analysis results obtained by the command analysis block.

### Claim 15 (depends on 14)

The printing apparatus of claim 14, wherein the real-time command analysis block analyzes the next data without analyzing the data stored in the receive buffer when the data stored in the receive buffer comprises real-time commands.

### Claim 16

A method for processing real-time commands using the printing apparatus that is operated by receiving data from a host computer, the method comprising:
detecting real-time commands from data received from the host computer;
storing the detected real-time commands in a real-time command buffer and the other data in a receive buffer;
analyzing the real-time commands stored in the real-time command buffer in preference to the data stored in the receive buffer; and
executing the analysis results of the real-time commands.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
analyzing the data stored in the receive buffer when real-time commands are absent in the real-time command buffer; and
executing the analysis results of the data stored in the receive buffer.

### Claim 18 (depends on 17)

The method of claim 17, wherein the step of analyzing the data stored in the receive buffer comprises:
analyzing the next data without analyzing the data stored in the receive buffer when real-time commands are detected from the data stored in the receive buffer.

### Claim 19 (depends on 16)

The method of claim 16, wherein the step of executing the analysis results comprises, when the data received from the host computer comprises real-time commands for making a request for state information on a printing apparatus:
transmitting the state information of the printing apparatus to the host computer according to the analysis results of the real-time commands for making a request for state information on a printing apparatus.

### Claim 20 (depends on 16)

The method of claim 16, wherein the step of executing the analysis results comprises, when the data received from the host computer comprises real-time commands for operating an auto cutter installed in the printing apparatus:
cutting a paper by operating the auto cutter installed in the printing apparatus according to the analysis results of the real-time commands for operating an auto cutter.

### Claim 21 (depends on 16)

The method of claim 16, wherein the step of executing the analysis results comprises, when the data received from the host computer comprises real-time commands for controlling peripheral devices coupled to the printing apparatus:
controlling the peripheral devices of the printing apparatus according to the analysis results of the real-time commands for controlling peripheral devices.

### Claim 22

A printing apparatus that is operated by receiving data from a host computer, comprising:
a data receiver block receiving data from the host computer;
a real-time command detector block storing the received data in a receive buffer, detecting real-time commands from the received data and separately storing the detected real-time command in a real-time command buffer;
a command analysis block analyzing the real-time commands stored in the real-time command buffer in preference to the data stored in the receive buffer; and
a command execution block executing the analysis results obtained by the command analysis block.
