JPH02269072A - Printer - Google Patents

Printer

Info

Publication number
JPH02269072A
JPH02269072A JP1091407A JP9140789A JPH02269072A JP H02269072 A JPH02269072 A JP H02269072A JP 1091407 A JP1091407 A JP 1091407A JP 9140789 A JP9140789 A JP 9140789A JP H02269072 A JPH02269072 A JP H02269072A
Authority
JP
Japan
Prior art keywords
data
stored
trapezoid
bit
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1091407A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kiyamasawa
木山沢 弘之
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 JP1091407A priority Critical patent/JPH02269072A/en
Publication of JPH02269072A publication Critical patent/JPH02269072A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To contrive a higher printing speed by dividing data on a graphic image into pieces of data on trapezoid parts, storing the data on split graphic images and data on characters, and generating bit map digital data according to the data stored in a storage part. CONSTITUTION:A trapezoid dividing means 1 identifies whether data are graphic images on characters. Data identified as character data is stored into a data storage part 2, whereas data identified as graphic image data is divided into pieces of data on trapezoid parts, before being stored into the data storage part 2. When the data on graphic images and characters for one page is stored in the data storage part 2, bit data is generated by a bit data generating part 3 according to the data stored in the data storage part 2. The bit data on the trapezoid parts and the bit data on the characters, generated by the bit data generating part 3, are transferred to a device 4 for transfer onto a paper. By this, printing time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、印刷装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a printing device.

【従来の技術J 従来のページプリンタにおいて例をとると、印刷するた
めのビットマツプデータを格納するメモリ領域(以下、
ページメモリと云う)を、用紙−枚分確保し、ページメ
モリの内容をすべて写し取った用紙が、送り出されてか
ら1次のビットマツプデータな作っていた。
[Prior Art J] Taking an example of a conventional page printer, a memory area (hereinafter referred to as
A page memory (called a page memory) was reserved for one sheet of paper, and once the paper with all the contents of the page memory was sent out, the primary bitmap data was created.

〔発明が解決しようとする課題1 しかし、このような従来の方法では、印刷された用紙が
出力されるまで、次のビットマツプデータなつくること
ができない、そのために、印刷速度が、きわめて低下す
る。
[Problem to be Solved by the Invention 1] However, in such conventional methods, the next bitmap data cannot be created until the printed paper is output, and as a result, the printing speed is extremely reduced. .

また、ビットマツプデータの作成方法においても、ペー
ジプリンタに入力されたデータから、直接、ページメモ
リに格納するビットマツプデータを作成すると云う方法
を取らざるをえない、そのため、ビットマツプデータを
作成するプログラムは、ハードウェア依存性が高く、製
品のハードウェアが変更されると、プログラムもすべて
作り直さなければならなかった。
Also, in the method of creating bitmap data, it is necessary to create bitmap data to be stored directly in the page memory from the data input to the page printer. Programs were highly hardware-dependent, and if the product's hardware was changed, the entire program had to be rewritten.

本発明は、かかる問題点に鑑みて成されたものであって
、その目的とするところは、メモリの使用量をできるだ
け低く抑えることによって、コストの上昇を低く抑えつ
つ、印刷速度を向上させ、なおかつ、ビットマツプデー
タを作成するプログラムを、ハードウェアに依存せずに
設計することが可能な印刷装置を提供することにある。
The present invention has been made in view of these problems, and its purpose is to improve printing speed while suppressing cost increases by keeping memory usage as low as possible. Furthermore, it is an object of the present invention to provide a printing device that allows a program for creating bitmap data to be designed without depending on hardware.

〔課題を解決するための手段1 本発明の印刷装置は、図形や文字を、ビットマツプデジ
タルデータとして扱い、紙やディスプレイに出力する。
[Means for Solving the Problems 1] The printing device of the present invention treats figures and characters as bitmap digital data and outputs them to paper or a display.

印刷装置において1図形のデータを1台形に分割する台
形分割手段と、前記台形分割手段によって台形に分割さ
れた図形のデータや、文字のデータを記憶する、データ
記憶部と、前記データ記憶部に格納されたデータに従っ
て、ビットマツプデジタルデータを作成する、とットデ
ータ作成部を有することを特徴とする。
In the printing device, a trapezoid dividing means divides data of one figure into one trapezoid, a data storage unit stores data of the figure divided into trapezoids and character data by the trapezoid divider, and the data storage unit The present invention is characterized by having a bit data creation section that creates bitmap digital data according to the stored data.

〔作 用〕[For production]

本発明の印刷装置の作用について説明すると。 The operation of the printing apparatus of the present invention will be explained.

第1図の機能ブロック図に示すように、1の台形分割手
段において、データは1図形か文字か判別される0文字
なら、2のデータ記憶部に格納され、図形なら台形に分
割される。そして1台形のデータを2のデータ記憶部に
格納する。
As shown in the functional block diagram of FIG. 1, the trapezoid dividing means 1 determines whether the data is a figure or a character. If it is a 0 character, it is stored in the data storage unit 2, and if it is a figure, it is divided into trapezoids. Then, the data of one trapezoid is stored in the second data storage section.

1ペ一ジ分の図形や文字のデータが2のデータ記憶部に
格納され終わると、3のビットデータ作成部によって、
2のデータ記憶部に記憶されているデータに従って、ビ
ットデータが作成される。
When the graphics and character data for one page has been stored in the data storage section 2, the bit data creation section 3
Bit data is created according to the data stored in the data storage section 2.

3のビットデータ作成部によって、作成された台形のビ
ットデータや、文字のビットデータは、4の用紙転写装
置に渡される。
The trapezoid bit data and character bit data created by the bit data creation section 3 are passed to the paper transfer device 4.

〔実 施 例] 以下に1本発明の印刷装置の詳細を図示した実施例に基
づいて説明する。
[Example] Details of a printing apparatus of the present invention will be described below based on an illustrated example.

第2図は1本発明の一実施例のシステム構成図である。FIG. 2 is a system configuration diagram of an embodiment of the present invention.

図中符合11は、12のマイクロプロセッサ−(以下、
cpuと云う)、13のリードオンリメモリ(以下、r
omと云う)、14のランダムアクセスメモリ(以下、
バッファと云う)、15のアイ・オー(以下、Iloと
云う)から成るマイクロコンピュータで、16の用紙転
写装置と接続されている。
Reference numeral 11 in the figure indicates 12 microprocessors (hereinafter referred to as
cpu), 13 read-only memories (hereinafter referred to as r
om), 14 random access memories (hereinafter referred to as
It is a microcomputer consisting of a microcomputer (referred to as a buffer) and 15 Ilo's (hereinafter referred to as Ilo), and is connected to 16 paper transfer devices.

11のマイクロコンピュータは、16の用紙転写装置と
のデータ入出力機能1台形分割機能。
The 11th microcomputer has a data input/output function with the 16th paper transfer device, and has a trapezoidal division function.

データ記憶機能、ビットデータ作成機能を有し、これら
の機能は、13のromに入っているプログラムに従っ
て、12のcpuが働いて、15のIloや、14のバ
ッファを操作することにより、実現する。
It has a data storage function and a bit data creation function, and these functions are realized by operating 12 CPUs and manipulating 15 ILOs and 14 buffers according to the programs contained in 13 ROMs. .

次に、この様に構成した装置の動作を、第3図に示した
フローチャートに基づいて説明する。
Next, the operation of the apparatus configured as described above will be explained based on the flowchart shown in FIG.

なお、文字はそのビットマツプデジタルデータが、13
のromに記憶されており、ここでは。
Note that the bitmap digital data for characters is 13
It is stored in the ROM, and here.

文字のデータとして、その文字が記憶されているrom
のアドレスと、印刷される位置を示す座標を扱うものと
する。
ROM in which the characters are stored as character data
It handles the address and the coordinates indicating the printing position.

本印刷装置が、動き出すと、11のマイクロコンビ二一
夕の13のromに記憶されているプログラムに従って
、16の用紙転写装置からの入力待ちになる。(ステッ
プ1) 16の用紙転写装置から、15のIloに対して、実行
要求と、文字や図形のデータが入力されると、文字か図
形かの判断を行う、(ステップ文字データなら1文字記
憶動作(ステップ3)へ行き、図形データなら1台形記
憶動作(ステップ21)へ行く。
When this printing apparatus starts operating, it waits for input from the 16 paper transfer devices according to the program stored in the ROM 13 of the 11 microcombiners. (Step 1) When an execution request and character or graphic data are input from the paper transfer device 16 to Ilo 15, it is determined whether it is a character or a graphic (step 1) If it is character data, one character is stored. Go to operation (step 3), and if it is graphic data, go to one trapezoid storage operation (step 21).

文字記憶動作(ステップ3)では、バッファが一杯であ
るか判断し、−杯でなければ、ステップ5へ行き、そう
でなければ、ステップ7へ行く。
In the character storage operation (step 3), it is determined whether the buffer is full. If it is not full, the process goes to step 5; otherwise, the process goes to step 7.

ステップ5では、16の用紙転写装置より入力された文
字のデータ、つまり、文字のアドレスと、印刷される位
置を、バッファに記憶させる。
In step 5, character data input from the 16 paper transfer devices, that is, character addresses and printing positions, are stored in a buffer.

(ステップ5)そして、入力された全てのデータを記憶
し終わったか判断する。(ステップ6)ステップ6の判
断で、すべて記憶されたと判断された場合は、ステップ
7へ行く、そうでなければ、ステップ2へ戻り、文字記
憶動作、あるいは、台形記憶動作を繰り返す。
(Step 5) Then, it is determined whether all input data has been stored. (Step 6) If it is determined in step 6 that everything has been stored, go to step 7; otherwise, go back to step 2 and repeat the character storage operation or the trapezoid storage operation.

台形記憶動作(ステップ21)では、16の用紙転写装
置から入力された図形のデータを、まず、例えばPIX
EL (No、18)129頁〜133頁に示されてい
るように、台形に分割する。(ステップ22)そして、
バッファが一杯かどうか判断する。(ステップ23) バッファが一杯なら、ステップ7へ行く、そうでなけれ
ば、ステップ24へ行く。
In the trapezoid storage operation (step 21), the figure data input from the 16 paper transfer devices is first transferred to, for example, a PIX
Divide into trapezoids as shown in EL (No. 18) pages 129-133. (Step 22) And,
Determine if the buffer is full. (Step 23) If the buffer is full, go to step 7; otherwise, go to step 24.

ステップ24では1台形のデータをバッファに記憶させ
る。そして、入力された全てのデータを記憶し終わった
か判断する。(ステップ25)ステップ25の判断で、
すべて記憶されたと判断された場合は、ステップ7へ行
く、そうでなければ、ステップ2へ戻り、文字記憶動作
、あるいは1台形記憶動作を繰り返す。
In step 24, one trapezoid's data is stored in the buffer. Then, it is determined whether all input data has been stored. (Step 25) Based on the judgment in step 25,
If it is determined that everything has been stored, go to step 7; otherwise, go back to step 2, and repeat the character storage operation or one trapezoid storage operation.

ステップ7では、用紙転写装置が転写を完了するのを待
つ。
In step 7, the paper transfer device waits for the transfer to be completed.

なお、16の用紙転写装置から1図形や文字のデータを
入力されてからここまでの動作は、用紙転写装置と完全
に独立して動作できる。
Note that the operations up to this point after inputting data of one figure or character from the 16 paper transfer devices can be performed completely independently of the paper transfer devices.

用紙転写装置が、転写を完了したならば、ビットデータ
作成処理を行う、(ステップ31)まず、バッファが空
かどうか判断する。(ステップ32) バッファが空ならば、ステップ37へ行き、そうでなけ
れば、ステップ33へ行く。
When the paper transfer device completes transfer, it performs bit data creation processing (step 31), first determining whether the buffer is empty. (Step 32) If the buffer is empty, go to step 37; otherwise go to step 33.

ステップ33では、バッファより、データを取り出す、
そして、そのデータが、文字か図形かを判断し、文字な
ら文字のビットデータを、13のromから取り出し、
16の用紙転写装置に送る。(ステップ36)また、図
形なら、台形のデータより5台形のビットデータを作成
して16の用紙転写装置に送る。(ステップ35)この
後、ステップ32に戻り、バッファが空になるまでステ
ップ33とステップ34とステップ35゜あるいはステ
ップ36を繰り返す。
In step 33, data is extracted from the buffer.
Then, it is determined whether the data is a character or a figure, and if it is a character, the bit data of the character is extracted from ROM 13,
The paper is sent to No. 16 paper transfer device. (Step 36) If it is a figure, 5 trapezoidal bit data is created from the trapezoidal data and sent to the 16 paper transfer devices. (Step 35) After this, the process returns to step 32, and steps 33, 34, and 35° or 36 are repeated until the buffer becomes empty.

バッファが空になったら(ステップ32)。Once the buffer is empty (step 32).

16の用紙転写装置から入力されたデータをすべて処理
したか判断する(ステップ37)、すべて処理していた
なら、ステップlに戻り16の用紙転写装置からの入力
を待つ、そうでなければ、ステップ2に戻り、残ってい
る16の用紙転写装置から入力されたデータを処理する
Determine whether all data input from the 16 paper transfer devices has been processed (step 37). If all data has been processed, return to step l and wait for input from the 16 paper transfer devices; otherwise, proceed to step 37. 2, the data input from the remaining 16 paper transfer devices is processed.

ここで、バッファの容量について説明する。Here, the capacity of the buffer will be explained.

まず、台形1個当りのデータの個数は1台形の各頂点を
xy座標系で表すため、X座標が2種類、X座標が2種
類の合計6種類である。これら全てを、16ビツトの数
値で表わすならば、96ビツト、つまり12バイトであ
る。
First, since each vertex of one trapezoid is represented by an xy coordinate system, the number of data items per trapezoid is six in total, including two types of X coordinates and two types of X coordinates. If all of this is expressed as a 16-bit number, it would be 96 bits, or 12 bytes.

文字については、romにあるとットデータを使用する
ため、その文字が記憶されているromのアドレスと1
文字を印刷する位置が必要である。この1文字を印刷す
る位置もxyX座標表わすと、x、yそれぞれ16ビツ
トである。さらに、romのアドレスを32ビツトで表
すとしたら1合計で1文字当り4バイト必要である。
For characters, since the data in the ROM is used, the address of the ROM where the character is stored and 1
You need a position to print the characters. The position where this one character is printed is also expressed in xyx coordinates, and is 16 bits each for x and y. Furthermore, if a ROM address is expressed in 32 bits, a total of 4 bytes are required for each character.

次に1枚の用紙当り2100文字(70行)の文書を考
え、そのすべての行にアンダーラインを引いたとすると
、バッファの容量は、1ページ当り、約17キロバイト
になる。これに加えて、多少の図形も印刷することを考
えると、1ページ当り30キロバイトもあれば、十分で
あると考えられる。
Next, if we consider a document with 2100 characters (70 lines) per sheet and underline all the lines, the buffer capacity will be approximately 17 kilobytes per page. In addition to this, considering that some figures are also printed, 30 kilobytes per page is considered to be sufficient.

これに対して、印刷する内容をすべてビットマツプデジ
タルデータで記憶すると、用紙のサイズがA4で、解像
度が300ドツト/インチの場合、1ページを記憶する
のに必要な容量は1メガバイトである。
On the other hand, if all the content to be printed is stored as bitmap digital data, and the paper size is A4 and the resolution is 300 dots/inch, the capacity required to store one page is 1 megabyte.

ゆえに、本発明におけるバッファは、印刷する内容をす
べてビットマツプデジタルデータで記憶した場合と比べ
ると、およそ33分の1の容量で、同等な機能を実現で
きる。
Therefore, the buffer according to the present invention can achieve the same function with approximately 1/33rd the capacity of a case where all the contents to be printed are stored as bitmap digital data.

また、バッファに図形や文字のデータを記憶する動作は
、用紙転写装置から全く独立して動作させることができ
るため、全体からみた印刷時間を大幅に短縮することが
できる。
Further, since the operation of storing graphic and character data in the buffer can be performed completely independently of the paper transfer device, the overall printing time can be significantly shortened.

さらに、バッファには1台形の座標あるいは。Additionally, the buffer contains one trapezoid's coordinates or.

文字のビットアップデータのアドレスと座標を記憶させ
るために、用紙転写装置の解像度に依存しない、従って
、プログラムの移植性が著しく向上し、プログラムの開
発効率が極めて上がる。
In order to store the address and coordinates of the character bit update data, it does not depend on the resolution of the paper transfer device, so the portability of the program is significantly improved and the efficiency of program development is greatly increased.

尚1本実施例では1図形を台形に分割する方法として、
PIXEL (No、18)129頁〜133頁に示さ
れている方法を使用したが、図形を台形に分割する方法
は、特に限定するものではない。
In this embodiment, the method of dividing one figure into trapezoids is as follows:
Although the method shown in PIXEL (No. 18) pages 129 to 133 was used, the method of dividing a figure into trapezoids is not particularly limited.

また、本実施例では、文字を印刷する位置を。In this embodiment, the position where the characters are printed is also determined.

x、ylIF!で現したが1文字を印刷する位置の表現
を限定するものではない。
x,ylIF! However, this does not limit the expression of the position where one character is printed.

さらに、本実施例では、文字のビットデータを、rom
に記憶させるものとしたが、記憶方法を限定するもので
はない。
Furthermore, in this embodiment, character bit data is
However, the storage method is not limited.

〔発明の効果J 以上、説明したように、本発明によれば、用紙1枚分の
文字や図形を、前者は文字のビットデータのアドレスと
印刷位置の座標として、後者は台形の4点の座標として
バッファに記憶するようにしたので、用紙転写装置が、
用紙に転写している間にも、次のページをつくる動作を
することができ、メモリの容量を3パーセント程増加さ
せるだけで、全体からみた印刷時間を大幅に短縮するこ
とができる。
[Effects of the Invention J As explained above, according to the present invention, characters and figures for one sheet of paper can be expressed as addresses and print position coordinates of character bit data in the former case, and as coordinates of the four points of a trapezoid in the latter case. Since the coordinates are stored in the buffer, the paper transfer device
The next page can be created even while the image is being transferred to the paper, and by increasing the memory capacity by about 3%, the overall printing time can be significantly shortened.

また、バッファに記憶させる内容は、用紙転写装置の解
像度に影響されないため、移植性の高いプログラムをつ
くることができ、プログラムの開発効率が極めて向上す
る。
Further, since the contents stored in the buffer are not affected by the resolution of the paper transfer device, highly portable programs can be created, and program development efficiency is greatly improved.

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

第1図は1本発明の印刷装置の構成を示す機能ブロック
図。 第2図は1本発明の印刷装置の一実施例を示すシステム
構成図。 第3図は、本発明の印刷装置の動作を示すフローチャー
ト。 l・・・台形分割手段 2・・・データ記憶部 3・・・ビットデータ作成部 4 ・ ・ ・用紙転写装置 l l ・ l 2 ・ 13 ・ l 4 ・ l 5 ・ 16 ・ ・マイクロコンピュータ ’cpu ・ r o m ・バッファ ・Ilo ・用紙転写装置 出願人 セイコーエプソン株式会社 代理人 弁理士 鈴 木 喜三部(他1名)第1図
FIG. 1 is a functional block diagram showing the configuration of a printing apparatus according to the present invention. FIG. 2 is a system configuration diagram showing an embodiment of the printing apparatus of the present invention. FIG. 3 is a flowchart showing the operation of the printing apparatus of the present invention. l... Trapezoid dividing means 2... Data storage unit 3... Bit data creation unit 4... Paper transfer device l l, l2, 13, l4, l5, 16... Microcomputer 'cpu'・ rom ・ Buffer ・ Ilo ・ Paper transfer device Applicant Seiko Epson Co., Ltd. Agent Patent attorney Kizobe Suzuki (and 1 other person) Figure 1

Claims (1)

【特許請求の範囲】 a)図形や文字を、ビットマップデジタルデータとして
扱い、紙やディスプレイに出力する、印刷装置において
、 b)図形のデータを、台形に分割する台形分割手段と、 c)前記台形分割手段によって台形に分割された図形の
データや、文字のデータを記憶する、データ記憶部と、 d)前記データ記憶部に格納されたデータに従って、ビ
ットマップデジタルデータを作成するビットデータ作成
部を有することを特徴とする印刷装置。
[Scope of Claims] a) A printing device that handles figures and characters as bitmap digital data and outputs them to paper or a display, b) trapezoid dividing means for dividing figure data into trapezoids, and c) the above-mentioned. a data storage section that stores graphic data and character data divided into trapezoids by the trapezoid dividing means; and d) a bit data creation section that creates bitmap digital data according to the data stored in the data storage section. A printing device characterized by having:
JP1091407A 1989-04-11 1989-04-11 Printer Pending JPH02269072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1091407A JPH02269072A (en) 1989-04-11 1989-04-11 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1091407A JPH02269072A (en) 1989-04-11 1989-04-11 Printer

Publications (1)

Publication Number Publication Date
JPH02269072A true JPH02269072A (en) 1990-11-02

Family

ID=14025527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1091407A Pending JPH02269072A (en) 1989-04-11 1989-04-11 Printer

Country Status (1)

Country Link
JP (1) JPH02269072A (en)

Similar Documents

Publication Publication Date Title
JP2610993B2 (en) Information processing apparatus and method
JP2866153B2 (en) Character processing apparatus and method
JPH01275056A (en) Page printer
JPH02269072A (en) Printer
JPH02269073A (en) Character printer
JP2572074B2 (en) Character processor
JPH02269071A (en) Printer
JPH03114856A (en) Printer data management system
JP3054157B2 (en) Character processing device and character processing method
JP2523213B2 (en) Page printer print control method
JPH03164277A (en) Printer
JPH0216068A (en) Image forming device
JPH02140846A (en) Method for controlling image buffer
JPH09277616A (en) Printer and control method therefor
JPS62211720A (en) Printing system
JP2940140B2 (en) Document data processing device
JPH064396A (en) Image plotter
JPH0523445B2 (en)
JPH02233269A (en) Printer
JPH10124275A (en) Image processing system
JPS63239542A (en) Image memory device and image processing device
JPS5958536A (en) Printer control system
JPS60114972A (en) Form format forming device
JPH02241267A (en) Picture information processor
JPH0255162A (en) Information output device