JP2878011B2 - Printer drive control method - Google Patents

Printer drive control method

Info

Publication number
JP2878011B2
JP2878011B2 JP637992A JP637992A JP2878011B2 JP 2878011 B2 JP2878011 B2 JP 2878011B2 JP 637992 A JP637992 A JP 637992A JP 637992 A JP637992 A JP 637992A JP 2878011 B2 JP2878011 B2 JP 2878011B2
Authority
JP
Japan
Prior art keywords
drive control
carriage
drive
timer
motor
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
JP637992A
Other languages
Japanese (ja)
Other versions
JPH05193163A (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.)
ARUPUSU DENKI KK
Original Assignee
ARUPUSU DENKI KK
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 ARUPUSU DENKI KK filed Critical ARUPUSU DENKI KK
Priority to JP637992A priority Critical patent/JP2878011B2/en
Publication of JPH05193163A publication Critical patent/JPH05193163A/en
Application granted granted Critical
Publication of JP2878011B2 publication Critical patent/JP2878011B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)
  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプリンタの駆動制御方法
に係り、特にCPUによる割込み処理の効率を高め、印
字速度の高速化を図ることを可能としたプリンタの駆動
制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer drive control method, and more particularly to a printer drive control method capable of increasing the efficiency of interrupt processing by a CPU and increasing the printing speed.

【0002】[0002]

【従来の技術】一般に、プラテンに沿って往復動自在と
されたキャリッジにサーマルヘッドを搭載し、前記キャ
リッジを移動させながら、前記サーマルヘッドを動作さ
せることにより、前記プラテンとサーマルヘッドとの間
に搬送される用紙にインクリボンのインクを転写するこ
とにより、所望の印字を行なうサーマルプリンタが多く
用いられている。
2. Description of the Related Art In general, a thermal head is mounted on a carriage which is reciprocally movable along a platen, and the thermal head is operated while moving the carriage so that the thermal head is moved between the platen and the thermal head. 2. Description of the Related Art Thermal printers that perform desired printing by transferring ink from an ink ribbon to a conveyed sheet are often used.

【0003】このようなサーマルプリンタにおいては、
プリンタの制御を行なうためのCPUにより、前記サー
マルヘッド、キャリッジを駆動するためのステッピング
モータからなるキャリッジ駆動モータおよびインクリボ
ンを巻取るためのステッピングモータからなる巻取り駆
動モータにそれぞれ駆動制御信号を出力することによ
り、所望の印字制御を行なうようになっている。
In such a thermal printer,
The CPU for controlling the printer outputs drive control signals to the thermal head, a carriage drive motor including a stepping motor for driving the carriage, and a winding drive motor including a stepping motor for winding the ink ribbon. Thus, desired print control is performed.

【0004】従来は、前記サーマルヘッド用のタイマお
よびキャリッジ駆動モータあるいは巻取り駆動モータ用
のタイマからそれぞれ別個の周期で割込み要求が行なわ
れ、前記CPUは、これら各タイマから割込み要求があ
ったときに、それぞれサーマルヘッドおよびキャリッジ
駆動用モータに独立して駆動制御信号を出力する割込み
処理を行なうようになっている。
Conventionally, an interrupt request is issued from the timer for the thermal head and the timer for the carriage drive motor or the take-up drive motor at separate periods, and the CPU issues an interrupt request from each of these timers. In addition, interrupt processing for outputting a drive control signal independently of the thermal head and the carriage drive motor is performed.

【0005】[0005]

【発明が解決しようとする課題】しかし、前記従来のプ
リンタの駆動制御手段においては、別個のタイマにより
異なる周期で行なわれる割込み要求に応じて、サーマル
ヘッドおよびキャリッジ駆動用モータあるいは巻取り駆
動モータに駆動制御信号を出力する割込み処理を行なう
ものであるため、CPUによる割込み処理の効率が極め
て悪く、また、割込み要求時には、前述のサーマルヘッ
ドの通電制御やキャリッジ駆動用モータあるいは巻取り
駆動モータの駆動制御という本来の割込み処理以外に、
割込み処理特有の割込みアドレスの計算、レジスタの退
避等の処理が行なわれるものであるため、CPUによる
割込み処理の内容が極めて多くなり、CPUの処理が追
いつかなくなってしまうという問題を有しており、その
結果、サーマルヘッドおよびキャリッジ駆動用モータ、
巻取り駆動モータに対する割込み処理を高速で行なうこ
とができず、印字速度を一定以上高速にすることができ
ないという問題を有している。
However, in the conventional printer drive control means, the thermal head and the carriage drive motor or the take-up drive motor are driven by a separate timer in response to interrupt requests made at different periods. Since the interrupt processing for outputting the drive control signal is performed, the efficiency of the interrupt processing by the CPU is extremely low. In addition, when an interrupt is requested, the energizing control of the thermal head and the driving of the carriage drive motor or the take-up drive motor are performed. In addition to the original interrupt processing called control,
Since processing such as calculation of an interrupt address specific to interrupt processing and saving of registers are performed, the content of interrupt processing by the CPU becomes extremely large, and there is a problem that the CPU processing cannot catch up. As a result, the thermal head and the carriage driving motor,
There is a problem that interrupt processing for the winding drive motor cannot be performed at a high speed, and the printing speed cannot be increased to a certain speed or more.

【0006】また、サーマルヘッド用およびモータ用の
タイマをそれぞれ設ける必要があるので、構造が複雑と
なり、製造コストが高くなってしまうという問題をも有
している。
Further, since it is necessary to provide a timer for the thermal head and a timer for the motor, there is also a problem that the structure is complicated and the manufacturing cost is increased.

【0007】本発明は前記した点に鑑みてなされたもの
で、構成が簡単で、かつ、安価に、CPUによる割込み
処理の効率を高めることができ、印字速度の高速化を図
ることのできるプリンタの駆動制御方法を提供すること
を目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has a simple configuration, is inexpensive, can increase the efficiency of interrupt processing by a CPU, and can increase the printing speed. It is an object of the present invention to provide a driving control method.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
請求項1に記載の発明は、タイマによる割込み要求時
に、プリンタの駆動制御を行なうためのCPUから、キ
ャリッジの往復駆動あるいはインクリボンの巻取り駆動
等を行なうための2つ以上のステッピングモータに駆動
制御信号を同時に出力する割込み処理を行なうことによ
り、印字駆動制御を行なうためのプリンタの駆動制御方
法において、前記ステッピングモータの駆動タイミン
グの周期の比を整数比となるように設定し、1つのタイ
マの割込み要求による前記CPUの割込み処理時に、前
記各ステッピングモータの駆動制御信号を各周期毎に同
時に出力するようにしたことを特徴とするものである。
According to a first aspect of the present invention, there is provided an image forming apparatus comprising: a CPU for controlling the driving of a printer when a timer interrupt is requested; by performing the interrupt processing for outputting a drive control signal to more than one stepping motor for performing driving such taken simultaneously, the drive control method for a printer for performing printing drive control, the drive timing of each of the stepping motor A cycle ratio is set to be an integer ratio, and a drive control signal for each of the stepping motors is simultaneously output in each cycle when interrupting the CPU by an interrupt request from one timer. Is what you do.

【0009】[0009]

【0010】[0010]

【作用】請求項1の発明によれば、2以上のステッピン
グモータの駆動タイミングの周期の比を整数比となるよ
うに設定し、1つのタイマの割込み要求による前記CP
Uの割込み処理時に、各ステッピングモータの駆動制御
信号を各周期毎に同時に出力するようにしているので、
1つのタイマによる1つの割込み要求により、2以上の
ステッピングモータの複数の駆動制御を行なうことがで
き、その結果、割込み処理の内容を減少させることがで
き、CPUによる割込み処理の効率を著しく高めること
ができ、CPUにより余裕のある割込み処理を行なうこ
とができるものである。
According to the first aspect of the present invention, the ratio of the cycle of the drive timing of two or more stepping motors is set to be an integer ratio, and the CP by the interrupt request of one timer.
At the time of the interrupt processing of U, since the drive control signals of the stepping motors are simultaneously output in each cycle,
Ri by the single interrupt request by one timer, 2 or more can be performed a plurality of drive control of the stepping motor, as a result, it is possible to reduce the content of the interrupt processing, considerably the efficiency of the interrupt processing by the CPU This allows the CPU to perform more marginal interrupt processing.

【0011】[0011]

【実施例】以下、本発明の実施例を図1乃至図5を参照
して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.

【0012】図1および図2は本発明に係るプリンタの
駆動制御方法を適用するサーマルプリンタの一実施例を
示したもので、本体フレーム1には、長尺とされた平板
状のプラテン2が配設されており、本体フレーム1の一
部である左右のフレーム1a,1bの間には、前記プラ
テン2に沿ってほぼ平行にガイドシャフト3が配設され
ている。このガイドシャフト3には、キャリッジ4が前
記本体フレーム1の前方フレーム1cに掛け渡されると
ともに、ガイドシャフト3の軸方向に沿って摺動自在に
取付けられており、前記キャリッジ4には、前記プラテ
ン2の対向面に複数の発熱素子が形成されたサーマルヘ
ッド5が前記プラテン2に対して接離駆動自在に搭載さ
れている。また、前記キャリッジ4の上面には、図示し
ないリボンカセットに収容されたインクリボンを巻取る
ための巻取りボビン6が配設されており、前記前方フレ
ーム1cの内方端縁には、前記ガイドシャフト3と平行
にラック7が形成されている。
FIG. 1 and FIG. 2 show an embodiment of a thermal printer to which the method for controlling the drive of a printer according to the present invention is applied. A main body frame 1 is provided with an elongated flat platen 2. A guide shaft 3 is provided between the left and right frames 1 a and 1 b, which are part of the main body frame 1, substantially parallel to the platen 2. A carriage 4 is hung over the front frame 1c of the main body frame 1 and is slidably mounted on the guide shaft 3 along the axial direction of the guide shaft 3. A thermal head 5 having a plurality of heating elements formed on the opposite surface of the platen 2 is mounted so as to be capable of driving toward and away from the platen 2. A take-up bobbin 6 for taking up an ink ribbon accommodated in a ribbon cassette (not shown) is provided on the upper surface of the carriage 4, and the guide edge is provided at an inner edge of the front frame 1c. A rack 7 is formed parallel to the shaft 3.

【0013】さらに、前記プラテン2の後方上面には、
所定の用紙を供給する用紙挿入口8が形成されており、
前記プラテン2の下方には、前記用紙挿入口8から供給
される用紙を前記プラテン2とサーマルヘッド5との間
に搬送する紙送りローラ9およびこれに圧接される圧接
ローラ10が回転自在に配設されている。前記紙送りロ
ーラ9には、減速歯車群11を介して紙送りモータ12
が接続されており、この紙送りモータ12の回転により
紙送りローラ9を回転駆動して圧接ローラ10との間に
挟持された用紙を搬送するようになされている。
Further, on the rear upper surface of the platen 2,
A paper insertion port 8 for supplying a predetermined paper is formed,
Below the platen 2, a paper feed roller 9 for conveying the paper supplied from the paper insertion slot 8 between the platen 2 and the thermal head 5, and a pressure roller 10 pressed against the paper feed roller 9 are rotatably arranged. Has been established. A paper feed motor 12 is connected to the paper feed roller 9 via a reduction gear group 11.
The paper feed motor 9 is rotated by the rotation of the paper feed motor 12 to convey the paper sandwiched between the paper feed roller 9 and the pressure roller 10.

【0014】また、前記キャリッジ4の内部には、ステ
ッピングモータからなるキャリッジ駆動用モータ13が
配設されており、このキャリッジ駆動用モータ13の出
力ピニオン14には、前記ラック7に噛合されるキャリ
ッジ駆動ギア15が噛合されている。そして、キャリッ
ジ駆動用モータ13の正逆回転により、前記キャリッジ
4を前記ガイドシャフト3に沿って往復駆動させるよう
になっている。さらに、前記キャリッジ4の内部には、
ステッピングモータからなる巻取り駆動モータ16が配
設されており、この巻取り駆動モータ16の出力ピニオ
ン17には、伝達ギア18を介して前記巻取りボビン6
に同軸状に取付けられた巻取り駆動ギア19が噛合され
ている。
A carriage driving motor 13 composed of a stepping motor is provided inside the carriage 4. An output pinion 14 of the carriage driving motor 13 has a carriage meshed with the rack 7. The drive gear 15 is engaged. The carriage 4 is driven to reciprocate along the guide shaft 3 by forward and reverse rotation of the carriage drive motor 13. Further, inside the carriage 4,
A winding drive motor 16 composed of a stepping motor is provided, and an output pinion 17 of the winding drive motor 16 is connected to the winding bobbin 6 via a transmission gear 18.
And a take-up drive gear 19 coaxially attached to the gear.

【0015】また、図3は前記サーマルプリンタの制御
装置の実施例を示したもので、プリンタの制御を行なう
ためのCPU20には、前記サーマルヘッド5、キャリ
ッジ駆動用モータ13および巻取り駆動モータ16がそ
れぞれ接続されており、前記CPU20は、タイマ21
による割込み要求に応じた所定のタイミングでサーマル
ヘッド5、キャリッジ駆動用モータ13および巻取り駆
動モータ16に駆動制御信号を出力する割込み処理を行
なうようになされている。また、本実施例においては、
前記キャリッジ駆動ギア15のギア比を調整することに
より、キャリッジ駆動用モータ13の駆動タイミングの
周期が前記サーマルヘッド5の印字駆動タイミングの周
期に対して整数比となるように設定されており、前記タ
イマ21の割込み要求によりCPU20が割込み処理を
行なう時に、前記サーマルヘッド5およびキャリッジ駆
動用モータ13の駆動制御信号を同時に出力するように
なされている。
FIG. 3 shows an embodiment of the control device of the thermal printer. The CPU 20 for controlling the printer includes the thermal head 5, the carriage driving motor 13 and the winding drive motor 16 as shown in FIG. Are connected to each other, and the CPU 20 includes a timer 21
Interrupt processing for outputting a drive control signal to the thermal head 5, the carriage drive motor 13 and the take-up drive motor 16 at a predetermined timing according to the interrupt request. In the present embodiment,
By adjusting the gear ratio of the carriage drive gear 15, the cycle of the drive timing of the carriage drive motor 13 is set to be an integer ratio with respect to the cycle of the print drive timing of the thermal head 5. When the CPU 20 performs an interrupt process in response to an interrupt request from the timer 21, drive control signals for the thermal head 5 and the carriage drive motor 13 are simultaneously output.

【0016】次に、本実施例の駆動制御方法について図
4を参照して説明する。
Next, a drive control method according to this embodiment will be described with reference to FIG.

【0017】本実施例においては、前記CPU20は、
タイマ21による割込み要求があったときに、所定の印
字信号に基づいて、サーマルヘッド5およびキャリッジ
駆動用モータ13に駆動制御信号を出力するものであ
り、これにより、前記キャリッジ駆動用モータ13の回
転によりキャリッジ駆動ギア15を介してキャリッジ4
を移動させながら、前記サーマルヘッド5の所望の発熱
素子に通電してこの発熱素子の発熱によりインクリボン
のインクを溶融することにより、所望の印字を行なうよ
うになっている。
In this embodiment, the CPU 20 comprises:
When an interrupt request is issued by the timer 21, a drive control signal is output to the thermal head 5 and the carriage drive motor 13 based on a predetermined print signal, whereby the rotation of the carriage drive motor 13 is performed. The carriage 4 via the carriage drive gear 15
While moving the head, a desired heating element of the thermal head 5 is energized, and the heat of the heating element melts the ink of the ink ribbon to perform desired printing.

【0018】この場合に、本実施例においては、サーマ
ルヘッド5の駆動タイミングとキャリッジ駆動用モータ
13のタイミングとの周期の比を1:2とし、各割込み
要求タイミング時に、サーマルヘッド5に対して駆動制
御信号を出力するとともに、割込み要求タイミングの2
回に1回の割合で、サーマルヘッド5への駆動制御信号
と同時に、キャリッジ駆動用モータ13に駆動制御信号
を出力するようになっている。これにより、1つのタイ
マ21による1つの割込み要求により、サーマルヘッド
5およびキャリッジ駆動用モータ13の2つの駆動制御
を行なうことができるようになっている。
In this case, in the present embodiment, the ratio of the cycle of the driving timing of the thermal head 5 to the timing of the timing of the carriage driving motor 13 is set to 1: 2. A drive control signal is output and interrupt request timing 2
A drive control signal is output to the carriage drive motor 13 at the same time as a drive control signal to the thermal head 5 at a time. Thus, two driving controls of the thermal head 5 and the carriage driving motor 13 can be performed by one interrupt request from one timer 21.

【0019】したがって、本実施例においては、1つの
タイマ21による1つの割込み要求により、サーマルヘ
ッド5およびキャリッジ駆動用モータ13の2つの駆動
制御を行なうことができるので、割込み処理の内容を減
少させることができ、CPU20による割込み処理の効
率を著しく高めることができ、CPU20により余裕の
ある割込み処理を行なうことができる。その結果、サー
マルヘッド5およびキャリッジ駆動用モータ13に対す
る割込み処理を高速で行なうことができ、印字速度を高
速にすることが可能となる。
Therefore, in this embodiment, two driving controls of the thermal head 5 and the carriage driving motor 13 can be performed by one interrupt request from one timer 21, so that the content of the interrupt processing is reduced. Therefore, the efficiency of the interrupt processing by the CPU 20 can be remarkably increased, and the CPU 20 can perform a marginal interrupt processing. As a result, interrupt processing for the thermal head 5 and the carriage driving motor 13 can be performed at high speed, and the printing speed can be increased.

【0020】また、サーマルヘッド5およびキャリッジ
駆動用モータ13用を1つのタイマ21により制御する
ことができるので、従来のように、複数のタイマ21が
不要となり、構造が簡単となり、容易に、かつ、安価に
製造することができる。
Also, since the thermal head 5 and the carriage driving motor 13 can be controlled by one timer 21, a plurality of timers 21 are not required as in the prior art, and the structure is simple, easy and easy. , And can be manufactured at low cost.

【0021】また、本発明の他の実施例として、キャリ
ッジ駆動用モータ13と巻取り駆動モータ16とを同期
させるようにしてもよい。
As another embodiment of the present invention, the carriage driving motor 13 and the winding drive motor 16 may be synchronized.

【0022】この場合においては、前記キャリッジ駆動
ギア15のギア比および巻取り駆動ギア19のギア比を
それぞれ調整することにより、キャリッジ駆動用モータ
13の駆動タイミングの周期と前記巻取り駆動モータ1
6の駆動タイミングの周期とが整数比となるように設定
されており、前記タイマ21の割込み要求によりCPU
20が割込み処理を行なう時に、前記キャリッジ駆動用
モータ13および巻取り駆動モータ16の駆動制御信号
を同時に出力するようになされている。その他の構成
は、前記実施例のものと同様である。
In this case, by adjusting the gear ratio of the carriage drive gear 15 and the gear ratio of the take-up drive gear 19, respectively, the cycle of the drive timing of the carriage drive motor 13 and the take-up drive motor 1
6 is set to be an integer ratio with the drive timing cycle.
The drive control signal for the carriage drive motor 13 and the take-up drive motor 16 is simultaneously output when the interrupt processing is performed by the control unit 20. Other configurations are the same as those of the above embodiment.

【0023】本実施例においては、図5に示すように、
CPU20は、タイマ21による割込み要求があったと
きに、所定の印字信号に基づいて、キャリッジ駆動用モ
ータ13および巻取り駆動モータ16に駆動制御信号を
出力するものであり、これにより、前記キャリッジ駆動
用モータ13の回転によりキャリッジ駆動ギア15を介
してキャリッジ4を移動させるとともに、巻取り駆動モ
ータ16の回転により伝達ギア18および巻取り駆動ギ
ア19をそれぞれ介して巻取りボビン6を回転させてリ
ボンカセットのインクリボンを巻取りながら、前記サー
マルヘッド5の所望の発熱素子に通電してこの発熱素子
の発熱によりインクリボンのインクを溶融することによ
り、所望の印字を行なうようになっている。この場合、
前記サーマルヘッド5は、独立して駆動制御される。
In this embodiment, as shown in FIG.
The CPU 20 outputs a drive control signal to the carriage drive motor 13 and the take-up drive motor 16 based on a predetermined print signal when an interrupt request is issued by the timer 21. The carriage 4 is moved via the carriage drive gear 15 by the rotation of the motor 13, and the winding bobbin 6 is rotated by the rotation of the winding drive motor 16 via the transmission gear 18 and the winding drive gear 19, respectively. While winding the ink ribbon of the cassette, a desired heating element of the thermal head 5 is energized, and the heat of the heating element melts the ink of the ink ribbon to perform desired printing. in this case,
The drive of the thermal head 5 is independently controlled.

【0024】この場合に、本実施例においては、キャリ
ッジ駆動用モータ13のタイミングと巻取り駆動モータ
16のタイミングとの周期の比を1:2とし、各割込み
要求タイミング時に、キャリッジ駆動用モータ13に対
して駆動制御信号を出力するとともに、割込み要求タイ
ミングの2回に1回の割合で、キャリッジ駆動用モータ
13への駆動制御信号と同時に、巻取り駆動モータ16
に駆動制御信号を出力するようになっている。これによ
り、1つのタイマ21による1つの割込み要求により、
キャリッジ駆動用モータ13および巻取り駆動モータ1
6の2つの駆動制御を行なうことができるようになって
いる。
In this case, in this embodiment, the ratio of the cycle of the timing of the carriage drive motor 13 to the cycle of the take-up drive motor 16 is set to 1: 2, and the carriage drive motor 13 is set at each interrupt request timing. A drive control signal to the carriage drive motor 13 and a drive control signal to the carriage drive motor 13 at a rate of once every two interrupt request timings.
A drive control signal. Thereby, by one interrupt request by one timer 21,
Carriage drive motor 13 and winding drive motor 1
6 can be performed.

【0025】したがって、本実施例においては、1つの
タイマ21による1つの割込み要求により、キャリッジ
駆動用モータ13および巻取り駆動モータ16の2つの
駆動制御を行なうことができるので、前記実施例と同様
に、割込み処理の内容を減少させることができ、CPU
20による割込み処理の効率を著しく高めることがで
き、CPU20により余裕のある割込み処理を行なうこ
とができ、その結果、割込み処理を高速で行なうことが
でき、印字速度を高速にすることが可能となる。
Therefore, in this embodiment, two drive controls of the carriage drive motor 13 and the take-up drive motor 16 can be performed by one interrupt request from one timer 21. In addition, the content of interrupt processing can be reduced,
20, the efficiency of the interrupt processing by the CPU 20 can be remarkably increased, and the CPU 20 can perform a marginal interrupt processing. As a result, the interrupt processing can be performed at a high speed, and the printing speed can be increased. .

【0026】また、1つのタイマ21により制御するこ
とができるので、従来のように、複数のタイマ21が不
要となり、構造が簡単となり、容易に、かつ、安価に製
造することができる。
Further, since the control can be performed by one timer 21, a plurality of timers 21 are not required unlike the related art, the structure is simplified, and the manufacturing can be performed easily and at low cost.

【0027】なお、本発明は前記実施例に限定されるも
のではなく、必要に応じて種々変更することができるも
のである。
The present invention is not limited to the above embodiment, but can be variously modified as needed.

【0028】[0028]

【発明の効果】以上述べたように本発明に係るプリンタ
の駆動制御方法は、1つのタイマによる1つの割込み要
求により、2以上のステッピングモータの複数の駆動制
御を行なうことができるので、割込み処理の内容を減少
させることができ、CPUによる割込み処理の効率を著
しく高めることができ、CPUにより余裕のある割込み
処理を行なうことができ、その結果、割込み処理を高速
で行なうことができ、印字速度を高速にすることが可能
となる。また、1つのタイマにより制御することができ
るので、複数のタイマが不要となり、構造が簡単とな
り、容易に、かつ、安価に製造することができる等の効
果を奏する。
As described above, the drive control method of the printer according to the present invention can perform a plurality of drive controls of two or more stepping motors by one interrupt request by one timer. Can be significantly reduced, the efficiency of interrupt processing by the CPU can be significantly increased, the CPU can perform more marginal interrupt processing, and as a result, the interrupt processing can be performed at high speed, and the printing speed can be improved. Can be made faster. In addition, since the control can be performed by one timer, a plurality of timers are not required, and the structure is simplified, and it is possible to easily and inexpensively manufacture.

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

【図1】本発明に係るプリンタの駆動制御方法を適用す
るためのサーマルプリンタの一実施例を示す斜視図
FIG. 1 is a perspective view showing an embodiment of a thermal printer for applying a printer drive control method according to the present invention.

【図2】図1のキャリッジ部分の平面図FIG. 2 is a plan view of a carriage part of FIG. 1;

【図3】図1のサーマルプリンタの制御装置の実施例を
示すブロック図
FIG. 3 is a block diagram showing an embodiment of a control device of the thermal printer of FIG. 1;

【図4】本発明の駆動制御方法による駆動制御信号のタ
イミングチャート
FIG. 4 is a timing chart of a drive control signal according to the drive control method of the present invention.

【図5】本発明の他の駆動制御方法による駆動制御信号
のタイミングチャート
FIG. 5 is a timing chart of a drive control signal according to another drive control method of the present invention.

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

1 本体フレーム 2 プラテン 4 キャリッジ 5 サーマルヘッド 6 巻取りボビン 13 キャリッジ駆動用モータ 15 キャリッジ駆動ギア 16 巻取り駆動モータ 19 巻取り駆動ギア 20 CPU 21 タイマ DESCRIPTION OF SYMBOLS 1 Main body frame 2 Platen 4 Carriage 5 Thermal head 6 Take-up bobbin 13 Carriage drive motor 15 Carriage drive gear 16 Take-up drive motor 19 Take-up drive gear 20 CPU 21 Timer

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B41J 2/32 - 2/325 B41J 2/35 - 2/355 B41J 29/38 B41J 19/18 B41J 23/00 B41J 5/30 B41J 33/00 H02P 8/00 Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) B41J 2/32-2/325 B41J 2/35-2/355 B41J 29/38 B41J 19/18 B41J 23/00 B41J 5 / 30 B41J 33/00 H02P 8/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 タイマによる割込み要求時に、プリンタ
の駆動制御を行なうためのCPUから、キャリッジの往
復駆動あるいはインクリボンの巻取り駆動等を行なうた
めの2つ以上のステッピングモータに駆動制御信号を
時に出力する割込み処理を行なうことにより、印字駆動
制御を行なうためのプリンタの駆動制御方法において、
前記ステッピングモータの駆動タイミングの周期の比
を整数比となるように設定し、1つのタイマの割込み要
求による前記CPUの割込み処理時に、前記各ステッピ
ングモータの駆動制御信号を各周期毎に同時に出力する
ようにしたことを特徴とするプリンタの駆動制御方法。
To 1. A when an interrupt request by the timer, the CPU for performing drive control of the printer, a drive control signal to more than one stepping motor for performing winding drive, etc. reciprocating or ink ribbon carriage same
A printer drive control method for performing print drive control by performing interrupt processing that is output at
The setting ratio of the period of the driving timing of each of the stepping motors to be an integral ratio, when the interrupt processing of the CPU according to the interrupt request of one timer, at the same time outputs a drive control signal of the respective stepping motors for each cycle And a drive control method for the printer.
JP637992A 1992-01-17 1992-01-17 Printer drive control method Expired - Fee Related JP2878011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP637992A JP2878011B2 (en) 1992-01-17 1992-01-17 Printer drive control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP637992A JP2878011B2 (en) 1992-01-17 1992-01-17 Printer drive control method

Publications (2)

Publication Number Publication Date
JPH05193163A JPH05193163A (en) 1993-08-03
JP2878011B2 true JP2878011B2 (en) 1999-04-05

Family

ID=11636749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP637992A Expired - Fee Related JP2878011B2 (en) 1992-01-17 1992-01-17 Printer drive control method

Country Status (1)

Country Link
JP (1) JP2878011B2 (en)

Also Published As

Publication number Publication date
JPH05193163A (en) 1993-08-03

Similar Documents

Publication Publication Date Title
US6046756A (en) Printer device
CN1201941C (en) Printing device and its control method
JP2878011B2 (en) Printer drive control method
JPH0430061Y2 (en)
JP2001205855A (en) Method and apparatus for printing
JP2865901B2 (en) Printer drive control method
JP2756046B2 (en) Thermal transfer printer
JP2001088332A (en) Thermal transfer recording device
JPS6183047A (en) Multiline printing apparatus
JPH063642U (en) Thermal printer
JP2002067413A (en) Roll sheet printer
JP3603032B2 (en) Printer control method and printer
JP3356611B2 (en) Printer
JPH01278375A (en) Video printer
JPH10138572A (en) Thermal printing apparatus
JPS63209853A (en) Thermal recording device
JPH0521410Y2 (en)
JP2755656B2 (en) Thermal transfer recording device
JP2004195870A (en) Apparatus for controlling printing
JPH05261978A (en) Printer
JPS60124268A (en) Thermal printer
JPS6048391A (en) Thermal printer
JPH05330118A (en) Thermal printer
JPS6371382A (en) Method for driving ink ribbon
JPS61217270A (en) Printing-controlling system for serial printer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990105

LAPS Cancellation because of no payment of annual fees