JP2001080167A - Printing apparatus, information-processing apparatus, method for controlling them, and information-recording medium - Google Patents

Printing apparatus, information-processing apparatus, method for controlling them, and information-recording medium

Info

Publication number
JP2001080167A
JP2001080167A JP25784499A JP25784499A JP2001080167A JP 2001080167 A JP2001080167 A JP 2001080167A JP 25784499 A JP25784499 A JP 25784499A JP 25784499 A JP25784499 A JP 25784499A JP 2001080167 A JP2001080167 A JP 2001080167A
Authority
JP
Japan
Prior art keywords
information
time
printing apparatus
receiving
request
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.)
Withdrawn
Application number
JP25784499A
Other languages
Japanese (ja)
Inventor
Masahiro Minowa
政寛 箕輪
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 JP25784499A priority Critical patent/JP2001080167A/en
Publication of JP2001080167A publication Critical patent/JP2001080167A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize a function equivalent to a real time clock by setting a time request process part and a time receipt process part, requesting an information-processing apparatus connected to a printing apparatus to transmit time information, and receiving time information transmitted by the information- processing apparatus. SOLUTION: When a CPU 104 of a printer 101 detects it necessary to obtain time information from a host computer 150 by some reason, the CPU 104 requests the host computer 150 to transmit the present time information via an interface 102. When receiving the request, the host computer 150 obtains the present time information from a real time clock by a built-in CPU by a predetermined accuracy, and transmits the obtained time information to the printer 101 in a form of a time set command. The CPU 104 receives the time set command and stores time information included in the time set command to a time memory region in a RAM 103.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、印刷装置、情報処
理装置、これらの制御方法、および、情報記録媒体に関
する。特に、現在の時刻を取得するためのリアルタイム
クロックを有していない印刷装置に対して現在の時刻の
情報を送信することにより、リアルタイムクロックと同
等の機能を当該印刷装置で実現することができるような
印刷装置、情報処理装置、これらの制御方法、および、
これらを実現するプログラムを記録した情報記録媒体に
関する。
[0001] The present invention relates to a printing apparatus, an information processing apparatus, a control method thereof, and an information recording medium. In particular, by transmitting information on the current time to a printing device that does not have a real-time clock for acquiring the current time, a function equivalent to the real-time clock can be realized by the printing device. Printing device, information processing device, control method thereof, and
The present invention relates to an information recording medium on which a program for realizing these is recorded.

【0002】[0002]

【従来の技術】印刷装置(プリンタ)は、紙などの印刷
体に文字や図形を印刷するための装置として広く普及し
ている。このようなプリンタは情報処理装置(ホストコ
ンピュータ)に接続され、ホストコンピュータは、文字
や図形を印刷するためのデータや、プリンタ自体を制御
するためのデータをプリンタに送信する。一方、プリン
タは、自身の状況などのデータをホストコンピュータに
送信することができる。
2. Description of the Related Art A printing device (printer) is widely used as a device for printing characters and figures on a printed material such as paper. Such a printer is connected to an information processing device (host computer), and the host computer transmits data for printing characters and graphics and data for controlling the printer itself to the printer. On the other hand, the printer can transmit data such as its own status to the host computer.

【0003】このようなプリンタでは、文字や図形を印
刷するためにインクを使用する。インクジェットプリン
タでは、交換可能なインクタンクを利用し、ドットイン
パクトプリンタや熱転写プリンタでは、交換可能なイン
クリボンを利用する。これらのインク供給ユニットが交
換された時期や耐用期間などの情報は、プリンタのコス
トダウンや保守・運用のための情報として重要である。
In such a printer, ink is used to print characters and figures. Ink jet printers use replaceable ink tanks, and dot impact printers and thermal transfer printers use replaceable ink ribbons. Information such as the time when these ink supply units are replaced and the service life are important as information for cost reduction and maintenance / operation of the printer.

【0004】このほか、プリンタでは、印刷ヘッドや用
紙カッターなどの消耗品が使用されており、これらにつ
いても、インク供給ユニットと同様に、交換の時期など
の情報が得られれば、保守・運用に必要な助言をユーザ
に対して行うことができる。
[0004] In addition, printers use consumables such as print heads and paper cutters, and as with the ink supply unit, they can be used for maintenance and operation if information such as the time of replacement can be obtained. Necessary advice can be provided to the user.

【0005】従来、このような交換の時期の情報を得る
ためには、プリンタ自体に現実の時刻、すなわち、所望
の時点の年月日時分秒の情報を所定の精度(たとえば、
日単位、時単位、分単位、秒単位など)で得ることがで
きるリアルタイムクロックを組み込むのが一般的であっ
た。インク供給ユニットの管理情報(たとえば、カラー
か白黒か、印字回数はどれぐらいか、標準的な残り寿命
はどれぐらいか)とともに、そのインク供給ユニットを
装着した時刻をプリンタが備えるフラッシュEEPRO
M(Electrically Erasable Programmable Read Only M
emory )などの不揮発性記憶装置に記憶し、これらの情
報が必要になった場合は、これらの情報をプリンタから
ホストコンピュータへ送信したり、プリンタから紙に印
刷したりしていた。
Conventionally, in order to obtain such information on the time of replacement, the actual time, that is, the information of the date, month, day, hour, minute, and second at a desired point in time is obtained by a printer with a predetermined accuracy (for example,
It has been common to incorporate a real-time clock that can be obtained in days, hours, minutes, seconds, etc.). The flash EEPRO provided with the ink supply unit management information (for example, color or black and white, how many prints, and the standard remaining life), and the time when the ink supply unit was attached to the printer.
M (Electrically Erasable Programmable Read Only M
The information is stored in a non-volatile storage device such as emory), and when the information is needed, the information is transmitted from the printer to the host computer or printed from the printer on paper.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、プリン
タによっては、小型化を図るために十分なスペースがな
い場合がある。これらの場合にはリアルタイムクロック
をプリンタに組み込むことはできない。このため、この
ようなプリンタにおいても、現実の時刻の情報が得られ
るようにしたいという要望は大きい。
However, some printers do not have enough space for downsizing. In these cases, the real-time clock cannot be built into the printer. For this reason, there is a great demand for such a printer to obtain information on the actual time.

【0007】また、リアルタイムクロックは、プリンタ
本体の電源をオフにした場合であっても、動作している
必要があるため、消費電力の削減の観点からすれば、リ
アルタイムクロックを組み込まずに、プリンタ側で現実
の時刻の情報が得られるようにしたいという要望も大き
い。
Further, since the real-time clock needs to operate even when the power supply of the printer is turned off, from the viewpoint of reducing power consumption, the real-time clock is not incorporated in the There is also a great demand for the information side to obtain information on the actual time.

【0008】本発明は、以上のような問題を解決するた
めになされたもので、現在の時刻を取得するためのリア
ルタイムクロックを有していない印刷装置に対して現在
の時刻の情報を送信することにより、リアルタイムクロ
ックと同等の機能を当該印刷装置で実現することができ
るような印刷装置、情報処理装置、これらの制御方法、
および、これらを実現するプログラムを記録した情報記
録媒体を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and transmits current time information to a printing apparatus that does not have a real-time clock for acquiring the current time. Accordingly, a printing apparatus, an information processing apparatus, a control method thereof, and a printing apparatus capable of realizing a function equivalent to a real-time clock in the printing apparatus.
It is another object of the present invention to provide an information recording medium on which a program for realizing the above is recorded.

【0009】[0009]

【課題を解決するための手段】以上の目的を達成するた
め、本発明の原理にしたがって、下記の発明を開示す
る。
In order to achieve the above object, the following invention is disclosed in accordance with the principle of the present invention.

【0010】本発明の印刷装置は、時刻要求処理部と、
時刻受信処理部とを備え、時刻要求処理部は、当該印刷
装置に接続された情報処理装置に対して時刻の情報の送
信を要求し、時刻受信処理部は、当該情報処理装置が送
信する時刻の情報を受信する。
[0010] A printing apparatus according to the present invention comprises: a time request processing unit;
A time reception processing unit, wherein the time request processing unit requests the information processing device connected to the printing device to transmit time information, and the time reception processing unit determines the time transmitted by the information processing device. To receive the information.

【0011】また、本発明の印刷装置は、さらに、経過
時間計測部と、現在時刻部とを備えることができ、経過
時間計測部は、時刻受信処理部が時刻の情報を受信して
からの経過時間を計測し、現在時刻出力部は、時刻受信
処理部により受信された時刻の情報と経過時間計測部に
より計測された経過時間と、から現在時刻の情報を計算
して出力するように構成することができる。
Further, the printing apparatus of the present invention can further include an elapsed time measuring section and a current time section, and the elapsed time measuring section is provided after the time receiving processing section receives the time information. The elapsed time is measured, and the current time output unit is configured to calculate and output the current time information from the time information received by the time reception processing unit and the elapsed time measured by the elapsed time measurement unit. can do.

【0012】本構成では、たとえばプリンタの電源投入
時に一度だけ情報処理装置から時刻の情報を得て、その
情報をRAM(Random Access Memory)やフラッシュE
EPROMなどの記憶装置に記憶するとともに、プリン
タが備えるカウンタなどで経過時間を計測する。したが
って、何回も時刻を情報処理装置に問い合わせる必要は
ない。
In this configuration, for example, time information is obtained from the information processing device only once when the power of the printer is turned on, and the information is stored in a RAM (Random Access Memory) or flash memory.
The stored time is stored in a storage device such as an EPROM, and the elapsed time is measured by a counter or the like provided in the printer. Therefore, it is not necessary to inquire the information processing apparatus many times.

【0013】また、本発明の印刷装置は、さらに、時刻
要求処理制御部と、現在時刻出力部とを備え、時刻要求
処理制御部は、現在時刻の情報が必要であると判断した
場合、時刻要求処理部に時刻の情報の送信を要求させ、
現在時刻出力部は、時刻受信部により受信された時刻の
情報を出力するように構成することができる。
Further, the printing apparatus of the present invention further comprises a time request processing control unit and a current time output unit, and when the time request processing control unit determines that information on the current time is necessary, Request the request processing unit to send time information,
The current time output unit can be configured to output the information on the time received by the time receiving unit.

【0014】本構成では、現在時刻を知る必要があるた
びに情報処理装置から時刻の情報を得る。したがって、
経過時間を計測するカウンタなどを用意する必要はな
い。
In this configuration, the time information is obtained from the information processing device every time the current time needs to be known. Therefore,
It is not necessary to provide a counter for measuring the elapsed time.

【0015】また、本発明の印刷装置は、さらに、記憶
部と、通知処理部とを備え、記憶部は、現在時刻出力部
により出力された時刻の情報と当該印刷装置の管理情報
とを記憶し、通知処理部は、記憶部に記憶された時刻の
情報と管理情報とを通知するように構成することができ
る。
Further, the printing apparatus of the present invention further includes a storage unit and a notification processing unit, and the storage unit stores the time information output by the current time output unit and the management information of the printing apparatus. The notification processing unit can be configured to notify the time information and the management information stored in the storage unit.

【0016】また、本発明の印刷装置の通知処理部は、
時刻の情報と管理情報とを当該情報処理装置に対して送
信することにより通知するように構成することができ
る。
The notification processing unit of the printing apparatus according to the present invention comprises:
The information processing apparatus may be configured to be notified by transmitting the time information and the management information to the information processing apparatus.

【0017】また、本発明の印刷装置の通知処理部は、
時刻の情報と管理情報とを印刷することにより通知する
ように構成することができる。
The notification processing unit of the printing apparatus according to the present invention includes:
The time information and the management information can be configured to be notified by printing.

【0018】本発明の情報処理装置は、時刻要求受信処
理部と、現在時刻取得部と、時刻情報送信処理部とを備
え、時刻要求受信処理部は、当該情報処理装置に接続さ
れた印刷装置が送信する時刻の情報の送信の要求を受信
し、現在時刻取得部は、時刻要求受信処理部が時刻の情
報の送信の要求を受信した場合、現在時刻の情報を取得
し、時刻情報送信処理部は、現在時刻取得部により取得
された現在時刻の情報を当該印刷装置に送信する。
An information processing apparatus according to the present invention includes a time request reception processing section, a current time acquisition section, and a time information transmission processing section, and the time request reception processing section includes a printing apparatus connected to the information processing apparatus. The current time acquisition unit receives the request for transmitting the time information to be transmitted, and the current time acquisition unit acquires the current time information when the time request reception processing unit receives the request for transmitting the time information. The unit transmits the current time information acquired by the current time acquisition unit to the printing device.

【0019】また、本発明の情報処理装置は、さらに、
情報受信処理部を備え、情報受信処理部は、当該印刷装
置が送信する時刻の情報と当該印刷装置の管理情報とを
受信するように構成することができる。
Further, the information processing apparatus of the present invention further comprises:
An information reception processing unit may be provided, and the information reception processing unit may be configured to receive time information transmitted by the printing apparatus and management information of the printing apparatus.

【0020】本発明の印刷装置の制御方法は、当該印刷
装置に接続された情報処理装置に対して時刻の情報の送
信を要求する時刻要求ステップと、当該情報処理装置が
送信する時刻の情報を受信する時刻受信ステップとを備
える。
According to the control method of a printing apparatus of the present invention, a time requesting step for requesting the information processing apparatus connected to the printing apparatus to transmit time information is provided. Receiving the time.

【0021】また、本発明の印刷装置の制御方法は、さ
らに、時刻受信ステップにおいて時刻の情報を受信して
からの経過時間を計測する経過時間計測ステップと、時
刻受信ステップにおいて受信された時刻の情報と経過時
間計測ステップにおいて計測された経過時間と、から現
在時刻の情報を計算して出力する現在時刻出力ステップ
とを備えるように構成することができる。
Further, the control method of the printing apparatus according to the present invention further comprises an elapsed time measuring step of measuring an elapsed time after receiving the time information in the time receiving step, and a measuring step of the time received in the time receiving step. A current time output step of calculating and outputting current time information from the information and the elapsed time measured in the elapsed time measurement step may be provided.

【0022】本構成では、たとえばプリンタ電源投入時
に一度だけ情報処理装置から時刻の情報を得て、その情
報をRAMやフラッシュEEPROMなどの記憶装置に
記憶するとともに、その後はプリンタが備えるカウンタ
などで経過時間を計測する。したがって、何回も時刻を
情報処理装置に問い合わせる必要はない。
In this configuration, for example, time information is obtained from the information processing device only once when the power of the printer is turned on, and the information is stored in a storage device such as a RAM or a flash EEPROM. Measure the time. Therefore, it is not necessary to inquire the information processing apparatus many times.

【0023】また、本発明の印刷装置の制御方法は、さ
らに、現在時刻の情報が必要であるか否かを判断し、必
要である場合、時刻要求ステップを実行する時刻要求処
理制御ステップと、時刻受信ステップにおいて受信され
た時刻の情報を出力する現在時刻出力ステップとを備え
るように構成することができる。
Further, the control method of the printing apparatus according to the present invention further determines whether or not the current time information is necessary, and if so, executes a time request step, and executes a time request step. A current time output step of outputting information of the time received in the time receiving step.

【0024】本構成では、現在時刻を知る必要があるた
びに情報処理装置から時刻の情報を得る。したがって、
経過時間を計測するカウンタなどを用意する必要はな
い。
In this configuration, every time it is necessary to know the current time, time information is obtained from the information processing device. Therefore,
It is not necessary to provide a counter for measuring the elapsed time.

【0025】また、本発明の印刷装置の制御方法は、さ
らに、現在時刻出力ステップにおいて出力された時刻の
情報と当該印刷装置の管理情報とを記憶する記憶ステッ
プと、記憶ステップにおいて記憶された時刻の情報と管
理情報とを通知する通知ステップとを備えるように構成
することができる。
Further, the printing apparatus control method of the present invention further comprises a storage step of storing the time information output in the current time output step and management information of the printing apparatus, and a time stored in the storage step. And a notification step of notifying the information and the management information.

【0026】また、本発明の印刷装置の制御方法の通知
ステップは、時刻の情報と管理情報とを当該情報処理装
置に対して送信することにより通知するように構成する
ことができる。
Further, the notification step of the printing apparatus control method of the present invention can be configured to notify the information processing apparatus by transmitting time information and management information to the information processing apparatus.

【0027】また、本発明の印刷装置の制御方法の通知
ステップは、時刻の情報と管理情報とを印刷することに
より通知するように構成することができる。
Further, the notifying step of the control method of the printing apparatus according to the present invention can be configured so that the time information and the management information are notified by printing.

【0028】本発明の情報処理装置の制御方法は、当該
情報処理装置に接続された印刷装置が送信する時刻の情
報の送信の要求を受信する時刻要求受信ステップと、時
刻要求受信ステップにおいて時刻の情報の送信の要求が
受信された場合、現在時刻の情報を取得する現在時刻取
得ステップと、現在時刻取得ステップにおいて取得され
た現在時刻の情報を当該印刷装置に送信する時刻情報送
信ステップとを備える。
According to the control method of an information processing apparatus of the present invention, a time request receiving step of receiving a request for transmission of time information transmitted by a printing apparatus connected to the information processing apparatus; When a request for information transmission is received, the method includes a current time acquisition step of acquiring information of the current time, and a time information transmission step of transmitting the information of the current time acquired in the current time acquisition step to the printing apparatus. .

【0029】また、本発明の情報処理装置の制御方法
は、さらに、当該印刷装置が送信する時刻の情報と当該
印刷装置の管理情報とを受信する情報受信ステップを備
えるように構成することができる。
Further, the control method of the information processing apparatus of the present invention can be configured to further include an information receiving step of receiving information on a time transmitted by the printing apparatus and management information of the printing apparatus. .

【0030】本発明の印刷装置や情報処理装置と、これ
らの制御方法を実現するプログラムをコンパクトディス
ク、フロッピーディスク、ハードディスク、光磁気ディ
スク、ディジタルビデオディスク、磁気テープ、半導体
メモリなどの情報記録媒体に記憶することができる。
The printing apparatus and information processing apparatus of the present invention and a program for realizing these control methods are stored in an information recording medium such as a compact disk, a floppy disk, a hard disk, a magneto-optical disk, a digital video disk, a magnetic tape, and a semiconductor memory. Can be memorized.

【0031】さらに、本発明の印刷装置や情報処理装置
を制御するためのプログラムを、WWW(World Wide W
eb)のサーバコンピュータに配置し、ここからオペレー
タが適宜ダウンロードして印刷装置や情報処理装置に記
憶させてプログラムを更新し、印刷装置や情報処理装置
にこのプログラムを実行させることができる。
Further, a program for controlling the printing apparatus and the information processing apparatus according to the present invention is written in WWW (World Wide WWW).
eb), the program can be updated by downloading the program from the server computer as appropriate and stored in the printing device or the information processing device, and the printing device or the information processing device can execute the program.

【0032】[0032]

【発明の実施の形態】以下に本発明の一実施形態を説明
する。なお、以下に説明する実施形態は説明のためのも
のであり、本願発明の範囲を制限するものではない。し
たがって、当業者であればこれらの各要素もしくは全要
素をこれと均等なものに置換した実施形態を採用するこ
とが可能であるが、これらの実施形態も本発明の範囲に
含まれる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. The embodiments described below are for explanation, and do not limit the scope of the present invention. Therefore, those skilled in the art can adopt embodiments in which each of these elements or all elements are replaced with equivalents, and these embodiments are also included in the scope of the present invention.

【0033】(印刷装置)図1には、本発明の印刷装置
(プリンタ)の実施例のブロック構成図を示す。
(Printing Apparatus) FIG. 1 is a block diagram showing a printing apparatus (printer) according to an embodiment of the present invention.

【0034】プリンタ101は、ホストコンピュータ1
50とインターフェース102を介して接続され、デー
タの送受信を行う。
The printer 101 is connected to the host computer 1
50 and an interface 102 for transmitting and receiving data.

【0035】ホストコンピュータ150がデータを送信
すると、インターフェース102がこれを受信して、R
AM 103内の受信バッファがこのデータを記憶す
る。
When the host computer 150 transmits data, the interface 102 receives the data, and
A receive buffer in AM 103 stores this data.

【0036】CPU(Central Processing Unit )10
4は、受信バッファに記憶されたデータを解釈して、こ
れが印刷コマンドであれば印刷イメージをRAM 10
3内のプリントバッファに展開し、プリントバッファが
一杯になるなど、所定のタイミングで印刷ヘッド、プラ
テン、紙送り機構などを含む印刷処理部105を動作さ
せ、文字や図形を紙に印刷する。
CPU (Central Processing Unit) 10
4 interprets the data stored in the reception buffer and, if this is a print command, stores the print image in the RAM 10.
3, the print processing unit 105 including a print head, a platen, a paper feed mechanism, and the like is operated at a predetermined timing such as when the print buffer becomes full, and prints characters and figures on paper.

【0037】印刷処理部105の印刷ヘッドにインクを
供給するためのインク供給ユニット106は交換可能で
あり、交換したか否かの情報をCPU 104が得るこ
とができる。
The ink supply unit 106 for supplying ink to the print head of the print processing unit 105 is replaceable, and the CPU 104 can obtain information on whether or not the ink supply unit 106 has been replaced.

【0038】プリンタ101は、必要に応じてホストコ
ンピュータ150に時刻の情報を要求し、現在の時刻の
情報を応答として得ることにより、インク供給ユニット
106の交換の現実の時刻を知ることができる。この時
刻の情報は、一時的にRAM103内の時刻記憶領域に
記憶することができる。
The printer 101 requests the time information from the host computer 150 as necessary, and obtains the current time information as a response, so that the actual time of replacement of the ink supply unit 106 can be known. This time information can be temporarily stored in the time storage area in the RAM 103.

【0039】また、プリンタ101は、ホストコンピュ
ータ150から時刻の情報を受信した時刻からの経過時
間をカウンタ107により計測するように構成すれば、
ホストコンピュータ150に対する時刻問い合わせの回
数を減らすことができる。
If the printer 101 is configured to measure the elapsed time from the time when the time information is received from the host computer 150 by the counter 107,
The number of time inquiries to the host computer 150 can be reduced.

【0040】カウンタ107は、たとえば、CPU 1
04を動作させるために必要なクロックの数を積算する
ことにより、経過時間を計測する。この場合、ホストコ
ンピュータ150から時刻の情報を受信すると、CPU
104は、カウンタ107をクリアし、積算を最初か
らやり直すようにすることができる。
The counter 107 is, for example, a CPU 1
The elapsed time is measured by integrating the number of clocks necessary for operating the 04. In this case, when time information is received from the host computer 150, the CPU
104 can clear the counter 107 and restart the integration from the beginning.

【0041】カウンタ107は、専用の電子回路を構成
してもよいし、所定のクロックごとにCPU 104に
発生されるクロック割込を利用し、RAM 103内の
カウンタ領域の値をCPU 104の増やしていくよう
な割込処理により構成してもよい。
The counter 107 may be configured as a dedicated electronic circuit, or may increase the value of the counter area in the RAM 103 by using the clock interrupt generated by the CPU 104 at every predetermined clock. The processing may be performed by an interrupting process.

【0042】このように、図1に示すようなカウンタ1
07を備えるプリンタでは、現在時刻を得るための手法
として上記2通りを採用することができる。また、コス
トやスペースの制限から、カウンタ107を設けること
ができない場合には、時刻の情報が必要になるたびにホ
ストコンピュータ150に時刻を問い合わせる実施態様
を採用すればよい。
Thus, the counter 1 shown in FIG.
07, the above two methods can be adopted as a method for obtaining the current time. If the counter 107 cannot be provided due to cost or space limitations, an embodiment may be employed in which the host computer 150 is inquired about the time each time the time information is needed.

【0043】フラッシュEEPROM 108には、イ
ンク供給ユニット106の交換の日時、インク供給ユニ
ット106の管理情報(白黒かカラーか、何回印刷した
か、あとどれぐらい寿命があると推測されるか、など)
を不揮発に記憶する。これらの情報は、インターフェー
ス102を介してホストコンピュータ150に送信さ
れ、プリンタ101の保守情報として利用される。
The flash EEPROM 108 stores the date and time of replacement of the ink supply unit 106, management information of the ink supply unit 106 (whether it is black and white or color, how many times it has been printed, how long it is estimated that it will last, etc.). )
Is stored in a nonvolatile manner. These pieces of information are transmitted to the host computer 150 via the interface 102 and are used as maintenance information of the printer 101.

【0044】また、印刷処理部105を動作させること
により、これらの管理情報を印刷することもできる。
The management information can be printed by operating the print processing unit 105.

【0045】説明の都合上、管理の対象としてインク供
給ユニット106をとりあげているが、これ以外の管理
対象として、用紙を切断するカッター刃、印刷ヘッドな
どを追加したり、管理対象を変更することは容易であ
る。複数の管理対象がある場合には、フラッシュEEP
ROM 108にそれぞれの管理対象用の領域を設けれ
ばよい。
For the sake of explanation, the ink supply unit 106 is taken as an object to be managed. However, as other objects to be managed, a cutter blade for cutting paper, a print head, or the like may be added or the object to be managed may be changed. Is easy. If there are multiple managed objects, flash EEP
What is necessary is just to provide an area for each management object in the ROM 108.

【0046】CPU 104の制御によって各部が動作
するが、この制御用プログラムはROM(Read Only Me
mory)110に記憶されており、CPU 104は、電
源投入時から、ROM 110に記憶されたプログラム
を順次実行する。ROM 110に記憶されたプログラ
ムは、適宜バージョンアップすることができる。
Each unit operates under the control of the CPU 104. The control program is stored in a ROM (Read Only Memory).
mory) 110, and the CPU 104 sequentially executes the programs stored in the ROM 110 from power-on. The program stored in the ROM 110 can be appropriately upgraded.

【0047】ここで、インターフェース102は、CP
U 104と共働して時刻要求処理部、時刻受信処理
部、通知処理部として機能し、カウンタ 107は、C
PU 104と共働して経過時間計測部として機能し、
CPU 104は、RAM 103、カウンタ107と
共働して現在時刻出力部として機能し、CPU 104
は、時刻要求処理制御部として機能し、フラッシュEE
PROM 108は、記憶部として機能し、印刷処理部
105は、通知処理部として機能する。
Here, the interface 102 is
U 104 functions in cooperation with U 104 to function as a time request processing unit, a time reception processing unit, and a notification processing unit.
In cooperation with PU 104, it functions as an elapsed time measuring unit,
The CPU 104 functions as a current time output unit in cooperation with the RAM 103 and the counter 107.
Functions as a time request processing control unit, and the flash EE
The PROM 108 functions as a storage unit, and the print processing unit 105 functions as a notification processing unit.

【0048】なお、記憶部として、フラッシュEEPR
OM 108ではなく、ハードディスク、フロッピーデ
ィスクなどの不揮発性記憶装置を利用することができ
る。また、インターフェース102を介して接続された
ホストコンピュータ150を記憶部として利用すること
もできる。これらの実施形態も本発明の範囲に含まれ
る。
It should be noted that a flash EEPROM is used as a storage unit.
Instead of the OM 108, a non-volatile storage device such as a hard disk or a floppy disk can be used. Further, the host computer 150 connected via the interface 102 can be used as a storage unit. These embodiments are also included in the scope of the present invention.

【0049】また、ROM 110は、印刷装置を制御
するプログラムを記録した情報記録媒体として機能す
る。
The ROM 110 functions as an information recording medium on which a program for controlling the printing apparatus is recorded.

【0050】(情報処理装置)図2には、本発明の情報
処理装置の実施例のブロック構成図を示す。本発明の情
報処理装置としては、汎用ビジネスコンピュータ、携帯
端末、レジスタ、会計システムなどのさまざまな情報処
理装置を採用することができる。これらの情報処理装置
に本発明の情報記録媒体に記憶されたプログラムを実行
させることにより、本発明の情報処理装置を実現するこ
とができる。
(Information Processing Apparatus) FIG. 2 is a block diagram showing an information processing apparatus according to an embodiment of the present invention. As the information processing device of the present invention, various information processing devices such as a general-purpose business computer, a portable terminal, a register, and an accounting system can be adopted. By causing these information processing apparatuses to execute the program stored in the information recording medium of the present invention, the information processing apparatus of the present invention can be realized.

【0051】情報処理装置(ホストコンピュータ)15
0は、CPU 202によって制御される。CPU 2
02は、インターフェース203を介してプリンタ10
1と通信を行う。CPU 202は、通信に必要なバッ
ファなど、一時的な記憶領域としてRAM 204を使
用する。
Information processing device (host computer) 15
0 is controlled by the CPU 202. CPU 2
02 is the printer 10 via the interface 203.
1 and communicate with each other. The CPU 202 uses the RAM 204 as a temporary storage area such as a buffer required for communication.

【0052】電源投入時にCPU 202が実行する初
期ローダプログラム(Initial Program Loader)はRO
M 205に記憶されている。初期ローダプログラム
は、適宜ハードディスク206やフロッピーディスク2
07などの本発明の情報記憶媒体に記憶されたプログラ
ムをRAM 204に読み込み、これをCPU 202
が実行する。
An initial loader program (Initial Program Loader) executed by the CPU 202 when the power is turned on is RO.
M 205. The initial loader program is stored in the hard disk 206 or the floppy disk 2 as appropriate.
07 and the like stored in the information storage medium of the present invention into the RAM 204,
Runs.

【0053】ユーザは、キーボードやマウスなどの入力
装置208から指示を入力し、これに応じてプリンタ1
01は、文字や図形を印刷したり、管理情報を通知して
きたりする。プリンタ101が送信してきた管理情報
は、CRT(Cathode Ray Tube)や液晶ディスプレイな
どの表示装置209に表示することができる。
The user inputs an instruction from an input device 208 such as a keyboard or a mouse, and responds to the instruction.
No. 01 prints characters and figures and notifies management information. The management information transmitted by the printer 101 can be displayed on a display device 209 such as a CRT (Cathode Ray Tube) or a liquid crystal display.

【0054】ホストコンピュータ150のリアルタイム
クロック(Real Time Clock ;RTC)210から現在
の時刻(年月日時分秒)を所定の精度で得ることができ
る。RTC 210は、ホストコンピュータ150本体
の電源とは別に、電池や大容量コンデンサなどのバッテ
リバックアップがされている。
The current time (year / month / day / hour / minute / second) can be obtained from the real time clock (RTC) 210 of the host computer 150 with a predetermined accuracy. The RTC 210 has a battery backup, such as a battery or a large-capacity capacitor, separately from the power supply of the host computer 150 itself.

【0055】CPU 202は、プリンタ101がイン
ターフェース203を介して現在時刻の情報を要求して
きた場合には、RTC 210から現在の時刻の情報を
取得して、この情報をインターフェース203を介して
プリンタ101に送信する。
When the printer 101 requests the current time information via the interface 203, the CPU 202 acquires the current time information from the RTC 210 and sends this information via the interface 203 to the printer 101. Send to

【0056】プリンタ101による時刻情報の要求に
は、たとえば特開平7−137358号公報に開示され
ているようなASB(Auto Status Back)機能を用いる
ことができる。すなわち、ASBで割り当てられたレジ
スタの所定のビットが立っているか否かによって、プリ
ンタ101が時刻の情報を要求しているか否かをホスト
コンピュータ150に対して送信する。
For requesting the time information by the printer 101, for example, an ASB (Auto Status Back) function as disclosed in Japanese Patent Application Laid-Open No. 7-137358 can be used. That is, whether or not the printer 101 is requesting time information is transmitted to the host computer 150 depending on whether or not a predetermined bit of a register assigned by ASB is set.

【0057】ホストコンピュータ150は、このビット
を検査して、以下のように定義される通常コマンドもし
くはリアルタイムコマンドで、プリンタに現在の時刻の
情報を送信する。以下は、プリンタの時刻設定コマンド
であり、「0x」は16進数を意味する接頭辞、'0'〜'
9'はそれぞれ、当該数字に対応するASCIIコードを
意味する。
The host computer 150 checks this bit and transmits information on the current time to the printer using a normal command or a real-time command defined as follows. The following is the time setting command of the printer, where "0x" is a prefix indicating a hexadecimal number, "0" to "0".
9 'means an ASCII code corresponding to the numeral.

【0058】0x1b 0x●● '1' '9' '9' '9' '0' '5' '
0' '1' '1' '9' '2' '3' '3' '4' このコマンドは、プリンタの時刻を1999年5月1日
19時23分34秒に設定する。
0x1b 0x ● '1''9''9''9''0''5''
0 '' 1 '' 1 '' 9 '' 2 '' 3 '' 3 '' 4 'This command sets the printer time to 19:23:34 on May 1, 1999.

【0059】プリンタ101は、受信した時刻をRAM
103などに一時的に保存する。カウンタ107がな
い場合などには、直接この値を現在時刻の情報として使
用することができる。カウンタ107を用いる場合に
は、この値を受信したときにカウンタ107をクリア
し、RAM 103に記憶された時刻情報に、カウンタ
107が積算した時間を加算すれば、現在時刻の情報を
得ることができる。
The printer 101 stores the received time in the RAM
103 or the like. When there is no counter 107, this value can be directly used as information on the current time. When the counter 107 is used, the counter 107 is cleared when this value is received, and the current time information can be obtained by adding the time accumulated by the counter 107 to the time information stored in the RAM 103. it can.

【0060】なお、プリンタ101からの要求がなくと
も、ホストコンピュータ150から時刻設定コマンドを
送信してもよい。この場合は、所定のトランザクション
ごと(たとえば印刷するページごとやジョブごと)にホ
ストコンピュータ150から時刻設定コマンドを送信す
る。
The time setting command may be transmitted from the host computer 150 without a request from the printer 101. In this case, a time setting command is transmitted from the host computer 150 for each predetermined transaction (for example, for each page to be printed or for each job).

【0061】ここで、インターフェース203は、CP
U 202と共働して時刻要求受信処理部と、時刻情報
送信処理部と、情報受信処理部して機能し、RTC 2
10は、CPU 202と共働して現在時刻取得部とし
て機能する。
Here, the interface 203
In cooperation with U 202, it functions as a time request reception processing unit, a time information transmission processing unit, and an information reception processing unit.
10 functions as a current time acquisition unit in cooperation with the CPU 202.

【0062】また、ハードディスク206やフロッピー
ディスク207は、本発明の情報処理装置を制御するプ
ログラムを記録した情報記録媒体として機能する。
The hard disk 206 and the floppy disk 207 function as an information recording medium on which a program for controlling the information processing apparatus of the present invention is recorded.

【0063】(時刻情報通信処理の実施例)図3は、図
1に示すプリンタ101と、図2に示すホストコンピュ
ータ150との間で、現在時刻の情報がやりとりされる
時刻情報通信処理の流れを示すフローチャートである。
(Embodiment of Time Information Communication Processing) FIG. 3 shows a flow of time information communication processing in which information on the current time is exchanged between the printer 101 shown in FIG. 1 and the host computer 150 shown in FIG. It is a flowchart which shows.

【0064】プリンタ101のCPU 104が何らか
の理由で時刻の情報をホストコンピュータ150から取
得する必要が生じたことを検知した場合、本処理が開始
される。本処理の開始の契機としては、以下のような事
由が考えられる。
When the CPU 104 of the printer 101 detects that it is necessary to obtain the time information from the host computer 150 for some reason, this processing is started. The following reasons can be considered as triggers for the start of this processing.

【0065】・プリンタ101に電源が投入された場
合。特にカウンタ107がある場合である。
When the power of the printer 101 is turned on. Especially when there is a counter 107.

【0066】・プリンタ101がリセットされた場合。
特にカウンタ107がある場合である。
When the printer 101 is reset.
Especially when there is a counter 107.

【0067】・カウンタ107の値が所定の値を超えた
場合。カウンタ107の計測の誤差を考慮したものであ
り、許容誤差に応じてRAM 103に記憶される時刻
の情報をリフレッシュする場合である。
When the value of the counter 107 exceeds a predetermined value. This is based on the measurement error of the counter 107, and is a case where the time information stored in the RAM 103 is refreshed according to the allowable error.

【0068】・プリンタ101でインク供給ユニット1
06が交換され、管理情報と現在時刻の情報とフラッシ
ュEEPROM 108に記憶する必要がある場合。特
にカウンタ107がない場合である。
The ink supply unit 1 in the printer 101
06 has been exchanged and needs to be stored in the flash EEPROM 108 with management information, current time information. Particularly, there is no counter 107.

【0069】まず、CPU 104は、たとえばASB
機能を用い、インターフェース102を介して、ホスト
コンピュータ150に、現在の時刻の情報を送信するよ
う要求する(ステップS301)。
First, the CPU 104 executes, for example, ASB
Using the function, a request is made to the host computer 150 via the interface 102 to transmit information on the current time (step S301).

【0070】ホストコンピュータ150がインターフェ
ース203を介して現在の時刻の情報の要求を受信する
と(ステップS302)、CPU 202は、RTC
210から現在の時刻(年月日時分秒)の情報を所定の
精度で取得する(ステップS303)。
When the host computer 150 receives a request for information on the current time via the interface 203 (step S302), the CPU 202
Information on the current time (year, month, day, hour, minute, second) is acquired from 210 with a predetermined accuracy (step S303).

【0071】さらに、RTC 210から取得した時刻
の情報を、上述の時刻設定コマンドの形式で、インター
フェース203を介してプリンタ101に送信する(ス
テップS304)。
Further, the time information acquired from the RTC 210 is transmitted to the printer 101 via the interface 203 in the format of the time setting command described above (step S304).

【0072】プリンタ101がインターフェース102
を介して、時刻設定コマンドを受信すると(ステップS
305)、CPU 104は、RAM 103内の時刻
記憶領域に時刻設定コマンドに含まれる時刻の情報を記
憶し(ステップS306)、本処理を終了する。
When the printer 101 is the interface 102
When a time setting command is received via the
305), the CPU 104 stores the time information included in the time setting command in the time storage area in the RAM 103 (step S306), and ends this processing.

【0073】時刻設定コマンドは、リアルタイムコマン
ド(インターフェース102が発生させる受信割込で解
釈されるコマンド)として実現してもよいし、通常コマ
ンド(RAM 103内の受信バッファに記憶されたデ
ータからCPU 104が順次解釈するコマンド)とし
て実現してもよい。前者による方が時刻情報の精度が高
いが、割込処理は短時間で処理を終了させる必要がある
ため、プリンタ自体のハードウェア的な制約などによっ
ていずれのコマンドを採用するか決定することができ
る。
The time setting command may be realized as a real-time command (a command interpreted by a reception interrupt generated by the interface 102) or a normal command (from the data stored in the reception buffer in the RAM 103 to the CPU 104). May be realized as commands which are interpreted sequentially. The former has higher accuracy of the time information, but the interrupt processing needs to be completed in a short time, so that it is possible to determine which command is to be adopted due to hardware limitations of the printer itself. .

【0074】(第1実施例)図4は、プリンタ101が
カウンタ107を備える場合のプリンタ101において
実行されるカウンタ初期化処理の流れを示すフローチャ
ートである。本処理は、プリンタ101に電源が投入さ
れたときやプリンタ101がリセットされた場合などに
起動される。
(First Embodiment) FIG. 4 is a flowchart showing the flow of a counter initialization process executed in the printer 101 when the printer 101 has the counter 107. This process is started when the power of the printer 101 is turned on or when the printer 101 is reset.

【0075】まず、CPU 104は、上述した時刻情
報通信処理(図3に示すステップS301〜ステップS
306)を実行して(ステップS401)、RAM 1
03内の時刻記憶領域に、ホストコンピュータ150か
ら送信された時刻の情報を記憶する。
First, the CPU 104 executes the above-described time information communication processing (steps S301 to S301 shown in FIG. 3).
306) (step S401), and the RAM 1
The time information transmitted from the host computer 150 is stored in the time storage area 03.

【0076】ついで、CPU 104は、カウンタ10
7をリセットして、積算を開始させ(ステップS40
2)、本処理を終了する。
Next, the CPU 104 operates the counter 10
7 is reset to start integration (step S40).
2), end this processing.

【0077】図5は、図4に示すカウンタ初期化処理が
終了した後、プリンタ101において実行される現在時
刻出力処理の流れを示すフローチャートである。本処理
では、現在の時刻の情報がプリンタ101側で得られ、
当該情報がRAM 103内に記憶(「出力」)され
る。なお、「出力」はCPU 104が有するレジスタ
に対して行われると考えることもできる。
FIG. 5 is a flowchart showing the flow of the current time output process executed in the printer 101 after the counter initialization process shown in FIG. 4 is completed. In this process, information on the current time is obtained on the printer 101 side,
The information is stored ("output") in the RAM 103. Note that “output” can be considered to be performed on a register included in the CPU 104.

【0078】まず、CPU 104は、RAM 103
内の時刻記憶領域に記憶された時刻の情報Tを取得する
(ステップS501)。
First, the CPU 104
The time information T stored in the time storage area is obtained (step S501).

【0079】ついで、CPU 104は、カウンタ10
7に積算された値sを取得する(ステップS502)。
Next, the CPU 104 sets the counter 10
The value s integrated to 7 is obtained (step S502).

【0080】さらに、ステップS501において得られ
た時刻の情報Tと、ステップS502において得られた
値sと、あらかじめ設定されたカウンタ107の積算の
周期tとから、CPU 104は、現在の時刻nを以下
の式により計算する(ステップS503)。
Further, based on the time information T obtained in step S501, the value s obtained in step S502, and the integration cycle t of the counter 107 set in advance, the CPU 104 determines the current time n. It is calculated by the following equation (step S503).

【0081】n = T + s×t 最後に、CPU 104は得られた時刻nを、CPU
104内のレジスタもしくは、RAM 103内の所定
の領域に記憶させることにより、出力する(ステップS
504)。
N = T + s × t Finally, the CPU 104 compares the obtained time n with the CPU
The data is output by being stored in a register in the RAM 104 or a predetermined area in the RAM 103 (Step S
504).

【0082】なお、本処理に、以下の処理を追加するこ
とにより、時刻nを高い精度で得ることができる。すな
わち、ステップS502において得られた値sが所定の
値より大きいか否かを判断し、大きい場合には、カウン
タ初期化処理(ステップS401〜ステップS402)
を実行してから、ステップS501に戻る。
The time n can be obtained with high accuracy by adding the following processing to this processing. That is, it is determined whether or not the value s obtained in step S502 is larger than a predetermined value. If it is larger, the counter is initialized (steps S401 to S402).
And then returns to step S501.

【0083】(第2実施例)本実施例は、プリンタ10
1がカウンタ107を使用しない場合やカウンタ107
を備えない場合に適用することができる。すなわち、第
1実施例の現在時刻出力処理のかわりに、図3を参照し
て説明した時刻情報通信処理(ステップS301〜ステ
ップS306)を実行すればよい。すると、RAM 1
03内の時刻情報領域に、現在の時刻の情報が「出力」
されることになる。
(Second Embodiment) In this embodiment, the printer 10
1 does not use the counter 107 or the counter 107
This can be applied when not provided. That is, the time information communication process (steps S301 to S306) described with reference to FIG. 3 may be performed instead of the current time output process of the first embodiment. Then, RAM 1
The current time information is output to the time information area in 03
Will be done.

【0084】(現在時刻出力処理の応用)第1実施例お
よび第2実施例の現在時刻出力処理によってCPU 1
04は現在の時刻の情報を得ることができる。この時刻
の情報を用いれば、たとえば、インク供給ユニット10
6の交換時期などの情報当該インク供給ユニット106
の情報などとともにフラッシュEEPROM 108に
記憶することができる。図6に、このようにフラッシュ
EEPROM 108の領域の割り当ての一例を示す。
(Application of Current Time Output Processing) The CPU 1 performs the current time output processing of the first and second embodiments.
04 can obtain information on the current time. Using this time information, for example, the ink supply unit 10
6, such as the replacement time of the ink supply unit 106
The information can be stored in the flash EEPROM 108 together with the above information. FIG. 6 shows an example of the area allocation of the flash EEPROM 108 in this manner.

【0085】フラッシュEEPROM 108には、イ
ンク供給ユニット106を装着した日時情報を記憶する
領域601と、インク供給ユニットの種類を記憶する領
域602と、インク供給ユニットをどの程度使用したか
の使用量を記憶する領域603と、あとどの程度の期間
インク供給ユニットを使用できるかを予測した値を記憶
する領域604と、が用意されている。
The flash EEPROM 108 has an area 601 for storing date and time information when the ink supply unit 106 is mounted, an area 602 for storing the type of the ink supply unit, and an amount of use of the ink supply unit. An area 603 for storing the data and an area 604 for storing a value that predicts how long the ink supply unit can be used are prepared.

【0086】さらに、これらの領域を複数設けることに
より、インク供給ユニットの使用の履歴をプリンタ10
1に不揮発に記憶させてもよい。
Further, by providing a plurality of these areas, the use history of the ink supply unit can be stored in the printer 10.
1 may be stored in a nonvolatile manner.

【0087】これらの情報をホストコンピュータ150
に送信したり、印刷処理部105を駆動して紙などに印
刷したりすることができる。これらの管理情報の扱いに
ついては、公知の技法を利用することができるため、本
願では詳細な説明は省略する。
The information is transferred to the host computer 150.
, Or by driving the print processing unit 105 to perform printing on paper or the like. Since a known technique can be used for handling such management information, detailed description thereof is omitted in this application.

【0088】[0088]

【発明の効果】以上説明したように、本発明によれば、
以下の効果を奏する。
As described above, according to the present invention,
The following effects are obtained.

【0089】まず、現在の時刻を取得するためのリアル
タイムクロックを有していない印刷装置に対して現在の
時刻の情報を送信することにより、リアルタイムクロッ
クと同等の機能を当該印刷装置で実現することができる
ような印刷装置、情報処理装置、これらの制御方法を提
供することができる。
First, by transmitting information on the current time to a printing apparatus that does not have a real-time clock for acquiring the current time, a function equivalent to the real-time clock is realized by the printing apparatus. Printing apparatus, information processing apparatus, and control method thereof.

【0090】さらに、印刷装置で現在の時刻を取得し、
たとえばインク供給ユニットの交換日時などの情報を当
該ユニットの管理情報とともに印刷装置に不揮発に記憶
しておき、この情報を印刷装置に接続された情報処理装
置で利用したり、印刷装置自体に印刷させたりして、印
刷装置の保守・運用・改良に必要な情報を得ることがで
きる。
Further, the current time is obtained by the printing device,
For example, information such as the date and time of replacement of the ink supply unit is stored in a printing device in a nonvolatile manner together with the management information of the unit, and this information is used by an information processing device connected to the printing device or printed by the printing device itself. Thus, information necessary for maintenance, operation, and improvement of the printing apparatus can be obtained.

【0091】さらに、プログラムを記録した情報記録媒
体をソフトウェア商品として、印刷装置のハードウェア
と独立して容易に配布したり販売したりすることができ
るようになる。本発明の情報記録媒体に記録されたプロ
グラムを印刷装置で実行すれば、上記の発明に係る印刷
装置、情報処理装置およびこれらの制御方法が実現でき
る。
Further, the information recording medium on which the program is recorded can be easily distributed or sold as a software product independently of the hardware of the printing apparatus. When the program recorded on the information recording medium of the present invention is executed by a printing device, the printing device, the information processing device, and the control method thereof according to the above invention can be realized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の印刷装置の実施例の概要を示すブロッ
ク構成図。
FIG. 1 is a block diagram showing an outline of an embodiment of a printing apparatus according to the present invention.

【図2】本発明の情報処理装置の実施例の概要を示すブ
ロック構成図。
FIG. 2 is a block diagram showing an outline of an embodiment of the information processing apparatus of the present invention.

【図3】本発明の印刷装置と情報処理装置とで実行され
る時刻情報通信処理の流れを示すフローチャート。
FIG. 3 is a flowchart illustrating a flow of time information communication processing executed by the printing apparatus and the information processing apparatus of the present invention.

【図4】本発明の印刷装置の第1実施例で実行されるカ
ウンタ初期化処理の流れを示すフローチャート。
FIG. 4 is a flowchart illustrating a flow of a counter initialization process executed in the first embodiment of the printing apparatus of the present invention.

【図5】本発明の印刷装置の第1実施例で実行される現
在時刻出力処理の流れを示すフローチャート。
FIG. 5 is a flowchart illustrating a flow of a current time output process executed in the first embodiment of the printing apparatus of the present invention.

【図6】本発明のフラッシュEEPROMの領域の割り
当ての一例を示す説明図。
FIG. 6 is an explanatory diagram showing an example of area allocation of a flash EEPROM according to the present invention.

【符号の説明】[Explanation of symbols]

101 プリンタ 102 インターフェース 103 RAM 104 CPU 105 印刷処理部 106 インク供給ユニット 107 カウンタ 108 フラッシュEEPROM 110 ROM 150 ホストコンピュータ 202 CPU 203 インターフェース 204 RAM 205 ROM 206 ハードディスク 207 フロッピーディスク 208 入力装置 209 表示装置 210 RTC 601 使用開始日時領域 602 種類領域 603 使用量領域 604 使用期限予測値領域 101 printer 102 interface 103 RAM 104 CPU 105 print processing unit 106 ink supply unit 107 counter 108 flash EEPROM 110 ROM 150 host computer 202 CPU 203 interface 204 RAM 205 ROM ROM 206 hard disk 207 floppy disk 208 input device 209 display device 210 RTC 601 start of use Date / time area 602 Type area 603 Usage area 604 Expiration date prediction value area

Claims (25)

【特許請求の範囲】[Claims] 【請求項1】 以下を備えることを特徴とする印刷装
置。 (a)当該印刷装置に接続された情報処理装置に対して
時刻の情報の送信を要求する時刻要求処理部と、 (b)当該情報処理装置が送信する時刻の情報を受信す
る時刻受信処理部。
1. A printing apparatus comprising: (A) a time request processing unit that requests the information processing device connected to the printing device to transmit time information; and (b) a time reception processing unit that receives time information transmitted by the information processing device. .
【請求項2】さらに、以下を備えることを特徴とする請
求項1記載の印刷装置。 (c)前記時刻受信処理部が時刻の情報を受信してから
の経過時間を計測する経過時間計測部と、 (d)前記時刻受信処理部により受信された時刻の情報
と前記経過時間計測部により計測された経過時間と、か
ら現在時刻の情報を計算して出力する現在時刻出力部。
2. The printing apparatus according to claim 1, further comprising: (C) an elapsed time measuring unit that measures an elapsed time after the time reception processing unit receives the time information; and (d) the time information and the elapsed time measurement unit that are received by the time reception processing unit. A current time output unit that calculates and outputs information on the current time from the elapsed time measured by
【請求項3】 さらに、以下を備えることを特徴とする
請求項1記載の印刷装置。 (e)現在時刻の情報が必要であると判断した場合、前
記時刻要求処理部に時刻の情報の送信を要求させる時刻
要求処理制御部と、 (f)前記時刻受信部により受信された時刻の情報を出
力する現在時刻出力部。
3. The printing apparatus according to claim 1, further comprising: (E) a time request processing control unit for requesting the time request processing unit to transmit the time information when it is determined that the current time information is required; Current time output unit that outputs information.
【請求項4】 さらに、以下を備えることを特徴とする
請求項2もしくは3記載の印刷装置。 (g)前記現在時刻出力部により出力された時刻の情報
と当該印刷装置の管理情報とを記憶する記憶部と、 (h)前記記憶部に記憶された時刻の情報と管理情報と
を通知する通知処理部。
4. The printing apparatus according to claim 2, further comprising: (G) a storage unit for storing the time information output by the current time output unit and management information of the printing apparatus; and (h) notifying the time information and management information stored in the storage unit. Notification processing unit.
【請求項5】 前記通知処理部は、時刻の情報と管理情
報とを当該情報処理装置に対して送信することにより通
知することを特徴とする請求項4記載の印刷装置。
5. The printing apparatus according to claim 4, wherein the notification processing unit notifies the information processing apparatus by transmitting time information and management information to the information processing apparatus.
【請求項6】 前記通知処理部は、時刻の情報と管理情
報とを印刷することにより通知することを特徴とする請
求項4記載の印刷装置。
6. The printing apparatus according to claim 4, wherein the notification processing unit notifies by printing time information and management information.
【請求項7】 以下を備えることを特徴とする情報処理
装置。 (a)当該情報処理装置に接続された印刷装置が送信す
る時刻の情報の送信の要求を受信する時刻要求受信処理
部と、 (b)前記時刻要求受信処理部が時刻の情報の送信の要
求を受信した場合、現在時刻の情報を取得する現在時刻
取得部と、 (c)前記現在時刻取得部により取得された現在時刻の
情報を当該印刷装置に送信する時刻情報送信処理部。
7. An information processing apparatus comprising: (A) a time request reception processing unit that receives a request for transmission of time information transmitted by a printing device connected to the information processing device; and (b) the time request reception processing unit requests transmission of time information. And (c) a time information transmission processing unit that transmits the current time information acquired by the current time acquisition unit to the printing apparatus.
【請求項8】 さらに、以下を備えることを特徴とする
請求項7記載の情報処理装置。 (d)当該印刷装置が送信する時刻の情報と当該印刷装
置の管理情報とを受信する情報受信処理部。
8. The information processing apparatus according to claim 7, further comprising: (D) an information reception processing unit that receives information on the time transmitted by the printing apparatus and management information on the printing apparatus.
【請求項9】 以下のステップを備えることを特徴とす
る印刷装置の制御方法。 (a)当該印刷装置に接続された情報処理装置に対して
時刻の情報の送信を要求する時刻要求ステップと、 (b)当該情報処理装置が送信する時刻の情報を受信す
る時刻受信ステップ。
9. A method for controlling a printing apparatus, comprising the following steps. (A) a time requesting step for requesting the information processing apparatus connected to the printing apparatus to transmit time information; and (b) a time receiving step for receiving time information transmitted by the information processing apparatus.
【請求項10】 さらに、以下のステップを備えること
を特徴とする請求項9記載の印刷装置の制御方法。 (c)前記時刻受信ステップにおいて時刻の情報を受信
してからの経過時間を計測する経過時間計測ステップ
と、 (d)前記時刻受信ステップにおいて受信された時刻の
情報と前記経過時間計測ステップにおいて計測された経
過時間と、から現在時刻の情報を計算して出力する現在
時刻出力ステップ。
10. The method according to claim 9, further comprising the following steps. (C) an elapsed time measuring step for measuring an elapsed time after receiving the time information in the time receiving step; and (d) a time information received in the time receiving step and measuring in the elapsed time measuring step. A current time output step of calculating and outputting information of the current time from the elapsed time.
【請求項11】 さらに、以下のステップを備えること
を特徴とする請求項9記載の印刷装置の制御方法。 (e)現在時刻の情報が必要であるか否かを判断し、必
要である場合、前記時刻要求ステップを実行する時刻要
求処理制御ステップと、 (f)前記時刻受信ステップにおいて受信された時刻の
情報を出力する現在時刻出力ステップ。
11. The method according to claim 9, further comprising the following steps. (E) determining whether or not information on the current time is necessary, and if so, controlling the time request processing to execute the time request step; and (f) determining the time received in the time receiving step. Current time output step to output information.
【請求項12】 さらに、以下のステップを備えること
を特徴とする請求項10もしくは11記載の印刷装置の
制御方法。 (g)前記現在時刻出力ステップにおいて出力された時
刻の情報と当該印刷装置の管理情報とを記憶する記憶ス
テップと、 (h)前記記憶ステップにおいて記憶された時刻の情報
と管理情報とを通知する通知ステップ。
12. The method according to claim 10, further comprising the following steps. (G) a storage step of storing the time information output in the current time output step and the management information of the printing apparatus; and (h) notifying the time information and management information stored in the storage step. Notification step.
【請求項13】 前記通知ステップは、時刻の情報と管
理情報とを当該情報処理装置に対して送信することによ
り通知することを特徴とする請求項12記載の印刷装置
の制御方法。
13. The control method for a printing apparatus according to claim 12, wherein the notification step notifies the information processing apparatus by transmitting time information and management information to the information processing apparatus.
【請求項14】 前記通知ステップは、時刻の情報と管
理情報とを印刷することにより通知することを特徴とす
る請求項12記載の印刷装置。
14. The printing apparatus according to claim 12, wherein said notifying step notifies by printing time information and management information.
【請求項15】 以下のステップを備えることを特徴と
する情報処理装置の制御方法。 (a)当該情報処理装置に接続された印刷装置が送信す
る時刻の情報の送信の要求を受信する時刻要求受信ステ
ップと、 (b)前記時刻要求受信ステップにおいて時刻の情報の
送信の要求が受信された場合、現在時刻の情報を取得す
る現在時刻取得ステップと、 (c)前記現在時刻取得ステップにおいて取得された現
在時刻の情報を当該印刷装置に送信する時刻情報送信ス
テップ。
15. A method for controlling an information processing apparatus, comprising the following steps. (A) a time request receiving step of receiving a request for transmitting time information transmitted by a printing device connected to the information processing apparatus; and (b) receiving a request for transmitting time information in the time request receiving step. If so, a current time obtaining step for obtaining current time information; and (c) a time information transmitting step for transmitting the current time information obtained in the current time obtaining step to the printing apparatus.
【請求項16】 さらに、以下のステップを備えること
を特徴とする請求項15記載の情報処理装置の制御方
法。 (d)当該印刷装置が送信する時刻の情報と当該印刷装
置の管理情報とを受信する情報受信ステップ。
16. The method according to claim 15, further comprising the following steps. (D) an information receiving step of receiving time information transmitted by the printing apparatus and management information of the printing apparatus.
【請求項17】 以下のステップを備えることを特徴と
する印刷装置を制御するプログラムを記録した情報記録
媒体。 (a)当該印刷装置に接続された情報処理装置に対して
時刻の情報の送信を要求する時刻要求ステップと、 (b)当該情報処理装置が送信する時刻の情報を受信す
る時刻受信ステップ。
17. An information recording medium having recorded thereon a program for controlling a printing apparatus, comprising the following steps. (A) a time requesting step for requesting the information processing apparatus connected to the printing apparatus to transmit time information; and (b) a time receiving step for receiving time information transmitted by the information processing apparatus.
【請求項18】 さらに、以下のステップを備えること
を特徴とする請求項17記載のプログラムを記録した情
報記録媒体。 (c)前記時刻受信ステップにおいて時刻の情報を受信
してからの経過時間を計測する経過時間計測ステップ
と、 (d)前記時刻受信ステップにおいて受信された時刻の
情報と前記経過時間計測ステップにおいて計測された経
過時間と、から現在時刻の情報を計算して出力する現在
時刻出力ステップ。
18. The information recording medium according to claim 17, further comprising the following steps. (C) an elapsed time measuring step for measuring an elapsed time after receiving the time information in the time receiving step; and (d) a time information received in the time receiving step and measuring in the elapsed time measuring step. A current time output step of calculating and outputting information of the current time from the elapsed time.
【請求項19】 さらに、以下のステップを備えること
を特徴とする請求項17記載のプログラムを記録した情
報記録媒体。 (e)現在時刻の情報が必要であるか否かを判断し、必
要である場合、前記時刻要求ステップを実行する時刻要
求処理制御ステップと、 (f)前記時刻受信ステップにおいて受信された時刻の
情報を出力する現在時刻出力ステップ。
19. An information recording medium recording a program according to claim 17, further comprising the following steps. (E) determining whether or not information on the current time is necessary, and if so, controlling the time request processing to execute the time request step; and (f) determining the time received in the time receiving step. Current time output step to output information.
【請求項20】 さらに、以下のステップを備えること
を特徴とする請求項18もしくは19記載のプログラム
を記録した情報記録媒体。 (g)前記現在時刻出力ステップにおいて出力された時
刻の情報と当該印刷装置の管理情報とを記憶する記憶ス
テップと、 (h)前記記憶ステップにおいて記憶された時刻の情報
と管理情報とを通知する通知ステップ。
20. An information recording medium recording a program according to claim 18, further comprising the following steps. (G) a storage step of storing the time information output in the current time output step and the management information of the printing apparatus; and (h) notifying the time information and management information stored in the storage step. Notification step.
【請求項21】 前記通知ステップは、時刻の情報と管
理情報とを当該情報処理装置に対して送信することによ
り通知することを特徴とする請求項20記載の印刷装置
を制御するプログラムを記録した情報記録媒体。
21. A program for controlling a printing apparatus according to claim 20, wherein said notifying step notifies said information processing apparatus by transmitting time information and management information to said information processing apparatus. Information recording medium.
【請求項22】 前記通知ステップは、時刻の情報と管
理情報とを印刷することにより通知することを特徴とす
る請求項20記載の印刷装置。
22. The printing apparatus according to claim 20, wherein the notifying step notifies by printing time information and management information.
【請求項23】 以下のステップを備えることを特徴と
する情報処理装置を制御するプログラムを記録した情報
記録媒体。 (a)当該情報処理装置に接続された印刷装置が送信す
る時刻の情報の送信の要求を受信する時刻要求受信ステ
ップと、 (b)前記時刻要求受信ステップにおいて時刻の情報の
送信の要求が受信された場合、現在時刻の情報を取得す
る現在時刻取得ステップと、 (c)前記現在時刻取得ステップにおいて取得された現
在時刻の情報を当該印刷装置に送信する時刻情報送信ス
テップ。
23. An information recording medium recorded with a program for controlling an information processing apparatus, comprising the following steps. (A) a time request receiving step of receiving a request for transmitting time information transmitted by a printing device connected to the information processing apparatus; and (b) receiving a request for transmitting time information in the time request receiving step. If so, a current time obtaining step for obtaining current time information; and (c) a time information transmitting step for transmitting the current time information obtained in the current time obtaining step to the printing apparatus.
【請求項24】 さらに、以下のステップを備えること
を特徴とする請求項23記載のプログラムを記録した情
報記録媒体。 (d)当該印刷装置が送信する時刻の情報と当該印刷装
置の管理情報とを受信する情報受信ステップ。
24. The information recording medium according to claim 23, further comprising the following steps. (D) an information receiving step of receiving time information transmitted by the printing apparatus and management information of the printing apparatus.
【請求項25】 前記情報記録媒体は、コンパクトディ
スク、フロッピーディスク、ハードディスク、光磁気デ
ィスク、ディジタルビデオディスク、磁気テープ、また
は、半導体メモリであることを特徴とする請求項17か
ら24のいずれか記載のプログラムを記録した情報記録
媒体。
25. The information recording medium according to claim 17, wherein the information recording medium is a compact disk, a floppy disk, a hard disk, a magneto-optical disk, a digital video disk, a magnetic tape, or a semiconductor memory. Information recording medium on which the program of the above is recorded.
JP25784499A 1999-09-10 1999-09-10 Printing apparatus, information-processing apparatus, method for controlling them, and information-recording medium Withdrawn JP2001080167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25784499A JP2001080167A (en) 1999-09-10 1999-09-10 Printing apparatus, information-processing apparatus, method for controlling them, and information-recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25784499A JP2001080167A (en) 1999-09-10 1999-09-10 Printing apparatus, information-processing apparatus, method for controlling them, and information-recording medium

Publications (1)

Publication Number Publication Date
JP2001080167A true JP2001080167A (en) 2001-03-27

Family

ID=17311944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25784499A Withdrawn JP2001080167A (en) 1999-09-10 1999-09-10 Printing apparatus, information-processing apparatus, method for controlling them, and information-recording medium

Country Status (1)

Country Link
JP (1) JP2001080167A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7428065B2 (en) 2002-09-17 2008-09-23 Seiko Epson Corporation Printer and information processing apparatus
JP2009115733A (en) * 2007-11-09 2009-05-28 Nec Corp Time-synchronizing system, time-synchronizing device, time synchronization method, and time synchronization program
JP2010085227A (en) * 2008-09-30 2010-04-15 Brother Ind Ltd Electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7428065B2 (en) 2002-09-17 2008-09-23 Seiko Epson Corporation Printer and information processing apparatus
JP2009115733A (en) * 2007-11-09 2009-05-28 Nec Corp Time-synchronizing system, time-synchronizing device, time synchronization method, and time synchronization program
JP2010085227A (en) * 2008-09-30 2010-04-15 Brother Ind Ltd Electronic device
JP4645720B2 (en) * 2008-09-30 2011-03-09 ブラザー工業株式会社 Electronics
US8402299B2 (en) 2008-09-30 2013-03-19 Brother Kogyo Kabushiki Kaisha Electronics device having timekeeping function and computer-readable record medium storing program for timekeeping function

Similar Documents

Publication Publication Date Title
EP1814063B1 (en) Printer, host computer, printing system, and printing system control method
US7884967B2 (en) Printer control apparatus and method
KR100516700B1 (en) Printing apparatus and control methed therefor and its recording medium
JP6431279B2 (en) Printing apparatus and printing apparatus control method
JP4622069B2 (en) Printing apparatus, control method thereof, and information recording medium
JP2001080167A (en) Printing apparatus, information-processing apparatus, method for controlling them, and information-recording medium
JP5979944B2 (en) Printing system, printing apparatus used in printing system, printing method, and program
US7265857B1 (en) Medium where status information printing program is recorded, printer, print controller, status information printing method, and status information printing system
JP4670124B2 (en) Host computer, printer driver, control method therefor, and information recording medium
US7436534B2 (en) Printer, an operation panel thereof having a function for doing maintenance of print station
JP2000025306A (en) Printer
CN100414460C (en) Method of and apparatus for indicating a time to replace consumables in an image forming apparatus
JP4013759B2 (en) Print control apparatus and program
JP2013061835A (en) Recording control device, control method for recording device, and program
JP2007261191A (en) Printer
JPH09187964A (en) Image-forming apparatus, information-processing apparatus, system and controlling method therefor
JP2001138604A (en) Printer, control method thereof and information recording medium
JP2005018493A (en) Information processor, printer, purchase processing method of consumable unit, computer readable storage medium, and program
JPH10151810A (en) Method for controlling label printer and label printer
JP2006192910A (en) Printer, its controlling method and recording medium
JP2003058342A (en) Device and method for controlling printing, storage medium and program
KR101092552B1 (en) image forming apparatus and host apparatus
JP2000168201A (en) Printer, control method therefor and recording medium
JP5057483B2 (en) Information processing apparatus, control method therefor, and program
JPH03202374A (en) Printing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20061205