JPH10309835A - Page printer - Google Patents

Page printer

Info

Publication number
JPH10309835A
JPH10309835A JP12071097A JP12071097A JPH10309835A JP H10309835 A JPH10309835 A JP H10309835A JP 12071097 A JP12071097 A JP 12071097A JP 12071097 A JP12071097 A JP 12071097A JP H10309835 A JPH10309835 A JP H10309835A
Authority
JP
Japan
Prior art keywords
band
image
buffer
print
band buffer
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.)
Granted
Application number
JP12071097A
Other languages
Japanese (ja)
Other versions
JP3509840B2 (en
Inventor
Osamu Asami
修 浅見
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP12071097A priority Critical patent/JP3509840B2/en
Publication of JPH10309835A publication Critical patent/JPH10309835A/en
Application granted granted Critical
Publication of JP3509840B2 publication Critical patent/JP3509840B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To eliminate a work of copying to a band buffer when a preliminary development image is printed and efficiently carry out a printing process in a page printer. SOLUTION: A processor 1 divides one page to a plurality of bands, and registers an intermediate code 73 of each band to a printing position management table 7. When a printing engine 13 starts to print each band, the processor lends an image of the band to a band buffer 9 and transfers the image in the band buffer 9 to the printing engine 13 in a DMA. However, if a volume of the intermediate code of the band is considerably large, the processor 1 lends the image of the band to an external band buffer 11 beforehand. A print state management tug 91 is provided at the general band buffer 9, and a similar tug 111 is set to the external band buffer 11 as well.

Description

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

【0001】[0001]

【発明の技術分野】本発明は、ページプリンタにおける
バンドイメージバッファの取り扱いに関する。
The present invention relates to the handling of band image buffers in page printers.

【0002】[0002]

【従来の技術】ページプリンタでは、図1に示すよう
に、内部のプロセッサが1ページの印刷イメージ101
を「バンド」と呼ばれる単位の塊103に分割し、メモ
リ効率を良くするために、各バンド103のイメージを
中間コード105に変換してメモリに格納する。1ペー
ジ分のイメージの中間コード107が出来上がると、印
刷エンジンを動作させる(印刷開始)。エンジンの動作
中、エンジン動作に同期して、各バンドの中間コード1
05をバンドバッファ109へレンダリング(つまり、
イメージに展開)していく。バンドバッファ109に展
開されたイメージは、DMAにより印刷エンジンへ転送
されていく。尚、バンドバッファ109の数は、レンダ
リングが印刷エンジンへの転送に間に合わなく(これを
「オーバラン」という)ならないような範囲内で、最小
の数に予め固定されている。
2. Description of the Related Art In a page printer, as shown in FIG.
Is divided into unit blocks 103 called “bands”, and in order to improve the memory efficiency, the image of each band 103 is converted into an intermediate code 105 and stored in the memory. When the intermediate code 107 of the image for one page is completed, the print engine is operated (printing is started). During the operation of the engine, the intermediate code 1 of each band is synchronized with the operation of the engine.
05 is rendered to the band buffer 109 (that is,
Image). The image developed in the band buffer 109 is transferred to the print engine by DMA. Note that the number of the band buffers 109 is fixed in advance to a minimum number within a range where rendering cannot be completed in time for transfer to the print engine (this is called “overrun”).

【0003】ところが、あるバンドの中間コードの量が
多くなりオーバーランになりそうな状況を検出すると、
若しくはレンダリング後のイメージより中間コードの方
が大きくなってしまう状況を検出すると、プロセッサは
そのバンドのイメージを、エンジンには同期せずに事前
に、バンドバッファ109とは異なる場所111へレン
ダリングする(これを「事前展開」という)。そして、
そのバンドの印刷時に、その事前展開イメージをその記
憶場所111からバンドバッファ109へコピーする。
However, when a situation is detected in which the amount of intermediate codes in a certain band is likely to increase and an overrun is likely to occur,
Alternatively, upon detecting a situation in which the intermediate code is larger than the rendered image, the processor renders the image of the band to a location 111 different from the band buffer 109 in advance without synchronizing with the engine ( This is called "pre-deployment.") And
When printing the band, the pre-deployed image is copied from the storage location 111 to the band buffer 109.

【0004】[0004]

【発明が解決しようとする課題】このように、従来のペ
ージプリンタでは、事前展開したイメージをエンジンへ
転送する時、そのイメージをその記憶場所111からバ
ンドバッファ109へコピーした上で、バンドバッファ
109からエンジンへ転送している。その理由は、バン
ドバッファ109内のイメージはエンジンへの転送後は
後続バンドのレンダリングのためにクリアされるのに対
し、記憶場所111内の事前展開イメージは、エンジン
転送後に紙ジャムなどのエラーが発生した場合に再度印
刷できるよう、保持しておく必要があるからである。
As described above, in the conventional page printer, when the pre-developed image is transferred to the engine, the image is copied from the storage location 111 to the band buffer 109, and then is transferred to the band buffer 109. To the engine. The reason is that the image in the band buffer 109 is cleared for rendering of the subsequent band after the transfer to the engine, whereas the pre-deployed image in the storage location 111 has an error such as a paper jam after the engine is transferred. This is because it is necessary to hold the data so that it can be printed again when it occurs.

【0005】しかしながら、事前展開イメージをその記
憶場所からバンドバッファにコピーすることは無駄な作
業であり、後続バンドをバンドバッファにレンダリング
する上でも非効率的である。
However, copying a pre-deployed image from its storage location to a band buffer is a wasteful task and inefficient in rendering subsequent bands to the band buffer.

【0006】従って、本発明の目的は、ページプリンタ
において、事前展開されたイメージをバンドバッファへ
コピーする作業を無くすことにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to eliminate the task of copying a pre-developed image to a band buffer in a page printer.

【0007】本発明の別の目的は、バンドイメージのレ
ンダリング及び印刷エンジンへの転送を効率化すること
にある。
It is another object of the present invention to streamline rendering and transfer of band images to a print engine.

【0008】[0008]

【課題を解決するための手段】本発明の第1の側面に従
うページプリンタは、メモリと、印刷エンジンと、通常
のバンドのイメージをその印刷時にレンダリングするた
めの通常のバンドバッファをメモリ内に確保する手段
と、事前展開バンドのイメージを事前にレンダリングす
るための外部バンドバッファをメモリ内に確保する手段
と、通常のバンドバッファ及び外部バンドバッファ内の
イメージをそれぞれの印刷時に印刷エンジンへ直接的に
転送し、それぞれの転送後、通常のバンドバッファ内の
イメージのみを次バンドのイメージのレンダリングに備
えてクリアする転送手段とを備える。
SUMMARY OF THE INVENTION A page printer according to a first aspect of the present invention reserves in memory a memory, a print engine, and a normal band buffer for rendering a normal band image during printing. Means for securing an external band buffer in memory for pre-rendering the image of the pre-development band, and directing the image in the normal band buffer and the image in the external band buffer directly to the print engine at the time of printing. Transfer means for transferring, and after each transfer, clearing only the image in the normal band buffer in preparation for rendering the image of the next band.

【0009】本発明の第2の側面に従うページプリンタ
は、メモリと、印刷エンジンと、各バンドのイメージを
レンダリングするための各バンドバッファをメモリ内に
確保する手段と、各バンドバッファ内のイメージをその
印刷時に印刷エンジンへ直接的に転送する転送手段とを
備え、この転送手段は、各バンドバッファ内のイメージ
が通常のバンドのものか事前展開バンドのものかを見分
けて、それぞれの転送後、各バンドバッファ内の通常の
バンドのイメージのみを次バンドのイメージのレンダリ
ングに備えてクリアする。
A page printer according to a second aspect of the present invention comprises a memory, a print engine, means for securing each band buffer for rendering an image of each band in the memory, and an image in each band buffer. Transfer means for directly transferring to the print engine at the time of printing, the transfer means distinguishing whether the image in each band buffer is of a normal band or a pre-development band, and after each transfer, Only the normal band image in each band buffer is cleared in preparation for rendering the next band image.

【0010】これら本発明のページプリンタでは、事前
展開バンドのイメージも、事前展開されていない通常の
バンドのイメージも、それぞれがレンダリングされたバ
ンドバッファから直接的に(つまり、他のバンドバッフ
ァへのコピーを経由することなく)印刷エンジンへ転送
される。そして、印刷エンジンへの転送後、バンドバッ
ファ内の通常バンドのイメージのみが、次のバンドイメ
ージのレンダリングに備えてクリアされ、事前展開バン
ドのイメージは、後にエラーリカバリのために再印刷を
する必要が生じた場合に備えて、クリアされずに保持さ
れる。
In these page printers of the present invention, both the image of the pre-expanded band and the image of the normal band which has not been pre-expanded are directly transferred from the rendered band buffer (that is, transferred to another band buffer). Forwarded to the print engine (without going through a copy). Then, after transfer to the print engine, only the normal band image in the band buffer is cleared in preparation for rendering the next band image, and the pre-development band image needs to be reprinted later for error recovery Is held without being cleared in case of occurrence of.

【0011】本発明では、通常のバンドのイメージの記
憶場所(通常のバンドバッファ)と事前展開バンドのイ
メージの記憶場所(外部バンドバッファ)とを、印刷エ
ンジンへの転送に関しては同様に取り扱うが、転送後の
クリアに関しては、通常のバンドバッファと外部バンド
バッファとを別様に取り扱う。このような取り扱いを可
能にする一手段として、各バンドバッファ内に印刷状態
管理タグを設けることができる。このタグには、各バン
ドバッファの識別番号と印刷状態とが示されている。こ
こで、「印刷状態」とは、例えば、レンダリングが完了
したか否か、エンジンへの転送が終わったか否かという
ような印刷に関わるバンドバッファ処理の進行状況であ
る。この印刷状態管理タグを利用することにより、外部
バンドバッファからも、通常のバンドバッファと同様に
エンジンへの直接的なイメージ転送が可能であるととも
に、外部バンドバッファと通常のバンドバッファとを見
分けて、転送後のクリアに関して別様に取り扱うことが
可能である。
In the present invention, the storage location of the image of the normal band (normal band buffer) and the storage location of the image of the pre-development band (external band buffer) are handled in the same manner with respect to the transfer to the print engine. For clearing after transfer, the normal band buffer and the external band buffer are handled differently. As one means for enabling such handling, a print state management tag can be provided in each band buffer. This tag indicates the identification number of each band buffer and the printing state. Here, the “print state” is a progress state of band buffer processing related to printing, for example, whether or not rendering has been completed and whether or not transfer to the engine has been completed. By using this print state management tag, it is possible to transfer images directly from the external band buffer to the engine in the same way as a normal band buffer, and to distinguish between the external band buffer and the normal band buffer. , Can be handled differently for clearing after transfer.

【0012】本発明のページプリンタでは、望ましく
は、ヌルバンド(つまり、印刷すべきイメージのないブ
ランクのバンド)の印刷時にヌルデータを発生させて印
刷エンジンへ直接的に供給する手段を設けることができ
る。これにより、ヌルバンドについてメモリ内のバンド
バッファを使う必要がなくなるため、メモリの使用効率
が改善され、そしてバンドイメージのレンダリング及び
転送処理が一層効率的に行い得るようになる。
In the page printer of the present invention, preferably, there can be provided means for generating null data at the time of printing a null band (that is, a blank band having no image to be printed) and supplying the null data directly to the print engine. This eliminates the need to use a band buffer in memory for null bands, thus improving memory utilization and allowing band image rendering and transfer processes to be performed more efficiently.

【0013】[0013]

【発明の実施の形態】図2は、本発明の一実施形態にか
かるページプリンタの要部の構成を示す。
FIG. 2 shows a configuration of a main part of a page printer according to an embodiment of the present invention.

【0014】プロセッサ1はメモリ3内に、受信バッフ
ァ5、印刷位置管理テーブル7及び通常のバンドバッフ
ァ(以下、単に「バンドバッファ」という)9を確保す
る。また、プロセッサ1は、必要に応じて、外部バンド
バッファ11もメモリ3内に確保する。
The processor 1 secures a reception buffer 5, a print position management table 7, and a normal band buffer (hereinafter simply referred to as "band buffer") 9 in the memory 3. The processor 1 also secures the external band buffer 11 in the memory 3 as needed.

【0015】受信バッファ5は、ホストコンピュータか
ら受信した印刷コマンドを一時的に蓄積する場所であ
る。印刷位置管理テーブル7は、各バンドの印刷位置を
管理するために用いられるとともに、各バンドの中間コ
ードを蓄積する場所である。図中の印刷位置管理テーブ
ル7では、横線で仕切られた各行が各バンドに割り当て
られた領域を示しており、その各バンド領域において、
左側のフィールドの数字71は紙面上での各バンドの印
刷順序を示し、右側のフィールドは各バンドの中間コー
ドの蓄積場所(中間コードバッファ)を示している。こ
こで、右側のフィールドに「NULL」と書かれている
バンドは、そのバンドには印刷を行わないこと(紙面上
でブランクになること)を意味している(そのバンドを
「ヌルバンド」という)。
The reception buffer 5 is a place for temporarily storing print commands received from the host computer. The print position management table 7 is used to manage the print position of each band and is a place where the intermediate code of each band is stored. In the printing position management table 7 in the figure, each line separated by a horizontal line indicates an area assigned to each band, and in each band area,
The numeral 71 in the left field indicates the printing order of each band on the paper, and the right field indicates the storage location (intermediate code buffer) of the intermediate code of each band. Here, a band in which “NULL” is written in the field on the right side means that printing is not performed on the band (being blank on paper) (the band is referred to as a “null band”). .

【0016】バンドバッファ9は、印刷エンジン13の
動作に同期してレンダリングされた各バンドのイメージ
を一時的に蓄積する場所である。図中のバンドバッファ
9では、横線で仕切られた各行が各バンドに割り当てら
れた領域を示している。その各バンド領域は、各バンド
イメージの印刷状態を示すための「印刷状態管理タグ」
と呼ばれる部分91を有している。印刷状態管理タグ9
1の右側に図示したフィールド93は、各バンドのイメ
ージの蓄積場所を示している。バンドバッファ9サイズ
は、オーバランが生じないと通常期待される範囲内で、
最小のバンド数分(図示の例では4バンド分)だけ確保
される。
The band buffer 9 is a place where the image of each band rendered in synchronization with the operation of the print engine 13 is temporarily stored. In the band buffer 9 in the figure, each row separated by a horizontal line indicates an area assigned to each band. Each band area has a “print state management tag” for indicating the print state of each band image.
Has a portion 91 called a. Print status management tag 9
A field 93 shown on the right side of 1 indicates a storage location of an image of each band. The size of the band buffer 9 should be within the range normally expected without overrun,
Only the minimum number of bands (four bands in the illustrated example) is secured.

【0017】外部バンドバッファ11は、事前展開され
たバンドのイメージを蓄積する場所であり、あるバンド
について事前展開の必要が生じたときにそのバンドのた
めに確保される。外部バンドバッファ11は、バンドバ
ッファ9と同様に、そのバンドイメージの印刷状態を示
すための「印刷状態管理タグ」111を有している。印
刷状態管理タグ111の右側に図示したフィールド11
3は、事前展開されたバンドイメージの蓄積場所を示し
ている。
The external band buffer 11 is a place for storing an image of a pre-developed band, and is reserved for a band when the pre-deployment of the band becomes necessary. The external band buffer 11, like the band buffer 9, has a “print state management tag” 111 for indicating the print state of the band image. Field 11 shown on the right side of print state management tag 111
Reference numeral 3 denotes a storage location of the pre-developed band image.

【0018】図中の矢印はデータの概略的な流れを示し
ている。まず、ホストコンピュータから受信された印刷
コマンドは受信バッファ5に蓄積される。次にプロセッ
サ1が、受信バッファ5から印刷コマンドを受信順に読
み込み、これを解釈することにより各バンドの中間コー
ドを生成し、その中間コードを印刷位置管理テーブル7
に登録して行く。尚、ヌルバンドについては、ヌルバン
ドである旨の中間コードが登録されるだけである。
The arrows in the figure show the schematic flow of data. First, the print command received from the host computer is stored in the reception buffer 5. Next, the processor 1 reads the print commands from the reception buffer 5 in the order of reception, interprets the print commands, generates intermediate codes for each band, and stores the intermediate codes in the print position management table 7.
Register and go. Note that for the null band, only an intermediate code indicating that the band is a null band is registered.

【0019】印刷位置管理テーブル7に1ページ分の中
間コードが出来上がると、次にプロセッサ1は印刷エン
ジン13を作動させ、そして、印刷エンジン13に同期
して、印刷位置管理テーブル7内の各バンドの中間コー
ドをイメージにレンダリングしてバンドバッファ9に書
込んで行く。バンドバッファ9内の各バンドイメージ
は、DMAよりに印刷エンジン13へ転送される。尚、
ヌルバンドについては、プロセッサ1は、バンドバッフ
ァ9へのレンダリングは行わず、代りに、ヌルデータ
(例えば値「0」のデータ)をそのヌルバンドのサイズ
分だけ生成して印刷エンジン13へ送る。
When the intermediate code for one page is completed in the print position management table 7, the processor 1 activates the print engine 13 and synchronizes with each band in the print position management table 7 in synchronization with the print engine 13. Is rendered into an image and written to the band buffer 9. Each band image in the band buffer 9 is transferred to the print engine 13 by the DMA. still,
For the null band, the processor 1 does not perform rendering to the band buffer 9, but instead generates null data (for example, data of a value “0”) by the size of the null band and sends the null data to the print engine 13.

【0020】各バンドの中間コード生成過程で、プロセ
ッサ1は、そのバンドの中間コードの量が閾値を越えて
ないかどうかを監視している。もし閾値を越えた場合に
は、それは、オーバーランが生じそうな状況、若しくは
イメージより中間コードの量の方が大きい状況を意味し
ている。その場合にはプロセッサ1は、そのバンドのた
めの外部バンドバッファ11を確保し、そのバンドのイ
メージをその外部バンドバッファ11に事前展開し、さ
らに、そのバンドが事前展開バンドである旨の1個の中
間コード(これには外部バンドバッファ11のポインタ
が登録されている)を生成して、印刷位置管理テーブル
7のそのバンドの中間コードバッファに登録する。例え
ば、図2に示した例では、印刷順序が5番目のバンドが
事前展開バンドである。
In the process of generating the intermediate code of each band, the processor 1 monitors whether the amount of the intermediate code of the band exceeds a threshold value. If the threshold is exceeded, it means a situation in which an overrun is likely to occur, or a situation in which the amount of intermediate code is greater than the image. In that case, the processor 1 secures the external band buffer 11 for the band, pre-develops the image of the band in the external band buffer 11, and further includes one indicating that the band is a pre-development band. (In which the pointer of the external band buffer 11 is registered) is generated and registered in the intermediate code buffer of the band in the print position management table 7. For example, in the example shown in FIG. 2, the band in the fifth printing order is the pre-expanded band.

【0021】外部バンドバッファ11内の事前展開バン
ドのイメージは、そのバンドの印刷時に、バンドバッフ
ァ9にコピーされることなく、外部バンドバッファ11
3からDMAにより印刷エンジン13へ転送される。
The image of the pre-development band in the external band buffer 11 is not copied to the band buffer 9 at the time of printing the band, and is not copied to the external band buffer 11.
3 is transferred to the print engine 13 by DMA.

【0022】バンドバッファ9内のバンドイメージは、
印刷エンジン13への転送が終わるとプロセッサ1によ
ってクリアされるが、外部バンドバッファ11内の事前
展開バンドイメージは、印刷エンジン13への転送が終
わってもクリアされずに、そのページ(両面印刷の場合
は、そのページと反対側のページ)の必要枚数の印刷が
完了してその印刷した用紙が排出されるまで、保存され
る。
The band image in the band buffer 9 is
When the transfer to the print engine 13 is completed, the page is cleared by the processor 1. However, the pre-developed band image in the external band buffer 11 is not cleared even after the transfer to the print engine 13 is completed, and the page (for double-sided printing) is not cleared. In this case, the data is stored until the required number of pages (the page on the opposite side of the page) have been printed and the printed sheet is discharged.

【0023】図2に示した本実施形態で特に重要な機能
は、外部バッファ11内の事前展開イメージをバンドバ
ッファ9を経由せずに直接に印刷エンジン13へ転送す
る点である。この機能を実現するために本実施形態が採
用した構成及び処理動作を以下に詳細に説明する。
A particularly important function in the present embodiment shown in FIG. 2 is that the pre-development image in the external buffer 11 is directly transferred to the print engine 13 without passing through the band buffer 9. The configuration and processing operation adopted by the present embodiment to realize this function will be described in detail below.

【0024】図3及び図4は、印刷位置管理テーブル7
に登録された中間コードの構成を示す。
FIGS. 3 and 4 show the print position management table 7.
Shows the configuration of the intermediate code registered in.

【0025】図3は、事前展開バンドでもヌルバンドで
もない通常のバンドの中間コードの構成を示す。通常の
バンドの中間コード量はバンドによってまちまちであ
る。中間コードの量はその作成過程で増えて行くもので
あり、始めから中間コード量を決めることはできない。
そこで、図3に示すように、一定サイズの中間コードバ
ッファ731を複数個連結して使用する。各中間コード
バッファ731の最後には、次の中間コードバッファ7
31へのポインタである「リンクコード」と呼ばれるコ
ードが入る(各バンドの最後の中間コードバッファ73
1のリンクコードは次バンドの最初の中間コードバッフ
ァ731へのポインタである)。
FIG. 3 shows the structure of an intermediate code of a normal band that is neither a pre-development band nor a null band. The intermediate code amount of a normal band varies depending on the band. The amount of intermediate code increases during the process of creation, and the amount of intermediate code cannot be determined from the beginning.
Therefore, as shown in FIG. 3, a plurality of intermediate code buffers 731 of a fixed size are connected and used. At the end of each intermediate code buffer 731, the next intermediate code buffer 7
A code called a “link code” which is a pointer to 31 is entered (the last intermediate code buffer 73 of each band).
The link code of 1 is a pointer to the first intermediate code buffer 731 of the next band).

【0026】図4は、事前展開バンドの中間コードの構
成を示す。事前展開バンドの中間コードは、事前展開バ
ンドである旨の一つの所定の中間コード733と、次の
バンドへのポインタであるリンクコード735とから構
成され、1個の中間コードバッファ731に収納され
る。事前展開バンドである旨を示す中間コード733に
は、その事前展開されたイメージを格納した外部バンド
バッファ11へのポインタが登録されている。従って、
この中間コード733から外部バンドバッファ11を参
照することができる。
FIG. 4 shows the structure of the intermediate code of the pre-expanded band. The intermediate code of the pre-expanded band includes one predetermined intermediate code 733 indicating that the band is a pre-expanded band and a link code 735 which is a pointer to the next band, and is stored in one intermediate code buffer 731. You. In the intermediate code 733 indicating that the band is a pre-developed band, a pointer to the external band buffer 11 storing the pre-developed image is registered. Therefore,
The external band buffer 11 can be referred to from the intermediate code 733.

【0027】図3と図4に示した中間コード構成から理
解されるように、シリアルにリンクされた多数の中間コ
ードバッファ731の形式で1つのページの中間コード
が印刷位置管理テーブル7に登録されているので、その
リンクに従ってページの先頭から最後までの全ての中間
コードを順番にたどることができる。
As understood from the intermediate code structure shown in FIGS. 3 and 4, the intermediate code of one page is registered in the print position management table 7 in the form of a large number of serially linked intermediate code buffers 731. Therefore, all the intermediate codes from the top to the end of the page can be sequentially followed according to the link.

【0028】図4には更に、事前展開バンドのイメージ
を格納した外部バンドバッファ11の構成も示されてい
る。
FIG. 4 further shows the configuration of the external band buffer 11 storing the image of the pre-development band.

【0029】外部バンドバッファ11は、既に説明した
ように印刷状態管理タグ111と事前展開されたバンド
イメージの記憶場所113とから構成される。印刷状態
管理タグ111には、このバンドバッファ11の識別番
号115と、印刷状態コード117と、バンドイメージ
の記憶場所113へのポインタ119とが含まれてい
る。
The external band buffer 11 includes the print state management tag 111 and the storage location 113 of the pre-developed band image as described above. The print state management tag 111 includes an identification number 115 of the band buffer 11, a print state code 117, and a pointer 119 to a storage location 113 of the band image.

【0030】図5は、通常のバンドバッファ9の構成を
示す。
FIG. 5 shows the structure of a normal band buffer 9.

【0031】各バンドバッファ9も、既に説明したよう
に印刷状態管理タグ91とバンドイメージの記憶場所9
3とから構成される。印刷状態管理タグ91には、各バ
ンドバッファ9の識別番号95と、印刷状態コード97
と、バンドイメージの記憶場所93へのポインタ99と
が含まれている。
Each band buffer 9 also has a print state management tag 91 and a band image storage location 9 as described above.
And 3. The print state management tag 91 includes an identification number 95 of each band buffer 9 and a print state code 97.
And a pointer 99 to the storage location 93 of the band image.

【0032】図4の外部バンドバッファ11と図5のバ
ンドバッファ9とを対比すると分るように、両者は実質
的に同一の構成である。従って、外部バンドバッファ1
1を通常のバンドバッファ9と同様に取り扱うことが可
能である。これらのバッファ11、9の印刷状態コード
117、97は、イメージをレンダリングしている途中
であることを示す「レンダリング中」、レンダリングが
完了しエンジンへ転送できる状態を示す「レンダリング
済み」、エンジンへのイメージを転送中であることを示
す「転送中」、及びエンジンへのイメージ転送が完了し
ていることを示す「空き」のいずれかの値をとる。
As can be seen from a comparison between the external band buffer 11 of FIG. 4 and the band buffer 9 of FIG. 5, both have substantially the same configuration. Therefore, the external band buffer 1
1 can be handled in the same manner as a normal band buffer 9. The print status codes 117 and 97 in these buffers 11 and 9 indicate “rendering” indicating that the image is being rendered, “rendered” indicating that rendering has been completed and can be transferred to the engine, and Of the image is being transferred, and “empty” indicating that the image transfer to the engine has been completed.

【0033】図6は、プロセッサ1が各ページの印刷の
ために行う処理の全体の流れを示す。
FIG. 6 shows the overall flow of processing performed by the processor 1 for printing each page.

【0034】プロセッサ1は、ホストコンピューから印
刷コマンドを受信すると(S1)、それを一旦受信バッ
ファ5に格納した後、受信バッファ5から受信順に印刷
コマンドを読み込んでこれを解釈する(S2)。印刷コ
マンドを解釈することにより、プロセッサ1は中間コー
ドを生成する(S4)。
When receiving the print command from the host computer (S1), the processor 1 temporarily stores the print command in the receive buffer 5, reads the print commands from the receive buffer 5 in the order of reception, and interprets the print commands (S2). By interpreting the print command, the processor 1 generates an intermediate code (S4).

【0035】ステップS4の中間コード生成処理の詳細
は、図7に示す通りである。まず、1つのページを複数
のバンドに分割し、今処理中のバンドの紙面上での印刷
位置を決定する(S11)。続いて、今処理中のバンド
について、中間コードを生成して印刷位置管理テーブル
7に登録し(S12)、更に、そのバンドについて今ま
で生成した中間コードの量を計算する(S13)。この
中間コード量は、事前展開する必要があるか否かの判断
に使用される。
The details of the intermediate code generation processing in step S4 are as shown in FIG. First, one page is divided into a plurality of bands, and the printing position of the band currently being processed on the paper is determined (S11). Subsequently, an intermediate code is generated for the band currently being processed and registered in the print position management table 7 (S12), and the amount of the intermediate code generated so far for the band is calculated (S13). This intermediate code amount is used to determine whether or not it is necessary to pre-deploy.

【0036】再び図6を参照して、ステップS4の後、
今処理中のバンドの中間コード量を所定の閾値と比較し
(S5)、その中間コード量が閾値を越えていないなら
ば、上述した中間コード生成処理を続行する。もし、今
処理中のバンドの中間コード量が閾値を越えた場合に
は、そのバンドについて事前展開処理を行う(S6)。
この事前展開処理の詳細は後に説明する。
Referring again to FIG. 6, after step S4,
The intermediate code amount of the band currently being processed is compared with a predetermined threshold value (S5). If the intermediate code amount does not exceed the threshold value, the above-described intermediate code generation process is continued. If the intermediate code amount of the band currently being processed exceeds the threshold, the band is pre-developed (S6).
The details of this pre-expansion processing will be described later.

【0037】こうして各バンドを順次に中間コード化し
ていき、1つのページの中間コードが全て印刷位置管理
テーブル7に登録されると(S3でYes)、次に、プ
ロセッサ1はステップS7、S8のレンダリング処理に
入る。プロセッサ1は、印刷位置管理テーブル7に登録
された中間コードを順番にたどって行き、まず、今印刷
しようとしているバンドが事前展開バンドであるか否か
をチェックする(S7)。そのバンドが事前展開バンド
でなければ、プロセッサ1はそのバンドの中間コードに
基づいてそのバンドのイメージをイメージバッファ9に
レンダリングする(S8)。
As described above, each band is sequentially converted into an intermediate code. When all the intermediate codes of one page are registered in the print position management table 7 (Yes in S3), the processor 1 then proceeds to steps S7 and S8. Enter rendering processing. The processor 1 sequentially traces the intermediate codes registered in the print position management table 7, and first checks whether or not the band to be printed is a pre-developed band (S7). If the band is not a pre-development band, the processor 1 renders an image of the band in the image buffer 9 based on the intermediate code of the band (S8).

【0038】ステップ8のレンダリング処理の詳細は、
図8に示す通りである。まず、印刷位置管理テーブル7
から中間コードを読み込み(S15)、今印刷しようと
しているバンドに割り当てたバンドバッファ9の状態が
「空き」になったなら(S16、S17)、読み込んだ
中間コードからそのバンドイメージをレンダリングして
バンドバッファ9に書込む(S18)。レンダリング中
は、バンドバッファ9の印刷状態コード97を「レンダ
リング中」とし、レンダリングが完了したなら、その印
刷状態コード97を「レンダリング済み」に変更する
(S19)。
The details of the rendering processing in step 8 are as follows.
This is as shown in FIG. First, the print position management table 7
(S15), and if the state of the band buffer 9 allocated to the band to be printed becomes "empty" (S16, S17), the band image is rendered from the read intermediate code to render the band. Writing to the buffer 9 (S18). During rendering, the print status code 97 of the band buffer 9 is set to “rendering”, and when rendering is completed, the print status code 97 is changed to “rendered” (S19).

【0039】再び図6を参照して、今印刷しようとして
いるバンドのレンダリングが終了したならば、次にその
バンドの印刷処理が行われる(S9)。印刷処理は、バ
ンドバッファ9内のイメージを印刷エンジン13へDM
Aにより転送することにより行われる。また、今印刷し
ようとしているバンドが事前展開バンドであった場合
(S7でYes)には、直ちにそのバンドの印刷処理に
入ることができる。この事前展開バンドの印刷処理は、
既に述べたように、外部バンドバッファ11内のイメー
ジを印刷エンジン13へDMAにより転送することによ
り行われる。この印刷処理の詳細は後に説明する。
Referring to FIG. 6 again, when the rendering of the band to be printed is completed, the printing process of the band is performed (S9). The print processing is performed by sending the image in the band buffer 9 to the print engine 13 by DM.
The transfer is performed by A. If the band to be printed is a pre-developed band (Yes in S7), the printing process for that band can be started immediately. The printing process of this pre-developed band
As described above, this is performed by transferring the image in the external band buffer 11 to the print engine 13 by DMA. Details of this printing process will be described later.

【0040】このような各バンド単位のレンダリングと
印刷の処理が、1ページの最後のバンドまで繰り返され
る(S10)。
The processing of rendering and printing for each band is repeated until the last band of one page (S10).

【0041】図9は、図6のステップS6の事前展開処
理の流れを示す。
FIG. 9 shows the flow of the pre-expansion processing in step S6 in FIG.

【0042】プロセッサ1は、まずメモリ3内に外部バ
ンドバッファ11を確保し(S21)、次に、今処理中
のバンドの中間コードからそのバンドのイメージをレン
ダリングして外部バンドバッファ11に書込む(S2
2)。次に、プロセッサ1は、図4に示したような事前
展開バンド用の中間コード、つまり外部バンドバッファ
11のポインタをイメージとして登録した所定の中間コ
ードを作成して、これを印刷位置管理テーブル7に登録
する(S23)。
The processor 1 first secures the external band buffer 11 in the memory 3 (S 21), and then renders an image of the band from the intermediate code of the band currently being processed and writes it in the external band buffer 11. (S2
2). Next, the processor 1 creates an intermediate code for the pre-development band as shown in FIG. 4, that is, a predetermined intermediate code in which the pointer of the external band buffer 11 is registered as an image, and creates the intermediate code. (S23).

【0043】図10は、図6のステップS9の印刷処理
の流れを示す。尚、この処理の説明における「バンドバ
ッファ」とは、事前展開バンドについては外部バンドバ
ッファ11を、事前展開バンドでもヌルバンドでもない
通常のバンドについてはバンドバッファ9を意味する。
FIG. 10 shows the flow of the printing process in step S9 of FIG. In the description of this processing, the “band buffer” means the external band buffer 11 for the pre-expanded band, and the band buffer 9 for the normal band that is neither the pre-expanded band nor the null band.

【0044】図10に示すように、まず、今印刷しよう
とするバンドに割り当てられたバンドバッファの印刷状
態コード97又は117をチェックし(S31)、それ
が「レンダリング済み」であれば、そのバンドバッファ
内のイメージをビデオデータとして印刷エンジン13に
DMAにより転送する(S32)。転送中は、そのバン
ドバッファの印刷状態コード97又は117を「転送
中」としておき、転送が終わると「空き」に変更する
(S33)。その後、今イメージ転送の終わったバンド
が事前展開バンドでなければ(S34でNo)、そのバ
ンドバッファ9を後続バンドのレンダリングに備えてク
リアする(S35)が、事前展開バンドである場合は
(S34でYes)、後刻にエラーリカバリーの必要が
生じた場合に備えて、イメージをクリアせずにそのまま
保存しておく。ステップS34の判断は、例えば、バン
ドバッファの印刷状態管理タグ91、11内の識別番号
95、115から判断できる。
As shown in FIG. 10, first, the print status code 97 or 117 of the band buffer assigned to the band to be printed is checked (S31). The image in the buffer is transferred as video data to the print engine 13 by DMA (S32). During the transfer, the print status code 97 or 117 of the band buffer is set to “transferring”, and when the transfer is completed, the print status code is changed to “empty” (S33). Thereafter, if the band for which the image transfer has just been completed is not the pre-development band (No in S34), the band buffer 9 is cleared in preparation for rendering of the subsequent band (S35), but if it is the pre-development band (S34). Yes), and save the image without clearing it in case error recovery becomes necessary later. The determination in step S34 can be made, for example, from the identification numbers 95 and 115 in the print state management tags 91 and 11 of the band buffer.

【0045】尚、ステップS31で印刷しようとしてい
るバンドのバンドバッファが「レンダリング済み」にな
っていない場合は、オーバーランエラーとして所定処理
を行う(S36)。
If the band buffer of the band to be printed is not "rendered" in step S31, a predetermined process is performed as an overrun error (S36).

【0046】以上説明した実施形態によれば、事前展開
したバンドイメージがその記憶場所から印刷時に直接的
に印刷エンジンへ転送されるので、事前展開イメージを
バンドバッファにコピーするという無駄な作業がなく、
よって、メモリの使用効率が改善され、かつイメージの
レンダリング及び転送の処理が効率化される。また、ヌ
ルバンドについてはプロセッサからエンジンへヌルデー
タを送ることにより、バンドバッファへのレンダリング
を省いているので、やはりメモリの使用効率が改善され
る。
According to the above-described embodiment, since the pre-developed band image is directly transferred from the storage location to the print engine at the time of printing, there is no need to copy the pre-developed image to the band buffer. ,
Therefore, the memory use efficiency is improved, and the processing of rendering and transferring the image is made more efficient. For the null band, by sending null data from the processor to the engine, rendering to the band buffer is omitted, so that the memory use efficiency is also improved.

【0047】上述した実施形態は本発明の説明のための
ものであり、本発明の範囲を限定する趣旨ではない。本
発明は図示及び上に説明した具体的な構成、機能、処理
及び動作以外の種々の態様においても実施することがで
きるものである。例えば、上記実施例では通常のバンド
バッファの個数が固定的に定まっていたが、これが可変
的であってもよい。
The above embodiment is for the purpose of describing the present invention, and is not intended to limit the scope of the present invention. The present invention can be implemented in various modes other than the specific configurations, functions, processes, and operations illustrated and described above. For example, in the above embodiment, the number of ordinary band buffers is fixedly determined, but this may be variable.

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

【図1】従来の処理を示す説明図。FIG. 1 is an explanatory diagram showing a conventional process.

【図2】本発明の一実施形態の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.

【図3】通常のバンドの中間コードの構成を示すブロッ
ク図。
FIG. 3 is a block diagram showing a configuration of an intermediate code of a normal band.

【図4】事前展開バンドの中間コード及び事前展開イメ
ージの構成を示すブロック図。
FIG. 4 is a block diagram showing a configuration of an intermediate code of a pre-expanded band and a pre-expanded image.

【図5】バンドバッファ9の構成を示すブロック図。FIG. 5 is a block diagram showing a configuration of a band buffer 9;

【図6】プロセッサ1の処理の全体の流れを示すフロー
チャート。
FIG. 6 is a flowchart showing an overall flow of processing of a processor 1;

【図7】中間コード生成処理の流れを示すフローチャー
ト。
FIG. 7 is a flowchart showing the flow of an intermediate code generation process.

【図8】レンダリング処理の流れをを示すフローチャー
ト。
FIG. 8 is a flowchart illustrating a flow of a rendering process.

【図9】事前展開処理の流れを示すフローチャート。FIG. 9 is a flowchart showing the flow of a pre-deployment process.

【図10】印刷処理の流れを示すフローチャート。FIG. 10 is a flowchart illustrating the flow of a printing process.

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

1 プロセッサ 3 メモリ 5 受信バッファ 7 印刷位置管理テーブル 9バンドバッファ 11 外部バンドバッファ 13 印刷エンジン 73 中間コード 91、111 印刷状態管理タグ 93、113 バンドイメージ 1 Processor 3 Memory 5 Receive Buffer 7 Print Position Management Table 9 Band Buffer 11 External Band Buffer 13 Print Engine 73 Intermediate Code 91, 111 Print Status Management Tag 93, 113 Band Image

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 メモリと、 印刷エンジンと、 前記メモリ内に、通常のバンドのイメージをその印刷時
にレンダリングするための通常のバンドバッファを確保
する手段と、 前記メモリ内に、事前展開バンドのイメージを事前にレ
ンダリングするための外部バンドバッファを確保する手
段と、 前記通常のバンドバッファ及び前記外部バンドバッファ
内のイメージをそれぞれの印刷時に前記印刷エンジンへ
直接的に転送し、それぞれの転送後、前記通常のバンド
バッファ内のイメージのみを次バンドのイメージのレン
ダリングに備えてクリアする転送手段とを備えたページ
プリンタ。
1. A memory, a print engine, means for reserving a normal band buffer in the memory for rendering a normal band image at the time of printing, and a pre-development band image in the memory. Means for securing an external band buffer for pre-rendering, transferring the images in the normal band buffer and the external band buffer directly to the print engine at the time of each printing, and after each transfer, A transfer device for clearing only the image in the normal band buffer in preparation for rendering the image of the next band.
【請求項2】 請求項1記載のページプリンタにおい
て、 前記通常のバンドバッファ及び前記外部バンドバッファ
が、それぞれの識別番号と印刷状態を示した印刷状態管
理タグを有し、 前記転送手段が、前記通常のバンドバッファと前記外部
バンドバッファの印刷状態管理タグに基づいて、前記通
常のバンドバッファと前記外部バンドバッファとを見分
けるとともにそれぞれのバッファ内のイメージの転送を
制御するページプリンタ。
2. The page printer according to claim 1, wherein the normal band buffer and the external band buffer have a print state management tag indicating a respective identification number and a print state, and the transfer unit includes: A page printer that distinguishes the normal band buffer from the external band buffer based on a print state management tag of the normal band buffer and the external band buffer, and controls transfer of an image in each buffer.
【請求項3】 請求項1乃至2記載のページプリンタに
おいて、 ヌルバンドの印刷時にヌルデータを生成して前記印刷エ
ンジンへ直接的に供給する手段を更に備えたページプリ
ンタ。
3. The page printer according to claim 1, further comprising means for generating null data at the time of printing a null band and directly supplying the null data to the print engine.
【請求項4】 メモリと、 印刷エンジンと、 前記メモリ内に、各バンドのイメージをレンダリングす
るための各バンドバッファを確保する手段と、 前記各バンドバッファ内のイメージをその印刷時に前記
印刷エンジンへ直接的に転送する転送手段とを備え、 前記転送手段が、前記各バンドバッファ内のイメージが
通常のバンドのものか事前展開バンドのものかを見分け
て、それぞれの転送後、前記各バンドバッファ内の通常
のバンドのイメージのみを次バンドのイメージのレンダ
リングに備えてクリアするページプリンタ。
4. A memory, a print engine, means for securing each band buffer in the memory for rendering an image of each band, and the image in each band buffer is sent to the print engine when the image is printed. Transfer means for directly transferring, the transfer means discriminates whether the image in each band buffer is of a normal band or a pre-development band, and after each transfer, in each of the band buffers A page printer that clears only the normal band's image in preparation for rendering the next band's image.
【請求項5】 請求項4記載のページプリンタにおい
て、 前記各バンドバッファが各々の識別番号と印刷状態を示
した印刷状態管理タグを有し、 前記転送手段が、前記各バンドバッファの印刷状態管理
タグに基づいて、前記各バンドバッファ内のイメージが
前記通常のバンドのものか前記事前展開バンドバッファ
のものかを見分けるとともにそれぞれの転送を制御する
ページプリンタ。
5. The page printer according to claim 4, wherein each of the band buffers has a print state management tag indicating a respective identification number and a print state, and the transfer unit manages a print state of each of the band buffers. A page printer that discriminates whether an image in each of the band buffers is from the normal band or the pre-deployed band buffer based on a tag, and controls each transfer.
【請求項6】 請求項4乃至5記載のページプリンタに
おいて、 ヌルバンドの印刷時にヌルデータを生成して前記印刷エ
ンジンへ直接的に供給する手段を更に備えたページプリ
ンタ。
6. The page printer according to claim 4, further comprising means for generating null data at the time of printing a null band and directly supplying the null data to the print engine.
JP12071097A 1997-05-12 1997-05-12 Page printer Expired - Fee Related JP3509840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12071097A JP3509840B2 (en) 1997-05-12 1997-05-12 Page printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12071097A JP3509840B2 (en) 1997-05-12 1997-05-12 Page printer

Publications (2)

Publication Number Publication Date
JPH10309835A true JPH10309835A (en) 1998-11-24
JP3509840B2 JP3509840B2 (en) 2004-03-22

Family

ID=14793085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12071097A Expired - Fee Related JP3509840B2 (en) 1997-05-12 1997-05-12 Page printer

Country Status (1)

Country Link
JP (1) JP3509840B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005305665A (en) * 2004-04-16 2005-11-04 Murata Mach Ltd Recorder
JP2006130776A (en) * 2004-11-05 2006-05-25 Fuji Xerox Co Ltd Image processing apparatus and method
JP2008210251A (en) * 2007-02-27 2008-09-11 Seiko Epson Corp Printer and control method thereof
JP2010023315A (en) * 2008-07-17 2010-02-04 Ricoh Co Ltd Image formation device, image forming method, and computer program
US8368947B2 (en) 2007-07-31 2013-02-05 Brother Kogyo Kabushiki Kaisha Technique for creating print data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005305665A (en) * 2004-04-16 2005-11-04 Murata Mach Ltd Recorder
JP2006130776A (en) * 2004-11-05 2006-05-25 Fuji Xerox Co Ltd Image processing apparatus and method
JP2008210251A (en) * 2007-02-27 2008-09-11 Seiko Epson Corp Printer and control method thereof
US8368947B2 (en) 2007-07-31 2013-02-05 Brother Kogyo Kabushiki Kaisha Technique for creating print data
JP2010023315A (en) * 2008-07-17 2010-02-04 Ricoh Co Ltd Image formation device, image forming method, and computer program

Also Published As

Publication number Publication date
JP3509840B2 (en) 2004-03-22

Similar Documents

Publication Publication Date Title
JP2000122817A (en) Network printer
JP2000335022A (en) Printer control device
JP3509840B2 (en) Page printer
US4975858A (en) Controller for a printer for printing data received from an external data processor
JPH09107426A (en) Print controller, printer, print job processing method for print controller
JP2002019212A (en) Printer
JP3116354B2 (en) Printer data management method
JPS63182150A (en) Laser printer controller
JPH06227100A (en) Printer device
EP0473016B1 (en) Image forming apparatus
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JP2001142670A (en) Printing system and printer
JP3064921B2 (en) Printer
JPH0659833A (en) Printer in network environment
JP3867186B2 (en) Printing system
JP3326042B2 (en) Printing system
JPH0462080A (en) Printing device
JPH07125336A (en) Printing apparatus
JP2000259363A (en) Printing server, printing control method, medium recording printing control program and network printing system
JPH10320152A (en) System, device, and method for print processing
JP2001246811A (en) Interruption printer
JP2002055790A (en) Printing system and printing control method
JP3143118B2 (en) Printer and print image pattern development method
JPH111048A (en) Printing control method and printing apparatus
JPH08324039A (en) Printing device, printing control device, and printing method and printing control method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031223

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

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140109

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees