JPH10301735A - Printer device and control method therefor - Google Patents

Printer device and control method therefor

Info

Publication number
JPH10301735A
JPH10301735A JP9109539A JP10953997A JPH10301735A JP H10301735 A JPH10301735 A JP H10301735A JP 9109539 A JP9109539 A JP 9109539A JP 10953997 A JP10953997 A JP 10953997A JP H10301735 A JPH10301735 A JP H10301735A
Authority
JP
Japan
Prior art keywords
program
host
printer
recording
control program
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
JP9109539A
Other languages
Japanese (ja)
Other versions
JP3647197B2 (en
Inventor
Akira Ito
亮 伊藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP10953997A priority Critical patent/JP3647197B2/en
Publication of JPH10301735A publication Critical patent/JPH10301735A/en
Application granted granted Critical
Publication of JP3647197B2 publication Critical patent/JP3647197B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printer device and a printer control method capable of efficiently using a memory small in capacity and rapidly dealing with the occurrence of failure in a control program. SOLUTION: At the time of the power supply of a printer device, an initial program stored in an ROM 1702 provided at the device and a communication program for operating communication with a host are executed, and the printer device is initialized. Also, communication with a host 1000 is operated, and the control program of the printer device is down-loaded from the host 1000 through an interface 1600, and recording control is operated based on the control program. On the other hand, a print instruction from a user is accepted, and a recording mode corresponding to the instruction is compared with a recording mode corresponding to the already down-loaded control program, and the re- down-load of the control program is controlled according to the compared result.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はプリンタ装置及びそ
の装置の制御方法に関するものである。
The present invention relates to a printer and a control method for the printer.

【0002】[0002]

【従来の技術】従来のプリンタ装置では、そのコントロ
ーラに備えられた不揮発性メモリに制御プログラムや文
字フォントを記憶しておき、必要に応じて作業用メモリ
にそのプログラムやフォントをロードして実行してい
た。
2. Description of the Related Art In a conventional printer, a control program and character fonts are stored in a non-volatile memory provided in a controller, and the programs and fonts are loaded into a work memory as needed and executed. I was

【0003】[0003]

【発明が解決しようとする課題】しかしながら上記従来
例では、プリンタ装置に実装されたコントローラの不揮
発性メモリに制御プログラムやフォントデータが格納さ
れ、製品として供給されるため、製造後、或は、その出
荷後に制御プログラムに不具合が発見されると、これに
即座に対応することが難しいという問題があった。
However, in the above conventional example, the control program and font data are stored in the non-volatile memory of the controller mounted on the printer device and supplied as a product. If a defect is found in the control program after shipment, there is a problem that it is difficult to immediately respond to this.

【0004】また、従来の装置構成では、すべての制御
プログラムが不揮発メモリに格納されるため、使用頻度
の少ない記録モードのために準備されたプログラムなど
のそのメモリに格納される。このため、そのメモリへの
アクセス頻度という点から考えると、その頻度の低いメ
モリ空間もやはりプログラムの格納のために必要であ
り、メモリ使用効率の点からは問題があった。
In the conventional apparatus configuration, all control programs are stored in a non-volatile memory, and thus are stored in the memory such as a program prepared for a recording mode that is used less frequently. For this reason, considering the frequency of accessing the memory, a memory space with a low frequency is still necessary for storing the program, and there is a problem in terms of memory use efficiency.

【0005】本発明は上記従来例に鑑みてなされたもの
で、小さい容量のメモリを効率的に用いるとともに、制
御プログラムに不具合が発生した場合にも迅速に対処す
ることができるプリンタ装置及びその装置の制御方法を
提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional example, and a printer device and a printer device capable of efficiently using a small-capacity memory and promptly coping with a problem occurring in a control program. The purpose of the present invention is to provide a control method.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明のプリンタ装置は、以下のような構成からな
る。
To achieve the above object, a printer according to the present invention has the following arrangement.

【0007】即ち、記録媒体に記録を行う記録手段を有
するプリンタ装置であって、ホストとの情報の授受を行
うインタフェース手段と、前記ホストとの通信を行うた
めの通信プログラムと、前記プリンタ装置の初期化プロ
グラムとを格納する第1記憶手段と、電源投入時、前記
初期化プログラムと前記通信プログラムをロードして前
記プリンタ装置の初期化を行うとともに、前記ホストと
通信して前記ホストから前記プリンタ装置の制御プログ
ラムをダウンロードする初期化手段と、前記初期化手段
による初期化と前記制御プログラムのダウンロード後、
前記制御プログラムに基づいて記録制御を行う記録制御
手段とを有することを特徴とするプリンタ装置を備え
る。
[0007] That is, a printer device having a recording means for performing recording on a recording medium, an interface means for exchanging information with a host, a communication program for communicating with the host, and A first storage unit for storing an initialization program, and when the power is turned on, the initialization program and the communication program are loaded to initialize the printer device, and the printer device is communicated with the host device to communicate with the host device. Initialization means for downloading a control program of the apparatus, and after initialization by the initialization means and downloading of the control program,
And a printing control means for performing printing control based on the control program.

【0008】また、前記記録手段は、インクジェット方
式或は電子写真方式に従って記録を行うことが好まし
い。
Further, it is preferable that the recording means performs recording according to an ink jet system or an electrophotographic system.

【0009】さらに、前記ホストからダウンロードされ
る制御プログラムや記録データを格納する第2の記憶手
段を有しても良い。この場合、第1の記憶手段はROM
であり、前記第2の記憶手段はRAMであると良い。
[0009] Further, there may be provided a second storage means for storing a control program and recording data downloaded from the host. In this case, the first storage means is a ROM
The second storage means is preferably a RAM.

【0010】ここで、ホストからダウンロードされる制
御プログラムは、ホストが指示した記録モードに合致す
る制御プログラムのみである。
Here, the control program downloaded from the host is only the control program that matches the recording mode specified by the host.

【0011】また他の発明によれば、インタフェースを
介してホストとの情報の授受を行い記録媒体に記録を行
う記録部と、前記ホストとの通信を行うための通信プロ
グラムと装置の初期化処理を行うための初期化プログラ
ムとを格納する第1記憶媒体とを有するプリンタ装置の
制御方法であって、前記プリンタ装置の電源投入時、前
記初期化プログラムと前記通信プログラムを実行して、
前記プリンタ装置の初期化を行う初期化工程と、前記ホ
ストと通信して前記ホストから前記プリンタ装置の制御
プログラムをダウンロードするダウンロード工程と、前
記ダウンロードされた制御プログラムに基づいて記録制
御を行う記録制御工程と、ユーザからのプリント指示を
受け付ける受け付け工程と、前記プリント指示に対応す
る記録モードと、既にダウンロードした制御プログラム
に対応する記録モードとを比較する比較工程と、前記比
較工程における比較結果に従って、制御プログラムの再
ダウンロードを制御する転送制御工程とを有することを
特徴とするプリンタ装置の制御方法を備える。
According to another aspect of the present invention, a recording unit for transmitting / receiving information to / from a host via an interface and recording the information on a recording medium, a communication program for performing communication with the host, and an apparatus initialization process A control method for a printer device having a first storage medium for storing an initialization program for executing the initialization program and the communication program when the printer device is powered on.
An initialization step of initializing the printer apparatus; a download step of communicating with the host to download a control program of the printer apparatus from the host; and a recording control of performing recording control based on the downloaded control program. Step, a receiving step of receiving a print instruction from a user, a recording mode corresponding to the print instruction, a comparison step of comparing a recording mode corresponding to the control program already downloaded, and a comparison result in the comparison step, And a transfer control step of controlling re-downloading of the control program.

【0012】以上の構成により本発明は、プリンタ装置
の電源投入時、その装置に備えられた記憶媒体に格納さ
れた装置の初期化処理を行うための初期化プログラムと
ホストとの通信を行うための通信プログラムを実行し
て、プリンタ装置の初期化を行うとともに、ホストと通
信してホストからプリンタ装置の制御プログラムをダウ
ンロードし、その制御プログラムに基づいて記録制御を
行う一方、ユーザからのプリント指示を受け付け、その
指示に対応する記録モードと、既にダウンロードした制
御プログラムに対応する記録モードとを比較し、その比
較結果に従って、制御プログラムの再ダウンロードを制
御する。
According to the present invention, when the power of a printer device is turned on, the present invention performs communication between the host and an initialization program for performing an initialization process of the device stored in a storage medium provided in the printer device. In addition to executing the communication program, the printer is initialized, the printer communicates with the host, downloads the control program of the printer from the host, performs recording control based on the control program, and performs a print instruction from the user. Is received, the recording mode corresponding to the instruction is compared with the recording mode corresponding to the already downloaded control program, and redownloading of the control program is controlled according to the comparison result.

【0013】[0013]

【発明の実施の形態】以下添付図面を参照して本発明の
好適な実施形態について詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0014】<装置本体の概略説明>図1は、本発明の
代表的な実施の形態であるインクジェットプリンタ(以
下、プリンタという)IJRAの構成の概要を示す外観
斜視図である。図1において、駆動モータ5013の正
逆回転に連動して駆動力伝達ギア5009〜5011を
介して回転するリードスクリュー5005の螺旋溝50
04に対して係合するキャリッジHCはピン(不図示)
を有し、ガイドレール5003に支持されて矢印a,b
方向を往復移動する。キャリッジHCには、記録ヘッド
IJHとインクタンクITとを内蔵した一体型インクジ
ェットカートリッジIJCが搭載されている。5002
は紙押え板であり、キャリッジHCの移動方向に亙って
記録用紙Pをプラテン5000に対して押圧する。50
07,5008はフォトカプラで、キャリッジのレバー
5006のこの域での存在を確認して、モータ5013
の回転方向切り換え等を行うためのホームポジション検
知器である。5016は記録ヘッドIJHの前面をキャ
ップするキャップ部材5022を支持する部材で、50
15はこのキャップ内を吸引する吸引器で、キャップ内
開口5023を介して記録ヘッドの吸引回復を行う。5
017はクリーニングブレードで、5019はこのブレ
ードを前後方向に移動可能にする部材であり、本体支持
板5018にこれらが支持されている。ブレードは、こ
の形態でなく周知のクリーニングブレードが本例に適用
できることは言うまでもない。又、5021は、吸引回
復の吸引を開始するためのレバーで、キャリッジと係合
するカム5020の移動に伴って移動し、駆動モータか
らの駆動力がクラッチ切り換え等の公知の伝達機構で移
動制御される。
<Schematic Description of Apparatus Main Body> FIG. 1 is an external perspective view showing an outline of a configuration of an ink jet printer (hereinafter, referred to as a printer) IJRA as a typical embodiment of the present invention. In FIG. 1, a spiral groove 50 of a lead screw 5005 that rotates via driving force transmission gears 5009 to 5011 in conjunction with forward / reverse rotation of a drive motor 5013.
The carriage HC that engages with the pin 04 is a pin (not shown).
And supported by the guide rail 5003 and arrows a and b
Reciprocate in the direction. On the carriage HC, an integrated type ink jet cartridge IJC containing a recording head IJH and an ink tank IT is mounted. 5002
Denotes a paper pressing plate, which presses the recording paper P against the platen 5000 in the moving direction of the carriage HC. 50
Reference numerals 07 and 5008 denote photocouplers, which confirm the presence of a carriage lever 5006 in this area, and
Is a home position detector for switching the rotation direction of the camera. A member 5016 supports a cap member 5022 for capping the front surface of the recording head IJH.
Reference numeral 15 denotes a suction device that suctions the inside of the cap, and performs suction recovery of the recording head through the opening 5023 in the cap. 5
Reference numeral 017 denotes a cleaning blade. Reference numeral 5019 denotes a member which allows the blade to move in the front-rear direction. These members are supported by a main body support plate 5018. It goes without saying that the blade is not limited to this form and a known cleaning blade can be applied to this example. Reference numeral 5021 denotes a lever for starting suction for recovery of suction. The lever 5021 moves with the movement of the cam 5020 that engages with the carriage, and the driving force from the driving motor is controlled by a known transmission mechanism such as clutch switching. Is done.

【0015】これらのキャッピング、クリーニング、吸
引回復は、キャリッジがホームポジション側の領域に来
た時にリードスクリュー5005の作用によってそれら
の対応位置で所望の処理が行えるように構成されている
が、周知のタイミングで所望の動作を行うようにすれ
ば、本例にはいずれも適用できる。
The capping, cleaning, and suction recovery are configured so that desired processing can be performed at the corresponding position by the action of the lead screw 5005 when the carriage comes to the area on the home position side. If a desired operation is performed at the timing, any of the embodiments can be applied.

【0016】<制御構成の説明>次に、上述した装置の
記録制御を実行するための制御構成について説明する。
<Description of Control Structure> Next, a control structure for executing the recording control of the above-described apparatus will be described.

【0017】図2はプリンタIJRAの制御回路の構成
を示すブロック図である。制御回路を示す同図におい
て、1000はプリンタIJRAにプリンタの制御プロ
グラムをダウンロードしたり、プリンタの記録モードを
指示したり、プリントデータを転送するホストコンピュ
ータ(以下、ホストという)、1001はホスト100
0のCPU、1002はプリンタドライバやプリンタI
JRAにダウンロードする制御プログラムなどを格納す
るハードディスク(HD)、1600はホスト1000
から制御プログラム、記録モード、プリントデータを入
力するインタフェース、1700はプリンタIJRAを
制御して記録動作を実行するコントローラである。
FIG. 2 is a block diagram showing a configuration of a control circuit of the printer IJRA. In FIG. 1, a host computer (hereinafter, referred to as a host) 1000 downloads a control program of the printer to the printer IJRA, instructs a recording mode of the printer, and transfers print data.
0, CPU 1002 is a printer driver or printer I
A hard disk (HD) 1600 for storing a control program and the like to be downloaded to the JRA 1600 is a host 1000
An interface 1700 for inputting a control program, a print mode, and print data from the printer 1700 is a controller that controls the printer IJRA to execute a print operation.

【0018】また、1701はMPU、1702はMP
U1701が実行するプリンタの初期化プログラムとホ
スト1000との通信プログラムを格納するROM、1
703はホスト1000からのプリントデータや記録ヘ
ッドIJHに供給される記録信号等を一時的にを保存し
たり、或は、初期化プログラムをMPU1701が実行
するために作業漁期として用いられるRAMである。さ
らに、1710は記録ヘッドIJHを搬送するためのキ
ャリアモータ、1709は記録用紙の搬送のための搬送
モータである。1705は記録ヘッドIJHを駆動する
ヘッドドライバ、1706,1707はそれぞれ搬送モ
ータ1709、キャリアモータ1710を駆動するため
のモータドライバである。
Reference numeral 1701 denotes an MPU, and 1702 denotes an MPU.
A ROM for storing a printer initialization program executed by U1701 and a communication program for communicating with the host 1000;
A RAM 703 temporarily stores print data from the host 1000, print signals supplied to the print head IJH, and the like, or is used as a work fishing period for the MPU 1701 to execute an initialization program. Further, reference numeral 1710 denotes a carrier motor for transporting the recording head IJH, and reference numeral 1709 denotes a transport motor for transporting the recording paper. Reference numeral 1705 denotes a head driver for driving the recording head IJH, and reference numerals 1706 and 1707 denote motor drivers for driving the transport motor 1709 and the carrier motor 1710, respectively.

【0019】上記構成の回路において、インタフェース
1600にホスト1000からのプリントデータを受信
すると、MPU1701はその受信プリントデータをプ
リント用の記録信号に変換する。そして、モータドライ
バ1706、1707を駆動すると共に、ヘッドドライ
バ1705に送られた記録信号に従って記録ヘッドIJ
Hが駆動され、記録が行われる。
In the circuit having the above configuration, when print data from the host 1000 is received by the interface 1600, the MPU 1701 converts the received print data into a print recording signal. Then, while driving the motor drivers 1706 and 1707, the printhead IJ is operated in accordance with the print signal sent to the head driver 1705.
H is driven, and recording is performed.

【0020】次に、以上の構成のプリンタにおける初期
化処理と記録動作について、図3〜図4に示すフローチ
ャートを参照して説明する。なお、ホスト1000とプ
リンタIJRAとは双方向通信によって情報を交換でき
るものとする。
Next, an initialization process and a recording operation in the printer having the above configuration will be described with reference to flowcharts shown in FIGS. The host 1000 and the printer IJRA can exchange information by bidirectional communication.

【0021】(1)初期化処理(図3) この処理は、プリンタに電源を投入した際にプリンタを
記録動作可能にするための処理である。なお、ここで
は、この処理の実行のために、ホスト1000は既に起
動されており、プリンタIJRAと通信して種々の制御
を行うプリンタドライバがCPU1001において実行
されているとする。
(1) Initialization process (FIG. 3) This process is a process for enabling the printer to perform a printing operation when the printer is powered on. Here, it is assumed that the host 1000 has already been started to execute this processing, and the CPU 1001 has executed a printer driver that communicates with the printer IJRA and performs various controls.

【0022】まず、ステップS100でプリンタIJR
Aに電源を投入すると、ステップS105ではROM1
702に保存されているプリンタの初期化処理プログラ
ムがRAM1703の作業領域であるにロードされ、M
PU1701によるプリンタの初期化処理が実行され
る。これにより、RAM1703やインタフェース16
00の初期化が行われる。
First, in step S100, the printer IJR
When power is supplied to A, in step S105, the ROM 1
The printer initialization program stored in the RAM 702 is loaded into the work area of the RAM 1703, and
The PU 1701 executes a printer initialization process. Thereby, the RAM 1703 and the interface 16
00 is initialized.

【0023】次に、ステップS110ではその初期化処
理終了後、MPU1701は初期化処理が終了した旨を
ホスト1000にインストールされ、CPU1001で
動作しているプリンタドライバに通知する。これに応じ
て、ステップS115ではホスト1000は予めプリン
タドライバに設定されているデフォルトの制御プログラ
ム、即ち、最も頻繁に使われるであろう記録モードの制
御プログラムをプリンタIJRAに転送する。
Next, in step S 110, after the initialization processing is completed, the MPU 1701 notifies the printer driver installed in the host 1000 of the completion of the initialization processing to the printer driver running on the CPU 1001. In response to this, in step S115, the host 1000 transfers the default control program preset in the printer driver, that is, the control program for the most frequently used print mode to the printer IJRA.

【0024】ステップS120では、その転送された制
御プログラムをインタフェース1600を介して受信
し、これをRAM1703に格納する。一方、ステップ
S125では、ホスト1000のプリンタドライバが転
送した制御プログラムの記録モードを示すフラグを、ホ
ストの所定のレジスタにセットし、その記録モードを記
憶する。これにより、ホスト1000は現在何の記録モ
ードに相当する制御プログラムがプリンタIJRAのR
AM1703にロードされているかを知ることができ
る。
In step S 120, the control program thus received is received via interface 1600 and stored in RAM 1703. On the other hand, in step S125, a flag indicating the recording mode of the control program transferred by the printer driver of the host 1000 is set in a predetermined register of the host, and the recording mode is stored. As a result, the host 1000 determines that the control program corresponding to what print mode is currently
It is possible to know whether or not it has been loaded into the AM 1703.

【0025】最後に、処理はステップS130に進み、
プリンタIJRAはホスト1000からの指示待ちにな
る。
Finally, the process proceeds to step S130,
The printer IJRA waits for an instruction from the host 1000.

【0026】以上がプリンタの起動時の初期化処理であ
る。
The above is the initialization processing at the time of starting the printer.

【0027】このようにこの実施形態では、プリンタI
JRAのROMには電源が投入されたときにRAM17
03やインタフェース1600の初期化を行なって、ホ
スト1000との通信を可能とするだけのプログラム
(初期化プログラム)が格納されている。そして、ホス
ト1000から特定の記録モードにおける記録動作に必
要な制御プログラムをダウンロードすることにより、実
際の記録動作を行う。
As described above, in this embodiment, the printer I
When power is turned on, the RAM of the JRA
A program (initialization program) that initializes the H.03 and the interface 1600 to enable communication with the host 1000 is stored. Then, an actual printing operation is performed by downloading a control program required for a printing operation in a specific printing mode from the host 1000.

【0028】(2)記録動作(図4) まず、ステップS200において、ユーザがホスト10
00で実行されているアプリケーションプログラム(不
図示)から記録モードの指示を含むプリント処理の指示
をしたならば、その指示を受けたプリンタドライバはス
テップS205においてユーザの指示した記録モードが
既にプリンタに転送された制御プログラムの記録モード
に合致しているかどうかを調べる。プリンタドライバ
は、前述のように転送した制御プログラムの記録モード
を示すフラグを所定のレジスタに格納して管理している
ので、ユーザによって指示された記録モードに対応する
制御プログラムがすでにプリンタにあるかどうかを知る
ことができる。これによって、この実施形態では重複し
て2度同じ制御プログラムをダウンロードすることがな
いようになっている。
(2) Recording Operation (FIG. 4) First, in step S200, the user
When an instruction for print processing including an instruction for a print mode is issued from an application program (not shown) executed in 00, the printer driver receiving the instruction transfers the print mode specified by the user to the printer in step S205. It is checked whether or not it matches the recording mode of the specified control program. Since the printer driver stores and manages the flag indicating the recording mode of the control program transferred in the predetermined register as described above, whether the control program corresponding to the recording mode specified by the user already exists in the printer. You can know whether. This prevents the same control program from being downloaded twice in this embodiment.

【0029】ここで、ユーザが指示した記録モードに対
応する制御プログラムが既にプリンタIJRAに転送済
であると判断された場合には、処理はステップS220
に進み、そうでない場合には処理はステップS210に
進む。
Here, if it is determined that the control program corresponding to the recording mode designated by the user has already been transferred to the printer IJRA, the process proceeds to step S220.
Otherwise, the process proceeds to step S210.

【0030】ステップS210では、ホスト1000は
ユーザによって指定された記録モードに対応する制御プ
ログラムをプリンタIJRAに転送する。これに応じ
て、プリンタIJRAは、その制御プログラムをインタ
フェース1600を介して受信し、RAM1703に格
納する。ステップS215では、ホスト1000のプリ
ンタドライバは、転送した制御プログラムの記録モード
を示すフラグを、ホストの所定のレジスタにセットし、
その記録モードを記憶する。そして、処理はステップS
220へと進む。
In step S210, the host 1000 transfers a control program corresponding to the print mode specified by the user to the printer IJRA. In response, the printer IJRA receives the control program via the interface 1600 and stores it in the RAM 1703. In step S215, the printer driver of the host 1000 sets a flag indicating the recording mode of the transferred control program in a predetermined register of the host,
The recording mode is stored. Then, the process proceeds to step S
Proceed to 220.

【0031】さて、処理はステップS220において、
MPU1701は、転送された制御プログラムが格納さ
れているRAM1703のプログラム保存領域の先頭ア
ドレスをアドレスし、単にそのプログラムが格納されて
いる状態からそのプログラムを実行可能な状態へと移
す。一方、ホスト1000のプリンタドライバは、ユー
ザの指示した記録モードに従って、画像処理を実行し、
プリントデータを生成する。つまり、この実施形態で
は、プリンタIJRAのコントローラ1700はプリン
トデータの生成処理、例えば、PDLデータを解釈して
ビットマップデータに変換するなどの処理はいっさいを
行わなず、ビットマップデータをホスト1000から受
信して記録動作を行うようになっている。
Now, the process proceeds to step S220.
The MPU 1701 addresses the start address of the program storage area of the RAM 1703 in which the transferred control program is stored, and simply shifts from the state where the program is stored to the state where the program can be executed. On the other hand, the printer driver of the host 1000 executes image processing according to the recording mode specified by the user,
Generate print data. That is, in this embodiment, the controller 1700 of the printer IJRA does not perform any processing for generating print data, for example, interpreting PDL data and converting it to bitmap data. The receiving operation is performed.

【0032】さらに、ステップS225では、ホスト1
000のプリンタドライバは、生成されたプリントデー
タをプリンタIJRAに転送し、一方、プリンタIJR
AではステップS230において、インタフェース16
00を介してこれを受信し、RAM1703の所定の領
域に格納する。
Further, in step S225, the host 1
000 printer driver transfers the generated print data to the printer IJRA.
A, in step S230, the interface 16
00 and is stored in a predetermined area of the RAM 1703.

【0033】そして、ステップS230では、プリンタ
IJRAのコントローラ1700はRAM1703に一
時的に格納されたプリントデータを記録ヘッドIJHに
ヘッドドライバ1705を介して転送し、例えば、記録
紙などの記録媒体に画像を記録する。このような記録動
作に従って、記録媒体を所定量搬送され、記録ヘッドI
JHはその記録に必要な位置へと移動される。最後に、
ステップS235では、記録動作が終了すると、プリン
タは待機状態に移行し、ホスト1000から指示待ちと
なる。
In step S230, the controller 1700 of the printer IJRA transfers the print data temporarily stored in the RAM 1703 to the recording head IJH via the head driver 1705 and, for example, transfers the image to a recording medium such as recording paper. Record. According to such a recording operation, the recording medium is conveyed by a predetermined amount, and the recording head I
JH is moved to a position required for the recording. Finally,
In step S235, when the printing operation is completed, the printer shifts to a standby state and waits for an instruction from the host 1000.

【0034】以上がこの実施形態による記録動作であ
る。
The above is the recording operation according to this embodiment.

【0035】従って、以上説明した実施形態に従えば、
プリンタに電源が投入されたとき、プリンタのROMに
格納された初期化プログラムが起動されて、ホストと交
信して、記録動作に必要な制御プログラムをダウンロー
ドし、そのダウンロードされたプログラムを実行して記
録を行うので、プリンタのROMに多くの制御プログラ
ムを格納しておく必要はなく、そのROMの容量を小さ
くすることができる。
Therefore, according to the embodiment described above,
When the power of the printer is turned on, an initialization program stored in the ROM of the printer is started, communicates with the host, downloads a control program necessary for the recording operation, and executes the downloaded program. Since recording is performed, it is not necessary to store many control programs in the ROM of the printer, and the capacity of the ROM can be reduced.

【0036】また、必要に応じてホストから制御プログ
ラムをダウンロードするので、例えば、その制御プログ
ラムに不具合やバージョンアップが生じたときには、ホ
ストからのダウンロードによって対処することができ
る。これによって、たとえ、製造時に利用可能であった
制御プログラムに不具合やバージョンアップが生じても
ROMの交換などの必要はなく、ホストからのダウンロ
ードによって迅速な対処が可能となる。
Further, since the control program is downloaded from the host as needed, for example, when a problem or an upgrade occurs in the control program, it can be dealt with by downloading from the host. Thus, even if a control program that was available at the time of manufacturing has a problem or a version upgrade, it is not necessary to replace the ROM or the like, and quick action can be taken by downloading from the host.

【0037】なお、プリンタIJRAのコントローラの
構成は図2に示したような構成に限定されるものではな
く、例えば、図5に示すような構成でも良い。図5にお
いて、1704はROM1702を内蔵するカスタム制
御回路となるゲートアレイ(G.A.)である。このよ
うな構成によれば、電源を投入するとゲートアレイ
(G.A.)1704の内蔵ROM1702に保存され
ている初期化処理プログラムとホスト1000との通信
プログラムがRAM1703にロードされ、MPU17
01により初期化処理が実行される。
The configuration of the controller of the printer IJRA is not limited to the configuration shown in FIG. 2, but may be, for example, the configuration shown in FIG. In FIG. 5, reference numeral 1704 denotes a gate array (GA) serving as a custom control circuit incorporating a ROM 1702. According to such a configuration, when the power is turned on, the initialization processing program stored in the built-in ROM 1702 of the gate array (GA) 1704 and the communication program with the host 1000 are loaded into the RAM 1703, and the MPU 17
01 performs an initialization process.

【0038】また、以上の実施形態ではプリンタをイン
クジェット方式に従ったインクジェットプリンタとした
が本発明はこれによって限定されるものではなく、例え
ば、図6に示すような電子写真方式に従ったプリンタ装
置でも良い。
In the above embodiment, the printer is an ink jet printer according to the ink jet system, but the present invention is not limited to this. For example, a printer device according to the electrophotographic system as shown in FIG. But it is good.

【0039】図6は電子写真方式を採用して記録を行な
うレーザビームプリンタの内部構造を示す側断面図であ
る。
FIG. 6 is a side sectional view showing the internal structure of a laser beam printer which performs recording by adopting the electrophotographic system.

【0040】図6において、740はレーザビームプリ
ンタ(LBP)であり、供給される文字パターン等を基
に、記録媒体である記録紙上に像を形成する。700は
操作のためのスイツチ及びLED表示器などが配されて
いる操作パネル、701はLBP740全体の制御及び
記録動作を制御するプリンタ制御ユニツトである。図2
のプリンタIJRAの制御回路を示すブロック図では、
インタフェース1600とコントローラ1700は、プ
リンタ制御ユニット701に含まれている。
In FIG. 6, reference numeral 740 denotes a laser beam printer (LBP) which forms an image on a recording paper as a recording medium based on a supplied character pattern or the like. Reference numeral 700 denotes an operation panel on which switches for operation and an LED display are arranged. Reference numeral 701 denotes a printer control unit for controlling the entire LBP 740 and controlling the printing operation. FIG.
In the block diagram showing the control circuit of the printer IJRA,
The interface 1600 and the controller 1700 are included in the printer control unit 701.

【0041】レーザドライバ702は半導体レーザ70
3を駆動するための回路であり、入力されたビデオ信号
に応じて半導体レーザ703から発射されるレーザ光7
04をオン・オフ切替えする。レーザ光704は回転多
面鏡705で左右方向に振られて静電ドラム706上を
走査する。これにより、静電ドラム706上には文字パ
ターンの静電潜像が形成される。この潜像は静電ドラム
706周囲の現像ユニツト707により現像された後、
記録紙に転写される。この記録紙にはカツトシートを用
い、カツトシート記録紙はLBP740に装着した用紙
カセツト708に収納され、給紙ローラ709及び搬送
ローラ710と711とにより装置内に取込まれて、静
電ドラム706に供給される。
The laser driver 702 is a semiconductor laser 70
And a laser beam emitted from the semiconductor laser 703 in response to an input video signal.
04 is turned on / off. The laser beam 704 is swung right and left by a rotary polygon mirror 705 to scan on an electrostatic drum 706. Thus, an electrostatic latent image of a character pattern is formed on the electrostatic drum 706. This latent image is developed by a developing unit 707 around the electrostatic drum 706,
Transferred to recording paper. A cut sheet is used as the recording paper. The cut sheet recording paper is stored in a paper cassette 708 mounted on the LBP 740, is taken into the apparatus by a paper feed roller 709 and transport rollers 710 and 711, and is supplied to the electrostatic drum 706. Is done.

【0042】このようにして、与えられたプリントデー
タは用紙上に記録出力される。
Thus, the given print data is recorded and output on the paper.

【0043】なお、本発明は、複数の機器(例えばホス
トコンピュータ,インタフェイス機器,リーダ,プリン
タなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機,ファクシミリ装置
など)に適用してもよい。
Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), a device including one device (for example, a copying machine, a facsimile machine). Device).

【0044】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or the apparatus.
And MPU) read and execute the program code stored in the storage medium.

【0045】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0046】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0047】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0048】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0049】[0049]

【発明の効果】以上説明したように本発明によれば、プ
リンタ装置の電源投入時、その装置に備えられた記憶媒
体に格納された装置の初期化処理を行うための初期化プ
ログラムとホストとの通信を行うための通信プログラム
を実行して、プリンタ装置の初期化を行うとともに、ホ
ストと通信してホストからプリンタ装置の制御プログラ
ムをダウンロードし、その制御プログラムに基づいて記
録制御を行う一方、ユーザからのプリント指示を受け付
け、その指示に対応する記録モードと、既にダウンロー
ドした制御プログラムに対応する記録モードとを比較
し、その比較結果に従って、制御プログラムの再ダウン
ロードを制御するので、プリンタ装置に常時格納してお
くプログラムを少なくすることができ、無駄にメモリを
使用することがなく、装置コストを削減できるという効
果がある。
As described above, according to the present invention, when the power of a printer is turned on, an initialization program for performing an initialization process of an apparatus stored in a storage medium provided in the apparatus, a host, and While executing a communication program for performing communication, initializes the printer device, communicates with the host to download a control program for the printer device from the host, and performs recording control based on the control program. A print instruction from a user is received, a recording mode corresponding to the instruction is compared with a recording mode corresponding to the already downloaded control program, and re-downloading of the control program is controlled according to the comparison result. The number of programs to be stored at all times can be reduced, and no unnecessary memory is used. An advantageous effect of reducing the device cost.

【0050】また、ホストから制御プログラムをダウン
ロードするので、仮に、その制御プログラムを出荷後に
不具合が発見された場合にも迅速な対応が可能になる。
Further, since the control program is downloaded from the host, even if a defect is found after shipping the control program, quick response is possible.

【0051】[0051]

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

【図1】本発明の代表的な実施の形態であるインクジェ
ットプリンタIJRAの構成の概要を示す外観斜視図で
ある。
FIG. 1 is an external perspective view showing an outline of a configuration of an ink jet printer IJRA which is a typical embodiment of the present invention.

【図2】プリンタIJRAの制御回路の構成を示すブロ
ック図である。
FIG. 2 is a block diagram illustrating a configuration of a control circuit of the printer IJRA.

【図3】初期化処理を示すフローチャートである。FIG. 3 is a flowchart illustrating an initialization process.

【図4】記録動作を示すフローチャートである。FIG. 4 is a flowchart illustrating a recording operation.

【図5】プリンタIJRAの制御回路の別の構成を示す
ブロック図である。
FIG. 5 is a block diagram showing another configuration of the control circuit of the printer IJRA.

【図6】レーザブームプリンタの構成を示す側断面図で
ある。
FIG. 6 is a side sectional view showing a configuration of a laser boom printer.

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

700 操作パネル 701 プリンタ制御ユニツト 702 レーザドライバ 703 半導体レーザ 704 レーザ光 705 回転多面鏡 706 静電ドラム 707 現像ユニツト 708 用紙カセツト 709 給紙ローラ 710、711 搬送ローラ 740 レーザビームプリンタ(LBP) 1000 ホスト 1001 CPU 1002 ハードディスク(HD) 1600 インタフェース 1700 コントローラ 1701 MPU 1702 ROM 1703 RAM 1704 ゲートアレイ(G.A.) 1705 ヘッドドライバ 1706、1707 モータドライバ 1709 搬送モータ 1710 キャリアモータ HC キャリッジ IJC インクジェットカートリッジ IJH 記録ヘッド IJRA インクジェットプリンタ IT インクタンク 700 Operation panel 701 Printer control unit 702 Laser driver 703 Semiconductor laser 704 Laser beam 705 Rotating polygon mirror 706 Electrostatic drum 707 Development unit 708 Paper cassette 709 Paper feed roller 710, 711 Transport roller 740 Laser beam printer (LBP) 1000 Host 1001 CPU 1002 Hard disk (HD) 1600 Interface 1700 Controller 1701 MPU 1702 ROM 1703 RAM 1704 Gate array (GA) 1705 Head driver 1706, 1707 Motor driver 1709 Carrier motor 1710 Carrier motor HC Carriage IJC Inkjet cartridge IJH Recording head IJRA Inkjet printer Ink tank

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 記録媒体に記録を行う記録手段を有する
プリンタ装置であって、 ホストとの情報の授受を行うインタフェース手段と、 前記ホストとの通信を行うための通信プログラムと、前
記プリンタ装置の初期化プログラムとを格納する第1記
憶手段と、 電源投入時、前記初期化プログラムと前記通信プログラ
ムをロードして前記プリンタ装置の初期化を行うととも
に、前記ホストと通信して前記ホストから前記プリンタ
装置の制御プログラムをダウンロードする初期化手段
と、 前記初期化手段による初期化と前記制御プログラムのダ
ウンロード後、前記制御プログラムに基づいて記録制御
を行う記録制御手段とを有することを特徴とするプリン
タ装置。
1. A printer having recording means for performing recording on a recording medium, comprising: an interface means for exchanging information with a host; a communication program for communicating with the host; First storage means for storing an initialization program, and when the power is turned on, the initialization program and the communication program are loaded to initialize the printer device, and the printer device communicates with the host device to communicate with the host device. A printer device, comprising: an initialization unit that downloads a control program of the apparatus; and a recording control unit that performs printing control based on the control program after initialization by the initialization unit and downloading of the control program. .
【請求項2】 前記記録手段は、インクジェット方式に
従って記録を行うことを特徴とする請求項1に記載のプ
リンタ装置。
2. The printer device according to claim 1, wherein the recording unit performs recording according to an ink jet system.
【請求項3】 前記記録手段は、電子写真方式に従って
記録を行うことを特徴とする請求項1に記載のプリンタ
装置。
3. The printer according to claim 1, wherein the recording unit performs recording according to an electrophotographic method.
【請求項4】 前記ホストからダウンロードされる制御
プログラムや記録データを格納する第2の記憶手段をさ
らに有することを特徴とする請求項1に記載のプリンタ
装置。
4. The printer device according to claim 1, further comprising a second storage unit that stores a control program and print data downloaded from the host.
【請求項5】 前記第1の記憶手段はROMであり、前
記第2の記憶手段はRAMであることを特徴とする請求
項4に記載のプリンタ装置。
5. The printer according to claim 4, wherein said first storage means is a ROM, and said second storage means is a RAM.
【請求項6】 前記ホストからダウンロードされる制御
プログラムは、前記ホストが指示した記録モードに合致
する制御プログラムのみであることを特徴とする請求項
1に記載のプリンタ装置。
6. The printer device according to claim 1, wherein the control program downloaded from the host is only a control program that matches a printing mode specified by the host.
【請求項7】 インタフェースを介してホストとの情報
の授受を行い記録媒体に記録を行う記録部と、前記ホス
トとの通信を行うための通信プログラムと装置の初期化
処理を行うための初期化プログラムとを格納する第1記
憶媒体とを有するプリンタ装置の制御方法であって、 前記プリンタ装置の電源投入時、前記初期化プログラム
と前記通信プログラムを実行して、前記プリンタ装置の
初期化を行う初期化工程と、 前記ホストと通信して前記ホストから前記プリンタ装置
の制御プログラムをダウンロードするダウンロード工程
と、 前記ダウンロードされた制御プログラムに基づいて記録
制御を行う記録制御工程と、 ユーザからのプリント指示を受け付ける受け付け工程
と、 前記プリント指示に対応する記録モードと、既にダウン
ロードした制御プログラムに対応する記録モードとを比
較する比較工程と、 前記比較工程における比較結果に従って、制御プログラ
ムの再ダウンロードを制御する転送制御工程とを有する
ことを特徴とするプリンタ装置の制御方法。
7. A recording unit for transmitting and receiving information to and from a host via an interface and recording the information on a recording medium, a communication program for communicating with the host, and an initialization for performing an apparatus initialization process. A control method for a printer device having a first storage medium for storing a program and a program, wherein when the printer device is powered on, the initialization program and the communication program are executed to initialize the printer device. An initialization step; a download step of communicating with the host to download a control program of the printer device from the host; a print control step of performing print control based on the downloaded control program; and a print instruction from a user. A recording mode corresponding to the print instruction; A comparison step of comparing the recording mode corresponding to the control program, according to the comparison result in the comparison step, the control method of the printer apparatus characterized by comprising a transfer control step of controlling the re-downloading the control program.
【請求項8】 ホストコンピュータにインストールして
実行され、インタフェースを介してプリンタ装置を制御
するプリンタドライバのプログラムコードを格納したコ
ンピュータ可読メモリであって、 前記プリンタ装置からの要求を受信する受信処理コード
と、 前記プリンタ装置の制御プログラムを記憶媒体から読み
出す読み出し処理コードと、 前記読み出された制御プログラムを前記プリンタ装置に
ダウンロードする転送処理コードと、 ユーザからのプリント指示を受け付ける受け付け処理コ
ードと、 前記プリント指示に対応する記録モードと、既にダウン
ロードした制御プログラムに対応する記録モードとを比
較する比較処理コードと、 前記比較処理における比較結果に従って、制御プログラ
ムの再ダウンロードを制御する制御処理コードとを有す
ることを特徴とするコンピュータ可読メモリ。
8. A computer-readable memory which is installed and executed in a host computer and stores a program code of a printer driver for controlling a printer device via an interface, wherein the reception process code receives a request from the printer device. A read processing code for reading a control program of the printer device from a storage medium; a transfer process code for downloading the read control program to the printer device; a reception process code for receiving a print instruction from a user; A comparison processing code for comparing the recording mode corresponding to the print instruction with the recording mode corresponding to the already downloaded control program; and a control processing code for controlling re-downloading of the control program according to the comparison result in the comparison processing. And a computer readable memory.
JP10953997A 1997-04-25 1997-04-25 Printer device, host computer, and information processing method Expired - Fee Related JP3647197B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10953997A JP3647197B2 (en) 1997-04-25 1997-04-25 Printer device, host computer, and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10953997A JP3647197B2 (en) 1997-04-25 1997-04-25 Printer device, host computer, and information processing method

Publications (2)

Publication Number Publication Date
JPH10301735A true JPH10301735A (en) 1998-11-13
JP3647197B2 JP3647197B2 (en) 2005-05-11

Family

ID=14512822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10953997A Expired - Fee Related JP3647197B2 (en) 1997-04-25 1997-04-25 Printer device, host computer, and information processing method

Country Status (1)

Country Link
JP (1) JP3647197B2 (en)

Also Published As

Publication number Publication date
JP3647197B2 (en) 2005-05-11

Similar Documents

Publication Publication Date Title
JP3486498B2 (en) Buffer management method and printing apparatus using the same
JP3647197B2 (en) Printer device, host computer, and information processing method
JPH11175286A (en) System and method for controlling printing and storage medium
JPH08244314A (en) Printer system and printer and information processing apparatus in said system
JP3382349B2 (en) Print control apparatus and method
JP2871981B2 (en) Printing apparatus and control method thereof
JP3043525B2 (en) Printing apparatus and print control method
JPH09188015A (en) Printer and printing control method
JP3780223B2 (en) Multifunction device, image data transfer method, program, and storage medium
JP3210118B2 (en) Print control device and print control method
JPH0695814A (en) Printing data transfer system
JPH10187373A (en) Print system and saving power mode notifying method in print system
JPH1175052A (en) Picture processing device and method therefor
JPH06238991A (en) Method and apparatus for printing
JPH10340168A (en) Information processor, its system and controlling method of them
JP3313919B2 (en) Output device and output method
JP3809285B2 (en) Image forming apparatus and image forming method
JP2006243906A (en) Printer device and control method
JP2003036149A (en) Output device, control method for output device, medium providing control program, and control program
JP2000301802A (en) Printing apparatus
JPH0713722A (en) Print system
JPH09300734A (en) Printer, printing controller and method therefor
JPH07191814A (en) Printer and control method for the same
JPH08324043A (en) Method and apparatus for output control
JPH079707A (en) Printer

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040730

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040927

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: 20050124

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050208

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080218

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090218

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110218

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120218

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130218

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140218

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees