JPH0224171A - Brake controller in printer - Google Patents

Brake controller in printer

Info

Publication number
JPH0224171A
JPH0224171A JP17259288A JP17259288A JPH0224171A JP H0224171 A JPH0224171 A JP H0224171A JP 17259288 A JP17259288 A JP 17259288A JP 17259288 A JP17259288 A JP 17259288A JP H0224171 A JPH0224171 A JP H0224171A
Authority
JP
Japan
Prior art keywords
data
printer
motor
host system
time
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
JP17259288A
Other languages
Japanese (ja)
Inventor
Toshifumi Hayakawa
敏史 早川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP17259288A priority Critical patent/JPH0224171A/en
Publication of JPH0224171A publication Critical patent/JPH0224171A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)

Abstract

PURPOSE:To enhance a substantial printing speed without deteriorating the printing quality of a printer by a method wherein at the interruption of the data supplied from a host system a braking processing is suitably applied to a thermal head according to the interruption timing. CONSTITUTION:Data transferred from a host system is supplied to a CPU 9 through an interface 8, thereafter being issued to a line-type thermal head 3. A platen 7 is rotatively driven by a DC motor 1, whereby the feed of thermosensible paper 2 is executed and a predetermined printing processing is conducted. The DC motor 1 is driven under control by an applied voltage control circuit 10 based on the instruction of the CPU 9, and a forward rotation voltage or a reverse rotation voltage is selected to be applied to the DC motor 1. Here, for example, a busy signal outputted from the CPU 9 to the host system becomes high level when the printer side fails to accept the data (under busy indication) and becomes low level when a data transfer from the host system to the printer side is allowed.

Description

【発明の詳細な説明】 〔概 要〕 DCモータにより印字用紙の送りを制御する形式のプリ
ンタのブレーキ制御装置に関し、プリンタの印字品質を
損なうことなく実質的な印字速度を向上することを目的
とし、 DCモータにより印字用紙の送りを制御し、該印字用紙
に対してホストシステムから供給されるデータに応じて
ライン型ヘッドが印字を行うプリンタのブレーキ制御装
置であって、前記ホストシステムから供給されるデータ
が途切れたとき、前記DCモータに対して第1の時間だ
け逆回転方向の電圧を印加して前記印字用紙の送りを減
速させる第1のブレーキング手段と、前記DCモータに
対して第1の時間だけ逆回転方向の電圧を印加した後、
一定時間の間に次のデータが転送されたかどうかを判別
するデータ転送判別手段と、前記一定時間の間に次のデ
ータが転送されないとき、前記DCモ−タに対して前記
第1の時間よりも長い第2の時間だけ逆回転方向の電圧
を印加して前記印字用紙の送りを停止させる第2のブレ
ーキング手段とを具備するように構成する。
[Detailed Description of the Invention] [Summary] This invention relates to a brake control device for a printer that uses a DC motor to control the feed of printing paper, and aims to improve the substantial printing speed without impairing the printing quality of the printer. , a brake control device for a printer in which a DC motor controls the feeding of printing paper, and a line-type head prints on the printing paper according to data supplied from a host system, the brake control device comprising: a first braking means for applying a voltage in the reverse rotation direction to the DC motor for a first period of time to decelerate the feeding of the printing paper; After applying a voltage in the reverse rotation direction for a time of 1,
data transfer determining means for determining whether or not the next data has been transferred during a certain period of time; and second braking means for applying a voltage in the reverse rotation direction for a second longer period of time to stop the feeding of the printing paper.

〔産業上の利用分野〕[Industrial application field]

本発明はプリンタのブレーキ制御装置に関し、特に、D
Cモータにより印字用紙の送りを制御する形式のプリン
タのブレーキ制御装置に関する。
The present invention relates to a brake control device for a printer, and in particular, to a brake control device for a printer.
The present invention relates to a brake control device for a printer that controls the feeding of printing paper using a C motor.

〔従来の技術〕[Conventional technology]

近年、コンビコータ、ワードプロツセサおよびデータ端
末装置等の普及に伴い、固定ヘッドによる鮮明な印字お
よび低騒音の特徴を有するライン型ヘッドを用いたサー
マルプリンタが盛んに使用されている。従来、このよう
なサーマルプリンタの印字用紙(感熱紙)を送るために
、DCモータを使用したものが広く利用されて−)る。
2. Description of the Related Art In recent years, with the spread of combination coaters, word processors, data terminal devices, etc., thermal printers using line-type heads, which have the characteristics of clear printing and low noise due to fixed heads, have been widely used. Conventionally, in order to feed printing paper (thermal paper) in such thermal printers, those using a DC motor have been widely used.

第6図はプリンタのライン型サーマルヘッドの一例を概
略的に示す図であり、参照符号101はDCモータ、1
02は感熱紙、103はライン型サーマルヘッド、そし
て、107はプラテンを示している。同図に示されるよ
うに、例えば、ライン型サーマルヘッド103を用いた
サーマルプリンタにおいて、感熱紙102を主走査方向
に送るために、例えば、DCモータ101を使用してプ
ラテン107を駆動するようになされている。
FIG. 6 is a diagram schematically showing an example of a line type thermal head of a printer, and reference numeral 101 is a DC motor;
02 is thermal paper, 103 is a line type thermal head, and 107 is a platen. As shown in the figure, in a thermal printer using a line-type thermal head 103, for example, a DC motor 101 is used to drive a platen 107 in order to feed thermal paper 102 in the main scanning direction. being done.

第7図は従来のプリンタにおけるブレーキング制御を説
明するための図である。同図に示されるように、例えば
、上述のサーマルプリンタにおいて、プリンタが印字を
停止したときにはDCモータ101 も停止することに
なるが、単にDCモータ101を停止しただけでは回転
しているプラテン107等の慣性力により感熱紙102
を本来停止させたい位置よりも送り過ぎることになる。
FIG. 7 is a diagram for explaining braking control in a conventional printer. As shown in the figure, for example, in the above-mentioned thermal printer, when the printer stops printing, the DC motor 101 also stops, but simply stopping the DC motor 101 will cause the rotating platen 107, etc. Thermal paper 102
This results in the machine being moved too far from the position where it is originally intended to be stopped.

すなわち、感熱紙102に印字された文字の行間隔につ
いて、非停止時の間隔より停止時の間隔の方が広くなっ
てしまうことになる。その結果、次行の印字を開始した
時に、前行との間隔が開きすぎてしまい印字の品質を低
下させることになっていた。
That is, regarding the line spacing between characters printed on the thermal paper 102, the spacing when the paper is stopped is wider than when it is not stopping. As a result, when printing of the next line is started, the gap between the next line and the previous line becomes too large, resulting in a deterioration in print quality.

そこで、従来、DCモータ101を停止させる際、成る
一定時間だけDCモータ101に逆回転方向の電圧を印
加(ブレーキング)し、プラテン107を急速に停止さ
せて感熱紙103の送り過ぎを防止する技術が提案され
ている。ここで、DCモータ101を停止させる時とは
、ホストシステムから供給されるデータの転送が途切れ
た時であり、例えば、数百μsec、オーダの時間であ
る。また、DCモータ10に逆回転方向の電圧を印加す
るのは、例えば、数十m5ec、オーダの時間である。
Therefore, conventionally, when stopping the DC motor 101, a voltage in the reverse rotation direction is applied (braking) to the DC motor 101 for a certain period of time to rapidly stop the platen 107 and prevent the thermal paper 103 from being fed too much. A technique has been proposed. Here, the time to stop the DC motor 101 is the time when the transfer of data supplied from the host system is interrupted, for example, on the order of several hundred μsec. Further, it takes a period of time, for example, on the order of several tens of m5ec, to apply a voltage in the reverse rotation direction to the DC motor 10.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように、従来のプリンタのブレーキ制御装置は
、ホストシステムから供給されるデータの転送が数百μ
sec、の時間途切れると、プリンタは数十m5ec、
程度の時間だけDCモータ101 に逆回転方向の電圧
を印加してブレーキングを行うようになされて5)る。
As mentioned above, conventional printer brake control devices transfer data supplied from the host system over hundreds of μm.
If the time of sec is interrupted, the printer will take tens of m5ec,
Braking is performed by applying a voltage in the reverse rotation direction to the DC motor 101 for a certain amount of time (5).

このブレーキングの間、プリンタはホストンステムから
のデータを受は付けることができない。
During this braking, the printer cannot accept data from the host stem.

第8図は従来のプリンタのブレーキ制御装置における課
題を説明するた必のタイミング図である。
FIG. 8 is an essential timing diagram for explaining the problems in the conventional printer brake control device.

同図(a) に示されるように、従来のプリンタのブレ
ーキ制御装置において、ホストシステムかう第1のデー
タd、が転送された後、例えば、数百μsec、の時間
だけデータ転送が途切れると、同図(b)に示されるよ
うに、プリンタ側では、例えば、数十m5ec、の時間
のブレーキングが行われる。そのため、第1のデータd
、の転送後、数百μsec、の時間を経て第2のデータ
d2aが転送された場合、プリンタ側ではブレーキング
を実行しているために第2のデータd2aを即座に受は
取ることができず、例えば、数十m5ec、のブレーキ
ングが終了してから第2のデータd2bの転送が行われ
ることになる。このように、従来のプリンタのブレーキ
制御装置は、例えば、数百μsec、程度の時間だけデ
ータ転送が途切れた場合、数十m s e c 、程度
のブレーキングの間、プリンタはホストシステムからの
データを受は取ることができず、プリンタの印字速度を
改善する上で解決すべき課題となっていた。
As shown in FIG. 5A, in the conventional printer brake control device, if the data transfer is interrupted for several hundred microseconds after the first data d from the host system is transferred, As shown in FIG. 5B, on the printer side, braking is performed for several tens of m5ec, for example. Therefore, the first data d
If the second data d2a is transferred several hundred μsec after the transfer of , the second data d2a cannot be received immediately because the printer is braking. First, the second data d2b is transferred after braking, for example, several tens of meters5ec, is completed. In this way, the brake control device of a conventional printer is such that, for example, if data transfer is interrupted for a period of several hundred microseconds, the printer will not be able to receive data from the host system during braking for a period of several tens of milliseconds. Data could not be received, and this was an issue that needed to be resolved in order to improve the printer's printing speed.

本発明は、上述した従来技術が有する課題に鑑み、プリ
ンタの印字品質を損なうことなく実質的な印字速度を向
上することを目的とする。
SUMMARY OF THE INVENTION In view of the problems of the prior art described above, an object of the present invention is to improve the substantial printing speed of a printer without impairing the printing quality.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明に係るプリンタのブレーキ制御装置の原
理を示すブロック図である。
FIG. 1 is a block diagram showing the principle of a brake control device for a printer according to the present invention.

本発明によれば、DCモータにより印字用紙の送りを制
御し、該印字用紙に対してホストシステムから供給され
るデータに応じてライン型ヘッドが印字を行うプリンタ
のブレーキ制御装置であって、前記ホストシステムから
供給されるデータが途切れたとき、前記DCモータに対
して第1の時間だけ逆回転方向の電圧を印加して前記印
字用紙の送りを減速させる第1のブレーキング手段4と
、前記DCモータに対して第1の時間だけ逆回転方向の
電圧を印加した後、一定時間の間に次のデータが転送さ
れたかどうかを判別するデータ転送判別手段5と、前記
一定時間の間に次のデータが転送されないとき、前記D
Cモータに対して前記第1の時間よりも長い第2の時間
だけ逆回転方向の電圧を印加して前記印字用紙の送りを
停止させる第2のブレーキング手段6とを具備すること
を特徴とするプリンタのブレーキ制御装置が提供される
According to the present invention, there is provided a brake control device for a printer in which the feed of printing paper is controlled by a DC motor, and a line-type head prints on the printing paper according to data supplied from a host system, the brake control device comprising: a first braking means 4 that applies a voltage in a reverse rotation direction to the DC motor for a first period of time to decelerate the feeding of the printing paper when the data supplied from the host system is interrupted; data transfer determining means 5 for determining whether or not the next data has been transferred during a certain period of time after applying a voltage in the reverse rotation direction to the DC motor for a first period of time; When the data of D is not transferred,
A second braking means 6 applies a voltage in the reverse rotation direction to the C motor for a second time longer than the first time to stop the feeding of the printing paper. A brake control device for a printer is provided.

〔作 用〕[For production]

上述した構成を有する本発明のプリンタのブレーキ制御
装置によれば、第1のブレーキング手段4によりホスト
システムから供給されるデータが途切れたとき、DCモ
ータに対して第1の時間だけ逆回転方向の電圧が印加さ
れて前記印字用紙の送りが減速される。さらに、データ
転送判別手段5によりDCモータに対して第1の時間だ
け逆回転方向の電圧が印加された後、一定時間の間に次
のデータが転送されたかどうかが判別される。そして、
上記一定時間の間に次のデータが転送されれば、そのデ
ータを受は取って印字を行い、また、上記一定時間の間
に次のデータが転送されないときには、第2のブレーキ
ング手段6によりDCモータに対して第1の時間よりも
長い第2の時間だけ逆回転方向の電圧を印加して印字用
紙の送りを停止する。
According to the printer brake control device of the present invention having the above-described configuration, when the data supplied from the host system is interrupted by the first braking means 4, the DC motor is rotated in the reverse direction for a first period of time. voltage is applied to slow down the feeding of the printing paper. Further, after the data transfer determining means 5 applies a voltage in the reverse rotation direction to the DC motor for a first period of time, it is determined whether or not the next data has been transferred within a certain period of time. and,
If the next data is transferred during the above-mentioned fixed time, the data is received and printed, and when the next data is not transferred during the above-mentioned fixed time, the second braking means 6 is activated. A voltage in the reverse rotation direction is applied to the DC motor for a second time period that is longer than the first time period to stop feeding the printing paper.

次に、第2図のタイミング図を参照して本発明のプリン
タのブレーキ制御装置におけるブレーキング制御を説明
する。本発明のプリンタのブレーキ制御装置において、
ホストシステムから第1のデータD1が転送された後、
ホストシステムからのデータ転送が途切れると、同図(
b) に示されるように、第1のブレーキング手段4に
よって、DCモータに対して第1の時間(例えば、数m
5ec、の時間)だけ逆回転方向の電圧が印加されて印
字用紙の送りが減速される。さらに、データ転送判別手
段5によりDCモータに対して第1の時間だけ逆回転方
向の電圧が印加された後、一定時間(例えば、数m5e
c、の時間)の間に第2のデータD2が転送されたかど
うかが判別される。この一定時間の間に次の第2のデー
タD2が転送されれば、例えば、第1のデータD1が転
送された後、数百μsec、を経て第2のデータD2が
転送された場合には、その第2のデータD2を受は取っ
て次の印字を行う。また、上記一定時間の間に第2のデ
ータD2が転送されないときには、第2のブレーキング
手段6によりDCモータに対して第1の時間よりも長い
第2の時間(例えば、数十rnsec、程度の時間)だ
け逆回転方向の電圧を印加して印字用紙の送りを完全に
停止する。
Next, braking control in the brake control device for a printer according to the present invention will be explained with reference to the timing diagram of FIG. In the printer brake control device of the present invention,
After the first data D1 is transferred from the host system,
If the data transfer from the host system is interrupted, the same figure (
b) As shown in FIG.
A voltage in the reverse rotation direction is applied for a period of 5 ec, and the feeding of the printing paper is decelerated. Furthermore, after the data transfer determining means 5 applies a voltage in the reverse rotation direction to the DC motor for a first period of time, the voltage is applied to the DC motor for a certain period of time (for example, several meters).
It is determined whether or not the second data D2 was transferred during the time period c. If the next second data D2 is transferred during this certain period of time, for example, if the second data D2 is transferred several hundred μsec after the first data D1 is transferred, , the second data D2 is received and the next printing is performed. Further, when the second data D2 is not transferred during the above-mentioned certain period of time, the second braking means 6 controls the DC motor for a second period of time longer than the first period of time (for example, several tens of rnsec, approximately time) to completely stop the feeding of the printing paper by applying a voltage in the reverse rotation direction.

このように、本発明のプリンタのブレーキ制御装置は、
ホストシステムからのデータ転送の途切れ時間が短い場
合と長い場合とを識別し、それらの途切れ時間に対応さ
せて2段階のブレーキングを行うことによって、プリン
タの印字品質を損なうことなく実質的な印字速度を向上
させることができる。
In this way, the printer brake control device of the present invention has the following features:
By identifying short and long interruptions in data transfer from the host system and performing two-step braking in response to these interruptions, it is possible to effectively print without compromising the print quality of the printer. Speed can be improved.

〔実施例〕〔Example〕

以下、図面を参照して本発明に係るプリンタのブレーキ
制御装置の一実施例を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a brake control device for a printer according to the present invention will be described below with reference to the drawings.

第3図は本発明のプリンタのブレーキ制御装置の一実施
例を示すブロック図であり、プリンタとホストシステム
との間のインターフェースにバラレル方式を用い、ビジ
ー信号でハンドシェノイクするように構成されたもので
ある。同図において、参照符号1はDCモータ、2は印
字用紙(感熱紙)。
FIG. 3 is a block diagram showing an embodiment of the printer brake control device of the present invention, which uses a parallel system for the interface between the printer and the host system, and is configured to perform a handshake in response to a busy signal. It is something. In the figure, reference numeral 1 is a DC motor, and 2 is printing paper (thermal paper).

3はライン型サーマルヘッド、7はプラテン、8はイン
ターフェース、9はCPU (中央処理装置)、そして
、10は印加電圧制御回路を示している。
3 is a line type thermal head, 7 is a platen, 8 is an interface, 9 is a CPU (central processing unit), and 10 is an applied voltage control circuit.

ホストシステムから転送されたデータはインターフェー
ス8を介してCPU9に供給され、そして、ライン型サ
ーマルヘッド3に送出される。プラテン7は、DCモー
タ1により回転駆動され、これにより、感熱紙2の送り
が実行されて所定の印字処理が行われるようになされて
いる。[]Cモータ1は、CPU9の指令に基づいた印
加電圧制御回路10により駆動制御され、順回転電圧と
逆回転電圧とを選択してDCモータ1に印加できるよう
になされている。ここで、CPU9からホストシステム
に出力されるビジー信号は、例えば、プリンタ側がデー
タを受は付けないとき(ビジー状態のとき)に高レベル
、ホストシステムかろのデータ転送が可能なときに低レ
ベルとなるようになされている。
Data transferred from the host system is supplied to the CPU 9 via the interface 8, and then sent to the line type thermal head 3. The platen 7 is rotationally driven by the DC motor 1, thereby feeding the thermal paper 2 and performing a predetermined printing process. [ ] The C motor 1 is driven and controlled by an applied voltage control circuit 10 based on commands from the CPU 9, and is configured to be able to select a forward rotation voltage or a reverse rotation voltage and apply it to the DC motor 1. Here, the busy signal output from the CPU 9 to the host system is, for example, at a high level when the printer side does not accept data (in a busy state), and at a low level when data transfer from the host system is possible. It is made to be.

第4図は第3図のプリンタのブレーキ制御装置における
ブレーキング制御を説明するだめのタイミング図である
。第3図のプリンタのブレーキ制御装置において、第4
図(a)に示されるように、ホストシステムからインタ
フェース8を介してCPU9にデータDが転送されると
、ビジー信号は、同図(b)に示されるように、区間T
1においてデータDの各文字データに対応して変化する
。ここで、転送データDの最後、すなわち、データDが
途切れる前には必ず改行コマンドが存在するものとする
FIG. 4 is a timing chart for explaining braking control in the brake control device of the printer shown in FIG. 3. In the brake control device of the printer shown in Fig. 3, the fourth
When data D is transferred from the host system to the CPU 9 via the interface 8, as shown in FIG.
1, it changes corresponding to each character data of data D. Here, it is assumed that a line feed command always exists at the end of the transfer data D, that is, before the data D is interrupted.

次いで、CPU9が転送データDの最後に在る改行コマ
ンドを受は取ると、すなわち、成る転送データDを全て
受は取ると、区間T2においてビジー信号を高レベルと
して印字を開始する。このとき、区間T2の最後には、
データDの最後の改行コマンドに対応して改行が実行さ
れることになる。すなわち、CPU9の指令を受けた印
加電圧制御回路10はDCモータ1を駆動制御してプラ
テン7上の感熱紙2の送りを制御し、同時に、ライン型
サーマルヘッド3は感熱紙2の表面にCPU9からの印
字データに基づいた所定の印字を行う。
Next, when the CPU 9 receives the line feed command at the end of the transfer data D, that is, when all of the transfer data D is received, the CPU 9 sets the busy signal to a high level and starts printing in section T2. At this time, at the end of section T2,
A line feed is executed in response to the last line feed command of data D. That is, the applied voltage control circuit 10 receiving a command from the CPU 9 drives and controls the DC motor 1 to control the feeding of the thermal paper 2 on the platen 7, and at the same time, the line type thermal head 3 applies the CPU 9 to the surface of the thermal paper 2. Performs predetermined printing based on print data from.

そして、印字が終了すると、同図(C)に示されるよう
に、第1のブレーキングが実行される。すなわち、CP
U9からの指令に受けた印加電圧制御回路10がDCモ
ータ1に対して、例えば、数m5ec。
Then, when the printing is completed, the first braking is performed as shown in FIG. That is, C.P.
In response to the command from U9, the applied voltage control circuit 10 applies a voltage of several m5ec to the DC motor 1, for example.

の時間だけ逆回転方向の電圧を印加してプラテン7の回
転を急激に減速する。
The rotation of the platen 7 is rapidly decelerated by applying a voltage in the reverse rotation direction for a period of time.

さらに、例えば、数m5ec、の区間T3において、ビ
ジー信号を低レベルにして次のデータがホストシステム
から転送されるかどうか待機する。この区間T3の間に
次のデータが転送されれば、加電圧制御回路10がDC
モータ1に対して十分なブレーキングを行うことなく、
次のデータに対応する印字を継続して行う。一方、区間
T3の間に次のデータが転送されなければ、区間T4に
おいてビジー信号を高レベルとして、印加電圧制御回路
10がDCモータ1に対して、例えば、数十m5ec、
の時間だけ逆回転方向の電圧を印加してプラテン7の回
転を完全に停止する。
Furthermore, for example, in interval T3 of several m5ec, the busy signal is set to a low level to wait for the next data to be transferred from the host system. If the next data is transferred during this period T3, the voltage application control circuit 10
Without applying sufficient braking to motor 1,
Continuously prints the next data. On the other hand, if the next data is not transferred during interval T3, the busy signal is set to a high level in interval T4, and the applied voltage control circuit 10 controls the DC motor 1 for several tens of m5ec, for example.
The rotation of the platen 7 is completely stopped by applying a voltage in the reverse direction for a period of time.

上述したプリンタのブレーキ制御装置の実施例を使用す
ることにより、従来のプリンタのブレーキ制御装置と比
較して、実質的な印字速度を約5%程度向上させること
ができる。すなわち、第1のブレーキング時間が従来の
約1/10となるた狛、例えば、実際の印字処理におい
て第1のブレーキングの有効な場合が約1/10程度な
ので、実質的な印字速度が約5%程度向上する。
By using the embodiment of the printer brake control device described above, the actual printing speed can be increased by about 5% compared to the conventional printer brake control device. In other words, the first braking time is about 1/10 of the conventional one, but for example, in actual printing processing, the effective case of the first braking is about 1/10, so the actual printing speed is reduced. It improves by about 5%.

第5図は本発明のプリンタのブレーキ制御処理の一例を
示すフローチャートである。
FIG. 5 is a flowchart showing an example of the brake control process of the printer of the present invention.

まず、ステップ50においてホストシステムから転送さ
れるデータDを受は取り、ステップ51に進む。ここで
、転送データDの最後、すなわち、データDが途切れる
前には必ず改行コマンドが存在するものとする。次いで
、ステップ51でビジー信号を高レベルにしてホストシ
ステムからのデータを受は付けないようにして、ステッ
プ52で印字を開始する。そして、ステップ53で印字
が終了したかどうかを判別し、印字が終了するまでステ
ップ52で印字を行い、ステップ53で印字が終了した
と判別されるとステップ54に進んで、第1のブレーキ
ングを実行する。
First, in step 50, data D transferred from the host system is received, and the process proceeds to step 51. Here, it is assumed that a line feed command always exists at the end of the transfer data D, that is, before the data D is interrupted. Next, in step 51, the busy signal is set to a high level so that data from the host system is not accepted, and in step 52, printing is started. Then, it is determined in step 53 whether or not the printing has been completed, and printing is continued in step 52 until the printing is completed.When it is determined in step 53 that the printing has been completed, the process proceeds to step 54, where the first braking is applied. Execute.

次に、ステップ55に進んで、ビジー信号を低レベルに
して、ホストシステムからのデータを受は取り可能な状
態とし、さらに、ステップ56において数ミリ秒間待機
する。そして、ステップ57に進んで、待機時間の間に
データが転送されたかどうかを判別する。このステップ
57において、ホストシステムからのデータが転送され
たと判別されると、ステップ50に戻ってデータを受信
して次のデータに基づく印字を継続する。一方、ステッ
プ57において、ホストシステムからのデータが転送さ
れないと判別されると、ステップ58に進んでビジー信
号を高レベルにすると共に、ステップ59において第2
のブレーキングを実行し、さらに、ステップ60におい
て、ビジー信号を低レベルとしてブレーキ制御処理を終
了する。ここで、第1のブレーキングおよび第2のブレ
ーキング等については、第3図および第4図を参照して
詳述した通りである。
The process then proceeds to step 55, where the busy signal is set low to allow data to be received from the host system, and the process waits for several milliseconds at step 56. The process then proceeds to step 57, where it is determined whether data has been transferred during the waiting time. If it is determined in step 57 that data from the host system has been transferred, the process returns to step 50 to receive the data and continue printing based on the next data. On the other hand, if it is determined in step 57 that data from the host system is not transferred, the process proceeds to step 58 where the busy signal is set to high level, and in step 59 the second
Then, in step 60, the busy signal is set to a low level and the brake control process is ended. Here, the first braking, the second braking, etc. are as described in detail with reference to FIGS. 3 and 4.

以上において、前述した実施例は、ライン型サーマルヘ
ッドを有するサーマルプリンタについてのものであるが
、本発明のプリンタのブレーキ制御装置は、DCモータ
により紙送りを行う形式のプリンタに対して広く適用す
ることができる。
Although the embodiments described above relate to a thermal printer having a line-type thermal head, the printer brake control device of the present invention is widely applicable to printers that feed paper using a DC motor. be able to.

〔発明の効果〕〔Effect of the invention〕

以上、詳述したように、本発明に係るプリンタのブレー
キ制御装置は、ホストシステムから供給されるデータが
途切れた場合、その途切れ時間に応じてサーマルヘッド
のブレーキ処理を適切に行うことによって、プリンタの
印字品質を損なうことなく実質的な印字速度を向上させ
ることができる。
As described above in detail, when the data supplied from the host system is interrupted, the printer brake control device according to the present invention can control the printer by appropriately performing the brake processing of the thermal head according to the interruption time. It is possible to substantially improve printing speed without compromising print quality.

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

第1図は本発明に係るプリンタのブレーキ制御装置の原
理を示すブロック図、 第2図は第1図のプリンタのブレーキ制御装置における
ブレーキング制御を説明するためのタイミング図、 第3図は本発明のプリンタのブレーキ制御装置の一実施
例を示すブロック図、 第4図は第3図のプリンタのブレーキ制御装置における
ブレーキング制御を説明するためのタイミング図、 第5図は本発明のプリンタのフツーキ制御処理の一例を
示すフローチャート、 第6図はプリンタのライン型サーマルヘッドの一例を概
略的に示す図、 第7図は従来のプリンタにおけるブレーキング制御を説
明するための図、 第8図は従来のプリンタのブレーキ制御装置における課
題を説明するためのタイミング図である。 :符号の説明〕 1・・・DCモータ、 2・・・ライン型サーマルヘッド、 3・・・印字用紙、 4・・・第1のブレーキング手段、 5・・・データ転送判別手段、 6・・・第2のブレーキング手段、 7・・・プラテン、 8・・・インターフェース、 9・・・CPU。 10・・・印加電圧制御回路。
FIG. 1 is a block diagram showing the principle of a brake control device for a printer according to the present invention, FIG. 2 is a timing diagram for explaining braking control in the brake control device for a printer shown in FIG. 1, and FIG. A block diagram showing one embodiment of the printer brake control device of the invention, FIG. 4 is a timing diagram for explaining braking control in the printer brake control device of FIG. 3, and FIG. 5 is a block diagram showing an embodiment of the printer brake control device of the invention. A flowchart showing an example of a normal control process, FIG. 6 is a diagram schematically showing an example of a line-type thermal head of a printer, FIG. 7 is a diagram for explaining braking control in a conventional printer, and FIG. FIG. 2 is a timing diagram for explaining problems in a conventional printer brake control device. : Explanation of symbols] 1... DC motor, 2... Line type thermal head, 3... Print paper, 4... First braking means, 5... Data transfer determining means, 6. ...Second braking means, 7.Platen, 8.Interface, 9.CPU. 10... Applied voltage control circuit.

Claims (1)

【特許請求の範囲】 1、DCモータにより印字用紙の送りを制御し、該印字
用紙に対してホストシステムから供給されるデータに応
じてライン型ヘッドが印字を行うプリンタのブレーキ制
御装置であって、 前記ホストシステムから供給されるデータが途切れたと
き、前記DCモータに対して第1の時間だけ逆回転方向
の電圧を印加して前記印字用紙の送りを減速させる第1
のブレーキング手段(4)と、前記DCモータに対して
第1の時間だけ逆回転方向の電圧を印加した後、一定時
間の間に次のデータが転送されたかどうかを判別するデ
ータ転送判別手段(5)と、 前記一定時間の間に次のデータが転送されないとき、前
記DCモータに対して前記第1の時間よりも長い第2の
時間だけ逆回転方向の電圧を印加して前記印字用紙の送
りを停止させる第2のブレーキング手段(6)とを具備
することを特徴とするプリンタのブレーキ制御装置。
[Claims] 1. A brake control device for a printer in which a DC motor controls the feeding of printing paper, and a line-type head prints on the printing paper according to data supplied from a host system. , when the data supplied from the host system is interrupted, a first voltage is applied to the DC motor in the reverse rotation direction for a first period of time to decelerate the feeding of the printing paper;
braking means (4); and data transfer determining means for determining whether or not the next data has been transferred within a certain period of time after applying a voltage in the reverse rotation direction to the DC motor for a first period of time. (5) When the next data is not transferred during the certain period of time, a voltage in the reverse rotation direction is applied to the DC motor for a second period of time that is longer than the first period of time, and the printing paper is transferred. A brake control device for a printer, comprising a second braking means (6) for stopping the feeding of the printer.
JP17259288A 1988-07-13 1988-07-13 Brake controller in printer Pending JPH0224171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17259288A JPH0224171A (en) 1988-07-13 1988-07-13 Brake controller in printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17259288A JPH0224171A (en) 1988-07-13 1988-07-13 Brake controller in printer

Publications (1)

Publication Number Publication Date
JPH0224171A true JPH0224171A (en) 1990-01-26

Family

ID=15944708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17259288A Pending JPH0224171A (en) 1988-07-13 1988-07-13 Brake controller in printer

Country Status (1)

Country Link
JP (1) JPH0224171A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0440307U (en) * 1990-08-03 1992-04-06

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0440307U (en) * 1990-08-03 1992-04-06

Similar Documents

Publication Publication Date Title
EP0941864B1 (en) Serial printer which provides acceleration control of carrier
JP2831653B2 (en) Ink jet recording device
JPH0224171A (en) Brake controller in printer
JPH02137955A (en) Printer control method
JP2001205855A (en) Method and apparatus for printing
JPH11138872A (en) Thermal printer
JPS60120072A (en) Printing controller
JP2554379B2 (en) Thermal printer
JPS6311378A (en) Printing control system
JPS6125857A (en) Overload detecting printing method in dot printer
JPS60201965A (en) Printer with compensation for missing of dot
JPS62178376A (en) Printer
JP2001219612A (en) Serial printer
JP3614920B2 (en) Printer print control device
JPS62242565A (en) Recorder
JP2726085B2 (en) Printer overload printing control method
JPS62167062A (en) Printer
JPH01186367A (en) Thermal transfer serial printer
JP2003080774A (en) Recording method of line thermal printer and line thermal printer for use therein
JPH08142422A (en) Paper feed control device for image data printing
JPS6213374A (en) Printer-controlling system
JPH11292324A (en) Printer and printing system
JPS62253459A (en) Printer
JPH01101174A (en) Dot matrix printer
JPH0717120A (en) Thermal transfer printer