Printing apparatus with a cash drawer control function, and a control method therefor
First Claim
Patent Images
1. A printing apparatus comprising:
- a data receiver to receive command data from a host device;
a memory to store the command data received by the data receiver;
a printer controller to read out the command data stored in the memory in a first-in-first-out order and control the printing apparatus in accordance with the command data;
a command detector to directly detect predetermined command data within the command data received by the data receiver;
a status data selector to select one of a plurality of status data in accordance with the predetermined command data detected by the command detector; and
a status data transmitter to send to the host device the status data selected by said status data selector in accordance with the predetermined command data detected by the command detector.
0 Assignments
0 Petitions
Accused Products
Abstract
A printing apparatus comprises a real-time command interpreter that functions even when the printing apparatus is off-line, and interprets control commands simultaneously with receiving data. The printing apparatus can therefore output pulses to the external devices even when printing is in progress or the printer is off-line. Such printing apparatus comprises a command detector for directly detecting predetermined command data from the received command data. An external controller controls an external device in accordance with predetermined command data detected by the command detection.
-
Citations
25 Claims
-
1. A printing apparatus comprising:
-
a data receiver to receive command data from a host device;
a memory to store the command data received by the data receiver;
a printer controller to read out the command data stored in the memory in a first-in-first-out order and control the printing apparatus in accordance with the command data;
a command detector to directly detect predetermined command data within the command data received by the data receiver;
a status data selector to select one of a plurality of status data in accordance with the predetermined command data detected by the command detector; and
a status data transmitter to send to the host device the status data selected by said status data selector in accordance with the predetermined command data detected by the command detector. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for controlling a printing apparatus comprising the steps of:
-
(a) receiving command data from a host device;
(b) storing the command data received in step (a);
(c) reading out the command data stored in step (b) in a first-in-first-out order and controlling a printing apparatus in accordance with the command data;
(d) directly detecting predetermined command data within the command data received in step (a);
(e) selecting one of a plurality of status data in accordance with the predetermined command data detected in step (d); and
(f) transmitting the status data selected in step (e) in accordance with the predetermined command data detected in step (d). - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A printing apparatus comprising:
-
a data receiver to receive command data from a host device;
a memory to store the command data received by the data receiver;
a printer controller to read out the command data stored in the memory in a first-in-first-out order and control the printing apparatus in accordance with the command data;
a command detector to detect predetermined command data within the command data upon reception of the command data by the data receiver;
a status data selector to select one of a plurality of status data in accordance with the predetermined command data detected by the command detector; and
a status data transmitter to send to the host device the status data selected by said status data selector in accordance with the predetermined command data detected by the command detector. - View Dependent Claims (16, 17)
-
-
18. A method for controlling a printing apparatus comprising the steps of:
-
(a) receiving command data from a host device;
(b) storing the command data received in step (a);
(c) reading the command data stored in step (b) in a first-in-first-out order and controlling the printing apparatus according to the command data;
(d) detecting predetermined command data within the command data received in step (a) upon reception of the command data in step (a); and
(e) selecting one of a plurality of status data in accordance with the predetermined command data detected in step (d); and
(f) transmitting the status data selected in step (e) in accordance with the predetermined command data detected in step (d). - View Dependent Claims (19)
-
-
20. A printing apparatus comprising:
-
(a) a data receiver to receive command data from a host device;
(b) a memory to store the command data received by the data receiver;
(c) a command interpreter to interpret predetermined command data within the command data received by the data receiver before storing the command data in the memory;
(d) a status data selector to select one of a plurality of status data in accordance with the predetermined command data interpreted by the command interpreter;
(e) a status data transmitter to send to the host device the status data selected by said status data selector in accordance with the predetermined command data interpreted by the command interpreter; and
(f) a printer controller to read the command data stored in the memory in a first-in-first-out order and control the printing apparatus in accordance with the command data. - View Dependent Claims (21)
-
-
22. A method of controlling a printing apparatus comprising the steps of:
-
(a) receiving command data from a host device;
(b) storing the command data received in step (a);
(c) interpreting predetermined command data within the command data received in step (a) before storing the command data in step (b);
(d) selecting one of a plurality of status data in accordance with the predetermined command data interpreted in step (c);
(e) transmitting the status data selected in step (d) in accordance with the predetermined command data interpreted in step (c); and
(f) reading the command data stored in step (b) to control the printing apparatus. - View Dependent Claims (23)
-
-
24. A printing apparatus comprising:
-
a data receiver to receive command data from a host device;
a memory to store the command data received by the data receiver;
a printer controller to read out the command data stored in the memory in a first-in-first-out order and control the printing apparatus in accordance with the command data;
a command detector to directly detect predetermined command data within the command data received by the data receiver;
a status data selector to select one of a plurality of status data in accordance with the predetermined command data detected by the command detector; and
a status data transmitter to send to the host device a combination of the status data selected by said status data selector and the status data with predetermined code data in accordance with the predetermined command data detected by the command detector.
-
-
25. A method for controlling a printing apparatus comprising the steps of:
-
(a) receiving command data from a host device;
(b) storing the command data received in step (a);
(c) reading out the command data stored in step (b) in a first-in-first-out order and controlling a printing apparatus in accordance with the command data;
(d) directly detecting predetermined command data within the command data received in step (a);
(e) selecting one of a plurality of status data in accordance with the predetermined command data detected in step (d);
(f) combining the status data selected in step (e) with predetermined code data; and
(g) transmitting, in accordance with the predetermined command data detected in step (d), the status data combined with the predetermined code data in step (f).
-
Specification