JP3513930B2 - Printer control device - Google Patents

Printer control device

Info

Publication number
JP3513930B2
JP3513930B2 JP20923194A JP20923194A JP3513930B2 JP 3513930 B2 JP3513930 B2 JP 3513930B2 JP 20923194 A JP20923194 A JP 20923194A JP 20923194 A JP20923194 A JP 20923194A JP 3513930 B2 JP3513930 B2 JP 3513930B2
Authority
JP
Japan
Prior art keywords
page
raster
data
memory
print format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP20923194A
Other languages
Japanese (ja)
Other versions
JPH0852919A (en
Inventor
豊 栗田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP20923194A priority Critical patent/JP3513930B2/en
Publication of JPH0852919A publication Critical patent/JPH0852919A/en
Application granted granted Critical
Publication of JP3513930B2 publication Critical patent/JP3513930B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ページメモリにフォー
ム(電子オーバレイ)のラスタ展開(0,1データの画
素への展開)をした後、同じページメモリに前記フォー
ム中に書き込む入力データのラスタ展開を行う形式のプ
リンタ制御装置に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to raster rasterization of a form (electronic overlay) in a page memory (development of 0,1 data into pixels), and then rasterization of input data to be written in the same page memory. The present invention relates to a printer control device of the type that performs expansion.

【0002】[0002]

【従来の技術】ホストコンピュータや磁気テープ等から
印刷データが与えられて印刷するプリンタでは、所定の
フォームとそのフォーム中に書き込む入力データとを、
同時に印刷するものがある。このような場合には、その
プリンタ制御装置で、フォームのラスタ展開と入力デー
タのラスタ展開とが行われ、それらがプリンタに出力さ
れるようにされている。
2. Description of the Related Art In a printer which prints by giving print data from a host computer or a magnetic tape, a predetermined form and input data to be written in the form are
Some print at the same time. In such a case, the printer controller performs raster expansion of the form and raster expansion of the input data and outputs them to the printer.

【0003】ラスタ展開は比較的時間のかかる処理であ
るので、印刷を高速にするにために種々の提案がなされ
ている。例えば、フォームのラスタ展開を専用に行うペ
ージメモリと、入力データのラスタ展開を専用に行うペ
ージメモリとを設け、これらのラスタ展開を並列処理す
るものがある(例、特開平3−121526号公報)。また、
ラスタ展開したフォームのデータを予め圧縮してどこか
のメモリに格納しておき、必要となった時にそれを読み
出し、伸長して使うというものがある(例、特開平4−
182822号公報,特開平2−159616号公報,特開昭62−22
6325号公報)。
Since raster rasterization is a relatively time-consuming process, various proposals have been made to speed up printing. For example, there is one in which a page memory dedicated to raster expansion of a form and a page memory dedicated to raster expansion of input data are provided and these raster expansions are processed in parallel (eg, Japanese Patent Laid-Open No. 3-121526). ). Also,
There is a method in which data of a raster-expanded form is compressed in advance and stored in a memory somewhere, and when it is necessary, it is read out and decompressed for use.
182822, JP-A-2-159616, JP-A-62-22
6325 publication).

【0004】しかし、並列処理するものはページメモリ
等をもう一組必要とするし、フォームを圧縮して保持し
ておくものは、圧縮回路および伸長回路を必要とし、い
ずれもコストが高くなる。コストを低く保つためには、
プリンタ制御装置の1つのページメモリ上で、まずフォ
ームのラスタ展開を行い、その後で入力データのラスタ
展開を行うという具合に、逐次的に行う以外にない。
However, the parallel processing requires another set of page memory and the like, and the one for compressing and holding the form requires a compression circuit and a decompression circuit, both of which increase the cost. To keep costs low,
The raster expansion of the form is first performed on one page memory of the printer control device, and then the raster expansion of the input data is sequentially performed.

【0005】図5は、そのようなプリンタ制御装置の一
般的構成を示す図である。図5において、1は入力媒
体、2はプリンタ制御装置、3は入力制御装置、4はO
Sおよびデバイスドライバ、5は入力処理部、6は出力
制御部、7はCPUおよびメモリ、8はインターフェー
ス、9はバス、10は大容量の記憶手段としてのディス
ク、11は記憶手段(ディスク)制御装置、12は中間
メモリ、13はイメージング機構、14はページメモ
リ、15はビデオデータ送出機構、16はインターフェ
ース、17はビデオデータ受信機構、18はプリンタで
ある。ページメモリ14で、フォームのラスタ展開とそ
の中に書き込む入力データのラスタ展開とが、逐次的に
行われる。
FIG. 5 is a diagram showing a general configuration of such a printer controller. In FIG. 5, 1 is an input medium, 2 is a printer controller, 3 is an input controller, and 4 is O.
S and device driver, 5 is an input processing unit, 6 is an output control unit, 7 is a CPU and memory, 8 is an interface, 9 is a bus, 10 is a disk as a large-capacity storage unit, and 11 is a storage unit (disk) control. An apparatus, 12 is an intermediate memory, 13 is an imaging mechanism, 14 is a page memory, 15 is a video data sending mechanism, 16 is an interface, 17 is a video data receiving mechanism, and 18 is a printer. In the page memory 14, raster expansion of a form and raster expansion of input data to be written therein are sequentially performed.

【0006】CPUおよびメモリ7内に描かれているO
Sおよびデバイスドライバ4,入力処理部5,出力制御
部6は、実体はプログラムである。それぞれのプログラ
ムは、ディスク10に格納されており、プリンタ制御装
置2が動作状態にされた時(立ち上げられた時)、CP
Uおよびメモリ7内のメモリにロードされる。
O drawn in the CPU and the memory 7
The S, the device driver 4, the input processing unit 5, and the output control unit 6 are actually programs. Each program is stored in the disk 10, and when the printer control device 2 is activated (started), the CP
U and memory in memory 7 are loaded.

【0007】入力処理部5は、プリンタ18で印刷すべ
きデータが、磁気テープ等の入力媒体1から入力される
時に働く。データには、フォームに関するものと、その
フォームに書き込む入力データに関するものとが含まれ
ている。入力処理部5は、それらを基に、このプリンタ
18で実際に印刷するのに適した形に翻案された情報を
含んでいるところの、各種のプリントフォーマットを作
成し、いったんディスク10に格納する。
The input processing section 5 operates when data to be printed by the printer 18 is input from the input medium 1 such as a magnetic tape. The data includes data related to the form and data related to input data to be written in the form. Based on these, the input processing unit 5 creates various print formats including information adapted to a form suitable for actual printing by the printer 18, and temporarily stores them in the disk 10. .

【0008】作成するプリントフォーマットとしては、
ページ全体についての「ページプリントフォーマット」
と、そのページのフォームに書き込む入力データについ
ての「入力データプリントフォーマット」とがある。な
お、使用しそうなフォームの「フォームプリントフォー
マット」は、予めディスク10に格納しておき、いちい
ち入力処理部5では作成しないようにすることが行われ
るが、この例もそのようにしている場合とする。
As a print format to be created,
"Page print format" for the entire page
And "input data print format" for input data to be written in the form of the page. The "form print format" of the form that is likely to be used is stored in the disk 10 in advance and is not created by the input processing unit 5 one by one. To do.

【0009】図3は、ディスクでの各プリントフォーマ
ットの格納状況を示す図である。P1 〜PK ,D1 〜K
K ,F1 〜FH は、各プリントフォーマットが格納され
ている領域の先頭アドレスを示している。フォームプリ
ントフォーマット36〜38は、それぞれフォームA,
B,…Hのためのプリントフォーマットであり、これら
は予め格納されている。ページプリントフォーマット3
0〜32は、それぞれ1頁,2頁,…K頁のページ全体
のためのプリントフォーマットであり、これらは入力処
理部5で作成されて、送られて来る。入力データプリン
トフォーマット33〜35は、それぞれ1頁,2頁,…
K頁に書く入力データのためのプリントフォーマットで
あり、やはり入力処理部5で作成されて、送られて来
る。
FIG. 3 is a diagram showing the storage status of each print format on the disc. P 1 ~P K, D 1 ~K
K , F 1 to F H indicate the start address of the area in which each print format is stored. The form print formats 36 to 38 are the form A and form A, respectively.
The print formats for B, ... H are stored in advance. Page print format 3
0 to 32 are print formats for the entire pages of 1 page, 2 pages, ... K pages, respectively, which are created by the input processing unit 5 and sent. The input data print formats 33 to 35 are respectively 1 page, 2 pages, ...
It is a print format for input data to be written on page K, and is also created and sent by the input processing unit 5.

【0010】出力制御部6は、ディスク10よりディス
ク制御装置11を介してページプリントフォーマットを
1頁分づつ読み出し、それに基づきその頁の入力データ
プリントフォーマットおよびフォームプリントフォーマ
ットを、中間メモリ12にロードする。例えば、第1頁
のページプリントフォーマット30を読み出したとこ
ろ、第1頁に使用するフォームは「フォームB」である
と書いてあったとすれば、フォームBのフォームプリン
トフォーマット37を中間メモリ12にロードする。そ
して、第1頁の分の入力データプリントフォーマット3
3も、もちろん中間メモリ12にロードする。
The output controller 6 reads the page print format from the disk 10 via the disk controller 11 page by page and loads the input data print format and the form print format of the page into the intermediate memory 12 based on the page print format. . For example, when the page print format 30 of the first page is read and it is written that the form used for the first page is “form B”, the form print format 37 of the form B is loaded into the intermediate memory 12. To do. Then, the input data print format 3 for the first page
Of course, 3 is also loaded into the intermediate memory 12.

【0011】次に、イメージング機構13によってフォ
ームプリントフォーマットをページメモリ14上にラス
タ展開し、ついで、入力データプリントフォーマットを
ラスタ展開し、フォームプリントフォーマットのラスタ
展開と論理和合成する。このプリンタ制御装置は、ペー
ジメモリは1つだけ搭載し、そこでフォームと入力デー
タのラスタ展開を行う形式のものとしているから、2つ
のラスタ展開を並行して行うことは出来ず、フォームの
ラスタ展開が終わってから入力データのラスタ展開を行
うというように、ラスタ展開は逐次的に行われる。
Next, the imaging mechanism 13 rasterizes the form print format on the page memory 14, then rasterizes the input data print format and logically synthesizes with the raster expansion of the form print format. Since this printer control device has only one page memory and performs raster expansion of the form and input data there, two raster expansions cannot be performed in parallel, and the raster expansion of the form is not possible. The raster expansion is sequentially performed such that the raster expansion of the input data is performed after the completion of.

【0012】以上により、フォームの中に入力データが
書き込まれた状態のビットマップデータが完成する。こ
れが、ビデオデータ送出機構15を通ってプリンタ制御
装置2より送出され、ビデオデータ受信機構17にてプ
リンタ18に受信される。プリンタ18は、受信したデ
ータに基づき印刷を行う。プリンタ制御装置2とプリン
タ18との間の制御信号等は、インターフェース8,1
6を介してやりとりされる。
As described above, the bit map data in which the input data is written in the form is completed. This is sent from the printer control device 2 through the video data sending mechanism 15 and received by the printer 18 by the video data receiving mechanism 17. The printer 18 prints based on the received data. Control signals and the like between the printer control device 2 and the printer 18 are the interfaces 8, 1
It is exchanged via 6.

【0013】[0013]

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

(問題点)前記した従来のプリンタ制御装置では、使用
するフォームが複雑なものであったりした場合、ビデオ
データの出力速度が急に低下するという問題点があっ
た。
(Problem) The above-described conventional printer control device has a problem that the output speed of video data suddenly decreases when the form used is complicated.

【0014】(問題点の説明)図6は、ラスタ展開時間
とビデオ出力区間との関係を説明する図である。図6
(イ)は出力速度が低下していない場合、図6(ロ)は
低下している場合を示す。(a)は1頁分の時間的な区
間(ピッチ)であるページ区間を表しており、これはペ
ージ同期信号がハイ(H)の区間とロー(L)の区間と
から成る。1分間に120ページを印刷するプリンタに
対するプリンタ制御装置の場合、1ページ区間は500
msecである。1ページ区間につき、1頁分のビデオ
データが出力されれば、本来のスピードで印刷される。
(Explanation of Problems) FIG. 6 is a diagram for explaining the relationship between the raster development time and the video output section. Figure 6
FIG. 6B shows the case where the output speed has not decreased, and FIG. 6B shows the case where the output speed has decreased. (A) shows a page section which is a time section (pitch) for one page, and this section is composed of a section where the page sync signal is high (H) and a section where it is low (L). In the case of a printer controller for a printer that prints 120 pages per minute, one page section is 500
msec. If one page of video data is output per page section, printing is performed at the original speed.

【0015】(b)はフォームのラスタ展開を行ってい
る時間を表し、(c)は入力データのラスタ展開を行っ
ている時間を表している。因みに、1bは、1頁目のフ
ォームのラスタ展開を行っている時間であり、1cは1
頁目の入力データのラスタ展開を行っている時間であ
る。(d)は、前の頁のビデオデータを、プリンタ18
に向けて送出している時間である。因みに、2dは、1
bおよび1cで行ったラスタ展開によって得られたビデ
オデータを、プリンタ18に向けて送出している時間で
ある。
(B) shows the time when the raster expansion of the form is performed, and (c) shows the time when the raster expansion of the input data is performed. By the way, 1b is the time for rasterizing the form of the first page, and 1c is 1
This is the time for rasterizing the input data of the page. (D) shows the video data of the previous page in the printer 18
It is the time to send to. By the way, 2d is 1
This is the time during which the video data obtained by the raster expansion performed in b and 1c is sent to the printer 18.

【0016】図6(イ)の場合は、どの頁についても、
フォームのラスタ展開と入力データのラスタ展開は、1
ページ区間内に終了しているので、次のページ区間には
ビデオデータを出力することが出来ている。従って、こ
の場合には、各ページ区間で1頁の印刷が行われから、
印刷はプリンタ18が本来有しているスピードで行うこ
とが出来る。
In the case of FIG. 6A, every page is
Raster expansion of form and raster expansion of input data is 1
Since it ends within the page section, the video data can be output in the next page section. Therefore, in this case, since one page is printed in each page section,
Printing can be performed at the speed originally possessed by the printer 18.

【0017】しかし、図6(ロ)の場合は、第3頁のフ
ォームおよび入力データのラスタ展開が、ページ区間3
内では終了していない。入力データのラスタ展開3c
が、ページ区間4に食い込んでしまっている。このよう
な場合、ビデオデータの送出はページ区間4では行われ
ず、その次のページ区間5で行われる。このようなこと
は、第3頁に使用するフォームが複雑であり、そのラス
タ展開に長時間かかるというような場合に生ずる。1頁
分の処理にページ区間を2つ費やすとなると、スピード
は半分になってしまう。
However, in the case of FIG. 6B, the raster expansion of the form and input data of the third page is performed in the page section 3.
Not finished within. Raster expansion 3c of input data
However, it has cut into page section 4. In such a case, the video data is not transmitted in the page section 4 but in the next page section 5. This occurs when the form used for the third page is complicated and raster expansion takes a long time. If two page sections are spent to process one page, the speed will be halved.

【0018】最近では、単純な直線から成るフォームば
かりでなく、丸みを帯びた線や飾り模様の付いたフォー
ムが用いられるようになって来たが、これらをラスタ展
開するには、比較的長い時間がかかる。それを終えてか
ら入力データのラスタ展開をするから、1つのページ区
間内ではラスタ展開が終了しなくなる。このようなフォ
ームを1回だけしか使わないなら、スピードはたいして
低下しない。しかし、同じ帳票を連続して沢山印刷する
などというように、同じフォームを連続して印刷しなけ
ればならない場合は往々にしてあり、そのフォームが複
雑であった場合には、前記のような理由により1頁につ
き2ページ区間づつかかるので、印刷のスピードは半減
することになる。本発明は、以上のような問題点を解決
することを課題とするものである。
Recently, not only simple straight line forms but also rounded lines and forms with decorative patterns have come to be used, but it takes a relatively long time to rasterize these forms. take time. Since rasterization of the input data is performed after that, rasterization does not end within one page section. If you use such a foam only once, it will not slow down much. However, it is often the case that the same form must be printed in succession, such as printing the same form in succession, and when the form is complicated, the reason described above is used. As a result, each page takes two page sections, so the printing speed is halved. An object of the present invention is to solve the above problems.

【0019】[0019]

【課題を解決するための手段】上記課題を解決するた
め、本発明のプリンタ制御装置は、入力媒体からのデー
タを基に所要のプリントフォーマットを作成する入力処
理部と、該プリントフォーマットを格納する記憶手段
と、該記憶手段から中間メモリに読み出した1頁分のフ
ォームプリントフォーマットと入力データプリントフォ
ーマットとを同じページメモリ上に逐次的にラスタ展開
する出力制御部と、ラスタ展開したデータをプリンタに
送出するビデオデータ送出機構とを有するプリンタ制御
装置において、前記ページメモリは、少なくとも2頁分
のラスタ展開データを記憶する容量を有し、前記出力制
御部は、当頁のフォームが次頁のフォームと同じである
場合は、当頁のフォームのラスタ展開データを該ページ
メモリの空き領域にコピーする処理を行い、次頁のラス
タ展開に際しては、該コピーしたフォームのラスタ展開
データを用いることで、次頁のフォームプリントフォー
マットの前記ページメモリ上への展開処理を省略するこ
とを特徴とする。
In order to solve the above-mentioned problems, a printer control apparatus of the present invention stores an input processing section for creating a required print format based on data from an input medium and the print format. A storage unit, an output control unit for sequentially rasterizing the form print format and the input data print format for one page read from the storage unit to the intermediate memory on the same page memory, and the rasterized data to the printer. In a printer control device having a video data transmission mechanism for transmitting, the page memory has a capacity for storing raster rasterization data for at least two pages, and the output control unit is configured such that the form of this page is the form of the next page , The raster expansion data of the form on this page is copied to the empty area of the page memory. When the raster expansion of the next page is performed, the raster expansion data of the copied form is used to omit the expansion processing of the form print format of the next page on the page memory. .

【0020】また、本発明のプリンタ制御装置は、入力
媒体からのデータを基に所要のプリントフォーマットを
作成する入力処理部と、該プリントフォーマットを格納
する記憶手段と、該記憶手段から中間メモリに読み出し
た1頁分のフォームプリントフォーマットと入力データ
プリントフォーマットとを同じページメモリ上に逐次的
にラスタ展開する出力制御部と、ラスタ展開したデータ
をプリンタに送出するビデオデータ送出機構とを有する
プリンタ制御装置において、前記ページメモリは、少な
くとも2頁分のラスタ展開データを記憶する容量を有
し、前記出力制御部は、当頁のフォームのラスタ展開デ
ータを該ページメモリの空き領域にコピーする処理を行
い、次頁のラスタ展開に際して、該コピーしたフォーム
のラスタ展開データを用いることができる場合は、次頁
のフォームプリントフォーマットの前記ページメモリ上
への展開処理を省略することを特徴とする。
Further, the printer control device of the present invention includes an input processing unit for creating a required print format based on data from an input medium, a storage unit for storing the print format, and an intermediate memory from the storage unit. Printer control having an output control unit for sequentially rasterizing a read form print format for one page and an input data print format on the same page memory, and a video data transmission mechanism for transmitting raster expanded data to a printer In the apparatus, the page memory has a capacity to store at least two pages of raster expansion data, and the output control unit performs a process of copying the raster expansion data of the form of this page to an empty area of the page memory. When the raster expansion on the next page is performed, the raster expansion data of the copied form If that can be used, characterized by omitting the expansion processing onto the page memory in the form print format on the next page.

【0021】[0021]

【作 用】当頁で使うフォームが次頁で使うフォーム
と同じであり、ページメモリに空き領域がある場合、当
頁のフォームのラスタ展開データを該空き領域にコピー
しておく。そうすれば、次頁でフォームをラスタ展開す
る必要がなくなる。ラスタ展開データをコピーしておく
時間は、新たにラスタ展開する時間に比べて短いので、
プリンタへの出力速度が低下するのを防ぐことが出来
る。
[Operation] If the form used on this page is the same as the form used on the next page and the page memory has an empty area, the raster expansion data of the form on this page is copied to the empty area. This eliminates the need to rasterize the form on the next page. The time to copy raster rasterization data is shorter than the time to newly rasterize, so
It is possible to prevent the output speed to the printer from decreasing.

【0022】また、フォームのラスタ展開を行った際、
ページメモリに空き領域がある限り、そのラスタ展開デ
ータをコピーしておくようにしてもよい。すると、次頁
以降に同じフォームを使う場合、新たにラスタ展開する
必要がなく、やはりプリンタへの出力速度が低下するの
を防ぐことが出来る。
When rasterizing a form,
As long as there is a free area in the page memory, the raster expansion data may be copied. Then, when the same form is used on the subsequent pages, it is not necessary to newly develop the raster, and it is possible to prevent the output speed to the printer from decreasing.

【0023】[0023]

【実施例】本発明のプリンタ制御装置の基本的構成は、
図5のものと略同じである。相違する第1の点は、出力
制御部6での処理の中に、ページメモリ14上にフォー
ムをラスタ展開した際、空き領域があれば、それをコピ
ーしておくという処理を入れた点である。相違する第2
の点は、ページメモリ14を少なくとも2ページ分のラ
スタ展開データを収容する容量を持つものとした点であ
る。前記のコピーを可能にするためには、少なくとも2
ページ分の容量を必要とするからである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The basic configuration of the printer controller of the present invention is as follows.
It is almost the same as that of FIG. The first difference is that in the process of the output control unit 6, when a form is raster-expanded on the page memory 14, if there is a free space, the process is copied. is there. Second difference
The point is that the page memory 14 has a capacity to accommodate at least two pages of raster expansion data. At least 2 to allow the copying
This is because the page capacity is required.

【0024】ラスタ展開したフォームをページメモリ1
4上にコピーして保存しておき、次に必要となった時に
それを利用する。新たにラスタ展開する時間よりも、コ
ピーする時間の方がはるかに短いから、全てのラスタ展
開が1つのページ区間内で終了する頁が多くなり、従来
よりも印刷スピードが速くなる。
The raster expanded form is page memory 1
Copy and save it on 4 and use it when you need it next time. Since the copy time is much shorter than the new raster expansion time, all raster expansion ends in one page section, and the printing speed becomes faster than before.

【0025】図1は、本発明の第1の実施例における概
念を示す図である。14はページメモリ、20はラスタ
展開されたこのページ用フォーム、21はラスタ展開さ
れた次ページ用フォームである。このページ用フォーム
20のラスタ展開をした後、次のページで使うフォーム
を調べてみて、同じフォームであればページメモリ14
の空き領域にコピーしておく。同じでなければコピーし
ない。次のページの処理になり、コピーしてあるフォー
ムを使おうとする場合、その次のページも同じフォーム
であることが分かれば、やはり使う前にコピーをとって
おく。
FIG. 1 is a diagram showing the concept of the first embodiment of the present invention. Reference numeral 14 is a page memory, 20 is a raster expanded form for this page, and 21 is a raster expanded form for the next page. After rasterizing this page form 20, check the form to be used on the next page, and if it is the same form, page memory 14
Copy it to the free area. If they are not the same, do not copy. When it comes to processing the next page and trying to use the copied form, if you know that the next page is also the same form, make a copy before using it.

【0026】図2は、本発明の第2の実施例における概
念を示す図である。22〜24はラスタ展開フォーム、
25〜27は保存用フォームである。新しいフォームを
ラスタ展開すると、後のページでの使用に備えて、空き
領域がある限りコピーして保存しておく。このようにコ
ピーしたものが使えれば、新しくラスタ展開するよりも
時間が短くて済むので、入力データのラスタ展開が次の
ページ区間に食い込むことが少なくなり、印刷スピード
を速めることが出来る。
FIG. 2 is a diagram showing the concept of the second embodiment of the present invention. 22 to 24 are raster expansion forms,
25 to 27 are storage forms. Rasterize a new form and copy and save as much space as possible for use on subsequent pages. If such a copy is used, it takes less time than newly rasterizing, so that rasterization of input data is less likely to go into the next page section, and the printing speed can be increased.

【0027】各実施例の説明に入る前に、本発明におけ
るページプリントフォーマットについて説明する。図7
に、その構成を示す。図7(イ)は構成のモデル(見
本)であり、図7(ロ),(ハ)は具体例である。図7
(ロ),(ハ)は、図3の1頁用,2頁用のページプリ
ントフォーマットを例にとっている。
Before the description of each embodiment, the page print format in the present invention will be described. Figure 7
Shows the configuration. 7A is a model (sample) of the configuration, and FIGS. 7B and 7C are specific examples. Figure 7
(B) and (C) are examples of page print formats for one page and two pages in FIG.

【0028】ページプリントフォーマットは、欄40〜
欄50までの情報から成り立っており、各欄は、それぞ
れ次のような情報を記載する欄である。欄40…前ペー
ジのページプリントフォーマットが格納されているディ
スク10のアドレス。これによりリンク関係を示す。
(ロ)の欄40は「0」とされているが、これは無しを
意味する。1頁目は先頭であり、その前には頁が無いか
らである。(ハ)の欄40には、前頁(つまり1頁)用
のページプリントフォーマット30の先頭アドレス「P
1 」が書き込まれている。
The page print format is from column 40.
It is composed of information up to the column 50, and each column is a column in which the following information is described. Column 40: Address of the disk 10 in which the page print format of the previous page is stored. This indicates a link relationship.
The column 40 in (b) is set to “0”, which means that there is no item. This is because the first page is the head and there is no page before it. In the column 40 of (C), the start address “P” of the page print format 30 for the previous page (that is, one page) is displayed.
1 ”is written.

【0029】欄41…次ページのページプリントフォー
マットが格納されているディスク10のアドレス。これ
によりリンク関係を示す。 欄42…この頁の頁番号が記載されている。1頁用には
「1」,2頁用には「2」が記載される。 欄43…どの給紙トレイの紙を利用するかが記載されて
いる。 欄44…どの出力トレイに紙を排出するかが記載されて
いる。 欄45…片面出力か両面出力かが記載されている。 欄46…この頁で使用するフォームのフォームプリント
フォーマットが格納されているディスク10のアドレ
ス。図7(ロ)の1頁用のページプリントフォーマット
では、欄46にフォームプリントフォーマット36の先
頭アドレス「F1 」(図3参照)が記載されているが、
これは、1頁では「フォームA」を使用するということ
を物語っている。
Column 41: Address of the disk 10 in which the page print format of the next page is stored. This indicates a link relationship. Column 42: The page number of this page is described. “1” is described for one page and “2” is described for two pages. Column 43 ... Describes which paper tray to use. Column 44: It is described in which output tray the paper is discharged. Column 45 ... Describes whether single-sided output or double-sided output. Column 46: Address of the disk 10 in which the form print format of the form used on this page is stored. In the page print format for one page of FIG. 7B, the head address “F 1 ” of the form print format 36 (see FIG. 3) is described in the column 46.
This tells us that page 1 uses "Form A".

【0030】欄47…この頁の入力データプリントフォ
ーマットが格納されているディスク10のアドレス。1
頁用の入力データプリントフォーマット33の先頭アド
レスはD1 であるので(図3参照)、図7(ロ)の欄4
7には「D1 」と記載されている。 欄48…使用する用紙のサイズ(A4とかB4とか)が
記載される。 欄49…フォームをページメモリ14上にラスタ展開し
た時、その領域の先頭アドレスが記載される。ラスタ展
開されていない時には、「0」と記載される。 欄50…入力データをページメモリ14上にラスタ展開
した時、その領域の先頭アドレスが記載される。ラスタ
展開されていない時には、「0」と記載される。
Column 47: Address of the disk 10 in which the input data print format of this page is stored. 1
Since the start address of the input data print format 33 for page is D 1 (see FIG. 3), column 4 in FIG.
7 describes "D 1 ". Column 48 ... The size of the paper to be used (A4 or B4) is described. Column 49: When the form is raster-developed on the page memory 14, the start address of the area is described. When not rasterized, it is described as "0". Column 50: When the input data is raster-expanded on the page memory 14, the start address of the area is described. When not rasterized, it is described as "0".

【0031】(1)第1の実施例 以下、本発明の第1の実施例を図面に基づいて詳細に説
明する。図8は、入力処理部5の動作を説明するフロー
チャートである。この動作は、従来と同じである。 (入力処理部5の動作)ステップ100…入力媒体1よ
り、入力制御装置3を通じて1頁分のデータを、入力処
理部5に読み込む。 ステップ101…そのデータより、1頁分のページプリ
ントフォーマットと入力データプリントフォーマットと
を作成し、ディスク10へ格納する。
(1) First Embodiment Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 8 is a flowchart explaining the operation of the input processing unit 5. This operation is the same as the conventional one. (Operation of the input processing unit 5) Step 100 ... Read one page of data from the input medium 1 through the input control device 3 into the input processing unit 5. Step 101 ... A page print format for one page and an input data print format are created from the data and stored in the disk 10.

【0032】ステップ102…ディスク10へ格納した
各プリントフォーマットが、所定の頁数分に達したか調
べる。これは、従来でも行われていることである。所定
頁数分だけ格納する理由は、プリンタ18に供給するビ
デオデータが、途中で途絶えないようにするためであ
る。入力媒体1からデータを少ししか取り入れていない
で出力処理を開始した場合、出力処理の進みが速く、出
力するデータが足りなくなってしまうという事態を避け
るためである。
Step 102 ... It is checked whether each print format stored in the disk 10 has reached a predetermined number of pages. This is something that is also done in the past. The reason for storing only the predetermined number of pages is to prevent the video data supplied to the printer 18 from being interrupted on the way. This is to avoid a situation in which when the output process is started with a small amount of data taken from the input medium 1, the output process progresses quickly and there is not enough data to output.

【0033】ステップ103…出力制御部6にプリント
開始を依頼済みであるかどうか調べる。以前に所定頁数
分に達したために依頼したが、その後所定頁数より少な
くなったので再度データの読み込みを行い、また所定頁
数分に達したという場合には、プリント開始は依頼済み
の筈である。 ステップ104…まだ依頼していない場合には、依頼す
る。 ステップ105…読み込んだデータが所定頁数分に達し
ていない場合、印刷すべきデータがまだあれば、ステッ
プ100に戻って更に読み込む。
Step 103: It is checked whether the output control unit 6 has been requested to start printing. The request was made because the number of pages reached the specified number before, but after that, the number of pages became less than the specified number of pages, so the data was read again. If the number of specified pages was reached again, the print start should have been requested. Is. Step 104 ... If not requested yet, request. Step 105 ... If the read data does not reach the predetermined number of pages, and if there is data to be printed, the process returns to Step 100 and is further read.

【0034】(出力制御部6の動作)出力制御部6に
は、フォームに関する情報が、ディスク10,中間メモ
リ12およびページメモリ14のどの領域に存在してい
るかを管理する「フォーム管理テーブル」を設ける。図
4に、フォーム管理テーブルの構成を示す。51はフォ
ーム管理テーブル、52はフォームエントリ欄である。
1つのフォームエントリ欄52は、ディスクアドレス欄
521,中間メモリアドレス欄522、およびはページ
メモリアドレス欄523から成る。1つのフォームに関
する情報は、1つのフォームエントリ欄52に記録され
る。
(Operation of Output Control Unit 6) The output control unit 6 has a "form management table" for managing in which area of the disk 10, the intermediate memory 12 and the page memory 14 the information regarding the form exists. Set up. FIG. 4 shows the configuration of the form management table. Reference numeral 51 is a form management table, and 52 is a form entry column.
One form entry column 52 includes a disk address column 521, an intermediate memory address column 522, and a page memory address column 523. Information on one form is recorded in one form entry field 52.

【0035】図9,図10は、第1の実施例での出力制
御部6の動作を説明するフローチャートである。動作
は、大きくわけて、次の4つの過程から成る。 第1過程…今回使うフォームと入力データとを、中間メ
モリ12にロード 第2過程…今回使うフォームをラスタ展開 第3過程…次ページのフォームが同じで、且つ空き領域
があればコピー 第4過程…入力データをラスタ展開 第5過程…ビデオデータの出力
9 and 10 are flow charts for explaining the operation of the output control section 6 in the first embodiment. The operation is roughly divided into the following four processes. 1st process ... Loading the form to be used this time and the input data into the intermediate memory 12 2nd process ... Raster expansion of the form to be used this time 3rd process ... Copying if the form on the next page is the same and there is a free space 4th process … Raster expansion of input data Fifth process… Output of video data

【0036】〔第1過程〕…図9 ステップ200…入力処理部5からプリント開始を依頼
されたか調べる。 ステップ201…ディスク10より、ページNの分のペ
ージプリントフォーマットを読み出す。Nは正の整数で
あり、片面出力でページ番号順に出力すればいい時に
は、Nは1,2,3,…というふうに、1から始まって
順次大にされる。両面出力のために、ページ番号順に出
力したのでは駄目な時には、両面出力で要求されるペー
ジの順にNが変えられる。
[First Process] ... Step 200 in FIG. 9 ... It is checked whether or not the print start is requested from the input processing section 5. Step 201: The page print format for page N is read from the disk 10. N is a positive integer, and when it is sufficient to output in one-sided output in the order of page numbers, N is sequentially increased from 1, such as 1, 2, 3 ,. When it is not possible to output the page numbers in order for double-sided output, N can be changed in the order of pages required for double-sided output.

【0037】ステップ202…ページNには、フォーム
が必要かどうか調べる。これは、ディスク10から読み
出したページNの分のページプリントフォーマットの欄
46(図7参照)を見ることによって、調べることがで
きる。欄46の値が「0」であれば、フォームを使わな
い。使うのであれば、そのフォームを格納しているディ
スク10のアドレスが書いてある筈である。
Step 202: Check whether page N requires a form. This can be checked by looking at the page print format column 46 (see FIG. 7) for the page N read from the disk 10. If the value in the column 46 is "0", the form is not used. If used, the address of the disk 10 storing the form should have been written.

【0038】ステップ203…フォームを使う場合、そ
のフォームが既に中間メモリ12にロードしてあるかど
うか調べる。それは、フォーム管理テーブル51(図4
参照)を見れば分かる。前記の欄46のアドレスと同じ
アドレスが書いてあるディスクアドレス欄521を探
し、もし有れば、それに対応する中間メモリアドレス欄
522を見る。ロードしてなければ「0」となっている
し、ロードしてあれば、ロードしてある中間メモリ12
のアドレスが書いてある筈である。
Step 203: When using a form, it is checked whether the form is already loaded in the intermediate memory 12. It is the form management table 51 (see FIG.
You can tell by looking at (see). The disk address column 521 in which the same address as the address in the above column 46 is written is searched, and if there is, the intermediate memory address column 522 corresponding to it is searched. If it is not loaded, it is “0”, and if it is loaded, the loaded intermediate memory 12
The address should be written.

【0039】ステップ204…フォームプリントフォー
マットが中間メモリ12にロードしてない時には、ディ
スク10からそのフォームプリントフォーマットを、中
間メモリ12にロードする。 ステップ205…ロードした中間メモリ12のアドレス
を、フォーム管理テーブル51の対応するフォームエン
トリ欄52の中間メモリアドレス欄522に書いてお
く。ステップ206…ページNの入力データプリントフ
ォーマットを、ディスク10から中間メモリ12にロー
ドする。
Step 204: When the form print format is not loaded in the intermediate memory 12, the form print format is loaded from the disk 10 into the intermediate memory 12. Step 205 ... Write the loaded address of the intermediate memory 12 in the intermediate memory address column 522 of the corresponding form entry column 52 of the form management table 51. Step 206 ... Load the input data print format of page N from the disk 10 into the intermediate memory 12.

【0040】〔第2過程〕…図9 ステップ207…ページNには、フォームが必要かどう
か調べる。 ステップ208…そのフォームはラスタ展開済みかどう
か調べる。それは、フォーム管理テーブル51を見れば
分かる。前記の欄46のアドレスと同じアドレスが書い
てあるディスクアドレス欄521を探し、もし有れば、
それに対応するページメモリアドレス欄523を見る。
ラスタ展開してなければ「0」となっているし、ラスタ
展開してあれば、ラスタ展開してあるページメモリ14
のアドレスが書いてある筈である。
[Second Step] ... Step 207 of FIG. 9 ... It is checked whether a page N requires a form. Step 208 ... It is checked whether the form has been raster-expanded. This can be understood by looking at the form management table 51. Look for a disk address column 521 that has the same address as the address in column 46 above, and if there is,
Look at the corresponding page memory address column 523.
It is "0" if raster expansion is not performed, and if raster expansion is performed, raster expanded page memory 14
The address should be written.

【0041】ステップ209…ラスタ展開してない場合
には、ページメモリ14にラスタ展開し、そのメモリ領
域を「使用中」の扱いとする。後で上書きなどにより、
展開データが消されてしまわないようにするためであ
る。 ステップ210…ラスタ展開した領域の先頭アドレス
を、ページNのページプリントフォーマットの欄49に
書く。
Step 209 ... If raster expansion is not performed, raster expansion is performed on the page memory 14 and the memory area is treated as "in use". By overwriting later,
This is to prevent the expanded data from being deleted. Step 210 ... Write the start address of the raster expanded area in the page print format column 49 of page N.

【0042】〔第3過程〕…図10 ステップ211…次のページN+1のページプリントフ
ォーマットを、ディスク10から読み出す。 ステップ212…ページN+1には、フォームが必要か
どうか調べる。ページN+1のページプリントフォーマ
ットの欄46(図7参照)が「0」でなけば必要であ
る。 ステップ213…前のページNで使うフォームと同じか
どうか調べる。それは、ページプリントフォーマットの
欄46の値を比べてみれば分かる。その欄の値は、使う
フォームのフォームプリントフォーマットが格納されて
いるディスク10のアドレスであるから、それが同じで
あればフォームは同じということになる。
[Third Process] FIG. 10 Step 211: The page print format of the next page N + 1 is read from the disk 10. Step 212: Check whether a form is required for page N + 1. Required if page print format column 46 (see FIG. 7) for page N + 1 is not "0". Step 213: Check whether it is the same as the form used on the previous page N. This can be understood by comparing the values in the page print format column 46. Since the value in that column is the address of the disk 10 in which the form print format of the form to be used is stored, if it is the same, it means that the form is the same.

【0043】ステップ214…フォームが同じであると
判明した時には、ラスタ展開されているそのフォームを
コピーし得る大きさの空き領域が、ページメモリ14に
あるかどうか調べる。なければコピーはしない。 ステップ215…空き領域があればコピーし、そのコピ
ーしたメモリ領域を「使用中」の扱いとする。 ステップ216…コピー先のメモリ領域の先頭アドレス
を、ページN+1のページプリントフォーマットの欄4
9(図7参照)に書いておく。
Step 214: When the forms are found to be the same, it is checked whether or not the page memory 14 has an empty area large enough to copy the raster expanded form. If not, it will not be copied. Step 215 ... If there is a free area, it is copied, and the copied memory area is treated as "in use". Step 216: The head address of the copy destination memory area is set to the page 4 of page N + 1 page print format.
9 (see FIG. 7).

【0044】〔第4過程〕…図10 ステップ217…ページNには、フォームが必要かどう
か調べる。 ステップ218…必要な場合には、第2過程の段階で既
にラスタ展開されている筈であるから、それに入力デー
タをラスタ展開する。入力データのラスタ展開は、中間
メモリ12にロードしてある入力データプリントフォー
マットに基づいて行われ、既にラスタ展開されているフ
ォームと論理和をとる形で合成される。
[Fourth Process] ... Step 217 in FIG. 10 ... It is checked whether a page N requires a form. Step 218 ... If necessary, raster-expand the input data because it must have already been raster-expanded at the stage of the second process. The raster expansion of the input data is performed based on the input data print format loaded in the intermediate memory 12, and is combined with the form already raster-expanded in the form of a logical sum.

【0045】ステップ219…フォームを使わない場合
には、ラスタ展開するのは入力データだけである。展開
したメモリ領域を、「使用中」の扱いとする。 ステップ220…ラスタ展開したページメモリ14上の
領域の先頭アドレスを、ページNのページプリントフォ
ーマットの欄50(図7参照)に書く。
Step 219 ... If the form is not used, only the input data is rasterized. The expanded memory area is treated as "in use". Step 220 ... Write the start address of the raster expanded area on the page memory 14 in the page print format column 50 of page N (see FIG. 7).

【0046】〔出力過程〕…図10 ステップ221,222…ページNのビデオデータとし
て、プリンタ18に出力する。 ステップ223…ページNのために使用していた中間メ
モリ12の領域およびページメモリ14の領域を、すべ
て開放する。つまり、「使用中」の扱いを解除する。 ステップ224…次ページ用のページプリントフォーマ
ットが、まだディスク10に有るか調べる。有れば、ス
テップ201に戻って読み出しを行い、無ければこれで
終了する。
Output process ... Steps 221 and 222 in FIG. 10 ... Output as page N video data to the printer 18. Step 223 ... All the area of the intermediate memory 12 and the area of the page memory 14 used for the page N are released. That is, the handling of "in use" is canceled. Step 224: Check whether the page print format for the next page still exists in the disk 10. If there is, the process returns to step 201 to read the data, and if there is no, the process ends.

【0047】(2)第2の実施例 次に、本発明の第2の実施例を図面に基づいて詳細に説
明する。入力処理部5の動作は、第2の実施例でも同じ
であり、図8に示される通りである。
(2) Second Embodiment Next, a second embodiment of the present invention will be described in detail with reference to the drawings. The operation of the input processing unit 5 is the same as in the second embodiment and is as shown in FIG.

【0048】(出力制御部6の動作)出力制御部6に
は、第1の実施例の場合と同様に、「フォーム管理テー
ブル」(図4参照)が設けられる。図11,図12は、
第2の実施例での出力制御部6の動作を説明するフロー
チャートである。動作は、大きくわけて、次の4つの過
程から成る。 第1過程…今回使うフォームと入力データとを、中間メ
モリ12にロード 第2過程…今回使うフォームをラスタ展開 第3過程…空き領域があれば、フォームをコピー 第4過程…入力データをラスタ展開 第5過程…ビデオデータの出力
(Operation of Output Control Unit 6) The output control unit 6 is provided with a "form management table" (see FIG. 4) as in the case of the first embodiment. 11 and 12 show
7 is a flowchart illustrating the operation of the output control unit 6 in the second embodiment. The operation is roughly divided into the following four processes. 1st process ... Loading the form to be used this time and the input data into the intermediate memory 12. Second process ... Raster expanding the form to be used this time 3rd process ... Copying the form if there is a free space. 4th process ... Raster expanding the input data. Fifth step ... Video data output

【0049】〔第1過程〕…図11 ステップ300〜306…これらは、図9のステップ2
00〜206と同じである。即ち、第2の実施例での第
1の過程は、第1の実施例の第1の過程と同じである。
[First Step] ... FIG. 11 Steps 300 to 306 ... These are Step 2 of FIG.
The same as 00 to 206. That is, the first process in the second embodiment is the same as the first process in the first embodiment.

【0050】〔第2過程〕…図11 ステップ307…ページNには、フォームが必要かどう
か調べる。 ステップ308…そのフォームはラスタ展開済みかどう
か調べる。それは、フォーム管理テーブル51を見れば
分かる。ページプリントフォーマットの欄46のアドレ
スと同じアドレスが書いてあるディスクアドレス欄52
1を探し、もし有れば、それに対応するページメモリア
ドレス欄523を見る。ラスタ展開してなければ「0」
となっているし、ラスタ展開してあれば、ラスタ展開し
てあるページメモリ14のアドレスが書いてある筈であ
る。
[Second process] ... Step 307 in FIG. 11 ... It is checked whether or not a form is required for page N. Step 308 ... Checks whether the form has been rasterized. This can be understood by looking at the form management table 51. A disk address field 52 in which the same address as the address in the page print format field 46 is written
Look for a 1 and if there is, look at the corresponding page memory address column 523. "0" if raster is not expanded
If raster-expanded, the address of the page memory 14 raster-expanded should be written.

【0051】ステップ309…ページメモリ14にラス
タ展開済みの場合には、そのアドレスをページNのペー
ジプリントフォーマットの欄49に書く。 ステップ310…フォーム管理テーブル51内の該フォ
ームのフォームエントリ欄52の中の、ページメモリア
ドレス欄523のアドレス(これは、ラスタ展開してあ
る領域の先頭アドレス)を抹消して「0」とする。そう
する理由は、このラスタ展開は、これから出力するのに
使うことが決まってしまったからである。
Step 309: If raster expansion has been completed in the page memory 14, the address is written in the page print format column 49 of page N. Step 310: The address of the page memory address column 523 (this is the start address of the raster expanded area) in the form entry column 52 of the form in the form management table 51 is erased to "0". . The reason for doing this is that it has been decided that this raster expansion will be used for future output.

【0052】ステップ311…ステップ308でフォー
ムがラスタ展開してない場合には、ページメモリ14上
にラスタ展開するのに必要な空き領域があるか調べる。 ステップ312…空き領域がなければ、強制的に空き領
域を作る。具体的には、フォーム管理テーブル51のど
れかのフォームエントリ欄52のページメモリアドレス
欄523の値を「0」とする。これにより、そのフォー
ムエントリ欄52のフォームがラスタ展開されていた領
域が、空き領域扱いとなる。
Step 311 ... If the form is not raster-expanded in step 308, it is checked whether or not there is an empty area required for raster expansion on the page memory 14. Step 312 ... If there is no free area, a free area is compulsorily created. Specifically, the value of the page memory address column 523 of any form entry column 52 of the form management table 51 is set to "0". As a result, the area in which the form in the form entry field 52 is rasterized is treated as an empty area.

【0053】ステップ313…今回使用するフォーム
を、ページメモリ14にラスタ展開し、そのメモリ領域
を「使用中」の扱いとする。後で上書きなどにより、展
開データが消されてしまわないようにするためである。 ステップ314…ラスタ展開した領域の先頭アドレス
を、ページNのページプリントフォーマットの欄49に
書く。
Step 313 ... The form used this time is raster-developed in the page memory 14, and the memory area is treated as "in use". This is to prevent the expanded data from being deleted by overwriting later. Step 314 ... Write the start address of the raster expanded area in the page print format column 49 of page N.

【0054】〔第3過程〕…図12 ステップ315…ページメモリ14に空き領域があるか
どうか調べる。なければ、ラスタ展開したフォームをコ
ピーすることはしない。 ステップ316…空き領域があれば、ラスタ展開したペ
ージNのフォームをそこにコピーし、その領域を「使用
中」の扱いとする。 ステップ317…コピー先のページメモリアドレスを、
フォーム管理テーブル51の該フォームのページメモリ
アドレス欄523に書く。
[Third Process] ... Step 315 in FIG. 12 ... It is checked whether or not there is a free area in the page memory 14. If not, the raster expanded form is not copied. Step 316: If there is a vacant area, the form of page N raster-developed is copied there and the area is treated as "in use". Step 317 ... Specify the page memory address of the copy destination,
It is written in the page memory address column 523 of the form of the form management table 51.

【0055】〔第4過程〕…図12 ステップ318…ページNには、フォームが必要かどう
か調べる。 ステップ319…必要な場合には、第2過程の段階で既
にラスタ展開されている筈であるから、それに入力デー
タをラスタ展開する。入力データのラスタ展開は、中間
メモリ12にロードしてある入力データプリントフォー
マットに基づいて行われ、既にラスタ展開されているフ
ォームと論理和をとる形で合成される。
[Fourth Process] ... Step 318 in FIG. 12 ... It is checked whether or not a form is required for page N. Step 319: If necessary, the input data is raster-expanded because it has already been raster-expanded at the stage of the second process. The raster expansion of the input data is performed based on the input data print format loaded in the intermediate memory 12, and is combined with the form already raster-expanded in the form of a logical sum.

【0056】ステップ320…ページNにはフォームが
必要ない場合、つまりフォームを使わない場合には、ペ
ージNの入力データだけをラスタ展開すればよい。そこ
で、ページメモリ14上にそれをラスタ展開するのに必
要な空き領域があるか調べる。 ステップ321…空き領域がなければ、ステップ312
と同様の方法で強制的に空き領域を作る。
Step 320 ... If the form is not required for the page N, that is, if the form is not used, only the input data of the page N is raster-expanded. Therefore, it is checked whether or not there is an empty area necessary for rasterizing the page memory 14 on the page memory 14. Step 321 ... If there is no free space, Step 312
Forcibly create a free area in the same way as.

【0057】ステップ322…入力データをラスタ展開
し、展開したメモリ領域を「使用中」の扱いとする。 ステップ323…ラスタ展開したメモリ領域の先頭アド
レスを、ページNのページプリントフォーマットの欄5
0(図7参照)に書く。
Step 322 ... Raster develops the input data and treats the expanded memory area as "in use". Step 323 ... The head address of the raster-developed memory area is set to the page print format column 5 of page N.
Write 0 (see FIG. 7).

【0058】〔出力過程〕…図12 ステップ324,325…ページNのビデオデータとし
て、プリンタ18に出力する。 ステップ326…ページNのために使用していた中間メ
モリ12の領域およびページメモリ14の領域を、すべ
て開放する。つまり、「使用中」の扱いを解除する。 ステップ327…次ページ用のページプリントフォーマ
ットが、まだディスク10に有るか調べる。有れば、ス
テップ301に戻って読み出しを行い、無ければこれで
終了する。
[Output Process] ... Steps 324, 325 in FIG. 12 ... Output to the printer 18 as video data of page N. Step 326 ... All the area of the intermediate memory 12 and the area of the page memory 14 used for the page N are released. That is, the handling of "in use" is canceled. Step 327: Check whether the page print format for the next page still exists in the disk 10. If yes, the process returns to step 301 to read, and if no, the process ends.

【0059】[0059]

【発明の効果】以上述べた如く、本発明のプリンタ制御
装置によれば、当頁で使うフォームが次頁で使うフォー
ムと同じであり、ページメモリに空き領域がある場合、
当頁のフォームのラスタ展開データを該空き領域にコピ
ーしておくので、次頁処理の際、フォームをラスタ展開
する必要がなくなる。ラスタ展開データをコピーしてお
く時間は、新たにラスタ展開する時間に比べて短いの
で、プリンタへの出力速度が低下するのを防ぐことが出
来る。
As described above, according to the printer control apparatus of the present invention, when the form used on this page is the same as the form used on the next page, and there is an empty area in the page memory,
Since the raster rasterization data of the form of this page is copied to the empty area, it is not necessary to raster rasterize the form in processing the next page. Since the time for copying the raster expansion data is shorter than the time for newly expanding the raster, it is possible to prevent the output speed to the printer from decreasing.

【0060】また、フォームのラスタ展開を行った際、
ページメモリに空き領域がある限り、そのラスタ展開デ
ータをコピーしておくようにすると、次頁以降に同じフ
ォームを使う場合に、新たにラスタ展開する必要がな
く、やはりプリンタへの出力速度が低下するのを防ぐこ
とが出来る。
Also, when rasterizing a form,
As long as there is free space in the page memory, if you copy the raster expansion data, you do not have to newly expand the raster when you use the same form on the next page, and the output speed to the printer also decreases. Can be prevented.

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

【図1】 本発明の第1の実施例における概念を示す図FIG. 1 is a diagram showing a concept in a first embodiment of the present invention.

【図2】 本発明の第2の実施例における概念を示す図FIG. 2 is a diagram showing a concept in a second embodiment of the present invention.

【図3】 ディスクでの各プリントフォーマットの格納
状況を示す図
FIG. 3 is a diagram showing the storage status of each print format on a disc.

【図4】 フォーム管理テーブルの構成を示す図FIG. 4 is a diagram showing the configuration of a form management table.

【図5】 プリンタ制御装置の一般的構成を示す図FIG. 5 is a diagram showing a general configuration of a printer control device.

【図6】 ラスタ展開時間とビデオ出力区間との関係を
説明する図
FIG. 6 is a diagram illustrating a relationship between raster expansion time and a video output section.

【図7】 ページプリントフォーマットの構成を示す図FIG. 7 is a diagram showing the structure of a page print format.

【図8】 入力処理部の動作を説明するフローチャートFIG. 8 is a flowchart illustrating the operation of the input processing unit.

【図9】 第1の実施例での出力制御部の動作の前半を
説明するフローチャート
FIG. 9 is a flowchart illustrating the first half of the operation of the output control unit according to the first embodiment.

【図10】第1の実施例での出力制御部の動作の後半を
説明するフローチャート
FIG. 10 is a flowchart illustrating the second half of the operation of the output control unit according to the first embodiment.

【図11】第2の実施例での出力制御部の動作の前半を
説明するフローチャート
FIG. 11 is a flowchart illustrating the first half of the operation of the output control unit according to the second embodiment.

【図12】第2の実施例での出力制御部の動作の後半を
説明するフローチャート
FIG. 12 is a flowchart illustrating the second half of the operation of the output control unit according to the second embodiment.

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

1…入力媒体、2…プリンタ制御装置、3…入力制御装
置、4…OSおよびデバイスドライバ、5…入力処理
部、6…出力制御部、7…CPUおよびメモリ、8…イ
ンターフェース、9…バス、10…ディスク、11…デ
ィスク制御装置、12…中間メモリ、13…イメージン
グ機構、14…ページメモリ、15…ビデオデータ送出
機構、16…インターフェース、17…ビデオデータ受
信機構、18…プリンタ、20…このページ用フォー
ム、21…次ページ用フォーム、22〜24…このペー
ジ用フォーム、25〜27…保存用フォーム、30〜3
2…ページプリントフォーマット、33〜35…入力デ
ータプリントフォーマット、36〜38…フォームプリ
ントフォーマット、51…フォーム管理テーブル、52
…フォームエントリ欄、521…ディスクアドレス、5
22…中間メモリアドレス、523…ページメモリアド
レス
DESCRIPTION OF SYMBOLS 1 ... Input medium, 2 ... Printer control device, 3 ... Input control device, 4 ... OS and device driver, 5 ... Input processing part, 6 ... Output control part, 7 ... CPU and memory, 8 ... Interface, 9 ... Bus, 10 ... Disk, 11 ... Disk control device, 12 ... Intermediate memory, 13 ... Imaging mechanism, 14 ... Page memory, 15 ... Video data sending mechanism, 16 ... Interface, 17 ... Video data receiving mechanism, 18 ... Printer, 20 ... This Page form, 21 ... Next page form, 22-24 ... This page form, 25-27 ... Storage form, 30-3
2 ... Page print format, 33-35 ... Input data print format, 36-38 ... Form print format, 51 ... Form management table, 52
... Form entry field, 521 ... Disk address, 5
22 ... Intermediate memory address, 523 ... Page memory address

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力媒体からのデータを基に所要のプリ
ントフォーマットを作成する入力処理部と、該プリント
フォーマットを格納する記憶手段と、該記憶手段から中
間メモリに読み出した1頁分のフォームプリントフォー
マットと入力データプリントフォーマットとを同じペー
ジメモリ上に逐次的にラスタ展開する出力制御部と、ラ
スタ展開したデータをプリンタに送出するビデオデータ
送出機構とを有するプリンタ制御装置において、 前記ページメモリは、少なくとも2頁分のラスタ展開デ
ータを記憶する容量を有し、 前記出力制御部は、当頁のフォームが次頁のフォームと
同じである場合は、当頁のフォームのラスタ展開データ
を該ページメモリの空き領域にコピーする処理を行い、
次頁のラスタ展開に際しては、該コピーしたフォームの
ラスタ展開データを用いることで、次頁のフォームプリ
ントフォーマットの前記ページメモリ上への展開処理を
省略することを特徴とするプリンタ制御装置。
1. An input processing unit for creating a required print format based on data from an input medium, a storage unit for storing the print format, and a form print for one page read from the storage unit to an intermediate memory. In a printer controller having an output control unit for sequentially rasterizing a format and an input data print format on the same page memory, and a video data sending mechanism for sending raster expanded data to a printer, the page memory is If the form of this page is the same as the form of the next page, the output control unit has a capacity for storing at least two pages of raster expanded data, and the output control unit stores the raster expanded data of the form of this page in the page memory. Process to the free space of
In the raster expansion of the next page, the raster expansion data of the copied form is used to omit the expansion processing of the form print format of the next page onto the page memory.
【請求項2】 入力媒体からのデータを基に所要のプリ
ントフォーマットを作成する入力処理部と、該プリント
フォーマットを格納する記憶手段と、該記憶手段から中
間メモリに読み出した1頁分のフォームプリントフォー
マットと入力データプリントフォーマットとを同じペー
ジメモリ上に逐次的にラスタ展開する出力制御部と、ラ
スタ展開したデータをプリンタに送出するビデオデータ
送出機構とを有するプリンタ制御装置において、 前記ページメモリは、少なくとも2頁分のラスタ展開デ
ータを記憶する容量を有し、 前記出力制御部は、当頁のフォームのラスタ展開データ
を該ページメモリの空き領域にコピーする処理を行い、
次頁のラスタ展開に際して、該コピーしたフォームのラ
スタ展開データを用いることができる場合は、次頁のフ
ォームプリントフォーマットの前記ページメモリ上への
展開処理を省略することを特徴とするプリンタ制御装
置。
2. An input processing unit for creating a required print format based on data from an input medium, a storage unit for storing the print format, and a form print for one page read from the storage unit to an intermediate memory. In a printer controller having an output control unit for sequentially rasterizing a format and an input data print format on the same page memory, and a video data sending mechanism for sending raster expanded data to a printer, the page memory is The output control unit has a capacity to store at least two pages of raster expansion data, and the output control unit performs a process of copying the raster expansion data of the form of this page to an empty area of the page memory,
A printer control device, wherein when raster expanded data of the copied form can be used in raster expansion of the next page, expansion processing of the form print format of the next page onto the page memory is omitted.
JP20923194A 1994-08-09 1994-08-09 Printer control device Expired - Fee Related JP3513930B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20923194A JP3513930B2 (en) 1994-08-09 1994-08-09 Printer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20923194A JP3513930B2 (en) 1994-08-09 1994-08-09 Printer control device

Publications (2)

Publication Number Publication Date
JPH0852919A JPH0852919A (en) 1996-02-27
JP3513930B2 true JP3513930B2 (en) 2004-03-31

Family

ID=16569534

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20923194A Expired - Fee Related JP3513930B2 (en) 1994-08-09 1994-08-09 Printer control device

Country Status (1)

Country Link
JP (1) JP3513930B2 (en)

Also Published As

Publication number Publication date
JPH0852919A (en) 1996-02-27

Similar Documents

Publication Publication Date Title
US4949188A (en) Image processing apparatus
JPH0971013A (en) Printing control device and memory-control method and printing control method and storage medium storing control program
JPH07205496A (en) Page printer and method for data compression
US6317193B2 (en) Image forming apparatus
JP2740568B2 (en) Printing equipment
JP2000335022A (en) Printer control device
JP3161031B2 (en) Image processing device
US5451111A (en) Method of and apparatus for automatically outputting the image of a page
US5880855A (en) Document process apparatus including a memory storage location function
JP3513930B2 (en) Printer control device
JPH11136459A (en) Image input/output device and method
JP2000099297A (en) Device and method for printer control, storage medium where printer control program is recorded, and printer system
JP3246415B2 (en) Recording medium recording printer control system and printer control program
JPH05224846A (en) Printing and recording device
JP3110905B2 (en) Data transfer device and method
JPH09214746A (en) Image output system and image forming device
JP2755315B2 (en) Printing control device
JP2989727B2 (en) Printing apparatus and printing method
JP3211711B2 (en) Drawing device, drawing method, printer and image display device
JP3156617B2 (en) Copier
JPH0955835A (en) Image processor
JP3206418B2 (en) Printer control device
JPH0825716A (en) Electrophotographic page printer
JPH07125329A (en) Printer
JP2000211198A (en) Method for managing image data

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: 20031224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040106

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

Free format text: PAYMENT UNTIL: 20080123

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090123

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100123

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees