JP3450961B2 - Printing apparatus and control method thereof - Google Patents

Printing apparatus and control method thereof

Info

Publication number
JP3450961B2
JP3450961B2 JP08666196A JP8666196A JP3450961B2 JP 3450961 B2 JP3450961 B2 JP 3450961B2 JP 08666196 A JP08666196 A JP 08666196A JP 8666196 A JP8666196 A JP 8666196A JP 3450961 B2 JP3450961 B2 JP 3450961B2
Authority
JP
Japan
Prior art keywords
data
intermediate data
bitmap
stored
format
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
JP08666196A
Other languages
Japanese (ja)
Other versions
JPH09277616A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP08666196A priority Critical patent/JP3450961B2/en
Publication of JPH09277616A publication Critical patent/JPH09277616A/en
Application granted granted Critical
Publication of JP3450961B2 publication Critical patent/JP3450961B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタ及びその
制御方法に関し、特に、中間データのメモリ容量を少な
くすることができるプリンタ及びその制御方法に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer and a control method thereof, and more particularly to a printer and a control method thereof which can reduce the memory capacity of intermediate data.

【0002】[0002]

【従来の技術】パーソナルコンピュータなどのホストコ
ンピュータでは、オペレータが直接頁記述言語を用いて
画面を描いたり、(即ち画面を定義するコードないしデ
ータを入力してゆく)画面に対応した頁記述コードを自
動生成する描画用アプリケーションソフトウエアを使用
したりして描画データを作成する。この頁記述言語は、
オペレータにとって認識し易くかつ入力データ数も少な
くてすむように工夫されている。ホストコンピュータの
側でコードをビットマップに展開し、展開されたビット
マップを出力装置の側へ送ることで必要な出力が行われ
る方式によると、ホストコンピュータの負担が高くな
る。そこでコードをビットマップへ展開する処理を出力
装置の側で行う。
2. Description of the Related Art In a host computer such as a personal computer, an operator directly draws a screen using a page description language, or a page description code corresponding to the screen is input (that is, a code defining the screen or data is input). Create drawing data by using the automatically created drawing application software. This page description language is
It is designed so that it is easy for the operator to recognize and the number of input data is small. According to the method in which the host computer side develops the code into a bitmap and sends the developed bitmap to the output device side to perform necessary output, the load on the host computer increases. Therefore, the process of expanding the code into a bitmap is performed on the output device side.

【0003】コードをビットマップへ展開するにあたっ
て、一旦プリンタの制御に適した形式の中間データに変
換する方法が普及している。例えば、コードが「円を描
く」というコードである場合、まず、それを多数の頂点
を持つ正多角形を示すデータに変換してメモリに記憶す
るとともに、その「円」が描かれる頁上の位置を示すデ
ータも記憶しておく。この形式の中間データに変換して
おくと、印刷処理を行う際、「円を描く」というコード
から直接的にビットマップへ展開するよりも高速にビッ
トマップへ展開できることになる。この中間データにつ
いては種々の形式が提案されており、前述したような、
曲線図形を近似する直線図形に変形しその頂点の座標を
記憶する例(以下頂点形式と呼ぶ。後述する多角形中間
データもこの形式に属するものである。)、画素形成手
段(例えばレーザープリンタの場合のレーザー)の走査
線ごとに、印刷開始位置と印刷終了位置(例えば、黒の
画素の開始点と終了点、あるいは、開始点と黒の画素の
連続する長さ)を示すデータに変換する例(以下ランレ
ングス形式と呼ぶ。)等が存在する。更に、1頁分の頁
記述コードをビットマップに展開するためにバンド処理
という手法が普及している。この方式では、1頁を複数
の領域(各領域をバンドという)で構成されるものとし
て、各領域毎にビットマップへ展開し、順次印刷してい
くものである。
When the code is expanded into a bit map, a method of once converting it into intermediate data of a format suitable for printer control has become widespread. For example, when the code is "draw a circle", first, it is converted into data showing a regular polygon having many vertices and stored in memory, and the "circle" is drawn on the page. Data indicating the position is also stored. When converted into intermediate data of this format, when performing printing processing, it is possible to develop a bitmap into a bitmap at a higher speed than when the code "draw a circle" is directly expanded to the bitmap. Various formats have been proposed for this intermediate data, and as described above,
An example in which a curved figure is transformed into an approximate linear figure and the coordinates of its vertices are stored (hereinafter referred to as a vertex format. Polygon intermediate data described later also belongs to this format), pixel forming means (for example, in a laser printer). (Laser in this case) for each scanning line, it is converted into data indicating the print start position and print end position (for example, the start point and end point of the black pixel, or the continuous length of the start point and the black pixel). Examples (hereinafter referred to as run length format) exist. Further, a method called band processing has become widespread in order to develop a page description code for one page into a bitmap. In this method, one page is made up of a plurality of areas (each area is called a band), each area is developed into a bitmap, and sequentially printed.

【0004】この場合、図4に示すように、展開された
ビットマップを一時記憶する2個のバンドバッファ2
3、24を用い、一方のバンドバッファ23に記憶され
ているビットマップに基づいて一つの領域への表示ない
し印刷を実行するのと並行して、次のバンド(領域)に
ついてビットマップへの展開処理を進めて展開されたビ
ットマップを他方のバンドバッファ24に記憶する。こ
のように、一つの領域に対する出力と次の領域に対する
ビットマップの展開が終了すると、次には他方のバンド
バッファに展開されているビットマップによってその次
の領域(バンド)への出力を続け、それと同時並行して
更に別のバンド(領域)におけるビットマップへの展開
処理を続ける。〜は上述の動作の順序を示す。な
お、とは並行に処理され、同様にとが並行に処
理され、更に、とも並行に処理される。この方式に
よると、1頁中の一部領域をカバーすることができるだ
けの記憶容量を持つバンドバッファを2つ用いれば足り
ることから、1頁を3バンド(領域)以上に区割りする
ことによって、展開されたビットマップを記憶しておく
バンドバッファの合計記憶容量を低下できる。
In this case, as shown in FIG. 4, two band buffers 2 for temporarily storing the expanded bitmap are used.
3 and 24 are used to display or print one area based on the bitmap stored in one of the band buffers 23, and at the same time, develop the next band (area) into a bitmap. The processed bitmap is expanded and stored in the other band buffer 24. In this way, when the output for one area and the expansion of the bitmap for the next area are completed, then the output to the next area (band) is continued by the bitmap expanded in the other band buffer, At the same time, the process of expanding to a bitmap in another band (region) is continued. ~ Indicates the order of the above operations. In addition, and are processed in parallel, similarly and are processed in parallel, and further, are processed in parallel. According to this method, it suffices to use two band buffers having a storage capacity capable of covering a partial area in one page. Therefore, by dividing one page into three bands (areas) or more, development is performed. It is possible to reduce the total storage capacity of the band buffer that stores the stored bitmap.

【0005】[0005]

【発明が解決しようとする課題】上記従来例では、大部
分の場合において、多角形中間データの容量がビットマ
ップ中間データ(多角形中間データをビットマップ化し
た中間データ)の容量より小さいので、画像のコードデ
ータを全て多角形中間データに変換してデータメモリに
記憶している。しかし、ビットマップ中間データの容量
が多角形中間データの容量より小さい場合には、多角形
中間データを記憶することによりかえって必要な中間デ
ータメモリの容量が大きくなるという欠点があった。し
たがって、本願発明の目的は、上述の従来例の欠点をな
くし、多角形中間データの容量がビットマップ中間デー
タの容量より大きい場合でも、中間データメモリの容量
を小さくすることができるプリンタ及びその制御方法を
提供することである。
In most of the above-mentioned conventional examples, the capacity of polygon intermediate data is smaller than the capacity of bitmap intermediate data (intermediate data obtained by converting polygon intermediate data into bitmap). All image code data is converted into polygonal intermediate data and stored in the data memory. However, when the capacity of the bitmap intermediate data is smaller than the capacity of the polygon intermediate data, there is a disadvantage that the capacity of the intermediate data memory required to store the polygon intermediate data becomes large. Therefore, an object of the present invention is to eliminate the above-mentioned drawbacks of the conventional example, and to reduce the capacity of the intermediate data memory even when the capacity of the polygonal intermediate data is larger than the capacity of the bitmap intermediate data, and the control thereof. Is to provide a method.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するた
め、本願の第1の発明の構成は、外部から入力される頁
記述コードに基づいて印刷する印刷装置であって、制御
手段と、複数の中間データ記憶手段と、少なくとも2つ
のバンドバッファと、印刷手段とを備え、各バンドバッ
ファは、1頁を所定数に分割した1つの領域に対応する
容量を有しており、制御手段は、外部から入力される頁
記述コードを解析して、頁記述コード毎に、第1中間デ
ータ形式または第2中間データ形式における容量が少な
い方のデータ形式を選択して中間データに変換して中間
データ記憶手段に記憶するとともに、当該変換した中間
データに対応する頁記述コードで記述される図形の頁上
での位置を示す指示データを求め、当該指示データを前
記中間データに対応させて記 憶し、頁記述コード毎に記
憶した前記中間データを、当該中間データに対応する指
示データの示す位置に基づいてビットマップデータに展
開してバンドバッファに記憶し、印刷手段は、バンドバ
ッファに記憶されたビットマップデータに基づいて印刷
することを特徴とする印刷装置である。
In order to solve the above problems, the structure of the first invention of the present application is a page input from the outside.
A printing device that prints based on a description code and controls
Means, a plurality of intermediate data storage means, and at least two
Each band buffer is equipped with a band buffer of
The fa corresponds to one area obtained by dividing one page into a predetermined number.
It has a capacity and the control means is a page input from the outside.
The description code is analyzed and the first intermediate data is analyzed for each page description code.
Data capacity or second intermediate data format is small
Select which data format you want and convert it to intermediate data
The data is stored in the data storage means and the converted intermediate
On the page of the figure described by the page description code corresponding to the data
To obtain the instruction data indicating the position at
Serial to correspond to the intermediate data memorize, serial for each page description code
The stored intermediate data is stored in the finger corresponding to the intermediate data.
The bitmap data is expanded based on the position indicated by the indicated data.
Open it and store it in the band buffer.
Printing based on the bitmap data stored in the buffer
A printing device characterized by the following.

【0007】上記第1の発明の構成により、第1中間デ
ータ形式又は第2中間データ形式のうちの容量の小さい
方を記憶することになり、中間データ記憶手段の容量を
小さくするとができる。
With the configuration of the first invention, the first intermediate data
It will be stored smaller capacity of over data format or the second intermediate data format can Reducing the capacity of the intermediate data storage unit.

【0008】更に、第2の発明の構成は、請求項1に記
載の印刷装置であって、第1中間データ形式で変換され
た中間データは頂点形式で図形の形状を座標で表した多
角形中間データであり、第2中間データ形式で変換され
た中間データは多角形中間データをビットマップ化した
ビットマップ中間データであることを特徴とする印刷装
置である。
Further, the structure of the second invention is described in claim 1.
The printing device on-board, which is converted in the first intermediate data format.
The intermediate data is a vertex format that represents the shape of the figure in coordinates.
This is rectangular intermediate data, which is converted in the second intermediate data format.
The intermediate data is a polygonal intermediate data that has been converted into a bitmap.
Printing device characterized by being bitmap intermediate data
It is a place.

【0009】上記第2の発明の構成により、上記第1の
発明の作用とともに、第1中間データ形式による中間デ
ータが多角形中間データであり、第2中間データ形式に
よる中間データがビットマップ中間データであるので、
ビットマップ中間データをビットマップデータに変換す
ることが多角形中間データをビットマップデータに展開
することよりも高速でできるため、印刷装置の印刷速度
を速くすることができる。
According to the configuration of the second invention , the first
With the operation of the invention , the intermediate data in the first intermediate data format is
Data is polygonal intermediate data, and is in the second intermediate data format.
Since the intermediate data according to is the bitmap intermediate data,
Since the bitmap intermediate data can be converted into the bitmap data at a higher speed than the polygon intermediate data is expanded into the bitmap data, the printing speed of the printing apparatus can be increased.

【0010】更に、第3の発明の構成は、外部から入力
される頁記述コードに基づいて、1頁を所定数に分割し
た領域毎に印刷する印刷装置の制御方法であって、外部
から入力される頁記述コードを解析して、頁記述コード
毎に、第1中間データ形式または第2中間データ形式に
おける容量が少ない方のデータ形式を選択して中間デー
タに変換して記憶するとともに、当該変換した中間デー
タに対応する頁記述コードで記述される図形の頁上での
位置を示す指示データを求め、当該指示データを前記中
間データに対応させて記憶し、頁記述コード毎に記憶し
た前記中間デー タを、当該中間データに対応する指示デ
ータの示す位置に基づいてビットマップデータに展開
し、展開したビットマップデータを各領域に対応させて
記憶し、各領域に対応させて記憶したビットマップデー
タに基づいて印刷することを特徴とする印刷装置の制御
方法である。
Further, according to the third aspect of the invention , an external input is used.
1 page is divided into a predetermined number based on the page description code
A method for controlling a printing device that prints in each area
The page description code input from is analyzed and the page description code
For each, the first intermediate data format or the second intermediate data format
Select the data format with the smaller capacity
Data is stored in the converted intermediate data.
On the page of the figure described by the page description code corresponding to
Find the instruction data indicating the position, and
Stored in correspondence with the inter-data, and stored for each page description code
Instruction de wherein the intermediate data, corresponding to the intermediate data
Expanded to bitmap data based on the position indicated by the data
Then, correspond the developed bitmap data to each area.
Bitmap data that is stored and stored in association with each area
Control of a printing device characterized by printing based on
Is the way.

【0011】上記第3の発明の構成により、上記第1の
発明と同様に、第1中間データ形式又は第2中間データ
形式のうち容量の小さい方を記憶するので、中間データ
記憶手段の容量を小さくすることができる。
With the configuration of the third invention, as in the first invention, the first intermediate data format or the second intermediate data is formed.
Since the one with the smaller capacity is stored, the capacity of the intermediate data storage means can be reduced.

【0012】更に、第4の発明の構成は、請求項3に記
載の印刷装置の制御方法であって、第1中間データ形式
で変換された中間データは頂点形式で図形の形状を座標
で表した多角形中間データであり、第2中間データ形式
で変換された中間データは多角形中間データをビットマ
ップ化したビットマップ中間データであることを特徴と
する印刷装置の制御方法である。
Further, the structure of the fourth invention is described in claim 3.
A method for controlling the printing device according to claim 1, wherein the first intermediate data format
The intermediate data converted by
It is the polygon intermediate data represented by, and is the second intermediate data format.
The intermediate data converted by
It is characterized by being bitmap intermediate data
And a method for controlling a printing device.

【0013】上記第4の発明の構成により、上記第3の
発明の作用とともに、第1中間データ形式による中間デ
ータが多角形中間データであり、第2中間データ形式に
よる中間データがビットマップ中間データであるので、
上述のように、ビットマップ中間データをビットマップ
データに変換することが多角形中間データをビットマッ
プデータに展開することよりも高速でできるため、印刷
装置の印刷速度を速くすることができる。
According to the structure of the above-mentioned fourth invention , the above-mentioned third invention is provided.
With the operation of the invention , the intermediate data in the first intermediate data format is
Data is polygonal intermediate data, and is in the second intermediate data format.
Since the intermediate data according to is the bitmap intermediate data,
As described above, since it is possible to convert bitmap intermediate data into bitmap data at a higher speed than to expand polygon intermediate data into bitmap data, printing
The printing speed of the device can be increased.

【0014】[0014]

【発明の実施の形態】図1は本願発明の実施の形態を実
施するブロックダイアグラムを示し、具体的には、中間
データへの変換処理とバンド処理をともに実行する印刷
装置の制御体系を示す。この印刷装置1は、ホストコン
ピュータ2と信号線3で接続されて用いられ、CPU4
を中心とするコンピュータシステムを内蔵している。即
ち、CPU4、インターフェース5、ROM6、RAM
7がバス8で接続されて、コンピュータシステムが形成
され、このコンピュータシステムで印刷手段9が制御さ
れる。インターフェイス5はホストコンピュータ2との
間でデータの送受を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a block diagram for carrying out an embodiment of the present invention, and more specifically, shows a control system of a printing apparatus for executing both conversion processing into intermediate data and band processing. The printer 1 is used by being connected to a host computer 2 through a signal line 3 and uses a CPU 4
Built-in computer system centered around. That is, CPU 4, interface 5, ROM 6, RAM
7 are connected by a bus 8 to form a computer system, and the printing means 9 is controlled by this computer system. The interface 5 sends and receives data to and from the host computer 2.

【0015】ROM6には、ホストコンピュータ2から
送られてくる頁記述コード10を受信して受信バッファ
11に記憶するプログラム、受信バッファ11に記憶さ
れた頁記述コード10を解析して適宜中間データに変換
するプログラム、変換された中間データを基にビットマ
ップデータを作成するプログラム、作成されたビットマ
ップデータに基づいて印刷手段9を制御するプログラム
等が記憶されており、CPU4によって適宜これらのプ
ログラムが実行される。また、フォントROM12に
は、頁記述コード10が文字コードである場合に備え
て、その文字コードで特定される文字を形成するための
形状がビットマップデータあるいはアウトラインデータ
として記憶されている。RAM7には、受信バッファ1
1の他、1頁上の各バンド13、14、15に対応して
中間データを記憶する領域(以下ブロックと呼ぶ。)
(16、17)、(18、19)、(20、21)と、
2つのバンドバッファ23、24と、ワークメモリ22
を持っている。ワークメモリ22は、上述の各プロブラ
ムに基づいてCPU4が処理を行う際、各種データを一
時的に記憶するために用いられる。
A program for receiving the page description code 10 sent from the host computer 2 and storing it in the reception buffer 11 is analyzed in the ROM 6, and the page description code 10 stored in the reception buffer 11 is analyzed to appropriately generate intermediate data. A program for converting to, a program for creating bitmap data based on the converted intermediate data, a program for controlling the printing unit 9 based on the created bitmap data, and the like are stored, and these programs are appropriately stored by the CPU 4. Is executed. In addition, in case the page description code 10 is a character code, the font ROM 12 stores a shape for forming a character specified by the character code as bitmap data or outline data. In the RAM 7, the reception buffer 1
In addition to 1, an area for storing intermediate data corresponding to each band 13, 14, 15 on one page (hereinafter referred to as a block).
(16, 17), (18, 19), (20, 21),
Two band buffers 23 and 24 and work memory 22
have. The work memory 22 is used to temporarily store various data when the CPU 4 performs processing based on each of the above programs.

【0016】中間データを記憶するブロック(16、1
7)、(18、19)、(20、21)は、1頁を分割
するバンド(領域)の数だけ存在し、各バンド別に中間
データを記憶する。中間データは、パケットと形状中間
データあるいは文字中間データとで構成される。形状中
間データには、頂点形式で図形の形状を表す多角形中間
データや、ラスタ方向の画素の有無で示すランレングス
形式で図形の形状を表すランレングス中間データや、ビ
ットマップデータ形式で形状を表すビットマップ中間デ
ータ等がある。これらの形状中間データは、RAM7の
形状中間データ群記憶エリア17、19、21に記憶さ
れる。文字中間データは、使用するフォントの種類や文
字形状を特定するためのデータであり、フォントROM
12やRAM7のワークメモリ22にホストコンピュー
タ2から送られ記憶されているフォントデータを示すデ
ータや、フォントROM12のフォント形状データ(例
えばアウトラインデータ)に基づいてワークメモリ22
に作成されているビットマップに展開容易な形状中間デ
ータである。
Blocks (16, 1) for storing intermediate data
7), (18, 19) and (20, 21) exist as many as the number of bands (areas) dividing one page, and intermediate data are stored for each band. The intermediate data is composed of a packet and shape intermediate data or character intermediate data. The shape intermediate data includes polygonal intermediate data that represents the shape of the figure in the vertex format, run length intermediate data that represents the shape of the figure in the run length format that indicates the presence or absence of pixels in the raster direction, and shape in the bitmap data format. There is bitmap intermediate data and the like to represent. These shape intermediate data are stored in the shape intermediate data group storage areas 17, 19, 21 of the RAM 7. The character intermediate data is data for specifying the type of font used and the character shape, and is used in the font ROM.
12 or the work memory 22 of the RAM 7 based on the data indicating the font data sent from the host computer 2 and stored in the work memory 22 or the font shape data (for example, outline data) of the font ROM 12.
It is shape intermediate data that can be easily expanded to the bitmap created in.

【0017】また、各パケットP1 〜Pn は、頁記述コ
ード10で示される図形や文字毎に設けられ、識別子2
5、色26、位置27、ポインタ28等で構成される。
識別子25は、ポインタ28で示される中間データをい
かなる形式で記憶しているか、例えばフォントROM1
2内のアドレスを指定しているのか、形状中間データ群
の中の多角形中間データを指定しているのか、ランレン
グス中間データを指定しているのか、ビットマップ中間
データを指定しているのかといった識別を行う為のデー
タである。色26は、色を指定するデータである。カラ
ープリンタの場合、頁記述コード10で記述される図形
や文字に対応して、それらの色を指定する頁記述コード
10も送られてくる。その色指定に基づいてこの色26
を設定する。モノカラープリンタの場合は、必ずしも必
要でないエリアである。位置27は、頁記述コード10
で記述される図形または文字の頁中での位置を示し、こ
れは頁記述コード10自体で指定されたり、頁記述コー
ド10が送られる順序から決められる。ポインタ28
は、このパケットで示される図形や文字の形状中間デー
タあるいは文字中間データが記憶されているメモリのア
ドレスを示すものである。
Each packet P 1 to P n is provided for each figure or character indicated by the page description code 10 and has an identifier 2
5, color 26, position 27, pointer 28, etc.
The identifier 25 stores in what format the intermediate data indicated by the pointer 28 is stored, for example, the font ROM 1
Whether the address in 2 is specified, polygon intermediate data in the shape intermediate data group is specified, run length intermediate data is specified, or bitmap intermediate data is specified. This is the data for identifying. The color 26 is data designating a color. In the case of a color printer, the page description code 10 designating the colors of the figures and characters described by the page description code 10 is also sent. This color based on that color designation 26
To set. In the case of a mono-color printer, this area is not always necessary. Position 27 is page description code 10
The position on the page of the figure or character described by is indicated by the page description code 10 itself or is determined from the order in which the page description code 10 is sent. Pointer 28
Indicates the address of the memory in which the shape intermediate data of the figure or character indicated by this packet or the character intermediate data is stored.

【0018】この印刷装置1の場合、受信バッファ11
に頁記述コード10が記憶されると、この頁記述コード
10を順次解析してその種類に合わせた形式の中間デー
タへの変換が行われ、この変換された中間データが領域
(バンド)に対応するブロックに記憶される。そして、
1頁分の変換が終了すると、各ブロックに記憶された中
間データに基づいて、ブロック毎に2つのバンドバッフ
ァ23、24を交互に利用しながらビットマップデータ
に展開し、順次バンドバッファ23、24内に記憶され
たビットマップデータに基づいて1頁分の出力を行う
(図4参照)。また、図1では、各ブロック毎に各パケ
ットメモリ16、18、20と各形状中間データ群記憶
エリア17、19、21とが一対で記憶されるように示
しているが、必ずしもこのように一対に記憶されている
必要はない。各形状中間データ群記憶エリア17、1
9、21をRAM7内の1つのメモリ領域として割り当
て、更にその記憶された形状中間データをどのブロック
のパケットからも参照可能とするものであっても良い。
ここで、請求項に記載の中間データ記憶手段に相当する
ものが、各形状中間データ群記憶エリア17、19、2
1であり、第2中間データ記憶手段に相当するものが、
パケットメモリ16、18、20であり、ビットマップ
データ記憶手段に相当するものが、バンドバッファ2
3、24である。また、指示データに相当するものがパ
ケットである。
In the case of this printing apparatus 1, the reception buffer 11
When the page description code 10 is stored in, the page description code 10 is sequentially analyzed and converted into intermediate data of a format suitable for the type, and the converted intermediate data corresponds to a region (band). Stored in the block. And
When the conversion for one page is completed, based on the intermediate data stored in each block, the two band buffers 23 and 24 are alternately used for each block to develop the bit map data, and the band buffers 23 and 24 are sequentially expanded. One page is output based on the bitmap data stored therein (see FIG. 4). Further, in FIG. 1, each packet memory 16, 18, 20 and each shape intermediate data group memory are stored for each block.
Although the areas 17, 19, and 21 are shown as being stored in a pair, they are not necessarily stored in such a pair. Each shape intermediate data group storage area 17, 1
9 and 21 may be allocated as one memory area in the RAM 7, and the stored shape intermediate data may be referred to by the packet of any block.
Here, what corresponds to the intermediate data storing means described in the claims is each shape intermediate data group storage area 17, 19, 2.
1, which corresponds to the second intermediate data storage means,
The packet memories 16, 18, and 20 corresponding to the bit map data storage means are the band buffers 2.
3 and 24. A packet corresponds to the instruction data.

【0019】図2は本実施の形態の処理手順を示すフロ
ーチャートであり、1頁の頁記述コード10がホストコ
ンピュータ2から入力され、そのコードに従って1頁分
の印刷を行う処理手順を示している。先ず、CPU4
は、ステップS1にて、RAM7のワークメモリ22や
各パケットメモリ16、18、20や形状中間データ群
記憶エリア17、19、21等を初期化する。この時、
必要に応じて形状中間データ群記憶エリア17、19、
21に記憶されている形状中間データを消去して、メモ
リエリアを確保する処理も行う。その後、ステップS2
へ進み、画像情報を示す頁記述コード10を入力し、ス
テップS3に進み、入力したコードデータに基づいて中
間データを作成する。ここで、コードデータには、前述
したように図形を表すものの他、文字を表すものやその
他の制御コードも含まれるので、それらのコードに合っ
た中間コードが作成されることになる。ここでは、簡単
の為に、図形を表すコードデータが入力される場合につ
いて説明を行う。この場合、中間データとして、図形の
形状を表す図形中間データと頁上の位置を表すパケット
が作成される。
FIG. 2 is a flow chart showing the processing procedure of the present embodiment, and shows the processing procedure for inputting the page description code 10 for one page from the host computer 2 and printing one page according to the code. . First, CPU4
In step S1, the work memory 22 of the RAM 7, the packet memories 16, 18, 20 and the shape intermediate data group storage areas 17, 19, 21 and the like are initialized. At this time,
If necessary, shape intermediate data group storage areas 17, 19,
The process of erasing the shape intermediate data stored in 21 to secure the memory area is also performed. Then, step S2
Then, the page description code 10 indicating the image information is input, and the process proceeds to step S3 to create intermediate data based on the input code data. Here, since the code data includes not only the graphic as described above but also the character and other control codes, an intermediate code suitable for those codes is created. Here, for the sake of simplicity, a case where code data representing a figure is input will be described. In this case, as the intermediate data, the graphic intermediate data representing the shape of the graphic and the packet representing the position on the page are created.

【0020】ステップS4では、ステップS3で作成さ
れた中間データが図形を表すものであった場合、その作
成された中間データのうち形状中間データの容量を算出
し(第1算出手段)、その後、ステップS5へ進む。こ
こで、図3(a)は、多角形中間データの容量の算出方
法を説明している。多角形として頂点31、32、3
3、34を有する四角形の場合、各頂点31、32、3
3、34の座標を4バイトで表すと、4つの頂点では4
バイトの4倍の16バイトが多角形としての四角形中間
データの容量となる。なお、多角形中間データの特徴は
次のようになる。即ち、データ容量が図形の大きさに
依存しない。データ容量が出力解像度に依存しない。
図形の頂点数が増加すると、データ容量が増加する。
In step S4, if the intermediate data created in step S3 represents a figure, the capacity of the shape intermediate data in the created intermediate data is calculated (first calculating means), and thereafter, Go to step S5. Here, FIG. 3A illustrates a method of calculating the capacity of polygon intermediate data. Vertices 31, 32, 3 as polygons
In the case of a rectangle having 3, 34, each vertex 31, 32, 3
If the coordinates of 3 and 34 are represented by 4 bytes, then 4 points will be 4
16 bytes, which is four times the byte, is the capacity of the quadrangle intermediate data as a polygon. The characteristics of the polygonal intermediate data are as follows. That is, the data capacity does not depend on the size of the figure. Data capacity does not depend on output resolution.
The data capacity increases as the number of vertices of the figure increases.

【0021】ステップS5において、ステップS3で作
成された多角形中間データに基づいて、この図形をビッ
トマップ化して記憶した場合に必要となるメモリ容量即
ちビットマップ中間データの容量(B)を算出し(第2
算出手段)、ステップS6に進む。ここで、図3(b)
は、図3(a)に示す四角形をビットマップ化した中間
データの容量の算出方法を説明している。この場合、第
1ラインの出力ドット41、42、43、第2ラインの
出力ドット44、45、46及び第3ラインの出力ドッ
ト47、48、49により四角形が描かれている。1つ
の出力ドットは1ビットであるので、1ラインに必要な
3ドットでは3ビットになるが、コンピュータでは最小
の1バイトとして扱われる。したがって、3ラインでは
1バイトの3倍の3バイトになる。このため、前記四角
形のビットマップ中間データの容量は3バイトになる。
In step S5, based on the polygon intermediate data created in step S3, the memory capacity required when this figure is converted into a bitmap and stored, that is, the capacity (B) of the bitmap intermediate data is calculated. (Second
(Calculation means), and the process proceeds to step S6. Here, FIG. 3 (b)
Describes a method of calculating the capacity of intermediate data obtained by bitmapping the quadrangle shown in FIG. In this case, a quadrangle is drawn by the output dots 41, 42, 43 of the first line, the output dots 44, 45, 46 of the second line and the output dots 47, 48, 49 of the third line. Since one output dot is 1 bit, 3 dots required for 1 line is 3 bits, but it is treated as the minimum 1 byte by the computer. Therefore, 3 lines have 3 bytes, which is 3 times 1 byte. Therefore, the capacity of the rectangular bitmap intermediate data is 3 bytes.

【0022】このステップS5の処理を行う際、すべて
の多角形中間データに対して上述のようなビットマップ
に展開したものを想定した計算を行っていたのでは、全
体の処理速度が低下するおそれがある。そのため、上述
のようなビットマップの記憶に基づく算出を行う前に、
多角形中間データの各頂点座標データから推定される図
形の大きさ(一般的にバウンディングボックスと呼ばれ
るもの)を先ず計算して、所定の大きさ以下になるもの
に対してのみ上述の算出を行うようにした方が良い。ま
た、図3(b)からも判るように実際にバンドバッファ
23、24へ展開された時の図形の大きさ(図中斜線で
示される9ビット)よりも、CPU4の扱うデータ単位
(ここではバイト)によっては、ビットマップ中間デー
タの容量は大きくなってしまう。その為、CPU4の扱
うデータ単位によって算出方法を変えることも必要にな
る。なお、ビットマップ化した中間データの特徴は次の
ようになる。即ち、図形が大きくなるとデータ容量が
増加する。プリンタの出力解像度が高くなるとデータ
容量が増加する。データ容量が図形の頂点数に依存し
ない。
When the processing of step S5 is performed, if calculation is performed on the assumption that the polygonal intermediate data is expanded into the above-mentioned bitmap, the overall processing speed may be reduced. There is. Therefore, before performing the calculation based on the storage of the bitmap as described above,
First, the size of a figure (generally called a bounding box) estimated from each vertex coordinate data of polygonal intermediate data is calculated, and the above calculation is performed only for those that are smaller than a predetermined size. It is better to do so. Further, as can be seen from FIG. 3B, the data unit handled by the CPU 4 (here, the size of the figure when it is actually expanded into the band buffers 23 and 24 (9 bits shown by diagonal lines in the figure) Depending on the number of bytes, the capacity of the bitmap intermediate data becomes large. Therefore, it is necessary to change the calculation method depending on the data unit handled by the CPU 4. The characteristics of the bit-mapped intermediate data are as follows. That is, the larger the figure, the larger the data capacity. The data capacity increases as the output resolution of the printer increases. The data capacity does not depend on the number of vertices of the figure.

【0023】ステップS6において、前述の中間データ
の容量A、Bの比較を行う。記憶容量だけが問題になる
場合は、単純にA>Bか否かを判定すればよい(請求項
での所定量が0である)。ただし、処理速度も考慮に入
れて判断する場合も考えられ、その場合、バンドバッフ
ァ23、24にビットマップデータとして展開する際、
多角形中間データよりも処理を高速に行えるビットマッ
プ中間データを優先的に記憶しておけるように、所定量
(C)の差を持たせて判定してもよい。即ち、A>B+
Cを判定してもよい。ここで、判別結果がNO、即ち、
A≦BであればステップS8に進み、YES、即ち、A
>Bであれば、ステップS7へ進む。ステップS7にお
いて、多角形中間データをビットマップ中間データに置
き換え、多角形中間データを消去し、ステップS8へ進
む。
In step S6, the above-mentioned intermediate data capacities A and B are compared. If only the storage capacity is a problem, it may be simply determined whether or not A> B (the predetermined amount in the claims is 0). However, the processing speed may also be taken into consideration when making the determination. In that case, when the band buffers 23 and 24 are expanded as bitmap data,
The determination may be made with a difference of a predetermined amount (C) so that the bitmap intermediate data that can be processed at a higher speed than the polygonal intermediate data can be preferentially stored. That is, A> B +
C may be determined. Here, the determination result is NO, that is,
If A ≦ B, the process proceeds to step S8, YES, that is, A
If> B, the process proceeds to step S7. In step S7, the polygon intermediate data is replaced with the bitmap intermediate data, the polygon intermediate data is erased, and the process proceeds to step S8.

【0024】ステップS8において、前述のステップS
3あるいはS8で得られた形状中間データに対応させた
パケットをパケットメモリ16、18、20の少なくと
も1つに記憶する。この場合、多角形中間データの容量
(A)がビットマップ中間データの容量(B)以下の場
合は、このパケットは、形状中間データ群記憶エリア1
7、19、21に記憶されている多角形中間データのア
ドレスを記憶し、AがBより大きい場合は、形状中間デ
ータ群記憶エリア17、19、21に多角形中間データ
に代えて記憶されているビットマップ中間データのアド
レスを記憶することになる。その後、ステップS9へ進
む。
In step S8, the above-mentioned step S
3 or the packet corresponding to the shape intermediate data obtained in S8 is stored in at least one of the packet memories 16, 18 and 20. In this case, if the capacity (A) of the polygonal intermediate data is less than or equal to the capacity (B) of the bitmap intermediate data, this packet indicates the shape intermediate data group storage area 1
The addresses of the polygon intermediate data stored in 7, 19 and 21 are stored. When A is larger than B, the addresses are stored in the shape intermediate data group storage areas 17, 19 and 21 instead of the polygon intermediate data. The address of the intermediate bitmap data is stored. Then, it progresses to step S9.

【0025】ステップS9において、コードデータを中
間データに変換することが1頁分終了したか否かを判別
する。判別結果がYESであればステップS10へ進
み、NOであればステップS2に戻り、次のコードデー
タの処理を行うことを繰り返す。ステップ10におい
て、印刷エンジンを起動する。その後、ステップS11
へ進み、印刷しようとするブロックのパケットを順次読
み出し、そのパケットの識別子25を基にこのパケット
で示される形状中間データが多角形中間データか否かを
判別する。判別結果がYESであればステップS12へ
進み、NOであればステップS13へ進む。
In step S9, it is determined whether the conversion of the code data into the intermediate data has been completed for one page. If the determination result is YES, the process proceeds to step S10, and if the determination result is NO, the process returns to step S2 to repeat the process of the next code data. In step 10, the print engine is started. Then, step S11
Then, the process advances to step S21 to sequentially read the packets of the block to be printed, and based on the identifier 25 of the packet, it is determined whether the shape intermediate data indicated by this packet is polygon intermediate data. If the determination result is YES, the process proceeds to step S12, and if NO, the process proceeds to step S13.

【0026】ステップS12において、多角形中間デー
タをビットマップに展開して、バンドバッファ23、2
4のいずれかに記憶する(第1ビットマップデータ形成
手段)。その後、ステップS14へ進む。ステップS1
3において、ビットマップ中間データをバンドバッファ
23、24のいずれかにコピーして(実際には、すでに
記憶してあるビットマップデータに上書きするために論
理和を取ったりする)図形の画像を表すビットマップデ
ータとして記憶する(第2ビットマップ形成手段)。こ
こで、このフローチャートにおいては、文字や制御コー
ドに対する中間データの処理についての説明を割愛した
が、ここで説明したステップS11乃至ステップS13
と同様にパケット内の識別子25に基づいて適宜、ビッ
トマップデータに展開されたり、制御が行われるもので
ある。その後、ステップS14へ進む。
In step S12, the polygonal intermediate data is developed into a bit map, and the band buffers 23 and 2 are output.
4 (stored in any one of 4) (first bitmap data forming means). Then, it progresses to step S14. Step S1
3, the intermediate bitmap data is copied to one of the band buffers 23 and 24 (actually, the logical sum is added to overwrite the already stored bitmap data) to represent a graphic image. It is stored as bitmap data (second bitmap forming means). Here, in this flowchart , the description of the processing of the intermediate data for the character and the control code is omitted, but the steps S11 to S13 described here are omitted.
Similarly to the above, the bitmap data is appropriately expanded or controlled based on the identifier 25 in the packet. Then, it progresses to step S14.

【0027】ステップS14においては、所定のブロッ
ク内の中間データ、正確にはパケットをすべて処理した
か否かを判別する。判別結果がNOであるならば、ステ
ップS11に戻って処理を繰り返す。YESならば、ス
テップS15に進み、バンドバッファ23、24のいず
れかに展開されたビットマップデータを基に印刷を行
う。ここで、ステップS15の処理は周知の割り込み処
理のような時分割処理として行われ、その処理が行われ
る間に次のブロックの展開処理(S11乃至S13)も
行われている。ステップS16において、1頁分のブロ
ックの印刷処理終了したか否かが判別され、判別結果が
YESならば、ステップS17にて印刷した用紙を排紙
し、その後終了する。判別結果がNOであれば、全ての
ブロックの中間データのパケットを処理し終えるまで処
理を繰り返す。
In step S14, it is determined whether or not all of the intermediate data in a predetermined block, to be precise, the packet has been processed. If the determination result is NO, the process returns to step S11 and is repeated. If YES, the process proceeds to step S15, and printing is performed based on the bit map data expanded in either of the band buffers 23 and 24. Here, the process of step S15 is performed as a time-divisional process such as a well-known interrupt process, and the expansion process (S11 to S13) of the next block is also performed while the process is performed. In step S16, it is determined whether or not the printing process of the block for one page is completed. If the determination result is YES, the printed paper is ejected in step S17, and then the process is ended. If the determination result is NO, the process is repeated until the intermediate data packets of all blocks are processed.

【0028】このように、頁記述コード10で示された
図形をビットマップデータに展開容易な形式の中間デー
タに変換して一時記憶しておく場合、適宜、コードで表
される図形に対応する形状中間データの容量を算出し、
別の形式の形状中間データに置き換えた場合の容量とを
比較することにより、全てを同じ形式の図形形状を表す
形状中間データとして記憶するのではなく、図形の大き
さや形の複雑さ(多くの頂点を持つ)によっては、より
小さな記憶容量で記憶できる別の形式の形状中間データ
として記憶するようにできる。そのため、中間データを
記憶する記憶容量を小さくすることができるし、記憶容
量が同じならば、より多くの図形の中間データを記憶す
ることができる。また、このように中間データの記憶容
量を小さくする方法は、1頁分のビットマップデータを
一度に展開するメモリを持たないで中間データによって
仮想的に1頁をメモリ上に展開し、バンド処理を行って
ブロック毎に順次バンドバッファにビットマップデータ
を展開しながら印刷するタイプのプリンタで特に有効に
なる。1頁分のビットマップデータを一度に展開するメ
モリを持つものであっても、複数頁を印刷する場合、予
め中間データ化しておく場合等に有効である。
As described above, when the figure indicated by the page description code 10 is converted into intermediate data in a format that can be easily expanded into bit map data and temporarily stored, it corresponds to the figure represented by the code as appropriate. Calculate the size of the shape intermediate data,
By comparing with the capacity when it is replaced with the shape intermediate data of another format, not all are stored as the shape intermediate data representing the figure shape of the same format, but the size and shape complexity (of many Some vertices) can be stored as shape intermediate data in another format that can be stored with a smaller storage capacity. Therefore, the storage capacity for storing the intermediate data can be reduced, and if the storage capacity is the same, more intermediate data of figures can be stored. Further, a method of reducing the storage capacity of the intermediate data in this way is to expand one page on the memory virtually by the intermediate data without having a memory for expanding the bitmap data for one page at a time, and perform band processing. This is particularly effective for a printer of the type that performs printing while sequentially expanding the bitmap data in the band buffer for each block. Even if the memory has a memory for expanding the bitmap data for one page at a time, it is effective when printing a plurality of pages or converting the data into intermediate data in advance.

【0029】上述の実施の形態においては、図1で中間
データのパケットを記憶するパケットメモリ16、1
8、20が所定のサイズを持っているように示されてい
るが、このように各パケットメモリを別個のメモリ領域
に割り振るのではなく、1つのメモリ領域をパケットメ
モリに割り当て、先行するブロックのパケットと次のブ
ロックのパケットの間に識別可能なデータを挿入する等
の種々な方法が考えられる。さらに、上述の実施の形態
では、多角形中間データからビットマップ中間データへ
の変換を示したが、ランレングス中間データからビット
マップ中間データに変換することも同様に行うことがで
きる。ランレングス中間データの場合、短い周期で印字
画素と非印字画素が並ぶような図形の時、データの容量
が多くなる傾向があり、ビットマップデータとして記憶
した方が中間データとしての容量を小さくできる。ま
た、ランレングス中間データから多角形中間データに変
換することも同様に行える。例えば、ラスタを横切る距
離が長いような図形の場合、ラスタ数も多くなるのでラ
ンレングス中間データの容量も増加する傾向がある。そ
の場合、ラスタ数に依存しない、多角形中間データに置
き換えるのが記憶容量を小さくするのに有効となる。
In the above embodiment, the packet memories 16 and 1 for storing the packet of the intermediate data in FIG.
Although 8 and 20 are shown as having a predetermined size, instead of allocating each packet memory to a separate memory area in this way, one memory area is allocated to the packet memory and Various methods are conceivable, such as inserting identifiable data between the packet and the packet of the next block. Furthermore, in the above-described embodiment, the conversion from polygonal intermediate data to bitmap intermediate data is shown, but the conversion from run length intermediate data to bitmap intermediate data can be performed in the same manner. In the case of run-length intermediate data, the capacity of the data tends to increase in the case of a figure in which printed pixels and non-printed pixels are arranged in a short cycle, and the capacity of the intermediate data can be reduced by storing it as bitmap data. . Further, conversion from run length intermediate data to polygonal intermediate data can be performed in the same manner. For example, in the case of a graphic having a long distance across the raster, the number of rasters increases, and the capacity of run-length intermediate data tends to increase. In that case, replacing with polygon intermediate data that does not depend on the number of rasters is effective in reducing the storage capacity.

【0030】[0030]

【発明の効果】以上詳細に説明したように、本願の第1
の発明に係わる印刷装置によれば、印刷装置の中間デー
タ記憶手段の容量を小さくすることができる。このた
め、印刷装置のコストを低下させることができる。更
に、第2の発明に係わる印刷装置によれば、上記第1の
発明の効果とともに、印刷装置の印刷速度を速くする
とができる
As described in detail above, the first aspect of the present invention
According to the printing apparatus of the present invention, the capacity of the intermediate data storage means of the printing apparatus can be reduced. Therefore, the cost of the printing apparatus can be reduced. Furthermore, according to the printing apparatus according to the second invention, the first
With the effect of the invention, this to increase the printing speed of the printing device
You can

【0031】更に、第3の発明に係わる印刷装置の制御
方法によれば、上記第1の発明と同様に中間データの記
憶容量を小さくすることができるので、印刷装置のコス
トを低くすることができる。更に、第4の発明に係わる
印刷装置の制御方法によれば、上記第3の発明の効果と
ともに、印刷装置の印刷速度を速くすることができる。
Further, according to the control method of the printing apparatus according to the third invention , the storage capacity of the intermediate data can be reduced similarly to the first invention, so that the cost of the printing apparatus can be reduced. it can. Furthermore, it relates to the fourth invention .
According to the control method of the printing apparatus, together with the effects of the third invention, it is possible to increase the printing speed of the printing apparatus.

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

【図1】本願発明の実施の形態を実施するブロックダイ
アグラムである。
FIG. 1 is a block diagram for implementing an embodiment of the present invention.

【図2】前記実施の形態を説明するフローチャートであ
る。
FIG. 2 is a flowchart illustrating the embodiment described above.

【図3】前記実施の形態の動作を説明する説明図であ
る。
FIG. 3 is an explanatory diagram explaining an operation of the embodiment.

【図4】従来例及び前記実施の形態の動作を説明する説
明図である。
FIG. 4 is an explanatory diagram illustrating operations of a conventional example and the above-described embodiment.

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

1 印刷装置 4 CPU 6 ROM 7 RAM 9 印刷手段 10 頁記述コード 11 受信バッファ 13、14、15 バンド 22 ワークメモリ 23、24 バンドバッファ P1 〜Pn パケット 27 位置 S1〜S17 ステップ1〜ステップ171 printing device 4 CPU 6 ROM 7 RAM 9 printing means 10 page description code 11 reception buffer 13, 14, 15 band 22 work memory 23, 24 band buffer P 1 to P n packet 27 positions S 1 to S 17 steps 1 to step 17

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部から入力される頁記述コードに基づ
いて印刷する印刷装置であって、制御手段と、複数の中
間データ記憶手段と、少なくとも2つのバンドバッファ
と、印刷手段とを備え、 各バンドバッファは、1頁を所定数に分割した1つの領
域に対応する容量を有しており、 制御手段は、 外部から入力される頁記述コードを解析して、頁記述コ
ード毎に、第1中間データ形式または第2中間データ形
式における容量が少ない方のデータ形式を選択して中間
データに変換して中間データ記憶手段に記憶するととも
に、当該変換した中間データに対応する頁記述コードで
記述される図形の頁上での位置を示す指示データを求
め、当該指示データを前記中間データに対応させて記憶
し、 頁記述コード毎に記憶した前記中間データを、当該中間
データに対応する指示データの示す位置に基づいてビッ
トマップデータに展開してバンドバッファに記憶し、 印刷手段は、バンドバッファに記憶されたビットマップ
データに基づいて印刷する、ことを特徴とする印刷装
置。
1. Based on a page description code input from the outside
A printing device that prints with a control means and a plurality of
Data storage means and at least two band buffers
And a printing unit, and each band buffer has one area obtained by dividing one page into a predetermined number.
It has a capacity corresponding to the area, and the control means analyzes the page description code input from the outside and
First intermediate data format or second intermediate data format for each code
Select the data format with the smaller capacity in the formula and intermediate
Converted to data and stored in the intermediate data storage means
In the page description code corresponding to the converted intermediate data
Obtain instruction data that indicates the position on the page of the figure to be described.
Therefore, the instruction data is stored in association with the intermediate data.
The intermediate data stored for each page description code
Based on the position indicated by the instruction data corresponding to the data,
The bitmap data stored in the band buffer is used as the printing means.
Printing equipment characterized by printing based on data
Place
【請求項2】 請求項1に記載の印刷装置であって、 第1中間データ形式で変換された中間データは頂点形式
で図形の形状を座標で表した多角形中間データであり、
第2中間データ形式で変換された中間データは多角形中
間データをビットマップ化したビットマップ中間データ
である、ことを特徴とする印刷装置。
2. The printing apparatus according to claim 1, wherein the intermediate data converted in the first intermediate data format is a vertex format.
It is polygon intermediate data that represents the shape of the figure with coordinates,
Intermediate data converted in the second intermediate data format is a polygon
Bitmap intermediate data that is a bitmap of inter-data
A printing device characterized by:
【請求項3】 外部から入力される頁記述コードに基づ
いて、1頁を所定数に分割した領域毎に印刷する印刷装
置の制御方法であって、 外部から入力される頁記述コードを解析して、頁記述コ
ード毎に、第1中間データ形式または第2中間データ形
式における容量が少ない方のデータ形式を選択して中間
データに変換して記憶するとともに、当該変換した中間
データに対応す る頁記述コードで記述される図形の頁上
での位置を示す指示データを求め、当該指示データを前
記中間データに対応させて記憶し、 頁記述コード毎に記憶した前記中間データを、当該中間
データに対応する指示データの示す位置に基づいてビッ
トマップデータに展開し、展開したビットマップデータ
を各領域に対応させて記憶し、 各領域に対応させて記憶したビットマップデータに基づ
いて印刷する、ことを特徴とする印刷装置の制御方法。
3. Based on a page description code input from the outside
A printing device that prints each page by dividing it into a predetermined number of areas.
The page control code is analyzed by analyzing the page description code input from the outside.
First intermediate data format or second intermediate data format for each code
Select the data format with the smaller capacity in the formula and intermediate
Converted to data and stored, and the converted intermediate
On page figure described by the page description code that corresponds to the data
To obtain the instruction data indicating the position at
The intermediate data stored for each page description code is stored in association with the intermediate data.
Based on the position indicated by the instruction data corresponding to the data,
Bitmap data that has been expanded to map data and expanded
Is stored in association with each area and based on the bitmap data stored in association with each area.
A method for controlling a printing device, comprising:
【請求項4】 請求項3に記載の印刷装置の制御方法で
あって、 第1中間データ形式で変換された中間データは頂点形式
で図形の形状を座標で表した多角形中間データであり、
第2中間データ形式で変換された中間データは多角形中
間データをビットマップ化したビットマップ中間データ
である、ことを特徴とする印刷装置の制御方法。
4. A method for controlling a printing apparatus according to claim 3,
Then, the intermediate data converted by the first intermediate data format is the vertex format.
It is polygon intermediate data that represents the shape of the figure with coordinates,
Intermediate data converted in the second intermediate data format is a polygon
Bitmap intermediate data that is a bitmap of inter-data
A method for controlling a printing apparatus, comprising:
JP08666196A 1996-04-09 1996-04-09 Printing apparatus and control method thereof Expired - Fee Related JP3450961B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08666196A JP3450961B2 (en) 1996-04-09 1996-04-09 Printing apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08666196A JP3450961B2 (en) 1996-04-09 1996-04-09 Printing apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JPH09277616A JPH09277616A (en) 1997-10-28
JP3450961B2 true JP3450961B2 (en) 2003-09-29

Family

ID=13893227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08666196A Expired - Fee Related JP3450961B2 (en) 1996-04-09 1996-04-09 Printing apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP3450961B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008183780A (en) * 2007-01-29 2008-08-14 Ricoh Co Ltd Image formation device, printing processing method and printing processing program
JP5760728B2 (en) * 2011-06-14 2015-08-12 富士ゼロックス株式会社 Image processing apparatus, image forming apparatus, and program
JP6029344B2 (en) * 2012-06-20 2016-11-24 キヤノン株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JPH09277616A (en) 1997-10-28

Similar Documents

Publication Publication Date Title
EP0654759B1 (en) Printing apparatus
JPH0751371B2 (en) Page printer
JP6385406B2 (en) Image processing apparatus, image processing method, and program
JPH0930060A (en) Printer control method and device
EP0727732A1 (en) Output control method and apparatus and computer program product
JP2610993B2 (en) Information processing apparatus and method
US5889931A (en) Image output method and apparatus thereof
JP3450961B2 (en) Printing apparatus and control method thereof
JP2000335021A (en) Image processing apparatus and method
JP3450958B2 (en) Printing apparatus and printing method
JP3204136B2 (en) Image processing apparatus and compression processing method
JP2004334533A (en) Image processing device and method
JP4368652B2 (en) Printing processing method and apparatus
JP2002024840A (en) Drawing processing device
JP3260803B2 (en) Image processing device
JP3129133B2 (en) Color printing equipment
JP2737880B2 (en) Character processing apparatus and method
JPH10207662A (en) Image processor, image processing method, and image processing program storage medium
JP2937508B2 (en) Bitmap expansion method
JP3591096B2 (en) How to control a page printer
JPH08230250A (en) Printer
JP2000225735A (en) Image printer
JPH03112668A (en) Printer
JPH07135562A (en) Printer controller
JPH09174958A (en) Output apparatus and method

Legal Events

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130711

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees