JP2014004805A - Firmware updating method for printer and printer - Google Patents
Firmware updating method for printer and printer Download PDFInfo
- 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
- 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
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
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にはプリントサーバーがプリンターの一部としてプリンタ
ー内に設けられる構成に関する記載がある。
このような業務用のシステムに用いられるプリンターのファームウエア更新方法は特許
文献2に記載されている。特許文献2では、プリンターは、印刷クライアントの一つであ
るサーバーからネットワークを介して更新用のファームウエアをダウンロードし、取得し
たファームウエアを用いて自己を更新している。ここで、プリンターは印刷動作中に自己
を更新することができないので、特許文献2では、ファームウエアをダウンロードしたと
きにプリンターで印刷データを印刷する印刷ジョブが行われている場合には、この印刷ジ
ョブが終了するまで、ファームウエアの更新開始を延期している。
A method for updating firmware of a printer used in such a business system is described in
ここで、プリンターがプリントサーバーを介さずに外部の機器との間で通信を行うこと
が可能な通信インターフェースを備えている場合には、通信インターフェースを介して接
続された外部の機器からファームウエアの更新を指示する更新命令と更新用のファームウ
エアがプリンターに直接入力されることがある。例えば、ネットワークに接続されている
特定のプリンターのファームウエアを早急に更新する必要がある場合などには、オペレー
ターが通信インターフェースを利用してプリンターとパーソナルコンピューターをネット
ワークを介さずにローカルで接続し、このパーソナルコンピューターから更新命令および
更新用のファームウエアをプリンターに入力して、ファームウエアを更新する。
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
本発明の課題は、かかる点に鑑みて、印刷ジョブの実行状態に拘わらず、印刷制御部に
入力される更新命令に基づいて当該印刷制御部のファームウエアの更新を速やかに開始す
ることができるプリンターのファームウエア更新方法、および当該ファームウエア更新方
法によりファームウエアを更新するプリンターを提供することにある。
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.
以下に、図面を参照して、本願発明を適用したプリンターの実施の形態を説明する。 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
1 to 3
プリンター2は、印刷クライアントとの間で通信を行う通信制御部10と、通信制御部
10と通信可能に接続されている印刷制御部11を備えている。通信制御部10はネット
ワーク3を介した通信を司る装置である。印刷制御部11は印刷を司る装置である。通信
制御部10と印刷制御部11は一つの筐体内に収納されており、全体でプリンター2を構
成している。
The
通信制御部10は、ネットワーク3を介して通信を行うネットワーク用通信部(第1通
信部)12を備えている。通信制御部10は、ネットワーク用通信部12を介して各印刷
クライアント4、5、6から受信した印刷データ8を印刷制御部11に送信する。印刷制
御部11は、通信制御部10から受信する印刷データ8を逐次に印刷して、クーポンを発
行する。
The
(通信制御部)
通信制御部10は第1中央制御部13を中心に構成されている。第1中央制御部13に
は、ネットワーク用通信部12、印刷制御部11との間で双方向シリアル通信を行うシリ
アル通信インターフェース14、不揮発性RAM15、および、RAM16が接続されて
いる。第1中央制御部13は、印刷ポート開設部17、印刷データ送信部18および、受
信制限部19を備えている。
(Communication control unit)
The
ネットワーク用通信部12はTCP/IPを利用して各印刷クライアント4、5、6と
の間で通信を行う。より詳細には、ネットワーク用通信部12は各印刷クライアント4、
5、6からの印刷依頼を受信するために開設された3つの印刷依頼待ち受けポート20を
備えている。また、ネットワーク用通信部12には、印刷依頼待ち受けポート20が受信
した印刷依頼に基づいて、印刷データ8を受信する印刷ポート21が開設される。
The
Three print
シリアル通信インターフェース14はUSBである。不揮発性RAM(NVRAM)1
5は通信制御部10の設定情報や第1中央制御部13に読み込まれるソフトウエアなどを
記憶保持している。RAM16はネットワーク用通信部12を介して受信した印刷データ
8を一時的に保持する。
The
5 stores and holds setting information of the
印刷ポート開設部17は、各印刷依頼待ち受けポート20が受信した印刷依頼に基づい
て、ネットワーク用通信部12に印刷データ8を受信する印刷ポート21を開設する。
The print
また、印刷ポート開設部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
When the
When the
印刷データ送信部18は、印刷ポート21を介して各印刷クライアント4、5、6から
印刷データ8を受信すると、この印刷データ8を、シリアル通信インターフェース14を
介して、印刷制御部11に送信する。ここで、印刷データ送信部18は、印刷制御部11
に対する印刷データ8の送信を開始すると、その印刷データ8の送信を中断することなく
、最後まで印刷制御部11に送信する。
When the print data transmission unit 18 receives the
When transmission of the
受信制限部19は、印刷制御部11から印刷データ8の印刷が停止されたことを示す印
刷停止情報を受信すると、ネットワーク用通信部12を介しての新たな印刷データ8の受
信を停止する。
When receiving the print stop information indicating that printing of the
図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
The number of
Thereby, reception of
(印刷制御部)
印刷制御部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
The second central control unit 25 includes a
印刷機構部26は、ロール紙から繰り出されるクーポン用紙に印刷を行う印刷ヘッド、
および、クーポン用紙を印刷ヘッドを経由する用紙搬送路に沿って搬送する紙送りモータ
ーなどを備えている。
The
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
ROM28は、印刷機構部26を駆動制御するファームウエア36を記憶保持している
。ファームウエア36の更新はROM28に記憶保持されているファームウエア36を更
新用のファームウエア40によって書き換えることにより行われる。
The
RAM29は印刷制御部11に供給される印刷データ8を一時的に保持する印刷バッフ
ァーである。RAM29では、通信制御部10から受信する印刷データ8のデータ部分が
逐次に保持されるとともに、印刷機構部26によって印刷が済んだ印刷データ8のデータ
部分が逐次に消去される。
The
外部通信用インターフェース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
1, the update client 9 is connected to the
In addition, an update command for instructing the update of the
印刷部31は、印刷機構部26を駆動制御して、シリアル通信インターフェース27を
介して通信制御部10から受信する印刷データ8を逐次に印刷する。更新命令監視部32
は外部通信用インターフェース30を介した更新命令の受信を監視する。更新実行部33
は更新命令に基づいて印刷制御部11の更新を行う。印刷停止情報送信部34は更新命令
監視部32によって更新命令の受信が検出されると、印刷停止情報を通信制御部10に送
信する。印刷停止情報は、印刷部31が印刷データ8の印刷を停止した印刷停止状態とな
ったことを示す情報であり、印刷制御部11が印刷データ8の印刷を行うことが可能な動
作状態から、ファームウエア36の更新を行う更新可能状態に遷移したことを示している
。印刷制御部11が更新可能状態となると、印刷部31による印刷データ8の印刷はでき
なくなる。
The
Monitors the reception of the update command via the
Updates the
ここで、印刷部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
No. 8, since the
また、更新実行部33は、更新命令監視部32によって更新命令の受信が検出されてい
るときに印刷部31が印刷停止状態となると、更新命令に基づくファームウエア36の更
新を開始する。より詳細には、更新実行部33は、印刷部31が受信中の印刷データ8の
印刷を中止して未印刷データ部分を読み捨てると、外部通信用インターフェース30を介
して接続されている更新クライアント9に更新用のファームウエア40の送信を依頼する
送信依頼を送信する。しかる後に、更新クライアント9から更新用のファームウエア40
を受信すると、この更新用のファームウエア40を用いてROM28上のファームウエア
36を書き換える。なお、更新実行部33は、外部通信用インターフェース30を介した
更新命令の受信が更新命令監視部32によって検出されたときに、印刷部31が印刷デー
タ8の印刷を行なっていない場合には、印刷部31が印刷停止状態となっているものとし
て、更新命令に基づくファームウエア36の更新を開始する。
The
Is received, the
(ファームウエアの更新動作)
図3はファームウエア36更新動作を示すタイムチャートである。図3に示すように、
通信制御部10のネットワーク用通信部12には、予め、各印刷クライアント4、5、6
からの印刷依頼を受信する印刷待ち受けポートが開設されている(ステップST11)。
また、印刷制御部11には、図1に示すように、外部通信用インターフェース30を介し
て更新クライアント9が接続されているものする。
(Firmware update operation)
FIG. 3 is a time chart showing the
The
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
通信制御部10が印刷待ち受けポートを介して第1印刷クライアント4からの印刷依頼
を受信すると(ステップST12)、印刷ポート開設部17は印刷依頼に基づいて第1印
刷クライアント4から印刷データ8を受信するための印刷ポート21を開設する。また、
印刷ポート開設部17は第1印刷クライアント4に印刷データ8の送信依頼を送信する(
ステップST13)。
When the
The print
Step ST13).
送信依頼を受信した第1印刷クライアント4から印刷データ8が送信されると(ステッ
プST14)、通信制御部10は印刷ポート21を介して印刷データ8を受信するととも
に、取得した印刷データ8の通信制御部10への送信を開始する(ステップST15)。
これにより、印刷制御部11は印刷データ8を逐次に印刷する(ステップST16)。
When the
Thereby, the
ここで、印刷制御部11が印刷データ8を受信している間に、印刷制御部11が更新ク
ライアント9からファームウエア36の更新命令を受信すると(ステップST17)、印
刷制御部11から通信制御部10に印刷停止情報が送信される(ステップST18)。
Here, when the
通信制御部10が印刷停止情報を受信すると、受信制限部19は第1通信部を介した新
たな印刷データ8の受信を停止する。すなわち、受信制限部19は、開設されている印刷
依頼待ち受けポート20を全て閉鎖して新たな印刷依頼の受信を停止する(ステップST
19)。また、受信制限部19は、通信制御部10からの印刷データ8の送信が完了した
後に、既に開設されている印刷ポート21を閉じる。
When the
19). Further, the
また、ステップST18において印刷制御部11から通信制御部10に印刷停止情報が
送信されると、ステップST19と並行して、印刷部31は通信制御部10からの印刷デ
ータ8の印刷を中止する。これにより印刷部31は印刷停止状態となり、印刷制御部11
はファームウエア36の更新が可能な更新可能状態となる。ここで、印刷部31が印刷デ
ータ8の印刷を中止すると、印刷データ8のうち、印刷部31が印刷を中止した時点で印
刷されていない未印刷データ部分は、読み捨てられる(ステップST20)。
When print stop information is transmitted from the
Becomes an updatable state in which the
印刷部31が印刷停止状態となり、通信制御部10から印刷制御部11への印刷データ
8に送信が終了すると(ステップST21)、印刷制御部11の更新実行部33は、更新
クライアント9に更新用のファームウエア40の送信依頼を送信して(ステップST22
)、更新クライアント9からの更新用のファームウエア40の送信を待つ。その後、更新
実行部33が更新用のファームウエア40を取得すると(ステップST23)、当該更新
用のファームウエア40によってROM28上のファームウエア36を書き換える。すな
わち、印刷制御部11においてファームウエア36の更新が実行される(ステップST2
4)。
When the
) Waits for transmission of the
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
以上より、プリンター2では、印刷部31が印刷停止状態となっているときに、第3印
刷クライアント6から印刷データ8を受信することを回避できる。また、第3印刷クライ
アント6は、ステップST32における印刷依頼の拒否により、プリンター2が印刷デー
タ8の印刷をすることができない状態となっていることを知得することができる。すなわ
ち、第3印刷クライアント6では、印刷データ8をプリンター2に送信する前に、プリン
ター2が印刷データ8の印刷をすることができない状態となっていることを、知得できる
。
As described above, the
また、図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
1 has been established. The print
ここで、図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
以上より、プリンター2では、印刷部31が印刷停止状態となっているときに、第2印
刷クライアント5から印刷データ8を受信することを回避できる。また、第2印刷クライ
アント5は、ステップST42の通知により、プリンター2が印刷データ8の印刷をする
ことができない状態となっていることを知得することができる。すなわち、第2印刷クラ
イアント5では、印刷データ8をプリンター2に送信する前に、プリンター2が印刷デー
タ8の印刷をすることができない状態となっていることを知得できる。
As described above, the
本例によれば、印刷制御部11に更新命令が直接入力された場合には、印刷データ8の
印刷よりもファームウエア36の更新が優先され、実行中の印刷ジョブの終了を待つこと
なく、印刷制御部11におけるファームウエア36の更新が開始される。従って、印刷制
御部11におけるファームウエア36の更新作業が滞ることがない。
According to this example, when the update command is directly input to the
また、本例では、印刷部31が印刷データ8の印刷を中止すると、印刷中止時点で印刷
されていない印刷データ8の未印刷データ部分は印刷されずに破棄される。この結果、未
印刷データ部分に対する処理が迅速に行われるので、ファームウエア36の更新の開始が
より速やかになる。
In this example, when the
ここで、ファームウエア36の更新が行われている間は、印刷制御部11において印刷
データ8を印刷することができなくなる。従って、ファームウエア36の更新が行われて
いる間に通信制御部10が新たな印刷データ8を受信すると、この印刷データ8が印刷さ
れずに喪失してしまう可能性がある。これに対して、本例では、印刷制御部11がファー
ムウエア36の更新命令を受信すると、印刷制御部11から通信制御部10に印刷停止情
報が送信され、印刷停止情報を受信した通信制御部10では、新たな印刷データ8の受信
を停止する。従って、ファームウエア36の更新が行われている間に、通信制御部10が
印刷データ8を受信することを防止或は抑制できる。
Here, while the
(その他の実施の形態)
上記の例では、印刷部31は印刷を停止すると印刷データ8の未印刷データ部分を読み
捨てるが、印刷中止時点でRAM29に保持されている印刷データ8の未印刷データ部分
、および、印刷中止時点以降に印刷制御部11が通信制御部10から受信する印刷データ
8の未印刷データ部分を、書換え可能な不揮発性メモリーなどに記憶保持し、印刷制御部
11におけるファームウエア36の更新が完了した後に記憶保持しておいた未印刷データ
部分を印刷してもよい。
(Other embodiments)
In the above example, when the
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 ....
19..Reception restriction section, 20..Print request waiting port, 21..Print port, 25 ..
Second central control unit (control unit) 26 ..
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.
送信する印刷データ送信部を有する通信制御部と、
ファームウエアの更新命令を受信する第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.
前記第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.
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017013396A (en) * | 2015-07-02 | 2017-01-19 | セイコーエプソン株式会社 | Printer and control method of the same |
-
2012
- 2012-06-27 JP JP2012143904A patent/JP2014004805A/en active Pending
Cited By (1)
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 |