JPH1134443A - Printer, option control method thereof, and option device of printer - Google Patents

Printer, option control method thereof, and option device of printer

Info

Publication number
JPH1134443A
JPH1134443A JP9210168A JP21016897A JPH1134443A JP H1134443 A JPH1134443 A JP H1134443A JP 9210168 A JP9210168 A JP 9210168A JP 21016897 A JP21016897 A JP 21016897A JP H1134443 A JPH1134443 A JP H1134443A
Authority
JP
Japan
Prior art keywords
option
program
version
printing apparatus
main body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9210168A
Other languages
Japanese (ja)
Inventor
Kenji Mikami
健治 三上
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 JP9210168A priority Critical patent/JPH1134443A/en
Publication of JPH1134443A publication Critical patent/JPH1134443A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a printer capable of automatically taking matching of the program of a printer main body and an option program even when there is the alteration of a program for controlling the printer by the addition of function or the like. SOLUTION: In a printer 300 having an option 400 taken in a memory device (e.g.; a flash ROM) 34 capable of writing program controlling itself, the program of the option is held to the ROM 13 of the printer 300 when the program of the printer 300 is altered by a cause such as the expansion of function or the like and, if necessary, by performing down-load, the program of the printer main body and the program of the option are automatically matched.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、オプションを具備
するレーザービームプリンタ等の印刷装置、そのオプシ
ョン制御方法、及び印刷装置のオプション装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus such as a laser beam printer having options, a method for controlling the options, and an option apparatus for the printing apparatus.

【0002】[0002]

【従来の技術】従来、ホストコンピュータにインターフ
ェース(例えばセントロニクス・インタ一フェース)を
介して接続される印刷装置が、給紙や排紙等のオプショ
ンを具備している場合には、それぞれのオプションの制
御は印刷装置本体の制御プログラムを用いて印刷装置本
体側から行なっていた。しかし、印刷装置の高機能化及
び多機能化が進むにつれてオプション自体にもCPUを
持ち、オプションの制御を印刷装置からのコマンドによ
り、オプション自体のROMに保持されているプログラ
ムを用いて行なうように変化してきている。
2. Description of the Related Art Conventionally, when a printing apparatus connected to a host computer via an interface (for example, a Centronics interface) has options such as paper feeding and paper discharging, each of the options is provided. The control is performed from the printing apparatus main body side using the control program of the printing apparatus main body. However, as the functions of the printing apparatus become more sophisticated and multifunctional, the option itself has a CPU, and the options are controlled by a command from the printing apparatus using a program stored in the ROM of the option itself. It is changing.

【0003】また印刷装置が拡張エミュレーションを持
つ場合には、ROM SIMMまたはROM DIMM、
もしくはエミュレーションカードという形で提供される
場合が多い。
When a printing apparatus has an extended emulation, a ROM SIMM or a ROM DIMM,
Or they are often provided in the form of emulation cards.

【0004】例えば、レーザービームプリンタの場合で
は、プリンタの複合化や多機能化に伴い、排紙オプショ
ンがステーブルやジョブオフセット、メールボックス機
能等を持つようになったため、プリンタ本体の制御の負
荷を軽減する目的で、排紙オプションの制御をプリンタ
本体からコマンドを受け取り排紙オプションに保持され
たプログラムを用いて行なうようになってきている。ま
た、プリンタのネットワーク化に伴い、ネットワークカ
ードをオプションとして提供していることもある。さら
に、複数のプリンタ記述言語に対応するために、拡張R
OM SIMM、ROM DIMMスロットやエミュレー
ションカードのスロットを備えている。
[0004] For example, in the case of a laser beam printer, the discharge options come to have a stable, job offset, a mailbox function, etc. with the integration and multifunctionality of the printer. In order to alleviate the problem, the paper discharge option is controlled by using a program which receives a command from the printer main body and is held in the paper discharge option. In addition, with the networking of printers, a network card may be provided as an option. Further, in order to support a plurality of printer description languages, an extended R
It has OM SIMM, ROM DIMM slots and emulation card slots.

【0005】上述のオプションのプログラムを保持して
おくROMは、従来の書き込み不可能なROMから将来
的なプログラムの変更に備えて書き込み可能なフラッシ
ュROMが使われることが多くなってきている。
As a ROM for holding the above-mentioned optional program, a flash ROM which can be written in preparation for a future program change from a conventional non-writable ROM has been increasingly used.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来で
は、上述のような複数のオプションを持つ印刷装置にお
いて、印刷装置本体の機能追加や新規オプションへの対
応等の理由により印刷装置本体のプログラムが変更され
た場合に、印刷装置本体のプログラムとオプションのプ
ログラムの整合がとれず、オプションが正しく機能しな
い恐れがあった。また、そのような場合には、サービス
マンがオプションのROMを交換したり、あるいはオプ
ンョンが自身を制御するプログラムを格納するためにフ
ラッシュROMを使用している場合においても、ユーザ
がホストコンピュータからプログラムをダウンロードし
なければならない、という煩雑さがあった。
However, conventionally, in a printing apparatus having a plurality of options as described above, the program of the printing apparatus itself has been changed due to the addition of functions of the printing apparatus body or the support of new options. In such a case, the program of the printing apparatus main unit and the program of the option cannot be matched, and the option may not function properly. In such a case, even if the serviceman replaces the optional ROM or the option uses the flash ROM to store a program for controlling the option, the user can execute the program from the host computer. Has to be downloaded.

【0007】本発明は上記従来の問題点に鑑み、機能追
加などにより印刷装置を制御するプログラムの変更があ
った場合でも、自動的に印刷装置本体のプログラムとオ
プションのプログラムの整合をとることができる印刷装
置、そのオプション制御方法、及び印刷装置のオプショ
ン装置を提供することを目的とする。
In view of the above-mentioned conventional problems, the present invention can automatically match the program of the printing apparatus main unit with the optional program even when the program for controlling the printing apparatus is changed by adding functions. It is an object of the present invention to provide a printing apparatus that can be used, an option control method for the printing apparatus, and an optional apparatus for the printing apparatus.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、第1の発明は、専用のプログラムにより制御される
オプションを備えた印刷装置において、前記オプション
のプログラムのバージョンを印刷装置本体に知らせるオ
プション情報伝達手段と、前記オプション情報伝達手段
より受け取った前記バージョンが前記印刷装置本体のプ
ログラムのバージョンに対して最新のものであるか否か
を判定するバージョン判定手段と、前記オプションのプ
ログラムのバージョンが最新でなかった場合に、前記オ
プションのプログラムを印刷装置本体の記憶装置から前
記オプションの記憶装置にダウンロードするダウンロー
ド手段とを備えたものである。
According to a first aspect of the present invention, in a printing apparatus having an option controlled by a dedicated program, a version of the option program is notified to a main body of the printing apparatus. Option information transmitting means, version determining means for determining whether the version received from the option information transmitting means is the latest version of the program of the printing apparatus main body, and version of the optional program And a download unit for downloading the optional program from the storage device of the printing apparatus main body to the optional storage device when the latest version is not up to date.

【0009】第2の発明では、第1の発明において、前
記オプションは、給紙オプション、排紙オプション、拡
張インターフェース及び拡張エミュレーションを含む各
種のオプションのうちの1つまたは複数のオプションと
したものである。
In a second aspect based on the first aspect, the option is one or more of various options including a paper feed option, a paper discharge option, an expansion interface, and an expansion emulation. is there.

【0010】第3の発明では、第1または第2の発明に
おいて、前記オプションの最新のプログラムを印刷装置
本体の記憶装置に記憶する記憶制御手段を備え、前記ダ
ウンロード手段は、前記オプションのバージョンが最新
のものでなかった場合に印刷装置本体の前記記憶装置か
ら前記オプションの最新のプログラムを前記オプション
の記憶装置にダウンロードする構成としたものである。
[0010] In a third aspect based on the first or second aspect, the apparatus further comprises storage control means for storing the latest program of the option in a storage device of the printing apparatus main body, and wherein the download means has a version of the option. In the case where the latest program is not the latest one, the latest program of the option is downloaded from the storage device of the printing apparatus main body to the storage device of the option.

【0011】第4の発明では、第1乃至3の発明におい
て、前記オプション情報伝達手段は、前記オプションの
バージョンと共に、該オプションを識別するためのデバ
イスIDを印刷装置本体に知らせる構成にし、さらに前
記デバイスIDが印刷装置本体に対応しているか否かを
判定する第1のID判定手段を設け、前記デバイスID
が印刷装置本体に対応している場合に、前記バージョン
判定手段を作動するようにしたものである。
In a fourth aspect based on the first to third aspects, the option information transmitting means is configured to notify a device ID for identifying the option together with a version of the option to a printing apparatus main body. A first ID determining unit for determining whether the device ID corresponds to the printing apparatus main body;
Is adapted to operate the version judging means when corresponds to the printing apparatus main body.

【0012】第5の発明では、専用のプログラムにより
制御されるオプションを備えた印刷装置に対し、前記オ
プションのプログラムのバージョンを印刷装置本体に知
らせるオプション情報伝達処理と、前記オプション情報
伝達処理より受け取った前記バージョンが前記印刷装置
本体のプログラムのバージョンに対して最新のものであ
るか否かを判定するバージョン判定処理と、前記オプシ
ョンのプログラムのバージョンが最新でなかった場合
に、前記オプションのプログラムを印刷装置本体の記憶
装置から前記オプションの記憶装置にダウンロードする
ダウンロード処理とを実行するようにしたものである。
In the fifth invention, an option information transmitting process for notifying the printing device main body of a version of the option program to a printing device having an option controlled by a dedicated program, and receiving the option information transmitting process from the option information transmitting process. Version determination processing for determining whether or not the version is the latest version of the version of the program of the printing apparatus main body, and if the version of the optional program is not the latest, the And a download process for downloading from the storage device of the printing apparatus main body to the optional storage device.

【0013】第6の発明では、上記第5の発明におい
て、前記オプションは、給紙オプション、排紙オプショ
ン、拡張インターフェース及び拡張エミュレーションを
含む各種のオプションのうちの1つまたは複数のオプシ
ョンとしたものである。
In a sixth aspect based on the fifth aspect, the option is one or more of various options including a paper feed option, a paper discharge option, an extended interface, and an extended emulation. It is.

【0014】第7の発明では、上記第5または第6の発
明において、前記ダウンロード処理は、前記オプション
のバージョンが最新のものでなかった場合に、印刷装置
本体の前記記憶装置から前記オプションの最新のプログ
ラムを該オプションの記憶装置にダウンロードするよう
にしたものである。
[0014] In a seventh aspect based on the fifth or sixth aspect, the download processing is performed when the version of the option is not the latest version from the storage device of the printing apparatus main body. Is downloaded to the optional storage device.

【0015】第8の発明では、第5乃至第7の発明にお
いて、前記オプション情報伝達処理は、前記オプション
のバージョンと共に、該オプションを識別するためのデ
バイスIDを印刷装置本体に知らせる処理にし、さらに
前記デバイスIDが印刷装置本体に対応しているか否か
を判定する第1のID判定処理を行い、前記デバイスI
Dが印刷装置本体に対応している場合に、前記バージョ
ン判定処理を実行するようにしたものである。
In an eighth aspect based on the fifth to seventh aspects, the option information transmitting process is a process of notifying a device ID for identifying the option together with the version of the option to a printing apparatus main body. A first ID determination process is performed to determine whether the device ID corresponds to the printing apparatus main body.
When D corresponds to the main body of the printing apparatus, the version determination processing is executed.

【0016】第9の発明では、オプション専用のプログ
ラムが記憶される記憶手段を有し、前記記憶手段に記憶
されたプログラムにより印刷装置からの要求に合致した
オプション動作を行う印刷装置のオプション装置におい
て、前記記憶手段中のプログラムのバージョンを前記印
刷装置に知らせる伝達手段を有し、前記バージョンが前
記印刷装置のプログラムのバージョンに対して最新のも
のでない場合に、前記印刷装置から送られてくるオプシ
ョン専用プログラムを前記記憶装置に記憶するようにし
たものである。
According to a ninth aspect of the present invention, there is provided an optional apparatus for a printing apparatus, comprising storage means for storing an option-specific program, and performing an optional operation in accordance with a request from the printing apparatus by the program stored in the storage means. And a communication unit for notifying the printing device of a version of the program in the storage unit, and an option sent from the printing device when the version is not the latest version of the program of the printing device. A dedicated program is stored in the storage device.

【0017】第10の発明では、印刷装置のオプション
側から受け取った該オプションのプログラムのバージョ
ンが印刷装置本体のプログラムのバージョンに対して最
新のものであるか否かを判定するバージョン判定手段
と、前記オプションのプログラムのバージョンが最新で
なかった場合に、前記オプションのプログラムを印刷装
置本体の記憶装置から前記オプションの記憶装置にダウ
ンロードするダウンロード手段とを含むプログラムを記
憶したものである。
In the tenth aspect, a version determining means for determining whether or not the version of the option program received from the option side of the printing apparatus is the latest version of the version of the program of the printing apparatus body; And a download unit that downloads the optional program from a storage device of the printing apparatus main body to the optional storage device when the version of the optional program is not the latest.

【0018】[0018]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】図1及び図2は、本発明の実施形態に係る
印刷装置を含むシステムの構成を示すブロック図であ
り、図1はホストコンピュータ及びプリンタを示し、図
2は、プリンタ及びオプションを示している。
FIGS. 1 and 2 are block diagrams showing the configuration of a system including a printing apparatus according to an embodiment of the present invention. FIG. 1 shows a host computer and a printer, and FIG. 2 shows a printer and options. ing.

【0020】本実施形態のオプションは、例えばステー
プルとジョブオフセット機能付き排紙装置を例にし、プ
リンタは、レーザビームプリンタを例にして説明する。
なお、本発明の機能が実行されるのであれば、単体の機
器、複数の機器からなるシステム、あるいはLAN等の
ネットワークを介して処理が行われるシステムであって
も本発明を適用できることは述べるまでもない。
The option of the present embodiment will be described by taking, for example, a paper discharge device with a staple and a job offset function, and the printer will be described by taking a laser beam printer as an example.
It should be noted that if the functions of the present invention are performed, the present invention can be applied to a single device, a system including a plurality of devices, or a system in which processing is performed via a network such as a LAN. Nor.

【0021】図1において、100はホストコンピュー
タであり、ROM3のプログラム用ROM3bに記憶さ
れた文書処理プログラム等に基づいて、図形やイメー
ジ、文字、表(表計算等を含む)等が混在した文書処理
を実行するCPU1を備えている。システムデバイス4
に接続される各デバイスは、CPU1によって総括的に
制御される。また、ROM3のプログラム用ROM3a
にはCPU1の制御プログラム等が記憶され、ROM3
のフォント用ROM3bには上記文書処理の際に使用す
るフォントデ一タ等が記憶され、ROM3のデータ用R
OM3cは上記文書処理等を行う際に使用する各種デー
タが記憶される。
In FIG. 1, reference numeral 100 denotes a host computer, which is a document in which graphics, images, characters, tables (including spreadsheets, etc.) are mixed based on a document processing program or the like stored in a program ROM 3b of a ROM 3. It has a CPU 1 for executing processing. System device 4
Are generally controlled by the CPU 1. In addition, the program ROM 3a of the ROM 3
Stores a control program of the CPU 1 and the like.
The font ROM 3b stores font data and the like used in the above document processing.
The OM 3c stores various data used when performing the above-described document processing and the like.

【0022】2はRAMであり、CPU1の主メモリや
ワークエリア等として機能する。5はキーボードコント
ローラ(KBC)であり、キーボード9や不図示のポイ
ンティングデバイスからのキー入力を制御する。6はC
RTコントローラ(CRTC)であり、CRTディスプ
レイ(CRT)10の表示を制御する。7はメモリコン
トローラ(MC)であり、ブートブログラム、種々のア
プリケーンョン、フォントデータ、ユーザファイル、及
び編集ファイル等を記憶するハードディスク(HD)や
フロッピーディスク(FD)等の外部メモリ11とのア
クセスを制御する。
Reference numeral 2 denotes a RAM, which functions as a main memory and a work area of the CPU 1. Reference numeral 5 denotes a keyboard controller (KBC) which controls key input from a keyboard 9 or a pointing device (not shown). 6 is C
An RT controller (CRTC) controls display on a CRT display (CRT) 10. Reference numeral 7 denotes a memory controller (MC) which is connected to an external memory 11 such as a hard disk (HD) or a floppy disk (FD) for storing boot programs, various applications, font data, user files, and editing files. Control access.

【0023】8はプリンタコントローラ(PRTC)
で、所定の双方向性インタフェース(インタフェース)
21を介してプリンタ300に接続されて、プリンタ3
00との通信制御処理を実行する。なお、CPU1は、
例えばRAM2上に設定された表示情報RAMへのアウ
トラインフォントの展開(ラスタライズ)処理を実行
し、CRT10上でのWYSIWYGを可能としてい
る。
8 is a printer controller (PRTC)
A predetermined bidirectional interface (interface)
21 and the printer 3
The communication control process with the 00 is executed. Note that the CPU 1
For example, a process of developing (rasterizing) the outline font on the display information RAM set on the RAM 2 is executed, and WYSIWYG on the CRT 10 is enabled.

【0024】また、CPU1は、CRT10上の不図示
のマウスカーソル等で指示されたコマンドに基づいて登
録された種々のウィンドウを開き、種々のデータ処理を
実行する。
The CPU 1 opens various registered windows based on commands specified by a mouse cursor or the like (not shown) on the CRT 10, and executes various data processing.

【0025】一方、プリンタ300において、12はプ
リンタCPUである。プリンタCPU12は、ROM1
3のプログラム用ROMに記憶された制御プログラム等
或いは外部メモリ14に記憶された制御ブログラム等に
基づいてシステムバス15に接続される各種のデバイス
とのアクセスを総括的に制御し、印刷部インタフェース
16を介して接続される印刷部(プリンタエンジン)1
7に出力情報としての画像信号を出力する。
On the other hand, in the printer 300, reference numeral 12 denotes a printer CPU. The printer CPU 12 has a ROM 1
3 to control overall access to various devices connected to the system bus 15 based on a control program or the like stored in the program ROM or a control program or the like stored in the external memory 14. Printing unit (printer engine) 1 connected via
7 outputs an image signal as output information.

【0026】また、ROM13のプログラムROM13
aには、後述の図3のフローチャートで示されるような
CPU12の制御プログラム等を記憶する。ROM13
のフォント用ROM13bには上記出力情報を生成する
際に使用するフォントデータ等が記憶され、ROM13
のデータ用ROM13cにはハードディスク等の外部メ
モリ14が設けられていないプリンタの場合には、ホス
トコンピュータ100上で利用される情報等が記憶され
る。
The program ROM 13 of the ROM 13
In a, a control program of the CPU 12 as shown in a flowchart of FIG. ROM13
The font ROM 13b stores font data and the like used when generating the output information.
In the case of a printer having no external memory 14 such as a hard disk, the data ROM 13c stores information used on the host computer 100.

【0027】CPU12は、入力部18を介してホスト
コンピュータ100との通信処理を行うことができる共
に、プリンタ300内の情報等をホストコンピュータ1
00へ通知することが可能に構成されている。19はC
PU12の主メモリ、ワークエリア等として機能するR
AMで、図示しない増設ポートに接続されるオプション
RAMによりメモリ容量を拡張することができるように
構成されている。なお、RAM19は、出力情報展開領
域、環境データ格納領域、NVRAM等に用いられる。
The CPU 12 can perform communication processing with the host computer 100 via the input unit 18 and also transmits information and the like in the printer 300 to the host computer 1.
00 is notified. 19 is C
R functioning as a main memory, a work area, etc. of the PU 12
The AM is configured so that the memory capacity can be expanded by an optional RAM connected to an additional port (not shown). The RAM 19 is used for an output information development area, an environment data storage area, an NVRAM, and the like.

【0028】前述したハードディスク(HD)及びIC
カード等の外部メモリ14は、メモリコントローラ(M
C)20によりアクセスを制御される。外部メモリ14
は、オプションとして接続され、フォントデータ、エミ
ュレーンョンプログラム、フォームデータ等を記憶す
る。
The above-mentioned hard disk (HD) and IC
An external memory 14 such as a card includes a memory controller (M
C) Access is controlled by 20. External memory 14
Is connected as an option and stores font data, emulation programs, form data, and the like.

【0029】また、18は前述した操作パネルで操作の
ためのスイッチ及びLED表示器等が配されている。な
お、前述した外部メモリ14は、1個に限らず少なくと
も1個以上備え、内蔵フォントに加えてオプションフォ
ントカードや、言語系の異なるプリンタ制御言語を解釈
するプログラムを格納した外部メモリを複数接続できる
ように構成されていても良い。
Reference numeral 18 denotes the above-described operation panel on which switches for operation, an LED display, and the like are arranged. The above-described external memory 14 is not limited to one, and is provided with at least one or more, and in addition to built-in fonts, an optional font card and a plurality of external memories storing programs for interpreting printer control languages of different languages can be connected. It may be configured as follows.

【0030】オプション400は、双方向インターフェ
ース(インターフェース)31を介してプリンタ300
に接続されており、プリンタ300からのコマンドの処
理を行なう。
The option 400 is connected to the printer 300 via the bidirectional interface (interface) 31.
And processes commands from the printer 300.

【0031】以上のように構成されたシステムにおい
て、プリンタ300では、ホストコンピュータ100か
らインターフェース21を介して受っ取った解像度や用
紙サイズ等の各種コマンド及び印字データをRAM19
に格納する。そして、ROM13に格納されたプログラ
ムによってコマンドを解析し、そのコマンドで要求され
た指示通りに印字データをビットマップに展開して、印
刷部I/F16を介して印刷部17に送り、実際の印字
を行う。なお、ホストコンピュータ100からプリンタ
300が受け取ったデータは、プリンタ300の図示し
ない2次記憶装置に格納してもよい。
In the system configured as described above, the printer 300 stores various commands such as resolution and paper size and print data received from the host computer 100 via the interface 21 in the RAM 19.
To be stored. Then, the command is analyzed by the program stored in the ROM 13, the print data is developed into a bit map as instructed by the command, and sent to the printing unit 17 via the printing unit I / F 16, and the actual printing is performed. I do. The data received by the printer 300 from the host computer 100 may be stored in a secondary storage device (not shown) of the printer 300.

【0032】さらに、オプションに関するコマンドがあ
った場合には、そのコマンドの要求をオプション制御部
22からインターフェース31を介してオプション40
0へ送り、オプション400のRAM33に格納する。
ここで、オプション400のROM34に格納されたプ
ログラムによりコマンドの要求に合致したオプションの
動作が行われるようになっている。
Further, when there is a command related to an option, a request for the command is transmitted from the option control unit 22 through the interface 31 to the option 40.
0 and stored in the RAM 33 of the option 400.
Here, the operation of the option that matches the request of the command is performed by the program stored in the ROM 34 of the option 400.

【0033】また、ホストコンピュータ100からコマ
ンドで指定するのと同様にプリンタ300の操作部10
を用いても、印字データの解像度や給紙口等を設定する
ことが可能となっている。ここで、操作部10を用いて
設定された値はプリンタ300の図示しないNVRAM
に格納される。
Further, the operation unit 10 of the printer 300 is designated in the same manner as specified by a command from the host computer 100.
Can be used to set the resolution of the print data, the paper feed port, and the like. Here, values set using the operation unit 10 are stored in an NVRAM (not shown) of the printer 300.
Is stored in

【0034】次に、本実施形態の特徴的な動作であるプ
リンタ300とオプション400間の制御動作を具体的
に説明する。
Next, the control operation between the printer 300 and the option 400, which is a characteristic operation of the present embodiment, will be specifically described.

【0035】本例ではプリンタ300に排紙オプション
が接続されている場合について説明するが、給紙オプシ
ョン、ネットワークカードのような拡張インターフェー
ス、及び拡張エミュレーンョンであっても、あるいはそ
れらのうちの複数のオプションが接続されている場合で
も同様のことが言える。
In this embodiment, a case where a paper discharge option is connected to the printer 300 will be described. However, a paper feed option, an extended interface such as a network card, and an extended emulation, or a plurality of emulations may be used. The same is true when options are connected.

【0036】排紙オプション400は、プリンタ300
と双方向インターフェース31を介して接続されてお
り、プリンタ300から排紙コマンドを受け取るとコマ
ンドをRAM33に保持し、ROM34に格納されたプ
ログラムを用いてステープルやジョブオフセットメール
ボックスの振り分け等の排紙処理を行なう。ここで、R
OM33は、書き込み可能なフラッシュROMを使用し
ている。
The paper discharge option 400 is a printer 300
When a paper ejection command is received from the printer 300, the command is stored in the RAM 33, and the paper ejection such as sorting of staples and job offset mailboxes is performed using a program stored in the ROM 34. Perform processing. Where R
The OM 33 uses a writable flash ROM.

【0037】このようなシステムにおいて、プリンタ3
00のROM13に記憶されているプログラムが変更と
なった場合には、図3のフローチャート(プログラムR
OM13aに記憶されたプログラム)を用いて解析処理
を行なう。
In such a system, the printer 3
If the program stored in the ROM 13 is changed, the flowchart of FIG.
The analysis process is performed using the program stored in the OM 13a).

【0038】まず、図3のステップS1において、排紙
オプション400のデバイスID(オプションを識別す
るID)とオプションのプログラムのバージョンを受け
取る。続くステップS2では、受け取ったデバイスID
がプリンタ300に対応したデバイスIDかどうかを判
断し、対応したデバイスIDでなかった場合には何も処
理を行なわない。
First, in step S1 in FIG. 3, the device ID of the paper discharge option 400 (ID for identifying the option) and the version of the optional program are received. In the following step S2, the received device ID
Is not a device ID corresponding to the printer 300, and if it is not a corresponding device ID, no processing is performed.

【0039】次にステップS3において、受け取った排
紙オプションのバージョンがプリンタ300のROM1
3に格納きれているプログラムのバージョンに対応して
いるかどうかを判断し、対応していた場合は何も処理を
行なわない。対応していなかった場合は、ステップS4
へ進んでプリンタ300の記憶装置を検索し、さらにス
テップS5において、対応したバージョンのプログラム
を排紙オプション400のROM34にダウンロードす
ることにより、プリンタ本体のプログラムと排紙オプシ
ョンのプログラムの整合をとる。上述の動作を表わす概
念図を図4に示す。
Next, in step S3, the version of the received paper discharge option is stored in the ROM1 of the printer 300.
Then, it is determined whether or not the program version corresponds to the version of the program stored in No. 3, and if it does, no processing is performed. If not, step S4
The program proceeds to step S5 to search the storage device of the printer 300, and further downloads the corresponding version of the program to the ROM 34 of the paper discharge option 400 in step S5, thereby matching the program of the printer main body with the program of the paper discharge option. FIG. 4 is a conceptual diagram showing the above operation.

【0040】なお、排紙オプションのプログラムをプリ
ンタ300の記憶装置に保持している場合について説明
したが、ホストコンピュータ10の記憶装置に保持して
も良いことは言うまでもない。
Although a case has been described where the program of the paper discharge option is stored in the storage device of the printer 300, it goes without saying that the program may be stored in the storage device of the host computer 10.

【0041】このように、本実施形態では、自分自身を
制御するプログラムを書き込み可能な記憶装置(例えば
フラッシュROM)に組み込まれたオプションを持つ印
刷装置において、機能拡張等の理由により印刷装置のプ
ログラムが変更されたときに、印刷装置の記憶装置にオ
プションのプログラムを保持し、必要に応じてグウンロ
ードすることにより自動的に印刷装置本体のプログラム
とオプションのプログラムの整合をとることができる。
これにより、常に正常な状態でオプションを機能させる
ことができる。
As described above, according to the present embodiment, in a printing apparatus having an option built in a storage device (for example, a flash ROM) into which a program for controlling itself can be written, the program of the printing apparatus is expanded due to a function expansion or the like. When the program is changed, the optional program is stored in the storage device of the printing apparatus, and the program of the printing apparatus main body and the optional program can be automatically matched by downloading the program as needed.
Thus, the option can always function in a normal state.

【0042】なお、本発明は、システムあるいは装置に
プログラムを供給することによって実施される場合にも
適用されることはいうまでもない。この場合、本発明に
係るプログラムを格納した記憶媒体が、本発明を構成す
ることになる。そして、該記憶媒体からそのプログラム
をシステムあるいは装置に読み込ませることによって、
そのシステムあるいは装置が予め定められた方法で動作
する。
It is needless to say that the present invention is also applied to a case where the present invention is implemented by supplying a program to a system or an apparatus. In this case, the storage medium storing the program according to the present invention constitutes the present invention. Then, by reading the program from the storage medium into a system or an apparatus,
The system or device operates in a predetermined manner.

【0043】次に、上記実施形態を適用するに好適なレ
ーザビームプリンタ(LBP)の構成について、図5を
参照しながら説明する。なお、本実施形態を適用するプ
リンタは、レーザビームプリンタに限られるものではな
く、他のプリント方式のプリンタでも良いことは言うま
でもない。
Next, the configuration of a laser beam printer (LBP) suitable for applying the above embodiment will be described with reference to FIG. The printer to which this embodiment is applied is not limited to a laser beam printer, and it goes without saying that a printer of another printing method may be used.

【0044】同図において、300はLBP本体であ
り、外部に接続されているホストコンピュータ100か
ら供給される印刷情報(文字コード等)やフォーム情報
あるいはマクロ命令等を入力して記憶すると共に、それ
らの情報に従って対応する文字パターンやフォームパタ
ーン等を作成し、記録媒体である記録紙等に像を形成す
る。
In FIG. 3, reference numeral 300 denotes an LBP main body, which inputs and stores print information (character codes and the like), form information, macro instructions, and the like supplied from an externally connected host computer 100; A corresponding character pattern, form pattern, or the like is created according to the information described above, and an image is formed on a recording medium, such as recording paper.

【0045】312は操作のためのスイッチ及びLED
表示器等が配されている操作パネル、301はLBP本
体300全体の制御及びホストコンピュータ100から
供給される文字情報等を解析するプリンタ制御ユニット
である。このプリンタ制御ユニット301は、主に文字
情報を対応する文字パターンのビデオ信号に変換してレ
ーザドライバ302に出力する。レーザドライバ302
は半導体レーザ303を駆動するための回路であり、入
力されたビデオ信号に応じて半導体レーザ303から発
射されるレーザ光304をオン/オフ切り換えする。
Reference numeral 312 denotes a switch and an LED for operation.
An operation panel 301 on which a display and the like are arranged is a printer control unit for controlling the entire LBP main body 300 and analyzing character information and the like supplied from the host computer 100. The printer control unit 301 mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to the laser driver 302. Laser driver 302
Is a circuit for driving the semiconductor laser 303, and turns on / off a laser beam 304 emitted from the semiconductor laser 303 in accordance with an input video signal.

【0046】レーザ光304は、回転多面鏡305で左
右方向に振らされて静電ドラム306上を走査露光す
る。これにより、静電ドラム306上には文字パターン
の静電潜像が形成されることになる。この潜像は、静電
ドラム306周囲に配設された現像ユニット307によ
り現像された後、記録紙に転写される。この記録紙には
カットシートを用い、カットシート記録紙はLBP30
0に装着した用紙カセット308に収納され、給紙ロー
ラ309及び搬送ローラ310と搬送ローラ311とに
より、装置内に取り込まれて静電ドラム306に供給さ
れる。
The laser beam 304 is swung in the left and right directions by a rotary polygon mirror 305 to scan and expose an electrostatic drum 306. As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 306. This latent image is developed by a developing unit 307 provided around the electrostatic drum 306, and then transferred to a recording sheet. A cut sheet is used for the recording paper, and the cut sheet recording paper is LBP30.
The sheet is stored in a sheet cassette 308 mounted on the sheet feeding unit 309, and is taken into the apparatus by a sheet feeding roller 309, a conveying roller 310 and a conveying roller 311, and supplied to the electrostatic drum 306.

【0047】また、LBP本体300には、図示しない
カードスロットが少なくとも1個以上備えられ、内蔵フ
ォントに加えてオプションフォントカード、言語系の異
なる制御カード(エミュレーションカード)を接続でき
るように構成されている。
The LBP main body 300 is provided with at least one or more card slots (not shown) so that an optional font card and a control card (emulation card) having a different language system can be connected in addition to the built-in fonts. I have.

【0048】本発明は、このようなプリンタ300に、
自身を制御するプログラムが組み込まれたオプンョンを
接続できる場合に適用される。
The present invention provides such a printer 300 with:
Applies when an option that incorporates a program that controls itself can be connected.

【0049】[0049]

【発明の効果】以上詳述したように、第1の発明である
印刷装置によれば、印刷装置のプログラムが変更された
場合に、印刷装置本体の記憶装置からオプションのプロ
グラムをオプションの記憶装置にダウンロードすること
が可能になり、印刷装置本体のプログラムとオプション
のプログラムとの整合をとることができる。これによ
り、機能拡張等の理由により印刷装置のプログラムが変
更された場合でも、オプションを正常に機能させること
ができる。
As described above in detail, according to the printing apparatus of the first invention, when the program of the printing apparatus is changed, the optional program is stored in the storage apparatus of the printing apparatus main body. The program of the printing apparatus main body and the optional program can be matched. This allows the option to function normally even when the program of the printing apparatus is changed due to a function expansion or the like.

【0050】第2の発明である印刷装置によれば、上記
第1の発明において、前記オプションは、給紙オプショ
ン、排紙オプション、拡張インターフェース及び拡張エ
ミュレーションを含む各種のオプションのうちの1つま
たは複数のオプションとしたので、複数のオプションを
備えた印刷装置においても、上記第1の発明と同等の効
果を得ることができる。
According to the printing apparatus of the second invention, in the first invention, the option is one of various options including a paper feed option, a paper discharge option, an expansion interface, and an expansion emulation. Since a plurality of options are provided, an effect equivalent to that of the first invention can be obtained even in a printing apparatus having a plurality of options.

【0051】第3の発明である印刷装置によれば、上記
第1または第2の発明において、簡単かつ的確に上記第
1の発明と同等の効果を得ることができる。
According to the printing apparatus of the third aspect, the same effects as those of the first aspect can be obtained simply and accurately in the first or second aspect.

【0052】第4の発明である印刷装置によれば、第1
乃至3の発明において、印刷装置本体のプログラムと目
的のオプションのプログラムとの整合を確実にとること
ができる。
According to the printing apparatus of the fourth aspect, the first aspect
In the inventions of (1) to (3), it is possible to reliably match the program of the printing apparatus main body with the program of the target option.

【0053】第5の発明である印刷装置のオプション制
御方法によれば、上記第1の発明と同等の効果を奏す
る。
According to the printing apparatus option control method of the fifth invention, the same effects as those of the first invention can be obtained.

【0054】第6の発明である印刷装置のオプション制
御方法によれば、第5の発明において、上記第2の発明
と同等の効果を奏する。
According to the printing apparatus option control method of the sixth invention, the fifth invention has the same effect as the second invention.

【0055】第7の発明である印刷装置のオプション制
御方法によれば、第5または第6の発明において、上記
第3の発明と同等の効果を奏する。
According to the printing apparatus option control method of the seventh invention, the fifth or sixth invention has the same effect as the third invention.

【0056】第8の発明である印刷装置のオプション制
御方法によれば、第5乃至第7の発明において、上記第
4の発明と同等の効果を奏する。
According to the printing apparatus option control method of the eighth invention, the same effects as those of the fourth invention can be obtained in the fifth to seventh inventions.

【0057】第9の発明である印刷装置のオプション装
置によれば、機能拡張等の理由により印刷装置のプログ
ラムが変更された場合でも、オプションを正常に機能さ
せることが可能になる。
According to the optional device of the printing apparatus of the ninth aspect, even if the program of the printing apparatus is changed due to a function expansion or the like, it becomes possible to make the options function normally.

【0058】第10の発明である機械読み取り可能な記
憶媒体によれば、記憶されているプログラムを読み取る
ことにより、上記第1の発明と同等の効果を得ることが
てきる。
According to the storage medium readable by the machine according to the tenth aspect of the present invention, the same effect as that of the first aspect can be obtained by reading the stored program.

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

【図1】本発明の実施形態に係るシステムの構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of a system according to an embodiment of the present invention.

【図2】本発明の実施形態に係るシステムの構成を示す
ブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a system according to an embodiment of the present invention.

【図3】実施形態の動作を示すフローチャートである。FIG. 3 is a flowchart illustrating the operation of the embodiment.

【図4】実施形態の動作を示す概念図である。FIG. 4 is a conceptual diagram illustrating the operation of the embodiment.

【図5】実施形態を適用するに好適なレーザビームプリ
ンタの断面図である。
FIG. 5 is a sectional view of a laser beam printer suitable for applying the embodiment.

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

100 ホストコンピュータ 300 プリンタ 400 オプション 12,32 CPU 13,34 ROM 22 オプション制御部 REFERENCE SIGNS LIST 100 host computer 300 printer 400 option 12, 32 CPU 13, 34 ROM 22 option control unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 専用のプログラムにより制御されるオプ
ションを備えた印刷装置において、 前記オプションのプログラムのバージョンを印刷装置本
体に知らせるオプション情報伝達手段と、 前記オプション情報伝達手段より受け取った前記バージ
ョンが前記印刷装置本体のプログラムのバージョンに対
して最新のものであるか否かを判定するバージョン判定
手段と、 前記オプションのプログラムのバージョンが最新でなか
った場合に、前記オプションのプログラムを印刷装置本
体の記憶装置から前記オプションの記憶装置にダウンロ
ードするダウンロード手段とを備えたことを特徴とする
印刷装置。
1. A printing apparatus having an option controlled by a dedicated program, wherein: an option information transmitting unit for notifying a printing apparatus main body of a version of the option program; and the version received from the option information transmitting unit is Version determination means for determining whether or not the version of the program of the printing apparatus is the latest version; and storing the option program in the printing apparatus when the version of the optional program is not the latest. And a download unit for downloading from the device to the optional storage device.
【請求項2】 前記オプションは、給紙オプション、排
紙オプション、拡張インターフェース及び拡張エミュレ
ーションを含む各種のオプションのうちの1つまたは複
数のオプションであることを特徴とする請求項1記載の
印刷装置。
2. The printing apparatus according to claim 1, wherein the option is one or more of various options including a paper feed option, a paper discharge option, an extension interface, and an extension emulation. .
【請求項3】 前記オプションの最新のプログラムを印
刷装置本体の記憶装置に記憶する記憶制御手段を備え、 前記ダウンロード手段は、 前記オプションのバージョンが最新のものでなかった場
合に印刷装置本体の前記記憶装置から前記オプションの
最新のプログラムを前記オプションの記憶装置にダウン
ロードする構成としたことを特徴とする請求項1または
請求項2記載の印刷装置。
3. The printing apparatus according to claim 1, further comprising: a storage control unit configured to store a latest program of the option in a storage device of the printing apparatus main body. 3. The printing apparatus according to claim 1, wherein the latest program of the option is downloaded from a storage device to the storage device of the option.
【請求項4】 前記オプション情報伝達手段は、 前記オプションのバージョンと共に、該オプションを識
別するためのデバイスIDを印刷装置本体に知らせる構
成にし、 さらに前記デバイスIDが印刷装置本体に対応している
か否かを判定する第1のID判定手段を設け、 前記デバイスIDが印刷装置本体に対応している場合
に、前記バージョン判定手段を作動することを特徴とす
る請求項1乃至請求項3記載の印刷装置。
4. The option information transmitting means is configured to notify a device ID for identifying the option together with a version of the option to a printing apparatus main body, and whether the device ID corresponds to the printing apparatus main body. 4. The printing apparatus according to claim 1, further comprising: a first ID determining unit that determines whether the version is determined when the device ID corresponds to the printing apparatus main body. apparatus.
【請求項5】 専用のプログラムにより制御されるオプ
ションを備えた印刷装置に対し、 前記オプションのプログラムのバージョンを印刷装置本
体に知らせるオプション情報伝達処理と、 前記オプション情報伝達処理より受け取った前記バージ
ョンが前記印刷装置本体のプログラムのバージョンに対
して最新のものであるか否かを判定するバージョン判定
処理と、 前記オプションのプログラムのバージョンが最新でなか
った場合に、前記オプションのプログラムを印刷装置本
体の記憶装置から前記オプションの記憶装置にダウンロ
ードするダウンロード処理とを実行することを特徴とす
る印刷装置のオプション制御方法。
5. An option information transmitting process for notifying a printing device main body of a version of the option program to a printing device having an option controlled by a dedicated program, and the version received from the option information transmitting process is A version determination process for determining whether or not the version of the program of the printing apparatus is the latest version; and, if the version of the optional program is not the latest, the And a download process for downloading from the storage device to the optional storage device.
【請求項6】 前記オプションは、給紙オプション、排
紙オプション、拡張インターフェース及び拡張エミュレ
ーションを含む各種のオプションのうちの1つまたは複
数のオプションであることを特徴とする請求項5記載の
印刷装置のオプション制御方法。
6. The printing apparatus according to claim 5, wherein the option is one or more of various options including a paper feed option, a paper discharge option, an extension interface, and an extension emulation. Option control method.
【請求項7】 前記ダウンロード処理は、 前記オプションのバージョンが最新のものでなかった場
合に、印刷装置本体の前記記憶装置から前記オプション
の最新のプログラムを該オプションの記憶装置にダウン
ロードすることを特徴とする請求項5または請求項6記
載の印刷装置のオプション制御方法。
7. The download process, wherein when the version of the option is not the latest version, the latest program of the option is downloaded from the storage device of the printing apparatus main body to the storage device of the option. 7. The option control method for a printing apparatus according to claim 5, wherein:
【請求項8】 前記オプション情報伝達処理は、 前記オプションのバージョンと共に、該オプションを識
別するためのデバイスIDを印刷装置本体に知らせる処
理にし、 さらに前記デバイスIDが印刷装置本体に対応している
か否かを判定する第1のID判定処理を行い、 前記デバイスIDが印刷装置本体に対応している場合
に、前記バージョン判定処理を実行することを特徴とす
る請求項5乃至請求項7記載の印刷装置のオプション制
御方法。
8. The option information transmitting process is a process of notifying a device ID for identifying the option together with a version of the option to a printing apparatus main body, and further includes determining whether the device ID corresponds to the printing apparatus main body. 8. The printing method according to claim 5, wherein a first ID determination process is performed to determine whether or not the device ID corresponds to a printing apparatus main body. An optional control method for the device.
【請求項9】 オプション専用のプログラムが記憶され
る記憶手段を有し、前記記憶手段に記憶されたプログラ
ムにより印刷装置からの要求に合致したオプション動作
を行う印刷装置のオプション装置において、 前記記憶手段中のプログラムのバージョンを前記印刷装
置に知らせる伝達手段を有し、 前記バージョンが前記印刷装置のプログラムのバージョ
ンに対して最新のものでない場合に、前記印刷装置から
送られてくるオプション専用プログラムを前記記憶装置
に記憶することを特徴とする印刷装置のオプション装
置。
9. An optional device for a printing apparatus, comprising: a storage unit for storing an option-specific program, and performing an optional operation in accordance with a request from the printing device according to the program stored in the storage unit. Transmitting means for notifying the printing device of the version of the program in the printing device, and when the version is not the latest version of the program version of the printing device, the option-specific program sent from the printing device; An optional device for a printing device, which is stored in a storage device.
【請求項10】 印刷装置のオプション側から受け取っ
た該オプションのプログラムのバージョンが印刷装置本
体のプログラムのバージョンに対して最新のものである
か否かを判定するバージョン判定手段と、 前記オプションのプログラムのバージョンが最新でなか
った場合に、前記オプションのプログラムを印刷装置本
体の記憶装置から前記オプションの記憶装置にダウンロ
ードするダウンロード手段とを含むプログラムを記憶し
たことを特徴とする機械読み取り可能な記憶媒体。
10. A version judging means for judging whether or not the version of the optional program received from the option side of the printing apparatus is the latest version of the version of the program of the main body of the printing apparatus; And a download unit that downloads the optional program from a storage device of the printing apparatus main body to the optional storage device when the version of the device is not the latest version. .
JP9210168A 1997-07-22 1997-07-22 Printer, option control method thereof, and option device of printer Pending JPH1134443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9210168A JPH1134443A (en) 1997-07-22 1997-07-22 Printer, option control method thereof, and option device of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9210168A JPH1134443A (en) 1997-07-22 1997-07-22 Printer, option control method thereof, and option device of printer

Publications (1)

Publication Number Publication Date
JPH1134443A true JPH1134443A (en) 1999-02-09

Family

ID=16584907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9210168A Pending JPH1134443A (en) 1997-07-22 1997-07-22 Printer, option control method thereof, and option device of printer

Country Status (1)

Country Link
JP (1) JPH1134443A (en)

Similar Documents

Publication Publication Date Title
JPH11314439A (en) Printer, method for controlling it, print control system and storage medium
JP3123634B2 (en) Printing apparatus and control method thereof
JPH09190312A (en) Printing system and data processing method therefor
JP3159875B2 (en) Printing method and apparatus, and printing system
JP2000085216A (en) Printer, discharging method, print system and memory medium
JPH1134443A (en) Printer, option control method thereof, and option device of printer
JP3610194B2 (en) Print control apparatus, print control method, and storage medium storing computer-readable program
JP2004227075A (en) Printing system
JPH11348380A (en) Image output method and apparatus, image processor and processing method, and memory medium
JP3209858B2 (en) Print control device and print control method
JP2000263895A (en) Image output control device, status outputting method thereof and memory medium storing program readable by computer
JPH10193748A (en) Method and system for processing information and recording medium
JPH11170667A (en) Output unit and control method thereof
JPH08156371A (en) Image output device, host computer and network housing both of them
JPH08249138A (en) Method and device for controlling output
JPH11320984A (en) Output unit and control method therefor
JP2000089928A (en) Output device and its output controlling method
JP3320229B2 (en) Image forming method and printer control system
JPH09146521A (en) Device and method for output control
JPH08328782A (en) Information processor, information processing method, printer, control method therefor, printing system and control method therefor
JPH0872362A (en) Printing device and control method thereof
JPH11338653A (en) Printing method, printer and medium for storing printing program
JPH11327833A (en) Printing system/method
JP2004164473A (en) Output control device
JP2001199136A (en) Printing apparatus and printing method