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 detect predetermined command data within the command data upon reception of the command data by the data receiver; and
a cut-sheet waiting state canceler to cancel a cut-sheet waiting state of the printing apparatus, in which the printing apparatus waits for a cut-sheet to be inserted to the printing apparatus, in accordance with the predetermined command data.
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.
44 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 detect predetermined command data within the command data upon reception of the command data by the data receiver; and
a cut-sheet waiting state canceler to cancel a cut-sheet waiting state of the printing apparatus, in which the printing apparatus waits for a cut-sheet to be inserted to the printing apparatus, in accordance with the predetermined command data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
wherein the predetermined command data comprises plural data units of a predetermined size, wherein the command detector comprises: a data counter to count a number of data units, and a comparator to compare the data unit received by the data receiver with a data pattern representing the predetermined command data in accordance with the data counter.
-
-
7. A printing apparatus according to claim 1, wherein the data receiver interrupts the operation of the printer controller to receive the command data from the host device.
-
8. A printing apparatus according to claim 1, wherein the command detector detects the predetermined command data within the command data received by the data receiver while the operation of the printer controller is interrupted.
-
9. 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) canceling a cut-sheet waiting state of the printing apparatus, in which the printing apparatus waits for a cut-sheet to be inserted to the printing apparatus, in accordance with the predetermined command data detected in step (d). - View Dependent Claims (10, 11, 12)
wherein in step (d) the predetermined command data from the host device comprises plural data units of a predetermined size, and wherein step (d) comprises the steps of: counting a number of data units, and comparing the data unit received in step (a) with a data pattern representing the predetermined command data in accordance with the data count value.
-
-
13. 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 cut-sheet waiting state canceler to cancel a cut-sheet waiting state of the printing apparatus, in which the printing apparatus waits for a cut-sheet to be inserted to the printing apparatus, in accordance with the predetermined command data interpreted by the command interpreter; and
(e) 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 (14, 15, 16, 17, 18, 19)
-
-
20. 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) canceling a cut-sheet waiting state of the printing apparatus, in which the printing apparatus waits for a cut-sheet to be inserted to the printing apparatus, in accordance with the predetermined command data interpreted in step (c); and
(e) reading the command data stored in step (b) to control the printing apparatus. - View Dependent Claims (21, 22, 23, 24)
-
-
25. 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 and notify the printer controller of detection of the predetermined command data; and
wherein, the printer controller cancels cut-sheet waiting state of the printing apparatus, in which the printing apparatus waits for a cut-sheet to be inserted to the printing apparatus, in accordance with the predetermined command data with a priority over the command data read out from the memory when the command detector notifies the printer controller of detection of the predetermined command data.
-
Specification