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 an external device controller to control an external device connected to the printing apparatus in accordance with the predetermined command data.
- 2. A printing apparatus according to claim 1, wherein the external device controller controls the external device in accordance with the predetermined command data while the printer controller controls the printing apparatus.
- 3. A printing apparatus according to claim 1, wherein the external device controller controls the external device in accordance with the predetermined command data even when the operation of the printer controller is interrupted.
- 4. A printing apparatus according to claim 1, wherein the external device controller controls the external device in accordance with the predetermined command data even when the printing apparatus is in an off-line state.
- 5. A printing apparatus according to claim 1, wherein the external device controller controls the external device in accordance with completion of a present operation of the printer controller.
- 6. A printing apparatus according to claim 1, wherein the external device controller comprises at least one pulse generator to generate at least one pulse of which the pulse width is determined in accordance with the predetermined command data.
- 7. A printing apparatus according to claim 6, wherein the external device controller further comprises a selector to select one of the at least one pulse generator in accordance with the predetermined command data.
- 8. A printing apparatus according to claim 6, wherein the external device comprises a cash drawer, and wherein the at least one pulse generator comprises a drawer kick driver to open the cash drawer.
- 9. A printing apparatus according to claim 1,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.
- 10. 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.
- 11. 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.
- 12. 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) controlling an external device connected to the printing apparatus in accordance with the predetermined command data detected in step (d).
- 13. A control method according to claim 12 wherein step (e) is executed while the process is executed in step (c).
- 14. A control method according to claim 12, wherein step (e) is executed while the process in step (c) is interrupted.
- 15. A control method according to claim 12, wherein step (e) is executed after completion of a present process in step (c).
- 16. A control method according to claim 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.
- 17. 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) an external device controller to control at least one external device connected 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.
- 18. A printing apparatus according to claim 17, wherein the command interpreter interprets the predetermined command data while the operation of the printer controller is interrupted.
- 19. A printing apparatus according to claim 17, wherein the command interpreter interprets the predetermined command data while the operation of the printer controller is not interrupted.
- 20. A printing apparatus according to claim 17, wherein the command interpreter interprets the predetermined command data even while the printing apparatus is in an off-line state.
- 21. A printing apparatus according to claim 17, wherein the external device controller controls the external device in accordance with the predetermined command data interpreted by the command interpreter while the operation of the printer controller is interrupted.
- 22. A printing apparatus according to claim 17, wherein the external device controller controls the external device in accordance with the predetermined command data interpreted by the command interpreter while the operation of the printer controller is not interrupted.
- 23. A printing apparatus according to claim 17, wherein the external device controller controls the external device in accordance with the predetermined command data interpreted by the command interpreter even while the printing apparatus is in an off-line state.
- 24. A printing apparatus according to claim 17, wherein the external device controller comprises at least one pulse generator to generate a pulse.
- 25. A printing apparatus according to claim 24, wherein the pulse has a width determined in accordance with the predetermined command data interpreted by the command interpreter.
- 26. A printing apparatus according to claim 24, wherein the external device controller further comprises a selector to select the pulse generator to generate the pulse in accordance with the predetermined command data interpreted by the command interpreter.
- 27. A printing apparatus according to claim 24, wherein the external device comprises a cash drawer and the pulse generator generates the pulse to open the cash drawer.
- 28. A printing apparatus according to claim 17, wherein the predetermined command data is not stored in the memory.
- 29. A printing apparatus according to claim 17, wherein all of the command data received by the data receiver is stored in the memory.
- 30. A printing apparatus according to claim 17, wherein the printing apparatus comprises at least one communication port to electrically attach the external device.
- 31. A printing apparatus according to claim 17, wherein the printing apparatus comprises at least two communication ports and the external device controller comprises a selector to select the communication port through which a control signal is sent to the external device in accordance with the predetermined command data interpreted by the command interpreter.
- 32. A printing apparatus according to claim 31, wherein the external device electrically connected to one of the communications ports is a cash drawer and the control signal sent causes the cash drawer to open.
- 33. 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) controlling an external device connected 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.
- 34. A control method according to claim 33, wherein step (d) is executed while the process is executed in step (e).
- 35. A control method according to claim 33, wherein step (d) is executed after completion of a present process in step (e).
- 36. A control method according to claim 33, wherein step (d) is executed with priority over the process in step (e).
- 37. A control method according to claim 33, wherein step (d) is executed while the process of step (e) is interrupted.
- 38. A control method according to claim 33, wherein at least steps (a), (c), and (d) continue to be executed even while the printing apparatus is in an off-line state.
- 39. 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 generates at least one pulse to control an external device 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.
Priority Claims (4)
Number |
Date |
Country |
Kind |
5-278637 |
Nov 1993 |
JP |
|
5-278638 |
Nov 1993 |
JP |
|
5-278639 |
Nov 1993 |
JP |
|
7-265881 |
Oct 1995 |
JP |
|
CONTINUING APPLICATION DATA
This application is a divisional of Ser. No. 08/730,694, filed on Oct. 11, 1996, which is a continuation-in-part application of application Ser. No. 08/335,604, filed on Nov. 8, 1994, now U.S. Pat. No. 5,594,653. The contents of each of which are incorporated herein by reference.
US Referenced Citations (17)
Foreign Referenced Citations (8)
Number |
Date |
Country |
38 11 661 |
Oct 1988 |
DE |
0 470 782 |
Feb 1992 |
EP |
61-009723 |
Jan 1986 |
JP |
61-175816 |
Aug 1986 |
JP |
63-021178 |
Jan 1988 |
JP |
63-175918 |
Jul 1988 |
JP |
1302453 |
Dec 1989 |
JP |
82 01609 |
May 1982 |
WO |
Non-Patent Literature Citations (1)
Entry |
Receipt, journal, slip printer TM-930II series Operator's Manual, Mar. 29, 2001. |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
08/335604 |
Nov 1994 |
US |
Child |
08/730694 |
|
US |