JP3440117B2 - Printer control device - Google Patents

Printer control device

Info

Publication number
JP3440117B2
JP3440117B2 JP20334293A JP20334293A JP3440117B2 JP 3440117 B2 JP3440117 B2 JP 3440117B2 JP 20334293 A JP20334293 A JP 20334293A JP 20334293 A JP20334293 A JP 20334293A JP 3440117 B2 JP3440117 B2 JP 3440117B2
Authority
JP
Japan
Prior art keywords
color
image data
data
printer
video interface
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.)
Expired - Fee Related
Application number
JP20334293A
Other languages
Japanese (ja)
Other versions
JPH0752472A (en
Inventor
徳太郎 福嶋
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP20334293A priority Critical patent/JP3440117B2/en
Publication of JPH0752472A publication Critical patent/JPH0752472A/en
Application granted granted Critical
Publication of JP3440117B2 publication Critical patent/JP3440117B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、ホストコンピュータ
から送られるページ記述言語で作成されたカラー画像デ
ータをカラープリンタに印刷させるためのプリンタ制御
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer controller for causing a color printer to print color image data created in a page description language sent from a host computer.

【0002】[0002]

【従来の技術】直線ベクトルのデータを描画できるプリ
ンタ制御装置等の画像処理装置として、例えば特開平2
−181886号公報にみられるようなものがあり、こ
のような画像処理装置の構成および動作を図10を参照
して説明する。この画像処理装置は、ホストコンピュー
タ31においてポストスクリプトに代表されるページ記
述語により作成した画像データを画像メモリ32に描画
するものである。
2. Description of the Related Art As an image processing device such as a printer control device capable of drawing linear vector data, for example, Japanese Unexamined Patent Publication No. Hei 2
There is one disclosed in Japanese Patent Publication No. 181886, and the configuration and operation of such an image processing device will be described with reference to FIG. This image processing apparatus draws in the image memory 32 image data created by a page description word represented by Postscript in the host computer 31.

【0003】その画像データ(ベクトルデータ)はすべ
てベクトルで表現されており、記述されたベクトルをC
PU33が全て主走査方向の直線ベクトルに展開し直
し、その直線ベクトルの始点と終点の座標および濃度の
値を先入先出メモリ(以下「FIFOメモリ」という)
34に一時格納する。
All the image data (vector data) is represented by a vector, and the described vector is C
All of the PUs 33 are re-developed into straight line vectors in the main scanning direction, and the coordinates of the start and end points of the straight line vectors and the density values are first-in first-out memory (hereinafter referred to as "FIFO memory")
Temporarily stored in 34.

【0004】FIFOメモリ34に格納された各データ
は、主走査方向開始アドレスレジスタ(以下「XSレジ
スタ」という)35、主走査方向終了アドレスレジスタ
(以下「XEレジスタ」という)36、副走査方向開始
アドレスレジスタ(以下「YSレジスタ」という)3
7、濃度レジスタ(以下「RGBレジスタ」という)3
8にそれぞれラッチされる。
Each data stored in the FIFO memory 34 includes a main scanning direction start address register (hereinafter referred to as "XS register") 35, a main scanning direction end address register (hereinafter referred to as "XE register") 36, and a sub scanning direction start. Address register (hereinafter referred to as "YS register") 3
7, density register (hereinafter referred to as "RGB register") 3
8 are each latched.

【0005】CPU33から描画命令が出されると、メ
モリコントローラ39はライト信号を発生して、画像メ
モリ32上のXSレジスタ35とYSレジスタ37とに
よって指定されるアドレスにRGBレジスタ38によっ
て指定される濃度で書き込みを行う。また、その書き込
み動作開始と共に主走査方向アドレスカウンタ(以下
「Xアドレスカウンタ」という)40がカウント動作に
入り、アドレス(XSレジスタ35からのロード値)を
インクリメントしていく。
When a drawing command is issued from the CPU 33, the memory controller 39 generates a write signal, and the density specified by the RGB register 38 at the address specified by the XS register 35 and the YS register 37 on the image memory 32. Write with. Further, when the writing operation is started, the main scanning direction address counter (hereinafter referred to as “X address counter”) 40 enters the counting operation, and the address (the load value from the XS register 35) is incremented.

【0006】その後、そのアドレスがXEレジスタ36
の値と同じになると、主走査方向比較器であるXコンパ
レータ41が描画終了ドットまできたことをメモリコン
トローラ39に伝える。これにより直線ベクトルの描画
が行える。そして、上述の動作を繰り返すことにより、
ホストコンピュータ31で作成した1ページ分の画像デ
ータを画像メモリ32に描画することができる。
Thereafter, the address is stored in the XE register 36.
When it becomes the same as the value of, the X-comparator 41, which is the main scanning direction comparator, notifies the memory controller 39 that the drawing end dot has come. This allows the drawing of a straight line vector. Then, by repeating the above operation,
One page of image data created by the host computer 31 can be drawn in the image memory 32.

【0007】また、1つの画像メモリで、ホストコンピ
ュータから入力される直線ベクトルとスキャナから読み
込んだ画像データの両者を格納できるようにした画像処
理装置を、本発明者が既に発明して特許出願している
(特願平5−36917号)。その画像処理装置の構成
および動作を図11を参照して説明する。
The present inventor has already invented and filed a patent for an image processing apparatus capable of storing both a straight line vector input from a host computer and image data read from a scanner in one image memory. (Japanese Patent Application No. 5-36917). The configuration and operation of the image processing apparatus will be described with reference to FIG.

【0008】画像描画装置50内には図示しないが、前
述の図10に示した装置と同様な主走査方向開始レジス
タ(XSレジスタ)、主走査方向終了レジスタ(XEレ
ジスタ)、副走査方向開始レジスタ(YSレジスタ)、
副走査方向終了レジスタ(YEレジスタ)、および濃度
レジスタ(RGBレジスタ)があり、使用者がページ記
述言語で指定された画像データを画像メモリ32に格納
したい場合には、CPU33は主走査方向の直線ベクト
ル描画モードを指定して、データ切替部52はFIFO
メモリ34から出力された画像データを画像メモリ32
のデータ線に出力して蓄える。
Although not shown in the image drawing device 50, a main scanning direction start register (XS register), a main scanning direction end register (XE register), and a sub-scanning direction start register similar to those of the device shown in FIG. (YS register),
When there is a sub-scanning direction end register (YE register) and a density register (RGB register), and the user wants to store the image data specified by the page description language in the image memory 32 , the CPU 33 causes the CPU 33 to draw a straight line in the main scanning direction. By specifying the vector drawing mode, the data switching unit 52 makes the FIFO
The image data output from the memory 34 is stored in the image memory 32.
Output to the data line of and store.

【0009】また、使用者からの指定が、スキャナ45
からの画像データを画像メモリ32に蓄えることである
場合には、CPU33はスキャナモードを指定して、デ
ータ切替部52は、主走査方向開始レジスタ、主走査方
向終了レジスタ、副走査方向開始レジスタ、副走査方向
終了レジスタによって指定された範囲で、スキャナ45
からの画像データを画像メモリ32のデータ線に出力し
て蓄える。
The scanner 45 is designated by the user.
When the image data is to store in the image memory 32 <br/> from the CPU 33 is to specify the scanner mode, the data switching unit 52, the main scanning direction start register, the main scanning direction end register, the sub-scanning Within the range specified by the direction start register and the sub-scanning direction end register , the scanner 45
The image data from is output to the data line of the image memory 32 and stored.

【0010】さらに、スキャナ45からの画像データを
画像メモリ32に書き込む際には、画像メモリ32の持
つ階調と画像データの階調を比較して、画像メモリ32
の持つ階調の方が少ない場合には、スキャナ45で読み
込む面積を小さくしたり、あるいはディザ処理を施した
りする。
Further, when the image data from the scanner 45 is written in the image memory 32, the gradation of the image memory 32 is compared with the gradation of the image data, and the image memory 32 is compared.
When the number of gradations of the scanner is smaller, the area to be read by the scanner 45 is reduced or dither processing is performed.

【0011】また、スキャナ45で読み込んだ画像を任
意の矩形領域に貼り込む際には、アドレス制御部51に
指定された主走査方向の開始座標および終了座標と、副
走査方向の開始座標および終了座標に囲まれた領域のア
ドレスをアドレス制御部51が生成して、画像メモリ3
2に書き込む。以上の動作を繰り返すことにより、ホス
トコンピュータ31で作成した画像データと、スキャナ
45から読み込んだデータとの両者を同じ画像メモリ3
2に蓄えることができる。
When the image read by the scanner 45 is pasted in an arbitrary rectangular area, the start coordinate and the end coordinate in the main scanning direction and the start coordinate and the end coordinate in the sub scanning direction designated by the address control unit 51. The address control unit 51 generates the address of the area surrounded by the coordinates, and the image memory 3
Write to 2. By repeating the above operation, both the image data created by the host computer 31 and the data read by the scanner 45 are stored in the same image memory 3
Can be stored in 2.

【0012】[0012]

【発明が解決しようとする課題】しかし、上述のような
従来の画像処理装置を用いてカラープリンタのプリンタ
制御装置を構成する場合には、画像メモリの構成が色ご
とに独立していないため、印字を行う際にビデオインタ
フェースへの出力が4色同時にはできず、プリンタエン
ジンの構成が4ドラム機の場合には、新たに違うハード
ウェアを設けなくてはならないためコスト高になる。さ
らに、1つのハードウェア(カラープリンタ制御装置)
で1ドラム機と4ドラム機の両方のカラープリンタを接
続することはできないという問題もあった。
However, when the printer control device of the color printer is constructed by using the conventional image processing device as described above, the configuration of the image memory is not independent for each color. When printing is performed, it is impossible to output four colors to the video interface at the same time, and when the printer engine is a four-drum machine, different hardware must be newly provided, resulting in high cost. Furthermore, one piece of hardware (color printer controller)
However, there is also a problem that it is not possible to connect color printers of both 1-drum machine and 4-drum machine.

【0013】また、ホストコンピュータからの画像デー
タを蓄えるときとスキャナからの画像データを蓄えると
きには、画像メモリのアドレス指定を主走査方向と副走
査方向の2次元で指定するが、プリンタに出力する際に
は実際のメモリの1次元アドレスを計算しなくてはなら
ず、CPUにかかる負担が増え、処理時間がかかるとい
う問題もあった。
When the image data from the host computer and the image data from the scanner are stored, the address designation of the image memory is designated two-dimensionally in the main scanning direction and the sub-scanning direction, but when outputting to the printer. However, there is also a problem that the one-dimensional address of the actual memory has to be calculated, the load on the CPU increases, and the processing time increases.

【0014】この発明は上記の点に鑑みてなされたもの
であり、プリンタ制御装置のコストを抑えるため、1つ
の共通するハードウエア構成で1ドラム機と4ドラム機
の両方のカラープリンタをハードウェアの変更なしに接
続可能にすること、および機能の向上や処理時間の短縮
を図ることを目的とする。
The present invention has been made in view of the above points, and in order to reduce the cost of the printer controller , one
It is possible to connect color printers of both 1-drum machine and 4-drum machine without changing hardware, and to improve functions and shorten processing time with a common hardware configuration .

【0015】[0015]

【課題を解決するための手段】この発明は上記の目的を
達成するため、請求項1のプリンタ制御装置は、少なく
とも1ページ分の画像データを色ごとに蓄えておく画像
メモリと、ホストコンピュータから送出される画像デー
タを受け取って色ごとに印刷するイメージ画像に展開し
て上記画像メモリに格納する手段と、1つの共通のハー
ドウエア構成で独立した複数のデータ線を持ち、接続さ
れているカラープリンタへ色ごとの画像データを上記複
数のデータ線に並列転送および該並列転送に使用する複
数のデータ線のうちのいずれか1つのデータ線に順次転
送が可能なビデオインタフェースと、上記画像メモリと
ビデオインタフェースとの間に介挿され、上記画像メモ
リに格納された任意の色の画像データを上記ビデオイン
タフェースの上記並列転送に使用する複数のデータ線の
うちの任意のデータ線に選択的に送出可能な切替手段
と、上記接続されているカラープリンタが1ドラム機で
あるか4ドラム機であるかの種別を検知し、その検知し
た種別と印刷する画像データの色と上記ビデオインタフ
ェース上の出力するデータ線とを対応づける情報を上記
切替手段に送って、該切替手段を制御する制御手段とを
備えている。
In order to achieve the above-mentioned object, the present invention provides a printer control apparatus comprising: an image memory for storing at least one page of image data for each color; and a host computer. A means for receiving the image data to be sent, developing it into an image image to be printed for each color, and storing it in the image memory, and a color that has a plurality of independent data lines with one common hardware configuration and is connected The image data for each color is transferred to the printer in parallel to the plurality of data lines and a copy used for the parallel transfer .
Image data of any color, which is inserted between the video interface capable of sequentially transferring to any one of the number of data lines and the image memory and the video interface and stored in the image memory. Of the multiple data lines used for the parallel transfer of the video interface
A switching unit capable of selectively sending data to an arbitrary data line and a type of the connected color printer, which is a one-drum machine or a four-drum machine, are detected, and the detected type is printed. And a control means for controlling the switching means by sending information for associating the color of the image data with the data line output on the video interface to the switching means.

【0016】そして、その制御手段は上記情報に応じ
て、上記検知した種別が1ドラム機であった場合には、
上記画像メモリに格納された全ての色の画像データを上
記ビデオインタフェース上の上記並列転送に使用する複
数のデータ線のうちのいずれか1つのデータ線に順次出
力させ、上記検知した種別が4ドラム機であった場合に
は、上記画像メモリに格納された全ての色の画像データ
を上記ビデオインタフェースの上記複数の各データ線に
同時に送出させるように上記切替手段を制御することを
特徴とする。
Then, in the case where the detected type is a one-drum machine according to the above information, the control means:
Image data of all colors stored in the image memory is used for the parallel transfer on the video interface.
If any one of the number of data lines is sequentially output and the detected type is a 4-drum machine, the image data of all colors stored in the image memory is transferred to the video interface. The switching means is controlled so that the plurality of data lines are simultaneously transmitted.

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】請求項2のプリンタ制御装置は、請求項1
のプリンタ制御装置において、上記画像メモリとビデオ
インタフェースとの間に介挿され、上記画像メモリに格
納された画像データの色ごとに独立した1ラインあるい
は複数のラインを一時的に記憶できるFIFOメモリを
設けたものである。
A printer control device according to a second aspect of the present invention is the printer control device according to the first aspect.
In the printer control device of the above, a FIFO memory that is inserted between the image memory and the video interface and can temporarily store one line or a plurality of lines independent for each color of the image data stored in the image memory is provided. It is provided.

【0024】請求項3のプリンタ制御装置は、請求項1
のプリンタ制御装置において、接続されているカラープ
リンタがスキャナ部を備えている場合、該スキャナ部で
読み込んだカラー画像データを上記ビデオインタフェー
スを介して入力し、上記画像メモリに転送して色ごとに
格納させる手段を設けたものである。
A printer control device according to a third aspect of the present invention is the first aspect.
If the connected color printer is equipped with a scanner unit, the color image data read by the scanner unit is input through the video interface, transferred to the image memory, and the color image data is transferred for each color. A means for storing is provided.

【0025】請求項4のプリンタ制御装置は、上記プリ
ンタ制御装置において、上記ビデオインタフェースとカ
ラープリンタとの間に、該カラープリンタ側から上記並
列転送に使用する複数のデータ線のうちのいずれか1つ
のデータ線に入力される画像データを上記ビデオインタ
フェースの上記複数の全てのデータ線に選択的に出力で
きる切替手段を設けたものである。
According to a fourth aspect of the present invention, there is provided the printer control device according to the fourth aspect, in which the video interface and the color printer are arranged in parallel with each other from the color printer side.
In which the image data input to one of the data lines provided with switching means for selectively outputting the plurality of all the data lines of the video interface of the plurality of data lines to be used for column transfer .

【0026】請求項5のプリンタ制御装置は、請求項6
のプリンタ制御装置において、接続されているカラープ
リンタのスキャナ部で読み込んだRGBのカラー画像デ
ータを上記ビデオインタフェースを介して入力した際、
それをCMYKのカラー画像データに変換する手段と、
該手段によって変換したCMYKのカラー画像データと
変換しないRGBのカラー画像データのいずれかを選択
して上記画像メモリに転送する手段とを設けたものであ
る。
A printer control device according to a fifth aspect of the present invention is the printer control device according to the sixth aspect.
When the RGB color image data read by the scanner unit of the connected color printer is input through the video interface in
A means for converting it into CMYK color image data,
A means for selecting either the CMYK color image data converted by the means or the RGB color image data not converted and transferring it to the image memory is provided.

【0027】[0027]

【作用】このように構成したこの発明の請求項1のプリ
ンタ制御装置によれば、画像メモリは各色独立に画像デ
ータを格納し、ビデオインタフェースは1つの共通する
ハード構成であり、その画像メモリとビデオインタフェ
ースとの間に介挿した切替手段により、任意の色の画像
データをビデオインタフェース上の並列転送に使用する
複数のデータ線のうちの任意のデータ線に出力でき、制
御手段は接続されているカラープリンタが1ドラム機で
あるか4ドラム機であるかの種別を検知して、1ドラム
機であるであった場合には、画像メモリに格納された画
像データのうち送出する対象の画像データの色及び上記
ビデオインタフェース上の出力データ線の情報を伝える
ことによって、全ての色の画像データを1色ずつビデオ
インタフェースの上記並列転送に使用する複数のデータ
線のうちのいずれか1つのデータ線に順次送出させ、4
ドラム機であるであった場合には、画像メモリに格納さ
れた全ての色の画像データをビデオインタフェースの各
データ線に同時に送出させるように上記切替手段を制御
するので、異種のカラープリンタである1ドラム機と4
ドラム機を1つのプリンタ制御装置でハードウェアの変
更なしに容易に接続可能になる。
According to the printer controller of the first aspect of the present invention thus constructed, the image memory stores the image data independently for each color, and the video interface has one common hardware configuration. Image data of any color is used for parallel transfer on the video interface by the switching means inserted between the video interface and
The data can be output to an arbitrary data line of the plurality of data lines , and the control means detects the type of the connected color printer as a one-drum machine or a four-drum machine and determines that the color printer is a one-drum machine. If so, by transmitting the color of the image data to be transmitted out of the image data stored in the image memory and the information of the output data line on the video interface, the image data of all colors are transmitted one by one. Multiple data used for the above parallel transfer of video interface
Sequentially send to any one of the data lines, 4
In the case of a drum machine, the switching means is controlled so that the image data of all colors stored in the image memory are simultaneously sent to the respective data lines of the video interface, so that it is a different type of color printer. 1 drum machine and 4
The drum machine can be easily connected with one printer controller without changing the hardware.

【0028】また、ビデオインタフェースの上記並列転
送に使用する複数のデータ線のうちのいずれか1つのデ
ータ線に画像メモリの任意の色の画像データを出力可能
であるから、1ドラム機の場合には3色または4色のカ
ラー画像データを1色ずつカラープリンタに順次転送す
ればよいので、ビデオインタフェースのデータ線を指定
する必要がなく、切替手段の規模を小さくしてコスト削
減することができる。
In addition, the above-mentioned parallel conversion of the video interface.
Image data of any color in the image memory can be output to any one of the plurality of data lines used for transmission. Therefore, in the case of one drum machine, color image data of three colors or four colors is output. Since it is only necessary to sequentially transfer each color to the color printer, it is not necessary to specify the data line of the video interface, and it is possible to reduce the scale of the switching means and reduce the cost.

【0029】[0029]

【0030】[0030]

【0031】[0031]

【0032】[0032]

【0033】請求項2のプリンタ制御装置によれば、ビ
デオインタフェースに出力する前に、一時FIFOメモ
リによるラインバッファに画像メモリの主走査方向の1
ライン分以上の画像データを蓄えることにより、プリン
タ制御装置とプリンタエンジン間の非同期転送が行える
ようになり、1つのプリンタ制御装置で画素クロックの
周波数が違うプリンタエンジンに接続可能になる。
According to the printer control apparatus of the second aspect , before outputting to the video interface, the line buffer of the temporary FIFO memory is provided with 1 in the main scanning direction of the image memory.
By storing the image data for more than one line, asynchronous transfer between the printer control device and the printer engine can be performed, and one printer control device can be connected to a printer engine having a different pixel clock frequency.

【0034】請求項3のプリンタ制御装置によれば、F
IFOメモリによるラインバッファへ入力する画像デー
タを、画像メモリからのデータと、スキャナとして使う
カラープリンタからの読み出し画像データの両者を切り
替えることができるので、カラー複写機のようにスキャ
ナ部を備えたカラープリンタをスキャナとして利用し
て、読み込んだカラー画像をディスプレイ上に出力する
ことが可能になるなどの機能向上が図れる。
According to the printer controller of claim 3 , F
The image data input to the line buffer by the IFO memory can be switched between the data from the image memory and the read image data from the color printer used as a scanner. By using the printer as a scanner, it is possible to improve the function such that the read color image can be output on the display.

【0035】請求項4のプリンタ制御装置によれば、カ
ラープリンタに備えているスキャナ部が1色ずつしか画
像を読み取れないものであった場合にも、そのカラー画
像データを上記並列転送に使用する複数のデータ線のう
ちのいずれか1つのデータ線から入力して切替手段に
よってビデオインタフェースの上記複数の全てのデータ
線に選択的に出力し、画像メモリに各色別に格納するこ
とができる。
According to the printer control device of the fourth aspect, even when the scanner section provided in the color printer can read the image only one color at a time, the color image data is used for the parallel transfer. Multiple data lines
It is possible to input from any one of the data lines, selectively output to all of the plurality of data lines of the video interface by the switching means, and store in the image memory for each color.

【0036】請求項5のプリンタ制御装置によれば、ス
キャナとして使えプリンタからの読み込み画像データ
を、カラープリンタからビデオインタフェースを介して
入力した際にRGBからCMYK色変換する画像処理を
施すことにより、取り込める画像データの色がRGBデ
ータだけでなくCMYKデータとしても画像メモリに蓄
えられ、機能の向上が図れる。
According to the printer control device of the fifth aspect, the image data that can be used as a scanner and read from the printer is subjected to image processing of RGB to CMYK color conversion when input from the color printer through the video interface. The color of the image data that can be captured is stored in the image memory not only as RGB data but also as CMYK data, and the function can be improved.

【0037】[0037]

【実施例】以下、この発明の実施例を図面に基づいて具
体的に説明する。この発明の第1実施例(請求項1に対
応する)のプリンタ制御装置について図1及び図2によ
って説明する。図1に示すブロック構成図において、ホ
ストコンピュータ1とカラープリンタ(印字装置)2の
間にプリンタ制御装置3を接続している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be specifically described below with reference to the drawings. A printer controller according to a first embodiment (corresponding to claim 1) of the present invention will be described with reference to FIGS. In the block diagram shown in FIG. 1, a printer control device 3 is connected between a host computer 1 and a color printer (printing device) 2.

【0038】そのプリンタ制御装置3は、CPU4と、
少なくとも1ページ分の印刷(印字)する画像データを
色ごとに蓄えておく画像メモリ5と、色ごとに画像デー
タの並列転送が可能なビデオインタフェース6と、各画
像メモリ5とビデオインタフェース6との間に介挿した
セレクタ7と、アドレス制御部8とを備えている。
The printer control device 3 includes a CPU 4 and
An image memory 5 for storing image data to be printed (printed) for at least one page for each color, a video interface 6 capable of parallel transfer of image data for each color, and each image memory 5 and video interface 6. It is provided with a selector 7 and an address control unit 8 which are interposed therebetween.

【0039】CPU4は、ホストコンピュータ1から送
出される画像データを受け取って、色ごとに印刷するイ
メージ画像に展開して各画像メモリ5に格納する手段
と、接続されているカラープリンタ2の種別を検知する
手段と、その検知結果に応じてセレクタ7を制御する
御手段の機能を果たす。セレクタ7は、色ごとの各画像
メモリ5の全てからビデオインタフェース6の全ての
ータ線(8ビットずつ)に画像データを送出できるよう
に切り替える切替手段である。
The CPU 4 receives the image data sent from the host computer 1, develops image data to be printed for each color and stores it in each image memory 5, and the type of the connected color printer 2. means for sensing, control for controlling the selector 7 in response to the detection result
Fulfill the function of the means . The selector 7 is a switching means for switching so that image data can be sent from all the image memories 5 for each color to all the data lines (8 bits at a time) of the video interface 6.

【0040】使用者は、ホストコンピュータ1でポスト
スクリプトに代表されるページ記述言語で1ページ分の
印刷する画像データを作成する。ページ記述言語は、文
字も図形も直線、曲線を問わずベクトルで表わされてい
るため、プリンタ制御装置3のCPU4では、ホストコ
ンピュータ1から受け取った画像データを色ごとに実際
に印刷するイメージデータに変換して画像メモリ5に展
開していく。
The user creates image data for printing one page in the host computer 1 in the page description language represented by Postscript. In the page description language, both characters and figures are represented by vectors regardless of whether they are straight lines or curved lines. Therefore, the CPU 4 of the printer control device 3 causes the image data received from the host computer 1 to be actually printed for each color. And is expanded into the image memory 5.

【0041】ホストコンピュータ1から送られた1ペー
ジ分の画像データを全て画像メモリ5に蓄え終わると、
CPU4はビデオインタフェース6に接続されているカ
ラープリンタ2の種別(方式)が1ドラム機であるか4
ドラム機であるかを検知する。そして、検知した種別が
1ドラム機であった場合には、一回のトナー転写作業に
つき1色だけしか転写を行えないため、カラー画像を印
刷する際には、画像データを赤,緑,青(RGB)で画
像メモリ5に蓄えた場合には3回、シアン,マゼンタ,
イエロー,黒(CMYK)で蓄えた場合には4回データ
を送らなくてはならない。
When the image data for one page sent from the host computer 1 is completely stored in the image memory 5,
Whether the type (method) of the color printer 2 connected to the video interface 6 is one drum machine
Detects if it is a drum machine. If the detected type is a one-drum machine, only one color can be transferred in one toner transfer operation. Therefore, when printing a color image, the image data is red, green, and blue. When stored in the image memory 5 with (RGB), three times, cyan, magenta,
When storing in yellow and black (CMYK), data must be sent 4 times.

【0042】そのため、CPU4は最初に現在つながっ
ているカラープリンタ2が1ドラム機であることをセレ
クタ7に伝え、さらに画像データをCMYKで画像メモ
リ5に蓄えた場合には、印刷する色データを表1に示す
第1のコードでセレクタ7に伝え(例えば「シアンデー
タ」であったら第1のコードは“00”)、ビデオイン
タフェース6上のどのデータ線に画像データを出力する
かを表2に示す第2のコードでセレクタ7に伝える。す
なわち、CPU4からセレクタ7へ合計5ビットのデー
タ線で、接続されているカラープリンタの種別,印刷す
る色,及びビデオインタフェース6上の出力するデータ
線の情報を伝える。
Therefore, the CPU 4 first informs the selector 7 that the currently connected color printer 2 is a one-drum machine, and when the image data is stored in the image memory 5 in CMYK, the color data to be printed is stored. The first code shown in Table 1 is transmitted to the selector 7 (for example, if it is "cyan data", the first code is "00"), and the data line on the video interface 6 to which the image data is output is shown in Table 2. The second code shown in FIG. That is, the type of the connected color printer, the color to be printed, and the information of the data line to be output on the video interface 6 are transmitted from the CPU 4 to the selector 7 by a total of 5 bit data lines.

【0043】[0043]

【表1】 [Table 1]

【0044】[0044]

【表2】 [Table 2]

【0045】アドレス制御部8では、実際にカラープリ
ンタ2で印刷している状態を示すフレームゲート(FG
ATE)信号と、印字行の開始を指定するライン同期
(LSYNC)信号と、印字するドットをカウントして
行く画素クロックから、出力する画像データが蓄えられ
ている画像メモリ5上のアドレスを生成する。
In the address control section 8, a frame gate (FG) showing a state of actually printing by the color printer 2 is displayed.
The ATE) signal, the line synchronization (LSYNC) signal that specifies the start of the print line, and the pixel clock that counts the dots to be printed generate the address on the image memory 5 where the image data to be output is stored. .

【0046】セレクタ7は、CPU4によって指定され
た色の画像データをビデオインタフェース6の指定され
たデータ線に送り、カラープリンタ2に印刷(印字)さ
せる。1色の印刷が完了すると、FGATE信号がネゲ
ートされるため、CPU4は2色目の印刷制御動作に入
る。2色目以降の印刷制御動作も1色目と同様に行わ
れ、3色あるいは4色の印刷が終了すると、画像メモリ
5に蓄えた1ページ分の画像データの印刷が完了する。
The selector 7 sends the image data of the color designated by the CPU 4 to the designated data line of the video interface 6 and causes the color printer 2 to print (print). When the printing of one color is completed, the FGATE signal is negated, so that the CPU 4 enters the print control operation of the second color. The print control operations for the second and subsequent colors are performed in the same manner as for the first color, and when the printing of the three or four colors is completed, the printing of the image data for one page stored in the image memory 5 is completed.

【0047】次に、カラープリンタ2が4ドラム機であ
った場合には、4色同時に印刷動作ができるため、CP
U4はセレクタ7に現在つながっているカラープリンタ
の種別が4ドラム機であることを伝え、セレクタ7で
は、画像メモリ5の各色の画像データをビデオインタフ
ェース6の各データ線上に3色あるいは4色同時に送出
して、カラープリンタ2に1ページの印刷を行なわせ
る。このようなの動作の流れを図2のフローチャートに
示す。
Next, when the color printer 2 is a four-drum machine, printing operations can be performed simultaneously for four colors.
U4 informs the selector 7 that the type of color printer currently connected is a 4-drum machine, and in the selector 7, the image data of each color of the image memory 5 is simultaneously applied to each data line of the video interface 6 in three or four colors. It is sent out and the color printer 2 is made to print one page. The flow of such operation is shown in the flowchart of FIG.

【0048】上記第1実施例において、セレクタ7が、
画像メモリ5の各色の画像データをビデオインタフェー
ス6の1つの色のデータ線(例えば表2に示したデータ
線0、あるいはデータ線1〜3のいずれかでもよい)に
送出できる機能も備えていれば、1ドラム機の場合に
は、セレクタ7が画像データを送り出すビデオインタフ
ェース6上のデータ線は固定になるため、CPU4がセ
レクタ7に前述の表2に示した第2のコードを送る必要
なくなり、セレクタ7のゲート構成を少なく(3ビッ
トに)できる。
In the first embodiment, the selector 7 is
The image data of each color of the image memory 5 can be sent to the data line of one color of the video interface 6 (for example, either the data line 0 shown in Table 2 or the data lines 1 to 3 may be used). For example, in the case of a one-drum machine, since the data line on the video interface 6 from which the selector 7 sends the image data is fixed, the CPU 4 needs to send the second code shown in Table 2 to the selector 7.
Is eliminated, and the gate configuration of the selector 7 can be reduced (to 3 bits) .

【0049】次に、この発明の応用例1のプリンタ制御
装置について図3及び図4によって説明する。図3に示
すブロック構成図において、図1と対応する部分には同
一の符号を付してあり、それらの説明は省略する。
Next, a printer controller according to the application example 1 of the invention will be described with reference to FIGS. In the block diagram shown in FIG. 3, parts corresponding to those in FIG. 1 are designated by the same reference numerals, and the description thereof will be omitted.

【0050】この応用例のプリンタ制御装置3には、各
色用の画像メモリ5とセレクタ7との間にRGB出力用
バッファ9とCMYK出力用バッファ10を介挿すると
共に、セレクタ7への各データ線をそれぞれプルアップ
抵抗11を介して電源(+5V)に接続し、CPU4か
らAND回路a,b及びNOT回路cを介挿して各バッ
ファ9,10に対する切り替え制御ラインを設けてい
る。
In the printer controller 3 of this application example , an RGB output buffer 9 and a CMYK output buffer 10 are inserted between the image memory 5 for each color and the selector 7, and each data to the selector 7 is inserted. Each line is connected to a power source (+ 5V) via a pull-up resistor 11, and a switching control line for each buffer 9 and 10 is provided from the CPU 4 via the AND circuits a and b and the NOT circuit c.

【0051】RGB出力用バッファ9は、3ステートに
アウトプットコントロールできる第1の出力制御手段で
あり、CMYK出力用バッファ10は、反転データを3
ステートにアウトプットコントロールできる第2の出力
制御手段である。ここで、3ステートとは、イネーブル
(有効)の時の入力に応じたハイレベル“H”とローレ
ベル“L”の出力状態と、ディスエーブル(無効)の時
のハイインピーダンスの出力状態をいう。
The RGB output buffer 9 is a first output control means capable of output control in three states, and the CMYK output buffer 10 outputs inverted data in three states.
It is a second output control means capable of controlling output to the state. Here, 3 states means enable
It means the output state of high level “H” and low level “L” according to the input when it is (valid) and the output state of high impedance when it is disabled (invalid) .

【0052】CPU4が画像メモリ5に画像データを主
走査方向と副走査方向の2次元イメージに展開して図4
に示すように蓄えた場合には、印刷領域A1と斜線を施
して示す部分のメモリに蓄えた領域A2の間のマージン
領域A3は、カラープリンタ2に送る際には白データで
なくてはならない。
The CPU 4 expands the image data in the image memory 5 into a two-dimensional image in the main scanning direction and the sub-scanning direction, and FIG.
In the case of storing as shown in FIG. 3, the margin area A3 between the printing area A1 and the area A2 stored in the memory of the hatched portion must be white data when sending to the color printer 2. .

【0053】そこで、画像メモリ5に蓄えた画像データ
がRGBの色別データであった場合は、図3におけるR
GB出力用バッファ9をイネーブルにし、その各色の画
像データをそのまま出力させるとともに、CMYK出力
用バッファ10はディスエーブルにしてその出力をハイ
インピーダンス状態にする。そして、図4に示したマー
ジン領域A3になると、RGB出力用バッファ9もディ
スエーブルにしてその出力をハイインピーダンス状態に
する。それによって、セレクタ7への入力は全てハイイ
ンピーダンス状態になるため、各データ線はプルアップ
抵抗11に引かれてハイレベル“H”となり、白データ
が送り出される。
Therefore, when the image data stored in the image memory 5 is RGB color data, R in FIG.
The GB output buffer 9 is enabled and the image of each color is displayed.
The image data is output as it is, and the CMYK output buffer 10 is disabled to put its output in a high impedance state. Then, when the margin area A3 shown in FIG. 4 is reached, the RGB output buffer 9 is also disabled and its output is set to a high impedance state. As a result, all the inputs to the selector 7 are in a high impedance state, so that each data line is pulled to the high level “H” by the pull-up resistor 11 and white data is sent out.

【0054】また、画像メモリ5に蓄えた画像データが
CMYKの色別データであった場合は、RGB出力用バ
ッファ9はディスエーブルにしてその出力をハイインピ
ーダンス状態にし、CMYK出力用バッファ10をイネ
ーブルにして、その各色の画像データを反転して出力さ
せる。さらに、この場合には、カラープリンタ2内で
の画像データを再び反転させて画像メモリ5に蓄えたデ
ータと同じ値にする。
If the image data stored in the image memory 5 is CMYK color-specific data, the RGB output buffer 9 is disabled, its output is set to a high impedance state, and the CMYK output buffer 10 is enabled. Then, the image data of each color is inverted and output.
Let Further, in this case, its within the color printer 2
The image data of is inverted again to the same value as the data stored in the image memory 5.

【0055】また、図4に示したマージン領域A3にな
ると、RGBの時と同様にセレクタ7への入力は全てハ
イインピーダンス状態になるため、プルアップ抵抗11
に引かれて、ハイレベル“H”となり、白データが送り
出される。以上の動作により、プルアップ抵抗11だけ
でマージン領域に白データを生成することができる。
In the margin area A3 shown in FIG. 4, all the inputs to the selector 7 are in a high impedance state as in the case of RGB, so that the pull-up resistor 11 is used.
, It becomes a high level "H" and white data is sent out. With the above operation, white data can be generated in the margin area only by the pull-up resistor 11.

【0056】次に、この発明の応用例2のプリンタ制御
装置について図5によって説明する。図5に示すブロッ
ク構成図において、図1及び図3と対応する部分には同
一の符号を付してあり、それらの説明は省略する。
Next, a printer controller according to an application example 2 of the invention will be described with reference to FIG. In the block diagram shown in FIG. 5, parts corresponding to those in FIGS. 1 and 3 are designated by the same reference numerals, and the description thereof will be omitted.

【0057】この応用例のプリンタ制御装置3は、前述
応用例1の構成に加えてワークメモリ12を設けたも
のである。モノクロデータでホストコンピュータ1から
直接イメージデータで送られるエミュレーションプリン
トなどの際には、カラーデータ用の画像メモリ5を使っ
てイメージ展開すると、アドレス制御が複雑になってし
まうため、CPU4のワークメモリ12をモノクロ用画
像メモリとして使用し、その上にモノクロ画像データを
展開した方がよい。
The printer control device 3 of this application example is provided with a work memory 12 in addition to the configuration of the application example 1 described above. In the case of emulation printing in which monochrome data is directly sent from the host computer 1 as image data, if the image is developed using the image memory 5 for color data, address control becomes complicated, so the work memory 12 of the CPU 4 is used. It is better to use as a monochrome image memory and develop monochrome image data on it.

【0058】その際には、RGB用出力バッファ9をイ
ネーブルにし、CMYK用出力バッファ10をディスエ
ーブルにして、ワークメモリ12上の画像データをRG
B用出力バッファ9通してセレクタ7へ送るようにすれ
ばよい。この時には画像メモリ5にはカラー画像データ
が格納されていないので出力されることはない。そして
マージン領域では、RGB用出力バッファ9もディスエ
ーブルにする。この実施例によれば、前述の第2実施例
と同様にカラー印刷を行なえ、且つモノクロプリントも
高速に行なうことができる。
At this time, the RGB output buffer 9 is enabled, the CMYK output buffer 10 is disabled, and the image data on the work memory 12 is RG.
It suffices to send it to the selector 7 through the B output buffer 9. At this time, since the color image data is not stored in the image memory 5, it is not output. In the margin area, the RGB output buffer 9 is also disabled. According to this embodiment, color printing can be performed as in the second embodiment, and monochrome printing can be performed at high speed.

【0059】また、この応用例では、モノクロデータを
印字する際に、カラープリンタ2が1ドラム機であった
場合には、前述した表1の第1のコードに従ってセレク
タ7をCPU4が制御して1回あるいは複数回プリント
制御動作をすることにより、黒だけでなく、レッド、グ
リーン,ブルー,シアン,マゼンタ,イエローの計7色
を印刷することができる。
Further, in this application example , when the color printer 2 is a one-drum machine when printing monochrome data, the CPU 4 controls the selector 7 according to the first code of Table 1 described above. By performing the print control operation once or a plurality of times, not only black but also a total of seven colors of red, green, blue, cyan, magenta, and yellow can be printed.

【0060】カラープリンタ2が4ドラム機であった場
合でも、セレクタ7からビデオインタフェース6上に1
色あるいは複数色のデータを同時に出力することができ
るので、1ドラム機のときと同様に、モノクロデータで
あっても黒だけでなく、レッド,グリーン,ブルー,シ
アン,マゼンタ,イエローの計7色を印刷することがで
る。
Even if the color printer 2 is a four-drum machine, the selector 7 outputs 1 to the video interface 6.
Since it is possible to output color or multiple color data at the same time, even if it is monochrome data, not only black but also red, green, blue, cyan, magenta, and yellow, 7 colors in total, as in the case of one drum machine. that-out <br/> in to print the.

【0061】次に、この発明の第2実施例(請求項2
対応する)のプリンタ制御装置について図6によって説
明する。図6に示すブロック構成図において、図1及び
図3,図5と対応する部分には同一の符号を付してあ
り、それらの説明は省略する。
Next, a printer controller according to a second embodiment (corresponding to claim 2 ) of the present invention will be described with reference to FIG. In the block diagram shown in FIG. 6, portions corresponding to those in FIGS. 1 and 3 and 5 are designated by the same reference numerals, and description thereof will be omitted.

【0062】このプリンタ制御装置3は、図5に示した
応用例2におけるRGB出力用バッファ9とCMYK出
力用バッファ10に代えて、RGB出力用ラッチ13と
CMYK出力用ラッチ14と、CPU4からその各ラッ
チ13,14へのイネーブル制御ライン(NOT回路1
7を含む)及びクロック信号ラインを設けている。ま
た、セレクタ7に代えてFIFOメモリであるラインバ
ッファ15を設け、そのビデオインタフェース6への出
力側の各データラインをそれぞれプルアップ抵抗16を
介して電源(+5V)に接続している。
This printer control device 3 is shown in FIG.
Instead of the RGB output buffer 9 and the CMYK output buffer 10 in the application example 2 , an RGB output latch 13 and a CMYK output latch 14, and an enable control line (NOT circuit 1 from the CPU 4 to each of the latches 13 and 14).
7) and a clock signal line. Further, a line buffer 15 which is a FIFO memory is provided in place of the selector 7, and each data line on the output side to the video interface 6 is connected to a power supply (+ 5V) via a pull-up resistor 16.

【0063】通常のマイクロコンピュータを用いたシス
テムでは、CPU4に用いられるシステムクロックSY
SCLKの周波数で動作しているが、カラープリンタ2
はそ画素クロックの周波数が機種によって異なるため、
機種が異なる複数のカラープリンタをプリンタ制御装置
3に接続可能にするには、非同期回路にしなければなら
ない。
In a system using a normal microcomputer, the system clock SY used in the CPU 4
It operates at the frequency of SCLK, but color printer 2
Since the pixel clock frequency varies depending on the model,
In order to connect a plurality of color printers of different models to the printer control device 3, an asynchronous circuit must be used.

【0064】この実施例の構成では、画像メモリから読
み出した画像データを、RGB出力用ラッチ13又はC
MYK出力用ラッチ14を介して、主走査方向に1ライ
ン以上蓄えられるFIFO形式のラインバッファ15に
システムクロックSYSCLKで一時的に蓄え、それを
読み出す際には、カラープリンタ2から送られてくる画
素クロックCLKに同期してラインバッファ15からビ
デオインタフェース6へ出力する。
In the configuration of this embodiment, the image data read from the image memory is converted into the RGB output latch 13 or C.
Via the MYK output latch 14, a FIFO format line buffer 15 that stores one or more lines in the main scanning direction is temporarily stored with a system clock SYSCLK, and when it is read out, pixels sent from the color printer 2 are read out. Output from the line buffer 15 to the video interface 6 in synchronization with the clock CLK.

【0065】さらに、マージン領域にはラインバッファ
15の出力コントロール端子REを用いて、各出力ライ
ンをハイインピーダンス状態にすることにより、プルア
ップ抵抗16に引かれてビデオインタフェース4への入
力は“H”になり、CMYKデータの場合にはカラープ
リンタ2内でさらに反転して印刷することにより、白デ
ータを印刷できる。
In the margin area, the output control terminal RE of the line buffer 15 is used to bring each output line into a high impedance state, so that the pull-up resistor 16 pulls the input to the video interface 4 to "H". In the case of CMYK data, white data can be printed by further inverting and printing in the color printer 2.

【0066】以上の動作により、プリンタ制御装置3
と、カラープリンタ2のプリンタエンジンとの間での非
同期転送が容易に行え、画素クロックの周波数が異なる
異機種のカラープリンタが接続可能になる。
With the above operation, the printer controller 3
Asynchronous transfer between the color printer 2 and the printer engine of the color printer 2 can be easily performed, and different types of color printers having different pixel clock frequencies can be connected.

【0067】次に、この発明の第3実施例(請求項3
対応する)のプリンタ制御装置について図7によって説
明する。図7に示すブロック構成図において、図1及び
図3,図5,図6と対応する部分には同一の符号を付し
てあり、それらの説明は省略する。
Next, a printer controller according to a third embodiment (corresponding to claim 3 ) of the present invention will be described with reference to FIG. In the block diagram shown in FIG. 7, parts corresponding to those in FIGS. 1 and 3, 5 and 6 are designated by the same reference numerals, and the description thereof will be omitted.

【0068】このプリンタ制御装置3は、図6に示した
第2実施例の構成における各画像メモリ5の出力データ
線とラインバッファ15の各出力データ線との間にスキ
ャナ用ラッチ18を、ラインバッファ15と並列にスキ
ャナ用バッファ19をそれぞれ設けると共に、ラインバ
ッファ15のクロックを選択するためのクロックセレク
タ20を設けている。
This printer control device 3 is shown in FIG.
The scanner latch 18 is provided between the output data line of each image memory 5 and each output data line of the line buffer 15 in the configuration of the second embodiment, and the scanner buffer 19 is provided in parallel with the line buffer 15 and the line is also provided. A clock selector 20 for selecting the clock of the buffer 15 is provided.

【0069】このプリンタ制御装置3で印刷制御動作を
行う際には、画像メモリ4からの画像データをRGB出
力用ラッチ13又はCMYK出力用ラッチ14を通して
ラインバッファ15に一時格納する。ただし、ラインバ
ッファ15に画像データを蓄える際のクロックには、ク
ロックセレクタ20で切り替えたシステムクロックSY
SCLKを用いる。このラインバッファ15から画像デ
ータを読み出す際には、カラープリンタ2からの画素ク
ロックCLKをクロックセレクタ20で切り替えて用
い、読み出した画像データをビデオインタフェース6を
通してカラープリンタ2へ出力して印刷させる。
When the printer control device 3 performs a print control operation, the image data from the image memory 4 is temporarily stored in the line buffer 15 through the RGB output latch 13 or the CMYK output latch 14. However, the system clock SY switched by the clock selector 20 is used as the clock when the image data is stored in the line buffer 15.
Use SCLK. When the image data is read from the line buffer 15, the pixel clock CLK from the color printer 2 is switched and used by the clock selector 20, and the read image data is output to the color printer 2 through the video interface 6 to be printed.

【0070】その際、マージン領域はプルアップ抵抗1
6により白データが作られ、それがビデオインタフェー
ス6を通してカラープリンタ2へ送られる。また、カラ
ープリンタ2が例えばスキャナ部とプリンタ部を備えた
カラー複写機であった場合などは、それをスキャナとし
ても利用できるため、スキャナとして使う場合には、カ
ラープリンタ(カラー複写機)2から取り込んだ画像デ
ータをビデオインタフェース6を通してスキャナ用バッ
ファ19に送り、それをラインバッファ15に一時格納
する。
At this time, the margin area has a pull-up resistor 1
White data is created by 6 and sent to the color printer 2 through the video interface 6. If the color printer 2 is, for example, a color copying machine having a scanner section and a printer section, it can also be used as a scanner. Therefore, when using it as a scanner, the color printer (color copying machine) 2 The captured image data is sent to the scanner buffer 19 through the video interface 6 and temporarily stored in the line buffer 15.

【0071】ただし、画像データをラインバッファ15
に蓄える際のクロックは、クロックセレクタ20で切り
替えた画素クロックCLKであり、このラインバッファ
15から画像データを読み出す際には、クロックセレク
タ20で切り替えたシステムクロックSYSCLKを使
用するが、一般的に画素クロックCLKよりシステムク
ロックSYSCLKの方が周波数が高いので、主走査方
向に1ライン蓄えてから読み出す。
However, the image data is transferred to the line buffer 15
The clock used when storing the image data is the pixel clock CLK switched by the clock selector 20, and when the image data is read from the line buffer 15, the system clock SYSCLK switched by the clock selector 20 is used. Since the system clock SYSCLK has a higher frequency than the clock CLK, one line is stored in the main scanning direction before reading.

【0072】ラインバッファ15から読み出された画像
データは、スキャナ用ラッチ18を通して画像メモリ5
に蓄えられる。その際には、マージン領域はプルアップ
抵抗16により作られる白データが書き込まれる。一般
的にスキャナで読み込んだデータは色変換処理をしなけ
ればRGBデータであるため、反転ラッチは必要でな
い。以上のような動作をすることにより、1つのプリン
タ制御装置により、プリンタ機能とスキャナ機能の2つ
の機能の制御を行える。
The image data read from the line buffer 15 is passed through the scanner latch 18 to the image memory 5
Stored in. At this time, white data created by the pull-up resistor 16 is written in the margin area. Generally, the data read by the scanner is RGB data unless color conversion processing is performed, and thus the inversion latch is not necessary. By performing the above operations, one printer control device can control two functions of the printer function and the scanner function.

【0073】次に、この発明の第4実施例(請求項4
対応する)のプリンタ制御装置について図8によって説
明する。図8に示すブロック構成図において、図1及び
図3,図5,図6,図7と対応する部分には同一の符号
を付してあり、それらの説明は省略する。
Next, a printer controller according to a fourth embodiment (corresponding to claim 4 ) of the present invention will be described with reference to FIG. In the block diagram shown in FIG. 8, portions corresponding to those in FIGS. 1 and 3, 5, 6, and 7 are designated by the same reference numerals, and the description thereof will be omitted.

【0074】このプリンタ制御装置3は、図7に示した
第3実施例の構成におけるビデオインタフェース6とカ
ラープリンタ2との間に、セレクタ21を介挿したもの
である。このセレクタ21は、カラープリンタ側から
いずれか1つのデータ線に入力される画像データを、ビ
デオインタフェース6の全てのデータ線に選択的に出力
できるようにする切替手段である。
This printer control device 3 is shown in FIG.
A selector 21 is inserted between the video interface 6 and the color printer 2 in the configuration of the third embodiment. The selector 21 is a switching unit that allows image data input from the color printer 2 side to any one data line to be selectively output to all the data lines of the video interface 6.

【0075】そして、CPU4がカラープリンタ(カラ
ー複写機)2の種別を検知することによりそのスキャナ
部の種別も判別し、その判別結果に応じてセレクトデー
タSELをセレクタ21に出力して、その状態を全ての
データ線の並列接続、あるいは1つのデータ線と全ての
データ線との選択接続に切り替える。
The CPU 4 also detects the type of the color printer (color copying machine) 2 to determine the type of the scanner section, and outputs the select data SEL to the selector 21 in accordance with the result of the determination, and the status thereof. the parallel connection of all <br/> data lines, or switched to a selective connection between one data line and all the data lines.

【0076】この実施例によれば、カラープリンタ2に
備えているスキャナ部が1色ずつしか画像を読み取れな
いものであった場合でも、そのカラー画像データを1つ
のデータ線から入力して、セレクタ21によってビデオ
インタフェース6の全てのデータ線に選択的に出力し、
前述の第3実施例の場合と同様に画像メモリ5に各色別
に格納することができる。
According to this embodiment, even when the scanner section provided in the color printer 2 can read an image only one color at a time, the color image data is input from one data line and the selector is selected. 21 selectively outputs to all the data lines of the video interface 6,
Similar to the case of the third embodiment described above, it can be stored for each color in the image memory 5.

【0077】次に、この発明の第5実施例(請求項5
対応する)のプリンタ制御装置について図9によって説
明する。図9に示すブロック構成図においても、図1及
び図3,図5,図6,図7と対応する部分には同一の符
号を付してあり、それらの説明は省略する。
Next, a printer controller according to a fifth embodiment (corresponding to claim 5 ) of the present invention will be described with reference to FIG. Also in the block configuration diagram shown in FIG. 9, the portions corresponding to those in FIGS. 1 and 3, FIG. 5, FIG. 6, and FIG. 7 are denoted by the same reference numerals, and the description thereof will be omitted.

【0078】このプリンタ制御装置3は、図7に示した
第3実施例の構成におけるラインバッファ15とビデオ
インタフェース6の間に、データセレクタ22と画像処
理部23を介挿したものである。
This printer controller 3 is shown in FIG.
A data selector 22 and an image processing unit 23 are inserted between the line buffer 15 and the video interface 6 in the configuration of the third embodiment.

【0079】スキャナ部を備えたカラープリンタ(カラ
ー複写機)2で読み込んだ画像データを、画像処理部2
で色変換処理してRGBデータからCMYKデータに
変換した画像データと、取り込んだままのRGBの画像
データとをデータセレクタ22で切り替えて送出できる
ように構成したので、その画像データをスキャナ用バッ
ファ19,ラインバッファ15,及びスキャナ用ラッチ
18を介して画像メモリ5に蓄えることにより、画像メ
モリ5にRGBの画像データでもCMYKの画像データ
でも格納できる。
The image data read by the color printer (color copying machine) 2 having the scanner unit is converted into the image processing unit 2.
Since the image data converted from the RGB data to the CMYK data by the color conversion process in 3 and the RGB image data as they are captured can be switched by the data selector 22 and sent out, the image data is buffered for the scanner. By storing in the image memory 5 via 19, the line buffer 15, and the scanner latch 18, either RGB image data or CMYK image data can be stored in the image memory 5.

【0080】[0080]

【発明の効果】以上説明してきたように、この発明によ
るプリンタ制御装置は、1つの共通のハードウエア構成
で独立した複数のデータ線を持ち、接続されているカラ
ープリンタへ色ごとの画像データを上記複数のデータ線
に並列転送およびその並列転送に使用する複数のデータ
線のうちのいずれか1つのデータ線に順次転送が可能な
ビデオインタフェースと、画像メモリに格納された任意
の色の画像データをそのビデオインタフェースの上記並
列転送に使用する複数のデータ線のうちの任意のデータ
線に選択的に送出可能な切替手段と、接続されているカ
ラープリンタが1ドラム機であるか4ドラム機であるか
の種別を検知し、その検知した種別と印刷する画像デー
タの色と上記ビデオインタフェース上の出力するデータ
線とを対応づける情報を上記切替手段に送って、該切替
手段を制御する制御手段とを備えており、その制御手段
が上記情報に応じて、検知した種別が1ドラム機であっ
た場合には、画像メモリに格納された全ての色の画像デ
ータをビデオインタフェース上の上記並列転送に使用す
る複数のデータ線のうちのいずれか1つのデータ線に順
次出力させ、検知した種別が4ドラム機であった場合に
は、画像メモリに格納された全ての色の画像データをビ
デオインタフェースの各データ線に同時に送出させるよ
うに上記切替手段を制御するので、コストを抑えなが
ら、1ドラム機と4ドラム機の両方のカラープリンタを
ハードウェアの変更なしに容易に接続可能になり、機能
の向上や処理時間の短縮も図ることができる。さらに、
請求項2乃至5のプリンタ制御装置によれば、次のよう
な効果を得ることができる。
As described above, the printer control apparatus according to the present invention has a plurality of independent data lines with one common hardware configuration, and transmits image data for each color to the connected color printer. Parallel transfer to the above multiple data lines and multiple data used for the parallel transfer
A video interface capable of sequentially transferring to any one of the data lines, and image data of an arbitrary color stored in the image memory is stored in the above-mentioned video interface.
Detecting switching means capable of selectively sending to any data line of a plurality of data lines used for column transfer, and type of connected color printer being one drum machine or four drum machine However, it is provided with a control means for sending information that associates the detected type, the color of the image data to be printed, and the data line to be output on the video interface to the switching means, and controls the switching means. According to the above information, if the detected type is one drum machine, the control means uses the image data of all colors stored in the image memory for the parallel transfer on the video interface .
If the detected type is a 4-drum machine, the image data of all colors stored in the image memory is output to each of the video interfaces. Since the switching means is controlled so as to send the data lines simultaneously, the color printers of both the one-drum machine and the four-drum machine can be easily connected without changing the hardware, and the function is improved while suppressing the cost. Also, the processing time can be shortened. further,
According to the printer control device of the second to fifth aspects, the following effects can be obtained.

【0081】[0081]

【0082】[0082]

【0083】[0083]

【0084】[0084]

【0085】[0085]

【0086】[0086]

【0087】請求項2のプリンタ制御装置によれば、ビ
デオインタフェースに出力する前に、一時FIFOメモ
リ構造のラインバッファに画像メモリの主走査方向の1
ライン分の画像データを蓄えることにより、プリンタ制
御装置とプリンタエンジン間の非同期転送が行えるよう
になり、1つのプリンタ制御装置で画素クロックの周波
数が違うプリンタエンジンに接続可能になり、機能が向
上する。
According to the printer control device of the second aspect , before outputting to the video interface, the line buffer of the temporary FIFO memory structure is provided with 1 in the main scanning direction of the image memory.
By storing the image data for one line, asynchronous transfer between the printer control device and the printer engine can be performed, and one printer control device can be connected to a printer engine with a different pixel clock frequency, thus improving the function. .

【0088】請求項3のプリンタ制御装置によれば、F
IFOメモリ構造のラインバッファへ入力する画像デー
タを、画像メモリからのデータとスキャナとして使うプ
リンタからの読み込み画像データのいずれかに切り替え
ることができるので、カラー複写機のようにスキャナ部
を備えたカラープリンタ装置をスキャナとしても利用す
ることができる。
According to the printer controller of claim 3 , F
Since the image data input to the line buffer of the IFO memory structure can be switched to either the data from the image memory or the image data read from the printer used as the scanner, color data with a scanner unit like a color copying machine can be used. The printer device can also be used as a scanner.

【0089】請求項4のプリンタ制御装置によればさら
に、カラープリンタに備えているスキャナ部が1色ずつ
しか画像を読み取れないものであっても、そのカラー画
像データを上記並列転送に使用する複数のデータ線のう
ちのいずれか1つの色のデータ線から入力して、セレク
タによってビデオインタフェースの上記複数の全ての色
のデータ線に選択的に出力し、画像メモリ5に各色別に
格納させることができる。
According to the printer control device of the fourth aspect, even if the scanner unit provided in the color printer can read the image only one color at a time , the plural color image data are used for the parallel transfer. Data line
It is possible to input from any one of the color data lines, selectively output to the data lines of all the plurality of colors of the video interface by the selector, and store in the image memory 5 for each color.

【0090】請求項5のプリンタ制御装置によれば、ス
キャナとして使うプリンタからの読み込み画像データに
RGBからCMYKに色変換する画像処理を施すことに
より、取り込んだカラー画像データをRGBだけでなく
CMYKでも画像メモリに蓄えられるようになる。
According to the printer control device of the fifth aspect, the image data read from the printer used as the scanner is subjected to image processing for color conversion from RGB to CMYK, so that the captured color image data is converted into CMYK as well as RGB. It can be stored in the image memory.

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

【図1】この発明の第1実施例を示すプリンタ制御装置
のブロック構成図である。
FIG. 1 is a block configuration diagram of a printer control device showing a first embodiment of the present invention.

【図2】図1のプリンタ制御装置による動作の流れを示
すフローチャートである。
FIG. 2 is a flowchart showing a flow of operations performed by the printer control device of FIG.

【図3】この発明の応用例1のプリンタ制御装置のブロ
ック構成図である。
FIG. 3 is a block diagram of a printer control device according to an application example 1 of the invention.

【図4】印刷する紙とそのマージン領域の関係を示す説
明図である。
FIG. 4 is an explanatory diagram showing the relationship between the paper to be printed and its margin area.

【図5】この発明の応用例2のプリンタ制御装置のブロ
ック構成図である。
FIG. 5 is a block diagram of a printer control device according to an application example 2 of the invention.

【図6】この発明の第2実施例を示すプリンタ制御装置
のブロック構成図である。
FIG. 6 is a block configuration diagram of a printer control device showing a second embodiment of the present invention.

【図7】この発明の第3実施例を示すプリンタ制御装置
のブロック構成図である。
FIG. 7 is a block configuration diagram of a printer control device showing a third embodiment of the present invention.

【図8】この発明の第4実施例を示すプリンタ制御装置
のブロック構成図である。
FIG. 8 is a block configuration diagram of a printer control device showing a fourth embodiment of the present invention.

【図9】この発明の第5実施例を示すプリンタ制御装置
のブロック構成図である。
FIG. 9 is a block configuration diagram of a printer control device showing a fifth embodiment of the present invention.

【図10】従来のプリンタ制御装置に用いられる画像処
理装置の一例を示すブロック構成図である。
FIG. 10 is a block diagram showing an example of an image processing apparatus used in a conventional printer control apparatus.

【図11】従来のプリンタ制御装置に用いられる画像処
理装置の他の例を示すブロック構成図である。
FIG. 11 is a block configuration diagram showing another example of an image processing apparatus used in a conventional printer control apparatus.

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

1:ホストコンピュータ 2:カラープリンタ 3:プリンタ制御装置 4:CPU(処理装置) 5:画像メモリ 6:ビデオインタフェース 7:セレクタ(切替手段) 8:アドレス制御部 9:RGB出力用バッファ(第1の出力制御手段) 10:CMYK出力用バッファ(第2の出力制御手段) 11,16:プルアップ抵抗 12:ワークメモリ 13:RGB出力用ラッチ 14:CMYK出力用ラッチ 15:ラインバッファ(FIFOメモリ) 18:スキャナ用ラッチ 19:スキャナ用バッファ 20:クロックセレクタ 21:セレクタ(切替手
段) 22:データセレクタ 23:画像処理部
1: Host computer 2: Color printer 3: Printer control device 4: CPU (processing device) 5: Image memory 6: Video interface 7: Selector (switching means) 8: Address control unit 9: RGB output buffer (first Output control means) 10: CMYK output buffer (second output control means) 11, 16: Pull-up resistors 12: Work memory 13: RGB output latch 14: CMYK output latch 15: Line buffer (FIFO memory) 18 : Scanner Latch 19: Scanner Buffer 20: Clock Selector 21: Selector (Switching Means) 22: Data Selector 23: Image Processing Unit

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) B41J 29/00 B41J 5/30 B41J 2/525 G06F 3/12 G06T 1/60 Front page continuation (58) Fields surveyed (Int.Cl. 7 , DB name) B41J 29/00 B41J 5/30 B41J 2/525 G06F 3/12 G06T 1/60

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 少なくとも1ページ分の画像データを色
ごとに蓄えておく画像メモリと、 ホストコンピュータから送出される画像データを受け取
って色ごとに印刷するイメージ画像に展開して上記画像
メモリに格納する手段と、 1つの共通のハードウエア構成で独立した複数のデータ
線を持ち、接続されているカラープリンタへ色ごとの画
像データを上記複数のデータ線に並列転送および該並列
転送に使用する複数のデータ線のうちのいずれか1つの
データ線に順次転送が可能なビデオインタフェースと、 上記画像メモリとビデオインタフェースとの間に介挿さ
れ、上記画像メモリに格納された任意の色の画像データ
を上記ビデオインタフェースの上記並列転送に使用する
複数のデータ線のうちの任意のデータ線に選択的に送出
可能な切替手段と、 上記接続されているカラープリンタが1ドラム機である
か4ドラム機であるかの種別を検知し、その検知した種
別と印刷する画像データの色と上記ビデオインタフェー
ス上の出力するデータ線とを対応づける情報を上記切替
手段に送って、該切替手段を制御する制御手段とを備
え、 該制御手段は上記情報に応じて、上記検知した種別が1
ドラム機であった場合には、上記画像メモリに格納され
た全ての色の画像データを上記ビデオインタフェース上
上記並列転送に使用する複数のデータ線のうちのいず
れか1つのデータ線に順次出力させ、上記検知した種別
が4ドラム機であった場合には、上記画像メモリに格納
された全ての色の画像データを上記ビデオインタフェー
スの上記複数の各データ線に同時に送出させるように上
記切替手段を制御することを特徴とするプリンタ制御装
置。
1. An image memory for storing at least one page of image data for each color, and an image memory for receiving image data sent from a host computer and printing it for each color, and storing it in the image memory. means and has a plurality of data lines independent with one common hardware configuration, parallel transfer and said parallel image data for each color to the plurality of data lines to a color printer that is connected to
Any one of a video interface that can be sequentially transferred to any one of a plurality of data lines used for transfer and an image memory that is inserted between the image memory and the video interface and stored in the image memory. Use color image data for the parallel transfer of the video interface
Switching means capable of selectively transmitting to any data line of a plurality of data lines and the type of whether the connected color printer is a one-drum machine or a four-drum machine are detected, and the detection is performed. And a control means for controlling the switching means by sending information to the switching means for associating the selected type with the color of the image data to be printed and the data line to be output on the video interface. According to the above, the detected type is 1
In the case of a drum machine, any one of a plurality of data lines used for the parallel transfer of the image data of all colors stored in the image memory on the video interface.
Re or is sequentially output to one data line, the if the detected type is a four-drum machine, the plurality of data lines of all colors the video interface image data stored in the image memory A printer control device, characterized in that the switching means is controlled so that they are simultaneously sent to the printer.
【請求項2】 請求項1記載のプリンタ制御装置におい
て、 上記画像メモリとビデオインタフェースとの間に介挿さ
れ、上記画像メモリに格納された画像データの色ごとに
独立した1ラインあるいは複数のラインを一時的に記憶
できるFIFOメモリを設けたことを特徴とするプリン
タ制御装置。
2. The printer control device according to claim 1, wherein one line or a plurality of lines are provided between the image memory and the video interface and are independent for each color of the image data stored in the image memory. A printer control device comprising a FIFO memory capable of temporarily storing the data.
【請求項3】 請求項1記載のプリンタ制御装置であっ
て、 接続されているカラープリンタがスキャナ部を備えてい
る場合、該スキャナ部で読み込んだカラー画像データを
上記ビデオインタフェースを介して入力し、上記画像メ
モリに転送して色ごとに格納させる手段を設けたことを
特徴とするプリンタ制御装置。
3. The printer control device according to claim 1, wherein when the connected color printer has a scanner unit, the color image data read by the scanner unit is input via the video interface. A printer control device comprising means for transferring to the image memory and storing each color.
【請求項4】 請求項3記載のプリンタ制御装置におい
て、 上記ビデオインタフェースとカラープリンタとの間に、
該カラープリンタ側から上記並列転送に使用する複数の
データ線のうちのいずれか1つのデータ線に入力される
画像データを上記ビデオインタフェースの上記複数の
てのデータ線に選択的に出力できる切替手段を設けたこ
とを特徴とするプリンタ制御装置。
4. The printer control device according to claim 3, wherein between the video interface and the color printer,
From the color printer side, a plurality of
It is characterized in that a switching means is provided which can selectively output image data input to any one of the data lines to all of the plurality of data lines of the video interface. Printer control device.
【請求項5】 請求項3記載のプリンタ制御装置におい
て、 接続されているカラープリンタのスキャナ部で読み込ん
だRGBのカラー画像データを上記ビデオインタフェー
スを介して入力した際、それをCMYKのカラー画像デ
ータに変換する手段と、該手段によって変換したCMY
Kのカラー画像データと変換しないRGBのカラー画像
データのいずれかを選択して上記画像メモリに転送する
手段とを設けたことを特徴とするプリンタ制御装置。
5. The printer control device according to claim 3, wherein when RGB color image data read by a scanner unit of a connected color printer is input via the video interface, the color image data is CMYK color image data. And a CMY converted by the means
A printer control device comprising means for selecting either K color image data or RGB color image data that is not converted and transferring the selected color image data to the image memory.
JP20334293A 1993-08-17 1993-08-17 Printer control device Expired - Fee Related JP3440117B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20334293A JP3440117B2 (en) 1993-08-17 1993-08-17 Printer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20334293A JP3440117B2 (en) 1993-08-17 1993-08-17 Printer control device

Publications (2)

Publication Number Publication Date
JPH0752472A JPH0752472A (en) 1995-02-28
JP3440117B2 true JP3440117B2 (en) 2003-08-25

Family

ID=16472440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20334293A Expired - Fee Related JP3440117B2 (en) 1993-08-17 1993-08-17 Printer control device

Country Status (1)

Country Link
JP (1) JP3440117B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07254991A (en) * 1994-03-15 1995-10-03 Canon Inc System, device and method for processing color image
US6731403B1 (en) 1994-03-15 2004-05-04 Canon Kabushiki Kaisha Color image process system, color image apparatus, color image processing method
JP2001022542A (en) * 1999-07-09 2001-01-26 Seiko Epson Corp Data controller, printer, and print system

Also Published As

Publication number Publication date
JPH0752472A (en) 1995-02-28

Similar Documents

Publication Publication Date Title
JPH07254060A (en) Image processing method and device
EP0702480B1 (en) Image processing apparatus and method therefor
JPH07117284A (en) Image processor and method thereof
EP0411921A2 (en) Image processing apparatus
US6271926B1 (en) Printing system with print job programming capability
JP3342271B2 (en) Image processing method and apparatus
JP3440117B2 (en) Printer control device
JPH05342314A (en) Picture processor
EP1241868A1 (en) Image processing apparatus
JP3554237B2 (en) Image processing apparatus and method
JPH07135575A (en) Color picture information output device
US5935250A (en) Data process apparatus and method
JP3695498B2 (en) Image processing device
JPH06284282A (en) Image forming device
JPH08123939A (en) Picture processor
JP2644212B2 (en) Color image processing equipment
JP2984418B2 (en) Color image processing system
JP2000263873A (en) Printing method and apparatus and memory medium
JP3584247B2 (en) Print control device and control method
JP3257902B2 (en) Printing apparatus and data transfer control method for printing apparatus
JP3226600B2 (en) Image processing device
JPH08317236A (en) Method and device for picture processing
JP2613590B2 (en) Color image forming equipment
JP3489881B2 (en) Facsimile machine
JP2003348338A (en) Information processing apparatus

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080613

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100613

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees