JPH03231869A - Thermal printer - Google Patents

Thermal printer

Info

Publication number
JPH03231869A
JPH03231869A JP2027079A JP2707990A JPH03231869A JP H03231869 A JPH03231869 A JP H03231869A JP 2027079 A JP2027079 A JP 2027079A JP 2707990 A JP2707990 A JP 2707990A JP H03231869 A JPH03231869 A JP H03231869A
Authority
JP
Japan
Prior art keywords
print
timer
time point
pulse motor
printing
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.)
Granted
Application number
JP2027079A
Other languages
Japanese (ja)
Other versions
JP2554379B2 (en
Inventor
Michio Suzuki
道雄 鈴木
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 JP2707990A priority Critical patent/JP2554379B2/en
Publication of JPH03231869A publication Critical patent/JPH03231869A/en
Application granted granted Critical
Publication of JP2554379B2 publication Critical patent/JP2554379B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PURPOSE:To prevent occurrence of non-printed area by matching the print operation starting time point of print data through a thermal head with the paper feed starting time point through a pulse motor and matching the print operation ending time point with the paper feed end time point through the pulse motor. CONSTITUTION:When an interface circuit 18 receives print data from a host computor 16, the print data are analyzed and developed in dot image into an image buffer 15 and a print timer is actuated under this state. One step drive is then commanded to a pulse motor 19 through timer interruption control of the print timer while one line of print data are read from the image buffer 15 into a thermal head 21 and an HE signal is turned ON. Consequently, print start timing through the head 21 is matched with the paper feed start timing through the motor 19. Furthermore, print end time point is matched with the paper feed end time point.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、商品に貼付されるラベルやタグの発行機等と
して用いられるサーマルプリンタに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a thermal printer used as a machine for issuing labels and tags attached to products.

[従来の技術] 商品に貼付されるラベルやタグのバーコード印字に好適
なサーマルラインヘッドを備えたサーマルプリンタには
、紙送りモータとしてステップモータか用いられる場合
か多々ある。この場合、紙送り開始と同時に紙送り速度
を定速とし、かつ紙送り終了時にはモータを即時停止さ
せることは、ステップモータのトルクや負荷によって不
可能であるため、紙送り開始時には紙送り速度を徐々に
上昇させ、その後定速とし、紙送り終了時には徐々に低
下させるべく前記ステップモータを制御していた。そし
て、印字開始時のスローアップ中および印字停止時のス
ローダウン中は前記サーマルラインヘッドによる印字動
作を票止し、定速中のみ印字させるようにしていた。
[Prior Art] A thermal printer equipped with a thermal line head suitable for printing bar codes on labels and tags attached to products often uses a step motor as a paper feed motor. In this case, it is impossible to set the paper feed speed to a constant speed at the same time as the paper feed starts, and to immediately stop the motor when the paper feed ends, due to the torque and load of the step motor. The step motor is controlled to gradually increase the speed, then maintain a constant speed, and then gradually decrease the speed when the paper feed ends. The printing operation by the thermal line head is stopped during slow-up when printing is started and during slow-down when printing is stopped, and printing is performed only during constant speed.

[発明か解決しようとする課冶コ しかるに、紙送り速度か定速時のみ印字させるようにし
た従来のサーマルプリンタにおいては、次のような問題
かあった。すなわち、例えば第11図に示すようなラベ
ルを印字発行させる場合において(ラベルの送り方向を
同図中Fとする)イメージバッファのサイズか該ラベル
の略1/2であるとすると、まず該ラベルの0〜I)/
2までのラベル印字データか上記イメージバッファに展
開されて1回目の印字か行われ、次に該ラベルのfl/
2〜gまでのラベル印字データか上記イメージバッファ
に展開されて2回目の印字が行われる従って、印字開始
時のスローアップ中と印字終了時のスローダウン中は印
字か行われないので、第12図に示すように、1回目の
印字におけるスローダウン中のラベルフィード分と、2
回目の印字におけるスローアップ中のラベルフィード分
たけ発行ラベルの略中央部に無印字エリアAが発生して
しまっていた。このような不具合を無くすためには該ラ
ベルと同サイズ以上のイメージバッファを装備する必要
かあり、メモリ容量が増大してコスト高にならざるを得
なくなる。
However, conventional thermal printers that print only at a paper feed speed or at a constant speed have the following problems. That is, when printing a label as shown in FIG. 11, for example (assuming the label feeding direction is F in the figure) and assuming that the size of the image buffer is approximately 1/2 of the label, first the label is printed. 0~I)/
The label print data up to 2 is developed into the above image buffer and the first printing is performed, and then the fl/
The label print data from 2 to g is expanded to the above image buffer and the second printing is performed.Therefore, printing is not performed during the slow-up at the start of printing and the slow-down at the end of printing. As shown in the figure, the label feed during slowdown in the first printing and the
During the slow-up of the second printing, a non-printing area A occurred approximately in the center of the label that was issued by the label feed. In order to eliminate such problems, it is necessary to equip an image buffer with a size equal to or larger than that of the label, which increases the memory capacity and increases the cost.

そこで請求項1記載の発明は、イメージバッファよりも
大きな容量の印字データの印字であって、途中で印字動
作が一旦中断する場合においても、無印字エリアか発生
することのないサーマルプリンタを提供しようとするも
のである。
Therefore, the invention as claimed in claim 1 provides a thermal printer that prints print data with a larger capacity than the image buffer and does not generate a non-print area even if the printing operation is temporarily interrupted in the middle. That is.

また請求項2記載の発明は、イメージバッファよりも大
きな容量の印字データの印字であって、途中で印字動作
か一旦中断する場合においても、無印字エリアか発生す
ることがなく、しがち印字品質を良好に保つことができ
るサーマルプリンタを提供しようとするものである。
Further, the invention according to claim 2 is capable of printing print data with a capacity larger than that of the image buffer, and even if the printing operation is temporarily interrupted in the middle, a non-print area does not occur, and the print quality is improved. The purpose of the present invention is to provide a thermal printer that can maintain good performance.

[課題を解決するための手段〕 請求項1記載の発明は、印字データが展開されるイメー
ジバッファ、用紙をステップ送りするパルスモータ、こ
のパルスモータによってステップ送りされる用紙にイメ
ージバッファの印字データを印字出力するサーマルヘッ
ド等を備え、紙送り開始時にはその紙送り速度を徐々に
上昇させ、その後定速制御し、紙送り停止時には徐々に
低下させるべくステップモータを制御するサーマルプリ
ンタにおいて、サーマルヘッドによる印字データの印字
動作開始時点をベルスモークによる用紙送り開始時点に
一致させ、かつ、印字動作終了時点をパルスモータによ
る用紙送り終了時点に一致させるようにしたものである
[Means for Solving the Problems] The invention according to claim 1 provides an image buffer in which print data is developed, a pulse motor that feeds paper in steps, and print data of the image buffer on the paper that is fed in steps by the pulse motor. In a thermal printer that is equipped with a thermal head for printing output, etc., and controls a step motor to gradually increase the paper feeding speed when paper feeding starts, then control it at a constant speed, and gradually reduce it when paper feeding stops, The time point at which the printing operation of print data starts coincides with the time point when paper feeding by the bell smoke starts, and the time point at which the printing operation ends coincides with the time point at which paper feeding by the pulse motor ends.

請求項2記載の発明は、請求項1記載の発明に加えて、
紙送り速度の上昇中および低下中は、サーマルへンドに
対する電力供給量を紙送り速度定速時の電力供給量より
も増加させるようにしたものである。
The invention according to claim 2, in addition to the invention according to claim 1,
While the paper feeding speed is increasing and decreasing, the amount of power supplied to the thermal head is increased compared to the amount of power supplied when the paper feeding speed is constant.

[作 用コ 請求項1記載の発明においては、サーマルヘッドによる
印字データの印字動作開始時点をパルスモータによる用
紙送り開始時点に一致させているので、スローアップ中
も印字が行われる。また、印字動作終了時点をパルスモ
ータによる用紙送り終了時点に一致させているので、ス
ローダウン中も印字が行われる。
[Function] In the invention described in claim 1, since the time point at which the thermal head starts printing the print data is made to coincide with the time point at which the pulse motor starts feeding the paper, printing is performed even during slow-up. Furthermore, since the time point at which the printing operation ends coincides with the time point at which paper feeding by the pulse motor ends, printing can be performed even during slowdown.

請求項2記載の発明においては、スローアップ中および
スローダウン中に行われる印字の際には定速中に行われ
る印字のときよりもサーマルヘッドに対する電力供給量
が増加される。スローアップ中およびスローダウン中は
1ラインの周期が長くなるためサーマルヘッドの熱蓄積
が定速中のそれに比べて減少する。そこで、スローアッ
プ中およびスローダウン中の電力供給量を定速中のそれ
に比べて増加させることによって、たとえスローアップ
中およびスローダウン中の印字であっても良好な品質が
得られるようになる。
In the second aspect of the invention, the amount of power supplied to the thermal head is increased during printing during slow-up and slow-down compared to when printing is performed during constant speed. During slow-up and slow-down, the period of one line becomes longer, so the heat accumulation in the thermal head is reduced compared to when the speed is constant. Therefore, by increasing the amount of power supplied during slow-up and slow-down compared to that during constant speed, good quality printing can be obtained even during slow-up and slow-down.

[実施例] 以下、本発明の一実施例について図面を参照しながら説
明する。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図はサーマルプリンタの概略構成を示すブロック図
である。同図において10は制御部本体としてのCPU
 (中央処理装置)であって、各種演算回路、メモリ制
御回路等を内蔵し、予め設定されたプログラムに従って
各部を制御するものである。そしてこのCPUl0には
、アドレスバス。
FIG. 1 is a block diagram showing a schematic configuration of a thermal printer. In the figure, 10 is a CPU as the main body of the control unit.
(Central processing unit), which includes various arithmetic circuits, memory control circuits, etc., and controls each part according to a preset program. And this CPU10 has an address bus.

データバス等のパスライン11を介して、プログラムデ
ータが設定されたプログラムROM12、キャラクタジ
ェネレータデータが設定されたキャラクタROM13、
各種演算などに使用されるワークRAM14、印字デー
タか展開されるイメージバッファ15、ホストコンピュ
ータ16から伝送回線17を通って送られてくる印字デ
ータや各種コマンド等を受信するインタフェース回路1
8、紙送りモータとしての4相のパルスモータ19を駆
動制御するモータドライバ20、前記CPU10からの
ヘッドイネーブル(以下、HEと略称する)信号に応じ
て1ライン分のへソドデータからサーマルラインヘッド
(以下サーマルヘッドと略称する)21を通電制御する
ヘッドドライバ22、および2チヤンネルのタイマ回路
23等が接続されている。
A program ROM 12 in which program data is set, a character ROM 13 in which character generator data is set, via a path line 11 such as a data bus,
A work RAM 14 used for various calculations, an image buffer 15 for expanding print data, and an interface circuit 1 for receiving print data and various commands sent from the host computer 16 through a transmission line 17.
8. A motor driver 20 that drives and controls a four-phase pulse motor 19 as a paper feed motor, and a thermal line head ( A head driver 22 for controlling energization of the thermal head (hereinafter abbreviated as a thermal head) 21, a two-channel timer circuit 23, and the like are connected.

ここで上記タイマ回路23は、一方のチャンネルが1ラ
インの印字周期を決定する印字タイマとして使用され、
他方のチャンネルが1回の印字における前記サーマルヘ
ッド21の通電時間を決定するヘッドOFFタイマとし
て使用されている。
Here, in the timer circuit 23, one channel is used as a print timer that determines the print cycle of one line,
The other channel is used as a head OFF timer that determines the energization time of the thermal head 21 for one printing.

しかして前記CPUl0は、電源か投入されると、プロ
グラムROM 12のプログラムデータに基ついて第2
図に示すメインルーチンを実行する。
When the power is turned on, the CPU 10 performs a second program based on the program data in the program ROM 12.
Execute the main routine shown in the figure.

すなわち、電源の投入に応して先ずワークRAM14、
イメージバッファ15のクリア等の初期化を行う。その
後、インタフェース回路18においてホストコンピュー
タ16から印字データか受信されるのを待つ。そして、
該印字データか受信されたならばキャラクタROM13
のキャラクタジェネレータデータ等を用いて該印字デー
タの解析を行い、該印字データをドツトイメージでイメ
ージバッファ15に描画する。次いで第3図に示す印字
タイマのタイマ時間設定処理を実行する。すなわち、C
PUl0はパルスモータ19か紙送り開始時のスローア
ップ中あるいは紙送り停止時のスローダウン中であるか
、紙送り立上げ後の定速中であるかを判断する。そして
定速中の場合には、予め設定されている定速時の一定印
字時間をタイマ回路23におけるヘッドOFFタイマの
タイマ時間として設定する。これに対し、スローアップ
中またはスローダウン中の場合には、現在のパルスモー
タ19のステップ数に応じた印字時間(定速時の一定時
間よりも長い時間で、かつスローアップ中は徐々に短く
なるように、スローダウン中は徐々に長くなるように設
定される。)を上記印字タイマのタイマ時間として設定
する。
That is, when the power is turned on, the work RAM 14,
Initialization such as clearing the image buffer 15 is performed. Thereafter, the interface circuit 18 waits for print data to be received from the host computer 16. and,
If the print data is received, the character ROM13
The print data is analyzed using character generator data, etc., and the print data is drawn in the image buffer 15 as a dot image. Next, the timer time setting process of the print timer shown in FIG. 3 is executed. That is, C
PU10 determines whether the pulse motor 19 is slowing up when starting paper feeding, slowing down when stopping paper feeding, or at a constant speed after starting paper feeding. In the case of constant speed, a preset constant printing time at constant speed is set as the timer time of the head OFF timer in the timer circuit 23. On the other hand, when slowing up or slowing down, the printing time is determined by the current number of steps of the pulse motor 19 (longer than the fixed time at constant speed, and gradually shortens during slowing down). ) is set as the timer time of the print timer.

このタイマ時間設定後、上記印字タイマをスタートさせ
て、印字データ受信待機状態に戻る。
After setting this timer time, the printing timer is started and the printing data reception standby state is returned.

一方、上記印字タイマがタイムアツプすると、CPUI
 1は第4図に示すタイマ割込みルーチンを実行する。
On the other hand, when the above print timer times out, the CPU
1 executes the timer interrupt routine shown in FIG.

すなわち、鎖側込みルーチンが開始されると、イメージ
バッファ15に展開されているデータを1ラインずつ読
出し、ヘッドデータとしてヘッドドライバ22に出力す
る。同時にヘッドドライバ22に対するHE倍信号オン
とする。
That is, when the chain side loading routine is started, the data developed in the image buffer 15 is read line by line and outputted to the head driver 22 as head data. At the same time, the HE double signal to the head driver 22 is turned on.

これにより、サーマルヘッド21か所定電圧で通電され
る。また、モータドライバ20に対してパルスモータ1
9の1ステツプ駆動を指令する。
As a result, the thermal head 21 is energized with a predetermined voltage. Also, the pulse motor 1 is connected to the motor driver 20.
9, one-step drive is commanded.

次いで、第5図に示すヘッドOFFタイマのタイマ時間
設定処理を実行する。すなわち、CPU10はパルスモ
ータ19か紙送り開始時のスローアンプ中あるいは紙送
り停止時のスローダウン中であるか、紙送り立上げ後の
定速中であるかを判断する。そして定速中の場合には、
予め設定されている定速時の一定イネーブル時間をタイ
マ回路23におけるヘッドOFFタイマのタイマ時間と
して設定する。これに対し、スローア・ツブ中またはス
ローダウン中の場合には、現在のパルスモータ19のス
テップ数に応じたイネーブル時間(定速時の一定時間よ
りも長い時間で、かつスローアップ中の場合は徐々に短
くなるように、スローダウン中は徐々に長くなるように
設定される。)を上記ヘッドOFFタイマのタイマ時間
として設定する。
Next, a timer time setting process for the head OFF timer shown in FIG. 5 is executed. That is, the CPU 10 determines whether the pulse motor 19 is in slow amplification mode when starting paper feeding, slowing down when paper feeding is stopped, or constant speed after paper feeding is started. And when at constant speed,
A preset constant enable time at constant speed is set as the timer time of the head OFF timer in the timer circuit 23. On the other hand, in the case of slowing down or slowing down, the enable time is set according to the current number of steps of the pulse motor 19 (if the time is longer than the constant time at constant speed, and the time is slowing down) The timer time of the head OFF timer is set as the timer time of the head OFF timer.

このタイマ時間設定後、上記へ・ソトOFFタイマをス
タートさせる。
After setting this timer time, proceed to the above and start the SOTO OFF timer.

その後、イメージバッファ15の印字データを全ライン
印字したか否かを判断する。そして、印字未終了の場合
には前記印字タイマを再スタートさせてメインルーチン
に戻る。これに対し、印字終了の場合には印字タイマを
停止させてメインルーチンに戻る。
Thereafter, it is determined whether all lines of print data in the image buffer 15 have been printed. If printing has not yet been completed, the printing timer is restarted and the process returns to the main routine. On the other hand, when printing is completed, the print timer is stopped and the process returns to the main routine.

一方、上記ヘッドOFFタイマかタイムアツプすると、
CPUI 1は第6図に示すタイマ割込みルーチンを実
行する。すなわち、ヘッドドライバ22に対するHE倍
信号オフさせて、メインルーチンに戻る。
On the other hand, if the above head OFF timer times up,
CPU 1 executes the timer interrupt routine shown in FIG. That is, the HE multiplier signal to the head driver 22 is turned off and the process returns to the main routine.

このように構成された本実施例においては、インタフェ
ース回路18によりホストコンピュータ16から送られ
てきた印字データが受信されると、この受信データか解
析されてドツトイメージでイメージバッファ15に展開
される。この状懸で印字タイマかスタートされ、この印
字タイマのタイマ割込み制御によってパルスモータ19
に1ステップ駆動か指令されるとともに、サーマルヘッ
ド21にイメージバッファ15から読出された1ライン
分の印字データが出力され、かっHE倍信号オンされる
。すなわち、サーマルヘッド21によって印字が開始さ
れるタイミングと、パルスモータ19によって紙送りが
開始されるタイミングとか一致している。
In this embodiment configured as described above, when print data sent from the host computer 16 is received by the interface circuit 18, the received data is analyzed and developed in the image buffer 15 as a dot image. Under this condition, the print timer is started, and the pulse motor 19 is controlled by the timer interrupt control of this print timer.
One step driving is commanded, one line of print data read from the image buffer 15 is output to the thermal head 21, and the HE multiplier signal is turned on. That is, the timing at which printing is started by the thermal head 21 and the timing at which paper feeding is started by the pulse motor 19 coincide.

一方、イメージバッファ15内の印字データが順次1ラ
イン単位で読出され、全データについて読出しか完了す
ると印字タイマが停止される。これにより、パルスモー
タ19に対する1ステツプの駆動指令が行われなくなる
とともに、サーマルヘッド21に対する印字データの出
力およびHE倍信号オン動作が行われなくなる。すなわ
ち、サーマルヘッド21による印字が終了するタイミン
グと、パルるモータ19による紙送りか終了するタイミ
ングとか一致している。
On the other hand, the print data in the image buffer 15 is sequentially read line by line, and when all the data has been read out, the print timer is stopped. As a result, the one-step drive command to the pulse motor 19 is no longer issued, and the output of print data to the thermal head 21 and the HE multiple signal ON operation are no longer performed. That is, the timing at which printing by the thermal head 21 ends coincides with the timing at which paper feeding by the pulse motor 19 ends.

ところで、前記印字タイマのタイマ時間はスタートから
数ステップまでは徐々に短くなるように設定される。こ
れにより、パルスモータ19は徐々に高速回転してスロ
ーアップする(第7図中時点tO〜tl)。従って、上
述したように印字開始となるタイミングと紙送り開始と
なるタイミングとか一致しているので、スローアップ中
においても印字か行われることになる。
Incidentally, the timer time of the print timer is set to gradually become shorter from the start to several steps. As a result, the pulse motor 19 gradually rotates at high speed and slows down (time tO to tl in FIG. 7). Therefore, as described above, since the timing at which printing starts coincides with the timing at which paper feeding starts, printing is performed even during slow-up.

その後、前記印字タイマのタイマ時間は所定値に一定制
御される。これにより、パルスモータ19は高速で定速
運転される(第7図中時点t1〜t2)。このとき、サ
ーマルヘッド21によって1ラインずつの印字が行われ
るのは従来と同様である。
Thereafter, the timer time of the print timer is controlled to be constant at a predetermined value. As a result, the pulse motor 19 is operated at a high speed and at a constant speed (times t1 to t2 in FIG. 7). At this time, printing is performed line by line by the thermal head 21, as in the conventional case.

その後、前記印字タイマのタイマ時間は停止するまでの
数ステップが徐々に長くなるように設定される。これに
より、パルスモータ19は徐々に低速回転してスローダ
ウンする(第7図中時点t2〜t3)。従って、上述し
たように印字終了となるタイミングと紙送り終了となる
タイミングとか一致しているので、スローダウン中にお
いても印字か行われることになる。
Thereafter, the timer time of the print timer is set so that the timer time is gradually increased by several steps until it stops. As a result, the pulse motor 19 gradually rotates at a low speed and slows down (times t2 to t3 in FIG. 7). Therefore, as described above, since the timing at which printing ends coincides with the timing at which paper feeding ends, printing is performed even during slowdown.

また、前、l?lE HE信号のオン時間はヘッドOF
Fタイマによって制御されている。すなわち、HE倍信
号オン出力に応じてヘッドOFFタイマがスタートされ
、このヘッドOFFタイマの割込み制御によって上記H
E倍信号オフされる。ここで、上記ヘッドOFFタイマ
のタイマ時間は同時期の印字タイマのタイマ時間よりも
短く設定されるのは勿論である。しかも、上記ヘッドO
FFタイマのタイマ時間がパルスモータ19のスローア
ップ中は徐々に短くなるように設定され、定速中は所定
の一定値に設定され、スローダウン中は徐々に長くなる
ように設定される。従ってHE倍信号オン時間は、第7
図に示すように、スローアップ中およびスローダウン中
は定速中のそれに比べて長くなる。
Also, before, l? lE HE signal on time is head OF
Controlled by F timer. That is, the head OFF timer is started in response to the HE double signal ON output, and the above H is started by interrupt control of this head OFF timer.
E times signal is turned off. Here, it goes without saying that the timer time of the head OFF timer is set shorter than the timer time of the print timer at the same time. Moreover, the above head O
The timer time of the FF timer is set to be gradually shortened while the pulse motor 19 is slowing up, set to a predetermined constant value while the pulse motor 19 is at a constant speed, and set to be gradually lengthened while the pulse motor 19 is slowing down. Therefore, the HE multiple signal on time is the 7th
As shown in the figure, the time during slow-up and slow-down is longer than during constant speed.

一般に、スローアップ中およびスローダウン中は1ライ
ンの周期か定速中のそれに比べて長いため、このスロー
アップ中およびスローダウン中に印字を行わしめるとサ
ーマルヘッド21の熱蓄積か減少して印字品質か低下す
る。これを防ぐにはサーマルヘッド21に対する電力供
給量を増加させれば良い。本実施例においては、スロー
アップ中およびスローダウン中のHE倍信号オン時間を
定速中のそれに比べて長くすることによって、サーマル
ヘッド21に対する電力供給量を増加させているので、
スローアップ中およびスローダウン中の印字品質か低下
するおそれはない。
In general, the period of one line during slow-up and slow-down is longer than that during constant speed, so if printing is performed during slow-up or slow-down, the heat accumulation in the thermal head 21 will be reduced and printing will be possible. quality deteriorates. To prevent this, the amount of power supplied to the thermal head 21 may be increased. In this embodiment, the amount of power supplied to the thermal head 21 is increased by making the ON time of the HE double signal longer during slow-up and slow-down than during constant speed.
There is no risk of print quality deterioration during slow-up or slow-down.

このように本実施例によれば、イメージバッファ15に
展開された印字データをパルスモータ19のスローアッ
プ中およびスローダウン中も印字するようにしたので、
該イメージバッファ15の容量よりも大きな印字データ
であっても第12図に示すような無印字エリアAか発生
することはなくなる。換言すれば、印字データよりも小
さなイメージバッファであっても対処できるようになる
ので、メモリ容量の削減をはかり得、コストを低減でき
る。
As described above, according to this embodiment, the print data developed in the image buffer 15 is printed even when the pulse motor 19 is slowing up and slowing down.
Even if the print data is larger than the capacity of the image buffer 15, a non-print area A as shown in FIG. 12 will not occur. In other words, even an image buffer smaller than print data can be handled, so memory capacity can be reduced and costs can be reduced.

また、スローアップ中およびスローダウン中の印字にお
ける前記サーマルヘッド21に対する電力供給量を増加
させているので、印字品質か低下する不具合も防止でき
る。
Further, since the amount of power supplied to the thermal head 21 during printing during slow-up and slow-down is increased, it is possible to prevent problems such as deterioration of print quality.

なお、前記実施例においてはスローアップ中およびスロ
ーダウン中のHE倍信号オン時間を定速中のそれよりも
長くすることによって前記サーマルヘッドに対する電力
供給量を増加させることにより印字品質を確保する場合
を示したか、スフアップ中およびスローダウン中の前記
サーマルヘッド21に対する印加電圧を定速中のそれに
比べて高くすることによって電力供給量を増加させるこ
とにより印字品質を確保することも可能である。
In the above embodiment, printing quality is ensured by increasing the amount of power supplied to the thermal head by making the ON time of the HE double signal longer during slow-up and slow-down than during constant speed. Alternatively, printing quality can be ensured by increasing the amount of power supplied by increasing the voltage applied to the thermal head 21 during speed-up and slow-down compared to during constant speed.

以下、この場合の実施例について説明する。なお、ブロ
ック構成および電源投入後のCPUl0のメインルーチ
ンは前記実施例と同様であるので、ここでの説明は省略
する。
An example in this case will be described below. It should be noted that the block configuration and the main routine of CPU10 after power-on are the same as those in the previous embodiment, so a description thereof will be omitted here.

本実施例において、CPUl0はメインルーチンでスタ
ートされた印字タイマかタイムアツプすると、第8図に
示すタイマ割込みルーチンを実行するように構成されて
いる。すなわち、鎮剤込みルーチンが開始されると、イ
メージバッファ15に展開されているデータを1ライン
ずつ読出し、ヘッドデータとしてヘッドドライバ22に
出力する。次に、第9図に示すヘッド印加電圧の設定処
理を実行する。すなわち、CPUl0はパルスモータ1
9が紙送り開始時のスローアップ中あるいは紙送り停止
時のスローダウン中であるか、紙送り立上げ後の定速中
であるかを判断する。そして定速中の場合には、予め設
定されている定速時の一定印加電圧を設定する。これに
対し、スローアップ中またはスローダウン中の場合には
、現在のパルスモータ19のステップ数に応じた印加電
圧(定速時の一定印加電圧よりも高い電圧で、かつスロ
ーアップ中は徐々に低くなるように、スフダウン中は徐
々に高くなるように設定される。)を設定する。
In this embodiment, the CPU 10 is configured to execute the timer interrupt routine shown in FIG. 8 when the print timer started in the main routine times up. That is, when the sedative routine is started, the data developed in the image buffer 15 is read line by line and output to the head driver 22 as head data. Next, the head applied voltage setting process shown in FIG. 9 is executed. In other words, CPU10 is pulse motor 1
9, it is determined whether the speed is slowing up when starting paper feeding, slowing down when stopping paper feeding, or at constant speed after starting up paper feeding. In the case of constant speed, a preset constant applied voltage at constant speed is set. On the other hand, during slow-up or slow-down, the applied voltage according to the current number of steps of the pulse motor 19 (higher voltage than the constant applied voltage during constant speed, and gradually increases during slow-up) (It is set so that it becomes lower, and it is set to gradually increase during suf-down.)

このヘッド印加電圧の設定後、ヘッドドライバ22に対
するHE倍信号オンとする。これにより、サーマルヘッ
ド21が設定電圧で通電される。また、モータドライバ
20に対してパルスモータ19の1ステツプ駆動を指令
する。同時にヘッドOFFタイマをスタートさせる。そ
の後、イメージバッファ15の印字データを全ライン印
字したか否かを判断する。そして、印字未終了の場合に
は前記印字タイマを再スタートさせてメインルーチンに
戻る。これに対し、印字終了の場合には印字タイマを停
止させてメインルーチンに戻る。
After setting the head applied voltage, the HE multiplier signal to the head driver 22 is turned on. As a result, the thermal head 21 is energized at the set voltage. It also instructs the motor driver 20 to drive the pulse motor 19 in one step. At the same time, a head OFF timer is started. Thereafter, it is determined whether all lines of print data in the image buffer 15 have been printed. If printing has not yet been completed, the printing timer is restarted and the process returns to the main routine. On the other hand, when printing is completed, the print timer is stopped and the process returns to the main routine.

なお、上記ヘッドOFFタイマかタイムアツプした場合
には、前記実施例と同様にヘッドドライバ22に対する
HE倍信号オフさせて、メインルチンに戻る。
Incidentally, when the head OFF timer times out, the HE multiplier signal to the head driver 22 is turned off as in the previous embodiment, and the process returns to the main routine.

このように構成することにより、サーマルヘッド21に
対する印加電圧は、第10図に示すようにパルスモータ
19のスローアップ中(時点tO〜tl)は徐々に低く
なり、定速中(時点t1〜t2)は最低値で安定し、ス
ローダウン中(時点t2〜t3)は徐々に増加する。す
なわち、スローアップ中およびスローダウン中はサーマ
ルヘッド21に対する印加電圧が定速中のそれに比べて
高いのでサーマルヘッド21に対する電力供給量か増加
され、印字品質が低下するのか防止される。
With this configuration, as shown in FIG. 10, the voltage applied to the thermal head 21 gradually decreases during slow-up of the pulse motor 19 (times tO to tl), and decreases during constant speed (times t1 to t2). ) is stable at the lowest value and gradually increases during slowdown (times t2 to t3). That is, during slow-up and slow-down, the voltage applied to the thermal head 21 is higher than that during constant speed, so the amount of power supplied to the thermal head 21 is increased, and the print quality is prevented from deteriorating.

[発明の効果コ 以上のように構成された本発明によれば、次のような効
果を奏し得る。
[Effects of the Invention] According to the present invention configured as described above, the following effects can be achieved.

請求項1記載の発明によれば、イメージバッファよりも
大きな容量の印字データの印字であって、途中で印字動
作が一旦中断する場合においても、無印字エリアか発生
することのないサーマルプリンタを提供できる。
According to the invention as set forth in claim 1, there is provided a thermal printer that does not generate a non-print area even when printing data with a larger capacity than the image buffer and the printing operation is temporarily interrupted in the middle. can.

請求項2記載の発明によれば、イメージバッファよりも
大きな容量の印字データの印字であって、途中で印字動
作が一旦中断する場合においても、無印字エリアか発生
することかなく、しかも印字品質を良好に保つことがで
きるサーマルプリンタを提供できる。
According to the invention set forth in claim 2, even when printing data with a larger capacity than the image buffer and the printing operation is temporarily interrupted in the middle, a non-printing area does not occur and the printing quality is improved. We can provide a thermal printer that can maintain the

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

第1図乃至第7図は本発明の一実施例を示す図であって
、第1図は全体構成のブロック図、第2図はメインルー
チンを示す流れ図、第3図は印字タイマのタイマ時間設
定処理を示す流れ図、第4図は印字タイマ割込みルーチ
ンを示す流れ図、第5図はヘッドOFFタイマのタイマ
時間設定処理を示す流れ図、第6図はヘッドOFFタイ
マ割込みルーチンを示す流れ図、第7図はパルスモータ
に対する駆動信号とHE倍信号タイミング図、第8図乃
至第10図は本発明の他の実施例を示す図であって、第
8図は印字タイマ割込みルーチンを示す流れ図、第9図
はヘッド印加電圧の設定処理を示す流れ図、第10図は
パルスモータに対する駆動信号とHE倍信号タイミング
図、第11図は印字ラベルの一例を示す図、第12図は
無印字エリアか発生したラベルの印字例を示す図である
。 10・・・CPU、15・・・イメージバッファ、19
・・・パルスモータ、21・・・サーマルヘッド、23
・・・タイマ回路。
1 to 7 are diagrams showing an embodiment of the present invention, in which FIG. 1 is a block diagram of the overall configuration, FIG. 2 is a flowchart showing the main routine, and FIG. 3 is a timer timer of the print timer. Flowchart showing the setting process; FIG. 4 is a flowchart showing the print timer interrupt routine; FIG. 5 is a flowchart showing the head OFF timer time setting process; FIG. 6 is a flowchart showing the head OFF timer interrupt routine; FIG. 8 is a timing diagram of drive signals and HE multiplier signals for the pulse motor, FIGS. 8 to 10 are diagrams showing other embodiments of the present invention, FIG. 8 is a flowchart showing a print timer interrupt routine, and FIG. 10 is a flowchart showing the setting process of the head applied voltage, FIG. 10 is a timing diagram of the drive signal for the pulse motor and the HE double signal, FIG. 11 is a diagram showing an example of a printed label, and FIG. 12 is a diagram showing a label where a non-printing area has occurred. It is a figure which shows the printing example of. 10...CPU, 15...Image buffer, 19
... Pulse motor, 21 ... Thermal head, 23
...Timer circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)印字データが展開されるイメージバッファ、用紙
をステップ送りするパルスモータ、このパルスモータに
よってステップ送りされる用紙に前記イメージバッファ
の印字データを印字出力するサーマルヘッド等を備え、
紙送り開始時にはその紙送り速度を徐々に上昇させ、そ
の後定速制御し、紙送り停止時には徐々に低下させるべ
く前記ステップモータを制御するサーマルプリンタにお
いて、前記サーマルヘッドによる印字データの印字動作
開始時点を前記パルスモータによる用紙送り開始時点に
一致させ、かつ、印字動作終了時点を前記パルスモータ
による用紙送り終了時点に一致させることを特徴とする
サーマルプリンタ。
(1) Equipped with an image buffer in which print data is developed, a pulse motor that feeds paper step by step, a thermal head that prints out the print data of the image buffer on the paper that is step fed by this pulse motor, etc.
In a thermal printer that controls the step motor so that the paper feeding speed is gradually increased when starting paper feeding, then controlled at a constant speed, and gradually decreased when paper feeding is stopped, the time point at which printing operation of print data by the thermal head starts. The thermal printer is characterized in that: coincides with a time point at which paper feeding by the pulse motor starts, and a time point at which printing operation ends coincides with a time point at which paper feeding by the pulse motor ends.
(2)紙送り速度の上昇中および低下中は、前記サーマ
ルヘッドに対する電力供給量を紙送り速度定速時の電力
供給量よりも増加させることを特徴とする請求項1記載
のサーマルプリンタ。
(2) The thermal printer according to claim 1, wherein while the paper feed speed is increasing or decreasing, the amount of power supplied to the thermal head is increased compared to the amount of power supplied when the paper feed speed is constant.
JP2707990A 1990-02-08 1990-02-08 Thermal printer Expired - Fee Related JP2554379B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2707990A JP2554379B2 (en) 1990-02-08 1990-02-08 Thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2707990A JP2554379B2 (en) 1990-02-08 1990-02-08 Thermal printer

Publications (2)

Publication Number Publication Date
JPH03231869A true JPH03231869A (en) 1991-10-15
JP2554379B2 JP2554379B2 (en) 1996-11-13

Family

ID=12211072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2707990A Expired - Fee Related JP2554379B2 (en) 1990-02-08 1990-02-08 Thermal printer

Country Status (1)

Country Link
JP (1) JP2554379B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7542060B2 (en) 2005-07-25 2009-06-02 Seiko Epson Corporation Thermal printer and thermal printer control method
JP2014233930A (en) * 2013-06-04 2014-12-15 ブラザー工業株式会社 Tape printing device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5587286A (en) * 1978-12-26 1980-07-01 Fujitsu Ltd Printer print system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5587286A (en) * 1978-12-26 1980-07-01 Fujitsu Ltd Printer print system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7542060B2 (en) 2005-07-25 2009-06-02 Seiko Epson Corporation Thermal printer and thermal printer control method
JP2014233930A (en) * 2013-06-04 2014-12-15 ブラザー工業株式会社 Tape printing device

Also Published As

Publication number Publication date
JP2554379B2 (en) 1996-11-13

Similar Documents

Publication Publication Date Title
US6139205A (en) Serial printer which provides acceleration control of carrier
JPH03231869A (en) Thermal printer
US6312177B1 (en) Line printer
GB2202662A (en) Printers
JPS639556A (en) Printing-controlling system
JP2784858B2 (en) Serial printer
JPH0359835B2 (en)
JPH11138872A (en) Thermal printer
JP3460379B2 (en) Printing system
JP2834631B2 (en) Print control apparatus and method
JP2001084116A (en) Picture forming device and its controlling method
JPH0899443A (en) Serial recording device
JP2907697B2 (en) Printer control device
JP2871981B2 (en) Printing apparatus and control method thereof
JPH11292324A (en) Printer and printing system
JPH08142422A (en) Paper feed control device for image data printing
KR960005524B1 (en) Paper feeding device in cvp
JP3064720U (en) Printing device
JPH05270068A (en) Data processing method in printer
JPH0732653A (en) Serial printer
JPH02147359A (en) Page printer
JP2003335031A (en) Printer
JPH10244726A (en) Serial printer
JP2001219612A (en) Serial printer
JPH02248269A (en) Printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees