JPH10244715A - Printer apparatus - Google Patents

Printer apparatus

Info

Publication number
JPH10244715A
JPH10244715A JP9067514A JP6751497A JPH10244715A JP H10244715 A JPH10244715 A JP H10244715A JP 9067514 A JP9067514 A JP 9067514A JP 6751497 A JP6751497 A JP 6751497A JP H10244715 A JPH10244715 A JP H10244715A
Authority
JP
Japan
Prior art keywords
page
bit pattern
intermediate code
bitmap
unit
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
JP9067514A
Other languages
Japanese (ja)
Inventor
Satoshi Nakamura
中村  聡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP9067514A priority Critical patent/JPH10244715A/en
Publication of JPH10244715A publication Critical patent/JPH10244715A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a printer apparatus which can quickly simultaneously process and print a plurality of pages of print data sent from a host apparatus, and moreover detect whether or not the plurality of pages printed simultaneously are proper, thereby preventing the printing process from being stagnant. SOLUTION: When a judgment part 6 confirms that an intermediate code conversion for a next page is completed from page information from an intermediate code conversion part 3, the part 6 waits for a bit map development part 4 to develop a bit pattern of the next page onto a bit map memory 5, and then continuously prints a plurality of pages including the next page. If the part 6 confirms that the intermediate code conversion for the next page is not completed, since it probably takes time to develop the bit pattern of the next page, thereby delaying a printing process by a printer engine 7 in the meantime, pages already stores in the bit map memory 5 are printed independently.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明はホスト装置等から
送られてきたプリントデータに従って記録用紙に画像を
形成するプリンタ装置、特に複数のページを連続して印
刷するときの処理時間の短縮を図るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer for forming an image on a recording sheet in accordance with print data sent from a host device or the like, and more particularly to a printer for shortening a processing time when a plurality of pages are continuously printed. It is.

【0002】[0002]

【従来の技術】プリンタ装置では、ホスト装置から連続
して送られてくるホスト装置固有のランゲージであるプ
リントデータをプリンタ装置で扱えるようにするため、
あらかじめ仮想的なプリンタ装置のランゲージである中
間コードを定義して、送られたプリントデータを中間コ
ードに変換している。そして、変換した1ページ単位毎
の中間コードに従って例えばビットマップメモリのビッ
トをオン・オフすることで印刷する画像のドットに対応
した1ページ単位のビットパターンを展開して格納さ
せ、格納した1ページ単位のビットパターンに従って画
像データを作成し、プリンタエンジンに送出することで
1ページ単位で記録用紙に画像を印刷している。
2. Description of the Related Art In a printer device, in order that print data, which is a language unique to the host device, continuously transmitted from the host device, can be handled by the printer device.
An intermediate code, which is a language of a virtual printer device, is defined in advance, and the transmitted print data is converted into the intermediate code. Then, for example, by turning on / off a bit of a bitmap memory in accordance with the converted intermediate code for each page unit, a bit pattern for each page corresponding to a dot of an image to be printed is developed and stored. The image data is created in accordance with the bit pattern of the unit, and is sent to the printer engine to print the image on the recording paper in units of one page.

【0003】[0003]

【発明が解決しようとする課題】上記のようにホスト装
置から送られたプリントデ−タを1ペ−ジ単位で印刷し
ているから、例えばA3サイズのプリントデ−タを印刷
できるプリンタ装置にA4サイズのプリントデ−タが送
られたときでも1ペ−ジずつ印刷しているため、A4サ
イズのプリントデ−タが連続して複数送られた場合の印
刷効率が悪く、全印刷処理に多くの時間を要した。
Since the print data sent from the host device is printed in units of one page as described above, for example, a printer device capable of printing A3 size print data is provided. Even when A4 size print data is sent, printing is performed one page at a time. Therefore, printing efficiency is poor when a plurality of A4 size print data are sent in succession. It took a lot of time.

【0004】この発明はかかる短所を解消するためにな
されたものであり、ホスト装置から送られたプリントデ
ータを同時に複数ペ−ジ分印刷して印刷処理を迅速にす
るとともに複数ペ−ジ分の同時印刷の適否を判定して印
刷処理が停滞するのを防ぐことができるプリンタ装置を
得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a disadvantage, and prints print data sent from a host device for a plurality of pages at the same time to speed up the printing process and to print the data. An object of the present invention is to provide a printer device that can determine whether or not simultaneous printing is appropriate and can prevent print processing from being stagnated.

【0005】[0005]

【課題を解決するための手段】この発明に係るプリンタ
装置は、中間コード変換部とビットマップ展開部とビッ
トマップメモリ及び判断部とを有し、中間コード変換部
はホスト装置から連続して送られたページ毎のプリント
データを複数の中間コードに変換してビットマップ展開
部に送出すると共に中間コードへの変換が終了したか否
かを示す各ページ情報を判断部に送出し、ビットマップ
展開部は送られた中間コードに従ってビットマップメモ
リ上にビットパターンを展開し、ビットマップメモリは
展開されたビットパターンを格納し、判断部は送られた
ページ情報によって次ページの中間コードの変換が終了
したか否かを確認し、変換が終了していないときは既に
ビットマップメモリに格納したページのビットパターン
に従って画像データを作成し、変換が終了したときはビ
ットマップメモリに格納した次ページを含むビットパタ
ーンに従って画像データを作成してプリンタエンジンに
送出することを特徴とする。
A printer device according to the present invention has an intermediate code conversion unit, a bitmap development unit, a bitmap memory and a judgment unit, and the intermediate code conversion unit continuously transmits from the host device. The print data for each page is converted into a plurality of intermediate codes and sent to a bitmap developing unit, and each page information indicating whether or not the conversion to the intermediate code is completed is sent to a determining unit, and the bitmap is developed. The part develops the bit pattern on the bit map memory according to the transmitted intermediate code, the bit map memory stores the developed bit pattern, and the determination part finishes the conversion of the intermediate code of the next page according to the transmitted page information. Check if the conversion has not been completed, and if the conversion has not been completed, the image data is It was created, wherein the sending by creating image data to the printer engine according to the bit pattern comprising the next page stored in the bit map memory is when the conversion is completed.

【0006】また、上記中間コード変換部はホスト装置
から連続して送られたページ毎のプリントデータを複数
の中間コードに変換してビットマップ展開部に送出する
と共にビットマップ展開部によってビットパターンに展
開されてない中間コード数を示す各ページ情報を判断部
に送出し、判断部は送られたページ情報によって次ペー
ジのビットパターンに展開されてない中間コード数があ
らかじめ定めた閾値より大きいか否かを確認し、閾値よ
り大きいときは既にビットマップメモリに格納したペー
ジのビットパターンに従って画像データを作成し、閾値
より小さいときはビットマップメモリに格納した次ペー
ジを含むビットパターンに従って画像データを作成して
プリンタエンジンに送出すると良い。
The intermediate code conversion unit converts print data for each page continuously transmitted from the host device into a plurality of intermediate codes and sends the intermediate codes to a bitmap developing unit, and the bitmap developing unit converts the print data into a bit pattern. The page information indicating the number of intermediate codes that have not been expanded is sent to the determination unit, and the determination unit determines whether the number of intermediate codes that have not been expanded into the bit pattern of the next page is greater than a predetermined threshold based on the transmitted page information. If it is larger than the threshold, the image data is created according to the bit pattern of the page already stored in the bitmap memory, and if smaller than the threshold, the image data is created according to the bit pattern including the next page stored in the bitmap memory And send it to the printer engine.

【0007】また、上記プリンタ装置にあらかじめ各用
紙サイズ毎に設定した閾値を格納するテーブルを有し、
中間コード変換部はホスト装置から連続して送られたペ
ージ毎のプリントデータを複数の中間コードに変換して
ビットマップ展開部に送出すると共にビットマップ展開
部によってビットパターンに展開されてない中間コード
数と各ページの用紙サイズを示す各ページ情報を判断部
に送出し、判断部は送られたページ情報によって次ペー
ジのビットパターンに展開されてない中間コード数が、
あらかじめテーブルに格納した該当する用紙サイズの閾
値より大きいか否かを確認し、閾値より大きいときは既
にビットマップメモリに格納したページのビットパター
ンに従って画像データを作成し、閾値より小さいときは
ビットマップメモリに格納した次ページを含むビットパ
ターンに従って画像データを作成してプリンタエンジン
に送出すると良い。
Further, the printer has a table for storing a threshold value previously set for each paper size,
The intermediate code conversion unit converts the print data for each page continuously transmitted from the host device into a plurality of intermediate codes and sends them to the bitmap developing unit, and the intermediate code not developed into the bit pattern by the bitmap developing unit. The number and the page information indicating the paper size of each page are sent to the determination unit, and the determination unit calculates the number of intermediate codes that are not expanded into the bit pattern of the next page by the sent page information.
Check if it is larger than the threshold of the corresponding paper size stored in advance in the table, and if it is larger than the threshold, create the image data according to the bit pattern of the page already stored in the bitmap memory. It is preferable to create image data in accordance with the bit pattern including the next page stored in the memory and send it to the printer engine.

【0008】また、上記テーブルはあらかじめページで
使用する色数毎に設定した閾値を格納し、中間コード変
換部はホスト装置から連続して送られたページ毎のプリ
ントデータを複数の中間コードに変換してビットマップ
展開部に送出すると共にビットマップ展開部によってビ
ットパターンに展開されてない中間コード数とページで
使用する色数を示す各ページ情報を判断部に送出し、判
断部は送られたページ情報によって次ページのビットパ
ターンに展開されてない中間コード数が、あらかじめテ
ーブルに格納した該当する色数の閾値より大きいか否か
を確認し、閾値より大きいときは既にビットマップメモ
リに格納したビットパターンに従って画像データを作成
し、閾値より小さいときはビットマップメモリに格納し
た次ページを含むビットパターンに従って画像データを
作成してプリンタエンジンに送出すると良い。
The table stores a threshold value set in advance for each number of colors used in a page, and the intermediate code conversion unit converts print data for each page continuously transmitted from the host device into a plurality of intermediate codes. And sends the page information indicating the number of intermediate codes and the number of colors used in the page that have not been developed into a bit pattern by the bitmap developing unit to the determining unit. It is checked whether the number of intermediate codes not expanded to the bit pattern of the next page by the page information is larger than the threshold value of the corresponding color number stored in the table in advance, and if it is larger than the threshold value, it is already stored in the bitmap memory. Creates image data according to the bit pattern, and if less than the threshold, includes the next page stored in the bitmap memory Create an image data may be transmitted to the printer engine according Ttopatan.

【0009】更に、上記テーブルはあらかじめ中間コー
ドのテキストとグラフィックスを含む情報種別毎に定め
たウエイト値Tを格納し、中間コード変換部はホスト装
置から連続して送られたページ毎のプリントデータを複
数の中間コードに変換してビットマップ展開部に送出す
ると共にビットマップ展開部によってビットパターンに
展開されてない中間コードの情報種別を示す各ページ情
報を判断部に送出し、判断部は送られたページ情報によ
って次ページのビットパターンに展開されてない中間コ
ードの情報種別に従って該当するウエイト値Tをテーブ
ルからそれぞれ選択して加算して総ウエイト値Wを算出
し、算出した総ウエイト値Wがあらかじめ定めた閾値よ
り大きいか否かを確認し、閾値より大きいときは既にビ
ットマップメモリに格納したビットパターンに従って画
像データを作成し、閾値より小さいときはビットマップ
メモリに格納した次ページを含むビットパターンに従っ
て画像データを作成してプリンタエンジンに送出するこ
とが望ましい。
Further, the above-mentioned table stores a weight value T previously determined for each information type including text and graphics of an intermediate code, and the intermediate code conversion section transmits print data for each page continuously transmitted from the host device. Is converted to a plurality of intermediate codes and transmitted to the bitmap developing unit, and each page information indicating the information type of the intermediate code that is not developed into the bit pattern by the bitmap developing unit is transmitted to the determining unit. The corresponding weight value T is selected from the table according to the information type of the intermediate code which is not developed into the bit pattern of the next page according to the obtained page information, and is added to calculate the total weight value W. The calculated total weight value W Is greater than a predetermined threshold. Create an image data according to the bit patterns stored, it is desirable when less than the threshold value to be sent by creating image data to the printer engine according to the bit pattern comprising the next page stored in the bit map memory.

【0010】[0010]

【発明の実施の形態】この発明のプリンタ装置は、ホス
ト装置等から送られてきたプリントデータに従って記録
用紙に画像を形成するものであり、複数のページを連続
して印刷するときの全処理時間を短縮するために、中間
コード変換部とビットマップ展開部とビットマップメモ
リと判断部及び記録用紙に画像を印刷するプリンタエン
ジンとを有する。中間コード変換部はホスト装置から連
続して送られたページ毎のプリントデータを複数の中間
コードに変換してビットマップ展開部に送出すると共に
ページ単位で中間コード変換が終了したか否かを示す各
ページ情報を判断部に送出する。ビットマップ展開部は
ビットマップメモリ上のビットを送られた中間コードに
従ってオン、オフすることでページ単位のビットパター
ンを展開する。ビットマップメモリはビットマップ展開
部によって展開されたページ単位のビットパターンを格
納する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A printer device according to the present invention forms an image on a recording sheet in accordance with print data sent from a host device or the like, and has a total processing time for continuously printing a plurality of pages. In order to reduce the time, an intermediate code conversion unit, a bitmap development unit, a bitmap memory, a determination unit, and a printer engine for printing an image on recording paper are provided. The intermediate code conversion unit converts the print data for each page continuously transmitted from the host device into a plurality of intermediate codes and sends them to the bitmap developing unit, and indicates whether the intermediate code conversion is completed in page units. Each page information is sent to the determination unit. The bitmap developing unit develops a bit pattern in page units by turning on / off bits in the bitmap memory according to the transmitted intermediate code. The bitmap memory stores the bit pattern in page units developed by the bitmap developing unit.

【0011】判断部は中間コード変換部から送られたペ
ージ情報によって次ページである例えば2ページの中間
コード変換が終了したのを確認した場合に、ビットマッ
プ展開部がビットマップメモリ上に2ページのビットパ
ターンを展開するのを待って、ビットマップメモリに格
納した1ページと2ページのビットパターンに従って画
像データを作成しプリンタエンジンに送出することで1
ページと2ページを連続して印刷させる。また、中間コ
ード変換部から送られたページ情報によって次ページで
ある例えば2ページの中間コード変換が終了していない
のを確認した場合に、ビットマップ展開部で2ページの
ビットパターンの展開時間が長くなり、その間プリンタ
エンジンによる印刷処理が停滞する可能性があるため、
既にビットマップメモリに格納した例えば1ページのビ
ットパターンに従って画像データを作成し、プリンタエ
ンジンに送出することで1ページを単独で印刷させる。
When the determination section confirms that the intermediate code conversion of the next page, for example, two pages, has been completed based on the page information sent from the intermediate code conversion section, the bitmap development section stores the two pages in the bitmap memory. After the bit pattern is developed, image data is created in accordance with the bit patterns of one page and two pages stored in the bit map memory, and is sent to the printer engine.
Make the page and two pages print continuously. Also, if it is confirmed from the page information sent from the intermediate code conversion unit that the intermediate code conversion of the next page, for example, two pages, has not been completed, the bitmap expansion unit sets the time required to develop the bit pattern of the two pages. Printing process by the printer engine during that time,
Image data is created according to, for example, a bit pattern of one page already stored in the bitmap memory, and sent to the printer engine to print one page independently.

【0012】このように、次ページの中間コード変換が
終了しているときはビットマップメモリに次ページのビ
ットパターンが展開されるのを待って、次ページを含む
複数ページを連続して印刷することで印刷処理の効率を
上げ、また、次ページの中間コード変換が終了していな
いときは既にビットマップメモリに格納したページを単
独で印刷することでプリンタエンジンによる印刷処理の
停滞を防ぐようにしたため、全印刷処理時間の短縮を図
ることができる。
As described above, when the intermediate code conversion of the next page is completed, a plurality of pages including the next page are continuously printed after the bit pattern of the next page is developed in the bit map memory. This improves the efficiency of the printing process, and prevents the stagnation of the printing process by the printer engine by printing the page already stored in the bitmap memory alone when the intermediate code conversion of the next page is not completed. As a result, the total print processing time can be reduced.

【0013】また、上記では次ページの中間コードの変
換が終了したか否かを確認することで、既にビットパタ
ーンに展開されたページを単独で印刷処理するか否かを
判断しているが、更に次ページのビットパターンに展開
されてない中間コード数を確認してページを単独で印刷
処理するか否かを判断するようにしても良い。この場
合、中間コード変換部は変換した複数の中間コードをビ
ットマップ展開部に送出する他に、各ページの中間コー
ドの変換が終了したか否かを示すページ情報と、ビット
マップ展開部によってビットパターン展開されてない中
間コード数を示すページ情報を判断部に送出する。
Further, in the above, it is determined whether or not the printing of the page already developed into the bit pattern is to be performed alone by checking whether or not the conversion of the intermediate code of the next page is completed. Further, the number of intermediate codes that have not been developed in the bit pattern of the next page may be checked to determine whether or not to print the page alone. In this case, in addition to sending the plurality of converted intermediate codes to the bitmap developing unit, the intermediate code converting unit transmits page information indicating whether the conversion of the intermediate code of each page is completed, The page information indicating the number of intermediate codes not subjected to pattern expansion is sent to the determination unit.

【0014】判断部は送られたページ情報によって次ペ
ージである例えば2ページの中間コードの変換終了を確
認したときは、更に送られたページ情報によってビット
パターン展開されてない2ページの中間コード数があら
かじめ定めた閾値より大きいか否かを確認する。そし
て、閾値より小さい場合にビットマップメモリに2ペー
ジのビットパターンが展開されるのを待って、例えば1
ページと2ページを連続して印刷させることで印刷処理
の効率を上げる。また、閾値より大きい場合にビットマ
ップ展開部による2ページの未だビットパターンに展開
されてない中間コードに対する展開時間が長くなり、そ
の間プリンタエンジンによる印刷処理が停滞する可能性
があるため、既にビットマップメモリに格納した例えば
1ページを単独で印刷させることでプリンタエンジンに
よる印刷処理の停滞を防ぐ。
When the determination unit confirms the end of the conversion of the intermediate code of the next page, for example, two pages, based on the transmitted page information, the number of intermediate codes of the two pages that have not been subjected to bit pattern expansion by the transmitted page information is further determined. Is greater than or equal to a predetermined threshold. If the bit pattern is smaller than the threshold value, the process waits until a bit pattern of two pages is developed in the bit map memory.
The efficiency of the printing process is increased by continuously printing pages and two pages. Further, when the value is larger than the threshold value, the expansion time for the intermediate code that has not been expanded into the bit pattern of the two pages by the bitmap expansion unit becomes longer, and the printing process by the printer engine may stagnate during that time. By printing one page, for example, stored in the memory alone, stagnation of the printing process by the printer engine is prevented.

【0015】また、上記では次ページのビットパターン
に展開されてない中間コード数があらかじめ定めた閾値
より大きいか否かを確認することで既にビットパターン
に展開されたページを単独で印刷処理するか否かを判断
しているが、上記プリンタ装置に例えばA3或いはA4
など使用する記録用紙のサイズ毎に設定した閾値を格納
したテーブルを有し、中間コード変換部にページの用紙
サイズを示すページ情報を判断部に送出させることで、
判断部は送られたページ情報によってページで使用する
記録用紙のサイズ毎に設定した該当する閾値をテーブル
から選択し、送られた中間コード数が選択した閾値より
大きいか否かを確認する。即ち、用紙サイズ毎にビット
マップ展開部で中間コードをビットパターン展開する時
間が可変するため、用紙サイズ毎に設定した閾値を用い
て次ページのビットパターンの展開処理にかかる時間が
長いか否かを確認する。これにより、ページの用紙サイ
ズに係らず既にビットパターンに展開されたページを単
独で印刷処理するか否かを的確に判断することができ
る。
In the above, it is determined whether or not the number of intermediate codes that have not been developed into the bit pattern of the next page is larger than a predetermined threshold value. It is determined whether or not A3 or A4
By having a table storing threshold values set for each size of recording paper to be used, the intermediate code conversion unit sends page information indicating the page paper size to the determination unit,
The determination unit selects a corresponding threshold set for each size of the recording paper used in the page from the table based on the sent page information, and checks whether the number of intermediate codes sent is larger than the selected threshold. That is, since the time for developing the bit pattern of the intermediate code in the bitmap developing unit is variable for each paper size, it is determined whether the time required for developing the bit pattern of the next page using the threshold value set for each paper size is long. Check. Thus, it is possible to accurately determine whether or not to print a page that has already been developed into a bit pattern independently, regardless of the paper size of the page.

【0016】また、上記では次ページのビットパターン
に展開されてない中間コード数が記録用紙のサイズ毎に
設定した閾値より大きいか否かを確認することで、既に
ビットパターンに展開されたページを単独で印刷処理す
るか否かを判断しているが、テーブルにあらかじめペー
ジで使用する例えばシアン又はシアンとイエローなどの
色数毎に設定した閾値を格納させ、中間コード変換部に
ページで使用する色数を示す各ページ情報を判断部に送
出させることで、判断部は印刷に使用する色数毎に設定
した閾値を用いて次ページのビットパターンの展開処理
にかかる時間が長いか否かを確認する。これにより、ペ
ージで使用する色数に係らず既にビットパターンに展開
されたページを単独で印刷処理するか否かを的確に判断
する。
Also, in the above, it is checked whether or not the number of intermediate codes not developed in the bit pattern of the next page is larger than a threshold value set for each size of recording paper. Although it is determined whether or not to perform print processing independently, a threshold set in advance for each color number such as cyan or cyan and yellow used for a page is stored in a table, and the intermediate code conversion unit uses the threshold for a page. By sending each page information indicating the number of colors to the determination unit, the determination unit uses a threshold set for each number of colors used for printing to determine whether the time required for the bit pattern expansion processing of the next page is long. Confirm. Thereby, it is accurately determined whether or not the page already developed into the bit pattern is to be independently printed, regardless of the number of colors used in the page.

【0017】上記では次ページのビットパターンに展開
されてない中間コード数がページで使用する色数毎に定
めた閾値より大きいか否かを確認することで既にビット
パターンに展開されたページを単独で印刷処理するか否
かを判断しているが、テーブルにあらかじめ中間コード
の例えば文字列からなるテキスト又は直線、曲線等から
なるグラフィックスなどの情報種別毎に設定したウエイ
ト値Tを格納させ、中間コード変換部でビットパターン
に展開されてない中間コードの情報種別を示すページ情
報を判断部に送出させることで、判断部は次ページのビ
ットパターンに展開されてない中間コードの情報種別を
示すページ情報に従って、該当するウエイト値Tをテー
ブルからそれぞれ選択して加算することで総ウエイト値
Wを算出する。そして、算出した総ウエイト値Wをあら
かじめ定めた閾値と比較することで次ページのビットパ
ターンの展開処理にかかる時間が長いか否かを確認す
る。これにより、ページに印刷される画像に係らず既に
ビットパターンに展開されたページを単独で印刷処理す
るか否かを的確に判断する。
In the above, it is checked whether the number of intermediate codes not developed in the bit pattern of the next page is larger than a threshold value determined for each number of colors used in the page. It is determined whether or not to perform the printing process.However, a weight value T set in advance for each information type such as a text of an intermediate code, for example, a text consisting of a character string or a graphic consisting of a straight line, a curve, or the like is stored in a table, By causing the determining unit to send the page information indicating the information type of the intermediate code not expanded to the bit pattern by the intermediate code conversion unit, the determining unit indicates the information type of the intermediate code not expanded to the bit pattern of the next page. According to the page information, the corresponding weight value T is selected from the table and added, thereby calculating the total weight value W. Then, by comparing the calculated total weight value W with a predetermined threshold value, it is confirmed whether or not the time required for the bit pattern expansion processing of the next page is long. Thus, it is accurately determined whether or not the page that has already been developed into the bit pattern is to be independently printed, regardless of the image to be printed on the page.

【0018】[0018]

【実施例】図1はこの発明の一実施例の構成を示すブロ
ック図である。図に示すようにプリンタ装置1は例えば
ホスト装置9等から送られてきたプリントデータに従っ
て記録用紙に画像を形成するものであり、複数ページを
連続して印刷するときの全処理時間を短縮するために、
ホスト装置9と接続し連続して送られたページ毎のプリ
ントデータを受信するインターフェース部2と、中間コ
ード変換部3とビットマップ展開部4とビットマップメ
モリ5と判断部6及び画像を記録用紙に印刷するプリン
タエンジン7とを有する。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. As shown in the figure, the printer device 1 forms an image on a recording sheet in accordance with print data sent from, for example, the host device 9 and the like, in order to reduce the entire processing time when printing a plurality of pages continuously. To
An interface unit 2 connected to a host device 9 for receiving print data for each page transmitted continuously, an intermediate code conversion unit 3, a bitmap development unit 4, a bitmap memory 5, a determination unit 6, and an image recording paper And a printer engine 7 for printing on the printer.

【0019】中間コード変換部3はインターフェース部
2で受信したページ毎のプリントデータを複数の中間コ
ードに変換してビットマップ展開部4に送出する。ま
た、図2のページ情報の一例を示す概要図に示すよう
に、各ページPn単位での中間コード変換が終了したか
否かを示すページ情報31を判断部6に送出する。ビッ
トマップ展開部4はビットマップメモリ5上のビットを
中間コード変換部3から送られた中間コードに従ってオ
ン、オフすることでページ単位のビットパターンを展開
し格納させる。
The intermediate code conversion unit 3 converts the print data for each page received by the interface unit 2 into a plurality of intermediate codes and sends the intermediate data to the bit map development unit 4. Further, as shown in the schematic diagram showing an example of the page information in FIG. 2, the page information 31 indicating whether or not the intermediate code conversion for each page Pn has been completed is sent to the determination unit 6. The bitmap development unit 4 develops and stores a bit pattern in page units by turning on and off bits in the bitmap memory 5 according to the intermediate code sent from the intermediate code conversion unit 3.

【0020】ビットマップメモリ5は図3のビットマッ
プメモリの一例を示す概要図に示すように、例えば本発
明のプリンタ装置1がA3サイズとA4サイズの記録用
紙を扱う場合、縦のビット数をn、横のビット数をmと
したときにA4サイズ分のn×mビットの容量領域5
1、52を有し、容量領域51、52を2つ合わせるこ
とでA3サイズ分の容量領域として用いる。そして、印
刷するページがA3サイズであればビットマップ展開部
4によって容量領域51、52に展開されたビットパタ
ーンを格納し、例えばA4サイズの1ページ目であれば
容量領域51に展開されたビットパターンを格納し、A
4サイズの次ページである2ページ目であれば容量領域
52に展開されたビットパターンを格納する。
As shown in a schematic diagram showing an example of the bit map memory of FIG. 3, for example, when the printer 1 of the present invention handles A3 size and A4 size recording paper, the bit map memory 5 determines the number of vertical bits. n, the capacity area of n × m bits for A4 size, where n is the number of horizontal bits
1 and 52, and two capacity areas 51 and 52 are combined to be used as a capacity area of A3 size. If the page to be printed is A3 size, the bit pattern developed in the capacity areas 51 and 52 by the bitmap development unit 4 is stored. For example, if the first page is A4 size, the bit pattern developed in the capacity area 51 is stored. Store the pattern, A
If it is the second page which is the next page of the 4 size, the bit pattern developed in the capacity area 52 is stored.

【0021】判断部6は中間コード変換部3から送られ
たページ情報31によって次ページの中間コード変換が
終了したか否かを確認し、次ページの中間コード変換が
終了している場合には、ビットマップ展開部4がビット
マップメモリ5の例えば容量領域52に次ページのビッ
トパターンを展開するのを待ち、ビットマップメモリの
容量領域51、52に格納した次ページを含むビットパ
ターンに従って例えばアナログデータである画像データ
を作成し、プリンタエンジン7に送出することで次ペー
ジを含む複数のページを連続して印刷させる。また、次
ページの中間コード変換が終了していない場合には、例
えばインターフェース部2がホスト装置9から送られた
次ページのプリントデータ受信途中である等によりビッ
トマップ展開部4で次ページのビットパターンを展開す
る時間が長くなり、その間プリンタエンジンによる印刷
処理が停滞する可能性があるため、既にビットマップメ
モリ5の例えば容量領域51に格納したページのビット
パターンに従って画像データを作成し、プリンタエンジ
ン7に送出することでページを単独で印刷させる。
The judging unit 6 checks whether or not the intermediate code conversion of the next page has been completed based on the page information 31 sent from the intermediate code conversion unit 3. If the intermediate code conversion of the next page has been completed, Waits for the bitmap development unit 4 to develop the bit pattern of the next page in the capacity area 52 of the bitmap memory 5, for example, according to the bit pattern including the next page stored in the capacity areas 51 and 52 of the bitmap memory. Image data, which is data, is created and sent to the printer engine 7 so that a plurality of pages including the next page are continuously printed. If the intermediate code conversion for the next page has not been completed, the bit map developing unit 4 determines that the interface unit 2 is in the process of receiving the print data of the next page sent from the host device 9. Since the time for developing the pattern becomes longer and the printing process by the printer engine may be stagnated during that time, the image data is created according to the bit pattern of the page already stored in, for example, the capacity area 51 of the bitmap memory 5, and the printer engine 7, the page is printed independently.

【0022】上記のように構成したファクシミリ装置に
おいて、例えば、ホスト装置9から送られた複数のペー
ジに亘るプリントデータに従って画像を記録用紙に形成
するときの動作を図4のフローチャートを参照して説明
する。
In the facsimile apparatus configured as described above, for example, an operation of forming an image on a recording sheet in accordance with print data over a plurality of pages sent from the host apparatus 9 will be described with reference to the flowchart of FIG. I do.

【0023】中間コード変換部3はインターフェース部
2で受信したページ毎のプリントデータを複数の中間コ
ードに変換してビットマップ展開部4に送出すると共に
中間コードへの変換が終了したか否かを示すページ情報
31を判断部6に送出する(ステップS1)。判断部6
は中間コード変換部3から送られたページ情報によって
次ページである例えば2ページの中間コードの変換が終
了したか否かを確認する。そして、2ページの中間コー
ド変換が終了している場合には(ステップS2)、ビッ
トマップメモリ5がビットマップ展開部4によって展開
された2ページのビットパターンを格納するまで待機し
(ステップS3)、ビットマップメモリ5に格納された
2ページを含むビットパターンに従って画像データを作
成し、プリンタエンジン7に送出することで1ページと
2ページを連続して印刷させる(ステップS4)。ま
た、次ページである例えば2ページの中間コード変換が
終了していない場合には(ステップS2)、既にビット
マップメモリ5に格納した1ページのビットパターンに
従って画像データを作成し、プリンタエンジン7に送出
することで1ページを単独で印刷させる(ステップS
5)。そして、これらの印刷処理をホスト装置9から送
られてきた全てのページのプリントデータに対しておこ
ない動作を終了する(ステップS1〜S6)。
The intermediate code conversion unit 3 converts the print data for each page received by the interface unit 2 into a plurality of intermediate codes and sends them to the bit map developing unit 4, and determines whether the conversion into the intermediate codes is completed. The indicated page information 31 is sent to the determination unit 6 (step S1). Judgment unit 6
Checks whether the conversion of the intermediate code of the next page, for example, two pages, has been completed based on the page information sent from the intermediate code conversion unit 3. If the two-page intermediate code conversion has been completed (step S2), the process waits until the bitmap memory 5 stores the two-page bit pattern developed by the bitmap developing unit 4 (step S3). Then, image data is created according to the bit pattern including two pages stored in the bitmap memory 5 and sent to the printer engine 7 to print one and two pages continuously (step S4). If the intermediate code conversion for the next page, for example, two pages, has not been completed (step S2), the printer engine 7 creates image data in accordance with the bit pattern of one page already stored in the bitmap memory 5, and sends it to the printer engine 7. By sending it, one page is printed alone (step S
5). Then, these printing processes are performed on the print data of all the pages sent from the host device 9, and the operation ends (steps S1 to S6).

【0024】このように、次ページの中間コード変換が
終了しているときはビットマップメモリ5に次ページの
ビットパターンが展開されるのを待って、次ページを含
む複数ページを連続して印刷することで印刷処理の効率
を上げ、また、次ページの中間コード変換が終了してい
ないときは既にビットマップメモリ5に格納したページ
を単独で印刷することでプリンタエンジン7による印刷
処理の停滞を防ぐようにしたため、全印刷処理時間の短
縮を図ることができる。
As described above, when the intermediate code conversion of the next page has been completed, a plurality of pages including the next page are continuously printed after the bit pattern of the next page is developed in the bit map memory 5. By doing so, the efficiency of the printing process is increased, and when the intermediate code conversion of the next page is not completed, the page already stored in the bitmap memory 5 is printed alone, thereby preventing the stagnation of the printing process by the printer engine 7. Since this is prevented, the total print processing time can be reduced.

【0025】上記では次ページの中間コードの変換が終
了したか否かを確認することで、既にビットパターンに
展開されたページを単独で印刷処理するか否かを判断し
ているが、更に次ページのビットパターンに展開されて
ない中間コード数を確認してページを単独で印刷処理す
るか否かを判断するようにしても良い。
In the above, it is determined whether or not the printing of the page already developed into the bit pattern is performed independently by checking whether or not the conversion of the intermediate code of the next page is completed. The number of intermediate codes that are not developed in the bit pattern of the page may be checked to determine whether to print the page alone.

【0026】この場合、中間コード変換部3は変換した
複数の中間コードをビットマップ展開部4に送出する他
に、図2に示すように各ページの中間コードの変換が終
了したか否かを示すページ情報31と、ビットマップ展
開部4によってビットパターンに展開されてない中間コ
ード数を示すページ情報32を判断部6に送出する。こ
の中間コード数は中間コードのデータ量を示すものであ
れば良く、例えばビットパターンに展開されてない中間
コードのバイト数又はコードのペア数を使用する。判断
部6は中間コード変換部3から送られたページ情報31
によって次ページの中間コードの変換終了を確認したと
きは、更に送られたページ情報32によって次ページの
ビットパターンに展開されてない中間コード数があらか
じめ定めた閾値より大きいか否かを確認する。そして、
閾値より小さい場合にビットマップメモリ5に次ページ
のビットパターンが展開されるのを待って、次ページを
含む複数のページを連続してプリンタエンジン7に印刷
させることで印刷処理の効率を上げる。また、閾値より
大きい場合にビットマップ展開部4による次ページの未
だビットパターンに展開されてない中間コードに対する
展開時間が長くなり、その間プリンタエンジン7による
印刷処理が停滞する可能性があるため、既にビットマッ
プメモリ5に格納したページを単独で印刷させることで
プリンタエンジン7による印刷処理の停滞を防ぐ。
In this case, the intermediate code conversion unit 3 sends the plurality of converted intermediate codes to the bitmap development unit 4, and determines whether the conversion of the intermediate code of each page is completed as shown in FIG. The page information 31 indicating the number of intermediate codes that have not been expanded into a bit pattern by the bitmap expansion unit 4 is transmitted to the determination unit 6. The number of intermediate codes only needs to indicate the data amount of the intermediate code. For example, the number of bytes or the number of code pairs of the intermediate code that is not developed into a bit pattern is used. The determination unit 6 determines whether the page information 31 sent from the intermediate code conversion unit 3 is correct.
When the end of the conversion of the intermediate code of the next page is confirmed, it is further confirmed by the transmitted page information 32 whether or not the number of intermediate codes not expanded into the bit pattern of the next page is larger than a predetermined threshold value. And
If it is smaller than the threshold value, the printer engine 7 waits until the bit pattern of the next page is developed in the bitmap memory 5 and continuously prints a plurality of pages including the next page, thereby increasing the efficiency of the printing process. Also, if the value is larger than the threshold value, the development time for the intermediate code that has not been developed into the bit pattern of the next page by the bitmap development unit 4 becomes longer, and the printing process by the printer engine 7 may stagnate during that time. By printing the page stored in the bitmap memory 5 alone, stagnation of the printing process by the printer engine 7 is prevented.

【0027】上記のように構成したプリンタ装置1にお
いて、図5の第2の実施例のフローチャートに示すよう
に例えばホスト装置9から送られた複数のページに亘る
プリントデータに従って画像を記録用紙に形成する場
合、中間コード変換部3は変換した中間コードをビット
マップ展開部4に送出する他に、各ページ情報31、3
2を判断部6に送出する(ステップS10)。判断部6
は中間コード変換部3から送られたページ情報31によ
って次ページである例えば2ページの中間コードの変換
終了を確認したときは(ステップS11)、更に送られ
たページ情報32によって2ページのビットパターンに
展開されてない中間コード数があらかじめ定めた閾値よ
り大きいか否かを確認する(ステップS12)。そし
て、ビットパターンに展開されてない中間コード数が閾
値より小さい場合にビットマップメモリ5に2ページの
ビットパターンが展開されるのを待って(ステップS1
3)、例えば1ページと2ページを連続して印刷させる
(ステップS14)。また、ビットパターンに展開され
てない中間コード数が閾値より大きい場合には既にビッ
トマップメモリ5に格納した例えば1ページを単独で印
刷させる(ステップS15)。
In the printer 1 constructed as described above, as shown in the flowchart of the second embodiment of FIG. 5, an image is formed on a recording sheet in accordance with print data over a plurality of pages sent from the host device 9, for example. In this case, the intermediate code conversion unit 3 sends the converted intermediate code to the bitmap development unit 4 and also outputs the page information 31, 3
2 is sent to the determination unit 6 (step S10). Judgment unit 6
When it is confirmed from the page information 31 sent from the intermediate code conversion unit 3 that the conversion of the next page, for example, the intermediate code of two pages, has been completed (step S11), the bit pattern of two pages is further determined by the page information 32 sent. It is determined whether or not the number of intermediate codes that have not been expanded is larger than a predetermined threshold (step S12). Then, when the number of intermediate codes that have not been developed in the bit pattern is smaller than the threshold value, the process waits until the two-page bit pattern is developed in the bit map memory 5 (step S1).
3) For example, one page and two pages are printed continuously (step S14). If the number of intermediate codes that have not been developed into a bit pattern is larger than the threshold value, for example, one page already stored in the bitmap memory 5 is printed alone (step S15).

【0028】このように、次ページの中間コードの変換
終了を確認した場合、更に次ページのビットパターンに
展開されてない中間コード数があらかじめ定めた閾値よ
り大きいか否かを確認し、閾値より小さいときはビット
マップメモリ5に次ページのビットパターンが展開され
るのを待って、次ページを含む複数ページを連続して印
刷することで印刷処理の効率を上げ、また、閾値より大
きいときは既にビットマップメモリ5に格納したページ
を単独で印刷することでプリンタエンジン7による印刷
処理の停滞を防ぐようにしたため、全印刷処理時間の短
縮を更に図ることができる。
As described above, when the completion of the conversion of the intermediate code of the next page is confirmed, it is further confirmed whether or not the number of intermediate codes not expanded in the bit pattern of the next page is larger than a predetermined threshold. If it is smaller, it waits for the bit pattern of the next page to be developed in the bitmap memory 5 and continuously prints a plurality of pages including the next page to increase the efficiency of the printing process. Since the stagnation of the printing process by the printer engine 7 is prevented by printing the page already stored in the bitmap memory 5 independently, the total printing process time can be further reduced.

【0029】また、上記では次ページのビットパターン
に展開されてない中間コード数があらかじめ定めた閾値
より大きいか否かを確認することで既にビットパターン
に展開されたページを単独で印刷処理するか否かを判断
しているが、ビットマップ展開部4でおこなう中間コー
ドをビットパターンに展開する処理時間がページの用紙
サイズによって可変するため、用紙サイズに応じて定め
た適切な閾値を用いることで既にビットパターンに展開
されたページを単独で印刷処理するか否かを的確に判断
することができる。
Also, in the above, it is determined whether the number of intermediate codes not developed in the bit pattern of the next page is larger than a predetermined threshold value, and whether the page already developed in the bit pattern is printed alone. Although it is determined whether or not the processing time for developing the intermediate code in the bitmap developing unit 4 into a bit pattern varies depending on the paper size of the page, an appropriate threshold value determined according to the paper size is used. It is possible to accurately determine whether or not to print a page that has already been developed into a bit pattern alone.

【0030】この場合、図1のブロック図に示すように
上記プリンタ装置1にテーブル8を設け、テーブル8は
例えば図6(a)のテーブルの一例を示す概要図に示す
ようにA3或いはA4又はA4の横向きであるA4Rな
ど記録用紙のサイズ毎に設定した閾値81〜83を格納
する。そして、図5のフローチャートに示すようにホス
ト装置9から送られたプリントデータに従って印刷処理
をする場合、中間コード変換部3は変換した中間コード
をビットマップ展開部4に送出する他に、図2に示すペ
ージ情報31、32と、ページPnの用紙サイズを示す
ページ情報33を判断部6に送出する(ステップS1
0)。判断部6は中間コード変換部3から送られたペー
ジ情報31によって次ページである例えば2ページの中
間コードの変換が終了したのを確認したときは(ステッ
プS11)、更に送られたページ情報32、33によっ
て2ページのビットパターンに展開されてない中間コー
ド数があらかじめテーブル8に格納した該当する用紙サ
イズの閾値81〜83より大きいか否かを確認する(ス
テップS12)。
In this case, a table 8 is provided in the printer 1 as shown in the block diagram of FIG. 1, and the table 8 is, for example, A3 or A4 or A4 as shown in a schematic diagram showing an example of the table of FIG. Thresholds 81 to 83 set for each size of recording paper, such as A4R, which is landscape orientation of A4, are stored. When the printing process is performed in accordance with the print data sent from the host device 9 as shown in the flowchart of FIG. 5, the intermediate code conversion unit 3 sends the converted intermediate code to the bitmap development unit 4 and also outputs And the page information 33 indicating the paper size of the page Pn are sent to the determination unit 6 (step S1).
0). When the judging unit 6 confirms that the conversion of the intermediate code of the next page, for example, two pages, is completed by the page information 31 sent from the intermediate code converting unit 3 (step S11), the sent page information 32 is further sent. , 33, it is checked whether or not the number of intermediate codes that have not been developed into the two-page bit pattern is larger than the corresponding paper size thresholds 81 to 83 stored in the table 8 in advance (step S12).

【0031】このように、あらかじめページの用紙サイ
ズ毎に設定した閾値を格納し、次ページのビットパター
ンに展開されてない中間コード数が該当する用紙サイズ
の閾値より大きいか否かを確認し、閾値より小さいとき
は次ページを含む複数ページを連続して印刷することで
印刷処理の効率を上げ、また、閾値より大きいときは既
にビットマップメモリ5に格納したページを単独で印刷
することでプリンタエンジン7による印刷処理の停滞を
防ぐようにしたため、ページの用紙サイズに係らず全印
刷処理時間の短縮を更に図ることができる。
As described above, the threshold value set in advance for each page paper size is stored, and it is confirmed whether or not the number of intermediate codes not developed in the bit pattern of the next page is larger than the corresponding paper size threshold value. When the threshold value is smaller than the threshold value, the efficiency of the printing process is increased by continuously printing a plurality of pages including the next page. When the threshold value is larger than the threshold value, the page already stored in the bitmap memory 5 is printed alone. Since the stagnation of print processing by the engine 7 is prevented, the total print processing time can be further reduced regardless of the page paper size.

【0032】上記では次ページのビットパターンに展開
されてない中間コード数があらかじめ定めた閾値より大
きいか否かを確認することで既にビットパターンに展開
されたページを単独で印刷処理するか否かを判断してい
るが、ビットマップ展開部4でおこなう中間コードをビ
ットパターンに展開する処理時間がページに使用する色
数によって可変するため、ページに使用する色数に応じ
て定めた閾値を用いることで、既にビットパターンに展
開されたページを単独で印刷処理するか否かを的確に判
断することができる。
In the above, it is determined whether the number of intermediate codes that have not been developed into the bit pattern of the next page is greater than a predetermined threshold value. However, since the processing time for developing the intermediate code into a bit pattern performed by the bitmap developing unit 4 varies depending on the number of colors used for the page, a threshold determined according to the number of colors used for the page is used. Thus, it is possible to accurately determine whether or not to print a page that has already been developed into a bit pattern by itself.

【0033】この場合、テーブル8は例えば図6(b)
に示すように例えばC(シアン)或いはC(シアン)と
Y(イエロー)又はC(シアン)とM(マゼンダ)等、
あらかじめページに使用する色数毎に設定した閾値84
〜86を格納する。そして、図5に示すようにホスト装
置9から送られたプリントデータに従って印刷処理をす
る場合に中間コード変換部3は変換した中間コードをビ
ットマップ展開部4に送出する他に、図2に示すように
ページ情報31、32と、ページで使用する色数を示す
ページ情報34を判断部6に送出する(ステップS1
0)。判断部6は中間コード変換部3から送られたペー
ジ情報31によって次ページである例えば2ページの中
間コードの変換が終了したのを確認したときは(ステッ
プS11)、更に送られたページ情報32、34によっ
て2ページのビットパターンに展開されてない中間コー
ド数があらかじめテーブル8に格納した該当する色数の
閾値84〜86より大きいか否かを確認する(ステップ
S12)。
In this case, the table 8 is, for example, as shown in FIG.
As shown in, for example, C (cyan) or C (cyan) and Y (yellow) or C (cyan) and M (magenta), etc.
Threshold value 84 set in advance for each number of colors used for the page
To 86 are stored. When the printing process is performed in accordance with the print data sent from the host device 9 as shown in FIG. 5, the intermediate code converting unit 3 sends the converted intermediate code to the bitmap developing unit 4 and also as shown in FIG. As described above, the page information 31 and 32 and the page information 34 indicating the number of colors used in the page are sent to the determination unit 6 (step S1).
0). When the judging unit 6 confirms that the conversion of the intermediate code of the next page, for example, two pages, is completed by the page information 31 sent from the intermediate code converting unit 3 (step S11), the sent page information 32 is further sent. , 34, it is checked whether or not the number of intermediate codes that have not been developed into the two-page bit pattern is larger than the corresponding color number thresholds 84 to 86 previously stored in the table 8 (step S12).

【0034】このように、あらかじめページで使用する
色数毎に設定した閾値を格納し、次ページのビットパタ
ーンに展開されてない中間コード数が該当する色数の閾
値より大きいか否かを確認し、閾値より小さいときは次
ページを含む複数ページを連続して印刷することで印刷
処理の効率を上げ、また、閾値より大きいときは既にビ
ットマップメモリ5に格納したページを単独で印刷する
ことでプリンタエンジン7による印刷処理の停滞を防ぐ
ようにしたため、ページで使用する色数に係らず全印刷
処理時間の短縮を更に図ることができる。
As described above, the threshold values set in advance for the number of colors used in the page are stored, and it is determined whether or not the number of intermediate codes not expanded in the bit pattern of the next page is larger than the threshold value of the corresponding number of colors. When the value is smaller than the threshold value, the efficiency of the printing process is increased by continuously printing a plurality of pages including the next page, and when the value is larger than the threshold value, the page already stored in the bitmap memory 5 is printed alone. As a result, the stagnation of print processing by the printer engine 7 is prevented, so that the total print processing time can be further reduced regardless of the number of colors used in a page.

【0035】また、上記では次ページのビットパターン
に展開されてない中間コード数がページで使用する色数
毎に定めた閾値より大きいか否かを確認することで既に
ビットパターンに展開されたページを単独で印刷処理す
るか否かを判断しているが、ビットマップ展開部4での
ビットパターンの展開処理時間が各中間コードの例えば
文字列からなるテキスト又は直線と曲線等からなるグラ
フィックスなどの情報種別、即ち、ページ上に印刷する
画像によって可変する。
Also, in the above, it is checked whether or not the number of intermediate codes not developed in the bit pattern of the next page is larger than a threshold value determined for each number of colors used in the page. It is determined whether or not print processing is performed alone. However, the bitmap development processing time of the bit pattern in the bitmap development unit 4 is, for example, text composed of character strings or graphics composed of straight lines and curves, etc. , That is, an image to be printed on a page.

【0036】そこで、テーブル8は例えば図6(c)に
示すように、あらかじめ例えばLine(直線)或いは
Curve(曲線)又はText(文字列など)等の中
間コードの情報種別毎に設定したウエイト値T1〜T3
を格納する。そして、図5に示すようにホスト装置9か
ら送られたプリントデータに従って印刷処理をする場合
に中間コード変換部3は変換した中間コードをビットマ
ップ展開部4に送出する他に、図2に示すようにページ
情報31と、ビットパターンに展開されてない中間コー
ドの情報種別を示すページ情報35を判断部6に送出す
る(ステップS10)。判断部6は送られたページ情報
31によって次ページである例えば2ページの中間コー
ドの変換終了を確認したときは(ステップS11)、更
に送られた2ページのビットパターンに展開されてない
中間コードの情報種別を示すページ情報35に従って、
テーブル8に格納した該当するウエイト値T1〜T3を
それぞれ選択して加算することで総ウエイト値Wを算出
する。そして、算出した総ウエイト値Wがあらかじめ定
めた閾値より大きいか否かを確認する(ステップS1
2)。即ち、中間コードの情報種別毎に該当するウエイ
ト値T1〜T3を選択して加算することで、例えば次ペ
ージの中間コードをビットパターンに展開する処理時間
である総ウエイト値Wを算出し、あらかじめ定めた閾値
と比較することで次ページのビットパターンの展開処理
にかかる時間が長いか否かを確認する。
Therefore, as shown in FIG. 6C, for example, the table 8 has weight values set in advance for each information type of intermediate code such as Line (straight line), Curve (curve) or Text (character string). T1-T3
Is stored. When the printing process is performed in accordance with the print data sent from the host device 9 as shown in FIG. 5, the intermediate code converting unit 3 sends the converted intermediate code to the bitmap developing unit 4 and also as shown in FIG. As described above, the page information 31 and the page information 35 indicating the information type of the intermediate code not expanded into the bit pattern are transmitted to the determination unit 6 (step S10). When the judging unit 6 confirms the completion of the conversion of the intermediate code of the next page, for example, two pages, based on the transmitted page information 31 (step S11), the intermediate code which has not been further developed into the transmitted bit pattern of two pages According to the page information 35 indicating the information type of
The total weight value W is calculated by selecting and adding the corresponding weight values T1 to T3 stored in the table 8, respectively. Then, it is determined whether or not the calculated total weight value W is larger than a predetermined threshold value (step S1).
2). That is, by selecting and adding the corresponding weight values T1 to T3 for each information type of the intermediate code, for example, the total weight value W, which is the processing time for developing the intermediate code of the next page into a bit pattern, is calculated. By comparing with a predetermined threshold value, it is confirmed whether or not the time required for the bit pattern expansion processing of the next page is long.

【0037】このように、次ページのビットパターンに
展開されてない中間コードの情報種別に従って該当する
ウエイト値Tを加算することで総ウエイト値Wを算出
し、算出した総ウエイト値Wがあらかじめ定めた閾値よ
り大きいか否かを確認し、閾値より小さいときは次ペー
ジを含む複数ページを連続して印刷することで印刷処理
の効率を上げ、また、閾値より大きいときは既にビット
マップメモリ5に格納したページを単独で印刷すること
でプリンタエンジン7による印刷処理の停滞を防ぐよう
にしたため、ページに印刷する画像に係らず全印刷処理
時間の短縮を確実に図ることができる。
As described above, the total weight value W is calculated by adding the corresponding weight value T according to the information type of the intermediate code which is not developed into the bit pattern of the next page, and the calculated total weight value W is determined in advance. It is checked whether the threshold value is greater than the threshold value. If the threshold value is less than the threshold value, the efficiency of the printing process is increased by continuously printing a plurality of pages including the next page. Since the stored pages are printed alone to prevent stagnation of the printing process by the printer engine 7, it is possible to reliably reduce the entire printing processing time regardless of the image to be printed on the page.

【0038】[0038]

【発明の効果】この発明は以上説明したように、次ペー
ジの中間コード変換が終了しているときはビットマップ
メモリに次ページのビットパターンが展開されるのを待
って、次ページを含む複数ページを連続して印刷するこ
とで印刷処理の効率を上げ、また、次ページの中間コー
ド変換が終了していないときは既にビットマップメモリ
に格納したページを単独で印刷することでプリンタエン
ジンによる印刷処理の停滞を防ぐようにしたから、全印
刷処理時間の短縮を図ることができる。
As described above, according to the present invention, when the intermediate code conversion of the next page has been completed, the process waits for the bit pattern of the next page to be developed in the bit map memory, and then returns to the bit map memory. Printing efficiency is improved by printing pages continuously, and when the intermediate code conversion of the next page has not been completed, printing by the printer engine is performed by printing the page already stored in the bitmap memory alone. Since the stagnation of the processing is prevented, the total print processing time can be reduced.

【0039】また、次ページの中間コードの変換終了を
確認した場合、更に次ページのビットパターンに展開さ
れてない中間コード数があらかじめ定めた閾値より大き
いか否かを確認し、閾値より小さいときはビットマップ
メモリに次ページのビットパターンが展開されるのを待
って、次ページを含む複数ページを連続して印刷するこ
とで印刷処理の効率を上げ、また、閾値より大きいとき
は既にビットマップメモリに格納したページを単独で印
刷することでプリンタエンジンによる印刷処理の停滞を
防ぐようにしたから、全印刷処理時間の短縮を更に図る
ことができる。
When it is confirmed that the conversion of the intermediate code of the next page has been completed, it is further confirmed whether or not the number of intermediate codes not expanded in the bit pattern of the next page is larger than a predetermined threshold. Waits for the bit pattern of the next page to be developed in the bit map memory, and continuously prints a plurality of pages including the next page to improve the efficiency of the printing process. Since the stagnation of the printing process by the printer engine is prevented by printing the page stored in the memory alone, it is possible to further reduce the total printing process time.

【0040】また、あらかじめページの用紙サイズ毎に
設定した閾値を格納し、次ページのビットパターンに展
開されてない中間コード数が該当する用紙サイズの閾値
より大きいか否かを確認し、閾値より小さいときは次ペ
ージを含む複数ページを連続して印刷することで印刷処
理の効率を上げ、また、閾値より大きいときは既にビッ
トマップメモリに格納したページを単独で印刷すること
でプリンタエンジンによる印刷処理の停滞を防ぐように
したから、ページの用紙サイズに係らず全印刷処理時間
の短縮を更に図ることができる。
Further, a threshold value set in advance for each page paper size is stored, and it is determined whether or not the number of intermediate codes not developed in the bit pattern of the next page is larger than the threshold value of the corresponding paper size. When the size is smaller, the efficiency of the printing process is increased by continuously printing a plurality of pages including the next page, and when the size is larger than the threshold value, the page already stored in the bitmap memory is printed alone, thereby printing by the printer engine. Since the stagnation of the processing is prevented, the total printing processing time can be further reduced regardless of the page paper size.

【0041】また、あらかじめページで使用する色数毎
に設定した閾値を格納し、次ページのビットパターンに
展開されてない中間コード数が該当する色数の閾値より
大きいか否かを確認し、閾値より小さいときは次ページ
を含む複数ページを連続して印刷することで印刷処理の
効率を上げ、また、閾値より大きいときは既にビットマ
ップメモリに格納したページを単独で印刷することでプ
リンタエンジンによる印刷処理の停滞を防ぐようにした
から、ページで使用する色数に係らず全印刷処理時間の
短縮を更に図ることができる。
Also, a threshold value set in advance for each number of colors used in the page is stored, and it is confirmed whether or not the number of intermediate codes not expanded in the bit pattern of the next page is larger than the threshold value of the corresponding number of colors. When the value is smaller than the threshold value, the efficiency of the printing process is increased by continuously printing a plurality of pages including the next page, and when the value is larger than the threshold value, the page already stored in the bitmap memory is printed alone, thereby enabling the printer engine to print. Is prevented from stagnation of the printing process, the total printing process time can be further reduced regardless of the number of colors used in the page.

【0042】更に、次ページのビットパターンに展開さ
れてない中間コードの情報種別に従って該当するウエイ
ト値Tを加算することで総ウエイト値Wを算出し、算出
した総ウエイト値Wがあらかじめ定めた閾値より大きい
か否かを確認し、閾値より小さいときは次ページを含む
複数ページを連続して印刷することで印刷処理の効率を
上げ、また、閾値より大きいときは既にビットマップメ
モリに格納したページを単独で印刷することでプリンタ
エンジンによる印刷処理の停滞を防ぐようにしたから、
ページに印刷する画像に係らず全印刷処理時間の短縮を
確実に図ることができる。
Further, the total weight value W is calculated by adding the corresponding weight value T according to the information type of the intermediate code which is not developed into the bit pattern of the next page, and the calculated total weight value W is determined by a predetermined threshold value. Check if it is larger than the threshold, and if it is smaller than the threshold, increase the efficiency of the printing process by continuously printing a plurality of pages including the next page. Since the print processing by the printer engine is prevented by printing alone,
Regardless of the image to be printed on the page, the total print processing time can be reliably reduced.

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

【図1】この発明の一実施例の構成を示す構成図であ
る。
FIG. 1 is a configuration diagram showing a configuration of an embodiment of the present invention.

【図2】ページ情報の一例を示す概要図である。FIG. 2 is a schematic diagram illustrating an example of page information.

【図3】ビットマップメモリの一例を示す概要図であ
る。
FIG. 3 is a schematic diagram illustrating an example of a bitmap memory.

【図4】上記実施例の動作を説明するフローチャートで
ある。
FIG. 4 is a flowchart illustrating the operation of the embodiment.

【図5】第2の実施例の動作を説明するフローチャート
である。
FIG. 5 is a flowchart illustrating the operation of the second embodiment.

【図6】テーブルの一例を示す概要図である。FIG. 6 is a schematic diagram illustrating an example of a table.

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

1 プリンタ装置 2 インターフェース部 3 中間コード変換部 4 ビットマップ展開部 5 ビットマップメモリ 6 判断部 7 プリンタエンジン 8 テーブル DESCRIPTION OF SYMBOLS 1 Printer device 2 Interface part 3 Intermediate code conversion part 4 Bitmap development part 5 Bitmap memory 6 Judgment part 7 Printer engine 8 Table

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 中間コード変換部とビットマップ展開部
とビットマップメモリ及び判断部とを有し、中間コード
変換部はホスト装置から連続して送られたページ毎のプ
リントデータを複数の中間コードに変換してビットマッ
プ展開部に送出すると共に中間コードへの変換が終了し
たか否かを示す各ページ情報を判断部に送出し、ビット
マップ展開部は送られた中間コードに従ってビットマッ
プメモリ上にビットパターンを展開し、ビットマップメ
モリは展開されたビットパターンを格納し、判断部は送
られたページ情報によって次ページの中間コードの変換
が終了したか否かを確認し、変換が終了していないとき
は既にビットマップメモリに格納したページのビットパ
ターンに従って画像データを作成し、変換が終了したと
きはビットマップメモリに格納した次ページを含むビッ
トパターンに従って画像データを作成してプリンタエン
ジンに送出することを特徴とするプリンタ装置。
An intermediate code conversion unit, a bitmap development unit, a bitmap memory and a judgment unit, wherein the intermediate code conversion unit converts print data for each page continuously transmitted from a host device into a plurality of intermediate codes. And sends it to the bitmap developing unit, and sends each page information indicating whether or not the conversion to the intermediate code has been completed to the judging unit. The bitmap developing unit stores the page information in the bitmap memory according to the sent intermediate code. The bit map memory stores the developed bit pattern, and the determination unit checks whether or not the conversion of the intermediate code of the next page has been completed based on the transmitted page information. If not, the image data is created according to the bit pattern of the page already stored in the bitmap memory. A printer device that creates image data in accordance with a bit pattern including a next page stored in a memory and sends the created image data to a printer engine.
【請求項2】 上記中間コード変換部はホスト装置から
連続して送られたページ毎のプリントデータを複数の中
間コードに変換してビットマップ展開部に送出すると共
にビットマップ展開部によってビットパターンに展開さ
れてない中間コード数を示す各ページ情報を判断部に送
出し、判断部は送られたページ情報によって次ページの
ビットパターンに展開されてない中間コード数があらか
じめ定めた閾値より大きいか否かを確認し、閾値より大
きいときは既にビットマップメモリに格納したページの
ビットパターンに従って画像データを作成し、閾値より
小さいときはビットマップメモリに格納した次ページを
含むビットパターンに従って画像データを作成してプリ
ンタエンジンに送出する請求項1記載のプリンタ装置。
2. The intermediate code conversion unit converts print data for each page continuously transmitted from a host device into a plurality of intermediate codes, sends the intermediate codes to a bitmap development unit, and converts the print data into a bit pattern by the bitmap development unit. The page information indicating the number of intermediate codes that have not been expanded is sent to the determination unit, and the determination unit determines whether the number of intermediate codes that have not been expanded into the bit pattern of the next page is greater than a predetermined threshold based on the transmitted page information. If it is larger than the threshold, the image data is created according to the bit pattern of the page already stored in the bitmap memory, and if smaller than the threshold, the image data is created according to the bit pattern including the next page stored in the bitmap memory 2. The printer device according to claim 1, wherein the printer device sends the data to a printer engine.
【請求項3】 上記プリンタ装置にあらかじめ各用紙サ
イズ毎に設定した閾値を格納するテーブルを有し、中間
コード変換部はホスト装置から連続して送られたページ
毎のプリントデータを複数の中間コードに変換してビッ
トマップ展開部に送出すると共にビットマップ展開部に
よってビットパターンに展開されてない中間コード数と
各ページの用紙サイズを示す各ページ情報を判断部に送
出し、判断部は送られたページ情報によって次ページの
ビットパターンに展開されてない中間コード数が、あら
かじめテーブルに格納した該当する用紙サイズの閾値よ
り大きいか否かを確認し、閾値より大きいときは既にビ
ットマップメモリに格納したページのビットパターンに
従って画像データを作成し、閾値より小さいときはビッ
トマップメモリに格納した次ページを含むビットパター
ンに従って画像データを作成してプリンタエンジンに送
出する請求項2記載のプリンタ装置。
3. A printer according to claim 1, wherein said printer device has a table for storing a preset threshold value for each paper size, and said intermediate code converting section converts the print data for each page continuously transmitted from the host device into a plurality of intermediate codes. And sends it to the bitmap developing unit, and also sends the number of intermediate codes not expanded to the bit pattern by the bitmap developing unit and each page information indicating the paper size of each page to the determining unit, and the determining unit sends Check whether the number of intermediate codes that are not expanded into the bit pattern of the next page by the page information is larger than the threshold of the corresponding paper size stored in the table in advance, and if it is larger than the threshold, it is already stored in the bitmap memory Image data is created in accordance with the bit pattern of the specified page. 3. The printer device according to claim 2, wherein image data is created according to the bit pattern including the next page stored and sent to the printer engine.
【請求項4】 上記テーブルはあらかじめページで使用
する色数毎に設定した閾値を格納し、中間コード変換部
はホスト装置から連続して送られたページ毎のプリント
データを複数の中間コードに変換してビットマップ展開
部に送出すると共にビットマップ展開部によってビット
パターンに展開されてない中間コード数とページで使用
する色数を示す各ページ情報を判断部に送出し、判断部
は送られたページ情報によって次ページのビットパター
ンに展開されてない中間コード数が、あらかじめテーブ
ルに格納した該当する色数の閾値より大きいか否かを確
認し、閾値より大きいときは既にビットマップメモリに
格納したビットパターンに従って画像データを作成し、
閾値より小さいときはビットマップメモリに格納した次
ページを含むビットパターンに従って画像データを作成
してプリンタエンジンに送出する請求項3記載のプリン
タ装置。
4. The table stores a threshold value set in advance for each number of colors used in a page, and the intermediate code conversion unit converts print data for each page continuously transmitted from the host device into a plurality of intermediate codes. And sends the page information indicating the number of intermediate codes and the number of colors used in the page that have not been developed into a bit pattern by the bitmap developing unit to the determining unit. It is checked whether the number of intermediate codes not expanded to the bit pattern of the next page by the page information is larger than the threshold value of the corresponding color number stored in the table in advance, and if it is larger than the threshold value, it is already stored in the bitmap memory. Create image data according to the bit pattern,
4. The printer device according to claim 3, wherein when the value is smaller than the threshold value, the image data is created in accordance with the bit pattern including the next page stored in the bitmap memory and transmitted to the printer engine.
【請求項5】 上記テーブルはあらかじめ中間コードの
テキストとグラフィックスを含む情報種別毎に定めたウ
エイト値Tを格納し、中間コード変換部はホスト装置か
ら連続して送られたページ毎のプリントデータを複数の
中間コードに変換してビットマップ展開部に送出すると
共にビットマップ展開部によってビットパターンに展開
されてない中間コードの情報種別を示す各ページ情報を
判断部に送出し、判断部は送られたページ情報によって
次ページのビットパターンに展開されてない中間コード
の情報種別に従って該当するウエイト値Tをテーブルか
らそれぞれ選択して加算して総ウエイト値Wを算出し、
算出した総ウエイト値Wがあらかじめ定めた閾値より大
きいか否かを確認し、閾値より大きいときは既にビット
マップメモリに格納したビットパターンに従って画像デ
ータを作成し、閾値より小さいときはビットマップメモ
リに格納した次ページを含むビットパターンに従って画
像データを作成してプリンタエンジンに送出する請求項
4記載のプリンタ装置。
5. The table stores a weight value T previously determined for each information type including text and graphics of an intermediate code, and the intermediate code conversion unit prints the print data for each page continuously transmitted from the host device. Is converted to a plurality of intermediate codes and transmitted to the bitmap developing unit, and each page information indicating the information type of the intermediate code that is not developed into the bit pattern by the bitmap developing unit is transmitted to the determining unit. The corresponding weight value T is selected from the table according to the information type of the intermediate code which is not developed into the bit pattern of the next page according to the page information obtained, and is added to calculate the total weight value W.
It is checked whether the calculated total weight value W is larger than a predetermined threshold. If the calculated total weight value W is larger than the threshold, image data is created according to the bit pattern already stored in the bitmap memory. 5. The printer device according to claim 4, wherein image data is created in accordance with the stored bit pattern including the next page and sent to the printer engine.
JP9067514A 1997-03-06 1997-03-06 Printer apparatus Pending JPH10244715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9067514A JPH10244715A (en) 1997-03-06 1997-03-06 Printer apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9067514A JPH10244715A (en) 1997-03-06 1997-03-06 Printer apparatus

Publications (1)

Publication Number Publication Date
JPH10244715A true JPH10244715A (en) 1998-09-14

Family

ID=13347179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9067514A Pending JPH10244715A (en) 1997-03-06 1997-03-06 Printer apparatus

Country Status (1)

Country Link
JP (1) JPH10244715A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7443519B1 (en) 1999-07-22 2008-10-28 Seiko Epson Corporation Printer system flexibly compatible with plurality of printer control languages (PCL) using intermediate and raster codes

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7443519B1 (en) 1999-07-22 2008-10-28 Seiko Epson Corporation Printer system flexibly compatible with plurality of printer control languages (PCL) using intermediate and raster codes

Similar Documents

Publication Publication Date Title
JP4395771B2 (en) Image forming control apparatus, image forming apparatus calibration method, and program
US5475800A (en) Color separation in color graphics printing with limited memory
US6445463B1 (en) Image processing method to reduce marking material coverage in printing processes
US7835027B2 (en) Reducing the resolution of a rendered image for printing
JP4942414B2 (en) Printing device
JP3242511B2 (en) Character generation device and character generation method
JPH10244715A (en) Printer apparatus
JP4472957B2 (en) Image forming apparatus and image forming method
US6411398B1 (en) Computer interface unit for computer data print-out system using stencil printers
JPH10138567A (en) Apparatus for setting color of character
JPH03216675A (en) Multicolor recording device
JPS63242561A (en) Font reducing system
JP3088387B2 (en) Print density adjustment method and apparatus
JP4330685B2 (en) Printing device
JPH0664248A (en) Duplicating device
JPH0781145A (en) Multi-color printing device
JPH0340716B2 (en)
JP2001277677A (en) Image processing device and image processing method
JPH04241570A (en) Printer
JPH04239675A (en) Cut form printer
JPH10326166A (en) Printer device
JPH06227043A (en) Printing pattern data management system in printer
JPH0516435A (en) Image forming device
JPS6394858A (en) Printing control method of printer
JPH02178066A (en) Page printer