[go: up one dir, main page]

JPH096553A - Print control method and apparatus, printing apparatus, and printing system including the printing apparatus - Google Patents

Print control method and apparatus, printing apparatus, and printing system including the printing apparatus

Info

Publication number
JPH096553A
JPH096553A JP7151485A JP15148595A JPH096553A JP H096553 A JPH096553 A JP H096553A JP 7151485 A JP7151485 A JP 7151485A JP 15148595 A JP15148595 A JP 15148595A JP H096553 A JPH096553 A JP H096553A
Authority
JP
Japan
Prior art keywords
program
data
printing
interface unit
network
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
JP7151485A
Other languages
Japanese (ja)
Inventor
Yasushi Sato
泰 佐藤
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 JP7151485A priority Critical patent/JPH096553A/en
Publication of JPH096553A publication Critical patent/JPH096553A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

(57)【要約】 【目的】 容易に通信用プロトコルを変更して、外部機
器よりの通信制御プログラムをダウンロードできる印刷
制御方法及びその装置及び印刷装置と該印刷装置を含む
印刷システムを提供することを目的とする。 【構成】 ホストコンピュータよりの印刷データを受信
して印刷装置に出力する印刷制御装置であって、ホスト
コンピュータ或はネットワーク・インターフェース部か
らの印刷データを受信して、プリンタ装置が変換可能な
データに変換し、その変換したデータをプリンタ装置に
伝送する。また、ホストコンピュータからダウンロード
プログラムを受信すると、その受信したプログラムをネ
ットワーク・インターフェース部に送信して記憶させ
る。そのネットワーク・インターフェース部は、その記
憶したプログラムに従って通信制御を行ってネットワー
クよりの印刷データを受信する。
(57) [Abstract] [PROBLEMS] To provide a print control method, a device for printing the same, a printing device and a printing system including the printing device, by which a communication control program can be easily downloaded by changing a communication protocol. With the goal. A print control device that receives print data from a host computer and outputs the print data to a printing device. The print control device receives print data from a host computer or a network interface unit and converts the print data into data that can be converted by a printer device. The data is converted, and the converted data is transmitted to the printer device. Further, when the downloaded program is received from the host computer, the received program is transmitted to the network interface section and stored therein. The network interface unit performs communication control according to the stored program and receives print data from the network.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、外部機器よりの印刷デ
ータを受信して印刷を制御する印刷制御方法及びその装
置と印刷装置及び該印刷装置を含む印刷システムに関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control method for receiving print data from an external device and controlling printing, an apparatus therefor, a printing apparatus, and a printing system including the printing apparatus.

【0002】[0002]

【従来の技術】ネットワークに接続されて印刷を行う環
境において、ネットワークと印刷装置との間にネットワ
ーク・インターフェース部(ボード)を介在させ、その
インターフェース部により、ネットワークのプロトコル
を解釈することにより、ネットワークよりの印刷データ
を受信して印刷するのが一般的である。この様なインタ
ーフェース・ボードにおいて、制御対象の通信プロトコ
ルを変更、或は追加する場合は、そのインターフェース
・ボード上に搭載されている、プログラム・メモリを格
納している読み出し専用メモリ(ROM)を交換するの
が一般的であった。
2. Description of the Related Art In an environment in which printing is performed by connecting to a network, a network interface unit (board) is interposed between the network and a printing apparatus, and the interface unit interprets a network protocol to thereby perform a network operation. It is common to receive and print the print data from In such an interface board, when changing or adding the communication protocol to be controlled, the read-only memory (ROM) storing the program memory mounted on the interface board is replaced. It was common to do.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うなインターフェース・ボードのROMを交換する場
合、その交換作業及び動作確認にかなりの手間を要して
いた。また、電気的に部分消去及び書き込みが可能なR
OM(フラッシュROM等)を搭載し、ネットワーク経
由で、そのインターフェース・ボードのプログラムを書
き換えたり、或は追加をすることが考えられる。しか
し、この様なプロトコル制御のプログラムをインターフ
ェース・ボードにダウンロードするには、ネットワーク
で使用される通信プロトコルを変更する必要が生じる。
従って、そのプロトコルの解釈プログラムを書き換える
こと、或は、対象とするプロトコルを完全に変更するこ
とは不可能であった。
However, when replacing the ROM of such an interface board, it takes a lot of time and labor for the replacement work and the operation confirmation. In addition, R that can be electrically partially erased and written
It is possible to install an OM (flash ROM etc.) and rewrite or add the program of the interface board via the network. However, in order to download such a protocol control program to the interface board, it is necessary to change the communication protocol used in the network.
Therefore, it is impossible to rewrite the interpretation program of the protocol or completely change the target protocol.

【0004】本発明は上記従来例に鑑みてなされたもの
で、容易に通信用プロトコルを変更して、外部機器より
の通信制御プログラムをダウンロードできる印刷制御方
法及びその装置及び印刷装置と該印刷装置を含む印刷シ
ステムを提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and a print control method and its apparatus, printing apparatus, and printing apparatus in which the communication protocol can be easily changed to download the communication control program from an external device. An object of the present invention is to provide a printing system including the.

【0005】また本発明の目的は、簡単に通信用プロト
コルを変更して印刷データを受信する通信手順を変更で
きる印刷制御方法及びその装置及び印刷装置と該印刷装
置を含む印刷システムを提供することにある。
It is another object of the present invention to provide a print control method, a device therefor, a printing apparatus and a printing system including the printing apparatus, which can easily change the communication protocol to change the communication procedure for receiving print data. It is in.

【0006】また本発明の他の目的は、外部機器よりの
プログラムをダウンロードし、ネットワークよりの印刷
データを受信して印刷できる印刷制御方法及びその装置
及び印刷装置と該印刷装置を含む印刷システムを提供す
ることにある。
Another object of the present invention is to provide a print control method capable of downloading a program from an external device, receiving print data from a network and printing, a device therefor, a printing device and a printing system including the printing device. To provide.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に本発明の印刷制御装置は以下のような構成を備える。
即ち、外部機器よりの印刷データを受信して印刷装置に
出力する印刷制御装置であって、前記外部機器或はネッ
トワーク・インターフェース部から印刷データを受信し
て印刷装置が変換可能なデータに変換する変換手段と、
前記変換手段により変換したデータを前記印刷装置に伝
送する伝送手段と、前記外部機器からダウンロードプロ
グラムを受信する受信手段と、前記受信手段により受信
したプログラムを前記ネットワーク・インターフェース
部に送信する送信手段とを有する。
To achieve the above object, a print control apparatus according to the present invention has the following arrangement.
That is, a print control device that receives print data from an external device and outputs it to a printing device, and receives print data from the external device or a network interface unit and converts it into data that can be converted by the printing device. Conversion means,
Transmitting means for transmitting the data converted by the converting means to the printing device; receiving means for receiving a download program from the external device; and transmitting means for transmitting the program received by the receiving means to the network interface unit. Have.

【0008】また上記目的を達成するために本発明の印
刷制御方法は以下のような工程を備える。即ち、外部機
器よりの印刷データを受信して印刷を行うように制御す
る印刷制御方法であって、前記外部機器或はネットワー
ク・インターフェース部から印刷データを受信して印刷
装置が変換可能なデータに変換する工程と、変換したデ
ータを前記印刷装置に伝送する工程と、前記外部機器か
らダウンロードプログラムを受信する工程と、受信した
プログラムを前記ネットワーク・インターフェース部に
送信する工程とを有する。
In order to achieve the above object, the print control method of the present invention includes the following steps. That is, it is a print control method of controlling to print by receiving print data from an external device, the print data being received from the external device or the network interface unit and converted into data that can be converted by the printing apparatus. It includes a step of converting, a step of transmitting the converted data to the printing device, a step of receiving a download program from the external device, and a step of transmitting the received program to the network interface unit.

【0009】また本発明の印刷システムは以下のような
構成を備える。即ち、外部機器よりの印刷データを受信
して印刷を行う印刷装置を含む印刷システムであって、
前記印刷装置は、前記外部機器或はネットワーク・イン
ターフェース部から印刷データを受信して印刷可能なデ
ータに変換するデータ変換手段と、前記データ変換手段
により変換したデータに基づいて印刷する印刷手段と、
前記外部機器からダウンロードプログラムを受信する受
信手段と、前記受信手段により受信したプログラムを前
記ネットワーク・インターフェース部に送信する送信手
段とを有し、前記ネットワーク・インターフェース部
は、前記プログラムを記憶する記憶手段と、前記記憶手
段に記憶された制御プログラムに従ってネットワークと
前記印刷装置との間の通信プロトコルを制御する制御手
段とを有する。
Further, the printing system of the present invention has the following configuration. That is, a printing system including a printing device that receives print data from an external device and performs printing,
The printing apparatus receives data from the external device or a network interface unit and converts the data into printable data, and a printing unit that prints based on the data converted by the data conversion unit.
The network interface unit has a receiving unit that receives the download program from the external device, and a transmitting unit that transmits the program received by the receiving unit to the network interface unit, and the network interface unit stores the program. And a control unit that controls a communication protocol between the network and the printing apparatus according to a control program stored in the storage unit.

【0010】[0010]

【作用】以上の構成において、印刷装置は、外部機器或
はネットワーク・インターフェース部から印刷データを
受信して印刷可能なデータに変換し、その変換されたデ
ータに基づいて印刷するとともに、外部機器からダウン
ロードプログラムを受信し、その受信したプログラムを
ネットワーク・インターフェース部に送信する。そして
ネットワーク・インターフェース部は、受信したプログ
ラムを記憶手段に記憶し、その記憶された制御プログラ
ムに従ってネットワークと印刷装置との間の通信プロト
コルを制御するように動作する。
With the above-described structure, the printing apparatus receives print data from an external device or a network interface unit, converts the print data into printable data, prints based on the converted data, and outputs the print data from the external device. The download program is received, and the received program is transmitted to the network interface unit. Then, the network interface unit stores the received program in the storage unit and operates so as to control the communication protocol between the network and the printing apparatus according to the stored control program.

【0011】[0011]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。本実施例を詳しく説明する前
に、本実施例を適応するレーザビームプリンタの構成に
ついて図1を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the accompanying drawings. Before describing this embodiment in detail, the configuration of a laser beam printer to which this embodiment is applied will be described with reference to FIG.

【0012】図1は、本実施例のレーザビームプリンタ
(以下LBP)の内部構造を示す断面図で、このLBP
は不図示のデータ源から文字パターンの登録や提携書式
(フォームデータ)などの登録が行えるように構成され
ている。
FIG. 1 is a sectional view showing the internal structure of a laser beam printer (hereinafter LBP) of this embodiment.
Is configured so that it is possible to register character patterns and affiliated forms (form data) from a data source (not shown).

【0013】図1において、101はLBP本体を示
し、外部装置(例えば、図2のホストコンピュータ20
1,202等)から供給される文字情報(文字コード)
やフォーム情報あるいはマクロ命令などを入力して記憶
するとともに、それらの情報に従って対応する文字パタ
ーンやフォームパターンなどを作成し、記録媒体である
記録用紙上に像を形成する。102は、オペレータによ
り操作されるスイッチ及びプリンタの状態等を表示する
LED表示器やLCD表示器が配置されている操作パネ
ル、103はLBP101全体の制御及び外部装置から
供給される文字情報などを解析するプリンタ制御ユニッ
トである。このプリンタ制御ユニット103は、主に文
字情報に対応する文字パターンをビデオ信号に変換して
レーザドライバ106に出力する。レーザドライバ10
6は、半導体レーザ107を駆動するための回路であ
り、入力されたビデオ信号に応じて半導体レーザ107
から発射されるレーザ光105をオン/オフ切り替えす
る。このレーザ光105は回転多面鏡104で左右方向
に振られて静電ドラム108上を走査露光する。これに
より、静電ドラム108上には文字パターンの静電潜像
が形成されることになる。この静電潜像は、静電ドラム
108周囲に配置された現像ユニット109により現像
された後、記録紙に転写される。この記録紙にはカット
シートを用い、カットシート記録紙はLBP101に装
着された用紙カセット112に収納され、給紙ローラ1
11及び搬送ローラ110の回転により装置内に取り込
まれ静電ドラム108に供給される。こうして転写され
た記録紙114は、排紙ローラ115の回転によって、
装置外のトレイ113上に排紙される。
In FIG. 1, reference numeral 101 denotes an LBP main body, which is an external device (for example, the host computer 20 of FIG. 2).
1,202 etc.) character information (character code)
In addition to inputting and storing form information or macro commands, a corresponding character pattern or form pattern is created according to the information, and an image is formed on a recording sheet as a recording medium. Reference numeral 102 denotes an operation panel on which an LED display or an LCD display for displaying a switch operated by an operator, a printer status, and the like are arranged, and 103 controls the entire LBP 101 and analyzes character information supplied from an external device. Printer control unit. The printer control unit 103 mainly converts a character pattern corresponding to character information into a video signal and outputs the video signal to the laser driver 106. Laser driver 10
Reference numeral 6 denotes a circuit for driving the semiconductor laser 107, which corresponds to the input video signal.
The laser light 105 emitted from is switched on / off. The laser beam 105 is oscillated in the left-right direction by the rotary polygon mirror 104 to scan and expose the electrostatic drum 108. As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 108. The electrostatic latent image is developed by the developing unit 109 arranged around the electrostatic drum 108 and then transferred to the recording paper. A cut sheet is used as the recording sheet, and the cut sheet recording sheet is stored in the sheet cassette 112 mounted on the LBP 101, and the sheet feeding roller 1
It is taken into the apparatus by the rotation of 11 and the conveyance roller 110 and is supplied to the electrostatic drum 108. The recording paper 114 thus transferred is rotated by the discharge roller 115,
The paper is discharged onto the tray 113 outside the apparatus.

【0014】図2は、本発明の一実施例による印刷シス
テムの構成を示すブロック図である。
FIG. 2 is a block diagram showing the arrangement of a printing system according to an embodiment of the present invention.

【0015】本実施例による印刷システムは、印刷制御
装置203に接続され、印刷データ及びネットワーク・
インターフェース用のダウンロードプログラムを印刷制
御装置203に送信するホストコンピュータ201と、
ネットワーク210を介して印刷制御装置203に印刷
データを送信するホストコンピュータ202と、印刷デ
ータを入力するインターフェース部とデータ変換部を有
する印刷制御装置203と、図1のブロック図で示され
た印刷装置本体101、及びネットワーク210と印刷
制御装置203との間のインターフェースを制御するネ
ットワーク・インターフェース部205とを有してい
る。
The printing system according to the present embodiment is connected to the print control device 203, and print data and network.
A host computer 201 for transmitting an interface download program to the print control apparatus 203;
A host computer 202 that transmits print data to the print control apparatus 203 via the network 210, a print control apparatus 203 that has an interface unit and a data conversion unit that inputs print data, and the printing apparatus shown in the block diagram of FIG. It has a main body 101 and a network interface unit 205 that controls an interface between the network 210 and the print control apparatus 203.

【0016】尚、このネットワーク・インターフェース
部205の制御プログラムは、電気的に消去或は書き込
みが可能なROM(フラッシュROMやEEPROM
等)に格納されている。
The control program of the network interface unit 205 is an electrically erasable or writable ROM (flash ROM or EEPROM).
Etc.).

【0017】次に、以上の構成を備える印刷システムの
動作を説明する。
Next, the operation of the printing system having the above configuration will be described.

【0018】いま、ホストコンピュータ202が印刷制
御装置203に対し印刷処理を行う場合には、「ネット
ワーク・プロトコル1」を使用してデータを送信するも
のとする。この場合、ネットワーク・インターフェース
部205には、「ネットワーク・プロトコル1」を解釈
し、その「ネットワーク・プロトコル1」のパケットか
らデータを抽出して印刷制御装置203へ送信する必要
がある。その後、ネットワークの拡張や変更等により、
ネットワーク210を流れるプロトコルが、「ネットワ
ーク・プロトコル1」から「ネットワーク・プロトコル
2」に変更された場合は、ネットワーク・インターフェ
ース部205はネットワーク210から印刷データを受
け取ることができなくなる。
Now, when the host computer 202 performs print processing to the print control apparatus 203, it is assumed that data is transmitted using "network protocol 1". In this case, the network interface unit 205 needs to interpret the “network protocol 1”, extract the data from the packet of the “network protocol 1”, and transmit the data to the print control apparatus 203. After that, due to network expansion and changes,
When the protocol flowing through the network 210 is changed from “network protocol 1” to “network protocol 2”, the network interface unit 205 cannot receive print data from the network 210.

【0019】この様な場合に、物理的にネットワーク・
インターフェース部205のプログラムROMを変更す
ることなく、ネットワーク・インターフェース部205
に対して「ネットワーク・プロトコル2」の解釈プログ
ラムを載せる実施例を以下に示す。
In such a case, the network
The network interface unit 205 without changing the program ROM of the interface unit 205.
An example in which an interpreter program of "network protocol 2" is installed is shown below.

【0020】まず、ホストコンピュータ201からネッ
トワーク・インターフェース部205にて実行可能な
「ネットワーク・プロトコル2」の解釈プログラムを、
そのプログラム情報にヘッダなどを付加して印刷制御装
置203へ送信する。
First, an interpreting program of "network protocol 2" that can be executed by the network interface unit 205 from the host computer 201 is executed.
A header or the like is added to the program information and transmitted to the print control apparatus 203.

【0021】一方、印刷制御装置203では、ホストコ
ンピュータ201から受取ったデータがダウンロードプ
ログラムか、印刷データであるかを判断し、印刷データ
であった場合は印刷装置101が解釈可能なデータに変
換して印刷装置101に送出する。一方、ホストコンピ
ュータ201から受信したデータがダウンロードプログ
ラムであった場合は、そのデータをネットワーク・イン
ターフェース部205へ転送する。
On the other hand, the print control device 203 determines whether the data received from the host computer 201 is a download program or print data, and if it is print data, it is converted into data that the printing device 101 can interpret. And sends it to the printing apparatus 101. On the other hand, if the data received from the host computer 201 is a download program, the data is transferred to the network interface unit 205.

【0022】これによりネットワーク・インターフェー
ス部205は、印刷制御装置203のインターフェース
部から受け取ったデータが、ダウンロードプログラム
か、或はネットワーク210ヘの応答データであるかを
判断し、ネットワーク210ヘの応答データである場合
は、そのままネットワーク210ヘそのデータを出力す
る。一方、印刷制御装置203より受信したデータがダ
ウンロードプログラムであった場合は、そのヘッダによ
り指定されたフラッシュROM領域に対してプログラム
データ書き込み、そのプログラムを実行可能にする。
Accordingly, the network interface unit 205 judges whether the data received from the interface unit of the print control apparatus 203 is the download program or the response data to the network 210, and the response data to the network 210 is sent. If so, the data is directly output to the network 210. On the other hand, if the data received from the print control device 203 is a download program, the program data is written to the flash ROM area designated by the header and the program can be executed.

【0023】以上説明したように、これにより、ホスト
コンピュータ202からネットワーク210を介して、
「ネットワーク・プロトコル2」を用いて印刷制御装置
203へ印刷データを送信して印刷することができる。
As described above, this allows the host computer 202 to connect via the network 210.
The print data can be transmitted to the print control apparatus 203 to print using the “network protocol 2”.

【0024】図3は、本実施例の印刷制御装置203の
構成を示すブロック図である。
FIG. 3 is a block diagram showing the arrangement of the print control apparatus 203 of this embodiment.

【0025】図3において、301はネットワーク21
0を介して印刷データを受信するためのネットワーク・
インターフェース部205を接続し、ネットワーク・イ
ンターフェース部205よりの印刷データを受信した
り、ホストコンピュータ201より送られてきたダウン
ロードプログラムをネットワーク・インターフェース部
205に送信するためのインターフェース(IF)部で
ある。 302は、直接ホストコンピュータ201を接
続し、印刷データやネットワークインターフェースヘの
ダウンロードプログラムを受信するためのインターフェ
ース(IF)部である。303は印刷装置101と接続
して、印刷装置101が解釈可能なデータ形式に変換し
た印刷データを送出するためのインターフェース(I
F)部である。303はマイクロプロセッサ形態の中央
処理装置(CPU)であり、例えばクロックパルス発生
回路、遅延回路、ゲート回路、その他の論理回路などを
有する順序回路としての機能をも備えている。304は
読み出し専用メモリ(ROM)であり、CPU303が
各部に制御信号を供給するための制御プログラムなどを
記憶している。305は読み書き可能なランダムアクセ
スメモリ(RAM)で、各部の動作状態を記憶する領域
を有するとともに、各処理を実行する際に必要な作業領
域を有する。306はCPU303と各インターフェー
ス(IF)部、RAM305及びROM304とを電気
的に接続し、メモリアドレスやデータや各種制御信号を
転送するために用いられるバスである。
In FIG. 3, 301 is the network 21.
A network for receiving print data via
The interface unit 205 is an interface (IF) unit for connecting the interface unit 205, receiving print data from the network interface unit 205, and transmitting a download program sent from the host computer 201 to the network interface unit 205. An interface (IF) unit 302 is directly connected to the host computer 201 and receives print data and a download program to a network interface. Reference numeral 303 denotes an interface (I) for connecting to the printing apparatus 101 and transmitting print data converted into a data format that the printing apparatus 101 can interpret.
Part F). Reference numeral 303 denotes a microprocessor type central processing unit (CPU), which also has a function as a sequential circuit including, for example, a clock pulse generation circuit, a delay circuit, a gate circuit, and other logic circuits. A read-only memory (ROM) 304 stores a control program for the CPU 303 to supply a control signal to each unit. A readable / writable random access memory (RAM) 305 has an area for storing the operation state of each unit and a work area necessary for executing each process. A bus 306 is used to electrically connect the CPU 303 to each interface (IF) unit, the RAM 305, and the ROM 304, and transfer memory addresses, data, and various control signals.

【0026】図4は、本実施例のネットワーク・インタ
ーフェース部205の構成を示すブロック図である。
FIG. 4 is a block diagram showing the configuration of the network interface unit 205 of this embodiment.

【0027】図4において、401はネットワーク21
0と接続され、ホストコンピュータ202よりの印刷デ
ータを受信するためのインターフェース(IF)部であ
る。402は印刷制御装置203と接続し、ネットワー
ク210を介して受信した印刷データを印刷制御装置2
03へ送出したり、印刷制御装置203から前述のダウ
ンロードプログラムを入力するためのインターフェース
(IF)部である。403はマイクロプロセッサ形態の
中央処理装置(CPU)であり、例えばクロックパルス
発生回路、遅延回路、ゲート回路、その他の論理回路な
どを有する順序回路等の機能を有している。404は部
分的に電気的に消去あるいは書き込みが可能なROM
(フラッシュROM)であり、前述のプロトコル解釈プ
ログラムや、ホストコンピュータ201よりダウンロー
ドされたプログラムを記憶している。405は読み書き
可能なランダムアクセスメモリ(RAM)であり、各装
置の動作状態を記憶する領域を有するとともに、各処理
を実行する際に必要な作業領域を有するものである。4
06はCPU403と各インターフェース部、RAM4
05及びROM404とを電気的に接続し、メモリアド
レスやデータ及び制御信号を転送するために用いられる
バスである。
In FIG. 4, 401 is the network 21.
0 is an interface (IF) unit for receiving print data from the host computer 202. A print control device 2 is connected to the print control device 203, and receives print data received via the network 210.
03 is an interface (IF) unit for sending the downloaded program to the print control device 203 and for inputting the download program from the print control device 203. Reference numeral 403 denotes a central processing unit (CPU) in the form of a microprocessor, which has functions such as a clock pulse generation circuit, a delay circuit, a gate circuit, and a sequential circuit having other logic circuits. 404 is a ROM that can be partially electrically erased or written
(Flash ROM), which stores the above-described protocol interpretation program and the program downloaded from the host computer 201. Reference numeral 405 denotes a readable / writable random access memory (RAM), which has an area for storing the operation state of each device and a work area necessary for executing each process. Four
Reference numeral 06 denotes the CPU 403, each interface unit, and the RAM 4
05 and the ROM 404 are electrically connected to each other and are buses used for transferring memory addresses, data, and control signals.

【0028】図5は、本実施例のホストコンピュータ2
01より印刷制御装置203を介してネットワーク・イ
ンターフェース部205に送られるプロトコル解釈プロ
グラムのデータフォーマットの一例を示す図である。
FIG. 5 shows the host computer 2 of this embodiment.
10 is a diagram showing an example of a data format of a protocol interpretation program sent from 01 to the network interface unit 205 via the print control device 203. FIG.

【0029】このダウンロードデータのフォーマット
は、プロトコル解釈プログラム(実際のプログラム部
分)501に、このデータパケットがダウンロードプロ
グラムであることを示すデータ識別部(“PROG”)50
2と、ダウンロードしたプログラムの種別などを示すコ
メント(ここでは“ProtocolX”)503と、そのプロ
グラムをネットワーク・インターフェース部205のフ
ラッシュROMのどこに格納するかを示すダウンロード
アドレス(ここでは、16進数で“1000”番地)504
と、ダウンロードされるプログラムの長さを示すダウン
ロードプログラム長(ここでは16進数の“128”バイ
ト又はワード)505などの各種ヘッダが付加されてい
る。
The format of this download data is as follows: a protocol interpretation program (actual program part) 501, a data identification part ("PROG") 50 indicating that this data packet is a download program.
2, a comment (here, “ProtocolX”) 503 indicating the type of the downloaded program, and a download address (here, in hexadecimal notation in which the program ROM is stored in the flash ROM of the network interface unit 205). 1000 "address) 504
And various headers such as a download program length (here, "128" bytes or words of hexadecimal number) 505 indicating the length of the downloaded program are added.

【0030】次に、印刷制御装置203の動作を図6に
示すフローチャートを用いて説明する。
Next, the operation of the print control device 203 will be described with reference to the flowchart shown in FIG.

【0031】図6は、本実施例の印刷制御装置203に
おいて、インターフェース部302を介してホストコン
ピュータ201よりのデータを受信した時の処理を示す
フローチャートで、この処理を実行する制御プログラム
はROM305に記憶されている。
FIG. 6 is a flow chart showing a process when data is received from the host computer 201 via the interface unit 302 in the print control apparatus 203 of this embodiment. The control program for executing this process is stored in the ROM 305. Remembered

【0032】まずステップS1において、インターフェ
ース302を介してホストコンピュータ201よりのデ
ータを入力する。次にステップS2に進み、ステップS
1で入力したデータが、ダウンロードプログラムである
か、印刷データであるかを判断する。その入力データが
ダウンロードプログラムであった場合はステップS3に
進み、その入力したダウンロードプログラムを、インタ
ーフェース部301を介してネットワーク・インターフ
ェース部205ヘ出力する。
First, in step S1, data from the host computer 201 is input via the interface 302. Next, in step S2, step S
It is determined whether the data input in 1 is a download program or print data. If the input data is a download program, the process proceeds to step S3, and the input download program is output to the network interface unit 205 via the interface unit 301.

【0033】一方、ステップS2において、ステップS
1で入力したデータが印刷データであった場合はステッ
プS4に進み、印刷装置101が解釈可能なデータ形式
に、その受信したデータを変換する。そしてステップS
5に進み、その変換した印刷データを、インターフェー
ス部303を介して印刷装置101へ出力して印刷を行
う。
On the other hand, in step S2, step S
When the data input in 1 is print data, the process proceeds to step S4, and the received data is converted into a data format that the printing apparatus 101 can interpret. And step S
In step 5, the converted print data is output to the printing apparatus 101 via the interface unit 303 to print.

【0034】次に、図7のフローチャートを参照して、
本実施例のネットワーク・インターフェース部205に
おける処理動作について説明する。
Next, referring to the flowchart of FIG.
The processing operation in the network interface unit 205 of this embodiment will be described.

【0035】図7は、本実施例のネットワーク・インタ
ーフェース部205において、印刷制御装置203から
データを受信した時の処理を示すフローチャートで、こ
の処理を実行する制御プログラムはROM404に記憶
されている。
FIG. 7 is a flowchart showing a process when data is received from the print control device 203 in the network interface unit 205 of this embodiment. A control program for executing this process is stored in the ROM 404.

【0036】まずステップS11で、インターフェース
402を介して印刷装置101からデータを受信する。
次にステップS12に進み、ステップS11で入力した
データが、印刷制御装置203からのダウンロードプロ
グラムであるか、ネットワーク210に出力するデータ
であるかを判断する。
First, in step S11, data is received from the printing apparatus 101 via the interface 402.
Next, in step S12, it is determined whether the data input in step S11 is a download program from the print control apparatus 203 or data to be output to the network 210.

【0037】ステップS12において、ステップS11
で入力したデータがダウンロードプログラムであった場
合はステップS13に進み、図5のデータフォーマット
のヘッダに示されるアドレス情報等に従って、ネットワ
ーク・インターフェース部205のフラッシュROM4
04に、ダウンロードされたプロトコル解釈プログラム
及びコメント情報等を書き込み、そのダウンロードされ
たプログラムを実行可能とする。
In step S12, step S11
If the data input in step S13 is a download program, the process proceeds to step S13, and the flash ROM 4 of the network interface unit 205 is read according to the address information and the like shown in the header of the data format of FIG.
In 04, the downloaded protocol interpretation program, comment information, etc. are written so that the downloaded program can be executed.

【0038】一方、ステップS11で入力したデータが
ダウンロードプログラムでない場合(通常のネットワー
クへの送信データ)は、ネットワーク210(ホスト)
ヘのレスポンス(応答)あるいはコマンド等であるた
め、インターフェース部401を介して、そのデータを
そのままネットワーク210ヘ出力する。
On the other hand, when the data input in step S11 is not the download program (normal transmission data to the network), the network 210 (host)
Since the response is a response or a command, the data is directly output to the network 210 via the interface unit 401.

【0039】また、インターフェース部401からデー
タを受信した場合は、印刷データであるから、従来と同
様に、インターフェース部402を介して印刷制御装置
203へデータを出力する。
When data is received from the interface unit 401, the data is print data, and thus the data is output to the print control device 203 via the interface unit 402 as in the conventional case.

【0040】図8は、本実施例のネットワーク・インタ
ーフェース部205において、通信プロトコルが指定さ
れた場合の処理を示すフローチャートで、この処理を実
行する制御プログラムはROM404に記憶されてい
る。
FIG. 8 is a flow chart showing a process when a communication protocol is designated in the network interface unit 205 of this embodiment. The control program for executing this process is stored in the ROM 404.

【0041】まずステップS21で、ネットワーク21
0よりワーク・プロトコルが指定されるとステップS2
2に進み、そのプロトコルで通信を行うプログラムがR
OM404に記憶されているかどうかをみる。記憶され
ていればステップS23に進み、そのプログラムが格納
されている先頭アドレスよりそのプログラムを読み出し
て実行することにより、指定された通信プロトコルでの
通信が可能になる。
First, in step S21, the network 21
When a work protocol is designated by 0, step S2
Go to 2 and the program that communicates with that protocol is R
See if it is stored in OM404. If the program is stored, the process proceeds to step S23, and the program is read from the head address where the program is stored and executed, whereby communication by the specified communication protocol becomes possible.

【0042】一方、ステップS22で、その通信プログ
ラムが記憶されていない時はステップS24に進み、そ
のプロトコルでの通信が不能であることをネットワーク
210に通知する。
On the other hand, if the communication program is not stored in step S22, the process advances to step S24 to notify the network 210 that communication by the protocol is impossible.

【0043】上記実施例では、ホストコンピュータ20
1からネットワーク・インターフェース部205にダウ
ンロードされるプログラムが、プロトコルの制御手順を
実行するプログラムである場合について説明したが、こ
れ以外に外部インターフェース部で実行される、あらゆ
る処理に関するプログラムであっても良い。例えば、近
年、ネットワークに接続されるプリンタに対して、離れ
て設置されているホストコンピュータから各種設定を行
うことが可能となっているが、これらリモート設定プロ
グラムにより設定される各種機能の変更及び追加を行う
ことができるようにしても良い。
In the above embodiment, the host computer 20
The case in which the program downloaded from the No. 1 to the network interface unit 205 is a program that executes the control procedure of the protocol has been described, but it may be a program related to any process executed by the external interface unit other than this. . For example, in recent years, it has become possible to perform various settings for a printer connected to a network from a host computer that is installed remotely. However, it is possible to change or add various functions set by these remote setting programs. May be able to be performed.

【0044】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置に本発明
を実施するプログラムを供給することによって達成され
る場合にも適用できる。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. The present invention can also be applied to the case where it is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0045】以上説明したように本実施例によれば、ネ
ットワークに接続された印刷システムにおいて、そのネ
ットワーク上で使用されるプロトコルが変更あるいは追
加されても物理的な交換などを用いずに容易に新プロト
コル対応のネットワーク印刷システムを再構築すること
が可能である。
As described above, according to this embodiment, in the printing system connected to the network, even if the protocol used on the network is changed or added, the printing system can be easily performed without using physical exchange. It is possible to reconstruct a network printing system that supports the new protocol.

【0046】[0046]

【発明の効果】以上説明したように本発明によれば、容
易に通信用プロトコルを変更して、外部機器よりの通信
制御プログラムをダウンロードできるという効果があ
る。
As described above, according to the present invention, it is possible to easily change the communication protocol and download the communication control program from the external device.

【0047】また本発明によれば、簡単に通信用プロト
コルを変更して印刷データを受信する通信手順を変更で
きる効果がある。
Further, according to the present invention, there is an effect that the communication protocol can be easily changed to change the communication procedure for receiving print data.

【0048】また本発明によれば、外部機器よりのプロ
グラムをダウンロードし、ネットワークよりの印刷デー
タを受信して印刷できるという効果がある。
Further, according to the present invention, it is possible to download a program from an external device, receive print data from a network, and print.

【0049】[0049]

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

【図1】本実施例のレーザビームプリンタの内部構成を
示す断面図である。
FIG. 1 is a cross-sectional view showing an internal configuration of a laser beam printer of this embodiment.

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

【図3】本実施例の印刷制御装置の構成を示すブロック
図である。
FIG. 3 is a block diagram illustrating a configuration of a print control apparatus according to the present exemplary embodiment.

【図4】本実施例のネットワーク・インターフェース部
の構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a network interface unit of the present embodiment.

【図5】本実施例のホストコンピュータより印刷制御装
置を介してネットワーク・インターフェース部に送られ
るプロトコル解釈プログラムのデータフォーマットの一
例を示す図である。
FIG. 5 is a diagram showing an example of a data format of a protocol interpretation program sent from a host computer of the present embodiment to a network interface unit via a print control device.

【図6】本実施例の印刷制御装置において、インターフ
ェース部を介してホストコンピュータよりのデータを受
信した時の処理を示すフローチャートである。
FIG. 6 is a flowchart showing a process when data is received from a host computer via an interface unit in the print control apparatus of this embodiment.

【図7】本実施例のネットワーク・インターフェース部
において、印刷制御装置からデータを受信した時の処理
を示すフローチャートである。
FIG. 7 is a flowchart showing a process when data is received from the print control device in the network interface unit of the present embodiment.

【図8】本実施例のネットワーク・インターフェース部
において、通信プロトコルが指定された場合の処理を示
すフローチャートである。
FIG. 8 is a flowchart showing processing when a communication protocol is designated in the network interface unit of the present embodiment.

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

101 プリンタ装置(LBP) 201,202 ホストコンピュータ 203 印刷制御装置 301,302,303,401,402 インターフ
ェース(IF)部 304,403 CPU 305,404 ROM 306,405 RAM
101 printer device (LBP) 201, 202 host computer 203 print control device 301, 302, 303, 401, 402 interface (IF) unit 304, 403 CPU 305, 404 ROM 306, 405 RAM

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 外部機器よりの印刷データを受信して印
刷装置に出力する印刷制御装置であって、 前記外部機器或はネットワーク・インターフェース部か
ら印刷データを受信して印刷装置が変換可能なデータに
変換する変換手段と、 前記変換手段により変換したデータを前記印刷装置に伝
送する伝送手段と、 前記外部機器からダウンロードプログラムを受信する受
信手段と、 前記受信手段により受信したプログラムを前記ネットワ
ーク・インターフェース部に送信する送信手段と、を有
することを特徴とする印刷制御装置。
1. A print control device that receives print data from an external device and outputs the print data to a printing device, the print data being received by the external device or a network interface unit and convertable by the printing device. Converting means for converting the data to the printing apparatus, transmitting means for transmitting the data converted by the converting means to the printing device, receiving means for receiving a download program from the external device, and the network interface for the program received by the receiving means. A printing control device, comprising:
【請求項2】 前記ネットワーク・インターフェース部
は、前記プログラムを不揮発メモリに記憶することを特
徴とする請求項1に記載の印刷制御装置。
2. The print control apparatus according to claim 1, wherein the network interface unit stores the program in a non-volatile memory.
【請求項3】 前記プログラムは、前記ネットワーク・
インターフェース部とネットワークとの間の通信プロト
コルを制御するプログラムであることを特徴とする請求
項1又は2に記載の印刷制御装置。
3. The program is the network
The print control apparatus according to claim 1 or 2, which is a program for controlling a communication protocol between the interface unit and the network.
【請求項4】 前記プログラムは、前記プログラムを記
憶するメモリの先頭アドレス及び前記プログラムのデー
タ量に関する情報を含むことを特徴とする請求項1乃至
3のいずれか1項に記載の印刷制御装置。
4. The print control apparatus according to claim 1, wherein the program includes information regarding a head address of a memory that stores the program and a data amount of the program.
【請求項5】 外部機器よりの印刷データを受信して印
刷を行うように制御する印刷制御方法であって、 前記外部機器或はネットワーク・インターフェース部か
ら印刷データを受信して印刷装置が変換可能なデータに
変換する工程と、 変換したデータを前記印刷装置に伝送する工程と、 前記外部機器からダウンロードプログラムを受信する工
程と、 受信したプログラムを前記ネットワーク・インターフェ
ース部に送信する工程と、 を有することを特徴とする印刷制御方法。
5. A print control method for controlling printing by receiving print data from an external device, the print data being received from the external device or a network interface unit, and the printing device can convert the print data. Of the converted data to the printing device, a step of receiving a download program from the external device, and a step of transmitting the received program to the network interface unit. A printing control method characterized by the above.
【請求項6】 前記ネットワーク・インターフェース部
は、前記プログラムを不揮発メモリに記憶することを特
徴とする請求項5に記載の印刷制御方法。
6. The print control method according to claim 5, wherein the network interface unit stores the program in a non-volatile memory.
【請求項7】 前記プログラムは、前記ネットワーク・
インターフェース部とネットワークとの間の通信プロト
コルを制御するプログラムであることを特徴とする請求
項5又は6に記載の印刷制御方法。
7. The program is the network
7. The print control method according to claim 5, which is a program for controlling a communication protocol between the interface unit and the network.
【請求項8】 前記プログラムは、前記プログラムを記
憶するメモリの先頭アドレス及び前記プログラムのデー
タ量に関する情報を含むことを特徴とする請求項5乃至
7のいずれか1項に記載の印刷制御方法。
8. The print control method according to claim 5, wherein the program includes information regarding a start address of a memory that stores the program and a data amount of the program.
【請求項9】 外部機器よりの印刷データを受信して印
刷を行う印刷装置であって、 前記外部機器或はネットワーク・インターフェース部か
ら印刷データを受信して印刷用データに変換するデータ
変換手段と、 前記データ変換手段により変換したデータに基づいて印
刷する印刷手段と、 前記外部機器からダウンロードプログラムを受信する受
信手段と、 前記受信手段により受信したプログラムを前記ネットワ
ーク・インターフェース部に送信する送信手段と、を有
することを特徴とする印刷装置。
9. A printing device for receiving print data from an external device and performing printing, comprising data conversion means for receiving print data from the external device or a network interface unit and converting the print data into print data. Printing means for printing based on the data converted by the data converting means, receiving means for receiving a download program from the external device, and transmitting means for transmitting the program received by the receiving means to the network interface section. A printing apparatus comprising:
【請求項10】 前記プログラムは、前記ネットワーク
・インターフェース部とネットワークとの間の通信プロ
トコルを制御するプログラムであることを特徴とする請
求項9に記載の印刷装置。
10. The printing apparatus according to claim 9, wherein the program is a program that controls a communication protocol between the network interface unit and a network.
【請求項11】 外部機器よりの印刷データを受信して
印刷を行う印刷装置を含む印刷システムであって、 前記印刷装置は、 前記外部機器或はネットワーク・インターフェース部か
ら印刷データを受信して印刷可能なデータに変換するデ
ータ変換手段と、 前記データ変換手段により変換したデータに基づいて印
刷する印刷手段と、 前記外部機器からダウンロードプログラムを受信する受
信手段と、 前記受信手段により受信したプログラムを前記ネットワ
ーク・インターフェース部に送信する送信手段とを有
し、 前記ネットワーク・インターフェース部は、 前記プログラムを記憶する記憶手段と、 前記記憶手段に記憶された制御プログラムに従ってネッ
トワークと前記印刷装置との間の通信プロトコルを制御
する制御手段とを有することを特徴とする印刷システ
ム。
11. A printing system including a printing device that receives print data from an external device and performs printing, wherein the printing device receives print data from the external device or a network interface unit and prints the print data. Data converting means for converting the data into possible data, printing means for printing based on the data converted by the data converting means, receiving means for receiving a download program from the external device, and the program received by the receiving means. A transmission unit for transmitting to the network interface unit, wherein the network interface unit stores the program, and communication between the network and the printing apparatus according to a control program stored in the storage unit. Having a control means for controlling the protocol. Printing system to a butterfly.
【請求項12】 前記記憶手段は、前記プログラムを不
揮発に記憶することを特徴とする請求項11に記載の印
刷システム。
12. The printing system according to claim 11, wherein the storage unit stores the program in a nonvolatile manner.
【請求項13】 前記プログラムは、前記ネットワーク
・インターフェース部とネットワークとの間の通信プロ
トコルを制御するプログラムであることを特徴とする請
求項11又は12に記載の印刷システム。
13. The printing system according to claim 11, wherein the program is a program that controls a communication protocol between the network interface unit and a network.
【請求項14】 前記プログラムは、前記プログラムを
記憶するメモリの先頭アドレス及び前記プログラムのデ
ータ量に関する情報を含むことを特徴とする請求項11
乃至13のいずれか1項に記載の印刷システム。
14. The program includes information regarding a start address of a memory storing the program and a data amount of the program.
The printing system according to any one of claims 1 to 13.
JP7151485A 1995-06-19 1995-06-19 Print control method and apparatus, printing apparatus, and printing system including the printing apparatus Withdrawn JPH096553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7151485A JPH096553A (en) 1995-06-19 1995-06-19 Print control method and apparatus, printing apparatus, and printing system including the printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7151485A JPH096553A (en) 1995-06-19 1995-06-19 Print control method and apparatus, printing apparatus, and printing system including the printing apparatus

Publications (1)

Publication Number Publication Date
JPH096553A true JPH096553A (en) 1997-01-10

Family

ID=15519539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7151485A Withdrawn JPH096553A (en) 1995-06-19 1995-06-19 Print control method and apparatus, printing apparatus, and printing system including the printing apparatus

Country Status (1)

Country Link
JP (1) JPH096553A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009137165A (en) * 2007-12-06 2009-06-25 Ricoh Co Ltd Image forming apparatus, information processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009137165A (en) * 2007-12-06 2009-06-25 Ricoh Co Ltd Image forming apparatus, information processing method, and program

Similar Documents

Publication Publication Date Title
US6195171B1 (en) Printer and interface unit, printing system, and method for setting communication parameters in printer
JP2741325B2 (en) Printing device
JPH06149490A (en) Printing system and item setting method in the system
JPH096553A (en) Print control method and apparatus, printing apparatus, and printing system including the printing apparatus
JPH0830408A (en) Printing apparatus and system and control method thereof
JP3517446B2 (en) Peripheral device control method setting method and peripheral device control device
US6178003B1 (en) Method of and apparatus for transmitting printer control file to printer
JPH11353136A (en) Printing apparatus, software update method, and storage medium
JPH08166862A (en) Printing apparatus, printing system including the apparatus, and power-off method thereof
JPH09218843A (en) Output control device, output control method, and storage medium including computer-callable process
JP3320227B2 (en) Output device and method
JP4133226B2 (en) Printing apparatus and OEMID information control method
JPH11184651A (en) Printing equipment
JPH08305510A (en) Print control method, apparatus therefor, printing apparatus, and printing system including the printing apparatus
JP2517560B2 (en) Print control device
JP2004021582A (en) Information processing system, firmware rewriting method, rewriting program, and recording medium
JP3200363B2 (en) Print control device, data processing method of print control device, and storage medium
JPH07325682A (en) Printing system and printing control method of printing system
JP2006285756A (en) Image forming system
JPH08174922A (en) Electronic device and control method thereof
JPH05270066A (en) Printer
JP3726602B2 (en) Image processing system
JPH08337031A (en) Printing apparatus and control method thereof, printing system and control method thereof
JPH07299945A (en) Printer
JPH08282064A (en) Recording apparatus and recording control method

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