JPH01290455A - Buffer processing device of dot printer - Google Patents

Buffer processing device of dot printer

Info

Publication number
JPH01290455A
JPH01290455A JP12088288A JP12088288A JPH01290455A JP H01290455 A JPH01290455 A JP H01290455A JP 12088288 A JP12088288 A JP 12088288A JP 12088288 A JP12088288 A JP 12088288A JP H01290455 A JPH01290455 A JP H01290455A
Authority
JP
Japan
Prior art keywords
image
buffer
image buffer
printing
data
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
JP12088288A
Other languages
Japanese (ja)
Inventor
Isao Nomura
勲 野村
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 JP12088288A priority Critical patent/JPH01290455A/en
Publication of JPH01290455A publication Critical patent/JPH01290455A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a buffer processing device, of a dot printer, which consists of a small number of buffer memories without any decrease of operative efficiency by providing a means to count the residual value of data saved in an image buffer that decreases by the value of data used for the generation of a dot image in an initialized state and increases by the value of data transferred to a printing mechanism. CONSTITUTION:A control circuit B initializes pointers G, H which indicates an image buffer area L and a counter for the residual amount of data saved in the image buffer, then retrieves data from a host computer through an external interface E. However, the circuit stores printing character codes in an area for control J. Next, when the system is set in the printing start control code mode, all character codes stored in the area for control are converted to a printing image, and at the same time, a residual value counter is decremented by the amount of data used from the buffer each time a single character image is stored. However, if single image areas run short while the above-described process is repeated, the control circuit drives a printing mechanism to increment the counter for the residual amount of data saved in the image buffer regarding an image buffer area whose drive is completed. Consequently, the total amount of data saved in the image buffer can be efficiently used continuously with high efficiency without temporary suspension of printing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、印刷するドツトパターンを先め処理するイメ
ージバッファを有するドツトプリンタに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a dot printer having an image buffer for preprocessing a dot pattern to be printed.

〔従来の技術〕[Conventional technology]

ドツトプリンタが育する印刷ドツトイメージのバッファ
(以後イメージバッファと略す)itは、従来、最大印
字桁数分のイメージバッファを複数行分有する構成をと
る。前記複数本のうちある1つのイメージバッファから
プリントメカニズムの駆動を伴って印刷ヘッドに印刷す
べきドツトイメージを転送する間に、次の印刷対象とな
る行のドツトイメージを前記伝送中以外のイメージバッ
ファに生成する手段を用いる。このイメージバッファ処
理終了時点が前記ドツトイメージ転送終了時点より前で
ある事により、次々と連続的にプリントメカニズムを駆
動させる事を可能にして高印刷効率を実現する。
A print dot image buffer (hereinafter referred to as an image buffer) developed by a dot printer has conventionally been configured to include image buffers for a maximum number of print digits for a plurality of lines. While a dot image to be printed is transferred from one image buffer among the plurality of lines to the print head with driving of a print mechanism, a dot image of the next line to be printed is transferred to an image buffer other than the one currently being transferred. Use a means to generate it. By terminating the image buffer processing before the end of the dot image transfer, it is possible to drive the print mechanisms one after another in succession, thereby achieving high printing efficiency.

例えば、2本のイメージバッファを有して印刷中である
イメージバッファの他方へ次行印刷するイメージバッフ
ァを生成し、印刷の終了時点で印刷すべきイメージバッ
ファを切換えて印刷を開始するといった手順を操り返す
For example, you can create an image buffer that has two image buffers and print the next line in the other image buffer that is currently printing, and then switch the image buffer to be printed at the end of printing and start printing. Manipulate back.

(発明が解決しようとする課題〕 しかし、前述のn行分本のイメージバッファを備えたH
D!では、少なくとも2行分の最大印字桁数分の容量を
必要とする。又、最大桁数に達しない桁数幅の印刷時に
使用しないイメージバッフ7メモリが存在し、例えば1
桁の印刷に続いて最大桁数の印刷がある場合に、1桁の
印刷時間以内に最大桁数のドツトイメージを生成する事
が不可能となり印刷効率を低下させる事がある。
(Problem to be solved by the invention) However, the above-mentioned H
D! In this case, a capacity corresponding to the maximum number of print digits for at least two lines is required. In addition, there is an image buffer 7 memory that is not used when printing with a digit width that does not reach the maximum number of digits.
When printing a digit followed by printing the maximum number of digits, it may be impossible to generate a dot image of the maximum number of digits within the printing time of one digit, which may reduce printing efficiency.

又、外字定義機能に於いて定義パターンを記憶するメモ
リを他に備える構成とするかあるいは、複数本分のイメ
ージバッファのうち、いずれかのバッファを外字定義パ
ターン記憶に用いる事によって印刷効率の低下を招いて
いる。
In addition, in the external character definition function, printing efficiency may be reduced by providing an additional memory for storing definition patterns, or by using one of multiple image buffers for storing external character definition patterns. is inviting.

そこで本発明は、この様な問題を解決するものであり、
その目的は持ち得る限りのバフ77メモリの中に外字定
義パターンを割り当て、残る部分を環状構造のイメージ
バッファとして使用する事によって、いかなる印刷桁数
の組合せでも効率を低下させる事なく、かつ少量のバッ
フ7メモリで構成するドツトプリンタのバッファ処理H
aを提供するところにある。
Therefore, the present invention solves these problems,
The purpose is to allocate external character definition patterns in as much buff 77 memory as possible and use the remaining part as an image buffer with a circular structure. Buffer processing H of a dot printer consisting of 7 buffer memories
The goal is to provide a.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のバッファ処理装置は、ドツトプリンクが仔する
全てのバッフ7メモリを、ある固定長の機能制御用のバ
ッフ7と、外字定義量に応じて可変長となる外字用バッ
ファと、前記2つのバッフ7の14ffiに従って可変
長となる環状のイメージバッファとで構成し、外字定義
量に応じて書き換え可能な定義パターン終了ポインタと
前記環状イメージバッファの開始もしくは終了ポインタ
とを同一のポインタで構成し、初期状態でイメージバッ
ファ長を示しドツトイメージ生成分だけ減少し又印刷メ
カニズムへ転送だけ増加するイメージバッフ7の使用残
量をカウントする手段を存する事を特徴とする。
The buffer processing device of the present invention divides all the buffer 7 memories in which dot links are stored into a fixed length buffer 7 for function control, a custom character buffer whose length is variable according to the amount of defined custom characters, and the two buffers mentioned above. It consists of a circular image buffer with a variable length according to 14ffi of 7, and a definition pattern end pointer that can be rewritten according to the amount of defined external characters and a start or end pointer of the circular image buffer are composed of the same pointer, and the initial The present invention is characterized in that there is a means for counting the remaining capacity of the image buffer 7 which indicates the image buffer length in the state and decreases by the amount of dot image generation and increases by the amount transferred to the printing mechanism.

〔作用〕[Effect]

本発明は上記の構成によって、種々印刷桁数の混在の場
合に、持ち得るイメージバッファ長全てを使用し、まに
1外字定a機能を使用する場合に定義専用のバッフ1領
域を設けない。
With the above configuration, the present invention uses all available image buffer lengths when various numbers of printing digits are mixed, and does not provide one buffer area exclusively for definition when one external character definition a function is used.

〔実施例〕〔Example〕

以下に本発明の一実施例を図面を参照して説明する。第
1図は、本発明のバッファ処理装置の一実施例を示した
ブロック図である。システムバスAに、装置全体を制御
するマイクロプロセッサユニット、を含む制御回路B1
装置が有する全バッファRAMC1外字以外の文字パタ
ーンの記憶部D1ホストコンピュータからのデータ受信
を行なうインターフェース部E1印刷するためのメカニ
ズム駆動部F1又バッフy RA M中の環状イメージ
バッファ開始ポインタG1同じく終了ポインタ上1イメ
ージバツフア使用aftを示す残量カウンタ1が接続さ
れている。又バッフyRAM、C’は、制御用領域J1
外字定義パターン記憶領域に1イメージバフフy ’W
i @ Lで構成される。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a buffer processing device of the present invention. Control circuit B1 including a microprocessor unit that controls the entire device on system bus A
All buffers possessed by the device RAM C1 Storage section for character patterns other than external characters D1 Interface section E1 for receiving data from the host computer Mechanism drive section F1 for printing Also buffer y A circular image buffer in RAM Start pointer G1 Also end pointer A remaining amount counter 1 indicating the upper 1 image buffer usage aft is connected. Also, the buffer yRAM, C' is the control area J1
1 image buff in external character definition pattern storage area
Consists of i @ L.

次に本実施例の動作について第2図のフローチャートに
基づいて説明する。まず処理〔1〕の様に制御回路Bは
イメージバッフyflJ域りを指し示すポインタGと月
と、イメージバッファ使用残量カウンタIを初期化する
。次にホストコンピュータからのデータを外部インター
フェースEから取り出す。続いて取り出したデータを判
断〔3〕、〔4〕に従って、印刷開始コード又は、外字
定義コード又は、印刷文字コードのいずれかによって処
理が分岐する。
Next, the operation of this embodiment will be explained based on the flowchart shown in FIG. First, as in process [1], the control circuit B initializes the pointer G pointing to the image buffer yflJ area, the month, and the image buffer usage remaining amount counter I. Next, data from the host computer is retrieved from external interface E. Next, in accordance with steps [3] and [4] to determine the extracted data, the process branches depending on the print start code, external character definition code, or print character code.

まず印刷文字フードの場合、処理(5〕に従って印刷文
字コードを制御用領域Jへ格納される。
First, in the case of a printed character hood, the printed character code is stored in the control area J according to process (5).

文字コードが続く場合、複数文字が同様に格納される。If character codes follow, multiple characters are stored in the same way.

次に印刷開始制御コードの場合、処理〔6〕から〔13
〕に示す様に前記によって制御用領域へ格納された文字
コードを全て印刷イメージへffmする。同時に、−文
字のイメージを格納する度に処理〔11〕の様に使用し
たバッフ1mだけバフフyH1kカウンタを減少させる
。上記を繰返す間にバッファ残量が少なくなり、−文字
のイメージ領域に不足する様になると判断(7)、(8
)に従って印刷メカニズムを駆動開始する。印刷メカニ
ズムの駆動時(処理(8) 、(9) )には処理(1
7)、(18)に従い駆動終了したイメージバッファ領
域についてバフフ7FA量カウンタを増加させる。すな
わち(8)、(9)において、処理(17)、(18)
が行なわれる。従って、判断〔7〕から〔8〕へ戻る繰
返しはメカニズム駆動が進むうちにやがて判断〔7〕か
ら処理(10)へと流れる事となり、全ての文字コード
についてイメージへの変換を終了すると次行の処理の為
〔2〕へ戻る。
Next, in the case of the print start control code, process [6] to [13]
], all the character codes stored in the control area as described above are ffm'd to the print image. At the same time, every time an image of a - character is stored, the buff yH1k counter is decremented by the used buffer 1m as in process [11]. While repeating the above, the remaining buffer capacity decreases, and it is determined that the image area for -characters becomes insufficient (7), (8)
) to start the printing mechanism. When the printing mechanism is driven (processing (8), (9)), processing (1)
7), according to (18), increase the buff7FA amount counter for the image buffer area for which driving has been completed. That is, in (8) and (9), processing (17) and (18)
will be carried out. Therefore, the repetition of returning from judgment [7] to [8] will eventually flow from judgment [7] to processing (10) as the mechanism drive progresses, and once all character codes have been converted to images, the next line Return to [2] for processing.

又、外字定義制御コードを受取ると判断〔14〕に示す
様にイメージバッファ内にある未印刷領域について全て
終了するのを待つ。終了すると、バッファ装置はイメー
ジバッファ長に復帰しているので、この時処理〔15〕
から〔16〕によって外字定義パターンを記憶した後、
環状開始ポインタを新しく定義パターン終了ポイントへ
更新する。
Also, when it is determined that the external character definition control code is received, as shown in [14], it waits until all unprinted areas in the image buffer are finished. When finished, the buffer device has returned to the image buffer length, so at this time process [15]
After storing the external character definition pattern from [16],
Update the circular start pointer to the newly defined pattern end point.

ここで、前記実施例についてさらに詳細に説明する。第
2図(&)の処理〔4〕におt)で、外字定義制御コー
ドが送られてくると、その後、外字パターンと、該外字
パターンのイメージデータ量を示すデータが送られてく
る。このイメージデータ量は、例えば1つの外字文字の
データ量が固定である場合には外字の文字数のデータと
して送られてくる。そして、該イメージデータ量によっ
て、外字パターン領域Kが決定されるので、開始ポイン
タGを該領域にの次のアドレスに設定する。又、ここで
、領域にの次のアドレスを開始位置にしているが、イメ
ージを展開する順序を逆にして、該位置を終了位置とし
てもよい。
The above embodiment will now be described in more detail. When the external character definition control code is sent in step t) in process [4] of FIG. For example, if the amount of data for one non-standard character is fixed, this image data amount is sent as data for the number of characters of the non-standard character. Since the external character pattern area K is determined based on the amount of image data, the start pointer G is set to the next address of the area. Also, here, the next address in the area is set as the start position, but the order in which the images are developed may be reversed and this position may be set as the end position.

又、外字パターン領域Kを設定することによりイメージ
バッファ領域りのエリアが極端に少なく(例えば、lB
というように)なることが考えられる。このような場合
には、印字処理が、難しくなるので、このような事態を
避けるために、例えば設定できる外字パターン領域にの
容量に上限を設け、一定の大きさ以上には、ならないよ
うにすることが考えられる。又、さらに、領域りが、小
さくなりすぎた場合には、Lの領域を、拡大することも
考えられる。
Also, by setting the external character pattern area K, the area for the image buffer area is extremely small (for example, 1B
). In such a case, the printing process becomes difficult, so to avoid this situation, for example, set an upper limit on the capacity of the external character pattern area that can be set, so that it does not exceed a certain size. It is possible that Further, if the area becomes too small, it is also possible to enlarge the area of L.

又、上記実施例では、外字文字ということで説明したが
、本発明は、外字パターンにのみ限定されず、ユーザー
が、独自に設定した特殊処理に関するエリアの設定をも
含むものである。
Further, although the above embodiment has been explained in terms of non-standard characters, the present invention is not limited to only non-standard character patterns, but also includes the setting of areas related to special processing independently set by the user.

〔発明の効果〕〔Effect of the invention〕

以上に記述した如く、本発明のfaWに依れば、バッフ
ァ領域の総和を時間的に印刷が断える事なく連続に高効
率で使用可能となる。
As described above, according to the faW of the present invention, the total buffer area can be used continuously and with high efficiency without any temporal interruption in printing.

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

第1図は、本発明のプリンタのバッファ装置の一実施例
を示したブロック図。第2図(a)(b)<C)は前記
実施例のフローチャートである。 以  上 出願人 セイコーエプソン株式会社 代理人 弁理士 鈴木 喜三部 他1名CH シス号−・バス                  
  〜A第1図 第2図(b) 二】D [18]
FIG. 1 is a block diagram showing an embodiment of a buffer device for a printer according to the present invention. FIGS. 2(a), (b)<C) are flowcharts of the above embodiment. Applicant Seiko Epson Co., Ltd. Agent Patent Attorney Kizobe Suzuki and 1 other person CH System bus
~A Figure 1 Figure 2 (b) 2] D [18]

Claims (1)

【特許請求の範囲】[Claims] 印刷すべきドットパターンを先め記憶しているイメージ
バッファを有し、前記イメージバッファ容量が少なくと
も最大外字定義量よりも大きなドットプリンタに於いて
、外字定義量に応じて前記イメージバッファ中に外字パ
ターンを記憶させる手段と、前記イメージバッファ中に
外字パターンを記憶させた場合はその領域を使用済とし
、前記イメージバッファ操作を変更する手段を有するこ
とを特徴とするドットプリンタのバッファ処理装置。
In a dot printer that has an image buffer that stores dot patterns to be printed in advance, and the capacity of the image buffer is at least larger than the maximum defined amount of custom characters, the custom character pattern is stored in the image buffer according to the defined amount of custom characters. A buffer processing device for a dot printer, comprising means for storing a non-standard character pattern in the image buffer, and means for determining that the area is used when a custom character pattern is stored in the image buffer, and changing the operation of the image buffer.
JP12088288A 1988-05-18 1988-05-18 Buffer processing device of dot printer Pending JPH01290455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12088288A JPH01290455A (en) 1988-05-18 1988-05-18 Buffer processing device of dot printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12088288A JPH01290455A (en) 1988-05-18 1988-05-18 Buffer processing device of dot printer

Publications (1)

Publication Number Publication Date
JPH01290455A true JPH01290455A (en) 1989-11-22

Family

ID=14797305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12088288A Pending JPH01290455A (en) 1988-05-18 1988-05-18 Buffer processing device of dot printer

Country Status (1)

Country Link
JP (1) JPH01290455A (en)

Similar Documents

Publication Publication Date Title
EP0448102B1 (en) Methods of compression and expansion of dot pattern
US5115493A (en) Continuous laser printer for printing over page boundaries
US5043918A (en) Multiple bus image controller structure for color page printers
JPH01290455A (en) Buffer processing device of dot printer
US4757462A (en) Signal processing apparatus
US4780006A (en) Dot matrix printer
EP0392499A3 (en) Apparatus for generating high-quality character pattern
EP0105340A1 (en) Page printing system
JPS58117036A (en) Print controller
JPS6145325A (en) Printer
CA1084641A (en) Variable size character generator
JPS61209167A (en) Printing control circuit in wire dotline printer
JPS58151262A (en) Font memory reading out system
JPH0616764Y2 (en) Dot matrix printer
JP4323622B2 (en) Recording device
JPS5922181A (en) Character processor
JP2756269B2 (en) Printer device
JPS59168539A (en) Information memory
JPH02238968A (en) Page printer
JPH0810825Y2 (en) Data transfer device
JPS5827233A (en) Controlling system for printing
JPH05318845A (en) Printer
JPS5822440A (en) Printer for high-speed input data
JPS63288320A (en) Image generating device
JPS59168538A (en) Information memory