JPH07290773A - Data processing device - Google Patents

Data processing device

Info

Publication number
JPH07290773A
JPH07290773A JP6087006A JP8700694A JPH07290773A JP H07290773 A JPH07290773 A JP H07290773A JP 6087006 A JP6087006 A JP 6087006A JP 8700694 A JP8700694 A JP 8700694A JP H07290773 A JPH07290773 A JP H07290773A
Authority
JP
Japan
Prior art keywords
data
blank
processing
line
page
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.)
Withdrawn
Application number
JP6087006A
Other languages
Japanese (ja)
Inventor
Masaharu Nagata
雅治 永田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP6087006A priority Critical patent/JPH07290773A/en
Publication of JPH07290773A publication Critical patent/JPH07290773A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

(57)【要約】 【目的】 本発明は、データ処理装置に関し、データ処
理装置の印刷装置側にあった展開処理部を、処理装置側
に移し、且つ、印刷装置にあるビットマップメモリに対
する基本処理である消去,書き込み,転写処理中の消去
処理を無くし、書込み,転写の2パスで印刷結果を得
る。 【構成】 処理装置に、印刷装置が接続され、ビットマ
ップメモリを備えた印刷装置に、上記処理装置側で展開
した印刷データを転送し、印刷結果を得るデータ処理装
置において、処理装置で生成した印刷データをデータ展
開処理した印刷データ内から、転写対象のデータの存在
しない領域を検出する手段と、検出された領域に対応す
る印刷データの代わりに、空白を表すドットデータを転
送してビットマップメモリに書き込む手段を有するよう
に構成する。
(57) [Summary] [Object] The present invention relates to a data processing apparatus, wherein a development processing unit, which was on the printing apparatus side of the data processing apparatus, is moved to the processing apparatus side, and a basic bit map memory for the printing apparatus is provided. Eliminating the erase process during the erase, write, and transfer processes, which are the processes, and obtain the print result in two passes: write and transfer. [Configuration] A printer is connected to the processor, and the print data expanded on the processor side is transferred to the printer having a bitmap memory, and is generated by the processor in the data processor that obtains a print result. A means for detecting a region in which print target data does not exist in the print data obtained by expanding the print data, and transferring dot data representing a blank instead of the print data corresponding to the detected region to a bitmap. It is configured to have a means for writing to the memory.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、処理装置に、印刷装置
が接続され、ビットマップメモリを備えた印刷装置に、
上記処理装置側で展開した印刷データを転送し、印刷結
果を得るデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer having a bitmap memory and a printer connected to a processor.
The present invention relates to a data processing device that transfers print data expanded on the processing device side to obtain a print result.

【0002】[0002]

【従来の技術】図4は、従来のデータ処理装置を説明す
る図である。従来のデータ処理装置では、処理装置(例
えば、ワークステーション) 2,印刷装置 1共に、処理能
力が低い為、負荷を分散することを目的として、図4に
示したような構成で印刷処理を行っていた。
2. Description of the Related Art FIG. 4 is a diagram for explaining a conventional data processing device. In the conventional data processing device, both the processing device (for example, the workstation) 2 and the printing device 1 have a low processing capacity, and therefore print processing is performed with the configuration shown in FIG. 4 for the purpose of distributing the load. Was there.

【0003】即ち、この従来のデータ処理装置の特徴
は、処理装置 2側のアプリケーション20 において生成
されたページ記述言語で記述されている印刷データの展
開, 及び、印刷用紙への転写などの印刷に関係する処理
を総て、印刷装置 1の中で行い、処理装置 2での作業
は、アプリケーション 20 が生成して、図示されていな
い記憶装置に格納してある印刷データを、該記憶装置か
ら取り出し、定められた手続きによって、印刷装置 1に
転送するだけであった。
That is, the characteristic of this conventional data processing device is that the printing data described in the page description language generated by the application 20 on the processing device 2 side is expanded and the printing such as transfer to a printing paper is performed. All the related processing is performed in the printing device 1, and the work in the processing device 2 is performed by the application 20 to retrieve the print data stored in a storage device (not shown) from the storage device. , It was only transferred to printer 1 according to the established procedure.

【0004】この場合、該印刷装置 1でのデータ展開処
理部 11 において、ビットマップメモリ 10 への操作
は、該ビットマップメモリ 10 の消去処理と、新たな展
開データの書き込みと、該書き込んだデータの感光ドラ
ムへの転写のイメージデータ転写部 12 への指示と、イ
メージデータ転写部 12 からの転写終了通知を受けて、
次のページの印刷データに対して、上記消去処理, 書き
込み処理, 転写処理を行うことを繰り返すものとなる。
In this case, in the data expansion processing section 11 of the printing apparatus 1, the operation of the bitmap memory 10 is performed by erasing the bitmap memory 10, writing new expanded data, and writing the written data. Of the transfer to the photosensitive drum of the image data transfer section 12 and the transfer end notification from the image data transfer section 12,
The above-described erasing process, writing process, and transfer process are repeated for the print data of the next page.

【0005】この為、処理装置 2は、複雑な制御を総
て、周辺装置 (即ち、印刷装置) 1 に任せることにな
り、ワークステーション全体としての負荷が、各印刷装
置 1といった入出力装置に分散でき、処理装置 2が処理
能力の低い装置であっても、ワークステーション全体と
しての高い負荷が見えにくい等の利点があった。
For this reason, the processing device 2 entrusts all the complicated control to the peripheral device (that is, the printing device) 1, and the load of the workstation as a whole is placed on the input / output device such as each printing device 1. Even if the processing device 2 can be dispersed and the processing device 2 has a low processing capacity, there is an advantage that the high load of the entire workstation is difficult to see.

【0006】[0006]

【発明が解決しようとする課題】然し、入出力装置(こ
こでは、上記印刷装置)1 としては、複雑多岐にわたる
処理を、全て、該印刷装置 1内で処理する必要があるの
で、効率良く展開, 転写するには、ハードウェア, ソフ
トアェアを、強化しなくてはならないという問題があっ
た。
However, since the input / output device (here, the printing device in this case) 1 needs to process all the complicated and diverse processes in the printing device 1, it can be efficiently developed. There was a problem that the hardware and software areas had to be strengthened in order to transfer them.

【0007】又、処理装置 2とは異なり、印刷装置 1の
処理性能は、用紙への転写時間に左右される。なぜな
ら、転写するのに必要なイメージデータは、図示されて
いない感光ドラムに一括して転写する必要性から、必
ず、決められたビットマップメモリ 10 に格納しておか
なくてはならず、どんなに、上記データ展開処理部 11
での展開速度が速くても、該ビットマップメモリ 10 に
書き込む際に、ページ毎の同期取り、即ち、転写部 12
での感光ドラムへの転写速度に制限がある。従って、処
理装置 2からのデータ転送に対する停止要求等の同期取
りが必要になるからである。
Further, unlike the processing device 2, the processing performance of the printing device 1 depends on the transfer time to the paper. This is because the image data required for transfer must be stored in the specified bitmap memory 10 because it is necessary to transfer the image data to a photosensitive drum (not shown) all at once. Data development processing unit 11
Even if the expansion speed is fast, the data is written in the bitmap memory 10 in synchronization with each page, that is, the transfer unit 12
There is a limit to the transfer speed to the photosensitive drum in. Therefore, it is necessary to synchronize the stop request for the data transfer from the processor 2.

【0008】更に、ビットマップメモリ 10 に書き込ま
れたイメージデータは、ページ毎に消去しなければ、次
のページに持ち越されるため、ページ単位の処理の先頭
において、消去処理が必要であるが、この処理は、ビッ
トマップメモリ 10 全体に対して行われるので、印刷装
置 1にとっては、大きな負荷になるという問題があっ
た。
Further, since the image data written in the bit map memory 10 is carried over to the next page unless it is erased page by page, it is necessary to perform an erase process at the beginning of the page unit process. Since the process is performed on the entire bitmap memory 10, there is a problem that the printer 1 has a heavy load.

【0009】このようなことから、従来の印刷装置で
は、性能の向上に限界があるという問題があった。本発
明は上記従来の欠点に鑑み、最近の処理装置の性能向上
に伴い、従来、印刷装置に設けられていたデータ展開部
を、処理装置側に移動させると共に、該ビットマップメ
モリに対する操作の基本であるデータの消去, 書き込
み, 転写の動作, 及び、上記同期取りの内、該基本操作
の中の消去処理を無くすることによって、印刷装置での
負荷を減らし、処理装置, 印刷装置全体の性能を向上さ
せることができるデータ処理装置を提供することを目的
とするものである。
As described above, the conventional printing apparatus has a problem that there is a limit to the improvement of performance. In view of the above-mentioned conventional drawbacks, the present invention moves the data expansion unit conventionally provided in the printing apparatus to the processing apparatus side with the recent improvement in the performance of the processing apparatus, and the basic operation of the bitmap memory. By eliminating the data erasing, writing, and transfer operations, and the erasing process in the basic operations of the above-mentioned synchronization, the load on the printing device is reduced and the performance of the processing device and the printing device as a whole is reduced. It is an object of the present invention to provide a data processing device capable of improving the above.

【0010】[0010]

【課題を解決するための手段】図1〜図3は、本発明の
一実施例を示した図であり、図1は、データ処理装置の
全体の構成例を示し、図2は、データ展開処理部の処理
フローを示し、図3は、ビットマップメモリに対する空
白データの格納例を示している。上記の問題点は下記の
如くに構成したデータ処理装置によって解決される。
1 to 3 are views showing an embodiment of the present invention, FIG. 1 shows an example of the entire configuration of a data processing apparatus, and FIG. 2 shows data expansion. FIG. 3 shows a processing flow of the processing unit, and FIG. 3 shows an example of storing blank data in the bitmap memory. The above problems can be solved by a data processing device configured as follows.

【0011】処理装置 2に印刷装置 1が接続され、ビッ
トマップメモリ 10 を備えた印刷装置 1に、上記処理装
置 2側で展開した印刷データを転送し、印刷結果を得る
データ処理装置において、処理装置 2生成した印刷デー
タをデータ展開処理した印刷データ内から、転写対象の
データが存在しない領域を検出する手段と、検出された
領域に対応する印刷データの代わりに、空白を表すドッ
トデータを転送してビットマップメモリ 10 に書き込む
手段を有するように構成する。
The printing device 1 is connected to the processing device 2, and the print data expanded on the processing device 2 side is transferred to the printing device 1 having the bit map memory 10 to obtain a print result. Device 2 A means to detect the area where the data to be transferred does not exist in the print data obtained by data expansion processing of the generated print data, and the dot data representing a blank area is transferred instead of the print data corresponding to the detected area. Then, it is configured to have a means for writing to the bitmap memory 10.

【0012】[0012]

【作用】1ページ分のビットマップメモリ 10 を備えた
印刷装置 1では、その機能の性格上、前述のように、以
下の手順で印刷結果を得ることが基本になっている。 1)ビットマップメモリ 10 の初期化 2)ページ記述言語からイメージデータへの展開とビット
マップメモリ 10 への書き込み 3)印刷媒体への転写 4)転写完了の待ち合わせ、即ち、前述の同期取り 上記の処理の中で、ビットマップメモリ 10 の初期化
は、前のページで展開した値を次のページで再度転写し
ないようにするために必要な処理であるが、前述のよう
に、本来の印刷内容とは関係のない余分な処理である。
In the printing apparatus 1 having the bit map memory 10 for one page, the printing result is basically obtained by the following procedure due to the nature of its function. 1) Initialization of bitmap memory 10 2) Expansion from page description language to image data and writing to bitmap memory 10 3) Transfer to print medium 4) Waiting for transfer completion, that is, the above-mentioned synchronization In the process, initialization of bitmap memory 10 is necessary to prevent the value expanded on the previous page from being transferred again on the next page. It is extra processing that has nothing to do with.

【0013】従って、この処理に対する処理時間を、如
何に、短くするかにより、該データ処理装置の性能が向
上する。そこで、本発明においては、上記 1) で説明し
たビットマップメモリ 10 の初期化は、前のページにお
いて展開データがあっても、次のページで、空白部分が
あると、その領域に対してのみ、例えば、空白データを
書き込むことで事足りることに着目して、ページ内の、 (1) 上端余白部分 (2) 行間の空白部分 (3) 空白行 (4) 下端の余白部分 を検出し、そこに、ドットデータからなる空白データを
書き込むようにすれば、上記の初期化処理を無くするこ
とができるとするものである。
Therefore, the performance of the data processing apparatus is improved depending on how the processing time for this processing is shortened. Therefore, in the present invention, the initialization of the bitmap memory 10 described in 1) above is performed only for that area if there is a blank portion on the next page even if there is expanded data on the previous page. For example, paying attention to the fact that it is sufficient to write blank data, (1) blank area on the page (2) blank area between lines (3) blank row (4) blank area at the bottom is detected, and Further, if the blank data composed of dot data is written, the above initialization processing can be eliminated.

【0014】一方、処理装置 2側のアプリケーションで
作成されたページ記述言語による印刷データには、ペー
ジ, 行, 文字毎の属性、例えば、ページの頭出しライ
ン,改行ピッチ、文字サイズ, ページの長さ等が記述さ
れているので、処理装置 2に移したデータ展開処理部 2
1 の機能として、上記属性を認識することにより、展
開処理の中でビットマップメモリの先頭からページの第
1行迄を求める手段 aと,行を展開, 出力する手段 b
と, ラスタ単位に、空白データ (ドットデータ)を書き
込む手段 cと, 上記の属性を参照して、ページの長さ
を知る手段 dと、展開した現行の位置と、次の行の位置
とを、現出力行の幅 (文字幅) と改行ピッチとから同時
に求める手段 eと,行の途中から、行の端迄を求める手
段 fと,現出力行位置からビットマップメモリの最下端
迄の空白領域を求める手段 gを、例えば、ソフトアェア
手段で実現する。
On the other hand, the print data in the page description language created by the application on the side of the processor 2 includes attributes for each page, line, and character, such as page cue line, line feed pitch, character size, and page length. Etc. are described, the data expansion processing unit 2
As a function of 1, by recognizing the above attributes, a means a for obtaining from the head of the bitmap memory to the first line of the page in the expansion processing, and a means b for expanding and outputting the line
,, means c for writing blank data (dot data) in raster units, and means d for knowing the page length by referring to the above attributes, the current expanded position, and the position of the next line. , A means e for finding the width (character width) of the current output line and the line feed pitch at the same time, a means f for finding the middle of the line to the end of the line, and a space from the current output line position to the bottom of the bitmap memory The means g for obtaining the region is realized by, for example, soft area means.

【0015】そして、上記ページ内の空白部分を検出す
ると、空白文字を展開してイメージデータとし、印刷装
置 1に空白データを転送するのではなく、元々、ドット
データからなる空白データ、例えば、該印刷装置が、Y,
M,C,B 色系のカラープリンタ装置であると、値が"1" で
あるドットデータを、ラスタ単位で、所定の長さだけ、
連続して転送する、上記空白データ (ドットデータ) を
書き込む手段 cを備えることで、コード変換を行うこと
なく、空白データのビットマップメモリ 10 への高速転
送をする。
When a blank portion in the page is detected, the blank character is expanded to form image data, and the blank data is not transferred to the printer 1, but the blank data originally composed of dot data, for example, If the printing device is Y,
In the M, C, B color printer, the dot data whose value is "1" is rasterized in units of a predetermined length.
By providing the means c for writing the blank data (dot data) which is continuously transferred, the blank data can be transferred to the bitmap memory 10 at high speed without performing code conversion.

【0016】図2は、処理装置 2内のデータ展開処理部
21 での処理シーケンスを流れ図で示したものである。
この流れ図において、ページの頭出し (処理ステップ 1
00参照) が、上記 (1)で示した上端の空白部分を検出す
る処理ステップに対応する。該上端の空白部分を認識す
ることができれば、上記ラスタ単位の空白データ転送手
段 cにより、ビットマップメモリ 10 の上記上端の空白
部分に対して、空白データを高速に格納することができ
る。
FIG. 2 is a data expansion processing unit in the processing device 2.
21 is a flowchart showing the processing sequence in 21.
In this flow chart, page cueing (process step 1
00) corresponds to the processing step for detecting the blank portion at the upper end shown in (1) above. If the blank portion at the upper end can be recognized, the blank data can be stored at high speed in the blank portion at the upper end of the bitmap memory 10 by the blank data transfer means c in raster units.

【0017】そして、1行分の文字展開 (処理ステップ
102参照) をするとき、現行の位置と、次の行の位置と
を、上記属性データの、例えば、行間ピッチと、文字サ
イズから認識することで、上記 (2)で示した行間の空白
部分を認識することができ、該行間の空白部分に対し
て、上記ラスタ単位の空白データ転送手段 cにより、ビ
ットマップメモリ 10 の上記行間の空白部分に対して、
空白データを高速に格納することができる。
Then, character expansion for one line (processing step
(See 102), the current position and the position of the next line are recognized from the above-mentioned attribute data, for example, the line pitch and the character size. Can be recognized, and for the blank portion between the rows, by the blank data transfer means c of the raster unit, for the blank portion between the rows of the bitmap memory 10,
Blank data can be stored at high speed.

【0018】又、上記1行分の文字展開 (処理ステップ
102参照) において、展開すべき文字コードが存在しな
い場合には、その位置から、その行の端迄の空白行であ
るという上記 (3)の空白行を印刷する処理となり、該空
白行が認識できると、該空白行に対して、次の展開デー
タの出力処理 (処理ステップ 103参照) との連携処理
で、上記ラスタ単位の空白データ転送手段 cにより、ビ
ットマップメモリ 10 の上記空白行に対して生成した空
白データと、上記1行分の文字展開処理による文字の展
開データと合わせて、該展開データと空白データを、ラ
スタ単位で出力するように構成することで、該空白デー
タを高速に、ビットマップメモリ 10 上の空白領域に対
して格納することができる。
In addition, the character expansion for one line described above (processing step
(See 102), if there is no character code to be expanded, the blank line in (3) above, which is a blank line from that position to the end of the line, is printed, and the blank line is recognized. If possible, the blank line is transferred to the blank line of the bitmap memory 10 by the blank data transfer means c for each raster unit in cooperation with the output process of the next expanded data (see processing step 103) for the blank line. By combining the blank data generated as described above and the character expansion data obtained by the character expansion processing for one line, and outputting the expansion data and the blank data in raster units, the blank data can be processed at high speed. , It can be stored in the blank area on the bitmap memory 10.

【0019】更に、次の次行までの頭出し処理 (処理ス
テップ 104参照) {具体的には、前述の現行の位置と次
の行の位置を、文字幅と改行ピッチとから同時に求める
手段e を含む}において、ある行から、そのページの最
下端まで、展開文字がないことを認識すると、その認識
処理は、上記 (4)に示した下端の余白部分の印刷処理に
対応し、該ページの本当の下端の余白部分と一緒にし
て、上記ラスタ単位の空白データ転送手段 cにより、ビ
ットマップメモリ 10 の上記下端の空白部分に対して、
空白データを高速に格納することができる。
Further, cueing processing to the next next line (see processing step 104) (Specifically, means e for simultaneously obtaining the above-mentioned current position and next line position from the character width and the line feed pitch) In the above, the recognition processing corresponds to the printing processing of the margin portion at the lower end shown in (4) above, and if the expansion character is recognized from a certain line to the bottom end of the page, By the blank data transfer means c of the raster unit together with the real bottom edge of the
Blank data can be stored at high speed.

【0020】このように作用するので、上記(1) 〜(4)
までの制御を行えば、従来の印刷システムで行っていた
ページの先頭での消去処理を完全に省略して、ビットマ
ップメモリ 10 に対する書き込み処理のみに単一化する
ことができ、該ビットマップメモリ 10 の初期化の処理
に相当する処理時間を短縮することができる。又、印刷
装置 1側で、従来、処理装置 2側に見せていたビットマ
ップメモリ 10 の初期化の為のインタフェース、例え
ば、該初期化処理の、起動, 終了通知等を無くすること
ができる。
Since it operates in this way, the above (1) to (4)
By performing the control up to, it is possible to completely omit the erasing process at the beginning of the page, which was performed in the conventional printing system, and to unify only the writing process to the bitmap memory 10. The processing time corresponding to the initialization processing of 10 can be shortened. Also, the interface for initializing the bitmap memory 10, which is conventionally shown to the processing device 2 side, for example, the activation and termination notification of the initialization process can be eliminated on the printing device 1 side.

【0021】従って、印刷装置 1では、展開処理が無く
なり、ビットマップメモリ 10 を消去する処理が無くな
ることになるので、該展開処理の為の処理回路、例え
ば、ムーバ, ベクトルジェネレータと言った集積回路が
不要となり、該印刷装置 1の簡略化ができる。
Therefore, in the printing apparatus 1, the expansion process is eliminated and the process of erasing the bit map memory 10 is eliminated. Therefore, a processing circuit for the expansion process, for example, an integrated circuit such as a mover or a vector generator is used. Is unnecessary, and the printer 1 can be simplified.

【0022】又、処理装置 2は、表示装置があることか
ら、元々、上記ムーバ, ベクトルジェネレータと言った
集積回路が備えられているので、印刷装置 1側から、上
記データ展開処理部を、処理装置 2側に移しても、ハー
ドウェアが増加することもないので、印刷システム全体
のコストダウンを図ることができる効果がある。
Further, since the processing device 2 has a display device, it is originally provided with an integrated circuit such as the mover or vector generator. Therefore, the printing device 1 side processes the data expansion processing unit. Even if the device is moved to the device 2, the hardware does not increase, so that the cost of the entire printing system can be reduced.

【0023】[0023]

【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1〜図3は、本発明の一実施例を示した図
である。
Embodiments of the present invention will be described in detail below with reference to the drawings. 1 to 3 described above are views showing an embodiment of the present invention.

【0024】本発明においては、処理装置 2のアプリケ
ーション 20 で生成したページ記述言語で記述されてい
る印刷データを展開して、印刷装置 1のビットマップメ
モリ10 に転送して印刷するときの、該ビットマップメ
モリ 10 に対する基本操作の消去処理, 書き込み処理,
転写処理の3動作の内、消去処理を削除して、書き込
み,転写の2パス動作で印刷結果を得るように制御する
ように構成し、該消去処理を削除する手段として、上記
ページ記述言語で記述されている印刷データのページ,
行,文字単位の属性から、展開処理の中でビットマッ
プメモリの先頭からページの第1行迄を求める手段 a
と,行を展開, 出力する手段 bと, ラスタ単位に、空白
データ (ドットデータ) を書き込む手段 cと, 上記の属
性を参照して、ページの長さを知る手段 dと、展開し
た現行の位置と、次の行の位置とを、現出力行の幅 (文
字幅) から同時に求める手段 eと,行の途中から、行の
端迄を求める手段 fと,現出力行位置からビットマップ
メモリの最下端迄の空白領域を求める手段 gを備えて、
転写対象のデータが存在しない領域を検出したとき、空
白を表すドットデータを、該印刷データの代わりに転送
してビットマップメモリに書き込む手段が、本発明を実
施するのに必要な手段である。尚、全図を通して同じ符
号は同じ対象物を示している。
In the present invention, when the print data written in the page description language generated by the application 20 of the processing device 2 is expanded and transferred to the bitmap memory 10 of the printing device 1 for printing, Erase processing, write processing of basic operations for bitmap memory 10
Of the three operations of the transfer process, the erasing process is deleted, and the control is performed so as to obtain the print result by the two-pass operations of writing and transferring. As means for deleting the erasing process, the page description language is used. Page of print data described,
A means for obtaining from the head of the bitmap memory to the first line of the page in the expansion process from the attribute of each line and character a
, A means b for expanding and outputting lines, a means c for writing blank data (dot data) in raster units, a means d for checking the page length by referring to the above attributes, and a means for expanding the current Position e and the position of the next line from the width (character width) of the current output line at the same time, f from the middle of the line to the end of the line, and the bit map memory from the current output line position With means g for finding the blank area up to the bottom of
A means for transferring the dot data representing a blank and writing the data in the bitmap memory instead of the print data when the area where the data to be transferred does not exist is detected is a means necessary for carrying out the present invention. The same reference numerals indicate the same objects throughout the drawings.

【0025】以下、図1〜図3によって、本発明のペー
ジプリンタ制御装置の構成と動作を説明する。本発明の
データ処理装置では、図1に示されているように、デー
タ展開処理部21 を処理装置 2側に備えるようにして、
印刷装置 1には、データ受信部 13 と、ビットマップメ
モリ 10 と、イメージデータ転写部 12 のみで構成し、
処理装置 2側の上記データ展開処理部 21 には、基本的
には、図1に示されているような、1行を展開する手段
Aと、現行の位置を認識する手段Bと,次行の位置を認
識する手段Cと,空白データを転送する手段Dとから、
展開処理の中でビットマップメモリの先頭からページの
第1行迄を求める手段 aと,行を展開, 出力する手段 b
と, ラスタ単位に、空白データ (ドットデータ) を書き
込む手段 cと, 上記の属性を参照して、ページの長さ
を知る手段 dと、展開した現行の位置と、次の行の位置
とを、現出力行の幅 (文字幅) と改行ピッチとから同時
に求める手段 eと,行の途中から、行の端迄を求める手
段 fと,現出力行位置からビットマップメモリの最下端
迄の空白領域を求める手段 gを形成して、転写対象のデ
ータが存在しないことを検出したとき、印刷データの代
わりに、空白を表すドットデータを、該印刷データの代
わりに転送してビットマップメモリに書き込むように構
成されている。そして、以下に示すa)〜d)の処理を
実行する。即ち、 a)用紙の上端余白に対する処理:展開処理の中でビッ
トマップメモリの先頭からページの第1行迄を求める手
段 aに対応 図1に示した構成と、図2に示したデータ展開処理部 2
1 の処理シーケンス (処理ステップ 100〜処理ステップ
104迄のシーケンス) によって、用紙の上端の余白をビ
ットマップメモリ 10 上に形成する場合には、図2示し
た、処理ステップ100のページの頭出し処理時に、ビッ
トマップメモリ 10 の先頭から、ページの第1行目まで
の行に、ラスタ単位で空白ラスタを書き込む。該空白ラ
スタは、ラスタ単位に、上記空白データ{前述の Y,M,
C,Bのカラー体系では、全"0" データ}を転送する手段
Dと、空白データを書き込む手段cを用いる。更に、現
出力行位置(ラスタ位置)を更新し、実印刷データへの
頭出しを行う。
The configuration and operation of the page printer control apparatus of the present invention will be described below with reference to FIGS. In the data processing apparatus of the present invention, as shown in FIG. 1, the data expansion processing unit 21 is provided on the processing apparatus 2 side,
The printing apparatus 1 includes only the data receiving unit 13, the bitmap memory 10, and the image data transfer unit 12,
The data expansion processing unit 21 on the side of the processing device 2 basically has a means A for expanding one row, a means B for recognizing the current position, and a next row as shown in FIG. From the means C for recognizing the position of and the means D for transferring the blank data,
In the expansion processing, means a for obtaining from the beginning of the bitmap memory to the first line of the page and means b for expanding and outputting the line
,, means c for writing blank data (dot data) in raster units, and means d for knowing the page length by referring to the above attributes, the current expanded position, and the position of the next line. , A means e for obtaining the width (character width) of the current output line and the line feed pitch at the same time, a means f for obtaining from the middle of the line to the end of the line, and a space from the current output line position to the bottom of the bitmap memory. When the means g for obtaining the area is formed and it is detected that the transfer target data does not exist, the dot data representing the blank is transferred instead of the print data and written in the bitmap memory instead of the print data. Is configured. Then, the following processes a) to d) are executed. That is, a) processing for the top margin of the paper: corresponding to means a for obtaining from the head of the bit map memory to the first line of the page in the expansion processing, the structure shown in FIG. 1 and the data expansion processing shown in FIG. Part 2
1 processing sequence (processing step 100 to processing step
When the margin of the upper edge of the paper is formed on the bitmap memory 10 by the sequence up to 104), the page from the beginning of the bitmap memory 10 is processed at the page cueing process of the processing step 100 shown in FIG. The blank rasters are written in raster units up to the first row of. The blank raster includes the blank data {Y, M,
In the C and B color systems, a means D for transferring all "0" data} and a means c for writing blank data are used. Further, the current output line position (raster position) is updated to find the actual print data.

【0026】従来の印刷方法では、ここで、ビットマッ
プメモリ 10 全体の初期化 (空白の書き込み) が行われ
ていたので、書き込み量が大幅に削減され、処理時間が
短縮される。
In the conventional printing method, since the entire bitmap memory 10 is initialized (blank writing), the writing amount is greatly reduced and the processing time is shortened.

【0027】b)ページ内の行間の隙間処理:展開した
行の位置と、次の行の位置とを同時に求める手段eに対
応 先ず、図2に示したシーケンスの内の、上記1行を展開
する手段Aで、1行分の文字展開を行う。このとき、上
記現行の位置を認識する手段Bと,次行の位置を認識す
る手段Cとにより、次の行位置までの間に隙間があるこ
とを確認する。この結果、隙間があった場合には、この
量を算出し、上記a)の処理と同じように、ラスタ単位
に、上記空白データを転送する手段Dと空白データを書
き込む手段cを用いて、空白データを、ビットマップメ
モリ 10 に書き込む。
B) Gap processing between lines in page: Corresponding to means e for simultaneously obtaining the position of the developed line and the position of the next line First, the above-mentioned one line is expanded in the sequence shown in FIG. The means A for performing character expansion for one line. At this time, by means of the means B for recognizing the current position and the means C for recognizing the position of the next row, it is confirmed that there is a gap between the positions of the next row and the next row. As a result, when there is a gap, this amount is calculated, and the unit for transferring the blank data and the unit for writing the blank data c are used for each raster in the same manner as in the process a). Write blank data to bitmap memory 10.

【0028】c)ページ内の行内での空白の処理:行の
始め,又は、途中から、行の端迄を求める手段fに対応 上記b)の処理において、1行分の文字展開を行う。こ
のときに、1行分のページ記述の解析を行って、展開す
べき文字、イメージが検出されなかった場合、その位置
から、その行の端(これは、上記ページ記述言語中のペ
ージの属性を解析することにより認識することができ
る)迄が空白行であると、上記作用欄で説明した (3)の
空白行を検出する処理に対応する処理となり、該空白行
が認識できると、該空白行に対して、次の展開データの
出力処理 (図2の処理ステップ 103参照) で、上記ラス
タ単位の空白データ転送手段Dと空白データを書き込む
手段cにより、ビットマップメモリ 10 の上記空白行に
対して生成した空白データと、上記1行分の途中迄の文
字展開処理によるラスタ単位の文字の展開データと合わ
せて、該展開データと空白データを出力するように構成
することで、該ビットマップメモリ 10 の該当行に対し
て、文字の展開データと, 空白データとを合わせて、ラ
スタ単位に転送して、該ビットマップメモリ 10 に文字
データと, 空白データを書き込むことができる。
C) Processing of blank in line within page: Corresponding to means f for determining from the beginning of a line or the middle to the end of a line In the process of b) above, character expansion for one line is performed. At this time, when the page description for one line is analyzed and the character or image to be expanded is not detected, from the position, the end of the line (this is the attribute of the page in the above page description language. Can be recognized by analyzing the above) is a blank line, the process corresponds to the process of detecting a blank line of (3) described in the above action column, and if the blank line can be recognized, With respect to the blank line, in the next expansion data output processing (see processing step 103 in FIG. 2), the blank data transfer means D in raster units and the blank data writing means c cause the blank row in the bitmap memory 10 to be written. By combining the blank data generated for the above and the rasterized character rasterized data by the character rasterization processing up to the middle of the one line, the rasterized data and the blank data are output, and the bitma It is possible to combine the character expansion data and the blank data to the corresponding line of the up memory 10, transfer the data in raster units, and write the character data and the blank data in the bitmap memory 10.

【0029】従来の方法では、この場合には、該空白行
に対して、空白文字として置き換える等の処理を行い、
最終的には、文字の展開を行うようにしていたので、展
開その物の時間が短縮される形となる。
In the conventional method, in this case, the blank line is subjected to processing such as replacement as a blank character,
In the end, since the expansion of the characters was performed, the time required for the expansion is shortened.

【0030】d)ページ下端の余白処理:現出力行位置
からビットマップメモリの最下端迄の空白領域を求める
手段gに対応 ページ内の総ての行をビットマップメモリ 10 に書き込
んだら、上記ページ記述言語による印刷データ中の、該
ページに関する属性を解析して、該ページの長さを知
る手段 dと、現出力行の位置を知る手段Bより、該用紙
の下端迄の領域に対して、ラスタ単位に、空白イメージ
(ドットデータ) を転送する手段Dと空白データを書き
込む手段cで、空白データを書き込むようにする。
D) Margin processing at the bottom of the page: Corresponding to the means g for obtaining a blank area from the current output row position to the bottom of the bitmap memory. After writing all the rows in the page to the bitmap memory 10, From the means d for knowing the length of the page and the means B for knowing the position of the current output line by analyzing the attributes of the page in the print data in the description language, to the area up to the lower end of the paper, Blank image in raster units
The blank data is written by means D for transferring (dot data) and means c for writing blank data.

【0031】図3は、ページ内での印刷形式を模式的に
示している。図3において、a〜dは、上記本発明の一
実施例で説明した処理a〜dに対応しており、aの部分
は、従来用紙の上端余白に対して、空白データを転送
し、空白を印刷した場合を示し、bの部分は、ページ内
の行を展開して印刷した場合を示し、cの部分は、行を
展開している途中で展開すべき文字が検出されなくなっ
たとき、その行の端迄とか、行間の空白部分に対して、
空白データを転送して印刷した場合を示しており、dの
部分は、ページの下端の余白部分に対して、空白データ
を転送して印刷した場合を示している。
FIG. 3 schematically shows a printing format within a page. In FIG. 3, a to d correspond to the processes a to d described in the above-described embodiment of the present invention, and a portion a transfers blank data to the upper end margin of the conventional paper, and blanks. Shows the case where the line is printed, the line b shows the case where the line in the page is expanded and printed, and the part c shows when the character to be expanded is no longer detected during the expansion of the line. To the end of the line or to the blank space between lines,
It shows a case where blank data is transferred and printed, and a portion d shows a case where blank data is transferred and printed with respect to a margin portion at the lower end of the page.

【0032】このように、本発明によるデータ処理装置
は、ビットマップメモリを備えた印刷装置に、処理装置
側で展開した印刷データを転送し、印刷結果を得るの
に、ページ記述言語で記述されている印刷データのペー
ジ,行,文字単位の属性(ページの頭出し,改行ピッ
チ,文字サイズ)から、展開処理の中でビットマップ
メモリの先頭からページの第1行迄を求める手段と,展
開した行の位置と、次の行の位置とを同時に求める手段
と,行の途中から、行の端迄を求める手段と,現出力行
位置からビットマップメモリの最下端迄をもとめる手段
とを備えて、転写対象のデータが存在しない領域を検出
したとき、印刷データの代わりに、空白を表すドットデ
ータを、該印刷データの代わりに転送してビットマップ
メモリに書き込み、印刷するようにし、ページ印刷を、
文字データ,又は、空白データの書き込みと、転写の2
パスで得るようにしたところに特徴がある。
As described above, the data processing apparatus according to the present invention transfers the print data expanded on the processing apparatus side to the printing apparatus having the bitmap memory and obtains the print result by using the page description language. From the page, line, and character-by-character attributes (page cue, line feed pitch, character size) of the print data that is being printed, a means for obtaining from the beginning of the bitmap memory to the first line of the page during expansion processing, and expansion And a means for obtaining the position of the next line and the position of the next line at the same time, a means for obtaining from the middle of the line to the end of the line, and a means for obtaining the current output line position to the bottom end of the bitmap memory. Then, when a region where the transfer target data does not exist is detected, dot data representing a blank is transferred instead of the print data and written to the bitmap memory instead of the print data. To so that, the page printing,
Writing of character data or blank data and transfer 2
The feature is that I got it by pass.

【0033】[0033]

【発明の効果】以上、詳細に説明したように、本発明の
ページプリンタ制御装置によれば、上記 a) 〜 d) まで
の処理を行うことで、ページの先頭で行われる消去処理
を完全に省略することができ、従来の展開方法で行って
いた、ビットマップの初期化の作業に相当する処理時間
を短縮することができる。
As described above in detail, according to the page printer control apparatus of the present invention, by performing the processes a) to d), the erasing process performed at the beginning of the page is completely completed. This can be omitted, and the processing time corresponding to the initialization work of the bitmap, which has been performed by the conventional expansion method, can be shortened.

【0034】又、印刷装置側では、従来、処理装置に見
せていたビットマップメモリの初期化のためのインタフ
ェース (起動, 終了通知等) を無くすることができ、該
印刷装置が簡略化され、印刷システム全体のコストダウ
ンを図ることができる。
Further, on the printing apparatus side, it is possible to eliminate the interface (startup, end notification, etc.) for initializing the bitmap memory, which is conventionally shown to the processing apparatus, and the printing apparatus is simplified. The cost of the entire printing system can be reduced.

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

【図1】本発明の一実施例を示した図(その1)FIG. 1 is a diagram showing an embodiment of the present invention (No. 1).

【図2】本発明の一実施例を示した図(その2)FIG. 2 is a diagram showing an embodiment of the present invention (Part 2).

【図3】本発明の一実施例を示した図(その3)FIG. 3 is a diagram showing an embodiment of the present invention (part 3).

【図4】従来のデータ処理装置を説明する図FIG. 4 is a diagram illustrating a conventional data processing device.

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

1 印刷装置 10 ビットマッ
プメモリ 12 イメージデータ転写部 13 データ受信
部 2 処理装置 11,21 デー
タ展開処理部 100 〜104 データ展開処理部での処理フロー (処理
シーケンス) A 〜D 処理装置のデータ展開処理部での基本手段 a 〜g 処理装置のデータ展開処理部での各処理手段 文字単位の属性
1 Printing device 10 Bitmap memory 12 Image data transfer unit 13 Data receiving unit 2 Processing device 11,21 Data expansion processing unit 100 to 104 Processing flow in data expansion processing unit (processing sequence) A to D Data expansion processing of processing device Basic means in parts a to g Each processing means in the data expansion processing part of the processing unit Attribute for each character

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】処理装置(2) に印刷装置(1) が接続され、
ビットマップメモリ(10)を備えた印刷装置(1) に、上記
処理装置(2) 側で展開した印刷データを転送し、印刷結
果を得るデータ処理装置において、 処理装置(2) 生成した印刷データをデータ展開処理した
印刷データ内から、転写対象のデータが存在しない領域
を検出する手段と、検出された領域に対応する印刷デー
タの代わりに、空白を表すドットデータを転送してビッ
トマップメモリ(10)に書き込む手段を有することを特徴
とするデータ処理装置。
1. A printing device (1) is connected to a processing device (2),
Transfer the print data expanded on the side of the processing device (2) to the printing device (1) equipped with the bitmap memory (10), and obtain the print result.In the data processing device, the print data generated by the processing device (2) From the print data that has undergone data expansion processing, a means for detecting an area in which the transfer target data does not exist, and instead of the print data corresponding to the detected area, dot data representing a blank is transferred to the bitmap memory ( 10) A data processing device, characterized in that it has a writing means.
JP6087006A 1994-04-26 1994-04-26 Data processing device Withdrawn JPH07290773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6087006A JPH07290773A (en) 1994-04-26 1994-04-26 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6087006A JPH07290773A (en) 1994-04-26 1994-04-26 Data processing device

Publications (1)

Publication Number Publication Date
JPH07290773A true JPH07290773A (en) 1995-11-07

Family

ID=13902848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6087006A Withdrawn JPH07290773A (en) 1994-04-26 1994-04-26 Data processing device

Country Status (1)

Country Link
JP (1) JPH07290773A (en)

Similar Documents

Publication Publication Date Title
US4949188A (en) Image processing apparatus
US4989163A (en) Photo printer having a host computer assist function and method of controlling the same
US7103833B1 (en) Image processing apparatus, output apparatus, image processing system and image processing method
JP2974322B2 (en) Character processing apparatus and method
JPH10187361A (en) Printer control device
JPH07290773A (en) Data processing device
JPH05313636A (en) Image supply device
JP2854179B2 (en) Optical printer
US6903842B2 (en) Method for generating full-page print data
JPH0744687A (en) Image forming device
JPH0493275A (en) Image filing device
JP3018692B2 (en) Printing device
JPH05318839A (en) Image forming method, apparatus therefor, and information processing system
JP2715475B2 (en) Graphic output device
JP2846806B2 (en) Printer controller
JPH07195760A (en) Printer controller
JP2941113B2 (en) Printing equipment
JPH05177873A (en) Printer device
JP3539203B2 (en) Bitmap data reduction method, information processing apparatus and information recording medium
JP2872144B2 (en) Printing equipment
JPH0916138A (en) Image processor and page printer
JP2000033730A (en) Printing apparatus, control method thereof, and printing system
JPH06155821A (en) Method and apparatus for processing output information
JPH1124863A (en) Print control apparatus, print control method, and storage medium storing computer-readable program
JPH11275357A (en) Image processing method, image forming apparatus, and recording medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010703