JP2002264446A - Composite printer and method for sharing hardware resource in composite printer - Google Patents

Composite printer and method for sharing hardware resource in composite printer

Info

Publication number
JP2002264446A
JP2002264446A JP2001070802A JP2001070802A JP2002264446A JP 2002264446 A JP2002264446 A JP 2002264446A JP 2001070802 A JP2001070802 A JP 2001070802A JP 2001070802 A JP2001070802 A JP 2001070802A JP 2002264446 A JP2002264446 A JP 2002264446A
Authority
JP
Japan
Prior art keywords
control device
data
printer
control
print
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
JP2001070802A
Other languages
Japanese (ja)
Inventor
Hideyuki Narisawa
秀幸 成澤
Yasuhisa Yamamoto
泰久 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001070802A priority Critical patent/JP2002264446A/en
Publication of JP2002264446A publication Critical patent/JP2002264446A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a composite printer mounting independent controllers interconnected through internal communication lines in which hardware elements used in respective controllers can be utilized efficiently by sharing them efficiently. SOLUTION: The composite printer comprises first and second controllers interconnected through internal communication lines wherein print object data is transferred between the first and second controllers using a first logic channel and control data is transferred using a second logic channel.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複合プリンタおよ
び複合プリンタにおけるハードウェア資源の共有化方法
に関する。
The present invention relates to a multifunction printer and a method of sharing hardware resources in the multifunction printer.

【0002】[0002]

【従来技術】近年、パーソナルコンピュータ等に代表さ
れるホスト装置への接続を必要とすることなく、それ単
体で印刷用紙に印刷することができるいわゆるスタンド
アロンプリンタが普及している。
2. Description of the Related Art In recent years, so-called stand-alone printers that can print on printing paper by themselves without the need for connection to a host device such as a personal computer have become widespread.

【0003】このスタンドアロンプリンタは、ホスト装
置からの独立性を確保するため、従来のプリンタ機能を
実現する制御装置に加え、いわゆるプリントジョブ投入
機能を実現する制御装置を搭載している。これらの制御
装置は、システム的にそれぞれ独立に構成されており、
パラレル専用線等で相互に接続されている。つまり、こ
れらの制御装置は、CPUやRAM、ROM、EEPR
OMなどのハードウェア要素(資源)をそれぞれ有して
いる。
This stand-alone printer is equipped with a control device for realizing a so-called print job input function in addition to a conventional control device for realizing a printer function in order to ensure independence from a host device. These control devices are system-independently configured,
They are connected to each other by a parallel dedicated line or the like. That is, these control devices include a CPU, a RAM, a ROM, an EEPROM,
Each has a hardware element (resource) such as OM.

【0004】このようなスタンドアロンプリンタでは、
まず、プリンタドライバ機能を実現する一方の制御装置
がJPEGデータなどの印刷対象データを受け付けて、
これに適宜画像補正処理を施してイメージデータに変換
し、自身のRAMに展開する。そして、この制御装置
は、所定のタイミングで、パラレル専用線を介して、プ
リント機能を実現する他方の制御装置にイメージデータ
の転送を開始する。イメージデータを受け取った制御装
置は、例えばハーフトーン処理やパルス幅変調等を施し
てプリントエンジンに供給し、これにより印刷用紙に対
する印刷を実現する。
In such a stand-alone printer,
First, one control device that implements the printer driver function receives print target data such as JPEG data,
This is appropriately subjected to image correction processing, converted into image data, and developed in its own RAM. Then, the control device starts transferring the image data to the other control device realizing the print function via the parallel dedicated line at a predetermined timing. The control device that has received the image data performs, for example, halftone processing, pulse width modulation, and the like, and supplies it to the print engine, thereby realizing printing on printing paper.

【0005】[0005]

【発明が解決しようとする課題】スタントアロンプリン
タのようにシステム的に異なる制御装置を搭載している
プリンタは、一般に、複合プリンタと呼ばれている。こ
のような複合プリンタとしては、他にはスキャナ機能付
きプリンタやコピー機能付きプリンタなどが知られてい
る。
A printer equipped with a systemically different control device, such as a stunt-alone printer, is generally called a composite printer. As such a composite printer, a printer with a scanner function and a printer with a copy function are known.

【0006】複合プリンタにおける内部の制御装置は、
それぞれがシステム的に完全に独立しており、それぞれ
がハードウェア要素を有している。したがって、ある制
御装置に対する仕様の変更により制御プログラムに変更
が生じて、従前のROMの仕様では容量的に格納しきれ
ないといった問題が発生した場合、その制御装置につい
て容量的に十分な仕様のROMに変更すれば足りる反
面、このことはコスト上昇の要因になっていた。
[0006] The internal control device in the multifunction printer is:
Each is completely systematically independent, and each has a hardware element. Therefore, when a change occurs in the control program due to a change in the specification of a certain control device and a problem occurs that the conventional ROM specification cannot be stored in a sufficient capacity, a ROM having a sufficient capacity for the control device is required. While it would be sufficient to change to this, this was a factor in increasing costs.

【0007】そこで、本発明は、内部通信線で相互に接
続された独立の制御装置を搭載した複合プリンタにおい
て、それぞれの制御装置で使用されているハードウェア
要素を効率的に利用できるようにすることを課題として
いる。
Accordingly, the present invention makes it possible to efficiently use hardware elements used in respective control devices in a multifunction printer equipped with independent control devices interconnected by an internal communication line. That is the task.

【0008】より具体的には、本発明は、このような独
立の制御装置のそれぞれで使用されているハードウェア
要素を効率的に共有化することで効率的に利用できるよ
うにして、ひいては複合プリンタの製造コストを低下さ
せることを課題としている。
More specifically, the present invention makes it possible to efficiently use hardware elements used in each of such independent control devices by efficiently sharing them, and thereby to use the hardware elements in combination. It is an object to reduce the manufacturing cost of a printer.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
の発明は、内部通信線によって相互に接続された第1の
制御装置と第2の制御装置とを備えた複合プリンタであ
って、前記第1の制御装置と前記第2の制御装置間で、
印刷対象データを第1の論理チャネルで転送する一方、
前記制御データを第2の論理チャネルで転送することを
特徴とする。
According to an aspect of the present invention, there is provided a multifunction printer including a first control device and a second control device interconnected by an internal communication line. Between a first controller and the second controller,
While the data to be printed is transferred on the first logical channel,
The control data is transferred by a second logical channel.

【0010】前記複合プリンタは、パケット通信により
所定のデータを転送することが好ましい。
It is preferable that the composite printer transfers predetermined data by packet communication.

【0011】これにより、一方の制御装置は、システム
的に独立した他の制御装置から制御データを取得するこ
とができるので、自身がさらにメモリなどのハードウェ
ア要素を設ける必要がない。したがって、ハードウェア
要素に対するリソース(データ)の再配分を考慮するだ
けで、それぞれの制御装置で使用されているハードウェ
ア要素を効率的に利用できるようになる。
Thus, one control device can acquire control data from another system-independent control device, so that it is not necessary for itself to further provide a hardware element such as a memory. Therefore, the hardware elements used in each control device can be used efficiently only by considering the reallocation of resources (data) to the hardware elements.

【0012】また、前記複合プリンタは、前記第1の制
御装置上の印刷対象データを前記第2の制御装置に第1
の論理チャネルで転送する一方、前記第2の制御装置上
の設定に関する制御データを前記第1の制御装置に第2
の論理チャネルのいずれかで転送する。
Further, the multifunction printer transmits the data to be printed on the first control device to the second control device for the first time.
The control data relating to the settings on the second control device is transferred to the first control device in the second logical channel.
Transfer on one of the logical channels.

【0013】さらに、前記複合プリンタは、起動処理の
際に、前記第2の制御装置と前記第1の制御装置間で、
設定に関する制御データを転送することが好ましく、前
記第2の制御装置上の印刷状況に関する制御データを前
記第1の制御装置に対して前記第2の論理チャネルで転
送することが好ましい。
Further, at the time of the start-up process, the multifunction printer communicates between the second control device and the first control device.
It is preferable to transfer control data relating to settings, and it is preferable to transfer control data relating to a printing status on the second control device to the first control device via the second logical channel.

【0014】さらにまた、前記複合プリンタは、前記第
1の制御装置から前記第2の制御装置に対して前記第2
の論理チャネルで印刷キャンセルに関する制御データを
転送することが好ましい。
[0014] Further, the multifunction printer may be configured such that the first control device sends the second control device to the second control device.
It is preferable to transfer the control data relating to the print cancellation through the logical channel.

【0015】また、前記複合プリンタは、前記第1の制
御装置と前記第2の制御装置間で所定のデータを転送す
る際に、いずれの論理チャネルで転送するかを指定する
ことが好ましい。
Further, it is preferable that, when transferring the predetermined data between the first control device and the second control device, the composite printer designates which logical channel to transfer.

【0016】さらに、本発明は、内部通信線によって相
互に接続された複数の制御装置を備えた複合プリンタに
おけるハードウェア資源の共有化方法であって、印刷処
理の際に、前記各制御装置間で、印刷対象データを第1
の論理チャネルで転送する一方、起動処理の際に、前記
一方の制御装置上の制御データを、前記他方の制御装置
に第2の論理チャネルで転送することを特徴とする複合
プリンタにおけるハードウェア資源の共有化方法であ
る。 〔発明の詳細な説明〕
Further, the present invention relates to a method of sharing hardware resources in a multifunction printer having a plurality of control devices connected to each other by an internal communication line. To print the data to be printed
Hardware resources in a multifunction printer, wherein control data on the one control device is transferred to the other control device via a second logical channel during startup processing. Is a sharing method. [Detailed description of the invention]

【発明の実施の形態】次に、本発明の実施の形態につい
て、図面を参照しつつ説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0017】本実施形態は、いわゆる複合プリンタと呼
ばれるような、システム的に異なる制御装置を搭載した
プリンタを前提にしている。このような複合プリンタと
しては、例えばスタンドアロンプリンタや、スキャナ機
能付きプリンタ、コピー機能付きプリンタなどがあげら
れる。以下では、図1に示すようなスタンドアロンプリ
ンタを例に説明する。
The present embodiment is based on the premise that a printer, which is called a so-called composite printer, is equipped with a control device that is systemically different. Examples of such a composite printer include a stand-alone printer, a printer with a scanner function, a printer with a copy function, and the like. Hereinafter, a stand-alone printer as shown in FIG. 1 will be described as an example.

【0018】同図に示すように、プリンタ1の本体上面
には、液晶パネル11および各種ボタン12が設けら
れ、ユーザインターフェースが形成されている。つま
り、液晶パネル11には、所定のガイダンスメッセージ
等が表示され、ユーザは表示された内容に応じてボタン
12を操作することにより、印刷条件設定や印刷実行指
示等をプリンタ1に与えることができる。また、プリン
タ1の本体前面には、外部インターフェースとしてのカ
ードスロット13が設けられている。カードスロット1
3は、例えばPCMCIA規格に準拠しており、このよ
うな規格に準拠したメモリカード14を着脱可能に構成
されている。メモリカード14には、例えば、デジタル
カメラにより取り込まれた画像データが記憶される。こ
のような画像データは、汎用の画像フォーマット(例え
ばJPEG)形式で記憶されている。
As shown in FIG. 1, a liquid crystal panel 11 and various buttons 12 are provided on the upper surface of the main body of the printer 1 to form a user interface. In other words, a predetermined guidance message or the like is displayed on the liquid crystal panel 11, and the user can give the printer 1 a print condition setting, a print execution instruction, and the like by operating the button 12 according to the displayed content. . Further, a card slot 13 as an external interface is provided on the front surface of the main body of the printer 1. Card slot 1
Reference numeral 3 conforms to, for example, the PCMCIA standard, and is configured so that a memory card 14 conforming to such a standard can be attached and detached. The memory card 14 stores, for example, image data captured by a digital camera. Such image data is stored in a general-purpose image format (for example, JPEG).

【0019】プリンタ1は、ホスト装置に接続されるこ
となく、メモリカード2に記憶された画像データを直接
印刷することができる。すなわち、プリンタ1は、例え
ばメモリカードが挿入され、装着されたことを検出する
と、液晶パネル11に印刷実行指示を促すメッセージを
表示し、印刷実行指示待ちの状態になる。この時点でユ
ーザは、必要に応じてボタン12を操作して印刷条件を
設定し、ボタン12により印刷実行指示を与えることが
できる。プリンタ1は、ユーザの印刷実行指示を受け付
けると、メモリカード2内に記憶された画像データを読
み出して、印刷用紙に対する印刷を行う。これにより、
ユーザは、わざわざホスト装置を介することなく、デジ
タルカメラ等により撮影した画像データを直接的に印刷
するといった利用ができるようになる。
The printer 1 can directly print image data stored in the memory card 2 without being connected to a host device. That is, upon detecting that a memory card has been inserted and inserted, for example, the printer 1 displays a message prompting a print execution instruction on the liquid crystal panel 11 and waits for the print execution instruction. At this point, the user can operate the button 12 as necessary to set the printing conditions, and give a print execution instruction using the button 12. Upon receiving the user's print execution instruction, the printer 1 reads out the image data stored in the memory card 2 and performs printing on print paper. This allows
The user can directly print image data taken by a digital camera or the like without going through a host device.

【0020】図2は、本実施形態に係るプリンタ1のハ
ードウェア構成を示すブロックダイアグラムである。プ
リンタ1は、上述のように、ホスト装置を介すことなく
直接的な印刷を可能とするため、システム的に異なる制
御装置2A,2Bを搭載している。制御装置2Aは、プ
リントジョブデータを生成し、これを制御装置2Bに対
して送り込むいわゆるプリントジョブ投入機能ととも
に、ホスト装置に代わるユーザインターフェース機能を
提供する。制御装置2Bは、制御装置2Aから送り込ま
れるプリントジョブデータを受け付けて、これをイメー
ジデータに変換し、印刷するための機能を提供する。こ
れら制御装置2A,2Bは、内部通信線20によって相
互に接続され、後述する通信インタフェースによって通
信可能なように構成されている。本実施形態では、制御
装置2A,2B間の通信はパケット通信で行われ、デー
タチャネルおよび制御チャネルの少なくとも2つの論理
的なチャネルが用意されている。ここで、データチャネ
ルとは、プリントジョブデータ等のデータを転送するチ
ャネルであり、制御チャネルとはそれ以外の制御コマン
ドを転送するチャネルである。さらに、これら論理チャ
ネルを制御するさらに上位レベルのチャネル(パケット
制御チャネル)が用意されてもよい。なお、論理的なチ
ャネルとは、より上位の通信階層でデータの区別がなさ
れて通信されるという意味で用いている。各論理チャネ
ル間の識別は、例えば、パケットのヘッダ内の所定フィ
ールドが“0x00”であればデータ、“0xFF”で
あれば制御コマンドというように行われる。
FIG. 2 is a block diagram showing a hardware configuration of the printer 1 according to the present embodiment. As described above, the printer 1 is equipped with control devices 2A and 2B that are systematically different from each other in order to enable direct printing without the intervention of a host device. The control device 2A provides a so-called print job input function for generating print job data and sending it to the control device 2B, and also provides a user interface function instead of the host device. The control device 2B receives print job data sent from the control device 2A, converts the print job data into image data, and provides a function for printing. These control devices 2A and 2B are connected to each other by an internal communication line 20, and are configured to be communicable by a communication interface described later. In the present embodiment, communication between the control devices 2A and 2B is performed by packet communication, and at least two logical channels of a data channel and a control channel are prepared. Here, the data channel is a channel for transferring data such as print job data, and the control channel is a channel for transferring other control commands. Further, higher-level channels (packet control channels) for controlling these logical channels may be prepared. Note that a logical channel is used to mean that data is distinguished and communicated in a higher communication layer. The identification between the logical channels is performed, for example, as a data if the predetermined field in the header of the packet is "0x00", and a control command if the predetermined field is "0xFF".

【0021】まず、制御装置2Aにおいて、プロセッサ
21aは、主記憶メモリとしてのRAM22aを用い
て、ROM23aに記憶された各種の制御プログラムを
実行する。つまり、各種のプログラムはプロセッサ21
に実行されることにより、他のハードウェアと共働し
て、プリンタ1に所定の機能を実現させる。制御装置2
Aにより実現される機能は、主としてプリントジョブ投
入・管理機能およびユーザインターフェース機能であ
る。
First, in the control device 2A, the processor 21a executes various control programs stored in the ROM 23a using the RAM 22a as a main storage memory. That is, various programs are stored in the processor 21.
The printer 1 realizes a predetermined function in cooperation with other hardware. Control device 2
The functions realized by A are mainly a print job input / management function and a user interface function.

【0022】外部インターフェース回路24は、装着さ
れたメモリカード14に対するアクセスを可能にするた
めのものであり、プロセッサ21aの制御の下、メモリ
カード14に記憶された画像データを読み出し、物理的
・論理的変換を行って内部バスに送出する。内部バスに
取り込まれた画像データは、プロセッサ21aの制御の
下、RAM22aに展開される。
The external interface circuit 24 is for enabling access to the mounted memory card 14, reads out image data stored in the memory card 14 under the control of the processor 21a, and performs physical / logical And then sends it to the internal bus. The image data taken into the internal bus is developed in the RAM 22a under the control of the processor 21a.

【0023】ユーザインターフェース回路25は、液晶
パネル11および各種ボタン12とにより実現されるユ
ーザインターフェースを制御するためのものである。ユ
ーザインターフェース回路25は、プロセッサ21aの
制御の下、所定のガイダンスメッセージを液晶パネル1
1に表示させ、またはボタン12の操作による入力を受
け付ける。
The user interface circuit 25 controls a user interface realized by the liquid crystal panel 11 and various buttons 12. The user interface circuit 25 sends a predetermined guidance message to the liquid crystal panel 1 under the control of the processor 21a.
1 or an input by operating the button 12 is accepted.

【0024】通信インターフェース26aは、内部通信
線20を介して、制御装置2B内の通信インターフェー
ス26bとの間でパケット通信を行う。つまり、通信イ
ンターフェース26a,26bは、それぞれの制御装置
2A,2B上のデータ(内部データ)に対して物理的・
論理的変換を行って、所定の通信プロトコルで送信し、
また、受信したデータに対して物理的・論理的変換を行
って、それぞれに適した内部データに変換する。
The communication interface 26a performs packet communication with the communication interface 26b in the control device 2B via the internal communication line 20. In other words, the communication interfaces 26a and 26b physically and physically control the data (internal data) on the control devices 2A and 2B.
Perform a logical conversion, transmit using a predetermined communication protocol,
Further, the received data is subjected to physical / logical conversion, and converted into internal data suitable for each.

【0025】一方、制御装置2Aにおいては、プロセッ
サ21bは、主記憶メモリとしてのRAM22bを用い
て、ROM23bに記憶された各種の制御プログラムを
実行する。つまり、各種のプログラムはプロセッサ21
に実行されることにより、他のハードウェアと共働し
て、プリント機能を実現させる。
On the other hand, in the control device 2A, the processor 21b executes various control programs stored in the ROM 23b using the RAM 22b as a main storage memory. That is, various programs are stored in the processor 21.
In this case, the print function is realized in cooperation with other hardware.

【0026】すなわち、プロセッサ21bは、通信イン
ターフェース26bを介して受け取ったプリントジョブ
データをイメージデータに変換し、RAM22b上のイ
メージデータ領域に展開する。エンジンコントローラ2
7は、プリントエンジン37の動作を制御しながら、R
AM22b上に展開されたイメージデータを読み出し
て、プリントエンジン28に供給する。エンジンコント
ローラ27は、例えば、RAM22b上のイメージデー
タ領域に所定のバンド幅分(例えば1ページ分)のイメ
ージデータが展開された時点でプロセッサ21bから送
られる印刷実行命令をトリガとして起動される。プリン
トエンジン28は、例えば、紙送り機構やプリントヘッ
ドなどによって構成され、紙などの印刷媒体に印刷を行
うものである。プリントエンジン28は、レーザプリン
タやシリアルプリンタといったプリンタの種類に応じた
ものを用いることができる。
That is, the processor 21b converts the print job data received via the communication interface 26b into image data and develops the image data in the image data area on the RAM 22b. Engine controller 2
7 controls R while controlling the operation of the print engine 37.
The image data developed on the AM 22b is read and supplied to the print engine 28. The engine controller 27 is activated by, for example, a print execution command sent from the processor 21b as a trigger when image data of a predetermined bandwidth (for example, one page) is expanded in the image data area on the RAM 22b. The print engine 28 includes, for example, a paper feed mechanism and a print head, and performs printing on a print medium such as paper. As the print engine 28, a printer according to the type of printer such as a laser printer or a serial printer can be used.

【0027】なお、EEPROM29は、不揮発性の書
き換え可能なメモリであり、プリンタ1の制御に必要な
各種のデータを記憶する。
The EEPROM 29 is a nonvolatile rewritable memory and stores various data necessary for controlling the printer 1.

【0028】以上のように、本実施形態に係るプリンタ
1は、システム的にそれぞれ異なる制御装置2A,2B
が内部通信線20によって相互に接続され、通信インタ
ーフェース26a,26b間でパケット通信可能なよう
に構成されている。また、これら制御装置2A,2B間
でのデータのやりとりは、データチャネルおよび制御チ
ャネル並びにこれら2つのチャネルをより上位レベルで
管理するパケット制御チャネルという論理的なチャネル
によって行われる。制御装置2Aは、データチャネルを
使ってプリントジョブデータを制御装置2Bにプリント
ジョブとして送り込み、また、制御装置2Bに対して、
制御チャネルを使って送り込んだプリントジョブの印刷
状況(プリントステータス)を問い合わせたり、プリン
トジョブに対するキャンセルを要求する。さらに、制御
装置2A,2B相互間では、制御チャネルを介して、そ
れぞれのハードウェア要素(資源)が利用できるように
構成されている。
As described above, the printer 1 according to the present embodiment has different control devices 2A and 2B in terms of system.
Are connected to each other by an internal communication line 20 so that packet communication can be performed between the communication interfaces 26a and 26b. The exchange of data between the control devices 2A and 2B is performed by logical channels called a data channel, a control channel, and a packet control channel for managing these two channels at a higher level. The control device 2A sends the print job data to the control device 2B as a print job using the data channel.
Inquires about the print status (print status) of the print job sent using the control channel, and requests cancellation of the print job. Further, between the control devices 2A and 2B, the respective hardware elements (resources) can be used via a control channel.

【0029】具体的には、制御装置2Aは、制御装置2
B上のRAM22bやROM23b、EEPROM29
に記憶されたデータを参照するために、制御装置2Bに
対してデータ転送要求を行って、これに応答して制御装
置2Bが転送するデータを受け取ることができる。ま
た、制御装置2Aは、制御装置2Bに対してRAM22
bへの書き込み要求を行ってもよい。同様に、制御装置
2Bは、制御装置2A上のRAM22aやROM23a
に記憶されたデータを参照することができる。
More specifically, the control device 2A
RAM 22b, ROM 23b, EEPROM 29 on B
In order to refer to the data stored in the control device 2B, a data transfer request is made to the control device 2B, and in response thereto, the data transferred by the control device 2B can be received. The control device 2A is also provided with a RAM 22 for the control device 2B.
A write request to b may be made. Similarly, the control device 2B includes a RAM 22a and a ROM 23a on the control device 2A.
Can be referred to.

【0030】例えば、EEPROM29には、制御装置
2Bで参照されるデータのみならず、制御装置2Aで参
照されるデータが記憶される。制御装置2Aで参照され
るデータとしては、液晶パネル11に対する設定データ
やプリントジョブデータを生成する際に指定される印刷
設定データなどがある。また、制御装置2Bで参照され
るデータとしては、プリンタ識別データ(製品ID)や
プリンタインクの残量を示すデータなどがある。制御装
置2Aは、プリンタ1に電源が投入された段階で、EE
PROM29に記憶された設定データを、制御チャネル
を介して制御装置2Bから取得し、自身の制御に利用す
る。
For example, the EEPROM 29 stores not only data referred to by the control device 2B but also data referred to by the control device 2A. Data referred to by the control device 2A includes setting data for the liquid crystal panel 11, print setting data specified when generating print job data, and the like. Data referred to by the control device 2B includes printer identification data (product ID), data indicating the remaining amount of printer ink, and the like. When the power is turned on to the printer 1, the control device 2A
The setting data stored in the PROM 29 is obtained from the control device 2B via the control channel and used for its own control.

【0031】図3および図4は、本実施形態に係る制御
装置2A,2B間のパケット通信処理を説明するための
フローチャートである。制御装置2A,2B間のパケッ
ト通信処理では、データの転送を行いたい方の制御装置
が、まず、パケット制御チャネルを用いて、データ(こ
こでは制御コマンドを含む意味で用いている。)を転送
するため、データチャネルまたは制御チャネルのいずれ
かの論理チャネルを確保した後、次に、確保したチャネ
ルでそのデータの転送を開始する。チャネルの確保と
は、例えば、何バイト分のデータをデータチャネルで転
送するという要求に対して、許可応答を受け取ることに
より、制御装置2A,2B間のセッションが確立したこ
とを指している。以下、制御装置2Aから制御装置2B
にデータを転送する場合を例にして説明する。
FIGS. 3 and 4 are flowcharts for explaining the packet communication processing between the control devices 2A and 2B according to the present embodiment. In the packet communication process between the control devices 2A and 2B, the control device that wants to transfer data first uses a packet control channel to transfer data (here, the data includes control commands). Therefore, after securing either the data channel or the control channel, the data transfer is started on the secured channel. Channel reservation means that, for example, a session between the control devices 2A and 2B has been established by receiving a permission response to a request to transfer data for how many bytes over the data channel. Hereinafter, the control devices 2A to 2B
Will be described by way of example in which data is transferred to

【0032】すなわち、同図に示すように、まず、デー
タの転送を行おうとする制御装置2Aは、パケット制御
チャネルを用いてデータ転送の可否を制御装置2Bに問
い合わせる(STEP301;図4の(1))。この場
合、転送元の制御装置2Aは、例えば、何バイト分のデ
ータをデータチャネルで転送するという要求を、転送先
の制御装置2Bに送る。この問い合わせを受け取った制
御装置2Bは、バッファ内の空き状況に応じて許可また
は不許可の応答を送る(図4の(2))。制御装置2A
は、不許可の応答を受け取った場合には(STEP30
2のNo)、所定の時間待った後、再度、データ転送の
可否を制御装置2Bに問い合わせる。一方、許可の応答
を受け取った場合には(STEP302のYes)、指
定したチャネルで、つまりデータチャネルを示すヘッダ
を持つパケットを送信する(STEP303;図4の
(3))。制御装置2Aは、データをすべて転送した後、
制御装置2Bが指定されたデータサイズを受け取ること
により、制御装置2A,2B間のこのセッションによる
パケット通信処理は終了する。
That is, as shown in the figure, first, the control device 2A, which intends to transfer data, inquires of the control device 2B whether or not data transfer is possible using a packet control channel (STEP 301; (1) in FIG. 4). )). In this case, the transfer source control device 2A sends, for example, a request to transfer data of how many bytes over the data channel to the transfer destination control device 2B. Upon receiving this inquiry, the control device 2B sends a response of permission or non-permission according to the availability of the buffer ((2) in FIG. 4). Control device 2A
Receives a non-permission response (STEP 30).
(No in 2), after waiting for a predetermined time, inquires of the control device 2B again whether or not data transfer is possible. On the other hand, when a response of permission is received (Yes in STEP 302), a packet having a header indicating the specified channel, that is, a data channel is transmitted (STEP 303; FIG. 4).
(3)). After transferring all the data, the control device 2A
When the control device 2B receives the specified data size, the packet communication process in this session between the control devices 2A and 2B ends.

【0033】なお、上記の説明では、データの送り側の
制御装置が主導的に受け取り側の制御装置にデータを送
ることとしたが、例えば、データを受け取り側の制御装
置が主導的にデータを送り出す側の制御装置からデータ
を取得するようにしてもよい。
In the above description, the control device on the data sending side initiatively sends data to the control device on the receiving side. Data may be acquired from the control device on the sending side.

【0034】このような制御装置2A,2B間のパケッ
ト通信処理は、プリンタ1のさまざまな動作時に利用さ
れる。例えば、電源投入時においては、制御装置2A
が、制御装置2B内のEEPROM29から各種の設定
データを取得するために利用される。また、画像データ
の印刷時においては、制御装置2Aは、制御装置2Bに
対してプリントジョブデータを送り込むために利用され
る。さらに、印刷中に印刷キャンセルがあった場合に
は、制御装置2Aは、制御装置2Bに対して印刷キャン
セル命令を送るために利用される。以下、これらの例に
ついてプリンタ1の動作を説明する。
The packet communication processing between the control devices 2A and 2B is used during various operations of the printer 1. For example, when the power is turned on, the control device 2A
Are used to acquire various setting data from the EEPROM 29 in the control device 2B. In printing image data, the control device 2A is used to send print job data to the control device 2B. Further, when printing is canceled during printing, the control device 2A is used to send a print cancel command to the control device 2B. Hereinafter, the operation of the printer 1 will be described with respect to these examples.

【0035】図5は、電源投入時におけるプリンタ1の
処理を説明するためのフローチャートである。同図に示
すように、電源が投入されると、制御装置2A,2B
は、ハードウェア検査などの初期化処理を行う(STE
P501)。次に、制御装置2Bは、制御装置ABに対
してEEPROM29内の設定データを転送すべく、パ
ケット制御チャネルを介して制御チャネルによるデータ
転送要求を行う(STEP502)。これは、上述した
図3のSTEP301〜302に相当する。制御装置2
Bは、制御装置2Aから許可の応答を受け取ると、制御
チャネルを介して設定データを送信する(STEP50
3)。設定データを受け付けた制御装置2Aは、これに
基づいて起動処理を行う(STEP503)。
FIG. 5 is a flowchart for explaining the processing of the printer 1 when the power is turned on. As shown in the figure, when the power is turned on, the control devices 2A, 2B
Performs initialization processing such as hardware inspection (STE
P501). Next, the control device 2B issues a data transfer request via the control channel via the packet control channel to transfer the setting data in the EEPROM 29 to the control device AB (STEP 502). This corresponds to STEPs 301 to 302 in FIG. 3 described above. Control device 2
B receives the permission response from the control device 2A, and transmits the setting data via the control channel (STEP 50).
3). The control device 2A that has received the setting data performs a starting process based on the setting data (STEP 503).

【0036】このように、制御装置2Aは、システム的
に独立した制御装置2Bから設定データを取得すること
ができるので、制御装置2A内にEEPROM29を設
ける必要がなくなる。つまり、本実施形態によれば、す
べての制御装置にEEPROMなどのハードウェア要素
を設ける必要がないので、リソースの再配分を考慮する
だけで、それぞれの制御装置で使用されているハードウ
ェア要素を効率的に利用できるようになる。したがっ
て、本実施形態によれば、制御装置で使用されているハ
ードウェア要素を効率的に共有化することで効率的に利
用でき、ひいては複合プリンタの製造コストを低下させ
ることができるようになる。
As described above, since the control device 2A can acquire the setting data from the system independent control device 2B, it is not necessary to provide the EEPROM 29 in the control device 2A. That is, according to the present embodiment, it is not necessary to provide a hardware element such as an EEPROM in all control devices. Therefore, only by considering the reallocation of resources, the hardware elements used in each control device can be reduced. It can be used efficiently. Therefore, according to the present embodiment, the hardware elements used in the control device can be efficiently used by efficiently sharing them, and the manufacturing cost of the composite printer can be reduced.

【0037】図6は、プリントジョブ投入時におけるプ
リンタ1の処理を説明するためのフローチャートであ
る。制御装置2Aは、ユーザによるボタン12の操作に
よって印刷実行指示を受け取ると、メモリカード2に記
憶されている画像データを読み出し(STEP60
1)、現在の印刷設定にしたがって、これをプリントジ
ョブデータに変換する(STEP602)。次に、制御
装置2Aは、変換したプリントジョブデータを制御装置
2Bに送り込むべく、パケット制御チャネルを介してデ
ータチャネルによるデータ転送要求を行う(STEP6
03)。そして、制御装置2Aは、制御装置2Bから許
可の応答を受け取ると、データチャネルを介してプリン
トジョブデータを送信する(STEP503)。プリン
トジョブデータを受け付けた制御装置2Bは、これをイ
メージデータに変換し、プリントエンジン28による印
刷を開始する。
FIG. 6 is a flowchart for explaining the processing of the printer 1 when a print job is submitted. When the control device 2A receives the print execution instruction by the user operating the button 12, the control device 2A reads the image data stored in the memory card 2 (STEP 60).
1) According to the current print settings, this is converted into print job data (STEP 602). Next, the control device 2A makes a data transfer request via the data channel via the packet control channel in order to send the converted print job data to the control device 2B (STEP 6).
03). Then, upon receiving the permission response from the control device 2B, the control device 2A transmits print job data via the data channel (STEP 503). The control device 2B that has received the print job data converts the print job data into image data, and starts printing by the print engine 28.

【0038】このように、制御装置2Aは、システム的
に独立した制御装置2Bに対してプリントジョブデータ
を送ることができる。特に、本実施形態では、データチ
ャネルを介してプリントジョブデータを送るようにして
いるので、その最中であっても、制御チャネルを介して
他のデータを送ることができるようになる。したがっ
て、次に説明されるように、例えば、プリントジョブを
キャンセルする場合、すべてのプリントジョブデータの
転送が終了する前に制御コマンドを送ることができるの
で、キャンセル指示からキャンセル処理完了までのタイ
ムラグを抑えることができる。
As described above, the control device 2A can send print job data to the control device 2B which is system independent. In particular, in the present embodiment, since print job data is transmitted via the data channel, other data can be transmitted via the control channel even during the transmission. Therefore, as described below, for example, when canceling a print job, a control command can be sent before the transfer of all print job data is completed. Can be suppressed.

【0039】図7は、プリントジョブのキャンセル時に
おけるプリンタ1の処理を説明するためのフローチャー
トである。本例では、制御装置2Aがプリントジョブデ
ータを送り始め、さらにプリントジョブデータの先頭部
分のデータからすでに印刷が始まっている状態であると
する。この状態で、ユーザによるボタン12の操作によ
って印刷キャンセル指示が入力されると、制御装置2A
は、印刷キャンセルコマンドを制御装置2Bに送り込む
べく、パケット制御チャネルを介して制御チャネルによ
るデータ転送要求を行う(STEP701)。そして、
制御装置2Aは、制御装置2Bから許可の応答を受け取
ると、制御チャネルを介して印刷キャンセルコマンドを
送信する(STEP702)。なお、この間も制御装置
2Aは、プリントジョブデータを送信しているものとす
る。制御コマンドを受け付けた制御装置2Bは、印刷キ
ャンセルコマンドを受け付けると、印刷キャンセルのた
めの処理を行う(STEP703)。印刷キャンセルの
ための処理は、例えば、プリントエンジン28に対する
イメージデータの供給を停止するとともに、データチャ
ネルを介して受信しているパケットを破棄する。また、
RAM22bのイメージデータ領域をリセットする。
FIG. 7 is a flowchart for explaining the processing of the printer 1 when a print job is canceled. In this example, it is assumed that the control device 2A starts sending print job data and that printing has already started from the data at the head of the print job data. In this state, when the user inputs a print cancel instruction by operating the button 12, the control device 2A
Sends a data transfer request via the control channel via the packet control channel to send a print cancel command to the control device 2B (STEP 701). And
Upon receiving the permission response from the control device 2B, the control device 2A transmits a print cancel command via the control channel (STEP 702). It is assumed that the control device 2A is also transmitting print job data during this time. When receiving the print cancel command, the control device 2B that has received the control command performs a process for canceling the print (STEP 703). In the process for canceling printing, for example, the supply of image data to the print engine 28 is stopped, and the packet received via the data channel is discarded. Also,
The image data area of the RAM 22b is reset.

【0040】このように、制御装置2Aは、システム的
に独立した制御装置2Bに対して制御コマンドを、プリ
ントジョブデータとは別のチャネルを介して送ることが
できる。これにより、プリントジョブデータの転送がす
べて終了する前に、その印刷をキャンセルすることがで
きるようになり、キャンセル指示からキャンセル処理完
了までのタイムラグを抑えることができる。したがっ
て、従来はユーザが印刷のキャンセル指示を与えた後で
あっても、引き続きプリントジョブデータが送り込ま
れ、印刷がかなり進んだ状態でキャンセルが行われるこ
とによる印刷用紙の無駄を軽減させることができる。
As described above, the control device 2A can send a control command to the system independent control device 2B via a channel different from the print job data. As a result, the printing can be canceled before the transfer of all the print job data is completed, and the time lag from the cancel instruction to the completion of the cancel processing can be suppressed. Therefore, conventionally, even after the user gives a print cancel instruction, the print job data is continuously sent, and the waste of the printing paper due to the cancellation being performed in a state where the printing is considerably advanced can be reduced. .

【0041】なお、制御装置2A,2B間のパケット通
信処理は、上記のような動作時以外でも利用することが
できる。例えば、印刷状況(プリントステータス)をユ
ーザインターフェースに表示させるような場合にも、制
御装置2Bが制御装置2Aから制御チャネルを介して取
得するために利用してもよい。
Incidentally, the packet communication processing between the control devices 2A and 2B can be used even during the above-mentioned operation. For example, even when the print status (print status) is displayed on the user interface, the control device 2B may use the control device 2B to acquire the print status from the control device 2A via the control channel.

【0042】上記実施形態は、本発明を説明するための
例示であり、本発明をこの実施形態にのみ限定する趣旨
ではない。本発明は、その要旨を逸脱しない限り、さま
ざまな形態で実施することができる。上記実施形態で
は、プリンタの動作をシーケンシャルに説明したが、特
にこれにこだわるものではない。従って、動作に矛盾が
生じない限り、処理の順序を入れ替えまたは並行動作す
るように構成しても良い。
The above embodiment is an exemplification for explaining the present invention, and is not intended to limit the present invention only to this embodiment. The present invention can be implemented in various forms without departing from the gist thereof. In the above embodiment, the operation of the printer has been described sequentially, but the present invention is not particularly limited to this. Therefore, as long as no inconsistency occurs in the operation, the order of processing may be changed or the operation may be performed in parallel.

【0043】[0043]

【発明の効果】本発明によれば、内部通信線で相互に接
続された独立の制御装置を搭載した複合プリンタにおい
て、それぞれの制御装置で使用されているハードウェア
要素を効率的に共有化することで効率的に利用できるよ
うにして、ひいては複合プリンタの製造コストを低下さ
せることができるようになる。
According to the present invention, in a multifunction printer equipped with independent control devices interconnected by an internal communication line, hardware elements used in each control device are efficiently shared. As a result, the printer can be used efficiently, and the production cost of the composite printer can be reduced.

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

【図1】本発明の一実施形態に係るプリンタの外観構成
を説明するための図である。
FIG. 1 is a diagram for explaining an external configuration of a printer according to an embodiment of the present invention.

【図2】本発明の一実施形態に係るプリンタのハードウ
ェア構成を示すブロックダイアグラムである。
FIG. 2 is a block diagram illustrating a hardware configuration of the printer according to the embodiment of the present invention.

【図3】本発明の一実施形態に係る制御装置間のパケッ
ト通信処理を説明するためのフローチャートである。
FIG. 3 is a flowchart illustrating a packet communication process between control devices according to an embodiment of the present invention.

【図4】本発明の一実施形態に係る制御装置間のパケッ
ト通信処理を説明するためのフローチャートである。
FIG. 4 is a flowchart illustrating a packet communication process between control devices according to an embodiment of the present invention.

【図5】電源投入時におけるプリンタ1の処理を説明す
るためのフローチャートである。
FIG. 5 is a flowchart for explaining processing of the printer 1 when power is turned on.

【図6】プリントジョブ投入時におけるプリンタ1の処
理を説明するためのフローチャートである。
FIG. 6 is a flowchart for explaining processing of the printer 1 when a print job is input.

【図7】プリントジョブのキャンセル時におけるプリン
タ1の処理を説明するためのフローチャートである。
FIG. 7 is a flowchart for describing processing of the printer 1 when a print job is canceled.

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

1…プリンタ 2A,2B…制御装置 20…内部通信線 21…プロセッサ 22…RAM 23…ROM 24…外部インターフェース回路 25…ユーザインターフェース回路 26…通信インターフェース回路 27…エンジンコントローラ 28…プリントエンジン 29…EEPROM DESCRIPTION OF SYMBOLS 1 ... Printer 2A, 2B ... Control device 20 ... Internal communication line 21 ... Processor 22 ... RAM 23 ... ROM 24 ... External interface circuit 25 ... User interface circuit 26 ... Communication interface circuit 27 ... Engine controller 28 ... Print engine 29 ... EEPROM

フロントページの続き Fターム(参考) 2C061 AP01 AP04 AP07 HJ10 HN05 HQ06 5B021 AA02 BB01 BB04 CC05 GG05 5K034 AA11 BB06 FF19 HH06 Continued on the front page F term (reference) 2C061 AP01 AP04 AP07 HJ10 HN05 HQ06 5B021 AA02 BB01 BB04 CC05 GG05 5K034 AA11 BB06 FF19 HH06

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】内部通信線によって相互に接続された第1
の制御装置と第2の制御装置とを備えた複合プリンタに
おいて、 前記第1の制御装置と前記第2の制御装置間で、印刷対
象データを第1の論理チャネルで転送する一方、前記制
御データを第2の論理チャネルで転送することを特徴と
する複合プリンタ。
1. A first system interconnected by an internal communication line.
A multi-function printer comprising the control device and the second control device, wherein the print data is transferred between the first control device and the second control device via a first logical channel, while the control data In a second logical channel.
【請求項2】前記複合プリンタは、 パケット通信により所定のデータを転送することを特徴
とする請求項1記載のプリンタ。
2. The printer according to claim 1, wherein the multifunction printer transfers predetermined data by packet communication.
【請求項3】前記複合プリンタは、 前記第1の制御装置上の印刷対象データを前記第2の制
御装置に第1の論理チャネルで転送することを特徴とす
る請求項1または2記載の複合プリンタ。
3. The multi-function printer according to claim 1, wherein the multi-function printer transfers the data to be printed on the first control device to the second control device via a first logical channel. Printer.
【請求項4】前記複合プリンタは、 前記第2の制御装置上の設定に関する制御データを前記
第1の制御装置に第2の論理チャネルのいずれかで転送
することを特徴とする請求項1または3記載の複合プリ
ンタ。
4. The multifunction printer according to claim 1, wherein the control data relating to the setting on the second control device is transferred to the first control device via one of a second logical channel. 3. The composite printer according to 3.
【請求項5】前記複合プリンタは、 起動処理の際に、前記第2の制御装置と前記第1の制御
装置間で、設定に関する制御データを転送することを特
徴とする請求項1ないし4記載の複合プリンタ。
5. The multifunction printer according to claim 1, wherein at the time of start-up processing, control data relating to settings is transferred between said second control device and said first control device. Composite printer.
【請求項6】前記複合プリンタは、 前記第2の制御装置上の印刷状況に関する制御データを
前記第1の制御装置に対して前記第2の論理チャネルで
転送することを特徴とする請求項1ないし5記載の複合
プリンタ。
6. The multifunction printer according to claim 1, wherein the control data relating to the printing status on the second control device is transferred to the first control device through the second logical channel. A composite printer according to any one of claims 1 to 5.
【請求項7】前記複合プリンタは、 前記第1の制御装置から前記第2の制御装置に対して前
記第2の論理チャネルで印刷キャンセルに関する制御デ
ータを転送することを特徴とする請求項1ないし6記載
の複合プリンタ。
7. The multifunction printer according to claim 1, wherein the first control device transfers control data relating to print cancellation via the second logical channel to the second control device. 6. The composite printer according to 6.
【請求項8】前記複合プリンタは、 前記第1の制御装置と前記第2の制御装置間で所定のデ
ータを転送する際に、いずれの論理チャネルで転送する
かを指定することを特徴とする請求項1ないし7記載の
複合プリンタ。
8. The multifunction printer according to claim 1, wherein when the predetermined data is transferred between the first control device and the second control device, which logical channel is to be used for the transfer. The composite printer according to claim 1.
【請求項9】内部通信線によって相互に接続された複数
の制御装置を備えた複合プリンタにおけるハードウェア
資源の共有化方法において、 印刷処理の際に、前記各制御装置間で、印刷対象データ
を第1の論理チャネルで転送する一方、 起動処理の際に、前記一方の制御装置上の制御データ
を、前記他方の制御装置に第2の論理チャネルで転送す
ることを特徴とする複合プリンタにおけるハードウェア
資源の共有化方法。
9. A method of sharing hardware resources in a multifunction printer having a plurality of control devices interconnected by an internal communication line, comprising the steps of: A first logical channel for transferring the control data on the one control device to the other control device via a second logical channel during a start-up process; How to share wear resources.
JP2001070802A 2001-03-13 2001-03-13 Composite printer and method for sharing hardware resource in composite printer Pending JP2002264446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001070802A JP2002264446A (en) 2001-03-13 2001-03-13 Composite printer and method for sharing hardware resource in composite printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001070802A JP2002264446A (en) 2001-03-13 2001-03-13 Composite printer and method for sharing hardware resource in composite printer

Publications (1)

Publication Number Publication Date
JP2002264446A true JP2002264446A (en) 2002-09-18

Family

ID=18928604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001070802A Pending JP2002264446A (en) 2001-03-13 2001-03-13 Composite printer and method for sharing hardware resource in composite printer

Country Status (1)

Country Link
JP (1) JP2002264446A (en)

Similar Documents

Publication Publication Date Title
US7583394B2 (en) Image forming apparatus, control method, memory medium, and program
US8839014B2 (en) Apparatus and method for shortening time for transitioning power mode of network communication device by utilizing a shared storage unit, a socket, and a socket wrapper
JP2004213635A (en) Image processor, image processing method and control program
US20030053112A1 (en) Printer management method and management system
US6195171B1 (en) Printer and interface unit, printing system, and method for setting communication parameters in printer
JPH10171615A (en) Printer
JP5031539B2 (en) Printing system, printing apparatus and printing method
US20050253930A1 (en) Image output system having multiple devices communication-connected in master-slave relation
JP2011086144A (en) Image processing system, network relay apparatus, and image processing apparatus
JP2002264446A (en) Composite printer and method for sharing hardware resource in composite printer
JP2014082714A (en) Image forming apparatus, control method of the same, and program
US20090180137A1 (en) Device setting system, device setting method, and computer-readable recording medium saving device setting program
JP2004253900A (en) Communication assisting apparatus and communication system employing apparatus
JP3935295B2 (en) Network adapter
JP3636359B2 (en) A system with multiple devices that are connected in a master-slave relationship
JP4371692B2 (en) COMMUNICATION SYSTEM CONTROL METHOD, COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JPH11143665A (en) System for controlling printing and its method
JP2005318537A (en) Image processing apparatus, its system, and its control method
JP2005186625A (en) Image processing apparatus, control method and program
JP6289094B2 (en) Network interface device and control method thereof
JP2001105689A (en) Printing system and printing apparatus and its control method
JP3880431B2 (en) Composite device and control method thereof
JP3636358B2 (en) Image output system
US8542387B2 (en) Printing apparatus, printing system and printer driver
JP4262007B2 (en) Network device and data processing system control method