JP2014004805A - Firmware updating method for printer and printer - Google Patents

Firmware updating method for printer and printer Download PDF

Info

Publication number
JP2014004805A
JP2014004805A JP2012143904A JP2012143904A JP2014004805A JP 2014004805 A JP2014004805 A JP 2014004805A JP 2012143904 A JP2012143904 A JP 2012143904A JP 2012143904 A JP2012143904 A JP 2012143904A JP 2014004805 A JP2014004805 A JP 2014004805A
Authority
JP
Japan
Prior art keywords
print
control unit
unit
printing
firmware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012143904A
Other languages
Japanese (ja)
Inventor
Tamotsu Kimura
保 木村
Tetsuto Sugawara
哲人 菅原
Yutaka Tsurumi
豊 鶴見
Yuya Watanabe
裕也 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2012143904A priority Critical patent/JP2014004805A/en
Publication of JP2014004805A publication Critical patent/JP2014004805A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a firmware updating method for a printer that can quickly start to update firmware of a print control section on the basis of an updating instruction input to the print control section irrespective of an execution state of a print job.SOLUTION: A print control section 11 of a printer 2 sequentially prints printing data 8 received from a communication control section 10. Upon receiving an updating instruction of firmware 36 via an external communication interface 30 while the print control section 11 is receiving the entire printing data 8 from the communication control section 10, the print control section 11 stops printing the printing data 8 performed thereby and starts to update the firmware 36 on the basis of the updating instruction. More specifically, updating of the firmware 36 has priority over printing of the printing data 8 in the print control section 11.

Description

本発明は、通信を司る通信制御部と印刷を司る印刷制御部を有するプリンターにおいて
、印刷制御部のファームウエアの更新を速やかに行うことができるファームウエア更新方
法、および当該ファームウエア更新方法によりファームウエアを更新するプリンターに関
する。
The present invention relates to a firmware update method capable of promptly updating firmware of a print control unit in a printer having a communication control unit that controls communication and a print control unit that controls printing, and a firmware update method using the firmware update method. The present invention relates to a printer that updates wear.

クーポンなどを発行するためのプリンターがネットワークを介して印刷クライアントと
接続されているPOSシステムが特許文献1に記載されている。特許文献1では、プリン
ターは、当該プリンターと通信可能に接続されたプリントサーバーを介してネットワーク
に接続されている。特許文献1にはプリントサーバーがプリンターの一部としてプリンタ
ー内に設けられる構成に関する記載がある。
Patent Document 1 discloses a POS system in which a printer for issuing a coupon or the like is connected to a print client via a network. In Patent Document 1, a printer is connected to a network via a print server that is communicably connected to the printer. Patent Document 1 describes a configuration in which a print server is provided in a printer as a part of the printer.

このような業務用のシステムに用いられるプリンターのファームウエア更新方法は特許
文献2に記載されている。特許文献2では、プリンターは、印刷クライアントの一つであ
るサーバーからネットワークを介して更新用のファームウエアをダウンロードし、取得し
たファームウエアを用いて自己を更新している。ここで、プリンターは印刷動作中に自己
を更新することができないので、特許文献2では、ファームウエアをダウンロードしたと
きにプリンターで印刷データを印刷する印刷ジョブが行われている場合には、この印刷ジ
ョブが終了するまで、ファームウエアの更新開始を延期している。
A method for updating firmware of a printer used in such a business system is described in Patent Document 2. In Patent Document 2, a printer downloads update firmware from a server that is one of print clients via a network, and updates itself using the acquired firmware. Here, since the printer cannot update itself during the printing operation, in Japanese Patent Laid-Open No. 2004-228688, when a print job for printing print data is performed by the printer when the firmware is downloaded, this printing is performed. The firmware update start is postponed until the job is completed.

特開2008−171303号公報JP 2008-171303 A 特開2007−69368号公報JP 2007-69368 A

ここで、プリンターがプリントサーバーを介さずに外部の機器との間で通信を行うこと
が可能な通信インターフェースを備えている場合には、通信インターフェースを介して接
続された外部の機器からファームウエアの更新を指示する更新命令と更新用のファームウ
エアがプリンターに直接入力されることがある。例えば、ネットワークに接続されている
特定のプリンターのファームウエアを早急に更新する必要がある場合などには、オペレー
ターが通信インターフェースを利用してプリンターとパーソナルコンピューターをネット
ワークを介さずにローカルで接続し、このパーソナルコンピューターから更新命令および
更新用のファームウエアをプリンターに入力して、ファームウエアを更新する。
Here, if the printer has a communication interface that can communicate with an external device without going through the print server, the firmware from the external device connected via the communication interface An update command for instructing update and firmware for update may be directly input to the printer. For example, when it is necessary to quickly update the firmware of a specific printer connected to the network, the operator uses a communication interface to connect the printer and personal computer locally without going through the network. An update command and update firmware are input to the printer from the personal computer to update the firmware.

このような場合には、プリンターにローカル接続で入力(直接入力)された更新命令お
よび更新用のファームウエアに基づいてファームウエアの更新が速やかに開始されること
が望まれる。プリンターに直接入力された更新命令に基づくファームウエアの更新開始が
、特許文献2の場合と同様に、実行中の印刷ジョブの終了まで延期されてしまうとすれば
、更新を速やかに開始することができず、ファームウエアの更新作業が滞るからである。
In such a case, it is desirable that the firmware update be started promptly based on the update command and update firmware input (direct input) to the printer through a local connection. If the update start of the firmware based on the update command input directly to the printer is postponed until the end of the print job being executed, as in the case of Patent Document 2, the update can be started immediately. This is because the firmware update work is delayed.

本発明の課題は、かかる点に鑑みて、印刷ジョブの実行状態に拘わらず、印刷制御部に
入力される更新命令に基づいて当該印刷制御部のファームウエアの更新を速やかに開始す
ることができるプリンターのファームウエア更新方法、および当該ファームウエア更新方
法によりファームウエアを更新するプリンターを提供することにある。
In view of the above, the problem of the present invention is to quickly start updating the firmware of the print control unit based on the update command input to the print control unit regardless of the execution state of the print job. It is an object of the present invention to provide a printer firmware update method and a printer that updates the firmware by the firmware update method.

上記の課題を解決するため、本発明のプリンターのファームウエア更新方法は、印刷デ
ータを通信制御部で受信し、受信された前記印刷データを前記通信制御部から印刷制御部
に送信し、前記通信制御部が前記印刷データを前記印刷制御部に送信しているときに、前
記通信制御部を介することなく前記印刷制御部が前記印刷制御部のファームウエアの更新
を指示する更新命令を受信した場合、前記通信制御部から前記印刷制御部への前記印刷デ
ータの送信情況に拘わらず、前記更新命令に基づく前記印刷制御部のファームウエアの更
新を実行することを特徴とする。
In order to solve the above-described problem, the firmware update method for a printer according to the present invention is configured to receive print data by a communication control unit, transmit the received print data from the communication control unit to the print control unit, and When the control unit is transmitting the print data to the print control unit, the print control unit receives an update command instructing to update the firmware of the print control unit without going through the communication control unit The firmware of the print control unit is updated based on the update command regardless of the transmission status of the print data from the communication control unit to the print control unit.

本発明によれば、印刷制御部に更新命令が直接入力された場合には、通信制御部から印
刷制御部への印刷データの送信情況に拘わらず印刷制御部におけるファームウエアの更新
が始まる。すなわち、本発明では、通信制御部から印刷制御部に送信される印刷データの
印刷よりもファームウエアの更新が優先される。従って、印刷制御部におけるファームウ
エアの更新作業が滞ることがない。
According to the present invention, when an update command is directly input to the print control unit, firmware update in the print control unit starts regardless of the transmission status of print data from the communication control unit to the print control unit. In other words, in the present invention, the update of the firmware has priority over the printing of the print data transmitted from the communication control unit to the print control unit. Therefore, the firmware update work in the print control unit is not delayed.

本発明において、前記印刷制御部が前記更新命令を受信したときに、前記印刷制御部で
制御される印刷部は、前記印刷データの印刷を中止することが望ましい。このようにすれ
ば、印刷ジョブの終了を待つことなく印刷制御部におけるファームウエアの更新が始まる
ので、ファームウエアの更新作業を迅速に行うことができる。
In the present invention, it is preferable that when the print control unit receives the update command, the printing unit controlled by the print control unit stops printing the print data. In this way, since the firmware update in the print control unit starts without waiting for the end of the print job, the firmware update operation can be performed quickly.

ここで、ファームウエアの更新が行われている間は、印刷制御部において印刷データを
印刷することができなくなる。従って、ファームウエアの更新が行われている間に通信制
御部が新たな印刷データを受信すると、この印刷データが印刷されずに喪失してしまう可
能性がある。このような印刷データの喪失を防止或は抑制するためには、前記印刷部が前
記印刷データの印刷を中止したときに、印刷の中止を前記印刷制御部は前記通信制御部に
送信し、印刷の中止を送信された前記通信制御部は、印刷データの受信を停止することが
望ましい。
Here, while the firmware is being updated, the print control unit cannot print the print data. Therefore, if the communication control unit receives new print data while the firmware is being updated, the print data may be lost without being printed. In order to prevent or suppress such loss of print data, when the print unit stops printing the print data, the print control unit transmits a print stop to the communication control unit, and print It is preferable that the communication control unit that has received the cancellation of the printing stops the reception of the print data.

次に、本発明のプリンターは、印刷データを受信する第1通信部、及び前記第1通信部
を介して受信した印刷データを送信する印刷データ送信部を有する通信制御部と、ファー
ムウエアの更新命令を受信する第2通信部、及び前記ファームウエアを実行して前記通信
制御部の前記印刷データ送信部から送信された前記印刷データの印刷制御を行う制御部を
有する印刷制御部と、前記印刷制御部の制御部の制御に基づいて印刷を行う印刷部と、を
備え、前記印刷制御部の制御部は、前記第2通信部が前記ファームウエアの更新命令を受
信したときに前記印刷部の印刷を中止して前記ファームウエアを更新することを特徴とす
る。
Next, the printer of the present invention includes a first communication unit that receives print data, a communication control unit that includes a print data transmission unit that transmits print data received via the first communication unit, and firmware update A second communication unit that receives a command; a print control unit that includes a control unit that executes the firmware and performs print control of the print data transmitted from the print data transmission unit of the communication control unit; and the print A printing unit that performs printing based on the control of the control unit of the control unit, and the control unit of the print control unit includes the printing unit when the second communication unit receives the firmware update command. Printing is stopped and the firmware is updated.

本発明によれば、印刷制御部に更新命令が直接入力された場合には、印刷データの印刷
よりもファームウエアの更新が優先され、実行中の印刷ジョブの終了を待つことなく印刷
制御部におけるファームウエアの更新が始まる。従って、印刷制御部におけるファームウ
エアの更新作業が滞ることがない。
According to the present invention, when an update command is directly input to the print control unit, the firmware update has priority over printing of print data, and the print control unit does not wait for the end of the print job being executed. Firmware update begins. Therefore, the firmware update work in the print control unit is not delayed.

ここで、ファームウエアの更新が行われている間は、印刷制御部において印刷データを
印刷することができなくなる。従って、ファームウエアの更新が行われている間に通信制
御部が新たな印刷データを受信すると、この印刷データが印刷されずに喪失してしまう可
能性がある。このような印刷データの喪失を防止或は抑制するためには、前記印刷制御部
の制御部が前記印刷部の印刷を中止したときに、前記通信制御部に印刷の中止の情報を送
信し、前記通信制御部は、前記印刷の中止の情報を受信すると、前記第1通信部での前記
印刷データの受信を停止することが望ましい。
Here, while the firmware is being updated, the print control unit cannot print the print data. Therefore, if the communication control unit receives new print data while the firmware is being updated, the print data may be lost without being printed. In order to prevent or suppress such loss of print data, when the control unit of the print control unit stops printing of the print unit, the print control unit transmits information on print stop to the communication control unit, It is preferable that the communication control unit stops receiving the print data in the first communication unit when receiving the print cancellation information.

本発明において、前記第1通信部は、ネットワークを介して前記印刷データを受信し、
前記第2通信部は、更新するファームウエアを記憶する端末とローカルで接続されて前記
更新命令を受信することが望ましい。このようにすれば、プリンターが設置されている場
所において行われるファームウエアの更新作業を迅速に行うことができる。
In the present invention, the first communication unit receives the print data via a network,
The second communication unit may be locally connected to a terminal that stores firmware to be updated and receive the update command. In this way, it is possible to quickly update the firmware performed at the place where the printer is installed.

本発明によれば、印刷制御部に更新命令が直接入力された場合には、実行中の印刷ジョ
ブの終了を待つことなく、印刷制御部におけるファームウエアの更新が開始される。従っ
て、印刷制御部におけるファームウエアの更新作業が滞ることがない。
According to the present invention, when an update command is directly input to the print control unit, firmware update in the print control unit is started without waiting for the end of the print job being executed. Therefore, the firmware update work in the print control unit is not delayed.

本発明のプリンターを備えるPOSシステムの概略システム構成図である。1 is a schematic system configuration diagram of a POS system including a printer of the present invention. 通信制御部における印刷データの受信制限動作を示すフローチャートである。5 is a flowchart illustrating an operation for restricting reception of print data in a communication control unit. ファームウエア更新動作を示すタイムチャートである。It is a time chart which shows firmware update operation | movement.

以下に、図面を参照して、本願発明を適用したプリンターの実施の形態を説明する。   Embodiments of a printer to which the present invention is applied will be described below with reference to the drawings.

(POSシステム)
図1は本発明を適用したプリンターを備えるPOSシステムの概略システム構成図であ
る。図1に示すように、POSシステム1は、プリンター2と、このプリンター2にLA
Nなどのネットワーク3を介して接続された第1〜第3印刷クライアント4、5、6を備
えている。各印刷クライアント4、5、6はコンピューターシステムであり、それぞれネ
ットワークを介して通信を行うネットワーク用通信部7を備えている。また、各印刷クラ
イアント4、5、6は、クーポンを印刷する印刷データ8を保持している。印刷クライア
ントのうちの一つはPOSシステム1を管理するPOSサーバーである。本例では、ネッ
トワーク用通信部7はTCP/IPを利用して通信を行う。
(POS system)
FIG. 1 is a schematic system configuration diagram of a POS system including a printer to which the present invention is applied. As shown in FIG. 1, the POS system 1 includes a printer 2 and an LA
1 to 3 print clients 4, 5, 6 connected via a network 3 such as N. Each of the print clients 4, 5, and 6 is a computer system and includes a network communication unit 7 that performs communication via a network. Each print client 4, 5, 6 holds print data 8 for printing a coupon. One of the print clients is a POS server that manages the POS system 1. In this example, the network communication unit 7 performs communication using TCP / IP.

プリンター2は、印刷クライアントとの間で通信を行う通信制御部10と、通信制御部
10と通信可能に接続されている印刷制御部11を備えている。通信制御部10はネット
ワーク3を介した通信を司る装置である。印刷制御部11は印刷を司る装置である。通信
制御部10と印刷制御部11は一つの筐体内に収納されており、全体でプリンター2を構
成している。
The printer 2 includes a communication control unit 10 that performs communication with a print client, and a print control unit 11 that is communicably connected to the communication control unit 10. The communication control unit 10 is a device that manages communication via the network 3. The print control unit 11 is a device that controls printing. The communication control unit 10 and the print control unit 11 are housed in one housing, and constitute the printer 2 as a whole.

通信制御部10は、ネットワーク3を介して通信を行うネットワーク用通信部(第1通
信部)12を備えている。通信制御部10は、ネットワーク用通信部12を介して各印刷
クライアント4、5、6から受信した印刷データ8を印刷制御部11に送信する。印刷制
御部11は、通信制御部10から受信する印刷データ8を逐次に印刷して、クーポンを発
行する。
The communication control unit 10 includes a network communication unit (first communication unit) 12 that performs communication via the network 3. The communication control unit 10 transmits the print data 8 received from each print client 4, 5, 6 to the print control unit 11 via the network communication unit 12. The print control unit 11 sequentially prints the print data 8 received from the communication control unit 10 and issues a coupon.

(通信制御部)
通信制御部10は第1中央制御部13を中心に構成されている。第1中央制御部13に
は、ネットワーク用通信部12、印刷制御部11との間で双方向シリアル通信を行うシリ
アル通信インターフェース14、不揮発性RAM15、および、RAM16が接続されて
いる。第1中央制御部13は、印刷ポート開設部17、印刷データ送信部18および、受
信制限部19を備えている。
(Communication control unit)
The communication control unit 10 is configured around a first central control unit 13. The first central control unit 13 is connected to a network communication unit 12, a serial communication interface 14 that performs bidirectional serial communication with the print control unit 11, a nonvolatile RAM 15, and a RAM 16. The first central control unit 13 includes a print port establishment unit 17, a print data transmission unit 18, and a reception restriction unit 19.

ネットワーク用通信部12はTCP/IPを利用して各印刷クライアント4、5、6と
の間で通信を行う。より詳細には、ネットワーク用通信部12は各印刷クライアント4、
5、6からの印刷依頼を受信するために開設された3つの印刷依頼待ち受けポート20を
備えている。また、ネットワーク用通信部12には、印刷依頼待ち受けポート20が受信
した印刷依頼に基づいて、印刷データ8を受信する印刷ポート21が開設される。
The network communication unit 12 communicates with each print client 4, 5, 6 using TCP / IP. More specifically, the network communication unit 12 includes each print client 4,
Three print request waiting ports 20 established for receiving print requests from 5 and 6 are provided. The network communication unit 12 is also provided with a print port 21 for receiving the print data 8 based on the print request received by the print request waiting port 20.

シリアル通信インターフェース14はUSBである。不揮発性RAM(NVRAM)1
5は通信制御部10の設定情報や第1中央制御部13に読み込まれるソフトウエアなどを
記憶保持している。RAM16はネットワーク用通信部12を介して受信した印刷データ
8を一時的に保持する。
The serial communication interface 14 is USB. Nonvolatile RAM (NVRAM) 1
5 stores and holds setting information of the communication control unit 10 and software read by the first central control unit 13. The RAM 16 temporarily holds the print data 8 received via the network communication unit 12.

印刷ポート開設部17は、各印刷依頼待ち受けポート20が受信した印刷依頼に基づい
て、ネットワーク用通信部12に印刷データ8を受信する印刷ポート21を開設する。
The print port opening unit 17 opens a print port 21 for receiving the print data 8 in the network communication unit 12 based on the print request received by each print request waiting port 20.

また、印刷ポート開設部17は、通信制御部10から印刷制御部11への印刷データ8
の送信を監視しており、印刷依頼に基づいて印刷ポート21を開設すると、当該印刷ポー
ト21を介して受信する印刷データ8を通信制御部10から印刷制御部11にシリアル通
信インターフェース14を介して送信することが可能となったときに、印刷データ8の送
信依頼を印刷依頼の送信元である印刷クライアント4、5、6に送信する。例えば、印刷
ポート21を開設したときに通信制御部10から印刷制御部11に印刷データ8が送信さ
れていなければ、当該印刷ポート21を介して受信する印刷データ8を通信制御部10か
ら印刷制御部11に送信することが可能なので、印刷ポート開設部17は印刷依頼の送信
元に印刷データ8の送信依頼を送信する。一方、印刷ポート21を開設したときに通信制
御部10から印刷制御部11に他の印刷データ8が送信されている場合には、印刷ポート
21を介して受信する印刷データ8を通信制御部10から印刷制御部11に送信すること
ができないので、印刷ポート開設部17は印刷データ8が最後まで通信制御部10から印
刷制御部11へ送信されるのを待ち、送信が完了した時点で印刷データ8の送信依頼を送
信する。なお、印刷ポート開設部17が印刷依頼を送信する前に後述する受信制限部19
によって開設されている印刷ポート21を閉じられた場合には、印刷ポート開設部17は
印刷データ8の送信依頼の送信を行わない。
The print port opening unit 17 prints data 8 from the communication control unit 10 to the print control unit 11.
When the print port 21 is opened based on the print request, the print data 8 received via the print port 21 is transferred from the communication control unit 10 to the print control unit 11 via the serial communication interface 14. When transmission becomes possible, a transmission request for the print data 8 is transmitted to the print clients 4, 5, 6 that are the transmission source of the print request. For example, if the print data 8 is not transmitted from the communication control unit 10 to the print control unit 11 when the print port 21 is opened, the print data 8 received via the print port 21 is printed from the communication control unit 10. The print port opening unit 17 transmits a transmission request for the print data 8 to the transmission source of the print request. On the other hand, when other print data 8 is transmitted from the communication control unit 10 to the print control unit 11 when the print port 21 is opened, the communication control unit 10 transmits the print data 8 received via the print port 21. Cannot be transmitted to the print control unit 11, the print port opening unit 17 waits until the print data 8 is transmitted from the communication control unit 10 to the print control unit 11 until the end, and when the transmission is completed, the print data 8 transmission request is transmitted. It should be noted that before the print port opening unit 17 transmits a print request, a reception restricting unit 19 described later.
When the print port 21 established by the above is closed, the print port establishment unit 17 does not transmit a transmission request for the print data 8.

印刷データ送信部18は、印刷ポート21を介して各印刷クライアント4、5、6から
印刷データ8を受信すると、この印刷データ8を、シリアル通信インターフェース14を
介して、印刷制御部11に送信する。ここで、印刷データ送信部18は、印刷制御部11
に対する印刷データ8の送信を開始すると、その印刷データ8の送信を中断することなく
、最後まで印刷制御部11に送信する。
When the print data transmission unit 18 receives the print data 8 from each of the print clients 4, 5, 6 via the print port 21, the print data transmission unit 18 transmits the print data 8 to the print control unit 11 via the serial communication interface 14. . Here, the print data transmission unit 18 is connected to the print control unit 11.
When transmission of the print data 8 is started, transmission of the print data 8 is transmitted to the print control unit 11 to the end without being interrupted.

受信制限部19は、印刷制御部11から印刷データ8の印刷が停止されたことを示す印
刷停止情報を受信すると、ネットワーク用通信部12を介しての新たな印刷データ8の受
信を停止する。
When receiving the print stop information indicating that printing of the print data 8 has been stopped from the print control unit 11, the reception restriction unit 19 stops receiving new print data 8 via the network communication unit 12.

図2は受信制限部19により行われる印刷データ8の受信制限動作のフローチャートで
ある。図2に示すように、通信制御部10が印刷制御部11から印刷停止情報を受信する
と、受信制限部19は印刷依頼待ち受けポート20を全て閉じて新たな印刷依頼の受信を
停止する(ステップST1)。ここで、通信制御部10から印刷制御部11へ印刷中の印
刷データ8がある場合には(ステップST2)、印刷データ送信部18による印刷データ
8の送信の完了を待つ(ステップST3)。その後、印刷データ8の送信が終了すると、
この時点で開設されている印刷ポート21の数を確認して(ステップST4)、開設され
ている印刷ポート21があれば閉鎖する(ステップST5)。また、ステップST4とス
テップST5を繰り返すことにより、開設されている印刷ポート21の全てを閉鎖する。
これにより、新たな印刷データ8の受信を停止する。ここで、受信制限部19は、印刷ポ
ート21を閉鎖した場合には、印刷ポート21の閉鎖を印刷依頼の送信元の各印刷クライ
アント4、5、6に通知する。
FIG. 2 is a flowchart of the reception restriction operation of the print data 8 performed by the reception restriction unit 19. As shown in FIG. 2, when the communication control unit 10 receives the print stop information from the print control unit 11, the reception restriction unit 19 closes all the print request waiting ports 20 and stops receiving a new print request (step ST1). ). If there is print data 8 being printed from the communication control unit 10 to the print control unit 11 (step ST2), the print data transmission unit 18 waits for completion of transmission of the print data 8 (step ST3). Thereafter, when the transmission of the print data 8 is completed,
The number of print ports 21 opened at this time is confirmed (step ST4), and if there are any open print ports 21, they are closed (step ST5). Further, by repeating step ST4 and step ST5, all the established print ports 21 are closed.
Thereby, reception of new print data 8 is stopped. Here, when the print port 21 is closed, the reception restriction unit 19 notifies the print clients 4, 5, 6 of the print request transmission source that the print port 21 is closed.

(印刷制御部)
印刷制御部11は、図1に示すように、第2中央制御部25を中心に構成されている。
第2中央制御部25には、印刷動作を行う印刷機構部26、通信制御部10との間で双方
向シリアル通信を行うシリアル通信インターフェース27、ROM28、RAM29、お
よび、外部通信用インターフェース30(第2通信部)が接続されている。第2中央制御
部(制御部)25は、印刷部31、更新命令監視部32、更新実行部33および印刷停止
情報送信部34を備えている。
(Print control unit)
As shown in FIG. 1, the print control unit 11 is configured around a second central control unit 25.
The second central control unit 25 includes a printing mechanism unit 26 that performs a printing operation, a serial communication interface 27 that performs bidirectional serial communication with the communication control unit 10, a ROM 28, a RAM 29, and an external communication interface 30 (first interface). 2 communication units) are connected. The second central control unit (control unit) 25 includes a printing unit 31, an update command monitoring unit 32, an update execution unit 33, and a print stop information transmission unit 34.

印刷機構部26は、ロール紙から繰り出されるクーポン用紙に印刷を行う印刷ヘッド、
および、クーポン用紙を印刷ヘッドを経由する用紙搬送路に沿って搬送する紙送りモータ
ーなどを備えている。
The printing mechanism unit 26 is a print head that performs printing on coupon paper fed out of roll paper,
In addition, a paper feed motor that transports the coupon paper along a paper transport path via the print head is provided.

シリアル通信インターフェース27は、通信制御部10のシリアル通信インターフェー
ス14と対応する通信インターフェースである。すなわち、シリアル通信インターフェー
ス27はUSBであり、当該シリアル通信インターフェース27と通信制御部10のシリ
アル通信インターフェース14の間はUSBケーブル35により接続されている。
The serial communication interface 27 is a communication interface corresponding to the serial communication interface 14 of the communication control unit 10. That is, the serial communication interface 27 is a USB, and the serial communication interface 27 and the serial communication interface 14 of the communication control unit 10 are connected by a USB cable 35.

ROM28は、印刷機構部26を駆動制御するファームウエア36を記憶保持している
。ファームウエア36の更新はROM28に記憶保持されているファームウエア36を更
新用のファームウエア40によって書き換えることにより行われる。
The ROM 28 stores firmware 36 that drives and controls the printing mechanism unit 26. The firmware 36 is updated by rewriting the firmware 36 stored and held in the ROM 28 with the update firmware 40.

RAM29は印刷制御部11に供給される印刷データ8を一時的に保持する印刷バッフ
ァーである。RAM29では、通信制御部10から受信する印刷データ8のデータ部分が
逐次に保持されるとともに、印刷機構部26によって印刷が済んだ印刷データ8のデータ
部分が逐次に消去される。
The RAM 29 is a print buffer that temporarily holds the print data 8 supplied to the print control unit 11. In the RAM 29, the data portion of the print data 8 received from the communication control unit 10 is sequentially held, and the data portion of the print data 8 that has been printed by the printing mechanism unit 26 is sequentially deleted.

外部通信用インターフェース30は、印刷制御部11と外部の機器の間で通信を行う通
信インターフェースである。外部通信用インターフェース30はプリンター2の設置場所
におけるローカルな接続に用いられるものであり、本例では、USBなどのシリアル通信
インターフェース27が採用されている。ここで、印刷制御部11には、図1に示すよう
に、外部通信用インターフェース30を介して印刷制御部11のファームウエア36を更
新する更新クライアント9が接続される。更新クライアント9は、例えば、外部通信用イ
ンターフェース30に対応する通信用インターフェース41を備えるパーソナルコンピュ
ーターである。印刷制御部11の外部通信用インターフェース30を介して印刷制御部1
1に更新クライアント9が接続された場合には、更新クライアント9から印刷制御部11
に、プリンター2のファームウエア36の更新を指示する更新命令と更新用のファームウ
エア40が入力される。
The external communication interface 30 is a communication interface that performs communication between the print control unit 11 and an external device. The external communication interface 30 is used for local connection at the place where the printer 2 is installed. In this example, a serial communication interface 27 such as a USB is employed. Here, as shown in FIG. 1, an update client 9 that updates the firmware 36 of the print control unit 11 is connected to the print control unit 11 via the external communication interface 30. The update client 9 is, for example, a personal computer that includes a communication interface 41 corresponding to the external communication interface 30. The print control unit 1 via the external communication interface 30 of the print control unit 11
1, the update client 9 is connected to the print control unit 11 from the update client 9.
In addition, an update command for instructing the update of the firmware 36 of the printer 2 and the update firmware 40 are input.

印刷部31は、印刷機構部26を駆動制御して、シリアル通信インターフェース27を
介して通信制御部10から受信する印刷データ8を逐次に印刷する。更新命令監視部32
は外部通信用インターフェース30を介した更新命令の受信を監視する。更新実行部33
は更新命令に基づいて印刷制御部11の更新を行う。印刷停止情報送信部34は更新命令
監視部32によって更新命令の受信が検出されると、印刷停止情報を通信制御部10に送
信する。印刷停止情報は、印刷部31が印刷データ8の印刷を停止した印刷停止状態とな
ったことを示す情報であり、印刷制御部11が印刷データ8の印刷を行うことが可能な動
作状態から、ファームウエア36の更新を行う更新可能状態に遷移したことを示している
。印刷制御部11が更新可能状態となると、印刷部31による印刷データ8の印刷はでき
なくなる。
The printing unit 31 drives and controls the printing mechanism unit 26 to sequentially print the print data 8 received from the communication control unit 10 via the serial communication interface 27. Update command monitoring unit 32
Monitors the reception of the update command via the external communication interface 30. Update execution unit 33
Updates the print control unit 11 based on the update command. The print stop information transmitting unit 34 transmits print stop information to the communication control unit 10 when the update command monitoring unit 32 detects the reception of the update command. The print stop information is information indicating that the print unit 31 is in a print stop state in which printing of the print data 8 is stopped. From the operation state in which the print control unit 11 can print the print data 8, It shows that the firmware 36 has been changed to an updatable state for updating. When the print control unit 11 is in an updatable state, the print data 8 cannot be printed by the printing unit 31.

ここで、印刷部31は、印刷停止情報送信部34が印刷停止情報を通信制御部10に送
信すると、受信している印刷データ8の印刷を中止して印刷停止状態となる。換言すれば
、印刷部31は、印刷制御部11が通信制御部10から印刷データ8を受信している間に
、外部通信用インターフェース30を介して接続された更新クライアント9から更新命令
が入力されると、受信している印刷データ8の印刷を中止して印刷停止状態となる。また
、印刷部31は、印刷を中止すると、印刷中止時点で印刷されていない印刷データ8の未
印刷データ部分を印刷せずに破棄する。すなわち、通信制御部10の印刷データ送信部1
8は、印刷制御部11の動作状態に拘わらず、印刷データ8を最後まで送信するので、印
刷部31では、印刷停止状態となることにより印刷できない印刷データ8の未印刷データ
部分を読み捨てる。本例では、印刷部31は、印刷中止時点でRAM29に一時的に保持
されている印刷データ8の未印刷データ部分と、印刷中止時点以降に印刷制御部11が通
信制御部10から受信する印刷データ8の未印刷データ部分を、印刷を行うことなく、破
棄する。
Here, when the print stop information transmitting unit 34 transmits the print stop information to the communication control unit 10, the print unit 31 stops printing the received print data 8 and enters a print stop state. In other words, the print unit 31 receives an update command from the update client 9 connected via the external communication interface 30 while the print control unit 11 receives the print data 8 from the communication control unit 10. Then, printing of the received print data 8 is stopped and the print is stopped. Further, when printing is stopped, the printing unit 31 discards the unprinted data portion of the print data 8 that has not been printed at the time of printing stop without printing. That is, the print data transmission unit 1 of the communication control unit 10
No. 8, since the print data 8 is transmitted to the end regardless of the operation state of the print control unit 11, the print unit 31 discards the unprinted data portion of the print data 8 that cannot be printed due to the print stop state. In this example, the printing unit 31 prints the unprinted data portion of the print data 8 temporarily held in the RAM 29 when printing is stopped and the print control unit 11 receives from the communication control unit 10 after the printing stop time. The unprinted data portion of data 8 is discarded without printing.

また、更新実行部33は、更新命令監視部32によって更新命令の受信が検出されてい
るときに印刷部31が印刷停止状態となると、更新命令に基づくファームウエア36の更
新を開始する。より詳細には、更新実行部33は、印刷部31が受信中の印刷データ8の
印刷を中止して未印刷データ部分を読み捨てると、外部通信用インターフェース30を介
して接続されている更新クライアント9に更新用のファームウエア40の送信を依頼する
送信依頼を送信する。しかる後に、更新クライアント9から更新用のファームウエア40
を受信すると、この更新用のファームウエア40を用いてROM28上のファームウエア
36を書き換える。なお、更新実行部33は、外部通信用インターフェース30を介した
更新命令の受信が更新命令監視部32によって検出されたときに、印刷部31が印刷デー
タ8の印刷を行なっていない場合には、印刷部31が印刷停止状態となっているものとし
て、更新命令に基づくファームウエア36の更新を開始する。
The update execution unit 33 starts updating the firmware 36 based on the update command when the printing unit 31 enters a print stop state when the update command monitoring unit 32 detects reception of the update command. More specifically, the update execution unit 33 stops the printing of the print data 8 being received by the printing unit 31 and discards the unprinted data portion, and then the update client connected via the external communication interface 30 9 transmits a transmission request for requesting transmission of the firmware 40 for update. Thereafter, the update firmware 40 is updated from the update client 9.
Is received, the firmware 36 on the ROM 28 is rewritten using the firmware 40 for updating. The update execution unit 33, when the update command monitoring unit 32 detects that the update command is received via the external communication interface 30, the print unit 31 is not printing the print data 8. Assuming that the printing unit 31 is in the print stop state, the firmware 36 is updated based on the update command.

(ファームウエアの更新動作)
図3はファームウエア36更新動作を示すタイムチャートである。図3に示すように、
通信制御部10のネットワーク用通信部12には、予め、各印刷クライアント4、5、6
からの印刷依頼を受信する印刷待ち受けポートが開設されている(ステップST11)。
また、印刷制御部11には、図1に示すように、外部通信用インターフェース30を介し
て更新クライアント9が接続されているものする。
(Firmware update operation)
FIG. 3 is a time chart showing the firmware 36 update operation. As shown in FIG.
The network communication unit 12 of the communication control unit 10 is connected in advance to each print client 4, 5, 6.
A print standby port for receiving a print request from is established (step ST11).
Further, as shown in FIG. 1, an update client 9 is connected to the print control unit 11 via an external communication interface 30.

通信制御部10が印刷待ち受けポートを介して第1印刷クライアント4からの印刷依頼
を受信すると(ステップST12)、印刷ポート開設部17は印刷依頼に基づいて第1印
刷クライアント4から印刷データ8を受信するための印刷ポート21を開設する。また、
印刷ポート開設部17は第1印刷クライアント4に印刷データ8の送信依頼を送信する(
ステップST13)。
When the communication control unit 10 receives a print request from the first print client 4 via the print standby port (step ST12), the print port opening unit 17 receives the print data 8 from the first print client 4 based on the print request. A printing port 21 is established for this purpose. Also,
The print port opening unit 17 transmits a transmission request for the print data 8 to the first print client 4 (
Step ST13).

送信依頼を受信した第1印刷クライアント4から印刷データ8が送信されると(ステッ
プST14)、通信制御部10は印刷ポート21を介して印刷データ8を受信するととも
に、取得した印刷データ8の通信制御部10への送信を開始する(ステップST15)。
これにより、印刷制御部11は印刷データ8を逐次に印刷する(ステップST16)。
When the print data 8 is transmitted from the first print client 4 that has received the transmission request (step ST14), the communication control unit 10 receives the print data 8 via the print port 21 and communicates the acquired print data 8. Transmission to the control unit 10 is started (step ST15).
Thereby, the print control unit 11 sequentially prints the print data 8 (step ST16).

ここで、印刷制御部11が印刷データ8を受信している間に、印刷制御部11が更新ク
ライアント9からファームウエア36の更新命令を受信すると(ステップST17)、印
刷制御部11から通信制御部10に印刷停止情報が送信される(ステップST18)。
Here, when the print control unit 11 receives the update command for the firmware 36 from the update client 9 while the print control unit 11 is receiving the print data 8 (step ST17), the communication control unit from the print control unit 11 The print stop information is transmitted to 10 (step ST18).

通信制御部10が印刷停止情報を受信すると、受信制限部19は第1通信部を介した新
たな印刷データ8の受信を停止する。すなわち、受信制限部19は、開設されている印刷
依頼待ち受けポート20を全て閉鎖して新たな印刷依頼の受信を停止する(ステップST
19)。また、受信制限部19は、通信制御部10からの印刷データ8の送信が完了した
後に、既に開設されている印刷ポート21を閉じる。
When the communication control unit 10 receives the print stop information, the reception restriction unit 19 stops receiving new print data 8 via the first communication unit. In other words, the reception restriction unit 19 closes all the open print request waiting ports 20 and stops receiving new print requests (step ST).
19). Further, the reception restriction unit 19 closes the already-opened print port 21 after the transmission of the print data 8 from the communication control unit 10 is completed.

また、ステップST18において印刷制御部11から通信制御部10に印刷停止情報が
送信されると、ステップST19と並行して、印刷部31は通信制御部10からの印刷デ
ータ8の印刷を中止する。これにより印刷部31は印刷停止状態となり、印刷制御部11
はファームウエア36の更新が可能な更新可能状態となる。ここで、印刷部31が印刷デ
ータ8の印刷を中止すると、印刷データ8のうち、印刷部31が印刷を中止した時点で印
刷されていない未印刷データ部分は、読み捨てられる(ステップST20)。
When print stop information is transmitted from the print control unit 11 to the communication control unit 10 in step ST18, the printing unit 31 stops printing the print data 8 from the communication control unit 10 in parallel with step ST19. As a result, the printing unit 31 enters a printing stopped state, and the printing control unit 11.
Becomes an updatable state in which the firmware 36 can be updated. Here, when the printing unit 31 stops printing the print data 8, the unprinted data portion that is not printed at the time when the printing unit 31 stops printing in the print data 8 is discarded (step ST20).

印刷部31が印刷停止状態となり、通信制御部10から印刷制御部11への印刷データ
8に送信が終了すると(ステップST21)、印刷制御部11の更新実行部33は、更新
クライアント9に更新用のファームウエア40の送信依頼を送信して(ステップST22
)、更新クライアント9からの更新用のファームウエア40の送信を待つ。その後、更新
実行部33が更新用のファームウエア40を取得すると(ステップST23)、当該更新
用のファームウエア40によってROM28上のファームウエア36を書き換える。すな
わち、印刷制御部11においてファームウエア36の更新が実行される(ステップST2
4)。
When the printing unit 31 is in a print stop state and transmission of the print data 8 from the communication control unit 10 to the print control unit 11 is completed (step ST21), the update execution unit 33 of the print control unit 11 sends an update client 9 for update. The transmission request of the firmware 40 is transmitted (step ST22).
) Waits for transmission of the update firmware 40 from the update client 9. After that, when the update execution unit 33 acquires the update firmware 40 (step ST23), the firmware 36 on the ROM 28 is rewritten by the update firmware 40. That is, the firmware 36 is updated in the print control unit 11 (step ST2
4).

なお、図3に示す例では、ステップST17において印刷制御部11が更新クライアン
ト9から更新命令を受信した後に、第3印刷クライアント6から通信制御部10に印刷依
頼が送信されている(ステップST31)。しかし、通信制御部10が第3印刷クライア
ント6からの印刷依頼を受信した時点では、印刷制御部11から通信制御部10に印刷停
止情報が送信されており、この結果、通信制御部10の印刷依頼待ち受けポート20は全
て閉じられている(ステップST19)。従って、第3印刷クライアント6からの印刷依
頼は、その受信が通信制御部10によって拒否される(ステップST32)。
In the example shown in FIG. 3, after the print control unit 11 receives the update command from the update client 9 in step ST17, a print request is transmitted from the third print client 6 to the communication control unit 10 (step ST31). . However, when the communication control unit 10 receives a print request from the third print client 6, print stop information is transmitted from the print control unit 11 to the communication control unit 10, and as a result, printing by the communication control unit 10 is performed. All the request waiting ports 20 are closed (step ST19). Accordingly, reception of the print request from the third print client 6 is rejected by the communication control unit 10 (step ST32).

以上より、プリンター2では、印刷部31が印刷停止状態となっているときに、第3印
刷クライアント6から印刷データ8を受信することを回避できる。また、第3印刷クライ
アント6は、ステップST32における印刷依頼の拒否により、プリンター2が印刷デー
タ8の印刷をすることができない状態となっていることを知得することができる。すなわ
ち、第3印刷クライアント6では、印刷データ8をプリンター2に送信する前に、プリン
ター2が印刷データ8の印刷をすることができない状態となっていることを、知得できる
As described above, the printer 2 can avoid receiving the print data 8 from the third print client 6 when the printing unit 31 is in the print stopped state. Further, the third print client 6 can know that the printer 2 cannot print the print data 8 due to the rejection of the print request in step ST32. In other words, the third print client 6 can know that the printer 2 cannot print the print data 8 before transmitting the print data 8 to the printer 2.

また、図3に示す例では、印刷制御部11が更新クライアント9から更新命令を受信す
るステップST17の前に、印刷制御部11が第2印刷クライアント5からの印刷依頼を
受信している(ステップST41)。従って、印刷制御部11が更新クライアント9から
更新命令を受信したステップST17の時点で、印刷ポート開設部17によってネットワ
ーク用通信部12に第2印刷クライアント5からの印刷データ8を受信する印刷ポート2
1が開設されている。また、印刷ポート開設部17は、第1印刷クライアント4からの印
刷データ8の通信制御部10から印刷制御部11への送信が完了するのを待っており、送
信が終了した時点で第2印刷クライアント5に印刷データ8の送信依頼を送信しようとし
ている。
In the example shown in FIG. 3, the print control unit 11 receives a print request from the second print client 5 before step ST17 in which the print control unit 11 receives an update command from the update client 9 (step S17). ST41). Therefore, at the time of step ST17 when the print control unit 11 receives the update command from the update client 9, the print port 2 that receives the print data 8 from the second print client 5 to the network communication unit 12 by the print port opening unit 17 is provided.
1 has been established. The print port opening unit 17 waits for the transmission of the print data 8 from the first print client 4 from the communication control unit 10 to the print control unit 11 and completes the second printing when the transmission is completed. A request to send print data 8 is sent to the client 5.

ここで、図3に示す例では、第1印刷クライアント4からの印刷データ8が通信制御部
10から印刷制御部11へ最後まで送信されるまでの間に、通信制御部10が印刷制御部
11からの印刷停止情報を受信している(ステップST18)。従って、印刷データ8の
印刷制御部11への送信が完了した時点で、印刷ポート開設部17によって開設されてい
た印刷ポート21は受信制限部19によって全て閉じられる(図2のステップST4、ス
テップST5参照)。従って、印刷ポート開設部17による印刷データ8の送信依頼の送
信は行われない。その替わりに、第2印刷クライアント5には、受信制限部19から印刷
ポート21の閉鎖が通知される(ステップST42)。
Here, in the example illustrated in FIG. 3, the communication control unit 10 performs the printing control unit 11 before the print data 8 from the first print client 4 is transmitted from the communication control unit 10 to the printing control unit 11 to the end. The print stop information is received (step ST18). Therefore, when the transmission of the print data 8 to the print control unit 11 is completed, all the print ports 21 established by the print port establishment unit 17 are closed by the reception restriction unit 19 (steps ST4 and ST5 in FIG. 2). reference). Accordingly, the transmission request for the print data 8 by the print port opening unit 17 is not transmitted. Instead, the second print client 5 is notified of the closure of the print port 21 from the reception restriction unit 19 (step ST42).

以上より、プリンター2では、印刷部31が印刷停止状態となっているときに、第2印
刷クライアント5から印刷データ8を受信することを回避できる。また、第2印刷クライ
アント5は、ステップST42の通知により、プリンター2が印刷データ8の印刷をする
ことができない状態となっていることを知得することができる。すなわち、第2印刷クラ
イアント5では、印刷データ8をプリンター2に送信する前に、プリンター2が印刷デー
タ8の印刷をすることができない状態となっていることを知得できる。
As described above, the printer 2 can avoid receiving the print data 8 from the second print client 5 when the printing unit 31 is in the print stop state. Further, the second print client 5 can know that the printer 2 cannot print the print data 8 by the notification in step ST42. In other words, the second print client 5 can know that the printer 2 cannot print the print data 8 before sending the print data 8 to the printer 2.

本例によれば、印刷制御部11に更新命令が直接入力された場合には、印刷データ8の
印刷よりもファームウエア36の更新が優先され、実行中の印刷ジョブの終了を待つこと
なく、印刷制御部11におけるファームウエア36の更新が開始される。従って、印刷制
御部11におけるファームウエア36の更新作業が滞ることがない。
According to this example, when the update command is directly input to the print control unit 11, the update of the firmware 36 is prioritized over the printing of the print data 8 without waiting for the end of the print job being executed. Updating of the firmware 36 in the print control unit 11 is started. Therefore, the update operation of the firmware 36 in the print control unit 11 is not delayed.

また、本例では、印刷部31が印刷データ8の印刷を中止すると、印刷中止時点で印刷
されていない印刷データ8の未印刷データ部分は印刷されずに破棄される。この結果、未
印刷データ部分に対する処理が迅速に行われるので、ファームウエア36の更新の開始が
より速やかになる。
In this example, when the printing unit 31 stops printing the print data 8, the unprinted data portion of the print data 8 that has not been printed at the time of printing stop is discarded without being printed. As a result, since the process for the unprinted data portion is performed quickly, the update of the firmware 36 is started more quickly.

ここで、ファームウエア36の更新が行われている間は、印刷制御部11において印刷
データ8を印刷することができなくなる。従って、ファームウエア36の更新が行われて
いる間に通信制御部10が新たな印刷データ8を受信すると、この印刷データ8が印刷さ
れずに喪失してしまう可能性がある。これに対して、本例では、印刷制御部11がファー
ムウエア36の更新命令を受信すると、印刷制御部11から通信制御部10に印刷停止情
報が送信され、印刷停止情報を受信した通信制御部10では、新たな印刷データ8の受信
を停止する。従って、ファームウエア36の更新が行われている間に、通信制御部10が
印刷データ8を受信することを防止或は抑制できる。
Here, while the firmware 36 is being updated, the print control unit 11 cannot print the print data 8. Therefore, if the communication control unit 10 receives new print data 8 while the firmware 36 is being updated, the print data 8 may be lost without being printed. In contrast, in this example, when the print control unit 11 receives the firmware 36 update command, the print control unit 11 transmits print stop information to the communication control unit 10 and receives the print stop information. In 10, the reception of new print data 8 is stopped. Accordingly, it is possible to prevent or suppress the communication control unit 10 from receiving the print data 8 while the firmware 36 is being updated.

(その他の実施の形態)
上記の例では、印刷部31は印刷を停止すると印刷データ8の未印刷データ部分を読み
捨てるが、印刷中止時点でRAM29に保持されている印刷データ8の未印刷データ部分
、および、印刷中止時点以降に印刷制御部11が通信制御部10から受信する印刷データ
8の未印刷データ部分を、書換え可能な不揮発性メモリーなどに記憶保持し、印刷制御部
11におけるファームウエア36の更新が完了した後に記憶保持しておいた未印刷データ
部分を印刷してもよい。
(Other embodiments)
In the above example, when the printing unit 31 stops printing, the unprinted data portion of the print data 8 is read and discarded. However, the unprinted data portion of the print data 8 held in the RAM 29 when the printing is stopped, and the printing stop time. Thereafter, the unprinted data portion of the print data 8 received by the print control unit 11 from the communication control unit 10 is stored and held in a rewritable nonvolatile memory or the like, and after the update of the firmware 36 in the print control unit 11 is completed. The unprinted data portion stored and held may be printed.

1・・POSシステム、2・・プリンター、3・・ネットワーク、4・5・6・・印刷ク
ライアント、7・・ネットワーク用通信部、8・・印刷データ、9・・更新クライアント
、10・・通信制御部、11・・印刷制御部、12・・ネットワーク用通信部(第1通信
部)、13・・第1中央制御部、14・・シリアル通信インターフェース、15・・不揮
発性RAM、16・・RAM、17・・印刷ポート開設部、18・・印刷データ送信部、
19・・受信制限部、20・・印刷依頼待ち受けポート、21・・印刷ポート、25・・
第2中央制御部(制御部)、26・・印刷機構部、27・・シリアル通信インターフェー
ス、28・・ROM、29・・RAM、30・・外部通信用インターフェース(第2通信
部)、31・・印刷部、32・・更新命令監視部、33・・更新実行部、34・・印刷停
止情報送信部、35・・USBケーブル、36・・ファームウエア、40・・更新用のフ
ァームウエア、41・・通信用インターフェース
1 .... POS system 2 .... Printer 3 .... Network 4 .... 5 6 .... Print client 7 .... Network communication unit 8 .... Print data 9 .... Update client 10 .... Communication Control unit 11... Print control unit 12... Network communication unit (first communication unit) 13.. First central control unit 14. Serial communication interface 15 Nonvolatile RAM 16 RAM, 17 .... print port opening part, 18 .... print data transmission part,
19..Reception restriction section, 20..Print request waiting port, 21..Print port, 25 ..
Second central control unit (control unit) 26 .. Printing mechanism unit 27 27 Serial communication interface 28 ROM ROM 29 RAM 30 external communication interface (second communication unit) 31 Print unit 32 Update command monitoring unit 33 Update execution unit 34 Print stop information transmission unit 35 USB cable 36 Firmware 40 Update firmware 41 ..Communication interface

Claims (6)

印刷データを通信制御部で受信し、
受信された前記印刷データを前記通信制御部から印刷制御部に送信し、
前記通信制御部が前記印刷データを前記印刷制御部に送信しているときに、前記通信制
御部を介することなく前記印刷制御部が前記印刷制御部のファームウエアの更新を指示す
る更新命令を受信した場合、前記通信制御部から前記印刷制御部への前記印刷データの送
信情況に拘わらず、前記更新命令に基づく前記印刷制御部のファームウエアの更新を実行
することを特徴とするプリンターのファームウエア更新方法。
Receive the print data at the communication control unit,
The received print data is transmitted from the communication control unit to the print control unit,
When the communication control unit is transmitting the print data to the print control unit, the print control unit receives an update instruction that instructs to update the firmware of the print control unit without going through the communication control unit In this case, the firmware of the print control unit is updated based on the update command regardless of the transmission status of the print data from the communication control unit to the print control unit. Update method.
前記印刷制御部が前記更新命令を受信したときに、前記印刷制御部で制御される印刷部
は、前記印刷データの印刷を中止する請求項1に記載のプリンターのファームウエア更新
方法。
The printer firmware update method according to claim 1, wherein when the print control unit receives the update command, the printing unit controlled by the print control unit stops printing the print data.
前記印刷部が前記印刷データの印刷を中止したときに、印刷の中止を前記印刷制御部は
前記通信制御部に送信し、
印刷の中止を送信された前記通信制御部は、印刷データの受信を停止する請求項2に記
載のプリンターのファームウエア更新方法。
When the printing unit cancels printing of the print data, the print control unit transmits a print cancellation to the communication control unit,
The printer firmware update method according to claim 2, wherein the communication control unit, which has received a print stop message, stops receiving print data.
印刷データを受信する第1通信部、及び前記第1通信部を介して受信した印刷データを
送信する印刷データ送信部を有する通信制御部と、
ファームウエアの更新命令を受信する第2通信部、及び前記ファームウエアを実行して
前記通信制御部の前記印刷データ送信部から送信された前記印刷データの印刷制御を行う
制御部を有する印刷制御部と、
前記印刷制御部の制御部の制御に基づいて印刷を行う印刷部と、を備え、
前記印刷制御部の制御部は、前記第2通信部が前記ファームウエアの更新命令を受信し
たときに前記印刷部の印刷を中止して前記ファームウエアを更新することを特徴とするプ
リンター。
A communication control unit having a first communication unit that receives print data, and a print data transmission unit that transmits print data received via the first communication unit;
A second control unit that receives a firmware update command, and a print control unit that executes the firmware and controls the print data transmitted from the print data transmission unit of the communication control unit When,
A printing unit that performs printing based on the control of the control unit of the print control unit,
The printer, wherein the control unit of the print control unit stops printing of the printing unit and updates the firmware when the second communication unit receives the firmware update command.
前記印刷制御部の制御部が前記印刷部の印刷を中止したときに、前記通信制御部に印刷
の中止の情報を送信し、
前記通信制御部は、前記印刷の中止の情報を受信すると、前記第1通信部での前記印刷
データの受信を停止する請求項4に記載のプリンター。
When the control unit of the printing control unit stops printing of the printing unit, the printing control unit transmits printing stop information to the communication control unit,
The printer according to claim 4, wherein the communication control unit stops receiving the print data in the first communication unit when receiving the print cancellation information.
前記第1通信部は、ネットワークを介して前記印刷データを受信し、
前記第2通信部は、更新するファームウエアを記憶する端末とローカルで接続されて前
記更新命令を受信する請求項4または5に記載のプリンター。
The first communication unit receives the print data via a network;
The printer according to claim 4, wherein the second communication unit is locally connected to a terminal that stores firmware to be updated and receives the update command.
JP2012143904A 2012-06-27 2012-06-27 Firmware updating method for printer and printer Pending JP2014004805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012143904A JP2014004805A (en) 2012-06-27 2012-06-27 Firmware updating method for printer and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012143904A JP2014004805A (en) 2012-06-27 2012-06-27 Firmware updating method for printer and printer

Publications (1)

Publication Number Publication Date
JP2014004805A true JP2014004805A (en) 2014-01-16

Family

ID=50102990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012143904A Pending JP2014004805A (en) 2012-06-27 2012-06-27 Firmware updating method for printer and printer

Country Status (1)

Country Link
JP (1) JP2014004805A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017013396A (en) * 2015-07-02 2017-01-19 セイコーエプソン株式会社 Printer and control method of the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017013396A (en) * 2015-07-02 2017-01-19 セイコーエプソン株式会社 Printer and control method of the same

Similar Documents

Publication Publication Date Title
US9811294B2 (en) Relay device, image forming apparatus, relay method, and non-transitory computer-readable recording medium encoded with relay program
JP5995525B2 (en) System, image forming apparatus, server, and control method thereof
EP2854022A1 (en) Image forming system and image forming apparatus
US9549096B2 (en) Image processing system, relay server, and program for relaying communications
JP2003029941A (en) Information processor, printer and its control method therefor
JP6140994B2 (en) Printing system, printing control apparatus, printing control apparatus control method, and program
EP3499359B1 (en) System, device, method and program
US10331403B2 (en) Audio input system, audio input apparatus, and recording medium therefor
JPH1153130A (en) Printing system, state monitoring method for printing system, and computer-readable storage medium storage with program
JP5926514B2 (en) Print control apparatus, print control method, and program
US11762604B2 (en) Application program
JP2009151447A (en) Printing system, printing apparatus and printing method
JP2014004805A (en) Firmware updating method for printer and printer
JP2020013195A (en) Print server, control method, and program thereof
JP6602053B2 (en) Information processing apparatus, control method, and program
JP2018124777A (en) Information processing device, control method and program
JP6769323B2 (en) Print system, image forming device, and control program for image forming device
JP2007272767A (en) Management controller and control program
JP2007074275A (en) Image processing apparatus, program for support system and recording medium recording the program
JP7284913B2 (en) Printer and data processing system
JP3966424B2 (en) Communication device
JP6608175B2 (en) Information processing apparatus, control method, and program
JP2023079313A (en) Image formation apparatus and control method of image formation apparatus
JP6421068B2 (en) Printer and printing system
JP2005316598A (en) Printing system and print job management method

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20150108