JP2889390B2 - Printer device - Google Patents

Printer device

Info

Publication number
JP2889390B2
JP2889390B2 JP3116038A JP11603891A JP2889390B2 JP 2889390 B2 JP2889390 B2 JP 2889390B2 JP 3116038 A JP3116038 A JP 3116038A JP 11603891 A JP11603891 A JP 11603891A JP 2889390 B2 JP2889390 B2 JP 2889390B2
Authority
JP
Japan
Prior art keywords
data
area
printing
print
starting point
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 - Lifetime
Application number
JP3116038A
Other languages
Japanese (ja)
Other versions
JPH04344272A (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
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 filed Critical Fuji Xerox Co Ltd
Priority to JP3116038A priority Critical patent/JP2889390B2/en
Publication of JPH04344272A publication Critical patent/JPH04344272A/en
Application granted granted Critical
Publication of JP2889390B2 publication Critical patent/JP2889390B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はページバッファ等のバッ
ファメモリを用いて印字を行うプリンタ装置に関わり、
詳細には印字のための文字パターンやイメージをバッフ
ァメモリに展開し、このバッファメモリを読み出すこと
によってビデオデータを作成して印字部に供給して印字
を行うようにしたプリンタ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device for printing using a buffer memory such as a page buffer.
More specifically, the present invention relates to a printer device in which a character pattern or image for printing is developed in a buffer memory, video data is created by reading the buffer memory, and the video data is supplied to a printing unit to perform printing.

【0002】[0002]

【従来の技術】レーザプリンタあるいはドットプリンタ
等のプリンタ装置では、文字パターンやイメージからな
る印字内容を一度ページメモリに展開し、これを順次1
ラインずつ読み出して印字部に供給して印字を行うよう
になっている場合が多い。ここで、文字パターンについ
ては文字コードとしてプリンタ側に入力されることが多
いので、これをキャラクタゼネレータでそれぞれの文字
パターンに展開するようになっている。これらの文字パ
ターンはページメモリの該当印字位置に書き込まれる。
ビットパターンとして入力されたイメージデータについ
ては、同様にページメモリの該当印字位置にそのまま書
き込まれることになる。
2. Description of the Related Art In a printer device such as a laser printer or a dot printer, a print content including a character pattern and an image is once expanded in a page memory, and is sequentially stored in a page memory.
In many cases, data is read out line by line and supplied to a printing unit to perform printing. Here, since the character pattern is often input to the printer as a character code, it is developed into each character pattern by a character generator. These character patterns are written in the corresponding print positions in the page memory.
The image data input as a bit pattern is similarly written as it is at the corresponding print position in the page memory.

【0003】このようなプリンタ装置では、印字処理を
高速化するためにページメモリを2面あるいはこれ以上
用意しているのが通常である。そして、1つのページメ
モリに印字内容の展開を行っている最中には、すでにこ
のような展開処理を行った他のページメモリから印字内
容の読み出しを行うようになっている。
In such a printer, two or more page memories are usually prepared to speed up the printing process. While the print contents are being developed in one page memory, the print contents are read from another page memory which has already been subjected to such development processing.

【0004】[0004]

【発明の解決しようとする課題】ところで、それぞれの
ページメモリにおける各ページのサイズは、そのプリン
タ装置の印字する印字用紙の最大サイズと関係してい
る。すなわち、例えばA3サイズの印字を行うことので
きるプリンタ装置は、A4サイズの印字のみを行うプリ
ンタ装置のページメモリよりも倍のメモリ容量を必要と
する。したがって、比較的大きなサイズの印字用紙に対
して印字を行うようにしたプリンタ装置は、ページバッ
ファが複数面必要なことを考え併せると、ページバッフ
ァとして過大なメモリ容量を要求されることになる。こ
のため、比較的大型の印字用紙に印字することのできる
プリンタ装置では、メモリとして高価な大容量のものを
使用しなければならないという問題があった。
By the way, the size of each page in each page memory is related to the maximum size of printing paper to be printed by the printer device. That is, for example, a printer capable of performing A3 size printing requires twice as much memory capacity as a page memory of a printer performing only A4 size printing. Therefore, a printer device that prints on a relatively large size printing paper requires an excessive memory capacity as a page buffer, considering that a plurality of page buffers are required. For this reason, in a printer device capable of printing on a relatively large printing paper, there is a problem that an expensive large-capacity memory must be used as a memory.

【0005】そこで本発明の目的は、ページバッファ等
のバッファメモリの容量の減少を図ることのできるプリ
ンタ装置を提供することにある。
It is an object of the present invention to provide a printer device capable of reducing the capacity of a buffer memory such as a page buffer.

【0006】本発明の他の目的は、2色あるいは複数色
の印字を行う場合であってもバッファメモリの減少を達
成することのできるプリンタ装置を提供することにあ
る。
Another object of the present invention is to provide a printer capable of achieving a reduction in buffer memory even when printing two or more colors.

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明で
は、(イ)受信した印字データを解読して文字パターン
やイメージが連続するそれぞれの領域ごとにそれらの印
字の際の起点となる位置を判定する領域別起点判定手段
と、(ロ)これらの領域ごとに起点を記憶する起点記憶
手段と、(ハ)領域と領域の間に存在する印字の行われ
ない空白領域の少なくとも一部を除いた形で、これら各
領域の印字内容を印字データの解読によって展開したビ
ットデータとして格納するバッファメモリと、(ニ)
点記憶手段に記憶された各領域の起点に合わせて、これ
らの領域の印字内容をビデオデータとしてバッファメモ
リから読み出す読出手段と、(ホ)この読出手段から読
み出されたビデオデータを入力して印字を行う印字部と
をプリンタ装置に具備させる。
According to the first aspect of the present invention, there is provided: (a) a position serving as a starting point for printing each area where character patterns and images are continuous by decoding received print data; (B) starting point storage means for storing a starting point for each of these areas; and (c) at least a part of a blank area which is not printed and exists between the areas. In the form excluding, the print contents of each area are expanded by decoding the print data.
A buffer memory for storing the data as bit data, (d) reading means for reading the print contents of these areas as video data from the buffer memory in accordance with the starting point of each area stored in the starting point storing means, and (e) reading means for the reading means. And a printing unit for inputting and printing the video data read from the printer.

【0008】すなわち請求項1記載の発明では、従来ペ
ージメモリに印字位置にそれぞれ対応させて文字パター
ンやイメージを書き込んでいたのに対して、文字パター
ンやイメージが展開されてビットデータとして連続する
それぞれの領域ごとに区分けして、これらの領域の間に
存在する印字の行われない空白領域の少なくとも一部を
除いた形でバッファメモリに格納することにする。これ
により、バッファメモリの容量が少なくて済むととも
に、複雑なビットデータの展開処理を行うことなく印字
処理を高速化する。請求項1記載の発明では、この代わ
りに、これらの領域の起点となる位置を判定しておい
て、これらを起点記憶手段に記憶させておき、起点記憶
手段に記憶された各領域の起点に合わせてビデオデータ
の読み出しを行うようにする。
[0008] In this invention according to claim 1, respectively corresponding to the printing position to the conventional page memory for had written a character pattern or image, respectively successive as bit data character pattern or image is expanded Are stored in the buffer memory in such a manner that at least a part of a blank area which is not printed and exists between these areas is removed. As a result, the capacity of the buffer memory can be reduced and
Printing without complicated bit data expansion processing
Speed up processing . According to the first aspect of the present invention, instead of this, the positions which are the starting points of these areas are determined, and these are stored in the starting point storing means, and the starting points of the respective areas stored in the starting point storing means are determined. At the same time, the video data is read out.

【0009】請求項2記載の発明では、(イ)受信した
印字データを解読して文字パターンやイメージが連続す
るそれぞれの領域ごとにそれらの印字の際の起点となる
位置と印字色とを判定する領域別起点・印字色判定手段
と、(ロ)これらの領域ごとに起点を記憶する起点記憶
手段と、(ハ)これら領域ごとに印字色を記憶する印字
色記憶手段と、(ニ)領域と領域の間に存在する印字の
行われない空白領域の少なくとも一部を除いた形で、こ
れら各領域の印字内容を印字データの解読によって展開
したビットデータとして格納するバッファメモリと、
(ホ)起点記憶手段に記憶された各領域の起点に合わせ
て、これらの領域の印字内容をビデオデータとしてバッ
ファメモリから読み出す読出手段と、(ヘ)印字色記憶
手段に記憶された領域ごとの印字色を読み出してビデオ
データと対応付け、これらのビデオデータをそれぞれの
印字色で印字する印字部とをプリンタ装置に具備させ
る。
According to the second aspect of the present invention, (a) the received print data is decoded to determine a position serving as a starting point and a print color for each continuous area of a character pattern or image. and regional origins, print color determining means for the origin storage means for storing the origin for each (b) these areas, a printing color storage means for storing the print color for each (c) of these regions, (d) area The print content of each of these areas is expanded by decoding the print data , excluding at least a part of the blank area that is not printed between the
A buffer memory for storing as bit data
In accordance with the origin of the area stored in the (e) the starting point storage means, reading means for reading the printed contents of these areas from the buffer memory as video data, (f) for each region stored in the print color memory means Read out print color and video
The printer device is provided with a printing unit for associating the video data with the data and printing these video data in respective printing colors.

【0010】すなわち請求項2記載の発明は、複数の印
字色で印字を行うプリンタ装置に関するもので、文字パ
ターンやイメージが連続するそれぞれの領域ごとに整理
してバッファメモリに書き込む点は請求項1記載の発明
と同様である。請求項2記載の発明では、起点記憶手段
の他に領域ごとに印字色を記憶する印字色記憶手段を用
意して、複数の印字色を使用するプリンタ装置について
もバッファメモリが効率的に減少できるようにした。
In other words, the invention according to claim 2 relates to a printer device for printing in a plurality of printing colors, and is characterized in that each area in which character patterns and images are continuous is written in a buffer memory. This is the same as the described invention. According to the second aspect of the present invention, in addition to the starting point storing means, a printing color storing means for storing a printing color for each area is prepared, and the buffer memory can be efficiently reduced even in a printer device using a plurality of printing colors. I did it.

【0011】[0011]

【実施例】以下実施例につき本発明を詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to embodiments.

【0012】図1は本発明の一実施例におけるプリンタ
装置の回路構成の概要を表わしたものである。このプリ
ンタ装置10はCPU(中央処理装置)11を備えてい
る。CPU11はデータバス等のバス12を介して、R
OM13、RAM14、ページメモリ15、印字部1
6、シフト制御回路17および通信制御装置18と接続
されている。ただし、この回路でデータの入出力を行う
ためのインタフェース回路はその図示を省略する。
FIG. 1 shows an outline of a circuit configuration of a printer according to an embodiment of the present invention. The printer 10 includes a CPU (Central Processing Unit) 11. The CPU 11 transmits a signal R via a bus 12 such as a data bus.
OM 13, RAM 14, page memory 15, printing unit 1
6, connected to the shift control circuit 17 and the communication control device 18. However, an interface circuit for inputting and outputting data with this circuit is not shown.

【0013】このプリンタ装置10で、ROM13は装
置の各部の動作を制御するためのプログラムを格納した
リード・オンリ・メモリで構成されている。RAM14
は、各種制御を行う際の一時的なデータを格納するため
のランダム・アクセス・メモリである。ページメモリ1
5は印字のための文字パターンやイメージを格納するた
めのメモリである。本実施例でページメモリ15は2面
の領域を備えており、一方の面でイメージ等の書き込み
が行われている際に、他方の面でビデオデータの読み出
しが行われるようになっている。印字部16はレーザプ
リンタを備え、ライン単位で画像の印字を行うようにな
っている。シフト制御回路17は、シフトレジスタを主
として構成される回路でライン単位でビデオデータを出
力する回路である。通信制御装置18は、図示しないホ
ストコンピュータとの間で印字に関するデータの授受を
行う装置である。
In the printer 10, the ROM 13 is constituted by a read-only memory storing a program for controlling the operation of each section of the printer. RAM14
Is a random access memory for storing temporary data when performing various controls. Page memory 1
Reference numeral 5 denotes a memory for storing character patterns and images for printing. In this embodiment, the page memory 15 has two areas, and when one side is writing an image or the like, video data is read out on the other side. The printing unit 16 includes a laser printer, and prints an image in line units. The shift control circuit 17 is a circuit mainly composed of a shift register and is a circuit that outputs video data in line units. The communication control device 18 is a device that exchanges data relating to printing with a host computer (not shown).

【0014】図2は、このようなプリンタ装置の要部に
ついてその回路構成を原理的に表わしたものである。こ
のプリンタ装置10の図1で示した通信制御部18に
は、図示しないホストコンピュータから送られてくる入
力データ21を受信する入力レジスタ22を備えてい
る。ここで入力データ21は、文字コードやイメージデ
ータ等の印字データの他に、各種の制御データも含まれ
ている。
FIG. 2 shows the principle of the circuit configuration of the main part of such a printer. The communication controller 18 shown in FIG. 1 of the printer device 10 includes an input register 22 for receiving input data 21 sent from a host computer (not shown). Here, the input data 21 includes various control data in addition to print data such as character codes and image data.

【0015】入力レジスタ22に所定単位量ずつ蓄えら
れた入力データは、データバッファ23に格納される。
データバッファ23にある程度蓄えられた入力データ
は、例えば1ワードずつ出力レジスタ24に出力され
る。出力レジスタ24から出力される入力データはデコ
ーダ25に入力され、ここで入力データが印字データで
あるか、あるいは制御データであるかといった判別が行
われる。そして、入力データがフォントの種類を表わし
た制御データである場合には、その制御データ27をフ
ォントメモリ28に供給して、該当するフォントの選択
を行うようになっている。そして、これに続いて印字デ
ータが供給された場合には、これらの印字データ29に
対応する文字パターンをフォントメモリから読み出し
て、ビットデータ31としてページメモリ15上に展開
させるようになっている。
The input data stored in the input register 22 by a predetermined unit amount is stored in a data buffer 23.
The input data stored to some extent in the data buffer 23 is output to the output register 24, for example, one word at a time. The input data output from the output register 24 is input to the decoder 25, where it is determined whether the input data is print data or control data. If the input data is control data indicating the type of font, the control data 27 is supplied to a font memory 28 to select a corresponding font. Then, when print data is supplied subsequently, a character pattern corresponding to these print data 29 is read from the font memory and developed as bit data 31 on the page memory 15.

【0016】また、デコーダ25は、文字コードの入力
が行われた場合にはそのフォントのサイズに関するデー
タを用いて文字パターンがページメモリ15のどの位置
まで連続的なビットデータ31として格納されるように
なるかについての計算を行うようになっている。この計
算結果は、連続的なビットデータ31から構成される1
つの矩形領域の終了位置を表わすものであり、次の領域
の開始位置を示すポインタ情報32として属性メモリ3
3に供給されるようになっている。
When the character code is input, the decoder 25 stores the character pattern as continuous bit data 31 up to which position in the page memory 15 using the data on the font size. Is to be calculated. This calculation result is 1 composed of continuous bit data 31.
The attribute memory 3 represents the end position of one rectangular area and pointer information 32 indicating the start position of the next area.
3.

【0017】一方、デコーダ25は、文字コードやイメ
ージが連続した後の空白領域の判別も行うようになって
いる。そして、空白領域を判別した場合には空白判別信
号35をページメモリ15に供給する。この空白判別信
号35の供給を受けている状態で、ページメモリ15は
図示しない印字用紙の印字ラインの方向と直交する方向
(副走査方向)に対するアドレスの更新を行わないよう
になっている。そして、空白判別信号35の出力が断と
なって次に印字データ29の供給が再開した時点で、フ
ォントメモリ28から出力されるビットデータ31を新
たな矩形領域の先頭位置からページメモリ15に書き込
むことになる。
On the other hand, the decoder 25 also determines a blank area after a character code or an image continues. When a blank area is determined, a blank determination signal 35 is supplied to the page memory 15. In the state where the blank discrimination signal 35 is supplied, the page memory 15 does not update the address in the direction (sub-scanning direction) orthogonal to the direction of the printing line of the printing paper (not shown). Then, when the output of the blank discrimination signal 35 is cut off and the supply of the print data 29 is restarted next, the bit data 31 output from the font memory 28 is written into the page memory 15 from the start position of the new rectangular area. Will be.

【0018】図3および図4は、ホストコンピュータか
ら送られてきた印字内容とページメモリにおけるビット
データの配置との関係を対比して説明するためのもので
ある。このうち図3では、ホストコンピュータが作成し
た印字内容の一例を表わしている。この例では、1ペー
ジの比較的上の位置に「ABC株式会社」という文字の
パターンが連続的に記された矩形の領域41が存在し、
その起点すなわち図で左端の座標が(x1 ,y1 )とな
っている。また、このページの右下には「XYZ」とい
う文字のパターンが連続的に記された領域42が存在し
ており、その起点の座標が(x2 ,y2 )となってい
る。これらの領域41、42以外の部分は文字やイメー
ジが存在しない空白領域となっている。
FIGS. 3 and 4 are for explaining the relationship between the print content sent from the host computer and the arrangement of the bit data in the page memory. FIG. 3 shows an example of the print content created by the host computer. In this example, there is a rectangular area 41 in which a character pattern of “ABC Corporation” is continuously written at a relatively upper position on one page,
In its origin namely FIG leftmost coordinate is in the (x 1, y 1). In addition, an area 42 in which a character pattern “XYZ” is continuously written exists at the lower right of this page, and the coordinates of the starting point are (x 2 , y 2 ). Portions other than these areas 41 and 42 are blank areas where no characters or images exist.

【0019】図4に示したページメモリの1ページ分の
メモリ領域15Aでは、その先頭のアドレスAD0 を起
点として前記した領域41のビットデータ41Aが配置
され、他のアドレスADn を起点として前記した領域4
2のビットデータ42Aが配置されている。ただしアド
レスADn は、領域41の下端に領域42の上端を最も
接近させて配置したときに達成される値となっている。
すなわち、この例で2つのビットデータ41A、42A
はアドレスの増加方向に隙間なく配置されることにな
る。
[0019] In one page in the memory area 15A of the page memory shown in FIG. 4, it is arranged bit data 41A in the region 41 above the address AD 0 of the head acting as a start point, the other address AD n starting Area 4
Two bit data 42A are arranged. However the address AD n has a value that is achieved when arranged closest to cause the upper end of the region 42 at the lower end of the region 41.
That is, in this example, two bit data 41A, 42A
Are arranged without gaps in the address increasing direction.

【0020】なお、この図4では1ページ分のメモリ領
域15Aを図3と対比させて原理的に示したので、これ
ら各ビットデータ41A、42Aの図で右側に依然とし
てかなりの空白領域43が存在するように見える。しか
しながら、本実施例のページメモリ15は、1ページの
幅に相当する非常に長いビット列をそれぞれ1ワードと
してアドレスの管理を行うようになっているのではな
く、1ページの幅を通常のビット長の複数のワードに分
割して、これらのワードを単位としてアドレスの管理を
行うようになっている。したがって、空白領域43は仮
に発生してもわずかの量となり、従来の1ページ分のメ
モリ領域15Aに1ページよりも多いデータを格納する
ことができるようになる。
In FIG. 4, the memory area 15A for one page is shown in principle in comparison with FIG. 3, so that a considerable blank area 43 still exists on the right side of the bit data 41A and 42A. Looks like you do. However, the page memory 15 of this embodiment is not designed to manage addresses by using a very long bit string corresponding to the width of one page as one word, but to change the width of one page to a normal bit length. Are divided into a plurality of words, and addresses are managed in units of these words. Therefore, even if the blank area 43 is generated, it becomes a small amount even if it occurs, so that more data than one page can be stored in the conventional memory area 15A for one page.

【0021】図2に戻って説明を続ける。ページメモリ
15にはこのようにアドレス方向に空白の領域を取り除
いた形で効率的に文字パターンやイメージのビットデー
タが格納される。そして、それぞれのひとまとまりのビ
ットデータからなる領域の先頭位置を示すアドレスが、
ポインタ情報32として属性メモリ33に格納される。
したがって、ページメモリ15から印字データの読み出
しを行う際には、シフト制御回路17に1ライン分のビ
デオデータを格納しておき、属性メモリ33に格納され
たポインタ情報32を該当する領域ごとに所望のタイミ
ングで読み出すことによって、図3で示したような領域
41、42間の空白領域を設定し、この図3に示したよ
うな形で印字部16による印字を可能にする。
Returning to FIG. 2, the description will be continued. The page memory 15 efficiently stores character pattern and image bit data in such a manner that blank areas are removed in the address direction. Then, the address indicating the head position of the area composed of each set of bit data is
It is stored in the attribute memory 33 as pointer information 32.
Therefore, when reading the print data from the page memory 15, one line of video data is stored in the shift control circuit 17, and the pointer information 32 stored in the attribute memory 33 is stored in a desired area for each corresponding area. 3, a blank area between the areas 41 and 42 shown in FIG. 3 is set, and printing by the printing unit 16 is enabled in the form shown in FIG.

【0022】このために、属性メモリ33の出力側には
出力レジスタ45が配置されている。出力レジスタ45
には、属性メモリ33からそれぞれの領域ごとに起点の
座標を示すデータ(x,y)と、ページメモリ15にお
けるこれらの領域(ビットデータ)ごとの開始アドレス
ADが供給され、セットされるようになっている。この
うち開始アドレスADはページメモリ15に供給され、
どのアドレスから次の領域のビットデータが格納されて
いるかどうかの判別が行われる。また、起点の座標を示
すデータ(x,y)のうちのX座標はシフト制御回路1
7に供給され、Y座標は出力制御回路49に送られて、
それぞれ印字部16に送出されるビデオデータ46の出
力制御に用いられる。
For this purpose, an output register 45 is arranged on the output side of the attribute memory 33. Output register 45
Is supplied with data (x, y) indicating the coordinates of the starting point for each area from the attribute memory 33 and the start address AD for each of these areas (bit data) in the page memory 15 so as to be set. Has become. The start address AD is supplied to the page memory 15,
It is determined from which address the bit data of the next area is stored. The X coordinate of the data (x, y) indicating the coordinates of the starting point is the shift control circuit 1
7, the Y coordinate is sent to the output control circuit 49,
Each is used for output control of the video data 46 sent to the printing unit 16.

【0023】このビデオデータ46の出力制御を図4の
例で更に具体的に説明する。出力レジスタ45にはまず
領域41の座標(x1 ,y1 )の値と開始アドレスAD
が登録される。この状態で印字部16が印字動作を開始
すると、印字部16からは各ラインの印字動作に同期し
た同期信号48が出力制御回路49に供給される。出力
制御回路49はこれを順次カウントし、その値がy1
到達したらページメモリ15に対して最初の1ライン分
のビット列をシフト制御回路17にセットさせる。これ
は、開始アドレスADを基にして決定されるもので、こ
の場合には領域41の文字パターンを表わしたビットデ
ータ41Aのうちの最初の1ライン分のビット列がシフ
ト制御回路17にセットされる。シフト制御回路17
は、図示しないビデオクロックを1ラインの最初のタイ
ミングからカウントし、その値がx 1 に到達するまで
“0”をこのクロックに同期して出力する。そして、そ
の値がx1 に到達した時点でシフト制御回路17にセッ
トされているビット列をこれに続けて出力する。
The output control of the video data 46 is shown in FIG.
This will be described more specifically with an example. First, the output register 45
The coordinates (x1, Y1) And start address AD
Is registered. The printing unit 16 starts printing operation in this state
Then, the printing unit 16 synchronizes with the printing operation of each line.
The synchronized signal 48 is supplied to the output control circuit 49. output
The control circuit 49 sequentially counts this, and the value is y1To
When it arrives, the first one line for the page memory
Is set in the shift control circuit 17. this
Is determined based on the start address AD.
In the case of, the bit data representing the character pattern of the area 41
The bit string of the first one line of the data 41A is shifted.
Is set in the control circuit 17. Shift control circuit 17
Is the first clock of one line
Counting from the 1Until you reach
"0" is output in synchronization with this clock. And that
Is x1Is reached, the shift control circuit 17 is set.
The output bit string is output following this.

【0024】以下同様にしてビットデータ41Aを構成
する各ラインについてはビット列が順次シフト制御回路
17にセットされ、値x1 だけ調整された形でビデオデ
ータが順次出力される。このようにしてビットデータ4
1Aに対応する領域41のビデオデータの出力が終了し
たら、次に出力レジスタ45に設定された座標(x2
2 )を基にして同様の制御が行われる。この結果、Y
座標y2 に到達するまではシフト制御回路17から各ラ
インごとにオール“0”の信号からなるビデオデータが
出力されることになり、印字部16ではこれを空白(印
字しない領域)として表現することになる。以下同様に
して、図3に示したと同様な印字形態で印字が進行す
る。
[0024] is set in the bit string is sequentially shifted control circuit 17 for each line constituting the bit data 41A in the same manner, the video data are sequentially output in a form which has been adjusted by the value x 1. Thus, bit data 4
When the output of the video data in the area 41 corresponding to 1A is completed, the coordinates (x 2 ,
Similar control is performed based on y 2 ). As a result, Y
Until the coordinate y 2 is reached, the shift control circuit 17 outputs video data consisting of all “0” signals for each line, and the printing unit 16 expresses this as blank (non-printing area). Will be. In the same manner, printing proceeds in a printing mode similar to that shown in FIG.

【0025】図5は、このような本実施例のプリンタ装
置で印字データの書き込みの制御が行われる様子を表わ
したものである。なお、説明を簡略に行うため、文字の
印字が行われる場合について説明する。図1に示したC
PU11は図2に示した出力レジスタ24から1ワード
の入力データをデコーダ25に入力して(ステップS1
01)、これが印字する文字を表わした印字データに該
当するかどうかの判別を行う(ステップS102)。こ
こでは空白(スペース)は印字データに含めない。印字
データでなければ(N)、そのデータが印字データの連
続した領域を計算するために必要なデータ群であるかど
うかが判別される(ステップS103)。このようなデ
ータとは、例えば図3に示した各領域41、42の起点
と、ページメモリ15における各領域の開始アドレスを
計算するために必要なデータをいう。ただし、この計算
のためには後に説明するように領域のサイズを表わした
データが与えられるようになっている。
FIG. 5 shows how printing data writing control is performed in the printer of this embodiment. Note that, in order to simplify the description, a case where characters are printed will be described. C shown in FIG.
The PU 11 inputs one-word input data from the output register 24 shown in FIG. 2 to the decoder 25 (step S1).
01), it is determined whether or not this corresponds to print data representing a character to be printed (step S102). Here, blanks are not included in the print data. If it is not print data (N), it is determined whether the data is a data group necessary for calculating a continuous area of print data (step S103). Such data is, for example, data necessary for calculating the starting point of each area 41 and 42 shown in FIG. 3 and the start address of each area in the page memory 15. However, for this calculation, data representing the size of the area is provided as described later.

【0026】領域を計算するために必要なデータである
場合には(Y)、これが領域の終了を示すデータである
かどうかの判別が行われる(ステップS104)。例え
ばスペースを表わしたデータは領域の終了を示すデータ
である。領域の終了を示すデータではない場合には
(N)、現在到来したデータを用いて現在の領域を暫定
的に計算する(ステップS105)。例えば、前の領域
の終了した位置からのスペースや改行の数によって現在
の領域の開始位置を求めることができ、これ以後に連続
的に存在する文字の数(後に説明する領域のサイズ)か
ら領域の現在における後端の位置を求めることができ
る。これに対して、ステップS104で領域の終了を示
すデータとして判別された場合には(Y)、これによっ
て現在の領域の終了が確定するので、ステップS105
で暫定的に計算した値を用いて改定した領域の開始アド
レスと起点の座標を属性メモリ33に書き込む(ステッ
プS106)。そして、続いて次の1ワードの読み出し
を行うことになる(ステップS101)。ステップS1
05の処理が終了したときも同様である。
If the data is necessary for calculating the area (Y), it is determined whether or not this is data indicating the end of the area (step S104). For example, data representing a space is data indicating the end of an area. If the data does not indicate the end of the area (N), the current area is provisionally calculated using the data that has arrived at present (step S105). For example, the start position of the current area can be obtained from the number of spaces and line feeds from the end position of the previous area, and the area can be calculated from the number of characters that continuously exist after this (area size described later). Can be obtained at the current position of the rear end. On the other hand, if it is determined in step S104 that the data indicates the end of the area (Y), the end of the current area is determined by this.
Then, the start address and the coordinates of the starting point of the area revised using the values provisionally calculated are written in the attribute memory 33 (step S106). Then, the next one word is read (step S101). Step S1
The same applies when the processing of step 05 is completed.

【0027】一方、ステップS103で領域を計算する
ために必要なデータと判別されなかったデータについて
は、これが印字終了を示すデータであるかどうかのチェ
ックが行われる(ステップS107)。印字終了データ
であれば(Y)、これにより印字データの書き込みの制
御が終了する(エンド)。
On the other hand, for the data that has not been determined to be necessary for calculating the area in step S103, it is checked whether this is data indicating the end of printing (step S107). If the data is the print end data (Y), the control of the writing of the print data is ended (end).

【0028】次にステップS102で印字データと判別
された場合を説明する。この場合には(Y)、該当する
フォントを用いて文字コードに対応する文字パターンが
発生される(ステップS108)。この後、CPU11
は直前に読み出したワードが印字データであったかどう
かを調べ(ステップS109)、印字データでなかった
場合には(N)、新しい領域に切り替わることになるの
で、ページメモリ15のアドレスを1つインクリメント
してその文字パターンを新しい領域に格納する(ステッ
プS110)。そして、RAM14の所定の領域を用い
て、現在書き込んだ文字パターンに相当する領域のサイ
ズを新たに設定する(ステップS111)。
Next, a case where the data is determined to be print data in step S102 will be described. In this case (Y), a character pattern corresponding to the character code is generated using the corresponding font (step S108). After this, the CPU 11
Checks whether the word read immediately before is print data (step S109). If the read word is not print data (N), the area is switched to a new area. Therefore, the address of the page memory 15 is incremented by one. Then, the character pattern is stored in a new area (step S110). Then, using the predetermined area of the RAM 14, the size of the area corresponding to the currently written character pattern is newly set (step S111).

【0029】これに対して、直前のワードも印字データ
であった場合には(Y)、領域の切り替えは行われな
い。そこで、この場合にはページメモリ15に現在書き
込んでいる領域にそのまま続けて今回発生した文字パタ
ーンを格納する(ステップS112)。この場合には同
一の領域についてそのサイズが今回の文字パターンのサ
イズだけ大きくなることになる(ステップS111)。
ステップS111の作業の後に、再びステップS101
に戻って作業が続行される。このようにして領域終了デ
ータが読み出されるまで領域のサイズは順次大きくな
り、これがステップS105における領域の暫定的な計
算に反映されることになる。
On the other hand, if the previous word is also print data (Y), the area is not switched. Therefore, in this case, the currently generated character pattern is stored in the area currently written in the page memory 15 (step S112). In this case, the size of the same area is increased by the size of the current character pattern (step S111).
After the operation of step S111, step S101 is performed again.
Return to and continue the work. In this way, the size of the area is sequentially increased until the area end data is read, and this is reflected in the provisional calculation of the area in step S105.

【0030】以上のような制御によってページメモリ1
5には各領域がアドレスの進む方向に隙間無く配置さ
れ、属性メモリ33にはそれぞれの領域ごとに起点の座
標を示すデータ(x,y)と、ページメモリ15におけ
るこれらの領域(ビットデータ)ごとの開始アドレスA
Dが格納されることになる。
The page memory 1 is controlled by the above control.
5, each area is arranged without a gap in the direction of address advance. The attribute memory 33 stores data (x, y) indicating the coordinates of the starting point for each area, and these areas (bit data) in the page memory 15. Start address A for each
D will be stored.

【0031】図6は本発明の変形例をとしてのある印字
サンプルを表わしたものである。この印字サンプル51
で2つの領域52、53は黒色で印字されており、他の
領域54は赤色で印字されている。従来、このような2
色印字を行う際には、2ページ分のページメモリを用意
するようになっていた。
FIG. 6 shows a print sample as a modification of the present invention. This print sample 51
The two areas 52 and 53 are printed in black, and the other area 54 is printed in red. Conventionally, such 2
When performing color printing, a page memory for two pages is prepared.

【0032】図7はこの変形例のプリンタ装置における
バッファメモリの記憶状態を原理的に表わしたものであ
る。バッファメモリ55には、それぞれの印字色のビッ
トデータがそれぞれ領域52A、54A、53Aとして
隙間を無くした状態で配置されている。そして、図示し
ない属性メモリには、先の開始アドレスADと領域ごと
に起点の座標を示すデータ(x,y)の他に、印字色を
表わすデータが格納されるようになっている。このよう
に2色あるいは3色以上の印字色のプリンタ装置につい
ては、更にメモリを効率化して使用することができる。
FIG. 7 shows the principle of the storage state of the buffer memory in the printer of this modification. In the buffer memory 55, bit data of each printing color is arranged as areas 52A, 54A, 53A with no gaps. The attribute memory (not shown) stores data representing the print color in addition to the data (x, y) indicating the coordinates of the starting point for each of the start address AD and the area. As described above, with respect to a printer device of two or three or more printing colors, the memory can be used more efficiently.

【0033】[0033]

【発明の効果】以上説明したように請求項1および請求
項2記載の発明によれば、印字の行われない空白領域の
少なくとも一部を除いた形で、文字パターンやイメージ
が展開されてビットデータとして連続するそれぞれの領
域ごとに区分けしてバッファメモリに格納することにし
たので、バッファメモリの容量を大幅に減少させること
ができ、装置のコストダウンを図ることができる。さら
に、フォントデータなどの複雑なビットデータの展開処
理を行うことなく高速な印字処理を行う装置を提供する
ことができる。またバッファメモリの記憶内容をそのま
まプリントアウトするようにすれば、データを圧縮され
た形で出力することができ、印字用紙の節約やこの印字
用紙を用いたファクシミリ送信の際の通信経費の節減を
図ることができる。
As described above, according to the first and second aspects of the present invention, a character pattern or an image is formed in a form excluding at least a part of a blank area where printing is not performed.
Are expanded and each area that continues as bit data
Since the data is stored in the buffer memory while being divided for each area, the capacity of the buffer memory can be significantly reduced, and the cost of the apparatus can be reduced. Further
Processing of complex bit data such as font data
Provide a device that performs high-speed print processing without performing processing
be able to. Also, if the data stored in the buffer memory is printed out as it is, the data can be output in a compressed form, saving printing paper and reducing communication costs for facsimile transmission using this printing paper. Can be planned.

【0034】また、請求項2記載の発明によれば、特に
黒色と赤色の2色で印字を行う装置のように有彩色をア
ンダーライン等の付加的な色彩として使用する形態で
は、これに要するビットデータの量が少ないため、実質
的に1枚のページメモリで2色あるいは3色の印字を行
うことができ、簡易かつ安価にフォントデータなどの複
雑なビットデータの展開処理を行うことなく高速な印字
処理を行う装置で2色印字あるいは多色印字という高級
な機能を実現することができるようになる。
According to the second aspect of the present invention, this is particularly necessary in a mode in which a chromatic color is used as an additional color such as an underline as in an apparatus for printing in two colors of black and red. since less amount of bit data, it can be performed substantially print two colors or three colors in one page memory, multiple such simple and inexpensive font data
High-speed printing without complicated bit data expansion processing
An advanced function such as two-color printing or multi-color printing can be realized by a device that performs processing .

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

【図1】 本発明の一実施例におけるプリンタ装置の回
路構成の概要を示すブロック図である。
FIG. 1 is a block diagram illustrating an outline of a circuit configuration of a printer device according to an embodiment of the present invention.

【図2】 このプリンタ装置の要部の回路構成を具体化
したブロック図である。
FIG. 2 is a block diagram that embodies a circuit configuration of a main part of the printer device.

【図3】 この実施例でホストコンピュータが作成した
印字内容の一例を表わした説明図である。
FIG. 3 is an explanatory diagram showing an example of a print content created by a host computer in the embodiment.

【図4】 この実施例でバッファメモリにおけるデータ
の配置状態を示した説明図である。
FIG. 4 is an explanatory diagram showing an arrangement state of data in a buffer memory in this embodiment.

【図5】 この実施例で印字データの書き込みの制御が
行われる様子を表わした流れ図である。
FIG. 5 is a flowchart illustrating a state in which print data writing control is performed in this embodiment.

【図6】 本発明の変形例のプリンタ装置の印字サンプ
ルを表わした平面図である。
FIG. 6 is a plan view illustrating a print sample of a printer device according to a modified example of the invention.

【図7】 この変形例におけるバッファメモリに格納さ
れたデータの配置状態を示した説明図である。
FIG. 7 is an explanatory diagram showing an arrangement state of data stored in a buffer memory according to a modified example.

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

10…プリンタ装置、11…CPU、13…ROM、1
4…RAM、15…ページメモリ、16…印字部、17
…シフト制御回路、25…デコーダ、33…属性メモ
リ、45…出力レジスタ、46…ビデオデータ、49…
出力制御回路
10 printer device, 11 CPU, 13 ROM, 1
4 RAM, 15 page memory, 16 printing unit, 17
... Shift control circuit, 25 ... Decoder, 33 ... Attribute memory, 45 ... Output register, 46 ... Video data, 49 ...
Output control circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−251977(JP,A) 特開 昭63−254074(JP,A) 特開 昭63−205269(JP,A) 特開 平2−63780(JP,A) 特開 昭63−723(JP,A) 特開 平2−266965(JP,A) 特開 平2−45172(JP,A) 特開 平2−210528(JP,A) 特開 昭64−18637(JP,A) 特開 昭61−251976(JP,A) (58)調査した分野(Int.Cl.6,DB名) B41J 5/30 B41J 21/00 G06F 3/12 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-61-251977 (JP, A) JP-A-63-254074 (JP, A) JP-A-63-205269 (JP, A) JP-A-2- 63780 (JP, A) JP-A-63-723 (JP, A) JP-A-2-266965 (JP, A) JP-A-2-45172 (JP, A) JP-A-2-210528 (JP, A) JP-A-64-18637 (JP, A) JP-A-61-251976 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) B41J 5/30 B41J 21/00 G06F 3/12

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 受信した印字データを解読して文字パタ
ーンやイメージが連続するそれぞれの領域ごとにそれら
の印字の際の起点となる位置を判定する領域別起点判定
手段と、 これらの領域ごとに前記起点を記憶する起点記憶手段
と、 領域と領域の間に存在する印字の行われない空白領域の
少なくとも一部を除いた形で、これら各領域の印字内容
前記印字データの解読によって展開したビットデータ
として格納するバッファメモリと、 前記起点記憶手段に記憶された各領域の起点に合わせ
て、これらの領域の印字内容をビデオデータとしてバッ
ファメモリから読み出す読出手段と、 この読出手段から読み出されたビデオデータを入力して
印字を行う印字部とを具備することを特徴とするプリン
タ装置。
1. An area-based starting point determining means for decoding received print data and determining a starting position for each area in which a character pattern or an image is continuous, and for each of these areas, Starting point storage means for storing the starting point, and in a form excluding at least a part of a blank area which is present between the areas and is not printed, the print content of each of these areas is developed by decoding the print data. Bit data
A read-out means for reading out the print contents of these areas from the buffer memory as video data in accordance with the starting point of each area stored in the starting-point storage means, and a video read out from the read-out means. A printing unit for inputting data and performing printing.
【請求項2】 受信した印字データを解読して文字パタ
ーンやイメージが連続するそれぞれの領域ごとにそれら
の印字の際の起点となる位置と印字色とを判定する領域
別起点・印字色判定手段と、 これらの領域ごとに前記起点を記憶する起点記憶手段
と、 これら領域ごとに印字色を記憶する印字色記憶手段と、 領域と領域の間に存在する印字の行われない空白領域の
少なくとも一部を除いた形で、これら各領域の印字内容
前記印字データの解読によって展開したビットデータ
として格納するバッファメモリと、 前記起点記憶手段に記憶された各領域の起点に合わせ
て、これらの領域の印字内容をビデオデータとしてバッ
ファメモリから読み出す読出手段と、 前記印字色記憶手段に記憶された領域ごとの印字色を読
み出して前記ビデオデータと対応付け、これらのビデオ
データをそれぞれの印字色で印字する印字部とを具備す
ることを特徴とするプリンタ装置。
2. An area-based starting point / printing color determining means for decoding received print data and determining a printing position and a position serving as a starting point of printing for each continuous area of character patterns and images. Starting point storage means for storing the starting point for each of these areas; printing color storage means for storing a printing color for each of these areas; and at least one blank area between the areas where printing is not performed. Bit data obtained by decoding the print contents of each of these areas by decoding
A buffer memory for storing, as the video data, readout means for reading out the print contents of these areas from the buffer memory in accordance with the starting point of each area stored in the starting point storage means; A printing unit that reads a print color for each area, associates the read color with the video data, and prints the video data in each print color.
JP3116038A 1991-05-21 1991-05-21 Printer device Expired - Lifetime JP2889390B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3116038A JP2889390B2 (en) 1991-05-21 1991-05-21 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3116038A JP2889390B2 (en) 1991-05-21 1991-05-21 Printer device

Publications (2)

Publication Number Publication Date
JPH04344272A JPH04344272A (en) 1992-11-30
JP2889390B2 true JP2889390B2 (en) 1999-05-10

Family

ID=14677194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3116038A Expired - Lifetime JP2889390B2 (en) 1991-05-21 1991-05-21 Printer device

Country Status (1)

Country Link
JP (1) JP2889390B2 (en)

Also Published As

Publication number Publication date
JPH04344272A (en) 1992-11-30

Similar Documents

Publication Publication Date Title
US5093903A (en) System for controlling printers having differing dot densities
US4635212A (en) Method for generating a rotated print pattern
JPH06225115A (en) Display graphic system for color laser copying machine
JPH0263763A (en) Printing apparatus
US5562350A (en) Output apparatus that selects a vector font based on character size
JPH04235069A (en) Printing apparatus
US5097426A (en) Printer controlling apparatus
US4953033A (en) Image forming apparatus for forming images by use of fonts
US4623978A (en) Print control apparatus having line buffer
JP2889390B2 (en) Printer device
EP0458569B1 (en) Method and apparatus for generating character patterns in an output memory
US5731800A (en) Output method and apparatus
US4835529A (en) Output display apparatus
JPS59201870A (en) Printer
JPS5941051A (en) Character pattern generator
JPS5931752B2 (en) printing device
JPH0263762A (en) Output apparatus
JP3143118B2 (en) Printer and print image pattern development method
JP2598506B2 (en) Printing control device
JP2715475B2 (en) Graphic output device
JP2000168150A (en) Image data-forming apparatus
JP3254011B2 (en) Form drawing system
JP2918552B2 (en) Printing control device
JP2918571B2 (en) Printing equipment
JP2623458B2 (en) Graphic output control device