JPH08142418A - Control device for printer - Google Patents

Control device for printer

Info

Publication number
JPH08142418A
JPH08142418A JP6288324A JP28832494A JPH08142418A JP H08142418 A JPH08142418 A JP H08142418A JP 6288324 A JP6288324 A JP 6288324A JP 28832494 A JP28832494 A JP 28832494A JP H08142418 A JPH08142418 A JP H08142418A
Authority
JP
Japan
Prior art keywords
image information
printer
information
page
compressed
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
JP6288324A
Other languages
Japanese (ja)
Inventor
Shinji Wakizaka
新路 脇坂
Shigehiko Kasai
成彦 笠井
Hiroko Sato
裕子 佐藤
Hiroyuki Koizumi
洋之 小泉
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6288324A priority Critical patent/JPH08142418A/en
Publication of JPH08142418A publication Critical patent/JPH08142418A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE: To provide a control device for a printer suitable for the cost reduction due to the reduction of memory capacity and the enhancement of the capacity of the printer. CONSTITUTION: Printing data is divided into a plurality of proper subsets corresponding to a plurality of regions wherein one page is divided by a microcomputer 307. The printing image contained in the proper subsets is developed as image data by the microcomputer 307 and an OFP 308 and the image data is stored in a memory 305. The stored image data is encoded to be compressed by the microcomputer 307 and the compressed image data is stored in the memory 305. Development, compression and memory are performed with respect to all of the proper subsets by the microcomputer 307. The stored compressed image data is expanded by the microcomputer 307 and the expanded image data is sent to a printer engine I/F 303 and a character or figure corresponding to one page is printed by a printing part 311.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、少なくとも、文字や図
形の形状を規定するためのコード化された情報を印刷情
報として入力し、入力された印刷情報を解釈し、解釈さ
れた印刷情報を文字や図形の形状をドットデータで表し
た画像情報に展開して、該画像情報に基づいて文字や図
形を印刷するためのプリンタ制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention inputs at least coded information for defining the shapes of characters and figures as print information, interprets the input print information, and interprets the interpreted print information. The present invention relates to a printer control device for developing the shape of a character or graphic into image information represented by dot data and printing the character or graphic based on the image information.

【0002】[0002]

【従来の技術】複数のサイズの文字や、回転、斜体等の
文字を出力する方法として、文字の輪郭情報で構成され
たアウトラインフォントデータをドットフォントデータ
に変換する文字発生装置がある。また、この文字発生装
置を搭載して、ホストコンピュータから送られてきた印
刷情報に従って、文字や図形を発生して、文字や図形を
印刷するためのプリンタ制御装置がある。
2. Description of the Related Art As a method for outputting characters of a plurality of sizes and characters such as rotation and italics, there is a character generator for converting outline font data composed of character outline information into dot font data. Further, there is a printer control device which is equipped with this character generating device and generates a character or a graphic according to the print information sent from the host computer to print the character or the graphic.

【0003】図8は、本出願人が先に出願した特願平2
−19052号公報、「文字発生装置」に記載した上記
アウトラインフォントデータをドットフォントデータに
変換する一連の処理を行う文字発生用LSI、アウトラ
インフォントプロセッサ(OFP)805 を用いたプリン
タ制御装置のシステム構成例である。
FIG. 8 shows a Japanese Patent Application No. 2 filed by the applicant earlier.
-19052 publication, "Character generator" Character generator LSI for performing a series of processes for converting the above outline font data into dot font data, and system configuration of printer controller using outline font processor (OFP) 805 Here is an example.

【0004】アドレスバス、データバス、コントロール
バスを含んだシステムバス800 には、ホストCPU801
、システムメモリ802 、アウトラインフォントメモリ8
03 、DMAC804 、OFP805 、ページメモリコント
ローラ806 、ページメモリ807 、及びプリンタ、CRT
システム808 が接続されている。このうち、システムバ
ス800 には、ホストCPU801 、システムメモリ802 、
アウトラインフォントメモリ803 、 DMAC804 、O
FP805 、ページメモリコントローラ806 、ページメモ
リ807 、でプリンタ制御装置、表示制御装置を構成して
いる。ここで、ホストCPU 801 及びOFP805 は、
図示せぬホストコンピュータから送られてきた印刷情報
に従って、文字や図形の画像情報を発生して、該画像情
報を、ページメモリコントローラ806 を介して、ページ
メモリ807 に書き込み、書き込まれた画像情報に基づい
て、プリンタ、CRTシステム808 に文字や図形を印
刷、表示する。ここでは、プリンタ制御装置について説
明を続けるが、表示制御装置においても同様なことがい
える。
A system bus 800 including an address bus, a data bus and a control bus includes a host CPU 801.
, System memory 802, outline font memory 8
03, DMAC804, OFP805, page memory controller 806, page memory 807, printer, CRT
System 808 is connected. Of these, the system bus 800 includes a host CPU 801, a system memory 802,
Outline font memory 803, DMAC804, O
The FP 805, page memory controller 806, and page memory 807 constitute a printer control device and a display control device. Here, the host CPU 801 and OFP 805 are
According to print information sent from a host computer (not shown), image information of characters and figures is generated, the image information is written to the page memory 807 via the page memory controller 806, and the written image information is written. Based on this, the printer and CRT system 808 print and display characters and figures. Here, the description of the printer control device is continued, but the same can be said for the display control device.

【0005】この従来のプリンタ制御装置では、図7に
示すような処理を行う。初めに、ホストCPU801 は、
ホストコンピュータから送られてきた印刷情報、例え
ば、ページ記述言語(PDL)を受け取り、一ページに
書く内容を解釈する(処理700)。次に、ホストCPU8
01 及び専用プロセッサOFP805 は、一ページ分の文
字、図形をドットデータである画像情報に変換し、変換
された画像情報をページメモリ807 に書き込む(処理70
1 )。最後に、ページメモリ807 に書き込まれた画像情
報を順に読みだし図示せぬプリンタエンジンに出力する
(処理702 )。プリンタエンジンに出力された画像情報
は、プリンタにより印刷される。
In this conventional printer control device, processing as shown in FIG. 7 is performed. First, the host CPU 801
The print information sent from the host computer, for example, the page description language (PDL) is received, and the content to be written on one page is interpreted (process 700). Next, the host CPU8
01 and the dedicated processor OFP805 convert a page of characters and figures into image information which is dot data, and write the converted image information into the page memory 807 (process 70).
1). Finally, the image information written in the page memory 807 is sequentially read and output to a printer engine (not shown) (process 702). The image information output to the printer engine is printed by the printer.

【0006】[0006]

【発明が解決しようとする課題】上記従来のプリンタ制
御装置においては、ページメモリは、一ページ分の画像
情報が書き込めるだけのメモリ容量が必要となる。例え
ば、プリンタの解像度が400dpi(dot/inc
h)の場合、A4サイズでは、2Mバイトのメモリ容量
が必要になる。また、プリンタの解像度が600dpi
の場合、A4サイズでは、3Mバイトのメモリ容量が必
要になり、A3サイズでは、6Mバイトのメモリ容量が
必要になる。さらに、プリンタの高解像度化、カラー化
を実現するためには、膨大なメモリ容量が必要となる。
In the above conventional printer control device, the page memory needs to have a memory capacity enough to write image information for one page. For example, if the resolution of the printer is 400 dpi (dot / inc)
In the case of h), the A4 size requires a memory capacity of 2 Mbytes. Also, the printer resolution is 600 dpi.
In this case, the A4 size requires a memory capacity of 3 Mbytes, and the A3 size requires a memory capacity of 6 Mbytes. Furthermore, in order to realize high resolution and colorization of the printer, a huge memory capacity is required.

【0007】本発明は、文字や図形の形状および位置に
関するコード化された情報を含む印刷情報を入力し、入
力された前記印刷情報を、前記文字や図形の形状および
位置を示すドットデータである画像情報に展開し、展開
された画像情報に基づいて前記文字や図形を印刷するプ
リンタにおけるプリンタ制御装置において、メモリの容
量を減少させて、システムの低コスト化を図ることを目
的とする。
According to the present invention, print information including coded information relating to shapes and positions of characters and figures is input, and the inputted print information is dot data indicating the shapes and positions of the characters and figures. An object of the present invention is to reduce the capacity of a memory in a printer control device in a printer that develops into image information and prints the characters and figures based on the developed image information, thereby reducing the cost of the system.

【0008】また、本発明は、このようなプリンタ制御
装置において、印刷情報を画像情報に高速に展開し、プ
リンタの待ち時間を減少させることを目的とする。
Another object of the present invention is to develop print information into image information at high speed in such a printer control device to reduce the waiting time of the printer.

【0009】さらに、多階調画像である文字や図形の印
刷の際にも、メモリの容量を減少させて、システムの低
コスト化を図ることを目的とする。
Furthermore, it is another object of the present invention to reduce the capacity of the memory and reduce the cost of the system when printing characters and figures which are multi-tone images.

【0010】さらに、複数のプリンタを接続したプリン
タネットワークシステムにおいて、後述する画像情報の
圧縮符号化処理、後述する伸長復号化処理及び印刷処理
の並列化を行い、高速印刷を実現することを目的とす
る。
Further, in a printer network system in which a plurality of printers are connected, it is an object to realize high speed printing by performing compression encoding processing of image information described later, decompression decoding processing described later and printing processing in parallel. To do.

【0011】[0011]

【課題を解決するための手段】上記課題を解決するため
に、本発明によるプリンタ制御装置は、一ページに印刷
する文字や図形の形状および位置を指定するコード化さ
れた情報を含む印刷情報を入力し、入力された前記印刷
情報を、一ページに印刷する画像を表わすドットデータ
である画像情報に展開し、展開された画像情報に基づい
て前記文字や図形を印刷するプリンタにおけるプリンタ
制御装置であって、前記印刷情報を、それぞれが前記一
ページを分割した複数の領域の各々に対応する、前記印
刷情報の複数の真部分集合に分割する分割手段と、該分
割手段により分割された真部分集合に含まれる前記印刷
情報を、前記画像情報に展開する展開手段と、該展開手
段により展開された画像情報を保持する保持手段と、該
保持手段に保持された画像情報を、符号化して、前記画
像情報の情報量を圧縮する圧縮手段と、該圧縮手段によ
り圧縮された画像情報を記憶する記憶手段と、前記分割
手段により分割されたすべての真部分集合について、前
記展開手段による展開、前記圧縮手段による圧縮、およ
び、前記記憶手段による記憶を行わせる制御手段と、該
制御手段の制御により、前記記憶手段に記憶された圧縮
された一ページ分の画像情報を順次伸長する伸長手段と
を備え、前記プリンタは、前記伸長手段により伸長され
た画像情報に基づいて前記一ページを印刷する。
In order to solve the above problems, the printer control apparatus according to the present invention provides print information including coded information for designating the shapes and positions of characters and figures to be printed on one page. A printer control device in a printer that inputs and develops the input print information into image information that is dot data representing an image to be printed on one page, and prints the characters and figures based on the developed image information. And a dividing unit that divides the print information into a plurality of true subsets of the print information, each of which corresponds to each of a plurality of areas obtained by dividing the one page, and a true portion divided by the dividing unit. Expanding means for expanding the print information contained in the set into the image information, holding means for holding the image information expanded by the expanding means, and holding means for holding the image information. Compressing means for encoding the image information to compress the information amount of the image information, storing means for storing the image information compressed by the compressing means, and all true subsets divided by the dividing means With respect to, the control means for performing the expansion by the expansion means, the compression by the compression means, and the storage by the storage means, and the compressed image for one page stored in the storage means by the control of the control means. The printer prints the one page based on the image information expanded by the expansion unit.

【0012】[0012]

【作用】一ページに印刷する文字や図形の形状および位
置を指定するコード化された情報を含む印刷情報を入力
し、入力された前記印刷情報を、一ページに印刷する画
像を表わすドットデータである画像情報に展開し、展開
された画像情報に基づいて前記文字や図形を印刷するプ
リンタにおけるプリンタ制御装置において、前記印刷情
報を、それぞれが前記一ページを分割した複数の領域の
各々に対応する、前記印刷情報の複数の真部分集合に分
割し、分割された真部分集合に含まれる前記印刷情報
を、前記画像情報に展開し、展開された画像情報を保持
し、保持された画像情報を、符号化して、前記画像情報
の情報量を圧縮し、圧縮された画像情報を記憶し、分割
されたすべての真部分集合について、展開、圧縮、およ
び、記憶を行い、記憶された圧縮された一ページ分の画
像情報を順次伸長し、前記プリンタは、伸長された画像
情報に基づいて前記一ページを印刷する。
The print information including coded information for designating the shapes and positions of characters and figures to be printed on one page is input, and the input print information is converted into dot data representing an image to be printed on one page. In a printer control device in a printer that develops into certain image information and prints the characters or figures based on the developed image information, the print information corresponds to each of a plurality of areas obtained by dividing the one page. , The print information is divided into a plurality of true subsets of the print information, the print information included in the divided true subset is expanded to the image information, the expanded image information is held, and the held image information is displayed. , Encoding, compressing the information amount of the image information, storing the compressed image information, decompressing, compressing, and storing all the divided true subsets. Is compressed one page of image information of the sequentially extension of, said printer prints the one page based on decompressed image data.

【0013】これにより、メモリの容量を減少させて、
システムの低コスト化を図ることができる。
This reduces the memory capacity,
The cost of the system can be reduced.

【0014】また、前記真部分集合のうちの二つ以上
に、同一文字に関する印刷情報が含まれないように、前
記印刷情報を分割する。
Further, the print information is divided so that two or more of the true subsets do not include print information regarding the same character.

【0015】これにより、印刷情報を画像情報に高速に
展開することができる。
As a result, the print information can be expanded into image information at high speed.

【0016】さらに、前記複数の真部分集合が共通部分
を有しないように、前記印刷情報を分割する。
Further, the print information is divided so that the plurality of true subsets have no common part.

【0017】これにより、印刷情報を画像情報に高速に
展開することができる。
Thus, the print information can be expanded into the image information at high speed.

【0018】さらに、前記印刷情報として、前記文字や
図形の形状および位置に加え、前記文字や図形の印刷す
る階調を指定するコード化された情報を入力する。
Further, as the print information, in addition to the shapes and positions of the characters and figures, coded information designating the gradation to print the characters and figures is input.

【0019】これにより、多階調画像である文字や図形
の印刷の際にも、メモリの容量を減少させて、システム
の低コスト化を図ることができる。
As a result, the capacity of the memory can be reduced and the cost of the system can be reduced even when printing characters and graphics that are multi-gradation images.

【0020】さらに、制御により、前記記憶手段に記憶
された圧縮された画像情報を送信することもできる。
Further, by control, the compressed image information stored in the storage means can be transmitted.

【0021】さらに、圧縮された画像情報である圧縮画
像情報を受信し、受信された圧縮画像情報をも記憶し、
記憶された、圧縮画像情報をも伸長するができる。
Further, the compressed image information which is the compressed image information is received, and the received compressed image information is also stored,
The stored compressed image information can also be decompressed.

【0022】さらに、複数のプリンタをネットワーク上
に接続したプリンタネットワークシステムにおいて、第
1のプリンタ、第2のプリンタを含み、第1のプリンタ
により圧縮された画像情報を圧縮画像情報として、第2
のプリンタへ出力し、第2のプリンタは、第1のプリン
タにより出力された圧縮画像情報を入力し、該圧縮画像
情報を記憶し、記憶された圧縮画像情報を伸長し、伸長
された画像情報に基づいて文字や図形を印刷する。
Further, in a printer network system in which a plurality of printers are connected on a network, the second printer includes a first printer and a second printer, and the image information compressed by the first printer is used as compressed image information.
To the printer, the second printer inputs the compressed image information output by the first printer, stores the compressed image information, decompresses the stored compressed image information, and decompresses the decompressed image information. Print characters and figures based on.

【0023】これにより、複数のプリンタを接続したプ
リンタネットワークシステムにおいて、画像情報の圧縮
符号化処理、伸長復号化処理及び印刷処理の並列化を行
い、高速印刷を実現することができる。
Thus, in a printer network system in which a plurality of printers are connected, compression encoding processing, decompression decoding processing, and printing processing of image information can be performed in parallel, and high speed printing can be realized.

【0024】[0024]

【実施例】以下、本発明の実施例を詳細に説明する。EXAMPLES Examples of the present invention will be described in detail below.

【0025】図9に、パーソナルコンピュータ(PC)
と複数のプリンタが一つのネットワーク上に接続された
システムの構成図を示す。PC901 は、一ページ分の印
刷情報やイメージデータ等を、プリンタインターフェイ
ス904 を介して、プリンタ902 ,903 に転送する。印刷
情報は、文字や図形の形状を規定するための座標値等の
情報であり、例えば、ポストスクリプト等のページ記述
言語(PDL)により記述される。また、イメージデー
タとは、自然画等を示すドットデータである。904 は、
例えば、双方向パラレルインターフェイス、IEEE
P1284等である。また、プリンタ902,903 からは、
自己の属性を示すプリンタ情報が、PC901 へ転送され
る(データ905 )。プリンタ902 内部にあるプリンタ制
御装置は、PC901 から送られてきたPDLを解釈し
て、一ページ分の文字、図形等をドットデータである画
像情報に展開して、該画像情報に基づいて一ページ分の
文字、図形等を印刷する。また、PC901 から送られて
きたイメージデータを、切り貼りするBit BLT処
理等の画像処理を行なって、該画像処理を行なわれたイ
メージデータである画像情報に基づいて、自然画等を印
刷する。
FIG. 9 shows a personal computer (PC).
And a configuration diagram of a system in which a plurality of printers are connected to one network. The PC 901 transfers print information, image data, and the like for one page to the printers 902 and 903 via the printer interface 904. The print information is information such as coordinate values for defining the shapes of characters and figures, and is described in, for example, a page description language (PDL) such as Postscript. The image data is dot data indicating a natural image or the like. 904 is
For example, bidirectional parallel interface, IEEE
P1284 and the like. Also, from the printers 902 and 903,
Printer information indicating its own attributes is transferred to the PC 901 (data 905). The printer control device inside the printer 902 interprets the PDL sent from the PC 901, develops one page of characters, figures, etc. into image information which is dot data, and based on the image information, one page. Print minute characters, figures, etc. The image data sent from the PC 901 is subjected to image processing such as Bit BLT processing for cutting and pasting, and a natural image or the like is printed based on the image information which is the image data subjected to the image processing.

【0026】図3に、本発明を適用したプリンタに関す
るブロック図を示す。なお、本装置における各モジュー
ルは、これに限定する必要はなく、2つ以上のモジュー
ルを、マイクロコンピュータ周辺機器としてLSI化し
て単体素子にしてもよい。300 は、CPUであり、ホス
トコンピュータから送られてくる印刷情報、例えば、ペ
ージ記述言語(PDL)を解釈して、後述する画像処理
部306 に文字、図形等を発生する処理をさせる。301
は、システムメモリであり、プリンタ制御に関するシス
テムプログラムが格納されている。302 は、フォントメ
モリであり、各種類の文字の輪郭線の形状であるアウト
ラインフォントデータが格納されている。303 は、プリ
ンタエンジンインタフェースであり、印刷対象である画
像情報がこのインタフェースを介して、プリンタエンジ
ンに転送される。304 は、アドレスバス、データバス、
コントロールバスから成るシステムバスである。305
は、画像情報を圧縮して格納しておくメモリである。30
6 は、アウトラインフォントデータをドットデータに変
換する文字発生処理と、直線や円等の図形の描画や塗り
潰しを行う描画処理と、イメージデータの中間色を表現
するための階調処理等を行うイメージ処理と、を行う画
像処理部である。ここで、文字発生処理により変換され
たドットデータ、描画処理により発生されたデータ、イ
メージ処理により発生されたデータを、まとめて画像情
報と称する。画像処理部306 は、画像情報を圧縮する処
理及び伸長する処理をも行う。ここで、画像処理部306
は、ユーザが自由に使用することができるプログラムを
格納するためのユーザメモリを持つマイクロコンピュー
タ307 と、専用ロジックであるアウトラインフォントプ
ロセッサ(OFP)308 とで構成されている。マイクロ
コンピュータ307 にユーザメモリを持たせるのは、アウ
トラインフォントが持っている様々な補正情報に対応す
るための様々なプログラムをユーザメモリに格納し、こ
の格納されたプログラムに基づいて、マイクロコンピュ
ータ307 を動作させるためである。また、データの圧縮
及び伸長処理に対しても、ユーザにより選択されたプロ
グラムをユーザメモリに格納し、この格納されたプログ
ラムに基づいて、マイクロコンピュータ307 を動作させ
るためである。ところで、アウトラインフォントのデー
タ構造は、各種各様である。特に、文字を美しく見せる
ためのヒンティング処理が様々である。そこで、ヒンテ
ィング処理を含むアウトラインフォント展開処理の前半
である座標変換処理に関しては、マイクロコンピュータ
307 で行い、アウトラインフォント展開処理の後半であ
るラスター変換処理に関しては、専用ロジックであるO
FP308 で行う。また、直線や円やを描画したり塗り潰
しを行う描画処理に関しても、専用ロジックであるOF
P308 で行う。さらに、データの圧縮及び伸長処理に関
しては、1つの面に対して水平方向の0,1の個数に基
づいてデータを符号化するランレングス符号化や、1つ
の面に対して深さ方向の0,1の個数に基づいてデータ
を符号化するビットプレーン符号化に対応するために、
マイクロコンピュータ307 で行う。309 は、あらかじめ
圧縮符号化された二値画像あるいはカラー静止画のイメ
ージデータを一旦格納したり、その他のデータ処理を行
うためのワークメモリである。また、ワークメモリ309
は、ホストCPU(中央処理装置)から転送されてきた
一ページ分のPDLを、CPU300 の制御により格納す
る。図3において、バスの構成を変えて、圧縮した画像
情報を書き込むためのメモリと、圧縮した画像情報を復
号化のために読み出すためのメモリの二面のメモリを用
いて、圧縮した画像情報の書き込み処理と、圧縮した画
像情報の復号化のための読み出し処理とを並列に行っ
て、処理の高速化を図ってもよい。
FIG. 3 shows a block diagram of a printer to which the present invention is applied. It should be noted that each module in the present device is not limited to this, and two or more modules may be integrated into a single element by being integrated into an LSI as a microcomputer peripheral device. Reference numeral 300 denotes a CPU, which interprets print information sent from the host computer, for example, page description language (PDL), and causes an image processing unit 306, which will be described later, to perform processing for generating characters, figures, and the like. 301
Is a system memory in which a system program relating to printer control is stored. A font memory 302 stores outline font data that is the shape of the outline of each type of character. Reference numeral 303 denotes a printer engine interface, and image information to be printed is transferred to the printer engine via this interface. 304 is an address bus, a data bus,
A system bus consisting of a control bus. 305
Is a memory for compressing and storing image information. 30
6 is character generation processing that converts outline font data to dot data, drawing processing that draws and fills shapes such as straight lines and circles, and image processing that performs gradation processing to express the intermediate colors of image data. And an image processing unit that performs Here, the dot data converted by the character generation processing, the data generated by the drawing processing, and the data generated by the image processing are collectively referred to as image information. The image processing unit 306 also performs a process of compressing and decompressing image information. Here, the image processing unit 306
Is composed of a microcomputer 307 having a user memory for storing a program which can be freely used by a user, and an outline font processor (OFP) 308 which is a dedicated logic. The microcomputer 307 is provided with a user memory by storing various programs for supporting various correction information of the outline font in the user memory, and based on the stored program, the microcomputer 307 is stored. This is to make it work. Also, for data compression and decompression processing, the program selected by the user is stored in the user memory, and the microcomputer 307 is operated based on the stored program. By the way, there are various types of data structures of outline fonts. In particular, there are various hinting processes for making characters look beautiful. Therefore, the coordinate conversion process, which is the first half of the outline font expansion process including the hinting process, is performed by the microcomputer.
The raster conversion processing, which is the latter half of the outline font expansion processing performed by 307, is a dedicated logic O.
Perform with FP308. In addition, regarding the drawing processing for drawing and filling straight lines and circles, OF is a dedicated logic.
Perform on P308. Further, regarding data compression and decompression processing, run-length coding for coding data based on the number of 0's and 1's in the horizontal direction for one plane and 0's in the depth direction for one plane. , To support bit-plane encoding, which encodes data based on the number of 1's,
It is performed by the microcomputer 307. Reference numeral 309 denotes a work memory for temporarily storing image data of a binary image or a color still image that has been compression-coded in advance or for performing other data processing. Also, work memory 309
Stores one page of PDL transferred from the host CPU (central processing unit) under the control of the CPU 300. In FIG. 3, by changing the configuration of the bus, a memory for writing the compressed image information and a memory for reading the compressed image information for decoding are used to store the compressed image information. The writing process and the reading process for decoding the compressed image information may be performed in parallel to speed up the process.

【0027】310 は、例えばIEEE P1284等の
パラレル通信インターフェイスであり、PC等のホスト
から送られてくるページ記述言語(PDL)、あらかじ
め圧縮符号化された二値画像あるいはカラー静止画のイ
メージデータの受信や、プリンタ内部で発生した圧縮画
像情報の送信を行う通信用インターフェイスである。
Reference numeral 310 denotes a parallel communication interface such as IEEE P1284, which is a page description language (PDL) sent from a host such as a PC or a binary image or image data of a color still image which is compression-coded in advance. It is a communication interface for receiving and transmitting compressed image information generated inside the printer.

【0028】311 は、画像情報に基づき、画像を印字す
る印字部である。
A printing unit 311 prints an image based on image information.

【0029】なお、図3の各モジュールから印字部311
を除いた部分で、プリンタ制御装置を構成する。
From the modules shown in FIG.
The printer control device is configured by the parts excluding.

【0030】図1は、図3で示したプリンタの処理を説
明するためのフローチャートである。処理100 で、CP
U300 は、図示せぬホストコンピュータから送られてく
る印刷情報、例えば、ページ記述言語(PDL)を解釈
して、各モジュールに文字、図形等を発生する処理をさ
せる。例えば、前記印刷情報が、文字の形状を規定する
ための座標値等の情報(文字情報)であれば、画像処理
部306 に対してコマンドを発行し、該コマンドにより、
前記文字情報に基づいてドットデータを発生させるアウ
トラインフォント展開処理に必要なデータを、画像処理
部306 内のレジスタにセットし、フォントメモリ302 か
ら、展開したい文字のアウトラインフォントデータを画
像処理部306 へ逐次転送する。次に、処理101 で、マイ
クロコンピュータ307 又は、専用プロセッサであるOF
P308 が、前記一ページ分の印刷情報のうちの一部を、
ドットデータである画像情報に変換しながら、圧縮デー
タに変換する。これを繰り返して、前記一ページ分の印
刷情報の全部を圧縮された画像情報に変換する。変換さ
れた一ページ分の画像情報は、メモリ305 に格納され
る。最後に、処理102 で、印刷を開始する直前で、再
び、マイコン307 又は、専用プロセッサであるOFP30
8 は、前記メモリ305 に格納された一ページ分の圧縮さ
れた画像情報を、伸長しながらプリンタエンジンインタ
フェース303 を介して、図示せぬプリンタエンジンに出
力して印刷する。
FIG. 1 is a flow chart for explaining the processing of the printer shown in FIG. Process 100, CP
The U300 interprets print information, for example, page description language (PDL) sent from a host computer (not shown), and causes each module to perform processing for generating characters, figures, and the like. For example, if the print information is information (character information) such as coordinate values for defining the shape of a character, a command is issued to the image processing unit 306, and the command causes
Data necessary for outline font expansion processing for generating dot data based on the character information is set in a register in the image processing unit 306, and outline font data of the character to be expanded is set to the image processing unit 306 from the font memory 302. Transfer sequentially. Next, in process 101, the microcomputer 307 or the OF which is a dedicated processor is used.
P308 displays a part of the print information for one page,
While converting into image information which is dot data, it is converted into compressed data. By repeating this, the entire print information for one page is converted into compressed image information. The converted image information for one page is stored in the memory 305. Finally, in the process 102, immediately before the printing is started, the microcomputer 307 or the OFP30 which is the dedicated processor is again activated.
Reference numeral 8 outputs the compressed image information for one page stored in the memory 305 to the printer engine (not shown) through the printer engine interface 303 while expanding the image information and prints it.

【0031】図2は、マイクロコンピュータ307 又は、
専用プロセッサであるOFP308 が、文字、図形、イメ
ージデータ等の画像情報を、圧縮及び伸長する様子を説
明する説明図である。文字200 は、マイコン307 及び、
専用プロセッサであるOFP308 により、「P」という
文字の印刷情報を、ドットデータである画像情報に展開
したものである。この画像情報は、マイコン307 又は、
専用プロセッサであるOFP308 によって、ビットブロ
ック転送で、領域202 で示した印刷する一ページの領域
のうちの、クリッピングされたm×nドットの領域201
(クリッピング領域201 )に書き込まれる。同様にし
て、次々と、Q、R、S、Tの順に画像情報がクリッピ
ング領域201 に書き込まれる。次に、クリッピング領域
201 に書き込まれた0と1のデータに対して、例えば、
マイクロコンピュータ307 は、ランレングス符号化を行
い、データの圧縮を行う。データ203 は、符号化する前
の画像情報に含まれる0と1のデータであり、データ20
4 は、符号化された0と1のデータ(圧縮データ)であ
る。ここで用いるデータ圧縮の方式には、いろいろな仕
方が考えられるが、基本的には、情報量を保存する情報
保存圧縮方式(可逆符号化)であり、原画像が完全に復
元可能な可逆的なものである。例えば、国際標準符号化
方式の、JBIG符号化方式やJPEG符号化方式等が
考えられる。クリッピング領域201 の画像情報全てに対
して、圧縮されたデータ204 は、メモリ205 に格納され
る。マイクロコンピュータ307 は、同様にして、クリッ
ピング領域201 を、一ページの領域202 のうちの別な領
域に移動して、その領域に次の画像情報を書き込み、圧
縮を行い、圧縮されたデータ204 を、メモリ205 に格納
する。メモリ205 には、圧縮された一ページ分のデータ
が格納される。次に、圧縮された一ページ分のデータを
印刷する時には、マイクロコンピュータ307 は、メモリ
205 から圧縮されたデータ206 を読みだし、復号化を行
い、データ207 のようにデータ伸長する。一つのクリッ
ピング領域分の伸長されたデータ208 は、順にプリンタ
エンジンに転送されて印刷される。この処理を繰り返し
て、圧縮された一ページ分のデータを印刷することがで
きる。
FIG. 2 shows a microcomputer 307 or
FIG. 7 is an explanatory diagram for explaining how the OFP 308, which is a dedicated processor, compresses and decompresses image information such as characters, graphics, and image data. The character 200 is the microcomputer 307 and
By the OFP 308 which is a dedicated processor, the print information of the character "P" is expanded into image information which is dot data. This image information is the microcomputer 307 or
By the OFP 308, which is a dedicated processor, in the bit block transfer, the clipped area 201 of m × n dots in the area of one page to be printed shown in the area 202
(Clipping area 201) Similarly, image information is sequentially written in the clipping region 201 in the order of Q, R, S, and T. Then the clipping area
For the data of 0 and 1 written in 201, for example,
The microcomputer 307 performs run-length coding and compresses data. The data 203 is the data of 0 and 1 included in the image information before encoding.
4 is coded data of 0 and 1 (compressed data). There are various possible data compression methods used here, but basically it is an information storage compression method (reversible coding) that saves the amount of information, and is a reversible method that can completely restore the original image. It is something. For example, the JBIG coding method, the JPEG coding method, and the like, which are international standard coding methods, can be considered. The compressed data 204 for all the image information in the clipping area 201 is stored in the memory 205. Similarly, the microcomputer 307 moves the clipping region 201 to another region of the region 202 of one page, writes the next image information in that region, compresses it, and outputs the compressed data 204. , Memory 205. The memory 205 stores one page of compressed data. Next, when printing one page of compressed data, the microcomputer 307
The compressed data 206 is read from 205, decrypted, and decompressed like data 207. The decompressed data 208 for one clipping area is sequentially transferred to the printer engine and printed. By repeating this process, the compressed data for one page can be printed.

【0032】図4は、図2で説明したクリッピング領域
201 と、圧縮データを格納するメモリ205 を実現するメ
モリ構成の説明図である。図3に示すメモリ305 は、図
4に示すメモリ400 に相当する。図2のクリッピング領
域201 は、図4の圧縮用バッファ401 に相当し、図2の
メモリ205 は、図4の圧縮メモリ402 に相当する。圧縮
用バッファ401 は、m×nビットで構成されたメモリで
ある。圧縮メモリ402は、画像情報の符号化による圧縮
の圧縮率で決まるメモリ容量を持ったメモリである。
FIG. 4 shows the clipping region described in FIG.
FIG. 3 is an explanatory diagram of a memory configuration that realizes 201 and a memory 205 that stores compressed data. The memory 305 shown in FIG. 3 corresponds to the memory 400 shown in FIG. The clipping area 201 in FIG. 2 corresponds to the compression buffer 401 in FIG. 4, and the memory 205 in FIG. 2 corresponds to the compression memory 402 in FIG. The compression buffer 401 is a memory composed of m × n bits. The compression memory 402 is a memory having a memory capacity determined by the compression rate of compression by encoding image information.

【0033】図5は、図4で説明した圧縮用バッファ40
1 についてさらに詳細に説明したものである。図5
(a)のデータ500 においては、圧縮用バッファ401 に
一連の文字列「円グラフ」と、行を改めて「分布」、並
びに、図形の円グラフの一部が書き込まれている。この
場合、「円グラフ」は、マイクロコンピュータ307 及
び、専用プロセッサであるOFP308 が、文字の輪郭線
情報であるアウトラインフォントデータを、ドットデー
タであるドットフォントデータに展開した「円グラフ」
を圧縮用バッファ401 の設定された位置に書き込んだも
のである。一方、「分布」は、マイクロコンピュータ30
7 及び、専用プロセッサであるOFP308 が、文字の輪
郭線情報であるアウトラインフォントデータを、ドット
データであるドットフォントデータに展開した「分布」
を圧縮用バッファ401 の設定された位置に書き込む時
に、圧縮用バッファ401 から外に出た部分においては、
圧縮用バッファ401 に書き込まない処理を行う。図形の
円グラフにおいては、専用プロセッサであるOFP308
が、図形を描画(ドットデータに展開)して圧縮用バッ
ファ401 の設定された位置に書き込む時に、マイクロコ
ンピュータ307 の制御により、圧縮用バッファ401 から
外に出た部分においては、圧縮用バッファ401 に書き込
まない処理を行う。実際に印刷する文字、図形等の大き
さは、最大一ページに印刷できる大きさである。したが
って、上記のようなクリッピング処理を行わないように
するには、従来のページプリンタのように、一ページ分
のメモリが必要になる。よって、メモリを削減するため
には、一ページ分のメモリ容量よりも少ないメモリ容量
の圧縮用バッファ401 の大きさの領域をクリッピング領
域として、該クリッピング領域に含まれる文字、図形等
をドットデータへ展開し、展開されたドットデータを圧
縮することを繰り返す必要がある。
FIG. 5 shows the compression buffer 40 described with reference to FIG.
This is a more detailed explanation of 1. Figure 5
In the data 500 of (a), a series of character strings "pie chart", a line "distribution", and a part of a graphic pie chart are written in the compression buffer 401. In this case, the "pie chart" is a "pie chart" obtained by the microcomputer 307 and the OFP308, which is a dedicated processor, expanding the outline font data, which is the contour information of the character, into the dot font data, which is the dot data.
Is written in the set position of the compression buffer 401. On the other hand, the “distribution” is the microcomputer 30
7 and the dedicated processor OFP308 expands outline font data, which is the outline information of characters, to dot font data, which is dot data.
When writing to the set position of the compression buffer 401, at the part outside the compression buffer 401,
Processing not to write to the compression buffer 401 is performed. In the graphic pie chart, the dedicated processor OFP308
However, when a graphic is drawn (decompressed into dot data) and written at the set position of the compression buffer 401, the compression buffer 401 is controlled by the microcomputer 307 in a portion outside the compression buffer 401. Do not write to. The size of characters, figures, etc. that are actually printed is the size that can be printed on one page at the maximum. Therefore, in order to avoid the clipping process as described above, one page of memory is required as in the conventional page printer. Therefore, in order to reduce the memory, an area of the size of the compression buffer 401 having a memory capacity smaller than the memory capacity for one page is set as a clipping area, and characters, figures, etc. included in the clipping area are converted to dot data. It is necessary to repeat decompression and compression of the decompressed dot data.

【0034】ここで、プリンタの高解像度化及びカラー
化が進むと、それに伴って画像情報(ドットデータ)の
量が増えるので、画像情報を生成する処理に要する時間
が多くなる。そこで、画像情報を生成する処理を高速化
するための工夫も必要になってくる。たとえば、図5
(a)に示すような文字「分布」のクリッピング処理
は、画像情報を生成する処理の高速化の妨げになってし
まう。これは、マイコン307 及び、専用プロセッサであ
るOFP308 は、一連の文字「分布」に対して、二回の
ドットフォントデータへの展開(画像情報の生成)をし
なければならないからである。画像情報を生成する処理
の高速化を実現するためには、なるべく同一文字に関し
ては、二回のクリッピング処理を行わないことが必要で
ある。そこで、図5(b)のデータ501 に示すように、
圧縮用バッファ401 のメモリ容量サイズm×nドット
(ビット)を可変にしておくようにし、展開対象となる
文字の大きさに合わせて圧縮用バッファ401 のサイズを
決定することにした。圧縮用バッファ401 の大きさと、
圧縮メモリ402 の大きさと、画像情報の生成対象となる
文字の大きさとの関係は、マイクロコンピュータ307 が
管理し、マイクロコンピュータ307 が、展開対象となる
文字の大きさに合わせて圧縮用バッファ401 のサイズを
決定するようにすればよい。データ502 は、圧縮用バッ
ファ401 に書き込まれた画像情報(データ501 )が符号化
されたものである。
Here, as the resolution and color of the printer are increased, the amount of image information (dot data) increases accordingly, so that the time required to generate the image information increases. Therefore, it is necessary to devise to speed up the process of generating image information. For example, in FIG.
The clipping process of the character “distribution” as shown in (a) hinders the speeding up of the process of generating image information. This is because the microcomputer 307 and the OFP 308, which is a dedicated processor, have to develop a series of characters “distribution” into dot font data (generate image information) twice. In order to speed up the process of generating image information, it is necessary not to perform the clipping process twice for the same character. Therefore, as shown in the data 501 of FIG.
The memory capacity size m × n dots (bits) of the compression buffer 401 is made variable, and the size of the compression buffer 401 is decided according to the size of the character to be expanded. The size of the compression buffer 401,
The relationship between the size of the compression memory 402 and the size of the character for which the image information is generated is managed by the microcomputer 307, and the microcomputer 307 stores the relationship in the compression buffer 401 in accordance with the size of the character for expansion. The size should be decided. The data 502 is the encoded image information (data 501) written in the compression buffer 401.

【0035】図6は、プリンタのカラー化に対応した圧
縮用バッファの一例である。従来のモノクロのプリンタ
では、ページメモリは、一面あれば印刷することができ
た。従来の方法では、プリンタをカラー化すると、表示
色に必要な多面のページメモリが必要になり、メモリ容
量が増大する。したがって、プリンタのカラー化におい
ても画像情報を圧縮する必要がある。そこで、上記圧縮
用バッファ(600 )をN枚設けることにした。例えば、こ
れまでに説明してきた画像情報の符号化は、二次元的な
二値画像の符号化であるランレングス符号化であるのに
対して、カラー画像データの符号化には、濃淡画像の符
号化であるビットプレーン符号化を用いることにする。
ビットプレーン符号化は、多階調画像の量子化ビット数
Nに応じた、LSB( least signific
ant bit)から、MSB(most signi
ficant bit)までの二値画像のビットプレー
ンをN枚用意し、各ビットプレーンを二値画像の符号化
方式を用いて符号化する方法である。この方法は、処理
が簡単であり、MSB及びそれに近いビットプレーンで
はデータの変化が少なく、高い符号化効率が期待でき
る。データ601 は、圧縮用バッファ600 に書き込まれた
カラー画像データが符号化されたものである。したがっ
て、プリンタの高解像度化及びカラー化においても、メ
モリ容量の削減が可能となる。
FIG. 6 shows an example of a compression buffer corresponding to colorization of a printer. In the conventional monochrome printer, if the page memory has only one side, printing can be performed. In the conventional method, when the printer is colorized, a multi-sided page memory required for display colors is required, which increases the memory capacity. Therefore, it is necessary to compress the image information even when the printer is colorized. Therefore, we decided to provide N compression buffers (600). For example, the encoding of the image information explained so far is the run-length encoding which is the encoding of the two-dimensional binary image, whereas the encoding of the color image data is the encoding of the grayscale image. Bit plane coding, which is coding, will be used.
The bit plane encoding is performed according to the number of quantization bits N of a multi-tone image, that is, LSB (least signific).
ant bit) to MSB (most signi)
This is a method in which N bit planes of a binary image up to a ficant bit) are prepared and each bit plane is encoded using the encoding method of the binary image. This method is simple in processing, has little change in data in the MSB and the bit plane close to it, and can be expected to have high coding efficiency. The data 601 is the encoded color image data written in the compression buffer 600. Therefore, the memory capacity can be reduced even when the resolution and color of the printer are increased.

【0036】次に、本発明のプリンタ制御方式を用いた
複数のプリンタを接続したプリンタネットワークシステ
ムの一実施例を説明する。図9には、先に述べたよう
に、パーソナルコンピュータ(PC)と、複数のプリン
タとが、一つのネットワーク上に接続されたシステム構
成が示されている。PC901 は、一ページ分の印刷情
報、例えば、ページ記述言語(PDL)や、イメージデ
ータ等をプリンタインターフェイス904 を介して、プリ
ンタ902 ,903 に転送する。904 は、例えば、双方向パ
ラレルインターフェイス、IEEE P1284等であ
る。また、プリンタ902,903 からは、プリンタの属性情
報であるプリンタ情報が、PC901 へ転送される(905
)。プリンタ902 内部にあるプリンタ制御装置は、P
C901 から送られてきたPDLを解釈して一ページ分の
文字、図形等を画像情報に展開して、印刷する。ここ
で、本発明のプリンタ制御装置を用いたプリンタは、一
ページよりも小さいクリッピング領域に関する印刷情報
を画像情報に展開し、展開された画像情報を圧縮する。
この展開・圧縮を各クリッピング領域について繰り返し
て、一ページ分の圧縮された画像情報を生成し、生成さ
れた圧縮された画像情報を圧縮メモリに一旦格納する。
印刷する直前で、圧縮メモリに格納された圧縮された画
像情報を、伸長して出力し、印刷する。ここで、一台の
プリンタに圧縮メモリを複数設け、該複数の圧縮メモリ
のうちの一つへの画像情報の格納処理と、該複数の圧縮
メモリのうちの一つからの画像情報の伸長及び印刷処理
とを、並列に実行可能な場合を考える。この場合、一台
のプリンタが一ページを印刷中に、次のページの展開・
圧縮処理を行い、さらに、次のページの展開・圧縮処理
を行うと、展開・圧縮処理の終わったページの印刷は、
待ち状態になる。そこで、展開・圧縮処理の終わった一
ページ分の圧縮された画像情報を、ネットワークに接続
された別のプリンタに、圧縮されたまま転送し、転送先
のプリンタにおいて伸長処理を行い印刷するようにす
る。このようにすれば、プリンタ印刷における混雑が緩
和される。また、転送データ量の縮小により、プリンタ
ネットワークシステム全体のスループットが向上する。
Next, an embodiment of a printer network system in which a plurality of printers using the printer control system of the present invention are connected will be described. As described above, FIG. 9 shows a system configuration in which a personal computer (PC) and a plurality of printers are connected on one network. The PC 901 transfers print information for one page, such as page description language (PDL) and image data, to the printers 902 and 903 via the printer interface 904. 904 is, for example, a bidirectional parallel interface, IEEE P1284, or the like. The printer information, which is the printer attribute information, is transferred from the printers 902 and 903 to the PC 901 (905).
). The printer controller inside the printer 902 is
It interprets the PDL sent from C901, develops one page of characters, figures, etc. into image information and prints it. Here, the printer using the printer control device of the present invention expands the print information regarding the clipping area smaller than one page into image information, and compresses the expanded image information.
This expansion / compression is repeated for each clipping area to generate compressed image information for one page, and the generated compressed image information is temporarily stored in the compression memory.
Immediately before printing, the compressed image information stored in the compression memory is decompressed, output, and printed. Here, a single printer is provided with a plurality of compression memories, the image information is stored in one of the plurality of compression memories, and the image information is decompressed from one of the plurality of compression memories. Consider the case where the printing process can be executed in parallel. In this case, while one printer is printing one page,
If you perform compression processing and then expand / compress the next page, the page that has been expanded / compressed will be printed.
It will be in a waiting state. Therefore, one page of compressed image information that has been expanded / compressed is transferred to another printer connected to the network while being compressed, and decompression processing is performed on the transfer destination printer for printing. To do. In this way, congestion in printer printing is alleviated. Further, the reduction of the transfer data amount improves the throughput of the entire printer network system.

【0037】上記を実現するための一例を示す。図10
は、プリンタ制御装置が出力するデータの切り替え(圧
縮された画像情報を出力するか、伸長された画像情報を
出力するかの切り替え)を説明するためのブロック図で
ある。メモリ1001は、本発明のプリンタ制御装置におい
て、圧縮された画像情報を一旦格納しておくメモリであ
る。処理部1002は、伸長処理を行うブロックであり、該
ブロックは、図3のマイクロコンピュータ307 に設けら
れる。データ1004は、メモリ1001から読みだされた圧縮
された画像情報である。処理部1003は、伸長処理された
画像情報を出力するか、圧縮された画像情報を出力する
かを選択するセレクタである。該セレクタもマイクロコ
ンピュータ307 に設けられる。信号1006は、セレクタ10
03を切り替える制御信号であり、図3のCPU300 によ
って制御される。データ1005は、セレクタ1003によって
選択されて出力された画像情報である。例えば、モード
1を、伸長処理を行うモードとし、モード1では、印刷
する直前で画像情報が伸長されて出力されるようにす
る。また、モード2を、伸長処理を行わないモードと
し、モード2では、圧縮された画像情報がそのまま出力
されるようにする。
An example for realizing the above will be shown. Figure 10
FIG. 4 is a block diagram for explaining switching of data output by the printer control device (switching between output of compressed image information and output of decompressed image information). The memory 1001 is a memory that temporarily stores compressed image information in the printer control device of the present invention. The processing unit 1002 is a block that performs decompression processing, and this block is provided in the microcomputer 307 in FIG. Data 1004 is compressed image information read from the memory 1001. The processing unit 1003 is a selector that selects whether to output the decompressed image information or the compressed image information. The selector is also provided in the microcomputer 307. Signal 1006 is for selector 10
This is a control signal for switching 03 and is controlled by the CPU 300 in FIG. The data 1005 is image information selected and output by the selector 1003. For example, mode 1 is a mode in which decompression processing is performed, and in mode 1, image information is decompressed and output immediately before printing. In addition, mode 2 is a mode in which decompression processing is not performed, and in mode 2, compressed image information is output as it is.

【0038】また、図11は、あらかじめ圧縮符号化さ
れたカラー静止画データの展開を説明するためのブロッ
ク図である。1101は、本発明のプリンタ制御装置におい
て、圧縮した画像情報を一旦格納しておくワークメモリ
である。処理部1102は、カラー静止画の伸長復号化処理
を行うブロックである。伸長復号化処理は、マイクロコ
ンピュータ307 が行う。データ1103は、ワークメモリ11
01から読みだされたカラー静止画の圧縮された画像情報
である。データ1104は、カラー静止画の復号化された画
像情報である。
FIG. 11 is a block diagram for explaining the expansion of color still image data that has been compression-coded in advance. 1101 is a work memory for temporarily storing the compressed image information in the printer control apparatus of the present invention. The processing unit 1102 is a block that performs decompression / decoding processing for a color still image. The decompression decoding process is performed by the microcomputer 307. The data 1103 is stored in the work memory 11
This is the compressed image information of the color still image read from 01. The data 1104 is the decoded image information of the color still image.

【0039】図12は、本発明のプリンタネットワーク
システムにおける処理の流れを示す。処理1201において
は、プリンタ制御装置に送られてきた印刷情報であるペ
ージ記述言語(PDL)等を解釈する。解釈された印刷
情報は、処理1202により、一ページのうちのクリッピン
グ領域毎に、画像情報に展開され、展開された画像情報
は、符号化(圧縮)される。この展開・圧縮を繰り返
し、一ページ分の圧縮された画像情報を生成する。生成
された一ページ分の圧縮された画像情報は、処理1203に
より、メモリに格納される。処理1204では、メモリに格
納されている圧縮された画像情報を、プリンタに印刷す
る直前に復号化伸長する。処理1205では、復号化伸長さ
れた画像情報を、プリンタに出力し、印刷する。あるい
は、処理1206では、他のプリンタに、圧縮された画像情
報のまま転送する。
FIG. 12 shows the flow of processing in the printer network system of the present invention. In step 1201, page description language (PDL) or the like, which is print information sent to the printer controller, is interpreted. The interpreted print information is expanded into image information for each clipping area in one page by the process 1202, and the expanded image information is encoded (compressed). This expansion / compression is repeated to generate compressed image information for one page. The generated one page of compressed image information is stored in the memory by the process 1203. In process 1204, the compressed image information stored in the memory is decoded and expanded immediately before printing on the printer. In process 1205, the decoded and expanded image information is output to the printer and printed. Alternatively, in process 1206, the compressed image information is transferred to another printer as it is.

【0040】図13に、パーソナルコンピュータ(P
C)と、複数のプリンタとが複数のネットワーク上に接
続されたシステム構成を示す。これは、図9で示したプ
リンタネットワークシステムを更に効率よく動作させ、
複数のプリンタを用いて、高速に印刷処理を行なわせる
ためのものである。PC1301は、一ページ分の印刷情
報、例えば、ページ記述言語(PDL)や、イメージデ
ータ等をプリンタインターフェイス1307を介して、プリ
ンタ1302に転送する。1303は、プリンタ以外の周辺機器
である。プリンタインターフェイス1307は、例えば、双
方向パラレルインターフェイス、IEEE P1284
等である。また、プリンタ1302からはプリンタ情報がP
C1301へ転送される(1309)。プリンタ1302内部にある
本発明のプリンタ制御装置は、PC1301から送られてき
たPDLを解釈して、一ページ分の文字、図形等を画像
情報に展開して印刷する。ここで、プリンタ1302は、一
ページ分の印刷情報を画像情報に展開している最中に、
次のページの印刷情報がPC1301から送られてきた場合
には、該次のページの印刷情報の展開処理を待たせるこ
とになる。そこで、すぐに、プリンタ1302と他のプリン
タ1304、1305、1306間を結ぶローカルなネットワークであ
るプリンタインターフェイス1308を介して、プリンタ13
04、1305、1306に、待ち状態にある次のページの印刷情報
をそのまま転送してもよい。
FIG. 13 shows a personal computer (P
3C shows a system configuration in which a plurality of printers and a plurality of printers are connected on a plurality of networks. This makes the printer network system shown in FIG. 9 operate more efficiently,
This is for performing high-speed printing processing using a plurality of printers. The PC 1301 transfers print information for one page, for example, page description language (PDL), image data, etc., to the printer 1302 via the printer interface 1307. 1303 is a peripheral device other than the printer. The printer interface 1307 is, for example, a bidirectional parallel interface, IEEE P1284.
Etc. Also, the printer information from the printer 1302 is P
It is transferred to C1301 (1309). The printer control apparatus of the present invention inside the printer 1302 interprets the PDL sent from the PC 1301, develops a page of characters, figures, etc. into image information and prints it. Here, while the printer 1302 is developing the print information for one page into the image information,
When the print information of the next page is sent from the PC 1301, the expansion processing of the print information of the next page is made to wait. Then, immediately, the printer 1302 and the other printers 1304, 1305, 1306 are directly connected to the printer 13 via the printer interface 1308 which is a local network.
The print information of the next page in the waiting state may be directly transferred to 04, 1305, and 1306.

【0041】ところが、プリンタネットワークシステム
全体の低価格化を実現するために、プリンタ1304、1305、
1306が、低価格なプリンタで、CPUの能力、あるい
は、ハードウエアの制限により、展開処理ができずに、
伸長処理のみしかできない場合もある。この場合には、
プリンタ1304、1305、1306に、待ち状態にある次のページ
の印刷情報を転送できない。そこで、プリンタ1302にお
いて符号化圧縮した画像情報を、プリンタ1304、1305、13
06に転送する(データ1310)。
However, in order to reduce the price of the printer network system as a whole, the printers 1304, 1305,
1306 is a low-priced printer, which cannot be expanded due to CPU capacity or hardware limitation.
In some cases, only decompression processing can be performed. In this case,
The print information of the next page in the waiting state cannot be transferred to the printers 1304, 1305, and 1306. Therefore, the image information encoded and compressed by the printer 1302 is transferred to the printers 1304, 1305, 13
Transfer to 06 (data 1310).

【0042】また、データ転送の高速化を実現するため
に、プリンタインターフェイスを、メインバス(1307)
とローカルバス(1308)に分けることもできる。このと
き、ローカルバス(1308)として、プリンタのデータに
最適で、データ幅が広く、転送速度が速いバスを使用す
ることができる。このようなシステム構成により、プリ
ンタシステム全体のスループット向上による高速処理を
実現し、印刷時間の短縮を図ることができる。
In order to speed up the data transfer, the printer interface is connected to the main bus (1307).
And local bus (1308). At this time, as the local bus (1308), it is possible to use a bus that is most suitable for printer data, has a wide data width, and has a high transfer rate. With such a system configuration, high-speed processing can be realized by improving the throughput of the entire printer system, and the printing time can be shortened.

【0043】また、プリンタ1304、1305、1306は、それぞ
れ異なった仕様のプリンタであってもよい。例えば、こ
れらのプリンタは、それぞれ特徴を持ったプリンタであ
って、カラー対応、モノクロ高精細対応、高速印刷対
応、低解像度対応、高解像度対応等である。このような
システム構成により、プリンタネットワークシステムの
低価格化を図ることができる。
The printers 1304, 1305, 1306 may have different specifications. For example, these printers are printers having respective characteristics, and are compatible with color, compatible with monochrome high definition, compatible with high speed printing, compatible with low resolution, compatible with high resolution, and the like. With such a system configuration, it is possible to reduce the price of the printer network system.

【0044】また、プリンタ1302は、サーバとして、印
刷機能がなく、画像情報の符号化圧縮機能、復号化伸長
機能、通信機能を持ったデータ変換装置であってもよ
い。このようなシステム構成により、プリンタシステム
全体のスループット向上による高速処理を実現し、印刷
時間の短縮を図ることができる。
As a server, the printer 1302 may be a data conversion device that does not have a printing function but has an image information encoding / compression function, a decoding / decompression function, and a communication function. With such a system configuration, high-speed processing can be realized by improving the throughput of the entire printer system, and the printing time can be shortened.

【0045】以上、本発明は、プリンタ制御装置につい
て説明したが、プリンタを表示装置に置き換えれば、同
様に、表示制御装置を構成することもできる。
Although the present invention has been described with reference to the printer control device, the display control device can be similarly constructed by replacing the printer with a display device.

【0046】[0046]

【発明の効果】本発明によれば、文字や図形の形状およ
び位置に関するコード化された情報を含む印刷情報を入
力し、入力された前記印刷情報を、前記文字や図形の形
状および位置を示すドットデータである画像情報に展開
し、展開された画像情報に基づいて前記文字や図形を印
刷するプリンタにおけるプリンタ制御装置において、メ
モリの容量を減少させて、システムの低コスト化を図る
ことができる。
According to the present invention, print information including coded information regarding the shapes and positions of characters and figures is input, and the input print information indicates the shape and position of the characters and figures. In a printer control device in a printer that develops image information that is dot data and prints the characters and graphics based on the developed image information, the memory capacity can be reduced, and the system cost can be reduced. .

【0047】また、本発明によれば、このようなプリン
タ制御装置において、印刷情報を画像情報に高速に展開
し、プリンタの待ち時間を減少させることができる。
Further, according to the present invention, in such a printer controller, it is possible to expand the print information into image information at high speed and reduce the waiting time of the printer.

【0048】さらに、複数のプリンタを接続したプリン
タネットワークシステムにおいて、後述する画像情報の
圧縮符号化処理、後述する伸長復号化処理及び印刷処理
の並列化を行い、高速印刷を実現することができる。
Furthermore, in a printer network system in which a plurality of printers are connected, compression encoding processing of image information, which will be described later, decompression decoding processing and printing processing, which will be described later, can be performed in parallel to realize high-speed printing.

【0049】[0049]

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

【図1】プリンタ制御方式のフローチャートである。FIG. 1 is a flowchart of a printer control method.

【図2】プリンタ制御方式の説明図である。FIG. 2 is an explanatory diagram of a printer control method.

【図3】プリンタのブロック図である。FIG. 3 is a block diagram of a printer.

【図4】画像データの圧縮用メモリのブロック図であ
る。
FIG. 4 is a block diagram of a memory for compressing image data.

【図5】画像データの圧縮用バッファの説明図である。FIG. 5 is an explanatory diagram of a compression buffer for image data.

【図6】カラー画像データの圧縮用バッファの説明図で
ある。
FIG. 6 is an explanatory diagram of a color image data compression buffer.

【図7】従来のプリンタ制御方式のフローチャートであ
る。
FIG. 7 is a flowchart of a conventional printer control method.

【図8】従来のプリンタ制御装置のブロック図である。FIG. 8 is a block diagram of a conventional printer control device.

【図9】プリンタネットワークシステムのシステム構成
図である。
FIG. 9 is a system configuration diagram of a printer network system.

【図10】圧縮画像データの伸長/転送モード切り替え
の説明図である。
FIG. 10 is an explanatory diagram of decompression / transfer mode switching of compressed image data.

【図11】カラー静止画像データの復号化の説明図であ
る。
FIG. 11 is an explanatory diagram of decoding color still image data.

【図12】プリンタ制御方式のフローチャートである。FIG. 12 is a flowchart of a printer control method.

【図13】プリンタネットワークシステムのシステム構
成図である。
FIG. 13 is a system configuration diagram of a printer network system.

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

300 …CPU、301 …システムメモリ、302 …フォント
メモリ、303 …プリンタエンジンインタフェース、304
…システムバス、305 …メモリ、307 …マイコン、308
…OFP、309 …ワークメモリ、310 …印字部、401 …
圧縮用バッファ、402 …圧縮メモリ。
300 ... CPU, 301 ... System memory, 302 ... Font memory, 303 ... Printer engine interface, 304
… System bus, 305… Memory, 307… Microcomputer, 308
… OFP, 309… Work memory, 310… Printing section, 401…
Compression buffer, 402 ... Compression memory.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小泉 洋之 東京都小平市上水本町五丁目20番1号 株 式会社日立製作所半導体事業部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hiroyuki Koizumi 5-20-1, Josuihonmachi, Kodaira-shi, Tokyo Incorporated company Hitachi Ltd. Semiconductor Division

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】一ページに印刷する文字や図形の形状およ
び位置を指定するコード化された情報を含む印刷情報を
入力し、入力された前記印刷情報を、一ページに印刷す
る画像を表わすドットデータである画像情報に展開し、
展開された画像情報に基づいて前記文字や図形を印刷す
るプリンタにおけるプリンタ制御装置であって、 前記印刷情報を、それぞれが前記一ページを分割した複
数の領域の各々に対応する、前記印刷情報の複数の真部
分集合に分割する分割手段と、 該分割手段により分割された真部分集合に含まれる前記
印刷情報を、前記画像情報に展開する展開手段と、 該展開手段により展開された画像情報を保持する保持手
段と、 該保持手段に保持された画像情報を、符号化して、前記
画像情報の情報量を圧縮する圧縮手段と、 該圧縮手段により圧縮された画像情報を記憶する記憶手
段と、 前記分割手段により分割されたすべての真部分集合につ
いて、前記展開手段による展開、前記圧縮手段による圧
縮、および、前記記憶手段による記憶を行わせる制御手
段と、 該制御手段の制御により、前記記憶手段に記憶された圧
縮された一ページ分の画像情報を順次伸長する伸長手段
とを備え、 前記プリンタは、前記伸長手段により伸長された画像情
報に基づいて前記一ページを印刷することを特徴とする
プリンタにおけるプリンタ制御装置。
1. A dot which represents print image to be printed on one page by inputting print information including coded information for designating shapes and positions of characters and figures to be printed on one page. Expand to image information that is data,
A printer control device in a printer that prints the character or figure based on developed image information, wherein the print information corresponds to each of a plurality of areas obtained by dividing the one page. Dividing means for dividing into a plurality of true subsets, expanding means for expanding the print information contained in the true subsets divided by the dividing means into the image information, and image information expanded by the expanding means Holding means for holding, compression means for encoding the image information held by the holding means to compress the information amount of the image information, and storage means for storing the image information compressed by the compression means, All true subsets divided by the dividing means are expanded by the expanding means, compressed by the compressing means, and stored by the storing means. Control means and decompression means for decompressing one page of the compressed image information stored in the storage means under the control of the control means, and the printer has the image information decompressed by the decompression means. A printer control device for a printer, wherein the one page is printed based on the following.
【請求項2】請求項1記載のプリンタ制御装置におい
て、 前記分割手段は、前記真部分集合のうちの二つ以上に、
同一文字に関する印刷情報が含まれないように、前記印
刷情報を分割することを特徴とするプリンタ制御装置。
2. The printer control device according to claim 1, wherein the dividing unit is provided in two or more of the true subsets.
A printer control apparatus, wherein the print information is divided so that print information regarding the same character is not included.
【請求項3】請求項1記載のプリンタ制御装置におい
て、 前記分割手段は、前記複数の真部分集合が共通部分を有
しないように、前記印刷情報を分割することを特徴とす
るプリンタ制御装置。
3. The printer control device according to claim 1, wherein the dividing unit divides the print information so that the plurality of true subsets have no common part.
【請求項4】請求項1記載のプリンタ制御装置におい
て、 前記印刷情報は、前記文字や図形の形状および位置に加
え、前記文字や図形の印刷する階調を指定するコード化
された情報であることを特徴とするプリンタ制御装置。
4. The printer control device according to claim 1, wherein the print information is coded information for designating a gradation to print the character or graphic in addition to the shape and position of the character or graphic. A printer control device characterized by the above.
【請求項5】請求項1から4記載のプリンタ制御装置の
何れかにおいて、 前記制御手段の制御により、前記記憶手段に記憶された
圧縮された画像情報を送信する送信手段と、 を備えることを特徴とするプリンタ制御装置。
5. The printer control device according to claim 1, further comprising: a transmission unit that transmits the compressed image information stored in the storage unit under the control of the control unit. Characteristic printer control device.
【請求項6】請求項5記載のプリンタ制御装置におい
て、 圧縮された画像情報である圧縮画像情報を受信する受信
手段を備え、 前記記憶手段は、前記受信手段により受信された圧縮画
像情報をも記憶し、 前記伸長手段は、前記記憶手段に記憶された、圧縮画像
情報をも伸長することを特徴とするプリンタ制御装置。
6. The printer control device according to claim 5, further comprising a receiving unit that receives compressed image information that is compressed image information, and the storage unit also stores the compressed image information received by the receiving unit. A printer control device for storing, wherein the decompressing unit also decompresses the compressed image information stored in the storage unit.
【請求項7】一ページに印刷する文字や図形の形状およ
び位置を指定するコード化された情報を含む印刷情報を
入力し、入力された前記印刷情報を、一ページに印刷す
る画像を表わすドットデータである画像情報に展開し、
展開された画像情報に基づいて前記文字や図形を印刷す
るプリンタであって、 前記印刷情報を、前記印刷情報の複数の真部分集合で、
それぞれが前記一ページを分割した複数の領域の各々に
対応する真部分集合であって、該真部分集合の和集合が
前記印刷情報であるような真部分集合に分割する分割手
段と、 該分割手段により分割された真部分集合のうちの一つに
含まれる前記印刷情報を、前記画像情報に展開する展開
手段と、 該展開手段により展開された画像情報を保持する保持手
段と、 該保持手段に保持された画像情報を符号化して、前記画
像情報の有する情報の内容を保存しながら、前記画像情
報の容量を圧縮する圧縮手段と、 該圧縮手段により圧縮された画像情報を記憶する記憶手
段と、 前記分割手段により分割されたすべての真部分集合につ
いて、前記展開手段による展開、前記圧縮手段による圧
縮、および、前記記憶手段による記憶を行わせる制御手
段と、 該制御手段の制御により、前記記憶手段に記憶された圧
縮された画像情報を伸長する伸長手段と、 該伸長手段により伸長された画像情報に基づいて前記文
字や図形を印刷する印字部と、 を備えることを特徴とするプリンタ。
7. A dot representing an image to be printed on one page, by inputting print information including coded information designating shapes and positions of characters and figures to be printed on one page. Expand to image information that is data,
A printer that prints the character or graphic based on the expanded image information, wherein the print information is a plurality of true subsets of the print information,
Dividing means for dividing into a true subset corresponding to each of a plurality of areas obtained by dividing the one page, and a true subset having a union of the true subsets being the print information; Expanding means for expanding the print information contained in one of the true subsets divided by the means into the image information, holding means for holding the image information expanded by the expanding means, and the holding means Compression means for compressing the capacity of the image information while storing the content of the information included in the image information by encoding the image information stored in the storage means, and storage means for storing the image information compressed by the compression means. A control means for performing expansion by the expansion means, compression by the compression means, and storage by the storage means for all true subsets divided by the division means, A decompression unit that decompresses the compressed image information stored in the storage unit under the control of the control unit, and a printing unit that prints the characters and figures based on the image information decompressed by the decompression unit. A printer characterized by the above.
【請求項8】請求項7記載のプリンタを複数備え、該複
数のプリンタをネットワーク上に接続したプリンタネッ
トワークシステムであって、 前記複数備えたプリンタは、 自己の圧縮手段により圧縮された画像情報を圧縮画像情
報として、自己の送信手段により他のプリンタへ出力す
る第1のプリンタと、 該第1のプリンタにより出力された圧縮画像情報を自己
の受信手段により受信し、該圧縮画像情報を自己の記憶
手段に記憶し、該記憶手段に記憶された圧縮画像情報を
自己の伸長手段により伸長し、該伸長手段により伸長さ
れた画像情報に基づいて文字や図形を印刷する第2のプ
リンタとを含むことを特徴とするプリンタネットワーク
システム。
8. A printer network system comprising a plurality of printers according to claim 7, wherein the plurality of printers are connected on a network, wherein the plurality of printers are provided with image information compressed by its own compression means. As the compressed image information, a first printer that outputs the compressed image information to another printer by its own transmission means, and the compressed image information output by the first printer is received by its own reception means, and the compressed image information is transmitted by the own printer. A second printer which stores the compressed image information stored in the storage means, expands the compressed image information stored in the storage means by its own expansion means, and prints characters and graphics based on the image information expanded by the expansion means. A printer network system characterized by the above.
JP6288324A 1994-11-22 1994-11-22 Control device for printer Pending JPH08142418A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6288324A JPH08142418A (en) 1994-11-22 1994-11-22 Control device for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6288324A JPH08142418A (en) 1994-11-22 1994-11-22 Control device for printer

Publications (1)

Publication Number Publication Date
JPH08142418A true JPH08142418A (en) 1996-06-04

Family

ID=17728713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6288324A Pending JPH08142418A (en) 1994-11-22 1994-11-22 Control device for printer

Country Status (1)

Country Link
JP (1) JPH08142418A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7061640B1 (en) 1999-02-18 2006-06-13 Sharp Kabushiki Kaisha Image processing apparatus that compresses and divides image data for storage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7061640B1 (en) 1999-02-18 2006-06-13 Sharp Kabushiki Kaisha Image processing apparatus that compresses and divides image data for storage

Similar Documents

Publication Publication Date Title
JP4366408B2 (en) Graphic image compression system and method
JP3453407B2 (en) Image processing apparatus, image output apparatus, image output system, and method thereof
JP5439510B2 (en) Image forming apparatus and image forming program
US6238105B1 (en) Processor/memory non-intensive rendering for page printers
JP3201448B2 (en) Encoding / decoding device, encoding device, and decoding device
JP3720432B2 (en) Image processing apparatus and method
KR100477777B1 (en) Method, system, program, and data structure for generating raster objects
JP3685234B2 (en) Image processing device
JP4035907B2 (en) Image forming system and control method thereof
JPH08142418A (en) Control device for printer
JP2001219601A (en) Print controller and data processing method thereof
JP3695498B2 (en) Image processing device
JP4400709B2 (en) Image processing apparatus and image processing method
JPH10207645A (en) Method for controlling output and device therefor and picture formation device equipped with the same device and storage medium for storing program for executing the same method
JP2001169120A (en) Method, device, and system for image processing
JPH10329363A (en) Device and method for image forming, and printer
JP2004254187A (en) Information processor
JPH118771A (en) Image output device/method and storage medium storing program which computer can read
JP2000181639A (en) Printing system
JPH05250109A (en) Color image output device
JP3093245B2 (en) Image processing device, output control device, image processing system and method
JP2020090075A (en) Image formation device and image formation method
JP2000238347A (en) Printer control device
JPH09154009A (en) Printer system
JP2000092315A (en) Image processing unit