JP3115777B2 - Serial recording device - Google Patents

Serial recording device

Info

Publication number
JP3115777B2
JP3115777B2 JP31476394A JP31476394A JP3115777B2 JP 3115777 B2 JP3115777 B2 JP 3115777B2 JP 31476394 A JP31476394 A JP 31476394A JP 31476394 A JP31476394 A JP 31476394A JP 3115777 B2 JP3115777 B2 JP 3115777B2
Authority
JP
Japan
Prior art keywords
information
print
printing
print information
head
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 - Fee Related
Application number
JP31476394A
Other languages
Japanese (ja)
Other versions
JPH08169141A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP31476394A priority Critical patent/JP3115777B2/en
Publication of JPH08169141A publication Critical patent/JPH08169141A/en
Application granted granted Critical
Publication of JP3115777B2 publication Critical patent/JP3115777B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Ink Jet (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はシリアル記録装置に関
し、特に印刷情報を分割して記録媒体に印刷するシリア
ル記録装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial recording apparatus, and more particularly to a serial recording apparatus for dividing print information and printing the divided print information on a recording medium.

【0002】[0002]

【従来の技術】従来、固有の幅を持った記録ヘッドを用
いて、ホスト装置から送られる印刷情報を受け取って記
録ヘッドの走査と紙送りとを繰り返して記録媒体に印刷
を行うシリアル記録装置においては、ホスト装置から送
られる印刷情報を1行分記憶しておき、ホスト装置から
印字開始命令が送られたときには印刷を開始し、紙送り
命令が送られたときにはそれまでに受け取った印刷情報
の印刷を完了した後に紙送りを実行するという処理を行
っていた。また拡大文字などで記録ヘッドの幅に収まら
ない印刷イメージの印刷を行う際には、記録ヘッドの上
方向または下方向にはみ出した部分は、それぞれ記録ヘ
ッドの上下に逆方向または正方向の紙送りを実行しては
み出した部分を印刷し、最終的に元の記録ヘッド位置に
戻るという処理を行っていた。
2. Description of the Related Art Conventionally, in a serial recording apparatus which uses a recording head having a specific width to receive print information sent from a host device and repeat scanning of the recording head and paper feeding to print on a recording medium. Stores printing information sent from the host device for one line, starts printing when a printing start command is sent from the host device, and prints printing information received up to that time when a paper feeding command is sent. A process of executing paper feed after printing is completed has been performed. When printing a print image that does not fit within the width of the recording head due to enlarged characters, the portion of the recording head that protrudes upward or downward is fed up or down in the reverse direction or forward direction of the recording head, respectively. And prints the protruding portion, and finally returns to the original recording head position.

【0003】図12は従来例の印刷処理によって印刷さ
れた文字の状態を示す図である。図12においては、1
80dpiで記録ヘッドの幅が24ドットのワイヤドッ
トプリンタで縦30ドットを必要とするブロックグラフ
ィックキャラクタの縦倍文字(縦60ドットを必要とす
る)を3文字づつ24/180インチ改行を行いながら
3行印字する場合を示している。このときの処理の流れ
は以下のようになる。 (1)1行分の3文字の印刷情報を受け取って、縦倍属
性と共に記憶する。 (2)24/180インチ改行命令を受け取ったところ
で、以下の(3)〜(7)の動作によって1行目の印字
を実行する。 (3)24/180インチの逆改行を行った後に、上方
にはみ出した20ドット分を印字する(図12中[1]
の部分)。ここで、逆方向の紙送りが1回、ヘッドの走
査が1回行われる。 (4)24/180インチの改行を行った後に、記録ヘ
ッドの幅の24ドット分を印字する(図12中[2]の
部分)。ここで、紙送りが1回、ヘッドの走査が1回行
われる。 (5)24/180インチの改行を行った後に、下方に
はみ出した16ドット分を印字する(図12中[3]の
部分)。ここで、紙送りが1回、ヘッドの走査が1回行
われる。 (6)24/180インチの逆改行を行って、記録ヘッ
ドを元の位置に戻す。ここで、逆方向の紙送りが1回行
われる。 (7)(2)で受け取った24/180インチ改行命令
を実行する。ここで、紙送りが1回行われる。 (8)(1)〜(7)の処理を2回繰り返して、図12
中[4]〜[6]および[7]〜[9]の印字を行う。
FIG. 12 is a diagram showing a state of characters printed by a conventional printing process. In FIG. 12, 1
Using a wire dot printer with a recording head width of 24 dots at 80 dpi, a vertically double character (requiring 60 dots vertically) of a block graphic character that requires 30 dots vertically while performing a line feed 24/180 inches by 3 characters at a time. This shows the case of line printing. The processing flow at this time is as follows. (1) The print information of three characters for one line is received and stored together with the vertical double attribute. (2) When a 24/180 inch line feed command is received, printing of the first line is executed by the following operations (3) to (7). (3) After performing a 24/180 inch reverse line feed, print the 20 dots protruding upward ([1] in FIG. 12).
Part). Here, the paper is fed once in the reverse direction and the head is scanned once. (4) After a line feed of 24/180 inches is performed, printing is performed for 24 dots of the width of the recording head ([2] in FIG. 12). Here, one paper feed and one head scan are performed. (5) After a line feed of 24/180 inches is performed, 16 dots protruding downward are printed (portion [3] in FIG. 12). Here, one paper feed and one head scan are performed. (6) Perform a 24/180 inch reverse line feed to return the recording head to its original position. Here, paper feeding in the reverse direction is performed once. (7) Execute the 24/180 inch line feed command received in (2). Here, paper feeding is performed once. (8) By repeating the processing of (1) to (7) twice, FIG.
Medium [4] to [6] and [7] to [9] are printed.

【0004】このような処理を行っているので、印刷の
順番は図12中の[1]〜[9]のような順番となり、
全ての印刷を完了するのに要する記録ヘッドの走査回数
は9回、紙送りの回数は15回(内、逆方向への紙送り
が6回)となる。
Since such processing is performed, the order of printing is as shown in [1] to [9] in FIG.
The number of scans of the recording head required to complete all printing is nine, and the number of paper feeds is fifteen (of which six is paper feed in the reverse direction).

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記従来
例では、ホスト装置から既に送られた印刷情報を印刷し
た後に、記録媒体のより上方に印刷されるべき印刷情報
(以下、上位に位置する印刷情報と記述する)がホスト
装置から送られた場合や、記録ヘッドの幅を越える大き
さの拡大文字が指定された場合には、余分な紙送りや逆
方向への紙送りが頻繁に必要となり、また印刷に要する
記録ヘッドの走査回数も多くなるので、印刷速度におけ
るスループットの低下を招くばかりでなく、紙送りに高
い精度が要求されるので、装置構成が非常に複雑となり
コストの大幅な上昇を招いていた。
However, in the above conventional example, after printing the print information already sent from the host device, the print information to be printed above the recording medium (hereinafter, the print information located at a higher Is sent from the host device, or when an enlarged character exceeding the width of the recording head is specified, extra paper feed or paper feed in the reverse direction is frequently required. In addition, the number of scans of the recording head required for printing increases, which not only causes a decrease in throughput at printing speed, but also requires high precision in paper feeding, resulting in a very complicated apparatus configuration and a significant increase in cost. I was invited.

【0006】このような点に鑑み本発明は、印刷速度に
おけるスループットを向上し、コストダウンを可能とす
るシリアル記録装置を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the foregoing, it is an object of the present invention to provide a serial recording apparatus which can improve the throughput at the printing speed and can reduce the cost.

【0007】[0007]

【課題を解決するための手段】本発明のシリアル記録装
置は、ホスト装置から送られる印刷情報を、所定の幅を
備える記録ヘッドの走査方向に対して垂直な方向に分割
されている第1の印刷情報として受け取り、該記録ヘッ
ドの走査と紙送り方向に沿った記録媒体の紙送りとを行
って該第1の印刷情報を該記録ヘッドの走査方向に分割
して前記記録媒体に印刷を行うシリアル記録装置であ
り、前記紙送り方向における、前記記録ヘッドが位置す
前記記録媒体上の前記紙送り方向上の絶対位置を第2
の位置情報として記憶する実ヘッド位置カウンタと、
記紙送り方向における、前記第1の印刷情報が印刷され
前記記録媒体上の前記紙送り方向上の絶対位置を第3
の位置情報として記憶する仮想ヘッド位置カウンタと
前記ホスト装置から送られる印刷情報が示す文字データ
を記憶するための記憶手段と、前記ホスト装置から前記
紙送りの実行を示す命令が送られた場合には、前記紙送
りを行わずに前記仮想ヘッド位置カウンタに記憶される
位置情報を前記紙送りの量に従って更新し、前記ホスト
装置から送られる文字データを、前記文字データが前記
紙送り方向上において印刷される位置に対応させて前記
記憶手段に記憶させる制御手段と、を有し、前記制御手
段は、前記記録ヘッドによる印刷において、前記記録媒
体の紙送りに従って前記実ヘッド位置カウンタに記憶さ
れる位置情報の更新を行うとともに、前記文字データを
前記紙送り方向上の位置に対応させて前記記憶手段から
読み出し、前記記録ヘッドを走査して前記記録媒体に印
刷を行うことを特徴とする。
According to the present invention, there is provided a serial recording apparatus in which print information sent from a host device is divided in a direction perpendicular to a scanning direction of a recording head having a predetermined width. Receiving as print information, scanning of the recording head and paper feeding of the recording medium in the paper feeding direction are performed to divide the first print information in the scanning direction of the recording head to perform printing on the recording medium. A serial recording device, wherein an absolute position in the paper feeding direction on the recording medium where the recording head is located in the paper feeding direction is set to a second position.
And the actual head position counter for storing the position information of the front
The absolute position in the paper feed direction on the recording medium on which the first print information is printed in the paper feed direction is a third position.
A virtual head position counter for storing the position information of
Character data indicated by print information sent from the host device
Storage means for storing the
If an instruction to execute paper feeding is sent,
Stored in the virtual head position counter without performing
Updating the location information according to the paper feed amount;
The character data sent from the device is
According to the position to be printed in the paper feed direction,
Control means for storing in the storage means, the control means
The step is such that, in printing by the recording head, the recording medium
The actual head position counter is stored according to the paper feed of the body.
While updating the location information,
From the storage means, corresponding to the position in the paper feed direction
Read and scan the recording head to print on the recording medium.
Printing is performed.

【0008】記憶手段は、第1の印刷情報に第1の印刷
情報の文字データの属性情報を付加した第4の印刷情報
を所定の文字数ごとに所定の行数記憶する印刷情報記憶
手段と、第4の印刷情報のそれぞれに第3の位置情報を
付加して第5の印刷情報として、第5の印刷情報に第5
の印刷情報の行の属性情報を付加した第6の印刷情報を
所定の行数ごとに記憶する位置情報記憶手段とを有す
る。
[0008] The storage means includes a print information storage means for a first predetermined number of stored lines and the fourth printing information obtained by adding the attribute information of the character data for each predetermined number of print information to the first printing information, Third position information is added to each of the fourth print information, and the fifth print information is added to the fifth print information.
Position information storage means for storing, for each predetermined number of lines, sixth print information to which the attribute information of the line of the print information is added.

【0009】制御手段は、ホスト装置から送られる印刷
情報が紙送りを実行する命令である場合に、紙送りを実
行せずに仮想ヘッド位置カウンタに紙送りの量を加算し
て第3の位置情報を順次更新し、実際に紙送りを実行す
る際に、更新した第3の位置情報にしたがって第2の位
置情報を更新することができる。
When the print information sent from the host device is a command to execute the paper feed , the control means adds the paper feed amount to the virtual head position counter without executing the paper feed and sets the third position. The information is sequentially updated, and when actually performing paper feeding, the second position information can be updated according to the updated third position information.

【0010】制御手段は、ホスト装置から送られる印刷
情報が途切れたと判断されたとき、または改ページを実
行する命令を受け取ったと判断されたとき、または印刷
情報記憶手段に未使用領域がなくなったと判断されたと
き、または位置情報記憶手段に未使用領域がなくなった
と判断されたときに、第6の印刷情報を記録媒体に印刷
する処理を実行することができる。
The control means determines that the print information sent from the host device has been interrupted, or that it has received an instruction to execute a page break, or that the print information storage means has no unused area. The sixth print information is printed on the recording medium when the unused area has been exhausted in the position information storage means when it is determined that the unused area has been exhausted.
Can be executed .

【0011】制御手段は、第6の印刷情報を記録媒体に
印刷する処理が実行するときには、第6の印刷情報の中
から第3の位置情報が最小のものを選び出し、選び出し
た第6の印刷情報の第3の位置情報と第2の位置情報と
の差分の量の紙送りを実行し、紙送りの量を該第2の位
置情報に加算し、選び出した第6の印刷情報から印刷イ
メージを作成して印字する、という処理を繰り返すこと
ができる。
[0011] control means, sometimes the process for printing the sixth printing information on a recording medium is performed, the third position information from the sixth print information of picked out smallest, sixth printing was picked The paper is fed by the amount of the difference between the third position information and the second position information of the information, and the amount of paper feed is added to the second position information, and the print image is obtained from the selected sixth print information. Can be repeated.

【0012】このとき、制御手段は、第6の印刷情報の
中から第3の位置情報が最小のものを選び出すときに
は、第3の位置情報が最小である行が複数存在する場合
には、複数の行の第6の印刷情報を同時に印刷イメージ
に展開して1度に複数の行の第6の印刷情報の印刷処理
を実行することができる。
[0012] At this time, when selecting the one having the smallest third position information from the sixth print information , the control means, if there are a plurality of lines having the smallest third position information, a plurality of lines are set. And the print processing of the sixth print information of a plurality of lines can be executed at a time by developing the sixth print information of the line at the same time into a print image.

【0013】上記本発明のシリアル記録装置は、前記記
録ヘッドが、インク吐出用の熱エネルギを発生するため
の電気熱変換体を備えることができる。
[0013] In the serial recording apparatus of the present invention, the recording head may include an electrothermal converter for generating thermal energy for ink ejection.

【0014】このとき、上記本発明のシリアル記録装置
は、前記記録ヘッドが、前記電気熱変換体によって印加
される熱エネルギによって、インクに生ずる膜沸騰を利
用して吐出口よりインクを吐出させることができる。
In this case, in the serial recording apparatus according to the present invention, the recording head discharges the ink from the discharge port by using the film boiling generated in the ink by the thermal energy applied by the electrothermal transducer. Can be.

【0015】[0015]

【作用】本発明は、以下に示す作用を有する。 (1)実ヘッド位置カウンタと仮想ヘッド位置カウンタ
記憶手段と制御手段とを備え、ホスト装置から紙送り
命令が送られたときには紙送りの量を仮想ヘッド位置カ
ウンタに加算して第3の位置情報を更新し、ホスト装置
から印刷開始命令が送られるたびに印刷を実行するので
はなく、印刷情報を制御手段により記憶手段に記憶させ
ておくので、複数行分の印刷情報を記憶することが可能
となる。 (2)制御手段は、記録媒体の紙送りに従って実ヘッド
位置カウンタに記憶される位置情報の更新を行うととも
に、文字データを紙送り方向上の位置に対応させて、
数行分記憶した印刷情報を記憶手段から読み出し、記録
ヘッドを走査して記録媒体に印刷を行うので、印刷処理
の回数を減らすことが可能となる。 (3)複数行分記憶した印刷情報を常に上位に位置する
ものから印刷を行うので、記録ヘッドの幅を越える大き
さの拡大文字を印刷する場合や既に受け取った印刷情報
よりも上位に位置する印刷情報が後から送られた場合で
も、逆方向への紙送りを極力行うことなく印刷すること
が可能となる。 (4)複数行分記憶した印刷情報の中から印刷位置が同
じ位置である印刷情報を同時に印刷イメージに展開して
1度の印刷動作で複数行の印刷を終了するので、印刷に
要する記録ヘッドの走査回数を減らすことができる。 (5)以上のようなことから、印刷速度におけるスルー
プットが向上するばかりでなく、使用する記憶容量を減
らすことができ、また紙送りの装置構成を比較的簡単に
実現することができるので、コストダウンが可能とな
る。
The present invention has the following functions. (1) A real head position counter, a virtual head position counter, a storage unit, and a control unit. When a paper feed command is sent from the host device, the amount of paper feed is added to the virtual head position counter and the third position is calculated. Since the information is updated and the print information is stored in the storage unit by the control unit instead of executing the print every time the print start command is sent from the host device, it is possible to store the print information for a plurality of lines. It becomes possible. (2) The control means controls the actual head according to the paper feed of the recording medium.
Updating the position information stored in the position counter
Then, the print information stored for a plurality of lines is read out from the storage unit in accordance with the position of the character data in the paper feed direction , and recorded.
Since printing is performed on the recording medium by scanning the head, it is possible to reduce the number of printing processes. (3) Since print information stored for a plurality of lines is always printed starting from the uppermost position, printing of enlarged characters having a size exceeding the width of the recording head or higher position than the already received print information is performed. Even when the print information is sent later, printing can be performed without performing paper feeding in the reverse direction as much as possible. (4) Since print information having the same print position among print information stored for a plurality of lines is simultaneously developed into a print image and printing of a plurality of lines is completed in one printing operation, a recording head required for printing is used. Scan times can be reduced. (5) From the above, not only the throughput at the printing speed is improved, but also the storage capacity to be used can be reduced, and the paper feeding device configuration can be realized relatively easily, so that the cost is reduced. Down becomes possible.

【0016】[0016]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0017】[第1の実施例]図1は本発明の第1の実
施例におけるシリアル記録装置(図示例ではインクジェ
ット記録装置)の内部構成を示す斜視図、図2は図1の
電気的構成を示すブロック図である。
[First Embodiment] FIG. 1 is a perspective view showing the internal configuration of a serial recording apparatus (inkjet recording apparatus in the illustrated example) according to a first embodiment of the present invention, and FIG. 2 is an electrical configuration of FIG. FIG.

【0018】まず、図1の構成について説明する。ヘッ
ドカートリッジ10は、記録ヘッドHとインク供給源で
あるインクタンクとを一体としたものである。ヘッドカ
ートリッジ10は、押さえ部材11によってキャリッジ
12の上に固定されており、これらはシャフト13に沿
って長手方向に往復移動可能となっている。記録ヘッド
Hには、ケーブル16およびこれに結合する端子を介し
て適宜のデータ供給源から画像データに応じたインク吐
出信号が供給される。記録ヘッドHから吐出されたイン
クは、記録ヘッドHとの間に微小間隔を有し、かつプラ
テンローラ14によって記録面を規制された記録媒体1
5に到達し、画像を形成する。ヘッドカートリッジ10
は、用いるインク色等に応じて、1ないし複数個(図示
例では2個)を設けることができる。
First, the configuration of FIG. 1 will be described. The head cartridge 10 integrates a recording head H and an ink tank serving as an ink supply source. The head cartridge 10 is fixed on a carriage 12 by a holding member 11, and these can be reciprocated in a longitudinal direction along a shaft 13. The recording head H is supplied with an ink ejection signal corresponding to image data from an appropriate data supply source via a cable 16 and a terminal coupled thereto. The ink ejected from the recording head H has a minute interval with the recording head H, and the recording medium 1 whose recording surface is regulated by the platen roller 14.
5 and an image is formed. Head cartridge 10
One or more (two in the illustrated example) can be provided according to the ink color or the like to be used.

【0019】キャリッジモータ17はキャリッジ12を
シャフト13に沿って走査させ、記録ヘッドHを走査方
向に往復移動させる。ワイヤ18はキャリッジモータ1
7の駆動力をキャリッジ12に伝達する。また、フィー
ドモータ19はプラテンローラ14に結合して記録媒体
15を搬送させる。ホームポジション(以下、HPと記
述する)センサ20はキャリッジ12のHPを検出し、
例えばキャリッジ12がHPセンサ20よりも正方向
(図1においてはキャリッジモータ17側)にあるとき
にオフ状態となるように構成されている。
The carriage motor 17 scans the carriage 12 along the shaft 13, and reciprocates the recording head H in the scanning direction. The wire 18 is the carriage motor 1
7 is transmitted to the carriage 12. The feed motor 19 is coupled to the platen roller 14 to convey the recording medium 15. A home position (hereinafter referred to as HP) sensor 20 detects the HP of the carriage 12 and
For example, when the carriage 12 is located in the forward direction (the carriage motor 17 side in FIG. 1) with respect to the HP sensor 20, it is configured to be turned off.

【0020】次に図2の構成について図1と対応させて
説明する。ホスト装置21は印刷情報をキャリッジ12
の走査方向の1ライン毎に送出し、各ライン毎の印刷情
報を文字修飾命令や紙送り命令などとともにシリアル記
録装置1に送出する。MPU22はマイクロプロセッサ
などで構成され、シリアル記録装置1の制御を行う。R
OM23はMPU22の制御プログラムや後述する図6
ないし図8のフローチャートに示す制御手順、データな
どを格納する。タイマ24はMPU22の指示によって
計時を行い、指示された時間を計時するとMPU22に
割り込み信号を出力する。I/Oポート25は各種デー
タおよび制御信号の入出力を行う。イメージバッファメ
モリ26はホスト装置21から送出された印刷情報を少
なくとも記録ヘッドの記録素子分(例えば64ライン
分)格納する。記録ヘッドHはイメージバッファメモリ
26に作成された印刷イメージを印刷する。
Next, the configuration of FIG. 2 will be described with reference to FIG. The host device 21 sends the print information to the carriage 12
And print information for each line is sent to the serial recording device 1 together with a character modification command, a paper feed command, and the like. The MPU 22 is configured by a microprocessor or the like, and controls the serial recording device 1. R
The OM 23 is a control program for the MPU 22 and
The control procedure, data, and the like shown in the flowchart of FIG. The timer 24 measures time according to an instruction from the MPU 22, and outputs an interrupt signal to the MPU 22 when the instructed time is measured. The I / O port 25 inputs and outputs various data and control signals. The image buffer memory 26 stores the print information sent from the host device 21 for at least the print elements (for example, 64 lines) of the print head. The recording head H prints the print image created in the image buffer memory 26.

【0021】RAM27はワークエリアとして使用され
る記憶領域であり、RAM27内には、実ヘッド位置カ
ウンタ71と、仮想ヘッド位置カウンタ72と、コント
ロールポインタ73と、データポインタ74と、テキス
トコントロール部のバッファ領域75と、テキストデー
タ部のバッファ領域76とを有している。
The RAM 27 is a storage area used as a work area. The RAM 27 has a real head position counter 71, a virtual head position counter 72, a control pointer 73, a data pointer 74, and a buffer of a text control unit. It has an area 75 and a buffer area 76 for a text data section.

【0022】実ヘッド位置カウンタ71は、記録ヘッド
Hが実際に位置する記録媒体15の紙送り方向上の絶対
位置を記憶する。仮想ヘッド位置カウンタ72は、ホス
ト装置21から送られる記録ヘッドHの走査方向に対し
て垂直な方向に分割されている印刷情報が印刷される記
録媒体15の紙送り方向上の絶対位置を記憶する。コン
トロールポインタ73は、テキストコントロール部のバ
ッファ領域の中で現在選択されているテキストコントロ
ール部のナンバを格納しておく。データポインタ74
は、テキストデータ部のバッファ領域76の中で現在選
択されているテキストデータ部のナンバを格納する。テ
キストコントロール部のバッファ領域75は、テキスト
データ部のバッファ領域76に記憶されている印刷情報
とその文字の属性情報に、仮想ヘッド位置カウンタ72
に記憶されている記録媒体15の紙送り方向上の絶対位
置の情報を付加して、さらにその行の属性情報を付加し
て1行単位で記憶しておくための領域である。テキスト
データ部のバッファ領域76は、ホスト装置21から送
られる記録ヘッドHの走査方向に対して垂直な方向に分
割されている印刷情報とその文字の属性情報を1文字単
位で複数行分記憶しておくための領域である。
The real head position counter 71 stores the absolute position of the recording medium 15 where the recording head H is actually located in the paper feeding direction. The virtual head position counter 72 stores the absolute position in the paper feed direction of the recording medium 15 on which the print information divided in the direction perpendicular to the scanning direction of the recording head H sent from the host device 21 is printed. . The control pointer 73 stores the number of the text control section currently selected in the buffer area of the text control section. Data pointer 74
Stores the number of the text data part currently selected in the buffer area 76 of the text data part. The buffer area 75 of the text control section stores the print head and the attribute information of the character stored in the buffer area 76 of the text data section with the virtual head position counter 72.
Is added to the information of the absolute position of the recording medium 15 in the paper feed direction of the recording medium 15 stored therein, and furthermore, the attribute information of the line is added and the area is stored for each line. The buffer area 76 of the text data section stores print information divided from the host device 21 in a direction perpendicular to the scanning direction of the recording head H and attribute information of the characters for a plurality of lines in units of one character. This is the area to keep.

【0023】次に図3、図4、および図5を用いてホス
ト装置から送られてくる印刷情報を複数行分記憶してお
くためのバッファ領域の構成を説明する。
Next, the configuration of a buffer area for storing a plurality of lines of print information sent from the host device will be described with reference to FIGS. 3, 4, and 5. FIG.

【0024】図3は図2のテキストデータ部のバッファ
領域の1文字分の属性情報の構成を示す図である。図3
においては、文字属性を表わすアトリビュート情報(ア
トリビュート1ないし3)と、左スペース量と、フォン
トボックスサイズと、実展開ボックスサイズと、右スペ
ース量と、イメージバッファメモリ26への展開開始位
置と、文字のビットマップパターンが格納されているR
OM23上のフォント格納アドレスと、前の文字情報が
格納されているテキストデータ部のバッファ領域のアド
レスを示すポインタと、次の文字情報が格納されている
テキストデータ部のバッファ領域のアドレスを示すポイ
ンタとを有する構成となっている。それぞれの情報は、
フォント格納アドレスのみが4バイトで、他の情報はす
べて2バイトであり、全部で24バイトの情報となって
いる。第1の実施例では数百文字程度の文字情報を記憶
することができる領域を有している。
FIG. 3 is a diagram showing the structure of attribute information for one character in the buffer area of the text data portion of FIG. FIG.
, Attribute information (attributes 1 to 3) representing character attributes, left space amount, font box size, actual expansion box size, right space amount, expansion start position in image buffer memory 26, character R that stores the bitmap pattern of
A pointer indicating the font storage address on the OM 23, a pointer indicating the address of the buffer area of the text data section storing the previous character information, and a pointer indicating the address of the buffer area of the text data section storing the next character information. And a configuration having: Each information is
Only the font storage address is 4 bytes, and all other information is 2 bytes, for a total of 24 bytes. The first embodiment has an area in which character information of about several hundred characters can be stored.

【0025】図4は図2のテキストコントロール部のバ
ッファ領域の1行分の属性情報の構成を示す図である。
図4においては、行属性を表わすアトリビュート情報
と、その行を印字する際の紙送り方向上の絶対位置を示
す印字垂直位置と、次に印字する際のパス位置および印
字に要する残りパス数と、走査方向の印字開始位置と、
走査方向の印字終了位置と、テキストコントロール部に
登録(以下、リンクと記述する)されているテキストデ
ータ部の個数と、その行の先頭部の文字情報が格納され
ているテキストデータ部のポインタと、最後部の文字情
報が格納されているテキストデータ部のポインタとを有
する構成となっている。それぞれの情報はすべて2バイ
トであり、全部で16バイトの情報となっている。第1
の実施例では数十行程度の行情報を記憶する領域を有し
ている。
FIG. 4 is a diagram showing the structure of one line of attribute information in the buffer area of the text control unit of FIG.
In FIG. 4, attribute information indicating a line attribute, a printing vertical position indicating an absolute position in the paper feed direction when printing the line, a pass position for next printing, and the number of remaining passes required for printing are shown. , The printing start position in the scanning direction,
The print end position in the scanning direction, the number of text data sections registered in the text control section (hereinafter referred to as links), the pointer of the text data section storing the character information of the head of the line, and the like. , And a pointer to a text data section in which the last character information is stored. Each piece of information is 2 bytes, and is 16 bytes in total. First
Has an area for storing several tens of lines of line information.

【0026】図5は図2のテキストコントロール部のバ
ッファ領域とテキストデータ部のバッファ領域との関係
を示す図であり、ホスト装置21から送られる印刷情報
を10行分記憶した状態を表わしている。テキストコン
トロール部は新しい行情報の記憶を開始するときに新規
に割り当てられ、そこにテキストデータ部がリンクされ
ていく。テキストデータ部同士、またはテキストデータ
部とテキストコントロール部とは、図5に示すようにそ
れぞれの情報が格納されている領域のRAM27上のア
ドレスを示すポインタによってリンクされている。
FIG. 5 is a diagram showing the relationship between the buffer area of the text control section and the buffer area of the text data section in FIG. 2, and shows a state in which print information sent from the host device 21 is stored for 10 lines. . The text control section is newly assigned when the storage of new line information is started, and the text data section is linked thereto. As shown in FIG. 5, the text data portions or the text data portion and the text control portion are linked by a pointer indicating the address on the RAM 27 of the area where the respective information is stored.

【0027】次に図6、図7、および図8のフローチャ
ートを、図1および図2の構成に対応させて本発明の制
御の流れを説明する。図6および図7は、本発明の第1
の実施例における印刷情報を1行分記憶する処理の流れ
を示すフローチャートであり、図8は、図6および図7
において記憶した印刷情報を印刷する処理の流れを示す
フローチャートである。
Next, the control flow of the present invention will be described with reference to the flow charts of FIGS. 6, 7 and 8 corresponding to the configurations of FIGS. 6 and 7 show the first embodiment of the present invention.
FIG. 8 is a flowchart showing the flow of processing for storing one line of print information in the embodiment of FIG.
3 is a flowchart showing a flow of a process for printing the print information stored in the printer.

【0028】まず図6および図7を用いてホスト装置2
1からの印刷情報を1行分記憶する処理の流れを説明す
る。図6において、シリアル記録装置1の動作を開始さ
せると以下の処理を行う。初めに、MPU22、キャリ
ッジモータ17、およびフィードモータ19の初期化、
RAM27のクリア等の各種初期化を行う。次に、現在
選択されているテキストコントロール部のナンバを格納
しておくコントロールポインタ73に、テキストコント
ロール部が現在未選択であることを表わす0を格納す
る。さらに、記録ヘッドHが実際に位置する記録媒体1
5の紙送り方向上の絶対位置を記憶する実ヘッド位置カ
ウンタ71に0を格納する。また、ホスト装置21から
送られる記録ヘッドHの走査方向に対して垂直な方向に
分割されている印刷情報が印刷される記録媒体15の紙
送り方向上の絶対位置を記憶する仮想ヘッド位置カウン
タ72に0を格納する(S1)。
First, referring to FIG. 6 and FIG.
A flow of processing for storing the print information from one line for one line will be described. In FIG. 6, when the operation of the serial recording apparatus 1 is started, the following processing is performed. First, initialization of the MPU 22, the carriage motor 17, and the feed motor 19,
Various initializations such as clearing of the RAM 27 are performed. Next, "0" indicating that the text control unit is not currently selected is stored in the control pointer 73 which stores the number of the currently selected text control unit. Further, the recording medium 1 where the recording head H is actually located
0 is stored in the actual head position counter 71 that stores the absolute position in the paper feed direction of No. 5. Also, a virtual head position counter 72 for storing the absolute position in the paper feeding direction of the recording medium 15 on which the printing information divided in the direction perpendicular to the scanning direction of the recording head H sent from the host device 21 is printed. Is stored as 0 (S1).

【0029】次にホスト装置21からの印刷情報の受信
待ち状態となり(S2)、受信データが存在するか否か
を調べる(S3)。受信データが存在しない場合または
規定時間以上経過しても印刷情報が送られてこない場合
には、ホスト装置21から送られる文字情報を図3にお
いて説明した24バイトの情報として1文字単位で記憶
するための領域であるテキストデータ部のバッファ領域
76に、既に記憶されている印刷情報の印字処理を実行
する(S4)。受信データが存在する場合にはデータを
解析し(S5)、受信データが制御コマンドであるか否
か(S6)、または文字コードであるか否か(S7)を
調べる。
Next, the process waits for reception of print information from the host device 21 (S2), and checks whether or not there is received data (S3). If there is no received data or if print information has not been sent even after the specified time has elapsed, the character information sent from the host device 21 is stored in units of one character as the 24-byte information described in FIG. The printing process of the print information already stored in the buffer area 76 of the text data section, which is the area for the printing, is executed (S4). If the received data exists, the data is analyzed (S5), and it is checked whether the received data is a control command (S6) or a character code (S7).

【0030】S6において受信データが制御コマンドで
ある場合には、改ページコマンドであるか否かを調べる
(S8)。改ページコマンドである場合には、既に記憶
されている印刷情報の印字処理を実行する(S4)。改
ページコマンドでない場合には、CR(復改)、LF
(改行)、VT(垂直タブ)、ESC J(紙送り実
行)などの、従来は印字開始コマンドとされていたコマ
ンドであるか否かを調べる(S9)。印字開始コマンド
である場合には、印字を開始せずに印刷情報の現在記憶
中の行バッファへの格納を終了して、次回からの印刷情
報を新たな行バッファへ格納するための準備として、コ
ントロールポインタ73にテキストコントロール部が現
在未選択であることを表わす0を格納する(S10)。
さらに、コマンドが紙送りを伴うコマンドである場合に
は、実際には紙送りを行わずに仮想ヘッド位置カウンタ
72に紙送り量を加算して更新しておく(S11)。印
字開始コマンドでない場合には、S10およびS11の
処理は行わない。その後、各種コマンドに必要な処理を
行い(S12)、再びホスト装置21からの印刷情報の
受信待ち状態となる(S2)。
If the received data is a control command in S6, it is checked whether it is a page break command (S8). If the command is a page feed command, a print process of the print information already stored is executed (S4). If it is not a page break command, CR (return), LF
It is checked whether the command is a print start command such as (line feed), VT (vertical tab), ESC J (execute paper feed), etc. (S9). If the command is a print start command, the storage of the print information in the currently stored line buffer is terminated without starting printing, and as a preparation for storing the print information from the next time in a new line buffer, The value 0 indicating that the text control unit is not currently selected is stored in the control pointer 73 (S10).
Further, when the command is a command accompanied with paper feed, the paper feed amount is added to the virtual head position counter 72 and updated without actually performing the paper feed (S11). If it is not a print start command, the processes in S10 and S11 are not performed. After that, processing necessary for various commands is performed (S12), and the process waits for reception of print information from the host device 21 again (S2).

【0031】一方、S6において受信データが制御コマ
ンドでない場合には、文字コードであるか否かを調べる
(S7)。受信データが制御コマンドでも文字コードで
もない場合には、再びホスト装置21からの印刷情報の
受信待ち状態となる(S2)。文字コードである場合に
は、テキストデータ部のバッファ領域76の中から現在
未使用のテキストデータ部を探索し(S13)、未使用
のテキストデータ部が存在するか否かを調べる(S1
4)。未使用のテキストデータが存在しない場合には、
テキストデータ部のバッファ領域76に記憶されている
印刷情報の印字処理を実行して(S15)未使用領域を
確保した後に、再び未使用のテキストデータ部のバッフ
ァ領域76の探索を行う(S13)。未使用のテキスト
データ部が存在する場合には、探索によって取得したテ
キストデータ部のナンバをデータポインタに格納し、現
在使用中であることを示すために取得したテキストデー
タ部の使用中フラグをセットする(S16)。さらに図
3において説明した文字の属性情報をテキストデータ部
に格納する(S17)。
On the other hand, if the received data is not a control command in S6, it is checked whether it is a character code (S7). If the received data is neither a control command nor a character code, the process returns to a state of waiting for reception of print information from the host device 21 (S2). If it is a character code, a currently unused text data part is searched from the buffer area 76 of the text data part (S13), and it is checked whether an unused text data part exists (S1).
4). If there is no unused text data,
The print process of the print information stored in the buffer area 76 of the text data section is executed (S15), and after the unused area is secured, the search for the buffer area 76 of the unused text data section is performed again (S13). . If there is an unused text data part, the number of the text data part obtained by the search is stored in the data pointer, and the in-use flag of the text data part obtained to indicate that it is currently used is set. (S16). Further, the character attribute information described in FIG. 3 is stored in the text data section (S17).

【0032】次に図7において、S16において取得し
たテキストデータ部を、印刷情報の1行単位の情報を記
憶しておくための領域であるテキストコントロール部の
バッファ領域75にリンクする処理を行う。まずコント
ロールポインタ73の値を調べる(S18)。コントロ
ールポインタ73の値が0である場合にはテキストコン
トロール部が現在未選択であることを示すので、テキス
トコントロール部のバッファ領域75の中から現在未使
用のテキストコントロール部を探索し(S19)、未使
用のテキストコントロール部が存在するか否かを調べる
(S20)。未使用のテキストコントロール部が存在し
ない場合には、未使用領域を確保するために、テキスト
コントロール部のバッファ領域75に記憶されている印
刷情報の印字処理を実行して(S21)未使用領域を確
保した後に、再び未使用のテキストコントロール部の探
索を行う(S19)。未使用のテキストコントロール部
が存在する場合には、探索によって取得したテキストコ
ントロール部のナンバをコントロールポインタ73に格
納し、テキストコントロール部にリンクしているテキス
トデータ部の個数に、新規取得したテキストコントロー
ル部が新規に取得したテキストコントロール部であるこ
とを示すために0を格納する(S22)。S18におい
てコントロールポインタ73の値が0でない場合(既に
テキストコントロール部が選択されている場合)には、
S19ないしS22の処理は行わない。
Next, in FIG. 7, a process of linking the text data portion acquired in S16 to a buffer region 75 of the text control portion, which is an area for storing information of one line of print information, is performed. First, the value of the control pointer 73 is checked (S18). If the value of the control pointer 73 is 0, it indicates that the text control unit is not currently selected. Therefore, the text control unit is searched from the buffer region 75 of the text control unit for the currently unused text control unit (S19). It is checked whether an unused text control section exists (S20). If there is no unused text control section, a print process of print information stored in the buffer area 75 of the text control section is executed to secure an unused area (S21). After securing, the unused text control section is searched again (S19). If there is an unused text control part, the number of the text control part obtained by the search is stored in the control pointer 73, and the number of text data parts linked to the text control part is changed to the newly obtained text control part. 0 is stored to indicate that the section is a newly acquired text control section (S22). If the value of the control pointer 73 is not 0 in S18 (if the text control section has already been selected),
The processing from S19 to S22 is not performed.

【0033】次に、テキストコントロール部にリンクし
ているテキストデータ部の個数を調べる(S23)。テ
キストデータ部の個数が0である場合には、新規に取得
したテキストコントロール部であるので、現在使用中で
あることを示すためにそのテキストコントロール部に設
けられているアトリビュート内の使用中フラグをセット
し、垂直印字位置にその時点での仮想ヘッド位置カウン
タ72の内容を格納し、さらに先頭部のテキストデータ
部のバッファ領域のアドレスを示すポインタに現在のデ
ータポインタ74の内容を格納する(S24)。S23
においてテキストデータ部の個数が0でない場合には、
S24の処理は行わない。
Next, the number of text data sections linked to the text control section is checked (S23). If the number of text data portions is 0, the text control portion is a newly acquired text control portion, and the use flag in the attribute provided in the text control portion is set to indicate that the text control portion is currently in use. The contents of the virtual head position counter 72 at that time are stored in the vertical printing position, and the contents of the current data pointer 74 are stored in the pointer indicating the address of the buffer area of the head text data portion (S24). ). S23
If the number of text data parts is not 0 in
The processing of S24 is not performed.

【0034】次にテキストコントロール部の印刷情報を
印刷するために、テキストコントロール部に設けられて
いる印字パス位置と残りパス数とに次回の印字を行うパ
ス位置と残りのパス数とを格納する(S25)。また最
後部のテキストデータ部のバッファ領域のアドレスを示
すポインタに現在のデータポインタの内容を格納して、
テキストコントロール部にテキストデータ部をリンク
し、テキストデータ部の個数を1加算する(S26)。
さらに図4において説明した行の属性情報をテキストコ
ントロール部に格納し(S27)、再びホスト装置21
からの印刷情報の受信待ち状態となる(S2)。
Next, in order to print the print information of the text control unit, the pass position for the next printing and the number of remaining passes are stored in the print pass position and the number of remaining passes provided in the text control unit. (S25). Also, the content of the current data pointer is stored in the pointer indicating the address of the buffer area of the last text data section,
The text data section is linked to the text control section, and the number of text data sections is incremented by 1 (S26).
Further, the attribute information of the line described in FIG. 4 is stored in the text control unit (S27), and the host device 21
It is in a state of waiting for reception of print information from the printer (S2).

【0035】以上説明したように、図6および図7に示
した処理を繰り返し行うことで、ホスト装置21からの
印刷情報がシリアル記録装置21のRAM27に複数行
分記憶される。
As described above, the print information from the host device 21 is stored in the RAM 27 of the serial recording device 21 for a plurality of lines by repeatedly performing the processes shown in FIGS.

【0036】次に図8を用いて、複数行分記憶した印刷
情報を実際に印字処理するときの処理の流れを説明す
る。
Next, with reference to FIG. 8, a description will be given of the flow of processing when print information stored for a plurality of lines is actually printed.

【0037】まず現在使用中のテキストコントロール部
が存在するか否かを調べる(S30)。テキストコント
ロール部が存在しない場合には、記憶している印刷情報
がないということを示すので、印字処理を終了する。
First, it is checked whether or not there is a text control unit currently in use (S30). If the text control unit does not exist, it indicates that there is no stored print information, and the printing process ends.

【0038】現在使用中のテキストコントロール部が存
在する場合には、その中から格納されている印字垂直位
置の内容が最小のものを全て選び出す(S31)。選び
出したナンバをPrintCueという印刷待ちのテキ
ストコントロール部のナンバを記録しておく配列に格納
し、さらにそのときの印字垂直位置をPrintPos
itionという記憶領域に格納する(S32)。次に
PrintCueに格納されているナンバが示すテキス
トコントロール部の中から印字開始位置の最も小さいも
のをPrintStartに格納し、印字終了位置の最
も大きいものをPrintEndに格納する(S3
3)。
If there is a text control section currently in use, all of the text control sections having the smallest print vertical position stored therein are selected (S31). The selected number is stored in an array of PrintCue, which stores the number of the text control unit waiting to be printed, and the print vertical position at that time is PrintPos.
It is stored in a storage area called “tion” (S32). Next, of the text control units indicated by the numbers stored in the PrintCue, the one with the smallest print start position is stored in PrintStart, and the one with the largest print end position is stored in PrintEnd (S3).
3).

【0039】そして記録ヘッドHを実際に印刷を行う位
置に移動させるために、S32において印字垂直位置を
格納したPrintPositionから、実ヘッド位
置カウンタ71の内容を減算した差分の紙送りを実行す
る(S34)。その後、実ヘッド位置カウンタ71の内
容を新しい記録ヘッドHの位置であるPrintPos
itionに更新する(S35)。
Then, in order to move the recording head H to a position where printing is actually performed, paper feeding is performed with a difference obtained by subtracting the content of the real head position counter 71 from PrintPosition storing the printing vertical position in S32 (S34). ). Thereafter, the content of the real head position counter 71 is changed to PrintPos, which is the position of the new printhead H.
It is updated to “Ition” (S35).

【0040】次にPrintCueに格納されているナ
ンバが示すテキストコントロール部にリンクされている
テキストデータ部を先頭のテキストデータ部のバッファ
領域のアドレスを示すポインタが示すテキストデータ部
からテキストデータ部の個数が示す個数分たどりなが
ら、テキストコントロール部の現在の印字パス位置にビ
ットマップデータが存在する部分のみをイメージバッフ
ァメモリ26に展開する(S36)。展開したテキスト
コントロール部の中に設けられている印字パス位置と残
りパス数とを1ずつ減算し、印字垂直位置を60加算す
る(S37)。その後、残りパス数を調べる(S3
8)。残りパス数が0である場合には、展開したテキス
トコントロール部の使用中フラグをリセットし(S3
9)、展開したテキストコントロール部にリンクされて
いるテキストデータ部の使用中フラグもリセットして
(S40)、未使用状態にする。残りパス数が0でない
場合には、S39およびS40の処理は行わない。
Next, the text data section linked to the text control section indicated by the number stored in PrintCue is changed from the text data section indicated by the pointer indicating the address of the buffer area of the head text data section to the number of text data sections. Only the portion where the bitmap data exists at the current print path position of the text control unit is developed in the image buffer memory 26 while following the number indicated by (S36). The print pass position provided in the developed text control unit and the number of remaining passes are subtracted by one, and the print vertical position is added by 60 (S37). Thereafter, the number of remaining paths is checked (S3
8). If the number of remaining passes is 0, the in-use flag of the expanded text control unit is reset (S3).
9) The in-use flag of the text data section linked to the expanded text control section is also reset (S40), and the unused state is set. If the number of remaining paths is not 0, the processes of S39 and S40 are not performed.

【0041】PrintCueに格納されているナンバ
が示す全てのテキストコントロール部についてS36な
いしS40の処理を行ったか否かを調べる(S41)。
全てのテキストコントロール部について行っていない場
合には、再びS36以降の処理を行う。全てのテキスト
コントロール部について行った場合には、PrintS
tartが示す位置からPrintEndが示す位置ま
でイメージバッファメモリ26の内容を印字する(S4
2)。
It is checked whether or not the processing from S36 to S40 has been performed for all the text control units indicated by the numbers stored in the PrintCue (S41).
If the processing has not been performed for all the text control units, the processing after S36 is performed again. If you go to all text control parts, PrintS
The contents of the image buffer memory 26 are printed from the position indicated by “start” to the position indicated by “PrintEnd” (S4).
2).

【0042】以上説明したように、図8に示した処理を
行うことで、複数行分記憶した印刷情報が印字垂直位置
の小さいものから順番に印刷される。
As described above, by performing the processing shown in FIG. 8, the print information stored for a plurality of lines is printed in ascending order of the print vertical position.

【0043】図9は、本発明の第1の実施例におけるテ
キストコントロール部の印字パス位置、残りパス数、お
よび印字垂直位置の関係を示す図である。
FIG. 9 is a diagram showing the relationship between the print path position, the number of remaining passes, and the print vertical position of the text control unit according to the first embodiment of the present invention.

【0044】印字パス位置は記録ヘッドが次に走査する
ときに印字すべきパターンの走査位置を表わすものであ
る。図9に示すように、標準高の文字では1回の走査で
印刷が終了するので、このときの走査位置をミドルパス
として数値2で表わす。また、ブロックグラフィックキ
ャラクタの縦倍文字(縦120ドットを必要とする)の
ような文字は、上部にはみ出した40ドット分を印字す
るための走査位置をハイパスとして数値3で表わし、下
部にはみ出した20ドット分を印字するための走査位置
をローパスとして数値1で表わす。
The print pass position indicates the scan position of the pattern to be printed when the print head scans next. As shown in FIG. 9, printing of a character having a standard height is completed by one scanning, and the scanning position at this time is represented by a numerical value 2 as a middle pass. In addition, a character such as a double-width character of a block graphic character (requiring 120 dots vertically) is represented by a numerical value 3 as a high-pass scanning position for printing the 40 dots protruding to the upper portion and protruding to the lower portion. A scanning position for printing 20 dots is represented by a numerical value 1 as a low pass.

【0045】テキストコントロール部にリンクされてい
るテキストデータ部の文字が全て標準高の文字である場
合には、印字垂直位置にはその時点での仮想ヘッド位置
カウンタの内容を格納し、印字パス位置にはミドルパス
として数値の2を格納し、残りパス数には印刷が1回の
走査で終了するので1を格納する。実際の印字の際に
は、テキストデータ部の中からミドルパスの位置に文字
のビットマップパターンが存在するもののみをイメージ
バッファメモリ26に展開し、印字垂直位置に示された
位置に印字を行う。そこで残りパス数を1減算すると0
になり残りの印字パスは存在しないので、そのテキスト
コントロール部にリンクされている印刷情報の印刷は終
了し、使用していたテキストコントロール部とテキスト
データ部の使用中フラグを全てリセットする。
If the characters in the text data section linked to the text control section are all characters of the standard height, the contents of the virtual head position counter at that time are stored in the print vertical position, and the print path position , The numerical value 2 is stored as a middle pass, and 1 is stored in the number of remaining passes since printing ends in one scan. At the time of actual printing, only the character data bit map pattern in the middle path position from the text data portion is developed in the image buffer memory 26, and printing is performed at the position indicated by the printing vertical position. Therefore, subtracting 1 from the number of remaining passes gives 0
, And there is no remaining print path, so that printing of the print information linked to the text control section ends, and all the in-use flags of the text control section and the text data section used are reset.

【0046】またテキストコントロール部にリンクされ
ているテキストデータ部の中に、1文字でもブロックグ
ラフィックキャラクタの縦倍文字のように複数の走査を
必要とする文字が含まれている場合には、印字垂直位置
にはその時点での仮想ヘッド位置カウンタの内容から1
回の走査に必要な幅60ドット分を減算した値をVとし
て格納し、次の印字パス位置にはハイパスとして数値の
3を格納し、残りパス数には印刷が3回の走査を必要と
するので3を格納する。
If the text data section linked to the text control section contains even one character that requires a plurality of scans, such as a vertically double character of a block graphic character, printing is performed. The vertical position is 1 based on the contents of the virtual head position counter at that time.
The value obtained by subtracting the width of 60 dots required for each scan is stored as V, the value 3 is stored as the high pass in the next print pass position, and the remaining pass count requires three scans for printing. Therefore, 3 is stored.

【0047】実際の印字の際には、テキストデータ部の
中からハイパスの位置に文字のビットマップパターンが
存在するもののみをイメージバッファメモリ26に展開
し、印字垂直位置に示されたVの位置に印字を行う。そ
こで残りパス数を1減算すると2になりまだ残りの印字
パスが存在するので、次回の印字パス位置をミドルパス
を示す2とするために印字パス位置を1減算し、さらに
印字垂直位置も1走査分下がるので、60加算して(V
+60)に更新する。そして次回のパスの印字の際に
は、テキストデータ部の中からミドルパスの位置に文字
のビットマップパターンが存在するもののみをイメージ
バッファメモリ26に展開し、印字垂直位置に示された
(V+60)の位置に印字を行う。そこで残りパス数を
1減算すると1になりまだ残りの印字パスが存在するの
で、次回の印字パス位置をローパスを示す1とするため
に印字パス位置を1減算し、さらに印字垂直位置も1走
査分下がるので、60加算して(V+120)に更新す
る。そして最後のパスの印字の際には、テキストデータ
部の中からローパスの位置に文字のビットマップパター
ンが存在するもののみをイメージバッファメモリ26に
展開し、印字垂直位置に示された(V+120)の位置
に印字を行う。そこで残りパス数を1減算すると0にな
り、残りの印字パスは存在しないので、そのテキストコ
ントロール部にリンクされている印刷情報の印刷は終了
し、使用していたテキストコントロール部とテキストデ
ータ部の使用中フラグを全てリセットする。
At the time of actual printing, only the character data bitmap pattern at the high-pass position in the text data portion is developed in the image buffer memory 26, and the V position indicated at the printing vertical position is obtained. Print on. Therefore, when the number of remaining passes is subtracted by 1, the print pass position is subtracted by 1 so that the next print pass position is 2, indicating the middle pass, and the print vertical position is also scanned by 1 scan. Because it decreases, add 60 (V
+60). Then, at the time of printing the next pass, only the text data portion in which the bitmap pattern of the character exists at the position of the middle pass is expanded in the image buffer memory 26 and is indicated at the print vertical position (V + 60). Print at the position. Therefore, when the number of remaining passes is subtracted by 1, the print pass position is subtracted by 1 in order to set the next print pass position to 1 indicating the low pass, and the print vertical position is also scanned by 1 scan. Therefore, 60 is added and updated to (V + 120). At the time of printing the last pass, only the text data portion in which the bitmap pattern of the character exists at the low pass position is developed in the image buffer memory 26 and is indicated at the print vertical position (V + 120). Print at the position. Therefore, when the number of remaining passes is subtracted by 1, the result becomes 0, and the remaining print passes do not exist. Therefore, printing of the print information linked to the text control section is completed, and the text control section and the text data section which have been used are deleted. Reset all in-use flags.

【0048】このようにして複数の走査を必要とする拡
大文字等を印刷する場合にも、常にその時点で最上部に
位置するパスの情報をテキストコントロール部に格納し
ておき印字パス位置や残りパス数といった情報を管理す
ることによって、1つのテキストコントロール部で印刷
を行うことができるので使用する記憶容量を減らすこと
ができる。このような処理を行うことによって、従来例
と比較して印刷を完了するのに要する紙送りおよび記録
ヘッドの走査回数を大幅に減少させることができる。
When printing enlarged characters or the like that require a plurality of scans in this way, the information of the path located at the top at that time is always stored in the text control section, and the print path position and the remaining By managing information such as the number of passes, printing can be performed by one text control unit, so that the storage capacity used can be reduced. By performing such processing, it is possible to greatly reduce the number of paper feeds and the number of scans of the recording head required to complete printing as compared with the conventional example.

【0049】図10は本発明の第1の実施例における印
刷処理によって印刷された文字の状態を示す図である。
図10においては、360dpiで記録ヘッドの幅が6
0ドット以上のワイヤドットプリンタで縦60ドットを
必要とするブロックグラフィックキャラクタの縦倍文字
(縦120ドットを必要とする)を3文字づつ1/6イ
ンチ改行を行いながら3行印字する場合を示している。
このときの処理の流れは以下のようになる。 (1)1行分の3文字の情報を受け取って、縦倍属性と
共に記憶する。 (2)(1)を2回繰り返し、ホスト装置から送られる
印刷情報がなくなったところで、以下の動作によって印
刷を実行する。 (3)記憶した3行分の中で仮想ヘッド位置カウンタの
値が最小のものを探し、図10中[1]の行を選択す
る。 (4)実ヘッド位置カウンタが図10中[3]の行にあ
るので、図10中[1]の行の仮想ヘッド位置カウンタ
との差分に相当する(−1/3)インチの改行を行う。
ここで、逆方向の紙送りが1回行われる。 (5)図10中[1]の行の印刷情報をイメージバッフ
ァに展開して印刷する。ここで、ヘッドの走査が1回行
われる。 (6)実ヘッド位置カウンタの値を1/3インチ分減算
して、図10中[1]の行を示すようにする。仮想ヘッ
ド位置カウンタの値を1/6インチ分加算して、図10
中[2]の行を示すようにする。 (7)記憶した3行分の中で仮想ヘッド位置カウンタの
値が最小のものを探し、図10中[2]の行を選択す
る。 (8)実ヘッド位置カウンタが図10中[1]の行にあ
るので、図10中[2]の行の仮想ヘッド位置カウンタ
との差分の1/6インチの改行を行う。ここで、紙送り
が1回行われる。 (9)図10中[2]の行の印刷情報をイメージバッフ
ァに展開して印刷する。ここで、ヘッドの走査が1回行
われる。このとき、1行目の2パス目の部分と2行目の
1パス目の部分は共にそのとき記憶している3行分の中
で仮想ヘッド位置カウンタの値が最小のものであるの
で、同時にイメージバッファへの展開を行って1度の記
録ヘッドの走査によって印刷を終了する。 (10)実ヘッド位置カウンタの値を1/6インチ分加
算して図10中[2]の行を示すようにする。仮想ヘッ
ド位置カウンタの値を1/6インチ分加算して、図10
中[3]の行を示すようにする。 (11)(7)〜(10)と同様の処理を3回繰り返し
て、図10中[3]〜[5]の印刷を行う。
FIG. 10 is a diagram showing the state of characters printed by the printing process according to the first embodiment of the present invention.
In FIG. 10, the recording head width is 6 at 360 dpi.
Shows a case where a double dot character (requiring 120 dots vertically) of a block graphic character that requires 60 dots vertically is printed three lines at a time with a 1/6 inch line feed by three characters on a wire dot printer with 0 or more dots. ing.
The processing flow at this time is as follows. (1) The information of three characters for one line is received and stored together with the vertical double attribute. (2) (1) is repeated twice, and when there is no more print information sent from the host device, printing is performed by the following operation. (3) Search the stored three rows for the one with the smallest value of the virtual head position counter, and select the row [1] in FIG. (4) Since the actual head position counter is in the row [3] in FIG. 10, a line feed of (−−1) inch corresponding to the difference from the virtual head position counter in the row [1] in FIG. 10 is performed. .
Here, paper feeding in the reverse direction is performed once. (5) The print information of the line [1] in FIG. 10 is developed in the image buffer and printed. Here, the head is scanned once. (6) The value of the real head position counter is subtracted by 1/3 inch, so as to indicate the row [1] in FIG. By adding the value of the virtual head position counter by 1/6 inch, FIG.
Show the middle [2] row. (7) Search the stored three rows for the one with the smallest value of the virtual head position counter, and select the row [2] in FIG. (8) Since the real head position counter is on the line [1] in FIG. 10, a line feed of 1/6 inch of the difference from the virtual head position counter on the line [2] in FIG. 10 is performed. Here, paper feeding is performed once. (9) The print information of the line [2] in FIG. 10 is developed in the image buffer and printed. Here, the head is scanned once. At this time, the value of the virtual head position counter is the smallest among the three rows stored at that time for both the second pass part of the first row and the first pass part of the second row. At the same time, the data is developed in the image buffer, and printing is completed by one scan of the recording head. (10) The value of the actual head position counter is added by 1/6 inch to indicate the row [2] in FIG. By adding the value of the virtual head position counter by 1/6 inch, FIG.
Show the middle [3] row. (11) The same processing as (7) to (10) is repeated three times, and printing of [3] to [5] in FIG. 10 is performed.

【0050】このような処理を行うことで印刷の順番は
図10中[1]〜[5]のような順番となる。そして全
ての印刷を完了するのに要する紙送りの回数は5回
(内、逆方向への紙送りが1回)、記録ヘッドの走査回
数は5回となり、従来例の図12と比較して、紙送りお
よび記録ヘッドの走査の回数を大幅に減少させることが
できる。
By performing such processing, the order of printing is as shown in [1] to [5] in FIG. The number of paper feeds required to complete all printing is five (including one paper feed in the reverse direction), and the number of scans of the recording head is five, which is smaller than that of FIG. Thus, the number of paper feeds and the number of scans of the recording head can be greatly reduced.

【0051】[第2の実施例]第1の実施例において
は、複数の走査を必要とする拡大文字等の印刷も、常に
その時点で最上部に位置するパスの情報をテキストコン
トロール部に格納しておくことによって1つのテキスト
コントロール部で表わしていたが、ここでは複数の走査
を必要とする拡大文字等の印刷の場合に、それぞれのパ
スに1つのテキストコントロール部を割り当てる方法に
ついて説明する。
[Second Embodiment] In the first embodiment, information on the path located at the top at that time is always stored in the text control section even when printing enlarged characters that require a plurality of scans. In this case, one text control unit is used, but here, a method of allocating one text control unit to each pass in the case of printing enlarged characters or the like requiring a plurality of scans will be described.

【0052】図11は、本発明の第2の実施例における
テキストコントロール部の印字パス位置、残りパス数、
および印字垂直位置の関係を示す図である。図11に示
すように、テキストコントロール部にテキストデータ部
をリンクしている状態でブロックグラフィックキャラク
タの縦倍文字のように複数の走査を必要とするデータを
受信したときには、現在の仮想ヘッド位置カウンタの値
をV’とすると、それぞれ(V’−60)、(V’+6
0)の値を印字垂直位置とする新たなテキストコントロ
ール部を確保する。このとき未使用のテキストコントロ
ール部が存在しなかったときは第1の実施例と同様に印
字を開始して空き領域を確保する。そして縦倍文字の上
部にはみだしたハイパス部分の文字があるという情報を
格納したテキストデータ部を印字垂直位置(V’−6
0)のテキストコントロール部にリンクし、縦倍文字の
ミドルパス部分の文字があるという情報を格納したテキ
ストデータ部を印字垂直位置V’のテキストコントロー
ル部にリンクし、さらに縦倍文字の下部にはみだしたロ
ーパス部分の文字があるという情報を格納したテキスト
データ部を印字垂直位置(V’+60)のテキストコン
トロール部にリンクする。
FIG. 11 shows the print pass position, the number of remaining passes, and the number of passes of the text control unit in the second embodiment of the present invention.
FIG. 4 is a diagram illustrating a relationship between the vertical position and a print vertical position. As shown in FIG. 11, when the text data section is linked to the text control section and data that requires a plurality of scans, such as a double character of a block graphic character, is received, the current virtual head position counter is set. Is V ′, (V′−60) and (V ′ + 6), respectively.
A new text control unit having the value of 0) as the printing vertical position is secured. At this time, if there is no unused text control section, printing is started and an empty area is secured as in the first embodiment. Then, a text data portion storing information that a character of a protruding high-pass portion is present at the upper part of the vertically double character is printed at a vertical printing position (V'-6).
Link to the text control section of 0), link the text data section storing the information that there is a character in the middle path part of the double letter to the text control section at the print vertical position V ', and further extend below the double letter. The text data section storing the information that there is a character in the low-pass portion is linked to the text control section at the print vertical position (V '+ 60).

【0053】実際の印字の際には印字垂直位置が最小の
ものとしてまず印字垂直位置(V’−60)のテキスト
コントロール部が印刷され、次に印字垂直位置V’のテ
キストコントロール部が印刷され、最後に印字垂直位置
(V’+60)のテキストコントロール部が印刷される
ので、結果としては第1の実施例と同様の結果が得られ
る。
At the time of actual printing, the text control section at the printing vertical position (V'-60) is printed first assuming that the printing vertical position is the minimum, and then the text control section at the printing vertical position V 'is printed. Finally, since the text control section at the print vertical position (V '+ 60) is printed, the same result as that of the first embodiment can be obtained.

【0054】このようにして複数の走査を必要とする拡
大文字等を印刷する場合には、それぞれのパスごとに1
つのテキストコントロール部を割り当てるので第1の実
施例と比較して多くの記憶容量が必要となる。しかし、
1つのテキストコントロール部にリンクされている印刷
情報は必ず1回の走査で印刷が完了するので、第1の実
施例のように印字パス位置や残りパス数といった情報を
管理する必要がなく、その分の記憶容量およびソフトウ
ェア処理の負荷を減らすことができる。
When printing enlarged characters or the like that require a plurality of scans in this manner, one pass is required for each pass.
Since one text control unit is allocated, a larger storage capacity is required as compared with the first embodiment. But,
Since the printing of the print information linked to one text control unit is always completed by one scan, there is no need to manage information such as the print pass position and the number of remaining passes as in the first embodiment. Minutes of storage capacity and software processing load.

【0055】[その他の実施例]本発明は、特にインク
ジェット記録方式の中でも熱エネルギーを利用して飛翔
的液滴を形成し、記録を行うインクジェット方式の記録
ヘッド、記録装置において優れた効果をもたらすもので
ある。
[Other Embodiments] The present invention provides an excellent effect particularly in an ink jet recording head and a recording apparatus in which a flying droplet is formed by utilizing thermal energy and recording is performed among ink jet recording methods. Things.

【0056】その代表的な構成や原理については、例え
ば、米国特許第4723129号明細書、同第4740
796号明細書に開示されている基本的な原理を用いて
行うものが好ましい。この方式はいわゆるオンデマンド
型、コンティニュアス型のいずれにも適用可能である
が、特に、オンデマンド型の場合には、液体(インク)
が保持されているシートや液路に対応して配置されてい
る電気熱変換体に、記録情報に対応していて膜沸騰を越
える急速な温度上昇を与える少なくとも一つの駆動信号
を印加することによって、電気熱変換体に熱エネルギー
を発生せしめ、記録ヘッドの熱作用面に膜沸騰を生じさ
せて、結果的にこの駆動信号に一対一で対応した液体
(インク)内の気泡を形成できるので有効である。この
気泡の成長、収縮により吐出用開口を介して液体(イン
ク)を吐出させて、少なくとも一つの滴を形成する。こ
の駆動信号をパルス形状とすると、即時適切に気泡の成
長収縮が行われるので、特に応答正に優れた液体(イン
ク)の吐出が達成でき、より好ましい。
The typical structure and principle are described in, for example, US Pat. Nos. 4,723,129 and 4,740.
It is preferable to use the basic principle disclosed in the specification of Japanese Patent No. 796. This method can be applied to both the so-called on-demand type and continuous type. In particular, in the case of the on-demand type, liquid (ink)
By applying at least one drive signal corresponding to recorded information and providing a rapid temperature rise exceeding film boiling to an electrothermal transducer arranged corresponding to a sheet or a liquid path in which This is effective because heat energy is generated in the electrothermal transducer, causing film boiling on the heat-acting surface of the recording head, and as a result, air bubbles in the liquid (ink) corresponding one-to-one to this drive signal can be formed. It is. By discharging the liquid (ink) through the discharge opening by the growth and contraction of the bubble, at least one droplet is formed. When the drive signal is formed into a pulse shape, the growth and shrinkage of the bubble are performed immediately and appropriately, so that the ejection of the liquid (ink) having particularly excellent response can be achieved.

【0057】このパルス形状の駆動信号としては、米国
特許第4463359号明細書、同第4345262号
明細書に記載されているようなものが適している。な
お、上記熱作用面の温度上昇率に関する発明の米国特許
第4313124号明細書に記載されている条件を採用
すると、さらに優れた記録を行うことができる。
As the pulse-shaped drive signal, those described in US Pat. Nos. 4,463,359 and 4,345,262 are suitable. Further, if the conditions described in US Pat. No. 4,313,124 relating to the temperature rise rate of the heat acting surface are adopted, more excellent recording can be performed.

【0058】記録ヘッドの構成としては、上述の各明細
書に開示されているような吐出口、液路、電気熱変換体
の組み合わせ構成(直線状液流路または直角液流路)の
他に、熱作用部が屈曲する領域に配置されている構成を
開示する米国特許第4558333号明細書、同第44
59600号明細書を用いた構成も本発明に含まれるも
のである。
As the configuration of the recording head, in addition to the combination configuration of the discharge port, the liquid path, and the electrothermal converter (linear liquid flow path or right-angled liquid flow path) as disclosed in the above-mentioned respective specifications, U.S. Pat. Nos. 4,558,333 and 44, which disclose a configuration in which a heat acting portion is disposed in a bending region.
A configuration using the specification of Japanese Patent No. 59600 is also included in the present invention.

【0059】加えて、複数の電気熱変換体に対して、共
通するスリットを電気熱変換体の吐出部とする構成を開
示する特開昭59−123670号公報や熱エネルギー
の圧力波を吸収する開孔を吐出部に対応させる構成を開
示する特開昭59−138461号公報に基づいた構成
としても本発明は有効である。
In addition, JP-A-59-123670 discloses a configuration in which a common slit is used as a discharge portion of an electrothermal converter for a plurality of electrothermal converters, or absorbs pressure waves of thermal energy. The present invention is also effective as a configuration based on JP-A-59-138461, which discloses a configuration in which an opening corresponds to a discharge unit.

【0060】さらに、記録装置が記録できる最大記録媒
体の幅に対応した長さを有するフルラインタイプの記録
ヘッドとしては、上述した明細書に開示されているよう
な複数記録ヘッドの組み合わせによってその長さを満た
す構成や、一体的に形成された1個の記録ヘッドとして
の構成のいずれでもよいが、本発明は、上述した効果を
一層有効に発揮することができる。
Further, as a full-line type recording head having a length corresponding to the width of the maximum recording medium that can be recorded by the recording apparatus, the length is determined by a combination of a plurality of recording heads as disclosed in the above specification. The present invention can exhibit the above-mentioned effects more effectively, though it may be either a configuration that satisfies the above requirements or a configuration as a single recording head that is formed integrally.

【0061】加えて、装置本体に装着されることで、装
置本体との電気的な接続や装置本体からのインクの供給
が可能になる交換自在のチップタイプの記録ヘッド、あ
るいは記録ヘッド自体に一体的にインクタンクが設けら
れたカートリッジタイプの記録ヘッドを用いた場合にも
本発明は有効である。
In addition, the print head is replaceable with a print head of a chip type which is electrically connected to the main body of the apparatus and can be supplied with ink from the main body of the apparatus, or is integrated with the print head itself. The present invention is also effective when a cartridge type recording head provided with an ink tank is used.

【0062】また、本発明の記録装置の構成として設け
られる、記録ヘッドに対しての回復手段、予備的な補助
手段等を付加することは本発明の効果を一層安定できる
ので好ましいものである。これらを具体的に挙げれば、
記録ヘッドに対してのキャッピング手段、クリーニング
手段、加圧あるいは吸引手段、電気熱変換体あるいはこ
れとは別の加熱素子またはこれらの組み合わせによる予
備加熱手段、記録とは別の吐出を行う予備吐出モードを
行うことも安定した記録を行うために有効である。
It is preferable to add recovery means for the print head, preliminary auxiliary means, and the like provided as components of the printing apparatus of the present invention since the effects of the present invention can be further stabilized. If you list these specifically,
Capping means, cleaning means, pressurizing or suction means for the recording head, preheating means using an electrothermal transducer or another heating element or a combination thereof, and a preliminary ejection mode for performing ejection different from recording Is also effective for performing stable recording.

【0063】さらに、記録装置の記録モードとしては黒
色等の主流色のみの記録モードだけではなく、記録ヘッ
ドを一体的に構成するか複数個を組み合わせによってで
もよいが、異なる色の複色カラー、または混色によるフ
ルカラーの少なくとも一つを備えた装置にも本発明は極
めて有効である。
Further, the recording mode of the recording apparatus is not limited to the recording mode of only the mainstream color such as black, and the recording head may be formed integrally or by combining a plurality of recording heads. The present invention is also extremely effective for an apparatus provided with at least one of full colors by color mixture.

【0064】以上説明した本発明の実施例においては、
インクを液体として説明しているが、室温やそれ以下で
固化するインクであって、室温で軟化するもの、もしく
は液体であるもの、あるいは上述のインクジェット方式
ではインク自体を30℃以上70℃以下の範囲内で温度
調整を行ってインクの粘性を安定吐出範囲にあるように
温度制御するものが一般的であるから、使用記録信号付
与時にインクが液状をなすものであればよい。
In the embodiment of the present invention described above,
Although the ink is described as a liquid, it is an ink that solidifies at room temperature or lower, and softens at room temperature, or is a liquid, or in the inkjet method described above, the ink itself is heated to 30 ° C to 70 ° C. Generally, the temperature is adjusted within the range and the viscosity is controlled so that the viscosity of the ink is in the stable ejection range. Therefore, it is sufficient that the ink is in a liquid state when the use recording signal is applied.

【0065】加えて、積極的に熱エネルギーによる昇温
をインクの固形状態から液体状態への状態変化のエネル
ギーとして使用せしめることで防止するか、またはイン
クの蒸発防止を目的として放置状態で固化するインクを
用いるかして、いずれにしても熱エネルギーの記録信号
に応じた付与によってインクが液化し、液状インクとし
て吐出するものや、記録媒体に到達する時点では既に固
化し始めるもの等のような、熱エネルギーによって初め
て液化する性質のインクの使用も本発明には適用可能で
ある。このような場合インクは、特開昭54−5684
7号公報あるいは特開昭60−71260号公報に記載
されるような、多孔質シート凹部または貫通孔に液状ま
たは固形物として保持された状態で、電気熱変換体に対
して対向するような形態としてもよい。本発明において
は、上述した各インクに対して最も有効なものは、上述
した膜沸騰方式を実行するものである。
In addition, the temperature rise due to thermal energy is positively prevented by using it as energy for changing the state of the ink from the solid state to the liquid state, or the ink is solidified in a standing state for the purpose of preventing evaporation of the ink. Either ink may be used, or in any case, the ink may be liquefied by application of heat energy according to the recording signal and ejected as a liquid ink, or may already start to solidify when reaching the recording medium. The use of an ink having a property of being liquefied for the first time by thermal energy is also applicable to the present invention. In such a case, the ink is disclosed in JP-A-54-5684.
No. 7 or Japanese Patent Application Laid-Open No. 60-71260, in which the porous sheet is opposed to the electrothermal converter while being held in a liquid or solid state in the concave portions or through holes of the porous sheet. It may be. In the present invention, the most effective one for each of the above-mentioned inks is to execute the above-mentioned film boiling method.

【0066】さらに加えて、本発明に係る記録装置の形
態としては、ワードプロセッサやコンピュータ等の情報
処理機器の画像出力端末として一体または別体に設けら
れるものの他、リーダ等と組み合わせた複写装置、さら
には送受信機能を有するファクシミリ装置の形態を採る
ものであっても良い。
In addition, as a form of the recording apparatus according to the present invention, in addition to those provided integrally or separately as image output terminals of information processing equipment such as a word processor and a computer, a copying apparatus combined with a reader and the like, May take the form of a facsimile machine having a transmission / reception function.

【0067】[0067]

【発明の効果】以上説明したように本発明は、以下に示
す効果を有する。 (1)実ヘッド位置カウンタと仮想ヘッド位置カウンタ
記憶手段と制御手段とを備え、ホスト装置から紙送り
命令が送られたときには紙送りの量を仮想ヘッド位置カ
ウンタに加算して第3の位置情報を更新し、ホスト装置
から印刷開始命令が送られたときには印刷を開始するこ
となく、印刷情報を制御手段により記憶手段に記憶てお
くことによって、複数行分の印刷情報を記憶することが
可能となるという効果を有する。 (2)制御手段は、記録媒体の紙送りに従って実ヘッド
位置カウンタに記憶される位置情報の更新を行うととも
に、文字データを紙送り方向上の位置に対応させて、
数行分記憶した印刷情報を記憶手段から読み出し、記録
ヘッドを走査して記録媒体に印刷を行うことによって、
印刷処理の回数を減らすことが可能となるという効果を
有する。 (3)複数行分記憶した印刷情報を常に上位に位置する
ものから印刷を行うことによって、記録ヘッドの幅を越
える大きさの拡大文字を印刷する場合や既に受け取った
印刷情報よりも上位に位置する印刷情報が後から送られ
た場合でも、逆方向への紙送りを極力行うことなく印刷
することが可能となるという効果を有する。具体的に
は、第1の実施例に示したように、複数の走査を必要と
する拡大文字等を印刷する場合には、常にその時点で最
上部に位置するパスの情報をテキストコントロール部に
格納しておき印字パス位置や残りパス数といった情報を
管理することによって、1つのテキストコントロール部
で印刷を行うことができるので使用する記憶容量を減ら
すことができる。このような処理を行うことによって、
従来例と比較して印刷を完了するのに要する紙送りおよ
び記録ヘッドの走査回数を大幅に減少させることができ
る。 (4)複数行分記憶した印刷情報の中から印刷位置が同
じ位置である印刷情報を同時に印刷イメージに展開して
1度の印刷動作で複数行の印刷を終了することによっ
て、印刷に要する記録ヘッドの走査回数を減らすことが
可能となるという効果を有する。具体的には、第2の実
施例に示したように、複数の走査を必要とする拡大文字
等を印刷する場合には、それぞれのパスごとに1つのテ
キストコントロール部を割り当てるので第1の実施例と
比較して多くの記憶容量が必要となるが、1つのテキス
トコントロール部にリンクされている印刷情報は必ず1
回の走査で印刷が完了するので、第1の実施例のように
印字パス位置や残りパス数といった情報を管理する必要
がなく、その分の記憶容量およびソフトウェア処理の負
荷を減らすことができる。 (5)以上のようなことから、印刷速度におけるスルー
プットが向上するばかりでなく、使用する記憶容量を減
らすことができ、また紙送りの装置構成を比較的簡単に
実現することができるので、コストダウンが可能となる
という効果を有する。
As described above, the present invention has the following effects. (1) A real head position counter, a virtual head position counter, a storage unit, and a control unit. When a paper feed command is sent from the host device, the amount of paper feed is added to the virtual head position counter and the third position is calculated. By updating the information and storing the print information in the storage means by the control means without starting printing when a print start command is sent from the host device, it is possible to store the print information for a plurality of lines. It has the effect of becoming. (2) The control means controls the actual head according to the paper feed of the recording medium.
Updating the position information stored in the position counter
Then, the print information stored for a plurality of lines is read out from the storage unit in accordance with the position of the character data in the paper feed direction , and recorded.
By scanning the head and printing on the recording medium ,
This has the effect that the number of times of printing processing can be reduced. (3) The print information stored for a plurality of lines is always printed from the upper position, so that enlarged characters exceeding the width of the recording head are printed, or the print information that has already been received is positioned higher than the print information already received. Even if print information to be sent is sent later, it is possible to perform printing without performing paper feeding in the reverse direction as much as possible. More specifically, as described in the first embodiment, when printing enlarged characters or the like that require a plurality of scans, information on the path located at the top at that time is always sent to the text control unit. By managing the stored information such as the print pass position and the number of remaining passes, printing can be performed by one text control unit, so that the storage capacity used can be reduced. By performing such processing,
Compared with the conventional example, the number of paper feeds and the number of scans of the recording head required to complete printing can be greatly reduced. (4) Recording information required for printing by simultaneously developing printing information having the same printing position from among the printing information stored for a plurality of lines into a print image and ending printing of a plurality of lines in one printing operation. This has the effect that the number of times of scanning of the head can be reduced. More specifically, as shown in the second embodiment, when printing enlarged characters that require a plurality of scans, one text control unit is assigned to each pass. Although a larger storage capacity is required as compared with the example, the print information linked to one text control unit is always one.
Since printing is completed in each scan, it is not necessary to manage information such as the print pass position and the number of remaining passes as in the first embodiment, and the storage capacity and the load of software processing can be reduced accordingly. (5) From the above, not only the throughput at the printing speed is improved, but also the storage capacity to be used can be reduced, and the paper feeding device configuration can be realized relatively easily, so that the cost is reduced. There is an effect that down becomes possible.

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

【図1】本発明の第1の実施例におけるシリアル記録装
置の内部構成を示す斜視図
FIG. 1 is a perspective view showing the internal configuration of a serial recording apparatus according to a first embodiment of the present invention.

【図2】図1の電気的構成を示すブロック図FIG. 2 is a block diagram showing an electrical configuration of FIG. 1;

【図3】図2のテキストデータ部のバッファ領域の1文
字分の構成を示す図
FIG. 3 is a diagram showing a configuration of one character in a buffer area of a text data part in FIG. 2;

【図4】図2のテキストコントロール部のバッファ領域
の1行分の構成を示す図
FIG. 4 is a diagram showing a configuration of one line of a buffer area of a text control unit in FIG. 2;

【図5】図2のテキストコントロール部のバッファ領域
とテキストデータ部のバッファ領域との関係を示す図
FIG. 5 is a diagram illustrating a relationship between a buffer area of a text control section and a buffer area of a text data section in FIG. 2;

【図6】本発明の第1の実施例における印刷情報を1行
分記憶する処理の流れを示すフローチャート
FIG. 6 is a flowchart illustrating a flow of processing for storing one line of print information according to the first embodiment of the present invention;

【図7】本発明の第1の実施例における印刷情報を1行
分記憶する処理の流れを示すフローチャート
FIG. 7 is a flowchart showing a flow of processing for storing one line of print information according to the first embodiment of the present invention;

【図8】図6および図7において記憶した印刷情報を印
刷する処理の流れを示すフローチャート
FIG. 8 is a flowchart showing the flow of processing for printing the print information stored in FIGS. 6 and 7;

【図9】本発明の第1の実施例におけるテキストコント
ロール部の印字パス位置、残りパス数、および印字垂直
位置の関係を示す図
FIG. 9 is a diagram illustrating a relationship among a print pass position, the number of remaining passes, and a print vertical position of the text control unit according to the first embodiment of the present invention.

【図10】本発明の第1の実施例における印刷処理によ
って印刷された文字の状態を示す図
FIG. 10 is a diagram illustrating a state of a character printed by a printing process according to the first embodiment of the present invention.

【図11】本発明の第2の実施例におけるテキストコン
トロール部の印字パス位置、残りパス数、および印字垂
直位置の関係を示す図
FIG. 11 is a diagram illustrating a relationship between a print pass position, the number of remaining passes, and a print vertical position of the text control unit according to the second embodiment of the present invention.

【図12】従来例の印刷処理によって印刷された文字の
状態を示す図
FIG. 12 is a diagram showing a state of a character printed by a conventional printing process.

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

H 記録ヘッド 1 シリアル記録装置 10 ヘッドカートリッジ 11 押さえ部材 12 キャリッジ 13 シャフト 14 プラテンローラ 15 記録媒体 16 ケーブル 17 キャリッジモータ 18 ワイヤ 19 フィードモータ 20 HP(ホームポジション)センサ 21 ホスト装置 22 MPU 23 ROM 24 タイマ 25 I/Oポート 26 イメージバッファメモリ 27 RAM 71 実ヘッド位置カウンタ 72 仮想ヘッド位置カウンタ 73 コントロールポインタ 74 データポインタ 75 テキストコントロール部のバッファ領域 76 テキストデータ部のバッファ領域 H Recording Head 1 Serial Recording Device 10 Head Cartridge 11 Pressing Member 12 Carriage 13 Shaft 14 Platen Roller 15 Recording Medium 16 Cable 17 Carriage Motor 18 Wire 19 Feed Motor 20 HP (Home Position) Sensor 21 Host Device 22 MPU 23 ROM 24 Timer 25 I / O port 26 Image buffer memory 27 RAM 71 Real head position counter 72 Virtual head position counter 73 Control pointer 74 Data pointer 75 Text control part buffer area 76 Text data part buffer area

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) B41J 2/51 B41J 2/01 Continuation of front page (58) Field surveyed (Int.Cl. 7 , DB name) B41J 2/51 B41J 2/01

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ホスト装置から送られる印刷情報を、所
定の幅を備える記録ヘッドの走査方向に対して垂直な方
向に分割されている第1の印刷情報として受け取り、該
記録ヘッドの走査と紙送り方向に沿った記録媒体の紙送
りとを行って該第1の印刷情報を該記録ヘッドの走査方
向に分割して前記記録媒体に印刷を行うシリアル記録装
置において、前記紙送り方向における、 前記記録ヘッドが位置する
記記録媒体上の絶対位置を第2の位置情報として記憶す
る実ヘッド位置カウンタと、前記紙送り方向における、 前記第1の印刷情報が印刷さ
れる前記記録媒体上の絶対位置を第3の位置情報として
記憶する仮想ヘッド位置カウンタと 前記ホスト装置から送られる印刷情報が示す文字データ
を記憶するための記憶手段と、 前記ホスト装置から前記紙送りの実行を示す命令が送ら
れた場合には、前記紙送りを行わずに前記仮想ヘッド位
置カウンタに記憶される位置情報を前記紙送りの量に従
って更新し、前記ホスト装置から送られる文字データ
を、前記文字データが前記紙送り方向上において印刷さ
れる位置に対応させて前記記憶手段に記憶させる制御手
段と、を有し、 前記制御手段は、前記記録ヘッドによる印刷において、
前記記録媒体の紙送りに従って前記実ヘッド位置カウン
タに記憶される位置情報の更新を行うとともに、前記文
字データを前記紙送り方向上の位置に対応させて前記記
憶手段から読み出し、前記記録ヘッドを走査して前記記
録媒体に印刷を行う ことを特徴とするシリアル記録装
置。
The printing apparatus receives print information sent from a host device as first print information divided in a direction perpendicular to a scanning direction of a print head having a predetermined width, and scans the print head and paper. in serial recording apparatus for printing information of the first divided in the scanning direction of the recording head by performing the paper feed of the recording medium along the feeding direction to print on the recording medium, in the paper feeding direction, the Before the recording head is positioned
A real head position counter for storing the absolute position on the recording medium as second position information; and a third position in the paper feed direction, the absolute position on the recording medium where the first print information is printed. a virtual head position counter for storing the information, character data indicating the printing information sent from said host device
And a command indicating execution of the paper feed is sent from the host device.
The virtual head position without performing the paper feed.
Position information stored in the position counter in accordance with the paper feed amount.
Character data sent from the host device
Is the character data printed in the paper feed direction.
Control means for storing in the storage means in accordance with the position to be
And a step, wherein the control means, in printing by the recording head,
The actual head position count according to the paper feed of the recording medium.
Update the location information stored in the
Character data corresponding to the position in the paper feed direction.
Memory, and scans the recording head to record the data.
A serial recording device for printing on a recording medium .
【請求項2】 前記記憶手段は、前記第1の印刷情報に
該第1の印刷情報の文字データの属性情報を付加した第
4の印刷情報を所定の文字数ごとに所定の行数記憶する
印刷情報記憶手段と、該第4の印刷情報のそれぞれに前
記第3の位置情報を付加して第5の印刷情報として、該
第5の印刷情報に該第5の印刷情報の行の属性情報を付
加した第6の印刷情報を所定の行数ごとに記憶する位置
情報記憶手段とを有することを特徴とする、請求項1に
記載のシリアル記録装置。
2. The printing device according to claim 1 , wherein the storage unit stores fourth print information obtained by adding attribute information of character data of the first print information to the first print information for a predetermined number of lines for each predetermined number of characters. Information storage means, and the third position information is added to each of the fourth print information to form fifth print information, and the fifth print information includes attribute information of a line of the fifth print information. 2. The serial recording apparatus according to claim 1, further comprising: position information storage means for storing the added sixth print information for each predetermined number of lines.
【請求項3】 前記制御手段は、前記ホスト装置から送
られる前記印刷情報が紙送りを実行する命令である場合
に、該紙送りを実行せずに前記仮想ヘッド位置カウンタ
に該紙送りの量を加算して前記第3の位置情報を順次更
新し、実際に該紙送りを実行する際に、更新した該第3
の位置情報にしたがって前記第2の位置情報を更新する
ことを特徴とする、請求項1または2に記載のシリアル
記録装置。
3. The virtual head position counter according to claim 3 , wherein the print information sent from the host device is a command to execute a paper feed, and the virtual head position counter does not execute the paper feed. Is added, and the third position information is sequentially updated. When the paper feed is actually executed, the updated third position information is updated.
3. The serial recording device according to claim 1, wherein the second position information is updated according to the position information.
【請求項4】 前記制御手段は、 前記ホスト装置から送られる前記印刷情報が途切れたと
判断されたとき、 または改ページを実行する命令を受け取ったと判断され
たとき、 または該印刷情報記憶手段に未使用領域がなくなったと
判断されたとき、 または該位置情報記憶手段に未使用領域がなくなったと
判断されたときに、前記第6の印刷情報を前記記録媒体に印刷する処理を実
行する ことを特徴とする、請求項に記載のシリアル記
録装置。
4. The control means, when it is determined that the print information sent from the host device has been interrupted, or when it has been determined that a command to execute a page break has been received, or when the print information storage means When it is determined that there is no more unused area, or when it is determined that there is no more unused area in the position information storage means, a process of printing the sixth print information on the recording medium is executed.
Wherein the row, the serial recording apparatus according to claim 2.
【請求項5】 前記制御手段は、前記第6の印刷情報を
前記記録媒体に印刷する処理が実行するときには、 該第6の印刷情報の中から前記第3の位置情報が最小の
ものを選び出し、 選び出した該第6の印刷情報の該第3の位置情報と前記
第2の位置情報との差分の量の紙送りを実行し、 該紙送りの量を該第2の位置情報に加算し、 選び出した該第6の印刷情報から印刷イメージを作成し
て印字する、 という処理を繰り返すことを特徴とする、請求項に記
載のシリアル記録装置。
Wherein said control means, sometimes the process for printing the sixth printing information on the recording medium is performed, the third position information from the print information of said 6 picks the smallest Executing a paper feed of an amount of a difference between the third position information of the selected sixth print information and the second position information, and adding the amount of the paper feed to the second position information; The serial recording apparatus according to claim 4 , wherein a process of creating and printing a print image from the selected sixth print information is repeated.
【請求項6】 前記制御手段は、前記第6の印刷情報の
中から前記第3の位置情報が最小のものを選び出すとき
には、 該第3の位置情報が最小である行が複数存在する場合に
は、該複数の行の該第6の印刷情報を同時に印刷イメー
ジに展開して1度に該複数の行の該第6の印刷情報の印
刷処理を実行することを特徴とする、請求項5に記載の
シリアル記録装置。
6. The control unit according to claim 1, wherein when the third position information is selected from among the sixth print information, a plurality of lines having the minimum third position information are present. 6. The printing method according to claim 5, wherein the sixth print information of the plurality of lines is simultaneously developed into a print image, and the print processing of the sixth print information of the plurality of lines is executed at a time. 2. The serial recording device according to 1.
【請求項7】 前記記録ヘッドが、インク吐出用の熱エ
ネルギを発生するための電気熱変換体を備えていること
を特徴とする、請求項1ないし6のいずれか1項に記載
のシリアル記録装置。
7. The serial recording according to claim 1, wherein the recording head includes an electrothermal converter for generating thermal energy for discharging ink. apparatus.
【請求項8】 前記記録ヘッドが、前記電気熱変換体に
よって印加される熱エネルギによって、インクに生ずる
膜沸騰を利用して吐出口よりインクを吐出させることを
特徴とする、請求項7に記載のシリアル記録装置。
8. The recording head according to claim 7, wherein the recording head discharges the ink from a discharge port by utilizing film boiling generated in the ink by thermal energy applied by the electrothermal transducer. Serial recording device.
JP31476394A 1994-12-19 1994-12-19 Serial recording device Expired - Fee Related JP3115777B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31476394A JP3115777B2 (en) 1994-12-19 1994-12-19 Serial recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31476394A JP3115777B2 (en) 1994-12-19 1994-12-19 Serial recording device

Publications (2)

Publication Number Publication Date
JPH08169141A JPH08169141A (en) 1996-07-02
JP3115777B2 true JP3115777B2 (en) 2000-12-11

Family

ID=18057295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31476394A Expired - Fee Related JP3115777B2 (en) 1994-12-19 1994-12-19 Serial recording device

Country Status (1)

Country Link
JP (1) JP3115777B2 (en)

Also Published As

Publication number Publication date
JPH08169141A (en) 1996-07-02

Similar Documents

Publication Publication Date Title
US5619622A (en) Raster output interface for a printbar
JP2003305895A (en) Imaging system, recorder and record control method
JP2004074510A (en) Recorder and test pattern recording method
US6682168B2 (en) Image printing apparatus, control method therefor, storage medium and program
JPH0825754A (en) Recording apparatus and recording method
JP2003305836A (en) Recorder, information processor, method of controlling the same, and program
US6705697B2 (en) Serial data input full width array print bar method and apparatus
JP4447819B2 (en) Inkjet recording device
JP3115777B2 (en) Serial recording device
JP3347540B2 (en) Printer and printing method
JP2003305902A (en) Recorder, information processor, their controlling method, and program
JP4174264B2 (en) Recording apparatus and control method thereof
JP2001071466A (en) Ink jet recording device and recording head driving method for the device
JP3402684B2 (en) Facsimile machine
JP3517570B2 (en) Recording apparatus and recording control method
JP3150261B2 (en) Recording data transfer method, recording apparatus and recording system
JP2000355101A (en) Recorder and method for recording
JP2002254612A (en) Image recording device and image recording method
JP3103276B2 (en) Image recording method and apparatus
JP2001171187A (en) Recording apparatus, recording system and recording method
JP3321367B2 (en) Recording apparatus and method
JP2002254623A (en) Recording device and recording method
JP2002347286A (en) Image recorder and its control method
JP2002301839A (en) Recorder and recording method
JP2000246963A (en) Recording apparatus and recording method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080929

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120929

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130929

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees