JPH0557921A - Line printer - Google Patents

Line printer

Info

Publication number
JPH0557921A
JPH0557921A JP22558691A JP22558691A JPH0557921A JP H0557921 A JPH0557921 A JP H0557921A JP 22558691 A JP22558691 A JP 22558691A JP 22558691 A JP22558691 A JP 22558691A JP H0557921 A JPH0557921 A JP H0557921A
Authority
JP
Japan
Prior art keywords
printing
print
label
image buffer
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP22558691A
Other languages
Japanese (ja)
Inventor
Kunihiko Aoba
久仁彦 青葉
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP22558691A priority Critical patent/JPH0557921A/en
Publication of JPH0557921A publication Critical patent/JPH0557921A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To form printing images without interruption of continuity by a method wherein, when the amount of printing data for a sheet of label is larger than the capacity of an image buffer, the printing data therein is replaced in a plurality of portions and, at the time of replacement, the printing is restarted at the place of overlapping the already printed part. CONSTITUTION:In a label printer, after the printing data input therein is stored in an image buffer 18 in only an amount corresponding to a sheet of label (recording medium), a CPU 10 gives an instruction of the printing to drive a thermal head 2 and a motor 15, thereby performing a predetermined printing on the label. When the amount of the printing data corresponding to a sheet of label is larger than the capacity of an image buffer 18, after the printing is performed based on the image data stored in the image buffer 18, the image data therein is replaced with an unprinted printing data to continue the printing At the time of the printing data replacement, a label 3a is back fed and the printing is so controlled as to restart at the place of slightly overlapping the already printed part.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ライン方向に一度に複
数個のドットを選択的に形成すると共に、ライン方向と
直交する方向に記録媒体をフィードして記録媒体に所望
の文字や図形等を印字するラインプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention selectively forms a plurality of dots at a time in the line direction, and feeds a recording medium in a direction orthogonal to the line direction so that desired characters, figures, etc. can be formed on the recording medium. The present invention relates to a line printer for printing.

【0002】[0002]

【従来の技術】この種の装置の一つとして、図5にサー
マル式ラベルプリンタの従来の一例を示す。まず、プラ
テン1に対して印字ヘッドとしてのサーマルヘッド2が
接離自在に設けられ、これらのプラテン1とサーマルヘ
ッド2との間にはラベル付き台紙3が配置されている。
このラベル付き台紙3は、一定の間隔をおいて記録媒体
としての多数枚のラベル3aが貼付された長尺状の台紙
3bがロール状に巻回されることにより形成されてお
り、支軸4に支持されている。そして、前記プラテン1
と前記サーマルヘッド2との間を通った前記ラベル付き
台紙3が案内される位置には剥離板5が設けられ、この
剥離板5で前記ラベル3aが前記台紙3bから剥離さ
れ、この台紙3bのみが巻取軸6に巻き取られるよう構
成されている。
2. Description of the Related Art As one of the devices of this type, FIG. 5 shows a conventional example of a thermal label printer. First, a thermal head 2 as a print head is provided so as to be able to come in contact with and separate from the platen 1, and a label mount 3 is arranged between the platen 1 and the thermal head 2.
The label mount 3 is formed by winding a long mount 3b, to which a large number of labels 3a as recording media are attached at regular intervals, in a roll shape, and the support shaft 4 Supported by. And the platen 1
A peeling plate 5 is provided at a position where the labeled mount 3 passing between the thermal head 2 and the thermal head 2 is guided, and the label 3a is peeled from the mount 3b by the peeling plate 5, and only the mount 3b is provided. Is wound around the winding shaft 6.

【0003】なお、前記サーマルヘッド2と前記ラベル
付き台紙3との間には、一対のリボン保持軸7aとリボ
ン巻取軸7bとの間に張設状態で保持されたインクリボ
ン8が案内されている。
An ink ribbon 8 held in a stretched state between a pair of ribbon holding shaft 7a and ribbon winding shaft 7b is guided between the thermal head 2 and the label mount 3. ing.

【0004】このような構造のものは、サーマルヘッド
2の図示しない発熱体の選択的な発熱によってインクリ
ボン8のインクが溶融され、このインクがラベル3aに
付着することで1ライン分のドットが選択的に形成され
る。そこで、このようなドットの選択的な形成とプラテ
ン1や巻取軸6の回転によるラベル付き台紙3のフィー
ドとによってラベル3aに所望の印字がなされ、印字後
のラベル3aは剥離板5で台紙3bから剥離されて発行
される。
In the case of such a structure, the ink of the ink ribbon 8 is melted by the selective heat generation of the heating element (not shown) of the thermal head 2, and the ink adheres to the label 3a to form a dot for one line. It is selectively formed. Then, the desired printing is performed on the label 3a by the selective formation of such dots and the feeding of the labeled mount 3 by the rotation of the platen 1 and the winding shaft 6, and the label 3a after printing is mounted on the release plate 5 as the mount. It is peeled off from 3b and issued.

【0005】一方、従来のプリンタでは、プリンタ内で
の印字データの処理やプリンタと他の機器との間での印
字データの送受信の高速度化を図るため、印字データは
コード化された状態で取り扱われ、このコード化された
印字データが印字ヘッドの直前に接続されたイメージバ
ッファにイメージデータとして格納され、このイメージ
データを基に印字ヘッドが駆動される構造が一般的であ
る。ところが、図5に例示したようなサーマル式ラベル
プリンタでは、通常、イメージバッファの容量が少なく
設定されているため、印字データがイメージバッファの
容量からはみ出してしまうことがあり、この場合には一
枚のラベル3aに対応する印字データのすべてをラベル
3aに印字することができず、不都合である。
On the other hand, in the conventional printer, the print data is coded in order to speed up the print data processing in the printer and the transmission / reception of the print data between the printer and another device. In general, the coded print data is handled and stored as image data in an image buffer connected immediately before the print head, and the print head is driven based on the image data. However, in the thermal type label printer as illustrated in FIG. 5, since the image buffer capacity is usually set to be small, the print data may run out of the image buffer capacity. This is inconvenient because it is impossible to print all the print data corresponding to the label 3a on the label 3a.

【0006】そこで、従来、イメージバッファにその容
量いっぱいに印字データが格納された時点でその分の印
字を行い、残りの印字データをイメージバッファに入替
えて印字を続行することで、一枚のラベル3aに対応す
るすべての印字データを印字できるようにした構造のサ
ーマル式ラベルプリンタが考えられ、実用化されてい
る。図6は、このような構造のサーマル式ラベルプリン
タによる印字結果を例示するもので、図6中、長さaに
対応する部分がイメージバッファの容量である。したが
って、そのa部分に対応するイメージデータが印字像9
aとしてラベル3aに印字された後、残りの部分bに対
応するイメージデータが印字像9bとして続けて印字さ
れることで、ラベル3aには一枚のラベル3aに対応す
るすべての印字データが印字像9として印字されてい
る。
Therefore, conventionally, when the print data is stored in the image buffer to the full capacity, printing is performed for that amount, and the remaining print data is replaced in the image buffer and printing is continued, whereby one label is printed. A thermal label printer having a structure capable of printing all print data corresponding to 3a has been considered and put into practical use. FIG. 6 exemplifies a printing result by the thermal type label printer having such a structure. In FIG. 6, the portion corresponding to the length a is the capacity of the image buffer. Therefore, the image data corresponding to the portion a is printed image 9
After being printed on the label 3a as a, the image data corresponding to the remaining portion b is continuously printed as the printed image 9b, so that all the print data corresponding to one label 3a is printed on the label 3a. The image 9 is printed.

【0007】[0007]

【発明が解決しようとする課題】サーマルヘッド2に対
するラベル付き台紙3のフィードは、図示しないモータ
等の駆動部から同様に図示しない動力伝達系を介して台
紙3bの巻取軸6やプラテン1等に駆動力が付与される
ことによりなされるのが一般的である。この際、例えば
印字像9aの印字後に印字像9bを継続的に印字するこ
とで印字像9を完成させるような継続印字方式を採用し
た場合、イメージバッファに対する印字データの入替え
時に、印字終了位置でラベル付き台紙3のフィードを正
確かつ確実に停止させなければ印字像9aと印字像9b
との間に図6に例示するような切れ目が生じてしまう。
The feeding of the labeled mount 3 to the thermal head 2 is performed by a drive unit such as a motor (not shown) through a power transmission system (not shown), and the take-up shaft 6 of the mount 3b, the platen 1 and the like. It is generally performed by applying a driving force to the. At this time, for example, when a continuous printing method is adopted in which the print image 9b is continuously printed and then the print image 9b is completed to complete the print image 9, when the print data is replaced in the image buffer, the print end position is changed. Unless the feed of the labeled mount 3 is stopped accurately and surely, the printed image 9a and the printed image 9b
A break as illustrated in FIG.

【0008】しかしながら、動力伝達系に用いられてい
るギヤの公差やプラテン1の歪み、印字開始時のスロー
アップや印字終了時のスローダウン等の影響から、現実
にはラベル付き台紙3のフィードを印字終了位置で停止
させることはできない。したがって、この種の継続印字
方式が採用されたラベルプリンタでは、イメージバッフ
ァに対する印字データの入替え位置で印字像9に切れ目
が入ってしまい、画像品質に劣るという欠点を有する。
However, due to the tolerances of the gears used in the power transmission system, the distortion of the platen 1, the slow-up at the start of printing, the slow-down at the end of printing, etc., the feed of the labeled mount 3 is actually fed. It cannot be stopped at the print end position. Therefore, in the label printer adopting the continuous printing method of this kind, the printed image 9 is notched at the position where the printing data is replaced with respect to the image buffer, and the image quality is inferior.

【0009】[0009]

【課題を解決するための手段】本発明は、イメージバッ
ファに格納されたイメージデータに基づくライン型の印
字ヘッドの駆動と記録媒体をフィードするフィード部の
駆動とを同期させて記録媒体に所定の印字を行う印字手
段を設け、一つの記録媒体に対応する印字データの量が
イメージバッファの容量よりも多い場合にこのイメージ
バッファに印字データを複数回に分けて入替え各回毎の
印字データに基づく印字を印字手段に行わせる継続印字
手段を設け、この継続印字手段によるイメージバッファ
に対する印字データの入替えに際し記録媒体をバックフ
ィードさせて既印字部分に印字再開位置を僅かにオーバ
ーラップさせる位置補正手段を設けた。
SUMMARY OF THE INVENTION According to the present invention, the drive of a line type print head based on image data stored in an image buffer and the drive of a feed unit for feeding a recording medium are synchronized with each other so that a predetermined amount can be obtained on the recording medium. A printing means is provided for printing, and when the amount of print data corresponding to one recording medium is larger than the capacity of the image buffer, the print data is exchanged into this image buffer in multiple times and printing is performed based on the print data for each time. And a position correction means for back-feeding the recording medium to slightly overlap the printing restart position with the already printed portion when the continuous printing means replaces the print data in the image buffer. It was

【0010】[0010]

【作用】したがって、一つの記録媒体に対応する印字デ
ータの量がイメージバッファの容量よりも多い場合、イ
メージバッファに格納されたイメージデータに基づく印
字が印字手段によりなされ、その印字が終了すると継続
印字手段により未印字の印字データがイメージバッファ
に入替えられ、新たなイメージデータに基づく印字が印
字手段によりなされる。その後、同様の動作が繰り返さ
れことで、一つの記録媒体に対応するすべての印字デー
タに基づく完全な画像が記録媒体に形成される。一方、
イメージバッファに対する印字データの入替え時、記録
媒体は位置補正手段によってバックフィードされ、既印
字部分に僅かにオーバーラップした位置から印字手段に
よる印字が再開される。これにより、フィード部のギヤ
の公差等によって記録媒体が空送されるようなことがあ
っても、印字終了位置と印字再開位置とが離反すること
がなく、完成した画像に切れ目が生じない。
Therefore, when the amount of print data corresponding to one recording medium is larger than the capacity of the image buffer, the printing means performs printing based on the image data stored in the image buffer, and when the printing is completed, continuous printing is performed. The unprinted print data is replaced by the image buffer by the means, and printing based on the new image data is performed by the printing means. Then, by repeating the same operation, a complete image based on all print data corresponding to one recording medium is formed on the recording medium. on the other hand,
When the print data is replaced in the image buffer, the recording medium is back-fed by the position correcting means, and the printing by the printing means is restarted from the position slightly overlapped with the already printed portion. As a result, even if the recording medium is idly fed due to the tolerance of the gears of the feed portion, the print end position and the print restart position are not separated, and no break is generated in the completed image.

【0011】[0011]

【実施例】本発明の一実施例を図1ないし図4(a)(b)
(c)(d)(e)に基づき説明する。図5に基づいて説明し
た部分と同一部分は同一符号で示し、説明も省略する。
まず、本実施例における電気的接続を図1のブロック図
に示す。すなわち、各種処理を集中的に行うCPU10
が設けられ、このCPU10には外部機器からの印字デ
ータの窓口となる通信インターフェース11が接続さ
れ、ROM12及びRAM13が接続されている。前記
ROM12は、動作プログラム等の固定データを格納す
る構造のものであり、例えばEPROMが用いられてい
る。一方、前記RAM13は、書替え自在の可変データ
を格納する構造のものであり、スタテックRAMとダイ
ナミックRAMとの双方から構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention is shown in FIGS. 1 to 4 (a) (b).
A description will be given based on (c), (d) and (e). The same parts as those described based on FIG. 5 are designated by the same reference numerals, and the description thereof will be omitted.
First, the electrical connection in this embodiment is shown in the block diagram of FIG. That is, the CPU 10 that intensively performs various processes
The CPU 10 is connected with a communication interface 11 serving as a window for print data from an external device, and is also connected with a ROM 12 and a RAM 13. The ROM 12 has a structure for storing fixed data such as an operation program, and is an EPROM, for example. On the other hand, the RAM 13 has a structure for storing rewritable variable data, and is composed of both static RAM and dynamic RAM.

【0012】次いで、前記CPU10にはモータドライ
バ14を介してモータ15が接続されている。このモー
タ15にはステッピングモータが用いられており、プラ
テン1、巻取軸6、リボン巻取軸7b等の駆動源として
利用されている。そして、前記モータ15、前記プラテ
ン1及び前記巻取軸6等によってラベル付き台紙3をフ
ィードするフィード部16が構成されている。ここで、
前記モータドライバ14に与えられる駆動パルスの数は
前記CPU10においてカウントされ、そのカウント数
が前記RAM13内に設けられた印字ステップカウンタ
13aに記憶されるよう構成されている。この印字ステ
ップカウンタ13aは、一枚のラベル3aに対する印字
開始時を0として、この印字開始時から印字終了時まで
の間に前記モータ15に与えた駆動パルス数をカウント
アップ又はカウントダウンしてカウントする構造のもの
である。なお、その印字ステップカウンタ13aでは、
前記モータ15に対する正回転出力時にはカウントアッ
プ、逆回転出力時にはカウントダウンがそれぞれなされ
る。
Next, a motor 15 is connected to the CPU 10 via a motor driver 14. A stepping motor is used as the motor 15 and is used as a drive source for the platen 1, the winding shaft 6, the ribbon winding shaft 7b, and the like. Further, the motor 15, the platen 1, the winding shaft 6, and the like constitute a feed unit 16 that feeds the labeled mount 3. here,
The number of drive pulses given to the motor driver 14 is counted by the CPU 10, and the counted number is stored in a printing step counter 13a provided in the RAM 13. The print step counter 13a counts up or down the number of drive pulses given to the motor 15 from the start of printing to the end of printing, with 0 at the start of printing on one label 3a. It is of structure. In the printing step counter 13a,
When the normal rotation output to the motor 15 is performed, the count-up is performed, and when the reverse rotation output is performed, the count-down is performed.

【0013】また、前記CPU10にはヘッドドライバ
17を介してサーマルヘッド2が接続され、そのヘッド
ドライバ17にはイメージバッファ18が包含されてい
る。このイメージバッファ18は、前記通信インターフ
ェース11によって受信されたコード化されて表現され
た印字データを前記サーマルヘッド2に適したイメージ
データとして保持する構造のものである。
The thermal head 2 is connected to the CPU 10 through a head driver 17, and the head driver 17 includes an image buffer 18. The image buffer 18 has a structure for holding the coded and expressed print data received by the communication interface 11 as image data suitable for the thermal head 2.

【0014】さらに、前記CPU10には、リボンエン
ドセンサ、ラベルエンドセンサ、ヘッドアップセンサ等
の各種センサ類19がI/O20を介して接続されてお
り、前記モータドライバ14に付与される駆動パルスの
間隔の基準となる一定周期パルスを発するタイマ21も
前記CPU10に接続されている。
Further, various sensors 19 such as a ribbon end sensor, a label end sensor, and a head-up sensor are connected to the CPU 10 via an I / O 20, and drive pulses applied to the motor driver 14 are controlled. A timer 21 that emits a fixed-cycle pulse that serves as a reference for the interval is also connected to the CPU 10.

【0015】このような構成において、印字動作はCP
U10、サーマルヘッド2、モータ15等により構成さ
れる印字手段22によりなされる。すなわち、ROM1
2内の動作プログラムに従い、通信インターフェース1
1より入力された印字データが一枚のラベル3aに対応
する分だけイメージバッファ18に格納される。この
際、コード化されている印字データはサーマルヘッド2
の印字に適するイメージデータに変換されてイメージバ
ッファ18に格納される。そこで、CPU10は印字命
令をヘッドドライバ17とモータドライバ14とに発
し、これに従ってサーマルヘッド2とモータ15とが駆
動されることによりラベル3aに所定の印字がなされ
る。より詳細には、サーマルヘッド2の図示しない発熱
体の選択的な発熱によりインクリボン8のインクが溶融
されてラベル3aに付着することで1ライン分のドット
が選択的に形成されると共に、モータ15に駆動された
プラテン1や巻取軸6が回転することによりラベル付き
台紙3がフィードされ、ここにラベル3aに対する所定
の印字がなされる。
In such a configuration, the printing operation is CP
The printing means 22 is composed of U10, the thermal head 2, the motor 15 and the like. That is, ROM1
Communication interface 1 according to the operation program in 2
The print data input from 1 is stored in the image buffer 18 in an amount corresponding to one label 3a. At this time, the encoded print data is the thermal head 2
Is converted into image data suitable for printing and stored in the image buffer 18. Then, the CPU 10 issues a print command to the head driver 17 and the motor driver 14, and the thermal head 2 and the motor 15 are driven in accordance with the print command, so that a predetermined print is performed on the label 3a. More specifically, the ink of the ink ribbon 8 is melted by the selective heat generation of a heating element (not shown) of the thermal head 2 and adheres to the label 3a, so that dots for one line are selectively formed and the motor When the platen 1 and the winding shaft 6 driven by 15 rotate, the labeled mount 3 is fed, and the predetermined printing is performed on the label 3a.

【0016】次いで、一枚のラベル3aに対する印字デ
ータの量がイメージバッファ18の容量よりも多い場合
の動作の流れを図4の印字経過図と共に図2及び図3の
フローチャートに基づき説明する。まず、印字データの
量がイメージバッファ18の容量を越えているかどうか
がCPU10によって判断され、越えていない場合には
通常印字モードでの印字が行われるのに対し、越えてい
る場合には継続印字モードに移行する。もっとも、実施
に当たっては、イメージバッファ18にイメージデータ
を形成する際にイメージバッファ18に入り切らない印
字データが存する場合、あるいは、イメージバッファ1
8内のイメージデータがラベル3aに印字された時点で
未印字の印字データが残存している場合等に継続印字モ
ードに移行する処理を行う構成としても良い。
Next, the flow of operation when the amount of print data for one label 3a is larger than the capacity of the image buffer 18 will be described with reference to the print progress chart of FIG. 4 and the flow charts of FIGS. First, the CPU 10 determines whether or not the amount of print data exceeds the capacity of the image buffer 18. If the print data amount does not exceed the limit, printing in the normal print mode is performed. Switch to mode. However, in the implementation, when there is print data that does not fit in the image buffer 18 when the image data is formed in the image buffer 18, or the image buffer 1
It is also possible to perform a process of shifting to the continuous print mode when, for example, unprinted print data remains when the image data in 8 is printed on the label 3a.

【0017】しかして、継続印字モードでは、継続印字
手段により継続印字処理がなされ、その過程で位置補正
手段によって印字像9に切れ目を生じさせない処理がな
される。以下、この継続印字モードでの動作の流れを各
ステップ毎に説明する。
In the continuous print mode, however, the continuous print means performs the continuous print processing, and in the process, the position correction means does not cause a break in the printed image 9. The flow of operation in the continuous print mode will be described below step by step.

【0018】ステップ1 ステップ1では、前半の印字データに基づく印字が行わ
れる。すなわち、印字ステップカウンタ13aがクリア
され、イメージバッファ18に印字データの前半の部分
がイメージデータとして形成、格納される。そして、モ
ータ15に対する正回転出力命令、サーマルヘッド2に
対する印字命令及びモータドライバ14に付与される駆
動パルスのカウント数がCPU10内にビットセット等
の方法でセットされる。ここでの駆動パルスのカウント
数は、イメージバッファ18に格納されたイメージデー
タの印字に必要なラベル付き台紙3のフィード量に対応
する駆動パルスの数である。
Step 1 In step 1, printing is performed based on the first half print data. That is, the print step counter 13a is cleared, and the first half of the print data is formed and stored in the image buffer 18 as image data. Then, the normal rotation output command to the motor 15, the print command to the thermal head 2, and the count number of the drive pulse given to the motor driver 14 are set in the CPU 10 by a method such as bit setting. The number of drive pulses counted here is the number of drive pulses corresponding to the feed amount of the labeled mount 3 required for printing the image data stored in the image buffer 18.

【0019】所定のセット後、図3に示す割込み処理に
移る。この割込み処理では、印字命令がセットされてい
るのでサーマルヘッド2の駆動とモータ15の正回転駆
動との双方がなされ、ラベル3aに1ライン分のドット
が形成される。ドット形成後は、正回転出力命令がセッ
トされているので印字ステップカウンタ13aが1ステ
ップアップされ、図2のフローチャートにリターンす
る。このような図3に示す割込み処理は印字ステップカ
ウンタ13aのカウント数がセットされたカウント数に
達するまで、すなわちカウントアップするまで続けら
れ、カウントアップした時点でイメージバッファ18に
格納されたイメージデータに基づく画像がラベル3aに
形成され、印字命令及びカウント数がリセットされる。
After the predetermined setting, the interrupt processing shown in FIG. 3 is started. In this interrupt process, since the print command is set, both the thermal head 2 drive and the motor 15 normal rotation drive are performed, and a dot for one line is formed on the label 3a. After the dot formation, since the forward rotation output command is set, the printing step counter 13a is incremented by 1 and the process returns to the flowchart of FIG. The interrupt processing shown in FIG. 3 is continued until the count number of the print step counter 13a reaches the set count number, that is, until it counts up, and at the time of the count-up, the image data stored in the image buffer 18 is converted. A base image is formed on the label 3a, and the print command and the count number are reset.

【0020】ここで、図4(a)〜(e)は、ラベル3aい
っぱいに大文字のAを印字する場合の印字経過を示し、
ステップ1で印字ステップカウンタ13aがカウントア
ップした時点での印字像25を図4(a)に例示する。図
4中に一点鎖線で示すのは印字位置A、すなわちサーマ
ルヘッド2の発熱体の位置である。
Here, FIGS. 4 (a) to 4 (e) show the printing process when a capital letter A is printed over the label 3a.
The print image 25 at the time when the print step counter 13a counts up in step 1 is illustrated in FIG. The dot-dash line in FIG. 4 indicates the printing position A, that is, the position of the heating element of the thermal head 2.

【0021】ステップ2 次いで、ステップ2では、モータ15のスローダウン駆
動処理が行われる。すなわち、スローダウン命令及びス
ローダウン駆動に必要な駆動パルスのカウント数がセッ
トされた後、図3の割込み処理に移る。この割込み処理
では、印字命令が既にリセットされているのでモータ1
5の正回転駆動のみが行われ、印字ステップカウンタ1
3aが1ステップアップされて図2のフローチャートに
リターンする。このような割込み処理は印字ステップカ
ウンタ13aがカウントアップするまで続けられるが、
この際、スローダウン命令がセットされているため、モ
ータドライバ14に付与される駆動パルス間間隔が1ス
テップごとに広げられる。これにより、モータ15の回
転が徐々に遅くなってラベル付き台紙3がスローダウン
フィードされる。
Step 2 Next, in step 2, the slow-down drive processing of the motor 15 is performed. That is, after the slowdown command and the count number of drive pulses required for slowdown driving are set, the process proceeds to the interrupt process of FIG. In this interrupt processing, the print command has already been reset, so the motor 1
Only the positive rotation drive of 5 is performed, and the printing step counter 1
3a is increased by one step, and the process returns to the flowchart of FIG. Such interrupt processing is continued until the print step counter 13a counts up.
At this time, since the slowdown command is set, the interval between the drive pulses given to the motor driver 14 is widened step by step. As a result, the rotation of the motor 15 is gradually slowed and the labeled mount 3 is slow-down fed.

【0022】印字ステップカウンタ13aがカウントア
ップすると、モータ15に対する正回転出力命令、スロ
ーダウン命令及びカウント数がリセットされる。この
時、ラベル付き台紙3は印字終了位置である印字位置A
からさらにフィードされ、図4(b)に示す状態となる。
なお、モータ15のスローダウン駆動によるラベル付き
台紙3のスローダウンフィード量は、例えば10mmで
ある。
When the printing step counter 13a counts up, the forward rotation output command, the slowdown command, and the count number for the motor 15 are reset. At this time, the label mount 3 is printed at the print position A, which is the print end position.
Is further fed, and the state shown in FIG.
The slow-down feed amount of the labeled mount 3 by the slow-down drive of the motor 15 is, for example, 10 mm.

【0023】ステップ3 次いで、ステップ3では、ラベル付き台紙3のバックフ
ィード動作処理がなされる。すなわち、モータ15に対
する逆回転出力命令及び駆動パルスのカウント数がセッ
トされ、図3に示す割込み処理に移行する。ここで、駆
動パルスのカウント数は、ラベル付き台紙3のバックフ
ィードに必要な駆動パルス数のうち、後述するステップ
4でのバックフィード終期に行われるスローダウンフィ
ードに必要なパルス数を除いた数である。
Step 3 Next, in Step 3, backfeed operation processing of the mount 3 with label is performed. That is, the reverse rotation output command to the motor 15 and the driving pulse count number are set, and the process proceeds to the interrupt process shown in FIG. Here, the number of drive pulses counted is the number of drive pulses required for backfeed of the labeled mount 3 excluding the number of pulses required for slowdown feed performed at the end of backfeed in step 4 described later. Is.

【0024】割込み処理では、印字命令がセットされて
いないのでモータ15の逆回転駆動のみがなされ、モー
タ15の逆回転出力命令がセットされているので印字ス
テップカウンタ13aが1ステップダウンされる。これ
により、ラベル付き台紙3がバックフィードされ、印字
ステップカウンタ13aがカウントアップすると駆動パ
ルスのカウント数がリセットされる。なお、モータ15
の逆回転駆動によるラベル付き台紙3のバックフィード
量は、例えば30mmである。
In the interrupt process, since the print command is not set, only the reverse rotation drive of the motor 15 is performed, and since the reverse rotation output command of the motor 15 is set, the print step counter 13a is lowered by one step. As a result, the labeled mount 3 is back-fed, and when the printing step counter 13a counts up, the count number of drive pulses is reset. The motor 15
The back feed amount of the labeled mount 3 by the reverse rotation drive of is, for example, 30 mm.

【0025】ステップ4 ステップ4では、ステップ2と同様のモータ15のスロ
ーダウン駆動処理が行われる。すなわち、スローダウン
命令及び駆動パルスのカウント数のセット後、再び図3
の割込み処理に移り、モータ15の逆回転駆動後に印字
ステップカウンタ13aを1ステップダウンしてこの印
字ステップカウンタ13aがカウントアップするまで同
一動作が繰り返され、カウントアップ後はモータ15に
対する逆回転駆動命令、スローダウン命令及びカウント
数がリセットされる。ここで、このステップ4でセット
された駆動パルスのカウント数は、ステップ2と同様
に、スローダウン駆動に必要なモータ15の駆動パルス
の数である。したがって、ラベル付き台紙3は10mm
分スローダウンバックフィードされ、ステップ3での3
0mmのバックフィードと合わせてラベル付き台紙3は
40mm分バックフィードされる。図4(c)に、この時
のラベル付き台紙3と印字位置Aとの位置関係を示す。
Step 4 In step 4, the slow-down drive processing of the motor 15 similar to step 2 is performed. That is, after setting the slow down command and the count number of the drive pulse, FIG.
After the reverse rotation drive of the motor 15, the print step counter 13a is stepped down by one step and the same operation is repeated until the print step counter 13a counts up. After the count up, the reverse rotation drive command for the motor 15 is issued. , The slowdown command and the count number are reset. Here, the count number of the drive pulses set in step 4 is the number of drive pulses of the motor 15 necessary for the slowdown drive, as in step 2. Therefore, the label mount 3 is 10 mm
Min slowdown backfeed, step 3 3
With the back feed of 0 mm, the labeled mount 3 is back fed by 40 mm. FIG. 4 (c) shows the positional relationship between the labeled mount 3 and the printing position A at this time.

【0026】ステップ5 ステップ5では、後述するステップ6での印字再開位置
を印字位置Aまで移動させる処理が行われる。すなわ
ち、イメージバッファ18に印字データの後半部分がイ
メージデータとして形成、格納され、モータ15に対す
る正回転出力命令及び駆動パルスのカウント数がセット
される。この駆動パルスのカウント数は、印字再開位置
が印字位置Aまで移動されるようラベル付き台紙3をフ
ィードするのに必要な駆動パルスに対応する数である。
これにより、モータ15が正回転駆動されてラベル付き
台紙3がフィードされ、印字ステップカウンタ13aが
1ステップアップされる。そこで、この印字ステップカ
ウンタ13aがカウントアップするまで同一動作が繰り
返され、印字再開位置が印字位置Aまで移動される。こ
の瞬間を図4(d)に示す。なお、この時には駆動パルス
のカウント数がリセットされる。
Step 5 In step 5, a process of moving the print restart position in step 6 described later to the print position A is performed. That is, the latter half of the print data is formed and stored as image data in the image buffer 18, and the forward rotation output command for the motor 15 and the driving pulse count number are set. The count number of the drive pulse is a number corresponding to the drive pulse required to feed the labeled mount 3 so that the print restart position is moved to the print position A.
As a result, the motor 15 is driven to rotate in the normal direction to feed the label-mounted backing sheet 3 and the printing step counter 13a is incremented by one step. Therefore, the same operation is repeated until the print step counter 13a counts up, and the print restart position is moved to the print position A. This moment is shown in FIG. At this time, the count number of the drive pulse is reset.

【0027】ここで、ステップ5でのラベル付き台紙3
の具体的なフィード量は29.64mmであり、印字終
了位置を印字位置Aに一致させる理論的な値である30
mmではない。これは、フィード部16の機械的誤差等
により、モータ15の駆動を停止してから現実にラベル
付き台紙3が停止するまでに0.36mm程度の空送が
生じてしまうことがあるからである。すなわち、ステッ
プ2とステップ4とでモータ15の駆動を二度停止させ
る本実施例では、ステップ2でのみラベル付き台紙3が
空送されると、ステップ5でラベル付き台紙3を30m
mフィードさせると、印字終了位置は印字位置Aを0.
36mm程度通り越してしまい、印字終了位置と印字再
開位置との間に0.36mmの隙間が開いてしまう。そ
こで、本実施例のように、ステップ5でのラベル付き台
紙3のフィード量を29.64mmとすることで、印字
再開位置が印字終了位置に一致するかあるいはオーバー
ラップして、印字終了位置と印字再開位置との間に隙間
が開くことがない。
Here, the mount 3 with a label in step 5 is used.
Is 29.64 mm, which is a theoretical value for matching the print end position with the print position A.
Not mm. This is because, due to a mechanical error or the like of the feed unit 16, there is a case in which a blank feed of about 0.36 mm occurs after the driving of the motor 15 is stopped and before the labeled mount 3 is actually stopped. .. That is, in the present embodiment in which the driving of the motor 15 is stopped twice in step 2 and step 4, when the labeled backing sheet 3 is idly fed only in step 2, the labeled backing sheet 3 is moved to 30 m in step 5.
After feeding m, the print end position is 0.
About 36 mm is passed, and a gap of 0.36 mm is opened between the print end position and the print restart position. Therefore, by setting the feed amount of the labeled mount 3 in step 5 to 29.64 mm as in this embodiment, the print restart position coincides with or overlaps the print end position, and the print end position is There is no gap between the print restart position and the print restart position.

【0028】ステップ6 ステップ6では、後半の印字データに基づく印字が行わ
れる。すなわち、印字命令と印字に必要なラベル付き台
紙3のフィード量に対応する駆動パルスのカウント数と
がセットされ、図3の割込み処理に移る。この割込み処
理では、印字命令がセットされているのでサーマルヘッ
ド2の駆動とモータ15の正回転駆動との双方がなさ
れ、ラベル3aに1ライン分のドットが形成される。そ
して、印字ステップカウンタ13aが1ステップアップ
され、この印字ステップカウンタ13aがカウントアッ
プするまで同様の動作が継続され、カウントアップする
と印字命令、モータ15に対する正回転出力命令及びカ
ウント数がリセットされ、継続印字モードが終了する。
この時、図4(e)に示すように、ラベル3aには一枚の
ラベル3aに対応するすべての印字データに基づく印字
像25が形成され、既印字のラベル3aと次のラベル3
aとの中間部分が印字位置Aに位置される。
Step 6 In step 6, printing is performed based on the print data of the latter half. That is, the print command and the count number of the drive pulse corresponding to the feed amount of the label mount 3 required for printing are set, and the interrupt processing of FIG. 3 is performed. In this interrupt process, since the print command is set, both the thermal head 2 drive and the motor 15 normal rotation drive are performed, and a dot for one line is formed on the label 3a. Then, the print step counter 13a is incremented by one step, and the same operation is continued until the print step counter 13a is counted up. When the count step is incremented, the print command, the forward rotation output command to the motor 15 and the count number are reset and continued. Print mode ends.
At this time, as shown in FIG. 4 (e), a print image 25 based on all print data corresponding to one label 3a is formed on the label 3a, and the already-printed label 3a and the next label 3a are formed.
The intermediate portion of the line a is located at the printing position A.

【0029】このように本実施例では、ステップ1でイ
メージバッファ18に前半の印字データがイメージデー
タとして作成されてこれに基づく印字がなされ、ステッ
プ5でイメージバッファ18に後半の印字データがイメ
ージデータとして作成されステップ6でこれに基づく印
字がなされ、一枚のラベル3aに対応するすべての印字
データに基づく印字像25が形成される。したがって、
これらのステップ1、ステップ5及びステップ6によっ
て継続印字手段が構成されている。また、このような継
続印字の過程で、イメージバッファ18に対する印字デ
ータの入替え時に、ステップ2〜5で印字再開位置を印
字終了位置にオーバーラップさせるラベル付き台紙3の
フィードがなされる。したがって、これらのステップ2
〜5によって位置補正手段が構成されている。そして、
この位置補正手段が設けられていることから、印字終了
位置から印字再開位置が離反せず、ラベル3aには途中
で切れ目が生じない印字像25が形成され、印字品質の
向上が図られる。
As described above, in this embodiment, the first half of the print data is created as image data in the image buffer 18 in step 1 and printing is performed based on this, and the second half of the print data is image data in the image buffer 18 in step 5. Then, the printing based on this is performed in step 6, and the printed image 25 based on all the printing data corresponding to one label 3a is formed. Therefore,
The step 1, step 5, and step 6 constitute the continuous printing means. Further, in the process of such continuous printing, when the print data is exchanged to the image buffer 18, the label mount 3 for feeding the print restart position to the print end position is fed in steps 2 to 5. Therefore, these steps 2
The position correction means is composed of 5 to 5. And
Since this position correction means is provided, the print restart position does not separate from the print end position, and the print image 25 is formed on the label 3a with no breaks in the middle, so that the print quality is improved.

【0030】なお、実施に当たっては、イメージバッフ
ァ18に対する印字データの入替えを二度以上行う構成
としても良い。この場合には、図2のフローチャート
中、最後の印字データ入替え時まで、ステップ1のイメ
ージバッファ18に対する印字データの格納からステッ
プ4までの処理を必要回数繰り返せば良い。また、実施
に当たっては、ラベル付き台紙3をバックフィードのみ
させて印字再開位置を印字終了位置に僅かにオーバーラ
ップさせる位置補正手段を構成しても良い。
In practice, the print data in the image buffer 18 may be replaced more than once. In this case, in the flowchart of FIG. 2, the processes from the storage of the print data in the image buffer 18 in step 1 to step 4 may be repeated a required number of times until the last print data replacement. Further, in the implementation, a position correction means may be configured so that only the backing sheet 3 with the label is fed back so that the print restart position slightly overlaps the print end position.

【0031】[0031]

【発明の効果】本発明は、一つの記録媒体に対応する印
字データの量がイメージバッファの容量よりも多い場
合、継続印字手段によってイメージバッファに印字デー
タを複数回に分けて入替え各回毎の印字データに基づき
印字を続けることですべての印字データに基づく完全な
画像が記録媒体に形成されるようにし、この際、位置補
正手段を設け、イメージバッファに対する印字データの
入替えに際して記録媒体をバックフィードさせ、既印字
部分に僅かにオーバーラップした位置から印字が再開さ
れるよう構成したので、記録媒体をフィードするフィー
ド部に用いられるギヤの公差等により記録媒体が空送さ
れるようなことがあっても、途中で切れ目が入らない印
字像を形成することができ、したがって、印字品質を向
上させることができる等の効果を有する。
According to the present invention, when the amount of print data corresponding to one recording medium is larger than the capacity of the image buffer, the print data is exchanged into the image buffer in a plurality of times by the continuous printing means and printing is performed at each time. By continuing the printing based on the data, a complete image based on all the printing data is formed on the recording medium. At this time, a position correcting means is provided, and the recording medium is back-fed when the printing data is replaced to the image buffer. Since the printing is restarted from a position slightly overlapping the already printed portion, the recording medium may be idly fed due to the tolerance of the gear used in the feeding portion that feeds the recording medium. Also, it is possible to form a printed image with no breaks in the middle, and thus improve the printing quality. It has the effect of equal.

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

【図1】本発明の一実施例を示す各部の電気的接続のブ
ロック図である。
FIG. 1 is a block diagram of electrical connection of each part showing an embodiment of the present invention.

【図2】動作処理の流れを示すフローチャートである。FIG. 2 is a flowchart showing a flow of operation processing.

【図3】図2のフローチャート中の割込み処理の流れを
示すフローチャートである。
3 is a flowchart showing a flow of interrupt processing in the flowchart of FIG.

【図4】イメージバッファの容量よりも印字データの量
が多い場合の印字動作の経過を示すラベル付き台紙の平
面図であり、(a)は最初にイメージバッファに形成さ
れたイメージデータがすべて印字された瞬間、(b)は
モータの駆動を停止した瞬間、(c)はラベル付き台紙
のバックフィード後にモータの駆動を停止した瞬間、
(d)はラベル付き台紙が印字再開位置までフィードさ
れた瞬間、(e)は一枚のラベルに対する印字終了の瞬
間をそれぞれ示す。
FIG. 4 is a plan view of a label mount showing the progress of the printing operation when the amount of print data is larger than the capacity of the image buffer, and (a) shows all the image data initially formed in the image buffer. The moment when the drive of the motor is stopped, the moment when the drive of the motor is stopped, and the moment when the drive of the motor is stopped after the back feed of the labeled mount,
(D) shows the moment when the mount with label is fed to the printing restart position, and (e) shows the moment when printing on one label ends.

【図5】サーマル式ラベルプリンタの従来の一例を示す
側面図である。
FIG. 5 is a side view showing an example of a conventional thermal label printer.

【図6】ラベルに対する印字結果の一例を示すラベル付
き台紙の平面図である。
FIG. 6 is a plan view of a mount with label showing an example of a print result on a label.

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

1 プラテン 2 印字ヘッド 3a 記録媒体 16 フィード部 18 イメージバッファ 22 印字手段 DESCRIPTION OF SYMBOLS 1 Platen 2 Print head 3a Recording medium 16 Feed part 18 Image buffer 22 Printing means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プラテンに記録媒体を介して当接するラ
イン型の印字ヘッドと、この印字ヘッドと前記プラテン
との間に案内された記録媒体をフィードするフィード部
と、印字データをイメージデータとして格納するイメー
ジバッファと、このイメージバッファに格納されたイメ
ージデータに基づき前記印字ヘッドを駆動すると共にこ
の駆動と同期させて前記フィード部を駆動することで前
記記録媒体に所定の印字を行う印字手段と、一つの前記
記録媒体に対応する印字データの量が前記イメージバッ
ファの容量よりも多い場合にこのイメージバッファに複
数回に分けて印字データを入替え各回毎の印字データに
基づく印字を前記印字手段に行わせる継続印字手段と、
この継続印字手段によるイメージバッファに対する印字
データの入替えに際し前記記録媒体をバックフィードさ
せて既印字部分に印字再開位置を僅かにオーバーラップ
させる位置補正手段とを設けたことを特徴とするライン
プリンタ。
1. A line-type print head that comes into contact with a platen via a recording medium, a feed unit that feeds the recording medium guided between the print head and the platen, and print data stored as image data. And an image buffer for driving the print head based on the image data stored in the image buffer and driving the feed unit in synchronization with the drive to perform predetermined printing on the recording medium, When the amount of print data corresponding to one of the recording media is larger than the capacity of the image buffer, the print data is exchanged into the image buffer in a plurality of times, and the print means performs printing based on the print data for each time. Continuous printing means to
A line printer provided with position correction means for back-feeding the recording medium to slightly overlap the print restart position with the already-printed portion when the print data is replaced in the image buffer by the continuous print means.
JP22558691A 1991-09-05 1991-09-05 Line printer Pending JPH0557921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22558691A JPH0557921A (en) 1991-09-05 1991-09-05 Line printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22558691A JPH0557921A (en) 1991-09-05 1991-09-05 Line printer

Publications (1)

Publication Number Publication Date
JPH0557921A true JPH0557921A (en) 1993-03-09

Family

ID=16831638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22558691A Pending JPH0557921A (en) 1991-09-05 1991-09-05 Line printer

Country Status (1)

Country Link
JP (1) JPH0557921A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2924925A1 (en) * 1978-06-20 1980-01-17 Kawasaki Steel Co METHOD FOR CONTINUOUSLY CONTINUOUS CASTING OF DIFFERENT STRAND QUALITIES

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2924925A1 (en) * 1978-06-20 1980-01-17 Kawasaki Steel Co METHOD FOR CONTINUOUSLY CONTINUOUS CASTING OF DIFFERENT STRAND QUALITIES

Similar Documents

Publication Publication Date Title
JP3166206B2 (en) Tape printer and control method thereof
JP5429031B2 (en) Printing device
JPH0557921A (en) Line printer
JPH1199684A (en) Thermal recorder
JP2001205855A (en) Method and apparatus for printing
JP3063730B2 (en) Tape printer
JPH053838B2 (en)
JP3033248B2 (en) Tape printer
JP3468273B2 (en) Driving mechanism of printer head and ink ribbon in character / image creation device
JPH10230651A (en) Tape printer
JPH0521410Y2 (en)
EP0917959A2 (en) Recording medium cassette
JPH06122195A (en) Line ink jet recording apparatus
JP2004195870A (en) Apparatus for controlling printing
JPS62183374A (en) Recorder
JP2538201B2 (en) Thermal recording device
JPH04361078A (en) Drive control method for printer
JPS61189977A (en) Printer
JPS61116557A (en) Both sides printing method
JPH01263071A (en) Color recorder
JPS61123572A (en) Printing-controlling system
JP2000025314A (en) Thermal transfer recorder
JPS6371382A (en) Method for driving ink ribbon
JPH0667039U (en) Recording device
JPH05278290A (en) Printing method and thermal transcription printer