JP2017016453A - Printer, program update system, and control method for printer - Google Patents

Printer, program update system, and control method for printer Download PDF

Info

Publication number
JP2017016453A
JP2017016453A JP2015133373A JP2015133373A JP2017016453A JP 2017016453 A JP2017016453 A JP 2017016453A JP 2015133373 A JP2015133373 A JP 2015133373A JP 2015133373 A JP2015133373 A JP 2015133373A JP 2017016453 A JP2017016453 A JP 2017016453A
Authority
JP
Japan
Prior art keywords
update
data
unit
printing apparatus
update data
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.)
Granted
Application number
JP2015133373A
Other languages
Japanese (ja)
Other versions
JP6554944B2 (en
JP2017016453A5 (en
Inventor
明男 高本
Akio Takamoto
明男 高本
野口 誠
Makoto Noguchi
誠 野口
小池 利明
Toshiaki Koike
利明 小池
誠 ▲吉▼木
誠 ▲吉▼木
Makoto Yoshiki
正洋 武居
Masahiro Takei
正洋 武居
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 JP2015133373A priority Critical patent/JP6554944B2/en
Publication of JP2017016453A publication Critical patent/JP2017016453A/en
Publication of JP2017016453A5 publication Critical patent/JP2017016453A5/ja
Application granted granted Critical
Publication of JP6554944B2 publication Critical patent/JP6554944B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reduce a data amount of data to be transmitted to a printer in update processing of the printer for which plural models with different modules exist.SOLUTION: When an information request requesting module configuration information is received from a host device, the module configuration information of a printer is transmitted to the host device, update data of one or more modules selected from the plural modules on the basis of the transmitted module configuration information is received from the host device, and update processing of the device control program is performed on the basis of the received update data.SELECTED DRAWING: Figure 6

Description

本発明は、印刷装置の制御方法、プログラム更新システムおよび印刷装置に関するものである。   The present invention relates to a printing apparatus control method, a program update system, and a printing apparatus.

従来、プログラム更新システム(プログラム管理システム)として、管理装置(プログラム管理装置)と、印刷装置(プリンター)と、を備えたものが知られている(特許文献1参照)。このプログラム更新システムでは、管理装置は、印刷装置に対し更新データ(更新用の制御プログラムデータ、更新用のファーム)を送信し、印刷装置は、当該更新データにより、装置制御プログラム(制御プログラム、ファーム)の更新処理を実行する。   2. Description of the Related Art Conventionally, a program update system (program management system) that includes a management device (program management device) and a printing device (printer) is known (see Patent Document 1). In this program update system, the management device transmits update data (update control program data, update firmware) to the printing device, and the printing device uses the update data to update the device control program (control program, firmware). ) Update process is executed.

特開2010−198630号公報JP 2010-198630 A

ところで、近年、印刷装置について、搭載する装置制御プログラムにおいてモジュールが異なる複数種のモデルが存在するケースが増えてきている。
これに対応すべく、メーカー側では、搭載可能な全てのモジュールに対する更新データを含んだ1種類のファイルを作成している。これに対し、上記従来のプログラム管理システムにおいて、管理装置が、この作成したファイルを取得して印刷装置に送信し、印刷装置が、当該ファイルにより更新処理を行うことが考えられる。
しかしながら、このような構成では、管理装置から印刷装置に送信するデータのデータ量が多くなってしまう。これによって、データ送信に時間がかかってしまうという問題や、データ送信が失敗するリスクが増大するという問題が生じた。
By the way, in recent years, there are increasing cases in which there are a plurality of types of models having different modules in an installed device control program.
In order to cope with this, the manufacturer has created one type of file containing update data for all modules that can be mounted. On the other hand, in the conventional program management system, it is conceivable that the management apparatus acquires the created file and transmits it to the printing apparatus, and the printing apparatus performs update processing using the file.
However, with such a configuration, the amount of data transmitted from the management apparatus to the printing apparatus increases. As a result, there are problems that it takes time to transmit data and that the risk that data transmission fails increases.

本発明は、搭載するモジュールが異なる複数のモデルが存在する印刷装置の更新処理に係り、印刷装置に送信するデータのデータ量を少なくすることができる印刷装置の制御方法、プログラム更新システムおよび印刷装置を提供することを目的としている。   The present invention relates to update processing of a printing apparatus in which a plurality of models with different modules are installed, and a printing apparatus control method, program update system, and printing apparatus capable of reducing the amount of data transmitted to the printing apparatus The purpose is to provide.

本発明の印刷装置の制御方法は、装置制御プログラムを搭載した印刷装置の制御方法であって、管理装置から、モジュール構成情報を要求する情報要求を受信すると、印刷装置のモジュール構成情報を管理装置に送信するモジュール構成送信ステップと、管理装置から、送信したモジュール構成情報に基づき複数のモジュールから選別された1以上のモジュールの更新データを受信する更新データ受信ステップと、受信した更新データに基づいて、装置制御プログラムの更新処理を行うプログラム更新ステップと、を実行することを特徴とする。   A method for controlling a printing apparatus according to the present invention is a method for controlling a printing apparatus equipped with an apparatus control program. When an information request for requesting module configuration information is received from a management apparatus, the module configuration information of the printing apparatus is managed by the management apparatus. A module configuration transmitting step for transmitting to the control unit, an update data receiving step for receiving update data of one or more modules selected from a plurality of modules based on the transmitted module configuration information from the management device, and a basis for the received update data And a program update step for performing an update process of the device control program.

本発明のプログラム更新システムは、装置制御プログラムを搭載した印刷装置と、管理装置と、が接続されたプログラム更新システムであって、管理装置は、印刷装置から、当該印刷装置のモジュール構成情報を取得するモジュール構成取得部と、取得したモジュール構成情報に基づいて、各モジュールの更新データから、1以上のモジュールの更新データを選別するデータ選別部と、選別した更新データを含む送信用データを生成する送信用データ生成部と、生成した送信用データを、印刷装置に送信するデータ送信部と、を備え、印刷装置は、管理装置から受信した送信用データに含まれる更新データに基づいて、装置制御プログラムの更新処理を行うプログラム更新部を、備えたことを特徴とする。   The program update system according to the present invention is a program update system in which a printing apparatus loaded with a device control program and a management apparatus are connected. The management apparatus acquires module configuration information of the printing apparatus from the printing apparatus. Based on the acquired module configuration information, a data selection unit for selecting update data of one or more modules from the update data of each module, and transmission data including the selected update data are generated based on the acquired module configuration information A transmission data generation unit; and a data transmission unit that transmits the generated transmission data to the printing apparatus. The printing apparatus controls the apparatus based on update data included in the transmission data received from the management apparatus. A program update unit for performing a program update process is provided.

本発明の印刷装置は、装置制御プログラムを記憶した記憶部と、管理装置から、モジュール構成情報を要求する情報要求を受信し、印刷装置のモジュール構成情報を送信し、管理装置から、送信したモジュール構成情報に基づき複数のモジュールから選別された1以上のモジュールの更新データを受信する通信部と、受信した更新データに基づいて、装置制御プログラムの更新処理を行う制御部と、を備えることを特徴とする。   The printing apparatus of the present invention receives a request for module configuration information from the storage unit storing the apparatus control program and the management apparatus, transmits the module configuration information of the printing apparatus, and the module transmitted from the management apparatus A communication unit that receives update data of one or more modules selected from a plurality of modules based on the configuration information, and a control unit that performs update processing of the device control program based on the received update data. And

これらの構成によれば、印刷装置は装置制御プログラムを構成するモジュールの構成情報を管理装置へ送信し、管理装置において、取得したモジュール構成に基づき、印刷装置が搭載したモジュール構成に合わせて更新データを選別して印刷装置に送信し、印刷装置は更新データにより装置制御プログラムの更新処理を行う。このように、印刷装置のモジュール構成に合わせて、必要な更新データを受信して更新処理する構成であるため、搭載するモジュールが異なる複数のモデルが存在する印刷装置の更新処理に係り、管理装置から印刷装置が受信する更新データのデータ量を極力少なくすることができる。これによって、データ受信にかかる時間を低減させることができる。また、受信途中で、ノイズの影響やユーザーによる印刷装置の電源をオフするなど誤った操作によりデータ受信が失敗するリスクを低減させることができる。   According to these configurations, the printing apparatus transmits the configuration information of the modules constituting the apparatus control program to the management apparatus, and the management apparatus updates the data according to the module configuration installed in the printing apparatus based on the acquired module configuration. Are selected and transmitted to the printing apparatus, and the printing apparatus updates the apparatus control program based on the update data. As described above, since the configuration is such that necessary update data is received and updated in accordance with the module configuration of the printing apparatus, the management apparatus relates to the updating process of the printing apparatus in which a plurality of models with different installed modules exist. The amount of update data received by the printing apparatus can be reduced as much as possible. As a result, the time required for data reception can be reduced. In addition, it is possible to reduce the risk of data reception failing due to an erroneous operation such as the influence of noise or turning off the printing apparatus by the user during reception.

上記の印刷装置の制御方法において、更新データ受信ステップでは、管理装置との通信の種類に応じた所定のデータ量内に分割して送信された更新データを受信することが好ましい。   In the above-described printing apparatus control method, in the update data receiving step, it is preferable to receive the update data divided and transmitted within a predetermined data amount corresponding to the type of communication with the management apparatus.

この場合、更新データ受信ステップでは、管理装置との通信の種類に応じた所定のデータ量内となるように、モジュール単位で統合または分割して送信された更新データを受信することが好ましい。   In this case, in the update data receiving step, it is preferable to receive the update data transmitted by being integrated or divided in units of modules so as to be within a predetermined amount of data according to the type of communication with the management apparatus.

これらの構成によれば、更新データを分割して受信すると共に、1回当たりの受信データ量が、通信の種類に応じて決定される。そのため、例えば、通信の種類が、通信速度の遅いものの場合に、受信データ量を少なくすることで、1回当たりの通信時間を一定または一定以下にすることができる。すなわち、通信の種類が、通信速度の遅いものであった場合にも、1回の通信時間を、データ受信が失敗するリスクが少ない所定の通信時間まで短くすることができる。そのため、データ受信が失敗するリスクをより低減させることができる。   According to these configurations, the update data is divided and received, and the amount of received data per time is determined according to the type of communication. Therefore, for example, when the type of communication is slow, the communication time per time can be made constant or below a certain value by reducing the amount of received data. That is, even when the type of communication is a communication with a low communication speed, it is possible to shorten the one communication time to a predetermined communication time with a low risk of data reception failure. Therefore, the risk of data reception failure can be further reduced.

また、更新データ受信ステップでは、1分割単位の受信の都度、受信の確認情報を送信することを行うが好ましい。   In addition, in the update data receiving step, it is preferable to transmit reception confirmation information every time one division unit is received.

この構成によれば、1回当たりの受信データ量が、通信の種類に応じた所定のデータ量内となるように、更新データをモジュール単位で統合または分割して受信すると共に、1分割単位の受信の都度、受信の成否確認を行う。このように、通信の種類に応じた所定のデータ量送る都度、受信の成否確認を行う構成であるため、例えば、一定または一定以下の通信時間のデータ受信の都度、受信の成否確認を行うことができる。これによって、データ受信が失敗したときに管理装置が再送信を行うことができ、さらに再送信の通信時間を少なくすることができ、再送信にかかる時間を最小限に抑えることができる。   According to this configuration, the update data is received by being integrated or divided in units of modules so that the amount of received data per time is within a predetermined amount of data according to the type of communication, and in units of one division. Each time it is received, the success or failure of the reception is confirmed. In this way, since it is configured to confirm the success or failure of reception every time a predetermined amount of data according to the type of communication is sent, for example, confirmation of the success or failure of reception is performed every time data is received for a certain or less than a certain communication time. Can do. As a result, when the data reception fails, the management apparatus can perform retransmission, further reduce the communication time for retransmission, and minimize the time required for retransmission.

一方、受信した更新データにおける更新時間を算出する更新時間算出ステップと、更新データ受信ステップにより更新データを受信してから、算出した更新時間に達するまで、管理装置との接続確認をポーリングする接続確認ステップと、を更に実行することが好ましい。   On the other hand, an update time calculation step for calculating an update time in the received update data, and a connection check for polling for a connection check with the management apparatus until the calculated update time is reached after the update data is received by the update data reception step. Preferably, the steps are further performed.

この構成によれば、ポーリングのタイムアウト時間を、選別した更新データにおける更新時間(合計更新時間)とすることで、接続確認のポーリングによる更新終了の成否判定を適切に行うことができる。   According to this configuration, by setting the polling timeout time to the update time (total update time) in the selected update data, it is possible to appropriately determine whether or not the update has been completed by connection confirmation polling.

また、更新データ受信ステップでは、更新データに付加された更新時刻を受信し、プログラム更新ステップでは、更新データに付加された更新時刻に、更新データに基づく更新処理を行うことが好ましい。   In the update data receiving step, it is preferable that the update time added to the update data is received, and in the program update step, an update process based on the update data is performed at the update time added to the update data.

この構成によれば、所望の時刻(例えば、業務終了時等)に、印刷装置に更新処理を行わせることができる。ひいては、更新データのデータ送信と、更新データに基づく更新処理とを別々の時刻に行うことができるため、更新データのデータ送信が終わった時点で、一度、印刷装置を印刷可能な状態に戻すことができる。よって、ユーザーが更新データのデータ送信を指示してから、印刷装置が印刷可能な状態になるまでの時間を短くすることができ、ユーザーの待ち時間を少なくすることができる。   According to this configuration, it is possible to cause the printing apparatus to perform the update process at a desired time (for example, at the end of a job). As a result, the data transmission of the update data and the update process based on the update data can be performed at different times. Therefore, when the data transmission of the update data is completed, the printing apparatus is once returned to a printable state. Can do. Therefore, it is possible to shorten the time from when the user gives an instruction to transmit the update data until the printing apparatus is ready to print, and the waiting time of the user can be reduced.

さらに、管理装置から、印刷装置の仕向けを示す仕向け情報を要求する仕向け情報要求を受信すると、仕向け情報を管理装置に送信する仕向け情報送信ステップを、更に実行し、更新データ受信ステップでは、管理装置から、送信した仕向け情報に基づき選別された1以上のモジュールの更新データを受信することを特徴とする請求項1ないし6のいずれか一項に記載の印刷装置の制御方法。   Further, when a destination information request for requesting destination information indicating the destination of the printing apparatus is received from the management apparatus, a destination information transmission step for transmitting the destination information to the management apparatus is further executed. In the update data reception step, the management apparatus The control method for a printing apparatus according to claim 1, further comprising: receiving update data of one or more modules selected based on the transmitted destination information.

この構成によれば、仕向け毎のモデルが存在する印刷装置についても、更新処理に係る印刷装置が受信するデータのデータ量を極力少なくすることができる。   According to this configuration, even for a printing apparatus in which a model for each destination exists, the amount of data received by the printing apparatus related to the update process can be reduced as much as possible.

本発明の一実施形態に係る印刷システムのシステム構成図である。1 is a system configuration diagram of a printing system according to an embodiment of the present invention. ホスト装置および印刷装置の機能構成を示した機能ブロック図である。It is a functional block diagram showing functional configurations of a host device and a printing device. 更新データファイルにおけるユニット構成を示した図である。It is the figure which showed the unit structure in the update data file. 更新データの選別処理を説明するための図である。It is a figure for demonstrating the selection process of update data. 印刷システムによる装置制御プログラムの更新動作における前半部を示したフローチャートである。7 is a flowchart illustrating a first half of an update operation of the apparatus control program by the printing system. 印刷システムによる装置制御プログラムの更新動作における後半部を示したフローチャートである。6 is a flowchart illustrating a second half of the update operation of the apparatus control program by the printing system.

以下、添付の図面を参照して、本発明の一実施形態に係る印刷装置の制御方法、プログラム更新システムおよび印刷装置について説明する。実施形態では、本発明を適用した印刷システムを例示する。この印刷システムは、印刷媒体に対し印刷処理を行って、印刷物を作成するものである。また、本印刷システムは、装置制御プログラムを搭載した印刷装置であり、且つ搭載するモジュールが異なる複数のモデルが存在する印刷装置に対し、装置制御プログラムの更新処理を行うプログラム更新システムとしても機能する。   Hereinafter, a printing apparatus control method, a program update system, and a printing apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings. In the embodiment, a printing system to which the present invention is applied is exemplified. This printing system performs a printing process on a print medium to create a printed matter. The printing system also functions as a program update system that performs a process for updating a device control program for a printing device that is equipped with a device control program and includes a plurality of models with different modules to be mounted. .

図1に示すように、印刷システムSYは、ホスト装置1(管理装置)と、ホスト装置1に接続された印刷装置2と、を有する。ホスト装置1と印刷装置2とは、有線通信によって接続される構成でも良いし、無線通信によって接続される構成でも良い。また、ホスト装置1と印刷装置2とは、直接接続される構成でも良いし、ネットワーク(インターネットやローカルエリアネットワーク)を介して接続される構成でも良い。   As illustrated in FIG. 1, the printing system SY includes a host device 1 (management device) and a printing device 2 connected to the host device 1. The host device 1 and the printing device 2 may be connected by wired communication or may be connected by wireless communication. Further, the host device 1 and the printing device 2 may be directly connected or may be connected via a network (Internet or local area network).

ホスト装置1は、各種コマンドを生成し、生成した各種コマンドを印刷装置2に送信するものであり、印刷装置2とのデータ通信を行う通信インターフェース6と、通信インターフェース6を制御する制御部7と、を備える。また、ホスト装置1は、各種情報を表示するディスプレイ8を備える。   The host device 1 generates various commands and transmits the generated various commands to the printing device 2, a communication interface 6 that performs data communication with the printing device 2, and a control unit 7 that controls the communication interface 6. . In addition, the host device 1 includes a display 8 that displays various types of information.

通信インターフェース6は、印刷装置2とのデータ通信を行うものである。すなわち、通信インターフェース6は、上記した各種コマンドを含む各種データを印刷装置2に送信すると共に、印刷装置2から各種データを受信する。   The communication interface 6 performs data communication with the printing apparatus 2. That is, the communication interface 6 transmits various data including the various commands described above to the printing apparatus 2 and receives various data from the printing apparatus 2.

制御部7は、CPU(Central Processing Unit)11、RAM(Random Access Memory)12、ROM(Read Only Memory)13およびハードディスクドライブ14等を有し、ホスト装置1を統括制御する。ハードディスクドライブ14は、プリンタードライバー16と、更新管理ツール17と、を記憶する。ホスト装置1は、制御部7により、更新管理ツール17を実行することで、印刷装置2による上記更新処理を管理する「管理装置」として機能する。   The control unit 7 includes a central processing unit (CPU) 11, a random access memory (RAM) 12, a read only memory (ROM) 13, a hard disk drive 14, and the like, and performs overall control of the host device 1. The hard disk drive 14 stores a printer driver 16 and an update management tool 17. The host device 1 functions as a “management device” that manages the update processing by the printing device 2 by executing the update management tool 17 by the control unit 7.

一方、印刷装置2は、ホスト装置1からの各種コマンドを受信し、当該各種コマンドに基づいて、各種処理を行う。例えば、印刷コマンドに基づいて、印刷媒体に対し印刷処理を行う。この印刷装置2は、Bluetooth(登録商標)モジュール搭載モデルや、ネットワークモジュール搭載モデル等、搭載するモジュールが異なる複数のモデルが存在する。すなわち、本印刷装置2は、複数のモジュールの中から1以上のモジュールを選択的に搭載したものである。   On the other hand, the printing apparatus 2 receives various commands from the host apparatus 1 and performs various processes based on the various commands. For example, print processing is performed on a print medium based on a print command. The printing apparatus 2 includes a plurality of models having different modules to be mounted, such as a Bluetooth (registered trademark) module mounting model and a network module mounting model. That is, the printing apparatus 2 is one in which one or more modules are selectively mounted from among a plurality of modules.

印刷装置2は、ホスト装置1とのデータ通信を行う通信インターフェース21(通信部)と、印刷媒体に対し印刷処理を行うプリンターエンジン22と、通信インターフェース21およびプリンターエンジン22を制御するプリンターコントローラー23と、を備える。印刷装置2は、プリンターコントローラー23の制御の下、通信インターフェース21により、各種コマンドを受信する。そして、受信したコマンドが印刷コマンドである場合には、プリンターエンジン22により、当該印刷コマンドに基づいて印刷媒体に対し印刷処理を行う。これによって、印刷物を作成する。   The printing apparatus 2 includes a communication interface 21 (communication unit) that performs data communication with the host apparatus 1, a printer engine 22 that performs print processing on a print medium, and a printer controller 23 that controls the communication interface 21 and the printer engine 22. . The printing apparatus 2 receives various commands through the communication interface 21 under the control of the printer controller 23. If the received command is a print command, the printer engine 22 performs print processing on the print medium based on the print command. In this way, a printed material is created.

通信インターフェース21は、ホスト装置1との通信を行うものである。すなわち、通信インターフェース21は、ホスト装置1から、上記各種コマンドを含む各種データを受信すると共に、ホスト装置1に各種データを送信する。   The communication interface 21 communicates with the host device 1. That is, the communication interface 21 receives various data including the various commands from the host device 1 and transmits various data to the host device 1.

プリンターコントローラー23は、印刷装置2を統括制御する制御部31と、各種データを記憶する記憶部32と、を備える。記憶部32は、フラッシュROMで構成されており、印刷装置2を制御するための装置制御プログラム36と、装置制御プログラム36を更新するためのブートプログラム37と、を記憶する。装置制御プログラム36には、印刷装置2に搭載した各モジュールのファームウェアおよび設定情報が含まれる。   The printer controller 23 includes a control unit 31 that performs overall control of the printing apparatus 2 and a storage unit 32 that stores various data. The storage unit 32 includes a flash ROM, and stores a device control program 36 for controlling the printing apparatus 2 and a boot program 37 for updating the device control program 36. The apparatus control program 36 includes firmware and setting information for each module installed in the printing apparatus 2.

制御部31は、CPU41、RAM42、ROM43等を有し、印刷装置2を統括制御する。RAM42は、送受信バッファ46を有する。送受信バッファ46は、通信インターフェース21によってホスト装置1から受信したデータと、通信インターフェース21によってホスト装置1に送信するデータと、を一時記憶するものである。なお、送受信バッファ46は、FIFO(First In First Out)バッファである。   The control unit 31 includes a CPU 41, a RAM 42, a ROM 43, and the like, and performs overall control of the printing apparatus 2. The RAM 42 has a transmission / reception buffer 46. The transmission / reception buffer 46 temporarily stores data received from the host device 1 by the communication interface 21 and data transmitted to the host device 1 by the communication interface 21. The transmission / reception buffer 46 is a FIFO (First In First Out) buffer.

本実施形態では、印刷装置2は、制御部31により装置制御プログラム36を実行することで、印刷処理を含む通常の処理を行い、制御部31によりブートプログラム37を実行することで、装置制御プログラム36の更新処理を行う。すなわち、印刷装置2は、制御部31により装置制御プログラム36を実行する通常制御モードと、制御部31によりブートプログラム37を実行するブート制御モードと、を有し、装置制御プログラム36の更新処理を行う場合には、通常制御モードからブート制御モードに切り替えて、当該更新処理を行う構成である。なお、通常制御モードでは、通常コマンドとリアルタイムコマンドとを実行可能であり、ブート制御モードでは、リアルタイムコマンドのみを実行可能である。通常コマンドは、印刷装置2が送受信バッファ46に記憶した順に処理するコマンドであり、リアルタイムコマンドは、印刷装置2が通常コマンドに対し優先して処理するコマンドであり、印刷装置2が他の処理に対し優先して実行するコマンドである。   In the present embodiment, the printing apparatus 2 performs a normal process including a printing process by executing the apparatus control program 36 by the control unit 31, and executes a boot program 37 by the control unit 31. 36 update processing is performed. That is, the printing apparatus 2 has a normal control mode in which the control unit 31 executes the apparatus control program 36 and a boot control mode in which the control unit 31 executes the boot program 37, and updates the apparatus control program 36. When performing, it is the structure which switches from normal control mode to boot control mode, and performs the said update process. In the normal control mode, normal commands and real-time commands can be executed. In the boot control mode, only real-time commands can be executed. The normal command is a command that is processed in the order in which the printing apparatus 2 stores it in the transmission / reception buffer 46, and the real-time command is a command that the printing apparatus 2 processes in preference to the normal command, and the printing apparatus 2 performs other processing. This command is executed with priority.

ここで図2を参照して、ホスト装置1および印刷装置2の機能構成について説明する。まず、印刷装置2の機能構成について説明する。図2に示すように、印刷装置2は、第1データ受信部50と、第1コマンド解析部51と、印刷制御部52と、第1モード切替部53と、バッファ消去部54と、第2データ受信部60と、第2コマンド解析部55と、応答送信部56と、装置情報送信部57と、第2モード切替部58と、プログラム更新部59と、を備える。第1データ受信部50、第1コマンド解析部51、印刷制御部52および第1モード切替部53は、装置制御プログラム36を実行する制御部31により構成される。一方、バッファ消去部54、第2データ受信部60、第2コマンド解析部55、応答送信部56、装置情報送信部57、第2モード切替部58およびプログラム更新部59は、ブートプログラム37を実行する制御部31により構成される。   Here, with reference to FIG. 2, functional configurations of the host device 1 and the printing device 2 will be described. First, the functional configuration of the printing apparatus 2 will be described. As illustrated in FIG. 2, the printing apparatus 2 includes a first data receiving unit 50, a first command analyzing unit 51, a print control unit 52, a first mode switching unit 53, a buffer erasing unit 54, The data receiving part 60, the 2nd command analysis part 55, the response transmission part 56, the apparatus information transmission part 57, the 2nd mode switching part 58, and the program update part 59 are provided. The first data receiving unit 50, the first command analyzing unit 51, the print control unit 52, and the first mode switching unit 53 are configured by the control unit 31 that executes the device control program 36. On the other hand, the buffer erasure unit 54, the second data reception unit 60, the second command analysis unit 55, the response transmission unit 56, the device information transmission unit 57, the second mode switching unit 58, and the program update unit 59 execute the boot program 37. It is comprised by the control part 31 which performs.

第1データ受信部50は、通常制御モードにおいて、ホスト装置1からの各種データを、通信インターフェース21で受信する。具体的には、第1データ受信部50は、印刷コマンドやモード切替コマンド(後述する)を、通信インターフェース21で受信する。   The first data receiving unit 50 receives various data from the host device 1 by the communication interface 21 in the normal control mode. Specifically, the first data receiving unit 50 receives a print command and a mode switching command (described later) through the communication interface 21.

第1コマンド解析部51は、通常制御モードにおいて、受信したデータに対し、コマンド解析を行う。具体的には、第1コマンド解析部51は、受信したデータが、どのコマンドであるかを判定する。また、第1コマンド解析部51は、受信したデータが、通常コマンドであるか、リアルタイムコマンドであるか否かを判定する。   The first command analysis unit 51 performs command analysis on the received data in the normal control mode. Specifically, the first command analysis unit 51 determines which command is the received data. The first command analysis unit 51 determines whether the received data is a normal command or a real-time command.

印刷制御部52は、第1コマンド解析部51によるコマンド解析の結果、受信したデータが、印刷コマンドであると判定された場合、印刷コマンドに基づく印刷処理を行う。すなわち、印刷制御部52は、プリンターエンジン22を制御し、印刷コマンドに基づいて、印刷媒体に対し印刷処理を行う。   If the received data is determined to be a print command as a result of command analysis by the first command analysis unit 51, the print control unit 52 performs print processing based on the print command. That is, the print control unit 52 controls the printer engine 22 and performs print processing on the print medium based on the print command.

第1モード切替部53は、通常制御モードにおいて、ホスト装置1からのモード切替要求に基づき、印刷装置2のモードを、通常制御モードからブート制御モードに切り替える。厳密には、第1モード切替部53は、ホスト装置1から送信されたモード切替コマンドを受けて、印刷装置2のモードを、ブート制御モードに切り替える。また、ブート制御モードには、ホスト装置1からの要求を受けて各種情報を応答する情報応答モードと、ホスト装置1からのデータにより上記更新処理(書き換え処理)を行う強制書き換えモードと、が有り、第1モード切替部53は、ホスト装置1からのモード切替コマンドに従って、情報応答モードおよび強制書き換えモードのいずれか一方のモードに切り替える。なお、本実施形態においては、ホスト装置1は、情報応答モードに切り替える旨のモード切替コマンドを送信する構成であるため、第1モード切替部53は、当該モード切替コマンドに従って、印刷装置2のモードを、通常制御モードから情報応答モードに切り替える。   The first mode switching unit 53 switches the mode of the printing apparatus 2 from the normal control mode to the boot control mode based on a mode switching request from the host device 1 in the normal control mode. Strictly speaking, the first mode switching unit 53 receives the mode switching command transmitted from the host apparatus 1 and switches the mode of the printing apparatus 2 to the boot control mode. In addition, the boot control mode includes an information response mode in which various information is responded in response to a request from the host device 1 and a forced rewrite mode in which the update processing (rewrite processing) is performed using data from the host device 1. The first mode switching unit 53 switches to one of the information response mode and the forced rewriting mode in accordance with the mode switching command from the host device 1. In the present embodiment, since the host device 1 is configured to transmit a mode switching command for switching to the information response mode, the first mode switching unit 53 performs the mode of the printing device 2 according to the mode switching command. Is switched from the normal control mode to the information response mode.

バッファ消去部54は、ホスト装置1から、情報応答モードに切り替える旨のモード切替コマンド(モード切替要求)を受信したとき、送受信バッファ46内のデータを消去する。すなわち、本実施形態では、印刷装置2のモードを情報応答モードに切り替えた後、バッファ消去部54により、送受信バッファ46内のデータを消去する構成となる。   When receiving a mode switching command (mode switching request) for switching to the information response mode from the host device 1, the buffer erasing unit 54 erases the data in the transmission / reception buffer 46. That is, in the present embodiment, after the mode of the printing apparatus 2 is switched to the information response mode, the data in the transmission / reception buffer 46 is erased by the buffer erasure unit 54.

第2データ受信部60は、ブート制御モードにおいて、ホスト装置1からの各種データを、通信インターフェース21で受信する。具体的には、第2データ受信部60は、応答要求コマンド、情報要求コマンド、モード切替コマンドや送信用データ(いずれも後述する)を通信インターフェース21で受信する。なお、詳細は後述するが、第2データ受信部60は、ホスト装置1から、モジュール構成情報に基づき複数のモジュールから選別された1以上のモジュールの更新データを通信インターフェース21で受信する。   The second data receiving unit 60 receives various data from the host device 1 by the communication interface 21 in the boot control mode. Specifically, the second data receiving unit 60 receives a response request command, an information request command, a mode switching command, and transmission data (all of which will be described later) by the communication interface 21. Although the details will be described later, the second data receiving unit 60 receives update data of one or more modules selected from a plurality of modules based on the module configuration information from the host device 1 by the communication interface 21.

第2コマンド解析部55は、情報応答モードにおいて、受信したデータに対しコマンド解析を行い、受信したデータが、どのリアルタイムコマンドであるかを判定する。すなわち、本実施形態では、ホスト装置1は、印刷装置2がブート制御モードとなった状態において、印刷装置2へのコマンド送信をリアルタイムコマンドで行う構成であるため、受信したデータが、どのリアルタイムコマンドであるかを判定することで、受信したデータに対するコマンド解析を行うことができる。   The second command analysis unit 55 performs command analysis on the received data in the information response mode, and determines which real-time command is the received data. In other words, in the present embodiment, the host device 1 is configured to transmit a command to the printing device 2 with a real-time command in a state in which the printing device 2 is in the boot control mode. The command analysis for the received data can be performed.

応答送信部56は、情報応答モードにおいて、ホスト装置1からの応答要求コマンドを受けて、ホスト装置1に対し、応答を通信インターフェース21で送信する。   In response to the response request command from the host device 1, the response transmission unit 56 transmits a response to the host device 1 through the communication interface 21 in the information response mode.

装置情報送信部57は、情報応答モードにおいて、ホスト装置1から、装置情報を要求する情報要求コマンド(情報要求)を受信したとき、ホスト装置1に対し、印刷装置2の装置情報を通信インターフェース21で送信する。すなわち、装置情報送信部57は、ホスト装置1から、情報要求コマンドを受信すると、装置情報をホスト装置1に送信する。装置情報送信部57は、装置情報として、印刷装置2のプリンターIDと、印刷装置2のモジュール構成情報(印刷装置2のモジュール構成を示す情報)と、搭載した各モジュールにおける各ファームウェアのバージョン情報と、をホスト装置1に送信する。   When receiving an information request command (information request) for requesting device information from the host device 1 in the information response mode, the device information transmission unit 57 sends the device information of the printing device 2 to the host device 1 via the communication interface 21. Send with. In other words, when receiving an information request command from the host device 1, the device information transmission unit 57 transmits device information to the host device 1. The device information transmission unit 57 includes, as device information, the printer ID of the printing device 2, the module configuration information of the printing device 2 (information indicating the module configuration of the printing device 2), the version information of each firmware in each installed module, and the like. Are transmitted to the host device 1.

第2モード切替部58は、ブート制御モードにおいて、ホスト装置1からのモード切替要求に基づき、印刷装置2のモードを、情報応答モードと強制書き換えモードとの間で切り替える。厳密には、第2モード切替部58は、ホスト装置1から送信されたモード切替コマンドを受けて、印刷装置2のモードを切り替える。すなわち、第2モード切替部58は、情報応答モードにおいて、強制書き換えモードに切り替える旨のモード切替コマンドを受け、印刷装置2のモードを、情報応答モードから強制書き換えモードに切り替える。また、第2モード切替部58は、強制書き換えモードにおいて、情報応答モードに切り替える旨のモード切替コマンドを受け、印刷装置2のモードを、強制書き換えモードから情報応答モードに切り替える。   In the boot control mode, the second mode switching unit 58 switches the mode of the printing device 2 between the information response mode and the forced rewriting mode based on the mode switching request from the host device 1. Strictly speaking, the second mode switching unit 58 switches the mode of the printing apparatus 2 in response to the mode switching command transmitted from the host apparatus 1. That is, the second mode switching unit 58 receives a mode switching command for switching to the forced rewriting mode in the information response mode, and switches the mode of the printing apparatus 2 from the information response mode to the forced rewriting mode. Further, the second mode switching unit 58 receives a mode switching command for switching to the information response mode in the forced rewriting mode, and switches the mode of the printing apparatus 2 from the forced rewriting mode to the information response mode.

プログラム更新部59は、強制書き換えモードにおいて、ホスト装置1からの送信用データ(後述する)に含まれる更新データに基づいて、装置制御プログラム36の更新処理を行う。具体的には、記憶部32に記憶した装置制御プログラム36における各モジュールのファームウェアおよび設定情報を、送信用データに含まれたものに書き換える。これによって、装置制御プログラム36を更新する。   The program update unit 59 performs update processing of the device control program 36 based on update data included in transmission data (described later) from the host device 1 in the forced rewrite mode. Specifically, the firmware and setting information of each module in the device control program 36 stored in the storage unit 32 are rewritten to those included in the transmission data. Thereby, the apparatus control program 36 is updated.

次に、ホスト装置1の機能構成について説明する。ホスト装置1は、ファイル取得部61と、ファイル解析部62と、モード切替要求部63と、応答確認部64と、装置情報取得部65(モジュール構成取得部)と、ID確認部66と、データ選別部67と、送信用データ生成部68と、更新時間算出部69と、通信種類取得部70と、データ送信部71と、接続確認部72と、更新成否判定部73と、リカバリー手順表示部74と、を備える。これら各部は、更新管理ツール17を実行する制御部7により構成される。   Next, the functional configuration of the host device 1 will be described. The host device 1 includes a file acquisition unit 61, a file analysis unit 62, a mode switching request unit 63, a response confirmation unit 64, a device information acquisition unit 65 (module configuration acquisition unit), an ID confirmation unit 66, data Selection unit 67, transmission data generation unit 68, update time calculation unit 69, communication type acquisition unit 70, data transmission unit 71, connection confirmation unit 72, update success / failure determination unit 73, and recovery procedure display unit 74. Each of these units includes a control unit 7 that executes the update management tool 17.

ファイル取得部61は、印刷装置2の上記更新処理を行うための更新データファイルを取得する。更新データファイルは、メーカーによって、印刷装置2の機種毎に1種類用意されるものであり、1機種における各モデルを包括する内容である。ファイル取得部61は、インターネット等のネットワークを介して、メーカーが用意したサーバーからダウンロードし、または、当該更新データファイルを記憶した記憶媒体から読み出すことで、当該更新データファイルを取得する。   The file acquisition unit 61 acquires an update data file for performing the update process of the printing apparatus 2. One type of update data file is prepared for each model of the printing apparatus 2 by the manufacturer, and the update data file includes all models in one model. The file acquisition unit 61 acquires the update data file by downloading from a server prepared by the manufacturer via a network such as the Internet or by reading from the storage medium storing the update data file.

更新データファイルには、上記機種を示すプリンターID(プロテクトID)と、当該機種に搭載可能な各モジュールの更新データと、が記憶される。上記したように、1機種における各モデルを包括すべく、更新データファイルには、各モデルで印刷装置2に選択的に搭載される複数のモジュールの全てについて、当該各モジュールの更新データが記憶される。   The update data file stores a printer ID (protect ID) indicating the model and update data of each module that can be mounted on the model. As described above, in order to include each model in one model, the update data file stores the update data of each module for all of the plurality of modules that are selectively mounted on the printing apparatus 2 in each model. The

各モジュールの更新データは、モジュール毎に分けて記憶されるだけでなく、より細かくユニットという単位に分けて記憶される。図3は、更新データファイルにおけるユニット構成(各ユニットの内容)を示した図である。図3に示すように、更新データファイルは、ユニットとして、「IPL」、「Boot date(BTS)」、「Firmware data(Main/Wboot)」、「CG data」、「PCダウンイメージ」、「音声ガイドデータ」、「FPGA data(FPGA Configuration Data領域)」、「マイコン(Sub−CPU)」、「MICR(Magnetic ink character recognition)」、「Bluetoothモジュール」、「Network Firmware(NW Kernel/Root領域)」、「Network Firmware(NW User領域)」、「Network Firmware(NW Userfs2領域)」、「writable−region(Linux(登録商標)設定値)」、「bootstrap(登録商標)」、「u−boot」、「u−boot(u−boot設定値)」、「Cert type(証明書Type)」、「Cert Data(証明書実データ)」および「PKCS12 PASSWARD(証明書パスワード)」を有する。   The update data of each module is not only stored separately for each module but also stored in units of units. FIG. 3 is a diagram showing a unit configuration (contents of each unit) in the update data file. As shown in FIG. 3, the update data file includes “IPL”, “Boot date (BTS)”, “Firmware data (Main / Wboot)”, “CG data”, “PC down image”, “voice” as units. "Guide data", "FPGA data (FPGA Configuration Data area)", "Microcomputer (Sub-CPU)", "MICR (Magnetic ink character recognition)", "Bluetooth module", "Network Firmware (NW Kernel / Root area)" , “Network Firmware (NW User area)”, “Network Firmware (NW Users 2 area)”, “writeable-region (Linux (registered trademark) setting value)” ", Bootstrap (registered trademark)", "u-boot", "u-boot (u-boot setting value)", "Cert type (certificate type)", "Cert Data (certificate actual data)", and It has “PKCS12 PASSWORD (certificate password)”.

「IPL」、「Boot date(BTS)」、「Firmware data(Main/Wboot)」、「CG data」、「PCダウンイメージ」、「FPGA data(FPGA Configuration Data領域)」は、メインモジュールの更新データである。そして、「IPL」、「Boot date(BTS)」および「Firmware data(Main/Wboot)」は、メインモジュールのファームウェアであり、「CG data」、「PCダウンイメージ」、「FPGA data(FPGA Configuration Data領域)」は、メインモジュールの設定情報である。なお、「PCダウンイメージ」は、印刷が失敗した場合に、失敗した印刷物に対して「失敗した印刷物」だと分かるように印刷物に上書きする印刷データである。   “IPL”, “Boot date (BTS)”, “Firmware data (Main / Wboot)”, “CG data”, “PC down image”, “FPGA data (FPGA Configuration Data area)” are update data of the main module It is. “IPL”, “Boot date (BTS)”, and “Firmware data (Main / Wboot)” are the firmware of the main module, and “CG data”, “PC down image”, “FPGA data (FPGA Configuration Data)”. "Area)" is setting information of the main module. The “PC down image” is print data to be overwritten on the printed material so that the failed printed material can be recognized as “failed printed material” when printing fails.

「音声ガイドデータ」は、スピーカーモジュールの更新データである。「マイコン(Sub−CPU)」は、サブCPUモジュールの更新データであり、サブCPUのファームウェアである。「MICR」は、MICRモジュールの更新データであり、MICRモジュールのファームウェアである。「Bluetoothモジュール」は、Bluetoothモジュールの更新データであり、Bluetoothモジュールのファームウェアである。   The “voice guide data” is update data of the speaker module. “Microcomputer (Sub-CPU)” is update data of the sub CPU module and is firmware of the sub CPU. “MICR” is MICR module update data and is MICR module firmware. The “Bluetooth module” is update data of the Bluetooth module, and is firmware of the Bluetooth module.

「Network Firmware(NW Kernel/Root領域)」、「Network Firmware(NW User領域)」、「Network Firmware(NW Userfs2領域)」、「writable−region(Linux設定値)」、「bootstrap」、「u−boot」、「u−boot(u−boot設定値)」、「Cert type(証明書Type)」、「Cert Data(証明書実データ)」および「PKCS12 PASSWARD(証明書パスワード)」は、ネットワークモジュールの更新データである。そして、「Network Firmware(NW Kernel/Root領域)」、「Network Firmware(NW User領域)」、「Network Firmware(NW Userfs2領域)」、「bootstrap」および「u−boot」は、ネットワークモジュールのファームウェアであり、「writable−region(Linux設定値)」、「u−boot(u−boot設定値)」、「Cert type(証明書Type)」、「Cert Data(証明書実データ)」および「PKCS12 PASSWARD(証明書パスワード)」は、ネットワークモジュールの設定情報である。   “Network Firmware (NW Kernel / Root area)”, “Network Farmware (NW User area)”, “Network Firmware (NW Users2 area)”, “write-region (t u, u”) “boot”, “u-boot (u-boot setting value)”, “Cert type (certificate type)”, “Cert Data (certificate actual data)” and “PKCS12 PASSWARD (certificate password)” are network modules. Update data. Then, “Network Firmware (NW Kernel / Root area)”, “Network Firmware (NW User area)”, “Network Farmware (NW Users2 area)”, “Bootstrap and firmware” Yes, "writeable-region (Linux setting value)", "u-boot (u-boot setting value)", "Cert type (certificate type)", "Cert Data (certificate actual data)" and "PKCS12 PASWARD “(Certificate Password)” is setting information of the network module.

また、更新データファイルには、上記プリンターIDおよび各モジュールの更新データに加え、当該ユニット構成(ユニットの数および種類)と、各ユニットの更新時間(書き換え時間)と、各ファームウェアのバージョン情報と、が記憶される。   In addition to the printer ID and update data of each module, the update data file includes the unit configuration (number and type of units), the update time (rewrite time) of each unit, the version information of each firmware, Is memorized.

図2に戻り、ファイル解析部62は、取得した更新データファイルを解析し、当該更新データファイルから、プリンターID、ユニット構成(ユニットの数および種類)、各ユニットの更新時間および各ファームウェアのバージョン情報を抽出する。これによって、これらの情報を取得する。ファイル解析部62は、各ユニットの更新時間を取得することで、各モジュールの更新データの各更新時間を取得する。   Returning to FIG. 2, the file analysis unit 62 analyzes the acquired update data file, and from the update data file, the printer ID, unit configuration (number and type of units), update time of each unit, and version information of each firmware To extract. As a result, these pieces of information are acquired. The file analysis unit 62 acquires each update time of the update data of each module by acquiring the update time of each unit.

モード切替要求部63は、印刷装置2に対し、リアルタイムコマンドでモード切替要求を行う。すなわち、モード切替要求部63は、リアルタイムコマンドで構成されたモード切替コマンド(モード切替要求)を印刷装置2に送信して、印刷装置2に、モードを切り替えさせる。詳細は後述するが、装置制御プログラム36の更新動作では、まず、印刷装置2を情報応答モードに切り替えさせて、印刷装置2の装置情報を取得した後、印刷装置2を強制書き換えモードに切り替えさせて、装置制御プログラム36の更新処理を行わせる。その後、再度、情報応答モードに切り替えさせて、更新処理が正常に行われたか否かを判定する。なお、ホスト装置1は、印刷装置2がブート制御モードに切り替わった状態における、印刷装置2へのコマンド送信を、リアルタイムコマンドで行う。   The mode switching request unit 63 makes a mode switching request to the printing apparatus 2 with a real-time command. That is, the mode switching request unit 63 transmits a mode switching command (mode switching request) configured with a real-time command to the printing apparatus 2 to cause the printing apparatus 2 to switch modes. Although details will be described later, in the update operation of the device control program 36, first, the printing device 2 is switched to the information response mode, the device information of the printing device 2 is acquired, and then the printing device 2 is switched to the forced rewriting mode. Thus, the update process of the device control program 36 is performed. After that, it is switched again to the information response mode, and it is determined whether or not the update process has been performed normally. Note that the host device 1 performs a command transmission to the printing device 2 with a real-time command in a state where the printing device 2 is switched to the boot control mode.

応答確認部64は、印刷装置2に対し、リアルタイムコマンドで応答確認を行う。すなわち、応答確認部64は、リアルタイムコマンドで構成された応答要求コマンドを送信し、これに対する返信である印刷装置2(の応答送信部56)からの応答を受信する。   The response confirmation unit 64 confirms the response to the printing apparatus 2 with a real-time command. That is, the response confirmation unit 64 transmits a response request command composed of a real-time command, and receives a response from the printing apparatus 2 (the response transmission unit 56) which is a response to the response request command.

装置情報取得部65は、リアルタイムコマンドで、印刷装置2から、当該印刷装置2の装置情報を取得する。すなわち、装置情報取得部65は、リアルタイムコマンドで構成された情報要求コマンド(情報要求)を送信し、これに対する返信である印刷装置2(の装置情報送信部57)からの装置情報を受信する。すなわち、装置情報取得部65は、印刷装置2から、プリンターID、モジュール構成情報および各モジュールにおける各ファームウェアのバージョン情報を取得する。   The device information acquisition unit 65 acquires device information of the printing device 2 from the printing device 2 using a real-time command. That is, the device information acquisition unit 65 transmits an information request command (information request) composed of a real-time command, and receives device information from the printing device 2 (the device information transmission unit 57) as a reply to the information request command. That is, the device information acquisition unit 65 acquires the printer ID, module configuration information, and version information of each firmware in each module from the printing device 2.

ID確認部66は、装置情報取得部65により取得したプリンターIDと、ファイル解析部62により取得したプリンターIDと、を比較して、両プリンターIDが一致するか否かを判定する。すなわち、更新する更新データファイルのプリンターIDが、更新対象となる印刷装置2のプリンターIDと一致するか否かを判定する。   The ID confirmation unit 66 compares the printer ID acquired by the device information acquisition unit 65 with the printer ID acquired by the file analysis unit 62, and determines whether or not both printer IDs match. That is, it is determined whether or not the printer ID of the update data file to be updated matches the printer ID of the printing apparatus 2 to be updated.

データ選別部67は、更新データファイルに記憶された更新データから、印刷装置2に必要な更新データ(ユニット)を選別する。具体的には、データ選別部67は、装置情報取得部65により取得したモジュール構成情報に基づいて、更新データファイルに記憶された全てのモジュールの更新データから、印刷装置2に搭載された1以上のモジュールの更新データを選別する。例えば、図4に示すように、印刷装置2が、Bluetoothモジュールを搭載しないモデルである場合には、Bluetoothモジュールの更新データを除外する。また、印刷装置2が、ネットワークモジュールを搭載しないモデルである場合には、ネットワークモジュールの更新データを除外する。   The data sorting unit 67 sorts update data (unit) necessary for the printing apparatus 2 from the update data stored in the update data file. Specifically, the data selection unit 67 is based on the module configuration information acquired by the device information acquisition unit 65, and from the update data of all the modules stored in the update data file, one or more installed in the printing apparatus 2 Sort update data of modules. For example, as shown in FIG. 4, when the printing apparatus 2 is a model that does not include a Bluetooth module, update data of the Bluetooth module is excluded. If the printing apparatus 2 is a model that does not include a network module, network module update data is excluded.

送信用データ生成部68は、選別した更新データ(ユニット)により、印刷装置2に送信する送信用データを生成する。すなわち、送信用データ生成部68は、更新データファイルから、選別した更新データを抽出すると共に、抽出した更新データを含む送信用データを生成する。   The transmission data generation unit 68 generates transmission data to be transmitted to the printing apparatus 2 based on the selected update data (unit). That is, the transmission data generation unit 68 extracts the selected update data from the update data file and generates transmission data including the extracted update data.

更新時間算出部69は、ファイル解析部62により取得した各ユニットの更新時間に基づき、選別した更新データにおける更新時間(合計更新時間)を算出する。すなわち、更新時間算出部69は、選別した各更新データにおける各ユニットの各更新時間を集計して、選別した更新データにおける合計更新時間を算出する。なお、この合計更新時間は、送信用データを送信した後に行う接続確認の際に用いるものである。そのため、当該合計更新時間は、送信用データに付加しておくことが好ましい。   The update time calculation unit 69 calculates the update time (total update time) in the selected update data based on the update time of each unit acquired by the file analysis unit 62. That is, the update time calculation unit 69 calculates the total update time in the selected update data by adding up the update times of the units in the selected update data. The total update time is used for connection confirmation performed after transmission data is transmitted. Therefore, it is preferable to add the total update time to the transmission data.

通信種類取得部70は、送信用データを印刷装置2に送信する通信について、通信の種類を取得する。具体的には、通信種類取得部70は、通信の種類が、USB通信であるか、イーサネット(登録商標)通信であるか、Bluetooth通信であるか、の情報を取得する。なお、「USB」は、「Universal Serial Bus」の略である。   The communication type acquisition unit 70 acquires the type of communication for communication for transmitting transmission data to the printing apparatus 2. Specifically, the communication type acquisition unit 70 acquires information on whether the communication type is USB communication, Ethernet (registered trademark) communication, or Bluetooth communication. “USB” is an abbreviation for “Universal Serial Bus”.

データ送信部71は、送信用データ生成部68により生成した送信用データを、印刷装置2に送信する。このとき、データ送信部71は、1回当たりの送信データ量が、通信種類取得部70により取得した通信の種類に応じた所定のデータ量となるように、送信用データを分割して送信する。具体的には、通信の種類が、USB通信またはイーサネット通信である場合には、1回当たりの送信データ量が2メガバイトとなるように分割する。また、通信の種類が、Bluetooth通信である場合には、1回当たりの送信データ量が512キロバイトとなるように分割する。   The data transmission unit 71 transmits the transmission data generated by the transmission data generation unit 68 to the printing apparatus 2. At this time, the data transmission unit 71 divides and transmits the transmission data so that the transmission data amount per time becomes a predetermined data amount corresponding to the type of communication acquired by the communication type acquisition unit 70. . Specifically, when the type of communication is USB communication or Ethernet communication, the transmission data amount per time is divided so as to be 2 megabytes. When the communication type is Bluetooth communication, the transmission data amount per time is divided so as to be 512 kilobytes.

本実施形態では、モード切替要求部63により、印刷装置2を強制書き換えモードに切り替えさせた状態で、データ送信部71により、送信用データを送信することで、印刷装置2に、送信用データに基づく装置制御プログラム36の更新処理を行わせる。なお、応答確認部64によって応答確認が確認されなかった場合には、印刷装置2からモジュール構成情報が取得できず、データ選別部67による選別処理および送信用データ生成部68による送信用データの生成処理を行うことができない。そのため、送信用データ生成部68により生成したデータ送信用データに代えて、更新データファイルから各モジュールの更新データ(各ユニット)の全てを抽出し、これを送信用データとして送信する。かかる場合、抽出した更新データをmot形式に変換すると共に、印刷装置2の記憶部32における、各更新データの書き込み先(書き換え先)のアドレス(セクター)を付加して印刷装置2に送信する。このmot形式は、フラッシュROMのセクター単位のデータ形式であり、そのまま記憶部32に記憶できる形式である。   In the present embodiment, the data transmission unit 71 transmits the transmission data to the printing device 2 in the state where the printing device 2 is switched to the forced rewriting mode by the mode switching request unit 63, thereby transmitting the transmission data to the printing device 2. The update processing of the device control program 36 based on the above is performed. When the response confirmation unit 64 does not confirm the response confirmation, the module configuration information cannot be acquired from the printing apparatus 2, the selection process by the data selection unit 67 and the generation of transmission data by the transmission data generation unit 68. Processing cannot be performed. Therefore, instead of the data transmission data generated by the transmission data generation unit 68, all of the update data (each unit) of each module is extracted from the update data file and transmitted as transmission data. In such a case, the extracted update data is converted into the mot format, and the address (sector) of the write destination (rewrite destination) of each update data in the storage unit 32 of the printing apparatus 2 is added and transmitted to the printing apparatus 2. This mot format is a data format in units of sectors of the flash ROM, and can be stored in the storage unit 32 as it is.

接続確認部72は、データ送信部71により送信用データを送信した後に印刷装置2との接続確認を行って、印刷装置2による上記更新処理が正常に終了した否かを判定する。すなわち、印刷装置2は、更新処理を行っている間、ホスト装置1からの接続ができない状態となり、更新処理が終わると、ホスト装置1から接続可能な状態となる。そのため、印刷装置2との接続確認を行うことで、上記更新処理が正常に終了した否かを判定することができる。
具体的には、接続確認部72は、送信用データを送信してから、更新時間算出部69により算出した合計更新時間に達するまで、印刷装置2との接続確認をポーリングする。すなわち、送信用データを送信してから、更新時間算出部69により算出した合計更新時間に達するまでの間、一定時間毎(数秒毎)に、印刷装置2との接続確認を繰り返し行う。これにより、印刷装置2による上記更新処理が正常に終了した否かを判定する。
The connection confirmation unit 72 confirms the connection with the printing apparatus 2 after the transmission data is transmitted by the data transmission unit 71, and determines whether or not the update process by the printing apparatus 2 has been completed normally. That is, the printing apparatus 2 is in a state where connection from the host apparatus 1 is not possible during the update process, and is in a state where connection is possible from the host apparatus 1 when the update process is completed. Therefore, it is possible to determine whether or not the update process has been completed normally by performing a connection check with the printing apparatus 2.
Specifically, the connection confirmation unit 72 polls the connection confirmation with the printing apparatus 2 until the total update time calculated by the update time calculation unit 69 is reached after the transmission data is transmitted. That is, the connection confirmation with the printing apparatus 2 is repeatedly performed at regular time intervals (every few seconds) from when the transmission data is transmitted until the total update time calculated by the update time calculation unit 69 is reached. Thus, it is determined whether or not the update process by the printing apparatus 2 has been normally completed.

更新成否判定部73は、印刷装置2による上記更新処理が正常に行われたか否かを判定する。本実施形態では、更新処理後のバージョン情報と、更新データファイルのバージョン情報とを、各モジュールのファームウェアそれぞれにおいて比較し、両バージョン情報が、各モジュールのファームウェアそれぞれにおいて一致するか否かを判定する。これによって、印刷装置2による上記更新処理が正常に行われたか否かを判定する。なお、更新処理後のバージョン情報は、更新処理後に装置情報取得部65により取得したものを用い、更新データファイルのバージョン情報は、ファイル解析部62により取得したものを用いる。   The update success / failure determination unit 73 determines whether or not the update process by the printing apparatus 2 has been normally performed. In the present embodiment, the version information after the update process and the version information of the update data file are compared in each firmware of each module, and it is determined whether or not both version information matches in each firmware of each module. . Thus, it is determined whether or not the update process by the printing apparatus 2 has been normally performed. The version information after the update process is obtained by the apparatus information obtaining unit 65 after the update process, and the version information of the update data file is obtained by the file analyzing part 62.

リカバリー手順表示部74は、更新成否判定部73により、印刷装置2による上記更新処理が正常に行われなかったと判定された場合に、リカバリー手順をディスプレイ8に表示する。例えば、ディスプレイ8に、「装置制御プログラムの更新をリトライしてください」等のメッセージを表示して、更新動作のやり直しを促す。   The recovery procedure display unit 74 displays the recovery procedure on the display 8 when the update success / failure determination unit 73 determines that the update process by the printing apparatus 2 has not been performed normally. For example, a message such as “Please retry updating the device control program” is displayed on the display 8 to prompt the user to retry the update operation.

ここで図5および図6を参照して、印刷システムSYによる装置制御プログラム36の更新動作について説明する。本更新動作は、印刷装置2が、記憶部32に、装置制御プログラム36およびブートプログラム37を記憶し、ホスト装置1が、ファイル取得部61により更新データファイルを取得した状態において、ユーザー操作によって、ホスト装置1上で当該更新データファイルが指定された時に実行されるものである。   Here, with reference to FIG. 5 and FIG. 6, the update operation of the apparatus control program 36 by the printing system SY will be described. In the update operation, the printing device 2 stores the device control program 36 and the boot program 37 in the storage unit 32, and the host device 1 acquires the update data file by the file acquisition unit 61. It is executed when the update data file is designated on the host device 1.

図5および図6に示すように、ユーザー操作によって、更新データファイルが指定されると(S1:Yes)、ファイル解析部62により、指定された当該更新データファイルから、プリンターID、ユニット構成(ユニットの数および種類)、各ユニットの更新時間および各ファームウェアのバージョン情報を取得する(S2)。   As shown in FIGS. 5 and 6, when an update data file is designated by a user operation (S1: Yes), the file analysis unit 62 uses the specified update data file to specify the printer ID, unit configuration (unit Number and type), update time of each unit, and version information of each firmware are acquired (S2).

これらの情報を取得したら、モード切替要求部63により、リアルタイムコマンドで、印刷装置2に対し、情報応答モードに切り替える旨のモード切替要求を行う。すなわち、モード切替要求部63により、リアルタイムコマンドで構成された、情報応答モードに切り替える旨のモード切替コマンドを、印刷装置2に送信する(S3)。これに対し、印刷装置2は、第1データ受信部50により、ホスト装置1からのモード切替コマンドを通信インターフェース21で受信し(S4)、第1コマンド解析部51により、受信したデータに対しコマンド解析を行い、受信したデータが、モード切替コマンドであり且つリアルタイムコマンドであると判定する(S5)。そして、第1モード切替部53により、当該モード切替コマンドに基づき、印刷装置2のモードを、通常制御モードから情報応答モードに切り替える(S6)。その後、バッファ消去部54により、送受信バッファ46内のデータを消去する(S7)。   When these pieces of information are acquired, the mode switching request unit 63 makes a mode switching request for switching to the information response mode to the printing apparatus 2 with a real-time command. That is, the mode switching request unit 63 transmits to the printing apparatus 2 a mode switching command for switching to the information response mode, which is configured with a real-time command (S3). On the other hand, the printing apparatus 2 receives the mode switching command from the host apparatus 1 through the communication interface 21 by the first data receiving unit 50 (S4), and the first command analysis unit 51 performs a command for the received data. Analysis is performed and it is determined that the received data is a mode switching command and a real-time command (S5). Then, the first mode switching unit 53 switches the mode of the printing apparatus 2 from the normal control mode to the information response mode based on the mode switching command (S6). Thereafter, the buffer erasure unit 54 erases the data in the transmission / reception buffer 46 (S7).

その後、ホスト装置1は、応答確認部64により、リアルタイムコマンドで、印刷装置2に対し応答確認を行う。すなわち、応答確認部64により、リアルタイムコマンドで構成された応答要求コマンドを、印刷装置2に送信する(S8)。これに対し、印刷装置2は、第2データ受信部60により、ホスト装置1からの応答要求コマンド(応答要求)を通信インターフェース21で受信し(S9)、第2コマンド解析部55により、受信したデータに対しコマンド解析を行い、受信したデータが、応答要求コマンドであると判定する(S10)。そして、応答送信部56により、応答要求コマンドに対する応答をホスト装置1に通信インターフェース21で送信(返信)する(S11)。ホスト装置1は、これを受けて応答を確認する。   Thereafter, the host device 1 confirms the response to the printing device 2 by the response confirmation unit 64 using a real-time command. That is, the response confirmation unit 64 transmits a response request command composed of real-time commands to the printing apparatus 2 (S8). In response to this, the printing apparatus 2 receives the response request command (response request) from the host apparatus 1 by the second data reception unit 60 at the communication interface 21 (S9), and receives it by the second command analysis unit 55. Command analysis is performed on the data, and it is determined that the received data is a response request command (S10). Then, the response transmitter 56 transmits (replies) a response to the response request command to the host device 1 via the communication interface 21 (S11). The host device 1 receives this and confirms the response.

この応答確認部64による応答確認において、印刷装置2からの応答が確認されなかった場合(S12:No)には、更新データファイルから、更新データファイルに記憶された全てのモジュールの更新データ(全ユニット)を抽出し、抽出した更新データを、送信用データとして、印刷装置2に送信する(S13)。このとき、各更新データをmot形式に変換すると共に、各更新データに対し、各更新データの書き込み先のアドレスを付加して送信する。これに対し、印刷装置2は、強制書き換えモードであるため、第2データ受信部60により、ホスト装置1からの送信用データ(全てのモジュールの更新データ)を通信インターフェース21で受信し(S14)、プログラム更新部59により、受信した送信用データに基づいて、装置制御プログラム36の更新処理を行う(S15)。すなわち、上記書き込み先のアドレスに従って、各モジュールのファームウェアおよび設定情報を書き換える。これにより、本更新処理を終了する。   In the response confirmation by the response confirmation unit 64, when the response from the printing apparatus 2 is not confirmed (S12: No), update data (all data) of all modules stored in the update data file are updated from the update data file. Unit) is extracted, and the extracted update data is transmitted to the printing apparatus 2 as transmission data (S13). At this time, each update data is converted into the mot format, and the update data write destination address is added to each update data for transmission. On the other hand, since the printing apparatus 2 is in the forced rewriting mode, the second data reception unit 60 receives the transmission data (update data of all modules) from the host apparatus 1 by the communication interface 21 (S14). Then, the program update unit 59 updates the device control program 36 based on the received transmission data (S15). That is, the firmware and setting information of each module are rewritten according to the write destination address. Thereby, this update process is complete | finished.

一方、応答確認部64による応答確認において、印刷装置2からの応答が確認された場合(S12:Yes)には、装置情報取得部65により、リアルタイムコマンドで、印刷装置2から、印刷装置2の装置情報を取得する。すなわち、装置情報取得部65により、リアルタイムコマンドで構成された情報要求コマンドを、印刷装置2に送信する(S16)。これに対し、印刷装置2は、第2データ受信部60により、ホスト装置1からの情報要求コマンド(情報要求)を通信インターフェース21で受信し(S17)、第2コマンド解析部55により、受信したデータに対しコマンド解析を行い、受信したデータが、情報要求コマンドであると判定する(S18)。そして、装置情報送信部57により、印刷装置2の装置情報(プリンターID、モジュール構成情報および各ファームウェアのバージョン情報)をホスト装置1に通信インターフェース21で送信(返信)する(S19)(モジュール構成送信ステップ)。ホスト装置1は、これを受信して、印刷装置2の装置情報を取得する。   On the other hand, in the response confirmation by the response confirmation unit 64, when the response from the printing apparatus 2 is confirmed (S12: Yes), the apparatus information acquisition unit 65 uses the real-time command from the printing apparatus 2 to the printing apparatus 2. Get device information. That is, the device information acquisition unit 65 transmits an information request command composed of real-time commands to the printing device 2 (S16). On the other hand, the printing apparatus 2 receives the information request command (information request) from the host apparatus 1 through the communication interface 21 by the second data receiving unit 60 (S17), and receives it by the second command analyzing unit 55. Command analysis is performed on the data, and it is determined that the received data is an information request command (S18). Then, the device information transmission unit 57 transmits (replies) the device information (printer ID, module configuration information, and version information of each firmware) of the printing device 2 to the host device 1 via the communication interface 21 (S19) (module configuration transmission). Step). The host apparatus 1 receives this and acquires apparatus information of the printing apparatus 2.

印刷装置2の装置情報を取得したら、ホスト装置1は、ID確認部66により、更新データファイルのプリンターIDが、印刷装置2のプリンターIDと一致するか否かを判定する(S20)。すなわち、ファイル解析部62によって取得したプリンターIDと、装置情報取得部65によって取得したプリンターIDと、を比較して、両プリンターIDが一致するか否かを判定する。両プリンターIDが一致しない場合(S20:No)には、エラーとし、本更新動作を終了する。   After acquiring the device information of the printing device 2, the host device 1 determines whether or not the printer ID of the update data file matches the printer ID of the printing device 2 by the ID confirmation unit 66 (S20). That is, the printer ID acquired by the file analysis unit 62 and the printer ID acquired by the device information acquisition unit 65 are compared to determine whether or not both printer IDs match. If the two printer IDs do not match (S20: No), it is determined as an error and the updating operation is terminated.

一方、両プリンターIDが一致した場合(S20:Yes)には、モード切替要求部63により、リアルタイムコマンドで、印刷装置2に対し、強制書き換えモードに切り替える旨のモード切替要求を行う。すなわち、モード切替要求部63により、リアルタイムコマンドで構成された、強制書き換えモードに切り替える旨のモード切替コマンドを、印刷装置2に送信する(S21)。これに対し、印刷装置2は、第2データ受信部60により、ホスト装置1からのモード切替コマンドを通信インターフェース21で受信し(S22)、第2コマンド解析部55により、受信したデータに対しコマンド解析を行い、受信したデータが、モード切替コマンドであると判定する(S23)。そして、第2モード切替部58により、当該モード切替コマンドに従って、印刷装置2のモードを、情報応答モードから強制書き換えモードに切り替える(S24)。   On the other hand, if both printer IDs match (S20: Yes), the mode switching request unit 63 makes a mode switching request to the printing apparatus 2 to switch to the forced rewriting mode by a real time command. That is, the mode switching request unit 63 transmits a mode switching command, which is composed of real-time commands, for switching to the forced rewriting mode to the printing apparatus 2 (S21). On the other hand, the printing apparatus 2 receives the mode switching command from the host apparatus 1 by the communication interface 21 by the second data receiving unit 60 (S22), and the second command analyzing unit 55 receives the command for the received data. Analysis is performed and it is determined that the received data is a mode switching command (S23). Then, the second mode switching unit 58 switches the mode of the printing apparatus 2 from the information response mode to the forced rewriting mode according to the mode switching command (S24).

その後、データ選別部67により、装置情報取得部65によって取得したモジュール構成情報に基づいて、更新データファイルに記憶された全てのモジュールの更新データから、印刷装置2に搭載された1以上のモジュールの更新データを選別する(S25)。更新データを選別したら、更新時間算出部69により、選別した更新データにおける合計更新時間を算出する(S26)。その後、送信用データ生成部68により、選別した更新データによって送信用データを生成する(S27)。   Thereafter, based on the module configuration information acquired by the device information acquisition unit 65 by the data selection unit 67, the update data of all the modules stored in the update data file is used to determine one or more modules installed in the printing apparatus 2. Update data is selected (S25). When the update data is selected, the update time calculation unit 69 calculates the total update time in the selected update data (S26). Thereafter, the transmission data generating unit 68 generates transmission data based on the selected update data (S27).

送信用データを生成したら、通信種類取得部70により、送信用データを印刷装置2に送信する通信の種類を取得する(S28)。そして、データ送信部71により、1回当たりの送信データ量が、取得した通信の種類に応じた所定のデータ量となるように、送信用データを分割して送信する(S29)。これに対し、印刷装置2は、第2データ受信部60により、ホスト装置1からの送信用データを通信インターフェース21で受信し(S30)(更新データ受信ステップ)、プログラム更新部59により、受信した送信用データに基づいて、装置制御プログラム36の更新処理を行う(S31)(プログラム更新ステップ)。すなわち、記憶部32に記憶された装置制御プログラム36における各ファームウェアおよび各設定情報を、送信用データに記憶されたものにそれぞれ書き換える。
すなわち、更新データ受信ステップでは、ホスト装置1から、送信したモジュール構成情報に基づき複数のモジュールから選別された1以上のモジュールの更新データを受信する。ひいては、更新データ受信ステップでは、ホスト装置1との通信の種類に応じた所定のデータ量内に分割して送信された更新データを受信する。
When the transmission data is generated, the communication type acquisition unit 70 acquires the type of communication for transmitting the transmission data to the printing apparatus 2 (S28). Then, the data transmission unit 71 divides and transmits the transmission data so that the transmission data amount per time becomes a predetermined data amount corresponding to the acquired type of communication (S29). On the other hand, the printing apparatus 2 receives the transmission data from the host apparatus 1 through the communication interface 21 by the second data receiving unit 60 (S30) (update data receiving step), and receives it by the program update unit 59. Based on the transmission data, the device control program 36 is updated (S31) (program update step). That is, the firmware and the setting information in the device control program 36 stored in the storage unit 32 are rewritten to those stored in the transmission data.
That is, in the update data reception step, update data of one or more modules selected from a plurality of modules based on the transmitted module configuration information is received from the host device 1. As a result, in the update data receiving step, the update data transmitted by being divided into a predetermined amount of data corresponding to the type of communication with the host device 1 is received.

送信用データを送信したら、ホスト装置1は、接続確認部72により、印刷装置2との接続確認をポーリングする(S32)。そして、更新時間算出部69により算出した合計更新時間に達しても、印刷装置2との接続が確認されなかった場合(S33:No)には、上記応答確認の工程で応答が確認されたかった場合と同様、更新データファイルから、更新データファイルに記憶された全てのモジュールの更新データ(全ユニット)を抽出し、抽出した更新データを、送信用データとして、印刷装置2に送信する(S34)。これに対し、印刷装置2は、第2データ受信部60により、ホスト装置1からの送信用データ(全てのモジュールの更新データ)を通信インターフェース21で受信し(S35)、プログラム更新部59により、受信した送信用データに基づいて、装置制御プログラム36の更新処理を行う(S36)。これにより、本更新処理を終了する。   When the transmission data is transmitted, the host device 1 polls the connection confirmation unit 72 for confirmation of connection with the printing device 2 (S32). If the connection with the printing apparatus 2 is not confirmed even when the total update time calculated by the update time calculation unit 69 is reached (S33: No), the response was not confirmed in the response confirmation process. As in the case, update data (all units) of all modules stored in the update data file are extracted from the update data file, and the extracted update data is transmitted to the printing apparatus 2 as transmission data (S34). . On the other hand, the printing apparatus 2 receives the transmission data (update data of all modules) from the host apparatus 1 by the second data receiving unit 60 (S35), and the program update unit 59 Based on the received data for transmission, the device control program 36 is updated (S36). Thereby, this update process is complete | finished.

一方、合計更新時間に達する前に印刷装置2との接続が確認された場合(S33:Yes)には、まず、モード切替要求部63により、リアルタイムコマンドで、印刷装置2に対し、情報応答モードに切り替える旨のモード切替要求を行う。すなわち、モード切替要求部63により、リアルタイムコマンドで構成された、情報応答モードに切り替える旨のモード切替コマンドを、印刷装置2に送信する(S37)。これに対し、印刷装置2は、第2データ受信部60により、ホスト装置1からのモード切替コマンドを通信インターフェース21で受信し(S38)、第2コマンド解析部55により、受信したデータに対しコマンド解析を行い、受信したデータが、モード切替コマンドであると判定する(S39)。そして、第2モード切替部58により、当該モード切替コマンドに基づき、印刷装置2のモードを、強制書き換えモードから情報応答モードに切り替える(S40)。その後、バッファ消去部54により、送受信バッファ46内のデータを消去する(S41)。   On the other hand, if the connection with the printing apparatus 2 is confirmed before the total update time is reached (S33: Yes), first, the mode switching request unit 63 sends an information response mode to the printing apparatus 2 by a real-time command. A mode switching request for switching to is made. That is, the mode switching request unit 63 transmits to the printing apparatus 2 a mode switching command for switching to the information response mode, which is configured with a real-time command (S37). On the other hand, the printing apparatus 2 receives the mode switching command from the host apparatus 1 through the communication interface 21 by the second data receiving unit 60 (S38), and the second command analyzing unit 55 receives a command for the received data. Analysis is performed and it is determined that the received data is a mode switching command (S39). Then, the second mode switching unit 58 switches the mode of the printing apparatus 2 from the forced rewriting mode to the information response mode based on the mode switching command (S40). Thereafter, the data in the transmission / reception buffer 46 is erased by the buffer erasure unit 54 (S41).

その後、ホスト装置1は、応答確認部64により、リアルタイムコマンドで、印刷装置2に対し、応答確認を行う。すなわち、応答確認部64により、リアルタイムコマンドで構成された応答要求コマンドを、印刷装置2に送信する(S42)。これに対し、印刷装置2は、第2データ受信部60により、ホスト装置1からの応答要求コマンドを通信インターフェース21で受信し(S43)、第2コマンド解析部55により、受信したデータに対しコマンド解析を行い、受信したデータが、応答要求コマンドであると判定する(S44)。そして、応答送信部56により、応答要求コマンドに対する応答をホスト装置1に通信インターフェース21で送信(返信)する(S45)。ホスト装置1は、これを受けて、応答の確認を行う。   Thereafter, the host device 1 confirms the response to the printing device 2 by the response confirmation unit 64 using a real-time command. That is, the response confirmation unit 64 transmits a response request command composed of real-time commands to the printing apparatus 2 (S42). In response to this, the printing apparatus 2 receives the response request command from the host apparatus 1 through the communication interface 21 using the second data receiving unit 60 (S43), and the second command analyzing unit 55 executes a command for the received data. Analysis is performed and it is determined that the received data is a response request command (S44). Then, the response transmission unit 56 transmits (replies) a response to the response request command to the host device 1 via the communication interface 21 (S45). The host apparatus 1 receives this and confirms the response.

印刷装置2からの応答が確認されたら、装置情報取得部65により、リアルタイムコマンドで、印刷装置2から、印刷装置2の装置情報を取得する。すなわち、装置情報取得部65により、リアルタイムコマンドで構成された情報要求コマンドを、印刷装置2に送信する(S46)。これに対し、印刷装置2は、第2データ受信部60により、ホスト装置1からの情報要求コマンドを通信インターフェース21で受信し(S47)、第2コマンド解析部55により、受信したデータに対しコマンド解析を行い、受信したデータが、情報要求コマンドであると判定する(S48)。そして、装置情報送信部57により、印刷装置2の装置情報(プリンターID、モジュール構成情報および各ファームウェアのバージョン情報)をホスト装置1に通信インターフェース21で送信(返信)する(S49)。ホスト装置1は、これを受信して、印刷装置2の装置情報を取得する。   When the response from the printing apparatus 2 is confirmed, the apparatus information acquisition unit 65 acquires the apparatus information of the printing apparatus 2 from the printing apparatus 2 using a real-time command. That is, the apparatus information acquisition unit 65 transmits an information request command composed of real-time commands to the printing apparatus 2 (S46). On the other hand, the printing apparatus 2 receives the information request command from the host apparatus 1 through the communication interface 21 by the second data receiving unit 60 (S47), and the second command analyzing unit 55 receives a command for the received data. Analysis is performed and it is determined that the received data is an information request command (S48). Then, the device information transmitting unit 57 transmits (replies) the device information (printer ID, module configuration information, and version information of each firmware) of the printing device 2 to the host device 1 via the communication interface 21 (S49). The host apparatus 1 receives this and acquires apparatus information of the printing apparatus 2.

装置情報を取得したら、更新後のバージョン情報と、更新データファイルのバージョン情報とを、各ファームウェアのそれぞれについて比較し、両バージョン情報が一致するか否かを、各ファームウェアのそれぞれについて判定する(S50)。いずれのファームウェアについても、両バージョン情報が一致すると判定された場合(S50:Yes)には、装置制御プログラム36の更新処理が正常に行われたと判断し、本更新動作を終了する。一方、いずれかのファームウェアについて、両バージョン情報が一致しないと判定された場合(S50:No)には、リカバリー手順表示部74により、ディスプレイ8にリカバリー手順を表示して(S51)、本更新動作を終了する。   When the device information is acquired, the version information after the update and the version information of the update data file are compared for each firmware, and it is determined for each firmware whether or not the two version information matches (S50). ). For any firmware, if it is determined that the version information matches (S50: Yes), it is determined that the update process of the device control program 36 has been normally performed, and the update operation is terminated. On the other hand, if it is determined that the version information does not match for either firmware (S50: No), the recovery procedure is displayed on the display 8 by the recovery procedure display unit 74 (S51), and this update operation is performed. Exit.

以上のような構成によれば、印刷装置2において、モジュール構成情報をホスト装置1へ送信し、ホスト装置1において、印刷装置2のモジュール構成情報を取得し、取得したモジュール構成情報に基づき、印刷装置2が搭載したモジュールの更新データを選別して印刷装置2に送信し、印刷装置2は更新データにより装置制御プログラム36の更新処理を行う。このように、印刷装置2のモジュール構成に合わせて、必要な更新データを受信して更新処理する構成であるため、搭載するモジュールが異なる複数のモデルが存在する印刷装置2の更新処理に係り、ホスト装置1から印刷装置2が受信する更新データのデータ量を極力少なくすることができる。これによって、データ送信にかかる時間を低減させることができる。また、受信途中で、ノイズの影響やユーザーによる印刷装置2の電源をオフするなど誤った操作によりデータ受信が失敗するリスクを低減させることができる。   According to the configuration as described above, in the printing apparatus 2, the module configuration information is transmitted to the host apparatus 1, and the host apparatus 1 acquires the module configuration information of the printing apparatus 2, and prints based on the acquired module configuration information. The update data of the modules installed in the apparatus 2 is selected and transmitted to the printing apparatus 2, and the printing apparatus 2 performs the update process of the apparatus control program 36 based on the update data. As described above, since the configuration is such that necessary update data is received and updated in accordance with the module configuration of the printing apparatus 2, the update processing of the printing apparatus 2 in which a plurality of models with different installed modules exists, The amount of update data received by the printing apparatus 2 from the host apparatus 1 can be reduced as much as possible. Thereby, the time required for data transmission can be reduced. In addition, it is possible to reduce a risk that data reception fails due to an erroneous operation such as an influence of noise or a user turning off the power of the printing apparatus 2 during reception.

また、送信用データ(更新データ)を分割して受信すると共に、1回当たりの受信データ量が、通信の種類に応じて決定されるため、例えば、通信の種類が、通信速度の遅いものの場合に、1回当たりの受信データ量を少なくすることで、1回当たりの通信時間を一定または一定以下にすることができる。すなわち、通信の種類が、通信速度の遅いものであった場合にも、1回の通信時間を、データ受信が失敗するリスクが少ない所定の通信時間まで短くすることができる。そのため、データ受信が失敗するリスクをより低減させることができる。   In addition, the transmission data (update data) is divided and received, and the amount of received data per time is determined according to the type of communication. For example, when the type of communication is low in communication speed In addition, by reducing the amount of received data per time, the communication time per time can be made constant or constant. That is, even when the type of communication is a communication with a low communication speed, it is possible to shorten the one communication time to a predetermined communication time with a low risk of data reception failure. Therefore, the risk of data reception failure can be further reduced.

さらに、接続確認のポーリングのタイムアウト時間を、選別した更新データにおける合計更新時間とすることで、接続確認のポーリングによる更新終了の成否判定を適切に行うことができる。これよって、更新処理が終わった否かを判定する判定処理に不要に時間がかかってしまうのを避けることができ、更新動作にかかる時間を少なくすることができる。   Further, by setting the time-out time for polling for connection confirmation as the total update time for the selected update data, it is possible to appropriately determine whether or not the update has been completed by polling for connection confirmation. Accordingly, it is possible to avoid unnecessary time for the determination process for determining whether or not the update process is completed, and to reduce the time required for the update operation.

なお、上記実施形態において、ホスト装置1が更新時刻を付加して送信用データを送信し、印刷装置2による上記更新処理を所望の時刻に行わせる構成でも良い。すなわち、ホスト装置1が、更新時刻を付加して、送信用データを送信する。これに対し、印刷装置2が、送信用データに付加された更新時刻を受信し(更新データ受信ステップ)、これを記憶部32に記憶しておく。そして、記憶された当該更新時刻に、送信用データに基づく更新処理を行う(プログラム更新ステップ)。このように、印刷装置2が、更新データ受信ステップ(S30)では、更新データに付加された更新時刻を受信し、プログラム更新ステップ(S31)では、更新データに付加された更新時刻に、更新データに基づく更新処理を行う。かかる構成によれば、所望の時刻(例えば、業務終了時等)に、印刷装置2に更新処理を行わせることができる。ひいては、更新データのデータ送信と、更新データに基づく更新処理とを別々の時刻に行うことができるため、更新データのデータ送信が終わった時点で、一度、印刷装置2を印刷可能な状態に戻すことができる。よって、ユーザーが更新データのデータ送信を指示してから、印刷装置2が印刷可能な状態になるまでの時間を短くすることができ、ユーザーの待ち時間を少なくすることができる。
なお、各モジュールの更新データ毎に、更新時刻を付加(設定)して送信用データを送信し、印刷装置2による各更新データに基づく更新処理を、それぞれの更新時刻に行わせる構成でも良い。
In the above embodiment, the host device 1 may add the update time and transmit the transmission data, and the update processing by the printing device 2 may be performed at a desired time. That is, the host device 1 adds the update time and transmits the transmission data. On the other hand, the printing apparatus 2 receives the update time added to the transmission data (update data reception step) and stores it in the storage unit 32. Then, an update process based on the transmission data is performed at the stored update time (program update step). Thus, the printing apparatus 2 receives the update time added to the update data in the update data receiving step (S30), and the update data is added to the update time added to the update data in the program update step (S31). Update process based on. According to such a configuration, it is possible to cause the printing apparatus 2 to perform an update process at a desired time (for example, at the end of business). As a result, update data data transmission and update processing based on the update data can be performed at different times. Therefore, once the update data data transmission is completed, the printing apparatus 2 is once returned to a printable state. be able to. Therefore, it is possible to shorten the time from when the user gives an instruction to transmit the update data until the printing apparatus 2 is ready to print, and the waiting time of the user can be reduced.
A configuration may be employed in which update data is added (set) for each module update data, transmission data is transmitted, and update processing based on each update data by the printing apparatus 2 is performed at each update time.

また、上記実施形態において、データ送信部71により、1分割単位の送信の都度、送信の成否確認を行う構成でも良い。すなわち、ホスト装置1は、1分割単位の送信の都度、問い合わせコマンドを送信する。これに対し、印刷装置2は、受信したデータのデータ量を記憶しておき、問い合わせコマンドを受けて、1分割単位の受信の都度、記憶したデータ量(確認情報)を返信する。そして、ホスト装置1は、印刷装置2から返信されたデータ量に基づいて、送信の成否確認を行う。このように、印刷装置2が、更新データ受信ステップ(S30)において、1分割単位の受信の都度、受信の確認情報(記憶したデータ量)を送信する。かかる構成によれば、通信の種類に応じた所定のデータ量送る都度、受信の成否確認を行う構成であるため、例えば、一定または一定以下の通信時間のデータ受信の都度、受信の成否確認を行うことができる。これによって、データ受信が失敗したときにホスト装置1が再送信を行うことができ、さらに再送信の通信時間を少なくすることができ、再送信にかかる時間を最小限に抑えることができる。   Moreover, in the said embodiment, the structure which confirms the success or failure of transmission may be sufficient by the data transmission part 71 every time of transmission of 1 division unit. In other words, the host device 1 transmits an inquiry command each time transmission is performed in one division unit. On the other hand, the printing apparatus 2 stores the data amount of the received data, receives the inquiry command, and returns the stored data amount (confirmation information) every time it is received in one division unit. Then, the host device 1 confirms the success or failure of transmission based on the amount of data returned from the printing device 2. As described above, the printing apparatus 2 transmits the reception confirmation information (stored data amount) each time reception is performed in one division unit in the update data reception step (S30). According to such a configuration, the reception success / failure confirmation is performed each time a predetermined amount of data corresponding to the type of communication is sent. For example, the reception success / failure confirmation is performed each time data reception is performed for a certain or less than a certain communication time. It can be carried out. As a result, when the data reception fails, the host device 1 can perform retransmission, further reduce the communication time for retransmission, and minimize the time required for retransmission.

さらに、上記実施形態において、選別した更新データについて、モジュール毎の更新データを、通信の種類に応じた上記所定のデータ量に合わせて、統合または分割して送信し、印刷装置2がこれを受信する構成でも良い。別の言い方をすれば、印刷装置2が、更新データ受信ステップ(S30)において、ホスト装置1との通信の種類に応じた所定のデータ量内となるように、モジュール単位で統合または分割して送信された更新データを受信する。かかる場合、モジュール毎の更新データが、上記所定のデータ量より大きい場合には、更新データを分割して送信し、モジュール毎の更新データが、上記所定のデータ量より小さい場合には、2以上の更新データを統合して送信する。   Further, in the above-described embodiment, the update data for each module is transmitted by integrating or dividing the selected update data according to the predetermined data amount according to the type of communication, and the printing apparatus 2 receives the update data. The structure to do may be sufficient. In other words, in the update data receiving step (S30), the printing device 2 is integrated or divided in units of modules so as to be within a predetermined data amount according to the type of communication with the host device 1. Receive the sent update data. In this case, when the update data for each module is larger than the predetermined data amount, the update data is divided and transmitted, and when the update data for each module is smaller than the predetermined data amount, two or more Integrate and send update data.

なお、上記実施形態においては、モジュール構成情報に基づき、印刷装置2に必要な更新データを選別する構成であったが、モジュール構成情報に加え、各モジュールにおける各ファームウェアのバージョン情報に基づいて、印刷装置2に必要な更新データを選別する構成でも良い。すなわち、モジュール構成情報に基づいて選別した更新データのうち、ファイル解析部62で取得した各ファームウェアのバージョン情報と、装置情報取得部65で取得した各ファームウェアのバージョン情報と、が一致しないものを選別し、両バージョン情報が一致するものを除外する構成でも良い。   In the above embodiment, the update data necessary for the printing apparatus 2 is selected based on the module configuration information. However, in addition to the module configuration information, the printing is performed based on the version information of each firmware in each module. A configuration in which update data necessary for the device 2 is selected may be employed. That is, the update data selected based on the module configuration information is selected so that the version information of each firmware acquired by the file analysis unit 62 and the version information of each firmware acquired by the device information acquisition unit 65 do not match. However, a configuration in which both version information matches may be excluded.

また、上記実施形態においては、ホスト装置1側で、選別した更新データにおける合計更新時間を算出し、算出した合計更新時間を利用して印刷装置2との接続確認を行う構成であったが、印刷装置2側で、選別した更新データにおける合計更新時間を算出し、算出した合計更新時間を利用してホスト装置1との接続確認を行う構成でも良い。すなわち、印刷装置2が、受信した更新データ(送信用データ)における合計更新時間を算出する更新時間算出ステップと、更新データ受信ステップ(S30)により更新データ(送信用データ)を受信してから、算出した合計更新時間に達するまで、ホスト装置1との接続確認をポーリングする接続確認ステップと、を実行する。かかる構成によれば、ポーリングのタイムアウト時間を、選別した更新データにおける合計更新時間とすることで、接続確認のポーリングによる更新終了の成否判定を適切に行うことができる。   In the above-described embodiment, the host device 1 calculates the total update time in the selected update data, and uses the calculated total update time to check the connection with the printing device 2. The printing apparatus 2 may calculate the total update time in the selected update data and check the connection with the host apparatus 1 using the calculated total update time. That is, after the printing apparatus 2 receives the update data (transmission data) in the update time calculation step for calculating the total update time in the received update data (transmission data) and the update data reception step (S30), A connection confirmation step of polling for confirmation of connection with the host device 1 is executed until the calculated total update time is reached. According to this configuration, it is possible to appropriately determine whether or not the update has been completed by polling for connection confirmation by setting the polling timeout time to the total update time in the selected update data.

さらに、上記実施形態においては、印刷装置2のモジュール構成情報を取得し、これに基づいて、モジュール毎の更新データを選別する構成であったが、印刷装置2に、仕向け毎のモデルが存在する場合、印刷装置2の仕向けを示す仕向け情報を取得し、これに基づいて、仕向け毎の更新データを選別する構成でも良い。
すなわち、更新データファイルに、仕向け毎の更新データを記憶しておく。これに対し、ホスト装置1は、ファイル取得部61により、当該更新データファイルを取得して、仕向け毎の更新データを取得する。その後、ホスト装置1は、仕向け情報を要求する仕向け情報要求を印刷装置2に送信する。これに対し、印刷装置2は、ホスト装置1から当該仕向け情報要求を受信すると、仕向け情報をホスト装置1に送信する(仕向け情報送信ステップ)。ホスト装置1は、これを受けて印刷装置2の仕向け情報を取得する。その後、ホスト装置1は、データ選別部67により、取得した仕向け情報に基づいて、取得した仕向け毎の更新データから、印刷装置2に必要な更新データを選別する。そして、送信用データ生成部68により、ここで選別した更新データによって送信用データを生成し、データ送信部71により、生成した当該送信用データが送信する。これに対し、印刷装置2は、第2データ受信部60により、当該送信用データを受信し(更新データ受信ステップ)、プログラム更新部59により、当該送信用データに基づいて、装置制御プログラム36を更新する。
このように、印刷装置2が、ホスト装置1から、仕向け情報要求を受信すると、仕向け情報をホスト装置1に送信する仕向け情報送信ステップを、更に実行し、更新データ受信ステップ(S30)において、ホスト装置1から、送信した仕向け情報に基づき選別された1以上のモジュールの更新データを受信する。かかる構成によれば、仕向け毎のモデルが存在する印刷装置2についても、更新処理に係る印刷装置2が受信するデータのデータ量を極力少なくすることができる。
Further, in the above-described embodiment, the module configuration information of the printing apparatus 2 is acquired, and the update data for each module is selected based on the module configuration information. However, the printing apparatus 2 has a model for each destination. In this case, the configuration may be such that destination information indicating the destination of the printing apparatus 2 is acquired, and update data for each destination is selected based on the acquired information.
That is, update data for each destination is stored in the update data file. On the other hand, the host device 1 acquires the update data file by the file acquisition unit 61 and acquires update data for each destination. Thereafter, the host apparatus 1 transmits a destination information request for requesting destination information to the printing apparatus 2. On the other hand, when receiving the destination information request from the host apparatus 1, the printing apparatus 2 transmits the destination information to the host apparatus 1 (a destination information transmission step). In response to this, the host device 1 acquires the destination information of the printing device 2. After that, the host device 1 uses the data sorting unit 67 to sort update data necessary for the printing device 2 from the obtained update data for each destination based on the obtained destination information. Then, the transmission data generation unit 68 generates transmission data based on the update data selected here, and the data transmission unit 71 transmits the generated transmission data. In response to this, the printing apparatus 2 receives the transmission data by the second data receiving unit 60 (update data receiving step), and the program update unit 59 executes the apparatus control program 36 based on the transmission data. Update.
As described above, when the printing apparatus 2 receives the destination information request from the host apparatus 1, the destination information transmission step of transmitting the destination information to the host apparatus 1 is further executed. In the update data reception step (S30), the host Update data of one or more modules selected based on the transmitted destination information is received from the device 1. According to such a configuration, the amount of data received by the printing apparatus 2 related to the update process can be reduced as much as possible even for the printing apparatus 2 in which a model for each destination exists.

なお、上記実施形態においては、更新成否判定部73(更新成否判定ステップ(S40))において、バージョン情報を比較して、更新処理の成否判定を行う構成であったが、チェックサムを用いて、更新処理の成否判定を行う構成でも良い。すなわち、印刷装置2による更新処理の終了後、印刷装置2からチェックサム情報を取得し、これに基づいて、更新処理の成否判定を行う構成でも良い。   In the above embodiment, the update success / failure determination unit 73 (update success / failure determination step (S40)) compares the version information and determines the success or failure of the update process. However, using the checksum, A configuration for determining success or failure of the update process may be used. In other words, after the update process by the printing apparatus 2 is completed, checksum information may be acquired from the printing apparatus 2 and the success / failure determination of the update process may be performed based on the checksum information.

また、上記実施形態においては、装置情報取得部65(装置情報取得ステップ)において、プリンターID、印刷装置のモジュール構成情報および各モジュールにおける各ファームウェアのバージョン情報を取得する構成であったが、これに加え、印刷装置2における、インターフェースやフォントの種類、ヘッド解像度、紙幅等の仕様情報を取得する構成でも良い。   In the above embodiment, the device information acquisition unit 65 (device information acquisition step) acquires the printer ID, the module configuration information of the printing device, and the version information of each firmware in each module. In addition, the printing apparatus 2 may be configured to acquire specification information such as an interface, font type, head resolution, and paper width.

1:ホスト装置、 2:印刷装置、 21:通信インターフェース、 31:制御部、 32:記憶部、 36:装置制御プログラム、 59:プログラム更新部、 65:装置情報取得部、 67:データ選別部、 68:送信用データ生成部、 71:データ送信部、 SY:印刷システム。   1: host device, 2: printing device, 21: communication interface, 31: control unit, 32: storage unit, 36: device control program, 59: program update unit, 65: device information acquisition unit, 67: data selection unit, 68: Transmission data generation unit 71: Data transmission unit SY: Printing system

Claims (9)

装置制御プログラムを搭載した印刷装置の制御方法であって、
管理装置から、モジュール構成情報を要求する情報要求を受信すると、前記印刷装置のモジュール構成情報を前記管理装置に送信するモジュール構成送信ステップと、
前記管理装置から、送信した前記モジュール構成情報に基づき複数のモジュールから選別された1以上のモジュールの更新データを受信する更新データ受信ステップと、
受信した前記更新データに基づいて、前記装置制御プログラムの更新処理を行うプログラム更新ステップと、を実行することを特徴とする印刷装置の制御方法。
A method for controlling a printing apparatus equipped with a device control program,
When receiving an information request for requesting module configuration information from the management device, a module configuration transmission step of transmitting module configuration information of the printing device to the management device;
An update data receiving step of receiving update data of one or more modules selected from a plurality of modules based on the transmitted module configuration information from the management device;
And a program update step of performing an update process of the apparatus control program based on the received update data.
前記更新データ受信ステップでは、前記管理装置との通信の種類に応じた所定のデータ量内に分割して送信された前記更新データを受信することを特徴とする請求項1に記載の印刷装置の制御方法。   2. The printing apparatus according to claim 1, wherein in the update data receiving step, the update data transmitted by being divided into a predetermined data amount corresponding to a type of communication with the management apparatus is received. Control method. 前記更新データ受信ステップでは、前記管理装置との通信の種類に応じた所定のデータ量内となるように、モジュール単位で統合または分割して送信された前記更新データを受信することを特徴とする請求項2に記載の印刷装置の制御方法。   In the update data receiving step, the update data transmitted by being integrated or divided in units of modules so as to be within a predetermined amount of data according to the type of communication with the management device is received. The method for controlling a printing apparatus according to claim 2. 前記更新データ受信ステップでは、1分割単位の受信の都度、受信の確認情報を送信することを行うことを特徴とする請求項2または3に記載の印刷装置の制御方法。   The method for controlling a printing apparatus according to claim 2 or 3, wherein, in the update data reception step, reception confirmation information is transmitted every time a division unit is received. 受信した前記更新データにおける更新時間を算出する更新時間算出ステップと、
前記更新データ受信ステップにより前記更新データを受信してから、算出した前記更新時間に達するまで、前記管理装置との接続確認をポーリングする接続確認ステップと、を更に実行することを特徴とする請求項1ないし4のいずれか一項に記載の印刷装置の制御方法。
An update time calculating step for calculating an update time in the received update data;
The connection confirmation step of polling the connection confirmation with the management device is further executed after the update data is received in the update data reception step until the calculated update time is reached. The control method of the printing apparatus as described in any one of 1 thru | or 4.
前記更新データ受信ステップでは、前記更新データに付加された更新時刻を受信し、
前記プログラム更新ステップでは、前記更新データに付加された前記更新時刻に、前記更新データに基づく前記更新処理を行うことを特徴とする請求項1ないし5のいずれか一項に記載の印刷装置の制御方法。
In the update data receiving step, the update time added to the update data is received,
6. The printing apparatus control according to claim 1, wherein, in the program update step, the update process based on the update data is performed at the update time added to the update data. 7. Method.
前記管理装置から、前記印刷装置の仕向けを示す仕向け情報を要求する仕向け情報要求を受信すると、前記仕向け情報を前記管理装置に送信する仕向け情報送信ステップを、更に実行し、
前記更新データ受信ステップでは、前記管理装置から、送信した前記仕向け情報に基づき選別された1以上のモジュールの前記更新データを受信することを特徴とする請求項1ないし6のいずれか一項に記載の印刷装置の制御方法。
When receiving a destination information request for requesting destination information indicating the destination of the printing device from the management device, further executing a destination information transmission step of transmitting the destination information to the management device,
The update data reception step receives the update data of one or more modules selected based on the transmitted destination information from the management device. Method for controlling the printing apparatus.
装置制御プログラムを搭載した印刷装置と、管理装置と、が接続されたプログラム更新システムであって、
前記管理装置は、
前記印刷装置から、当該印刷装置のモジュール構成情報を取得するモジュール構成取得部と、
取得した前記モジュール構成情報に基づいて、各モジュールの更新データから、前記1以上のモジュールの更新データを選別するデータ選別部と、
選別した前記更新データを含む送信用データを生成する送信用データ生成部と、
生成した前記送信用データを、前記印刷装置に送信するデータ送信部と、を備え、
前記印刷装置は、
前記管理装置から受信した前記送信用データに含まれる前記更新データに基づいて、前記装置制御プログラムの更新処理を行うプログラム更新部を、備えたことを特徴とするプログラム更新システム。
A program update system in which a printing device loaded with a device control program and a management device are connected,
The management device
A module configuration acquisition unit that acquires module configuration information of the printing device from the printing device;
A data selection unit for selecting update data of one or more modules from update data of each module based on the acquired module configuration information;
A transmission data generation unit for generating transmission data including the selected update data;
A data transmission unit that transmits the generated data for transmission to the printing apparatus;
The printing apparatus includes:
A program update system comprising: a program update unit that performs an update process of the device control program based on the update data included in the transmission data received from the management device.
装置制御プログラムを記憶した記憶部と、
管理装置から、モジュール構成情報を要求する情報要求を受信し、当該印刷装置のモジュール構成情報を送信し、前記管理装置から、送信した前記モジュール構成情報に基づき複数のモジュールから選別された1以上のモジュールの更新データを受信する通信部と、
受信した前記更新データに基づいて、前記装置制御プログラムの更新処理を行う制御部と、を備えることを特徴とする印刷装置。
A storage unit storing a device control program;
An information request for requesting module configuration information is received from the management device, the module configuration information of the printing device is transmitted, and one or more selected from a plurality of modules based on the transmitted module configuration information from the management device A communication unit that receives module update data;
And a control unit that performs update processing of the device control program based on the received update data.
JP2015133373A 2015-07-02 2015-07-02 Printing apparatus control method, program update system, and printing apparatus Active JP6554944B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015133373A JP6554944B2 (en) 2015-07-02 2015-07-02 Printing apparatus control method, program update system, and printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015133373A JP6554944B2 (en) 2015-07-02 2015-07-02 Printing apparatus control method, program update system, and printing apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019124220A Division JP2019185802A (en) 2019-07-03 2019-07-03 Control method for printer, printer, management device, and program

Publications (3)

Publication Number Publication Date
JP2017016453A true JP2017016453A (en) 2017-01-19
JP2017016453A5 JP2017016453A5 (en) 2018-08-09
JP6554944B2 JP6554944B2 (en) 2019-08-07

Family

ID=57830752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015133373A Active JP6554944B2 (en) 2015-07-02 2015-07-02 Printing apparatus control method, program update system, and printing apparatus

Country Status (1)

Country Link
JP (1) JP6554944B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024029025A1 (en) * 2022-08-04 2024-02-08 株式会社日立産機システム Ink jet recording system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000081971A (en) * 1998-09-04 2000-03-21 Sony Corp Program data transmitting/receiving system, its method, program data transmitter and receiver
JP2006285951A (en) * 2005-03-07 2006-10-19 Fuji Xerox Co Ltd Image processing system
JP2008015794A (en) * 2006-07-06 2008-01-24 Konica Minolta Business Technologies Inc Program management device, program management system, and program providing method
JP2008060695A (en) * 2006-08-29 2008-03-13 Fuji Xerox Co Ltd Information communication system, transmission-side device, reception-side device, transmission control program, and reception control program
JP2010198630A (en) * 2010-04-16 2010-09-09 Sharp Corp Program management system
JP2014048688A (en) * 2012-08-29 2014-03-17 Buffalo Inc Network device, guidance method by which network device guides client device to download file, and network system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000081971A (en) * 1998-09-04 2000-03-21 Sony Corp Program data transmitting/receiving system, its method, program data transmitter and receiver
JP2006285951A (en) * 2005-03-07 2006-10-19 Fuji Xerox Co Ltd Image processing system
JP2008015794A (en) * 2006-07-06 2008-01-24 Konica Minolta Business Technologies Inc Program management device, program management system, and program providing method
JP2008060695A (en) * 2006-08-29 2008-03-13 Fuji Xerox Co Ltd Information communication system, transmission-side device, reception-side device, transmission control program, and reception control program
JP2010198630A (en) * 2010-04-16 2010-09-09 Sharp Corp Program management system
JP2014048688A (en) * 2012-08-29 2014-03-17 Buffalo Inc Network device, guidance method by which network device guides client device to download file, and network system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024029025A1 (en) * 2022-08-04 2024-02-08 株式会社日立産機システム Ink jet recording system

Also Published As

Publication number Publication date
JP6554944B2 (en) 2019-08-07

Similar Documents

Publication Publication Date Title
JP5527146B2 (en) Terminal device and program
US7283266B2 (en) Information processing apparatus and print control apparatus, data processing method, storage medium and program
US7895609B2 (en) Method for installing driver software, information processing apparatus that employs the method, computer program for performing the method, and storage medium for storing the computer program
US20190107984A1 (en) Information processing method and storage medium
JP2007007873A (en) Apparatus for accepting operation request, program, recording medium, method for controlling operation request accepting apparatus, communication system, and method for operating communication system
CN100395705C (en) Device to serve software to a host device through a peripheral device and method thereof
JP3285110B2 (en) Firmware incorporating method and system comprising host device and printer
JP6531523B2 (en) Printing apparatus control method and printing apparatus
US20100110491A1 (en) Printer, control method therefor, and storage medium storing control program therefor
US8699045B2 (en) Information processing apparatus, information processing method, and storage medium
JP6554944B2 (en) Printing apparatus control method, program update system, and printing apparatus
US8521831B2 (en) Data processing apparatus, data input control method thereof, information processing device, and program for implementing the method
JP2019185802A (en) Control method for printer, printer, management device, and program
KR100611189B1 (en) Printing system for predicting printing error through preliminary inspection of print driver data and method thereof
JP4886501B2 (en) Printing apparatus, printing control method, and program
JP2008225888A (en) Electronic equipment
JP4239392B2 (en) Printing apparatus, printing system, and printing method
JP2011218810A (en) Communication apparatus, program, method of controlling communication apparatus, and communication system
JP7006301B2 (en) Control program and program group
JP2011039948A (en) Print system, printer driver and printing device
JP2010009244A (en) Print controller, printer, host computer, server computer, control method, program and recording medium
JP4207032B2 (en) Firmware transmission program, control method, data transmission apparatus, and network system
JP2009234241A (en) Electronic equipment, processing method of processing-related module, program and recording medium
JP5025513B2 (en) Printing system, information processing apparatus, data processing method, storage medium, program
JPH08156371A (en) Image output device, host computer and network housing both of them

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180620

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180620

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190402

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190514

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190611

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190624

R150 Certificate of patent or registration of utility model

Ref document number: 6554944

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150