JPS61202854A - Printer controller - Google Patents
Printer controllerInfo
- Publication number
- JPS61202854A JPS61202854A JP4196485A JP4196485A JPS61202854A JP S61202854 A JPS61202854 A JP S61202854A JP 4196485 A JP4196485 A JP 4196485A JP 4196485 A JP4196485 A JP 4196485A JP S61202854 A JPS61202854 A JP S61202854A
- Authority
- JP
- Japan
- Prior art keywords
- data
- printing
- print data
- memory
- 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
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J2/00—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
- B41J2/485—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes
- B41J2/505—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes from an assembly of identical printing elements
Landscapes
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
【発明の詳細な説明】
「産業上の利用分野」
本発明は、印字ヘッドを用いて記録紙上に文書等を記録
する装置のプリンタ制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" The present invention relates to a printer control device for an apparatus that records documents or the like on recording paper using a print head.
「従来の技術」
ファクシミリやワードプロセッサ等の装置では、感熱記
録紙や転写型記録媒体を用いて、印字ヘッド例えばサー
マルヘッドやワイヤーヘッドによって文字等を印字する
ことが行われている。2. Description of the Related Art In devices such as facsimile machines and word processors, characters and the like are printed using a print head such as a thermal head or a wire head using thermal recording paper or a transfer type recording medium.
第8図に、いわゆるシリアルタイプのサーマルヘッドに
よって文字列の印字を行っているところを示す。FIG. 8 shows a character string being printed by a so-called serial type thermal head.
感熱記録紙10上には、数字およびアルファベットの文
字列11が印字されている。このサーマルヘッド12に
は、感熱記録紙10と対向する面に、直線状の発熱体1
3が設けられている。この発熱体は、一画素分の長さご
とに区分され、各区分はそれぞれ選択的に電気パルスが
供給されて発熱するようになっている。この区分を、以
下単位発熱体と呼ぶことにする。On the thermal recording paper 10, a character string 11 of numbers and alphabets is printed. This thermal head 12 has a linear heating element 1 on the surface facing the thermal recording paper 10.
3 is provided. This heating element is divided into sections each having a length corresponding to one pixel, and electric pulses are selectively supplied to each section to generate heat. This division will hereinafter be referred to as a unit heating element.
例えば文字1字が32X32ドツトの画素で構成さてい
る場合、このサーマルヘッドには一列に32個の単位発
熱体が並べられて、いずれかの単位発熱体が発熱すると
感熱記録紙10のこれと接触した部分が黒く発色する。For example, if one character is composed of 32 x 32 dot pixels, this thermal head has 32 unit heating elements arranged in a row, and when any unit heating element generates heat, it comes into contact with this on the thermal recording paper 10. The affected area turns black.
サーマルヘッドは印字すべき文字列に添って図の矢印1
4の方向に移動しながら1行ずつ文字列を印字していく
。The thermal head is aligned with the character string to be printed in the direction of arrow 1 in the figure.
The character string is printed line by line while moving in the direction of 4.
第9図に第8図とは異なるタイプのサーマルヘッドを示
す。FIG. 9 shows a different type of thermal head from that shown in FIG.
このサーマルヘッド12は、より多数の単位発熱体が並
んだ発熱体を有しており、3行の文字列を一括して印字
できるよう構成されている。このような、複数行一括印
字のできるサーマルヘッドを用いれば、より高速の印字
を行うとができる。This thermal head 12 has a heating element in which a larger number of unit heating elements are lined up, and is configured to be able to print three lines of character strings at once. If such a thermal head capable of printing multiple lines at once is used, printing can be performed at a higher speed.
一方、科学技術文書では、文字や数字に添字(サフィッ
クス)やダラシ5(′)を付することが多い。添字付き
文字をあらかじめ独立した文字として文字パターンメモ
リ内に準備しておけば、印字操作に特別の工夫を要しな
い。しかし、これは多種の文字パターンをすべて記憶さ
せる大容量のメモリを必要とし、簡易なプリンタ等では
実用的でない。On the other hand, in scientific and technical documents, a suffix or a dash (') is often added to letters and numbers. If subscripted characters are prepared in advance as independent characters in the character pattern memory, no special effort is required for printing operations. However, this requires a large capacity memory to store all the various character patterns, and is not practical for simple printers.
そこで、文字を1行分印字した後に、添字等を別に印字
し直すいわゆる重ね打ち印字が行われる。Therefore, after printing one line of characters, so-called overprint printing is performed in which subscripts and the like are printed separately.
第10図はその説明図である。すなわち、初めに文字「
A」を含む1行の文字列を印字した後、改行なしに印字
ヘッドを印字開始位置にもどして、ダラシ:L(’)の
みをこの文字rAJのところに印字する。例えば文字「
C」と文字「I」とを重ね打ちして、合成文字を作るこ
ともできる。FIG. 10 is an explanatory diagram thereof. That is, at the beginning, the letters "
After printing one line of character strings including "A", the print head is returned to the print start position without line breaks, and only Darashi:L(') is printed at this character rAJ. For example, the character ``
A composite character can also be created by overstriking the letter "C" and the letter "I."
常時1行ずつの印字を行う場合には、キャリフシリター
ン(以下CRと略称する)右よびラインフィード(以下
LFと略称する)の指示によって印字ヘッドが印字開始
位置にもどされ、記録紙が1行分フィードされる。重ね
打ち印字動作においては、このLFをしないで次の行の
印字を行うようにする。When printing one line at a time, the print head is returned to the printing start position by instructions from the Carriage Return (hereinafter abbreviated as CR) right and the Line Feed (hereinafter abbreviated as LF), and the recording paper is Lines are fed. In the overlapping printing operation, the next line is printed without this LF.
同様にして、第9図に示したような3行一括印字タイブ
の印字ヘッドに、このような動作をさせようとすれば、
第11図に示したようになる。この図では、3行のうち
、一番上の行の文字1は重ね打ちがされていない。他の
行は第10図と同様に印字される。Similarly, if you try to make the print head of a 3-line batch print type as shown in Figure 9 perform the following operation,
The result is as shown in FIG. In this figure, character 1 in the top line of the three lines is not overstruck. The other lines are printed in the same manner as in FIG.
「発明が解決しようとする問題点」
ところが、第9図に示した印字ヘッド12を使って第1
1図のような動作をさせようとすれば、あらかじめ印字
データの転送順を工夫しなければならない。すなわち、
3行分の印字データが印字ヘッドに供給された後に、重
ね打ち用の3行分の印字データを供給する必要がある。"Problems to be Solved by the Invention" However, the first problem is that the print head 12 shown in FIG.
In order to perform the operation as shown in Figure 1, the order in which print data is transferred must be determined in advance. That is,
After three lines of print data are supplied to the print head, it is necessary to supply three lines of print data for overprinting.
第8図のような印字ヘッド12を使って第10図で説明
したような重ね打ち印字をする装置の場合、1行分の印
字データのすぐ次にその上に重ね打ちする印字データが
続く。従って、3行分の印字データを重ね打ち用の印字
データと区別して適当に並べかえた後印字ヘッドに供給
する等、比較的複雑な処理を必要とする。In the case of an apparatus that uses the print head 12 as shown in FIG. 8 to perform overprint printing as described in FIG. 10, one line of print data is immediately followed by overprint data. Therefore, relatively complicated processing is required, such as distinguishing the print data for three lines from the print data for overprinting, appropriately rearranging the data, and then supplying the data to the print head.
しかも、第12図に示すように、3行分のデータの中で
、重ね打ちの必要な行が1行しかないような場合が多い
と、このような高速印字用の印字ヘッドを使用した利点
を損なってしまう。Moreover, as shown in Figure 12, when there is often only one line that requires overprinting out of three lines of data, the advantage of using such a print head for high-speed printing is will be damaged.
本発明は、以上の点に着目してなされたもので、複数行
の文字列を一括して印字できる印字ヘッドの利点を生か
したプリンタ制御装置を提供することを目的とするもの
である。The present invention has been made with attention to the above points, and an object of the present invention is to provide a printer control device that takes advantage of a print head that can print multiple lines of character strings at once.
「問題点を解決するための手段」
本発明のプリンタ制御装置は、印字すべき文字列に添っ
てこの文字列の方向に移動しながら複数行の文字列を一
括して印字する印字ヘッドと、この印字ヘッドに供給す
る複数行の印字に要する印字データを格納する記憶手段
と、重ね打ち用の印字データが入力したときこの印字デ
ータと記憶手段に格納した印字データとを合成して、こ
の記憶手段に格納したデータを更新する合成手段とを備
えたことを特徴とするものである。"Means for Solving the Problems" The printer control device of the present invention includes a print head that prints multiple lines of character strings at once while moving in the direction of the character string to be printed; A memory means for storing the print data required for printing multiple lines to be supplied to the print head, and when the print data for overprinting is input, this print data and the print data stored in the memory means are combined and the memory is stored. The apparatus is characterized by comprising a synthesis means for updating data stored in the means.
この合成手段には例えば更新されるべき印字データを格
納する前データ保持用メモリと、重ね打ち用の印字デー
タを格納する現データ保持用メモリと、前データ保持用
メモリおよび現データ保持用メモリに格納された印字デ
ータを合成するゲートを設ける。This synthesis means includes, for example, a previous data holding memory that stores print data to be updated, a current data holding memory that stores print data for overprinting, and a previous data holding memory and a current data holding memory. A gate is provided to synthesize the stored print data.
1作用」
本発明のプリンタ制御装置は、例えば第11図に示した
ように、1回目と2回目の印字動作を2回に分けて行わ
ず、あらかじめ記憶手段の中で印字データを合成して、
1回で一挙に重ね打ち印字を行ってしまう。1. As shown in FIG. 11, for example, the printer control device of the present invention does not perform the first and second printing operations in two steps, but rather combines the printing data in the storage means in advance. ,
Overlapping printing is performed in one go.
このため、複数行一括印字による高速性を保つことがで
きる。しかも、添字付きの文字等を文字パターンとして
メモリ内に記憶しておく必要もない。Therefore, it is possible to maintain high speed by printing multiple lines at once. Moreover, there is no need to store subscripted characters and the like as character patterns in the memory.
「実施例」
(ブロックの説明)
第1図は本発明のプリンタ制御装置の実施例を示すブロ
ック図である。"Embodiment" (Block Description) FIG. 1 is a block diagram showing an embodiment of a printer control device of the present invention.
図において、共通バス20には、マイクロプロセッサ2
1、制御用メモリ22、フォント(FONT)メモリ2
3、記憶手段24、合成手段25、アドレスカウンタ2
日およびインターフェース(1/F)27と記憶部28
とが接続されている。In the figure, the common bus 20 includes a microprocessor 2
1. Control memory 22, FONT memory 2
3. Storage means 24, composition means 25, address counter 2
day and interface (1/F) 27 and storage section 28
are connected.
共通ハス20は、データバス、アドレスバスその他の制
御線を含むものを一体として図示した。The common bus 20 is shown integrally including a data bus, an address bus, and other control lines.
マイクロプロセッサ21は、この装置へ外部装置からイ
ンターフェース27を介して入力する印字データの受信
処理および、印字データの記録部28への転送処理等を
制御する既知の集積回路等から構成される。The microprocessor 21 is composed of a known integrated circuit or the like that controls the reception process of print data inputted to this apparatus from an external device via the interface 27, the transfer process of the print data to the recording section 28, and the like.
制御用メモリ22は、マイクロプロセッサ21の動作手
順を示すプログラムが格納されたリード・オンリ・メモ
リ(ROM)等から成る素子により構成される。The control memory 22 is constituted by an element such as a read-only memory (ROM) in which a program indicating the operating procedure of the microprocessor 21 is stored.
フォント・メモリ23は、インターフェース27から入
力した文字コードをもとに文字パターンに対応する印字
データを出力するメモリ素子で、例えばJIS(日本工
業規格)の第1水準や第2水準として定められた所定の
1群の文字パターンを記憶したものである。The font memory 23 is a memory element that outputs print data corresponding to a character pattern based on the character code input from the interface 27, and is a memory element that outputs print data corresponding to a character pattern based on the character code input from the interface 27. It stores a predetermined group of character patterns.
記憶手段24は、本実施例では、3行分の文字列の文字
パターンに相当する印字データを一時的に格納するラン
ダム・アクセス・メモリ(RAM)等から成る素子であ
る。以後図面等に右いてこの素子をバンドバッファある
いはバッファと称することにする。In this embodiment, the storage means 24 is an element such as a random access memory (RAM) that temporarily stores print data corresponding to character patterns of three lines of character strings. Hereinafter, this element will be referred to as a band buffer or buffer in the drawings.
記録部28は、この記憶手段24に格納された印字デー
タをアドレスカウンタ26の指定するアドレス順に受は
入れて、第9図に示したような、3行一括の印字を行う
印字ヘッドを有する既知の記録装置である。The recording unit 28 receives the print data stored in the storage means 24 in the order of addresses designated by the address counter 26, and uses a known print head that prints three lines at once as shown in FIG. It is a recording device.
合成手段25は、記憶手段24に格納された印字データ
を、次に入力してくる重ね打ち用の印字データと合成し
て、再びこの記憶手段24に格納する動作を行うもので
ある。The composition means 25 performs the operation of combining the print data stored in the storage means 24 with the next inputted print data for overprinting, and storing the data in the storage means 24 again.
第2図は、この合成手段25の詳細なブロック図と、そ
の周辺ブロックを示したものである。FIG. 2 shows a detailed block diagram of this synthesizing means 25 and its peripheral blocks.
この実施例では、合成手段25は、現データ保持用メモ
リ25. と前データ保持用メモリ252および、こ
れらに格納された印字データの出力を制御するフリップ
フロップ25.とアンドゲート254およびオアゲー)
25s とから構成されている。上記前データ保持用
メモリ252および現データ保持用メモリ25.は、い
ずれも第1図で示した記録部28に設けられた印字ヘッ
ドの1回分の印字動作のために必要なビット数のデータ
を格納するラッチ回路等で構成されている。In this embodiment, the combining means 25 includes a current data holding memory 25. and a previous data holding memory 252, and a flip-flop 25 for controlling the output of print data stored therein. and and gate 254 and or game)
It consists of 25s. The previous data holding memory 252 and the current data holding memory 25. Each of them is composed of a latch circuit or the like that stores data of the number of bits necessary for one printing operation of the print head provided in the recording section 28 shown in FIG.
(動作原理)
以上の構成の本発明のプリンタ制御装置は次のように動
作する。(Operating Principle) The printer control device of the present invention having the above configuration operates as follows.
まず、マイクロプロセッサ21が外部の通信線あるいは
コンビ二一夕等から、インターフェース27を介して、
所定の文字コードから成るデータを受は入れる。この文
字コードに基づいて、フォント・メモリ23から文字パ
ターンが読み出される。First, the microprocessor 21 connects to an external communication line or a convenience store via the interface 27.
Accepts data consisting of a predetermined character code. A character pattern is read from the font memory 23 based on this character code.
第3図は、゛この合成手段の動作原理の説明図である。FIG. 3 is an explanatory diagram of the operating principle of this synthesis means.
ここで、マイクロプロセッサに、文字「C」に対応する
文字コードが入力したとする。フォント・メモリ23は
、8×8ドツトマトリツクスの印字データ31をバンド
バッファ24に対して出力。Now, assume that a character code corresponding to the character "C" is input to the microprocessor. The font memory 23 outputs 8×8 dot matrix print data 31 to the band buffer 24.
する。バンドバッファ24はこの印字データ31をその
まま格納し、更に続いて入力する文字パターンを次々と
格納して、文字列1行分の印字データを格納する。do. The band buffer 24 stores this print data 31 as it is, and also stores character patterns to be input one after another, thereby storing print data for one line of character strings.
重ね打ち印字が無い場合、1行分の印字デー″りの最後
にCRとLFの制御データが入力する。そして、重ね打
ち印字を行う場合には、CRの制御データのみが入力し
、合成手段25が動作を開始する。If there is no overprint printing, the control data for CR and LF is input at the end of one line of printing data.When overprinting is performed, only the control data for CR is input, and the combining means 25 starts operating.
まず、1行の最初に入力した文字コードに対応する印字
データのうち、最初の8ビツト分331が現データ保持
用メモリ251 に格納される。そして、これと全く同
一のタイミングで、既にバンドバッファ24に格納され
ている印字パターン33の最初の8ビツト分の印字デー
タ24.が前データ保持用メモリ252に格納される(
このケースは図示゛していない)。なお、この実施例の
場合、印字ヘッドの文字1行についての1回分の印字は
8ビツトであるから現データ保持用メモリ251および
前データ保持用メモリ252は8ビツトのメモリで構成
される。First, the first 8 bits 331 of the print data corresponding to the first input character code of one line are stored in the current data holding memory 251. Then, at exactly the same timing, the first 8 bits of print data 24. of the print pattern 33 already stored in the band buffer 24. is stored in the previous data holding memory 252 (
This case is not shown). In the case of this embodiment, since one print of one line of characters by the print head is 8 bits, the current data holding memory 251 and the previous data holding memory 252 are constituted by 8 bit memories.
アンドゲート25.t−!、フリップフロップ253か
らの出力が“1”のときはゲートを開き、“0″のとき
はゲートを閉じるよう作用する。フリ・ノブフロップ2
53は、重ね打ち印字のときのみ“1”になるよう、マ
イクロプロセッサ21(第1図)によって制御される。ANDGATE 25. T-! , when the output from the flip-flop 253 is "1", the gate is opened, and when it is "0", the gate is closed. free knob flop 2
53 is controlled by the microprocessor 21 (FIG. 1) so that it becomes "1" only during overprint printing.
従って第2図を見てわかるようにフリップフロップが“
0”のときは、印字データは、フォント・メモリ23か
ら現データ保持用メモ’J25. とオアゲート25
.を経て直接バンドバッファ24に入力することになる
。Therefore, as you can see from Figure 2, the flip-flop is “
0", the print data is transferred from the font memory 23 to the current data holding memo 'J25.' and the OR gate 25.
.. The signal is directly input to the band buffer 24 via the .
さて、第3図のように、バンドバッファ24に格納され
た印字データのうち、上から第5番目の8ビツトの印字
データ242が前データ保持用メモリ252に格納され
、フォント・メモリ23から現在入力中の第5番目の重
ね打ち用の印字データ332が現データ保持用メモ!I
25. に格納されたとする。Now, as shown in FIG. 3, among the print data stored in the band buffer 24, the fifth 8-bit print data 242 from the top is stored in the previous data holding memory 252, and the current data is transferred from the font memory 23. The fifth print data 332 for overprinting that is being input is a memo for holding the current data! I
25. Suppose that it is stored in .
このとき、アンドゲート25.は開放状態にあるから、
両印字データがオアゲート25.に入力して、合成され
た印字データ32が得られる。At this time, AND gate 25. is in an open state, so
Both print data is OR gate 25. , the combined print data 32 is obtained.
このタイミングで、同一のアドレスを指定したまま、バ
ンドバッファ24に図示しない書き込みイネーブル信号
が送られ、この印字データ32が書き込まれる。こうし
て更新された印字データは、第10図に示した「C」と
rIJとが合成された文字に対応するものとなる。At this timing, a write enable signal (not shown) is sent to the band buffer 24 while specifying the same address, and this print data 32 is written. The print data thus updated corresponds to the character shown in FIG. 10 in which "C" and rIJ are combined.
この文字に続く同じ行に含まれる他の文字についても、
同様の合成処理と更新が行われる。この処理は印字ヘッ
ドの印字動作に比べてきわめて短時間に行われるので、
この処理のために印字時間が従来より長くなるというこ
とはない。For other characters on the same line that follow this character,
Similar compositing processing and updating is performed. This process is performed in an extremely short time compared to the printing operation of the print head, so
This process does not cause the printing time to become longer than before.
このようにして更新された印字データは、バンドバッフ
ァ24から3行分すなわち、8X3ビツトずつ印字ヘッ
ドに転送されて印字が行われる。The print data updated in this manner is transferred from the band buffer 24 to the print head in units of three lines, that is, 8×3 bits, and is printed.
この動作については後で第5図を用いて説明する。This operation will be explained later using FIG. 5.
(フローチャート)
本発明のプリンタ制御装置における合成手段は、上記の
ように動作するが、マイクロプロセッサは第4図に示し
たようなフローに従ってこれを制御する。このフローに
対応するプログラムが、第1図の制御用メモリ22格納
されている。(Flowchart) The composition means in the printer control device of the present invention operates as described above, and the microprocessor controls this according to the flow shown in FIG. A program corresponding to this flow is stored in the control memory 22 shown in FIG.
まず、インターフェース27(第1図)を介してコード
が入力する(ステップ■)と、文字コードか制御コード
かの判定を行う(ステップ■)。First, when a code is input via the interface 27 (FIG. 1) (step 2), it is determined whether it is a character code or a control code (step 2).
入力したコードが文字コードの場合、フォント・メモリ
23(第1図)を読み出して文字パターンデータを得る
(ステップ■)。そして、フリップフロップ25.が“
0”か“1”かの判定を行い(ステップ■)、”0’な
らばいまフォント・メモリから読み出した文字パターン
データのバンドバッファ24(第1図)への書き込みを
行う。フリップフロップ25りが“1”ならばバンドバ
ッファ24内の印字データを読み出しくステップ■)、
第3図で説明した合成処理(ステップ■)を行った後、
更新データをバンドバッファ内に書き込む(ステップ■
)。文字列1行分の印字データの後には必ずCRのみか
あるいはCRとLFとが続いて入力する。その判定(ス
テップ■)によって、CRのみが入力した場合はフリッ
プフロップを“1”にし、CRとLFとが入力した場合
はフリツブフロップを“0”にして(ステップ0または
0)、バッファアドレスを初期化(ステップ■)する。If the input code is a character code, the font memory 23 (FIG. 1) is read to obtain character pattern data (step 2). And flip-flop 25. but"
It is determined whether it is "0" or "1" (step 2), and if it is "0", the character pattern data just read from the font memory is written into the band buffer 24 (FIG. 1). If the flip-flop 25 is "1", read the print data in the band buffer 24;
After performing the synthesis process (step ■) explained in Fig. 3,
Write the updated data into the band buffer (step ■
). After one line of character string print data, only CR or CR and LF are always input successively. Based on the judgment (step ■), if only CR is input, the flip-flop is set to "1", and if CR and LF are input, the flip-flop is set to "0" (step 0 or 0), and the buffer address is Initialize (step ■).
この初期化とは、直前にバッファメモリに書き込んだ行
の最初のアドレスにセットすることを意味する。This initialization means setting the address to the first address of the line written to the buffer memory immediately before.
第3図で説明した8ビツト分の印字データがこれらのス
テップでバンドバッファ24に書き込まれ、次にバンド
バッファ24のアドレスをカウントアツプする(ステッ
プ0)。そして、次々に印字データを書き込んで、3行
分の印字データが入力し、重ね打ち処理中でないことを
判定した後(ステップ0と@)、印字動作に移る。The 8-bit print data explained in FIG. 3 is written to the band buffer 24 in these steps, and then the address of the band buffer 24 is counted up (step 0). Then, print data is written one after another, three lines of print data have been input, and after it is determined that overprinting processing is not in progress (steps 0 and @), the printing operation begins.
(印字動作)
以上のようなフローに従って本発明のプリンタ制御装置
が動作するが、例えば1字分32X32ビツトのドツト
マトリックスで印字を行う場合の例を第5図を用いて説
明する。(Printing Operation) The printer control device of the present invention operates according to the flow described above, and an example of printing in a 32×32 bit dot matrix for one character will be described with reference to FIG.
バンドバッファ24には、3個のメモリブロック24.
〜243が設けられ、メモリブロック24、には第1行
目の印字データが格納され、メモリブロック242、メ
モリブロック243には同様にして第2、第3行目の印
字データが格納されている。印字動作開始後は、各メモ
リブロックから32ピツトずつ印字ヘッド41に対して
印字データ42.〜423が転送される。そして各行間
に相当する部分には、8ビツトずつのスペースデータ4
2.が供給され、合計120画素ずつ1回ずつ印字をく
り返し、第9図に示したような3行一括の印字が行われ
る。The band buffer 24 includes three memory blocks 24.
243 are provided, and the memory block 24 stores the print data of the first line, and the memory block 242 and the memory block 243 similarly store the print data of the second and third lines. . After the printing operation starts, print data 42. ~423 are transferred. In the area corresponding to between each line, 8-bit space data 4
2. is supplied, and printing is repeated once for a total of 120 pixels, thereby printing three lines at once as shown in FIG. 9.
先に説明したように、例えばメモリブロック242 と
243には既に重ね打ち用の合成した印字データが格納
されているので、従来の印字ヘッドと同様に1回のスキ
ャンで第5図に示したような合成された文字の印字を行
うことができる。As explained earlier, for example, the memory blocks 242 and 243 have already stored the combined print data for overprinting, so the print data as shown in FIG. It is possible to print composite characters.
「変形例」
上記実施例に示したバンドバッファは、いずれも、第3
図に示したように文字1字を画素のマトリックスに分解
したときその縦一部分をパラレル処理できるものであっ
た。“Modification” The band buffers shown in the above embodiments all have a third
As shown in the figure, when a character is decomposed into a matrix of pixels, a vertical portion of the character can be processed in parallel.
しかし、32X32ビツト構成の文字パターンを扱う場
合、32ピツトの印字データのパラレル処理は回路設計
上必ずしも得策でない。However, when handling a character pattern with a 32x32 bit configuration, parallel processing of 32-pit print data is not necessarily a good idea in terms of circuit design.
そこで第6図に示すように、フォント・メモリの1字分
の文字パターンを、1行8ビツトの単位(1,2,3、
・・・・・・8、・・・・・・)に区画して、第6図に
ナンバリングを行った順で8ビツトずつ読み出すように
してもよい。この印字データは、第7図に示すようにバ
ンドバッファ24中に8ビツトずつ順に格納される。Therefore, as shown in Figure 6, the character pattern for one character in the font memory is stored in units of 8 bits per line (1, 2, 3,
. . . 8, . . . ) and read out 8 bits at a time in the order of numbering shown in FIG. This print data is sequentially stored in the band buffer 24 in 8-bit units as shown in FIG.
印字動作時には、印字ヘッドに対して8ビツトずつ4回
で1文字分の印字データを転送し続いて第5図で説明し
たようなスペースデータを転送し、同様にして残りの2
行分の印字データを転送するようにする。このようにす
ればメモリ構成やデータ伝送路を安価に構成することが
できる。During printing, one character's worth of print data is transferred to the print head four times in 8-bit increments, then space data as explained in Figure 5 is transferred, and the remaining two are transferred in the same way.
Transfers print data for a line. In this way, the memory configuration and data transmission path can be configured at low cost.
「発明の効果」
以上説明した本発明のプリンタ制御装置は、複数行が一
括印字できる印字ヘッドを用いて、合成された文字の印
字を高速で行うことができる。"Effects of the Invention" The printer control device of the present invention described above can print composite characters at high speed using a print head that can print multiple lines at once.
しかも、従来1行ずつ印字していた印字ヘッドに供給し
たと同様の印字データをそのまま処理することができる
ので、複雑なデータ処理回路等を必要とせず、また添字
付きの文字等を文字パターンとして記憶しておく大量の
メモリを必要としない。Moreover, since it is possible to process the same print data as it is supplied to the print head, which conventionally prints one line at a time, there is no need for complex data processing circuits, and characters with subscripts can be used as character patterns. Does not require large amounts of memory to store.
第1図は本発明のプリンタ制御装置の概要を表わすブロ
ック図、第2図はその合成手段の具体的なブロック図、
第3図はこの合成手段の動作原理を示す説明図、第4図
は本発明のプリンタ制御装置の動作のフローチャート、
第5図は印字動作の説明図、第6図は本発明のプリンタ
制御装置に使用する記憶手段の他の構成を説明する説明
図、第7図はそのメモリ構成図、第8図は従来の印字ヘ
ッドの印字動作説明図、第9図は本発明の実施に適する
印字ヘッドの印字動作説明図、第10図〜第12図は重
ね打ちの動作の説明図である。
11・・・・・・文字列、
12・・・・・・印字ヘッド、
25・・・・・・合成手段、
25、・・・・・・現データ保持用メモリ、25□・・
・・・・前データ保持用メモリ、25、・・・・・・ゲ
ート。
出 願 人 富士ゼロックス株式会社代 理 人
弁理士 山 内 梅 雄第 1 図
第2図
第3図
菓5図
第6図 第7図
第8図 第9図
第10図
囚・ロー囚
ロ十ロー田
昆11図
第12図FIG. 1 is a block diagram showing an overview of the printer control device of the present invention, and FIG. 2 is a specific block diagram of its synthesizing means.
FIG. 3 is an explanatory diagram showing the operating principle of this synthesis means, and FIG. 4 is a flowchart of the operation of the printer control device of the present invention.
5 is an explanatory diagram of the printing operation, FIG. 6 is an explanatory diagram illustrating another configuration of the storage means used in the printer control device of the present invention, FIG. 7 is a memory configuration diagram thereof, and FIG. 8 is an explanatory diagram of the conventional printer control device. FIG. 9 is an explanatory diagram of the printing operation of the print head suitable for carrying out the present invention, and FIGS. 10 to 12 are explanatory diagrams of the overprinting operation. 11...Character string, 12...Print head, 25...Composition means, 25,...Memory for holding current data, 25□...
...Memory for holding previous data, 25, ...Gate. Applicant Fuji Xerox Co., Ltd. Agent Patent Attorney Ume Yu Yamauchi 1 Figure 2 Figure 3 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Prisoner/Rho Prisoner Rojuro Takun 11 Figure 12
Claims (1)
しながら複数行の文字列を一括して印字する印字ヘッド
と、この印字ヘッドに供給する前記複数行の印字に要す
る印字データを格納する記憶手段と、重ね打ち用の印字
データが入力したときこの印字データと前記記憶手段に
格納した印字データとを合成して、この記憶手段に格納
したデータを更新する合成手段とを備えたことを特徴と
するプリンタ制御装置。 2、合成手段は、更新されるべき印字データを格納する
前データ保持用メモリと、重ね打ち用の印字データを格
納する現データ保持用メモリと、前記前データ保持用メ
モリおよび現データ保持用メモリに格納された印字デー
タを合成するゲートを有することを特徴とする特許請求
の範囲第1項記載のプリンタ制御装置。[Claims] 1. A print head that prints multiple lines of character strings at once while moving in the direction of the character string to be printed; and A storage means for storing print data necessary for printing, and when print data for overprinting is input, this print data and the print data stored in the storage means are combined to update the data stored in the storage means. A printer control device characterized by comprising a composition means. 2. The combining means includes a previous data holding memory that stores print data to be updated, a current data holding memory that stores print data for overprinting, and the previous data holding memory and current data holding memory. 2. The printer control device according to claim 1, further comprising a gate for synthesizing print data stored in the printer control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4196485A JPS61202854A (en) | 1985-03-05 | 1985-03-05 | Printer controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4196485A JPS61202854A (en) | 1985-03-05 | 1985-03-05 | Printer controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61202854A true JPS61202854A (en) | 1986-09-08 |
Family
ID=12622870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4196485A Pending JPS61202854A (en) | 1985-03-05 | 1985-03-05 | Printer controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61202854A (en) |
-
1985
- 1985-03-05 JP JP4196485A patent/JPS61202854A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4435792A (en) | Raster memory manipulation apparatus | |
US4543644A (en) | Control circuit for matrix-driven recording | |
JPS61206663A (en) | Printing method in thermal printer | |
JPS58191166A (en) | Thermal line printer | |
JPS6133711B2 (en) | ||
US5079739A (en) | Apparatus and method for converting bit-mapped data from row orientation to column or orientation | |
JPS61202854A (en) | Printer controller | |
US4935897A (en) | Semiconductor memory device suitable for use as a dot image buffer for a printer | |
US5233365A (en) | Dot-matrix printer having interchangeable line head and moving head technologies | |
JPS59119440A (en) | Print control system | |
JP2834738B2 (en) | Printing equipment | |
EP0581515B1 (en) | Dot generator for matrix print head | |
JPH0616764Y2 (en) | Dot matrix printer | |
JP2617252B2 (en) | Printer | |
JP2564513B2 (en) | Printer control device | |
JPS6137441A (en) | High-speed printing processing system of dot printer | |
JPS6016676B2 (en) | Character pattern information storage method in dot printer | |
JPH082024A (en) | Printer | |
JP2757986B2 (en) | Print control device for serial dot printer | |
JP2734140B2 (en) | Serial printer | |
JPS61175049A (en) | Printing control device | |
JPH0647301B2 (en) | Charactor pattern generator | |
JPS5933586A (en) | Print control system | |
JPS58211463A (en) | printer | |
JPH06124077A (en) | Information processing equipment |