JP2894146B2 - Printer - Google Patents

Printer

Info

Publication number
JP2894146B2
JP2894146B2 JP6577093A JP6577093A JP2894146B2 JP 2894146 B2 JP2894146 B2 JP 2894146B2 JP 6577093 A JP6577093 A JP 6577093A JP 6577093 A JP6577093 A JP 6577093A JP 2894146 B2 JP2894146 B2 JP 2894146B2
Authority
JP
Japan
Prior art keywords
printing
print head
detecting means
end sensor
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.)
Expired - Fee Related
Application number
JP6577093A
Other languages
Japanese (ja)
Other versions
JPH06270490A (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.)
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 JP6577093A priority Critical patent/JP2894146B2/en
Publication of JPH06270490A publication Critical patent/JPH06270490A/en
Application granted granted Critical
Publication of JP2894146B2 publication Critical patent/JP2894146B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、自動取引装置に使用さ
れる通帳プリンタ等の両方向印字を行うシリアルプリン
タに係り、特に印字行端のセンサの一方だけが故障した
時は、一方向印字に切り換えて印字を継続することがで
きるプリンタに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial printer for bidirectional printing such as a passbook printer used in an automatic transaction apparatus, and more particularly to a unidirectional printing when only one of the sensors at the end of a printing line fails. The present invention relates to a printer capable of switching and continuing printing.

【0002】近来、金融機関等で自動預金兼支払機(Aut
omatic Teller Machine:ATM)等の自動取引装置や記
帳機が広く利用されている。これらの装置には通帳に取
引内容を行印字する通帳プリンタが組み込まれており、
通帳プリンタには通常ワイヤードットプリンタ等のシリ
アルプリンタが使用され、両方向印字により通帳に取引
内容が印字される。
In recent years, automatic deposit and payment machines (Aut
Automatic transaction devices such as omatic teller machines (ATMs) and bookkeeping machines are widely used. These devices incorporate a passbook printer that prints the details of the transaction on the passbook,
Usually, a serial printer such as a wire dot printer is used as the passbook printer, and transaction contents are printed on the passbook by bidirectional printing.

【0003】このプリンタが故障すると自動取引装置等
の運用が停止されて取引不能となるので、軽微な故障の
時には、記帳が行えて取引が継続できる方法が望まれて
いる。
[0003] If the printer fails, the operation of the automatic transaction apparatus and the like is stopped and the transaction becomes impossible. Therefore, in the case of a minor failure, there is a demand for a method capable of performing bookkeeping and continuing the transaction.

【0004】[0004]

【従来の技術】図6の斜視図は通帳プリンタに使用され
るワイヤードットプリンタの概要を示す。図に示すよう
に、プラテン1、印字ヘッド2a及びインクリボンを印字
ヘッド2aの前面に供給する図示していないリボンカセッ
トを搭載したキャリア3、キャリア3に螺合する送りね
じ4、キャリア3が摺動自在に嵌合するカイドシャフト
5、及び図示省略した送りローラにより通帳7aを搬送す
る図中2点鎖線で示す搬送路6で構成されている。
2. Description of the Related Art FIG. 6 is a perspective view schematically showing a wire dot printer used in a passbook printer. As shown in the drawing, a platen 1, a print head 2a, a carrier 3 mounted with a ribbon cassette (not shown) for supplying an ink ribbon to the front surface of the print head 2a, a feed screw 4 screwed to the carrier 3, and a carrier 3 are slidable. It comprises a guide shaft 5 which is movably fitted, and a transport path 6 shown by a two-dot chain line in the figure for transporting the passbook 7a by a feed roller not shown.

【0005】送りねじ4は図示省略した複数のギヤ(或
いはベルト及びプーリ)を介してスペースモータ(以下
Sモータという)Mに連結され、SモータMの正逆回転
によってキャリア3を左右に移動させて、キャリア3に
搭載された印字ヘッド2aがプラテン1に所定間隙を介し
て上面を矢印A、B方向に往復移動する。
The feed screw 4 is connected to a space motor (hereinafter referred to as an S motor) M via a plurality of gears (or belts and pulleys), not shown, and moves the carrier 3 right and left by forward and reverse rotation of the S motor M. Then, the print head 2a mounted on the carrier 3 reciprocates in the directions of arrows A and B on the upper surface of the platen 1 via a predetermined gap.

【0006】このような構成を有するので、搬送路6を
搬送された通帳7aは印字行がプラテン1の上方の印字位
置へ送られ、キャリア3が移動しながら印字ヘッド2aに
より印字が行われる。一行分の印字が終了すると、通帳
7aの所定の行送りが行われ、キャリア3の移動方向が反
転して同様に印字が行われる。
[0006] With such a configuration, the passbook 7a conveyed through the conveyance path 6 has its print lines sent to the print position above the platen 1, and the printhead 2a performs printing while the carrier 3 moves. When one line is printed, the passbook
The predetermined line feed of 7a is performed, the moving direction of the carrier 3 is reversed, and printing is performed similarly.

【0007】ここにおいて、印字ヘッド2aが一定速度で
移動して、所定のドット間隔で印字が実行されたことを
確認する手段として次のような方法が行われている。図
7に示すように、印字ヘッド2aが左端に存在するとON
になる左端センサ8aと、印字ヘッド2aが右端に存在する
とONとなる右端センサ9aとを設けて、図8のタイムチ
ャートに示すように、一行の印字を行う毎に印字ヘッド
2aの移動開始から左端センサ8a或いは右端センサ9aに到
達するまでの移動時間T1,T2 を測定する。
Here, the following method is used as means for confirming that the print head 2a has been moved at a constant speed and printing has been performed at a predetermined dot interval. As shown in FIG. 7, when the print head 2a is at the left end, it is turned ON.
A left end sensor 8a and a right end sensor 9a which is turned on when the print head 2a is at the right end are provided. As shown in the time chart of FIG.
The movement times T 1 and T 2 from the start of the movement of 2a to the arrival at the left end sensor 8a or the right end sensor 9a are measured.

【0008】この測定した移動時間T1,T2 が所定時間
(理論値±α= TU ,TL ) 以内(TL ≦T1≦ TU 、 TL ≦T
2≦ TU ) であれば、印字したドット間隔は正常と判定
し、所定時間を越えて (T1< TL 或いはT1> TU 、T2
TL 或いはT2> TU ) いれば、左端センサ8a或いは右端
センサ9aの故障、SモータMの故障や機構部品の油切れ
等によるドット間隔の不良と判定して印字を停止する。
The measured moving times T 1 and T 2 are equal to predetermined times.
(Theoretical value ± α = T U, T L ) within (T L ≦ T 1 ≦ T U, T L ≦ T
If 2 ≦ T U), the dot interval in which printing is determined to be normal, beyond a predetermined time (T 1 <T L or T 1> T U, T 2 <
If T L or T 2 > T U ), printing is stopped upon determining that the dot interval is defective due to a failure of the left end sensor 8a or the right end sensor 9a, a failure of the S-motor M, or a lack of oil in a mechanical component.

【0009】[0009]

【発明が解決しようとする課題】上記従来方法によれ
ば、印字ヘッドが所定のドット間隔で印字が実行された
ことを確認する左端センサ及び右端センサのいずれか一
方が故障すると、印字を停止するので記帳ができなくな
り、自動取引装置等の取引の継続が不能になるという問
題点がある。
According to the above-mentioned conventional method, when one of the left end sensor and the right end sensor for confirming that the print head has executed printing at a predetermined dot interval fails, printing is stopped. Therefore, there is a problem that bookkeeping cannot be performed and continuation of transactions of the automatic transaction device or the like becomes impossible.

【0010】本発明は、プリンタの軽微な故障の時に
は、印字を継続することができるプリンタを提供すると
を目的としている。
An object of the present invention is to provide a printer that can continue printing when a minor failure occurs in the printer.

【0011】[0011]

【課題を解決するための手段】図1は本発明の原理構成
図である。図において、2は印字ヘッド、7は印字媒
体、8,9は印字ヘッド2が一行印字移動した時の左端及
び右端を検出する第1の検出手段及び第2の検出手段、
20は印字ヘッド2の一行印字移動に異常があった時に、
第1の検出手段8及び第2の検出手段9のいずれか一方
だけの故障であるか否かを判定する判定手段である。
FIG. 1 is a block diagram showing the principle of the present invention. In the figure, 2 is a print head, 7 is a print medium, 8 and 9 are first and second detection means for detecting the left end and the right end when the print head 2 moves one line.
20 indicates that when there is an abnormality in the one-line printing movement of the print head 2,
This is a determining means for determining whether only one of the first detecting means 8 and the second detecting means 9 has failed.

【0012】そして判定手段20の判定結果が第1の検出
手段8及び第2の検出手段9のいずれか一方だけの故障
であった時は、印字ヘッド2の行印字動作を一方向印字
に切り換えて印字を継続するように構成されている。
If the result of the judgment by the judging means 20 is that only one of the first detecting means 8 and the second detecting means 9 has failed, the line printing operation of the print head 2 is switched to one-way printing. To continue printing.

【0013】[0013]

【作用】印字ヘッド2により正逆方向に行印字し、一行
印字移動した時の右端及び左端を第1の検出手段8及び
第2の検出手段9で検出して、行印字動作の正否を判定
した結果、行印字動作に異常があった時に、判定手段20
によって第1の検出手段8或いは第2の検出手段9のい
ずれか一方だけの故障であるか否か(例えば、第1の検
出手段8及び第2の検出手段9の両方の故障か、或いは
印字ヘッド2の駆動系の故障か)を判定し、第1の検出
手段8及び第2の検出手段9のいずれか一方だけの故障
であった時には、印字ヘッド2の行印字動作を一方向印
字に切り換えて印字を行うことにより、印字を継続する
ことができる。
The line head is printed in the forward and reverse directions by the print head 2, and the right and left ends of the one line printing movement are detected by the first detecting means 8 and the second detecting means 9 to determine whether the line printing operation is correct or not. As a result, when there is an abnormality in the line printing operation,
Depending on whether only one of the first detecting means 8 and the second detecting means 9 has failed (for example, whether the first detecting means 8 and the second detecting means 9 have failed, or The drive system of the head 2), and if only one of the first detection means 8 and the second detection means 9 has failed, the line printing operation of the print head 2 is changed to one-way printing. By switching and performing printing, printing can be continued.

【0014】[0014]

【実施例】以下、従来例で説明したワイヤードットプリ
ンタに本発明を適用した一実施例を図2〜図5を参照し
て説明する。全図を通じて同一符号は同一対象物を示
す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to the wire dot printer described in the conventional example will be described below with reference to FIGS. The same reference numerals indicate the same objects throughout the drawings.

【0015】図2の印字用紙2a、左端センサ8a及び右端
センサ9aは、図1の印字媒体2、第1の検出手段8及び
第2の検出手段9に対応し、図2のROM11及び判定部
20aは、図1の判定手段20に対応している。
The printing paper 2a, left end sensor 8a and right end sensor 9a in FIG. 2 correspond to the printing medium 2, the first detecting means 8 and the second detecting means 9 in FIG.
20a corresponds to the determination means 20 of FIG.

【0016】図2は本発明の実施例を示すブロック図で
ある。図において、10はCPU、11はROM、12はRA
M、13はインタフェース回路、14はセンサ検出回路、15
はタイマー、16は印字ヘッドドライバ、17はモータドラ
イバを示す。
FIG. 2 is a block diagram showing an embodiment of the present invention. In the figure, 10 is a CPU, 11 is a ROM, 12 is RA
M and 13 are interface circuits, 14 is a sensor detection circuit, 15
Indicates a timer, 16 indicates a print head driver, and 17 indicates a motor driver.

【0017】CPU10は、ROM11に格納された制御プ
ログラムに基づき各部を制御する。ROM11は、従来例
で説明したプリンタの印字制御プログラム及び印字ヘッ
ド2aの移動正否判定のため正/逆方向の移動時間T1,T2
の測定制御プログラムの他に、左端センサ8a或いは右端
センサ9aによる印字ヘッド2aの移動の正否判定で、異常
と判定した時に、更にモータドライバ17に指令して反対
方向に印字ヘッド2aを移動させて、タイマー15に逆/正
方向の移動時間T3,T4 を測定させるプログラム、及び印
字ヘッド2aの移動時間T3,T4 に基づいて左端センサ8a或
いは右端センサ9aの異常判定がでた時に、印字を故障し
た左端センサ8a或いは右端センサ9aが行の終端となる方
向の一方向印字に切り換え制御するプログラムを備えて
いる。
The CPU 10 controls each section based on a control program stored in the ROM 11. The ROM 11 stores forward / reverse movement times T 1 , T 2 in order to determine whether the movement of the print head 2a is correct or not.
In addition to the measurement control program described above, when it is determined that the movement of the print head 2a by the left end sensor 8a or the right end sensor 9a is correct, when it is determined that there is an abnormality, the motor driver 17 is further instructed to move the print head 2a in the opposite direction. the program is measured reverse / forward direction of the movement time T 3, T 4 the timer 15, and the moving time of the printing head 2a on the basis of T 3, T 4 when going out abnormality determination of the left end sensor 8a or the right end sensor 9a A program is provided for controlling the switching of the failed left end sensor 8a or right end sensor 9a to one-way printing in the direction of the end of the line.

【0018】RAM12は、インタフェース回路13によっ
て受信した印字データを格納する印字データ領域18、印
字ヘッド2aが右端から左端まで、或いは左端から右端ま
で移動する時の所定時間 TL ,TU を格納する時間設定領
域19、及び判定部20aを備えたメモリである。
[0018] RAM12 is print data area 18 for storing the print data received by the interface circuit 13, the printing heads 2a to store the predetermined time T L, T U when moving from the right end to the left end, or from the left end to the right end This is a memory including a time setting area 19 and a determination unit 20a.

【0019】判定部20aは、故障の原因を判定するプロ
グラムで、まず、左端センサ8a或いは右端センサ9aによ
る印字ヘッド2aの移動時間T1,T2 を所定時間 TL ,TU
比較して、異常の有無(TL ≦T1≦ TU 、 TL ≦T2≦ TU
なら正常、T1< TL 或いはT1> TU 、T2< TL 或いはT2
> TU なら異常) を判定すると共に、異常と判定された
時に、左端センサ8a或いは右端センサ9aの故障か、印字
ヘッド2aの駆動系の故障かを判定するために、更に反対
方向に印字ヘッド2aを移動して測定した移動時間T3(T4)
を所定時間 TL , T U と比較して、 TL ≦T3(T4)≦ TU
ならば左端センサ8a或いは右端センサ9aの故障、T3(T4)
< TL 或いはT3(T4)> TU ならば印字ヘッド2aの駆動系
の故障と判定する。また左端センサ8aも故障して所定時
間 TU を越えても検出されない時は、測定を停止し、時
間測定不能(左端センサ8aと右端センサ9aの両方とも故
障) と判定する。
The determination unit 20a is a program determines the cause of the failure, first, by comparing the moving time of the printing head 2a by left sensor 8a or the right end sensor 9a T 1, T 2 a predetermined time T L, and T U , the presence or absence of abnormality (T L ≦ T 1 ≦ T U, T L ≦ T 2 ≦ T U
If normal, T 1 <T L or T 1 > T U , T 2 <T L or T 2
> T U ), and when it is determined to be abnormal, the print head is further moved in the opposite direction to determine whether the left end sensor 8a or the right end sensor 9a has failed or the drive system of the print head 2a has failed. Travel time T 3 (T 4 ) measured by moving 2a
Is compared with predetermined times T L , T U, and T L ≦ T 3 (T 4 ) ≦ T U
If so, failure of the left end sensor 8a or the right end sensor 9a, T 3 (T 4 )
<T L or T 3 (T 4)> T U if determined that the failure of the drive system of the printing head 2a. Also when the left sensor 8a not detected even beyond failed for a predetermined time T U determines that stops the measurement, time measurement impossible (failure both left sensor 8a and the right end sensor 9a).

【0020】インタフェース回路13は、図示省略した上
位装置からの印字データの受信、及び印字結果を送信す
る。センサ検出回路14は、左端センサ8a及び右端センサ
9aの検出信号をCPU10へ送信する。
The interface circuit 13 receives print data from a higher-level device (not shown) and transmits a print result. The sensor detection circuit 14 includes a left end sensor 8a and a right end sensor
The detection signal of 9a is transmitted to the CPU 10.

【0021】タイマー15は、印字ヘッド2aが行印字移動
を開始してから左端センサ8a或いは右端センサ9aによっ
て検出されるまでの移動時間T1,T2(異常ありの時には
T3,T4)を測定する。
The timer 15 has movement times T 1 , T 2 from when the print head 2a starts line printing movement to when it is detected by the left end sensor 8a or the right end sensor 9a (when there is an abnormality,
T 3 and T 4 ) are measured.

【0022】このような構成及び機能を有するので、次
に図3及び図4のフローチャートにより作用を説明す
る。左端センサ8a及び右端センサ9aが故障していない通
常の制御は従来例で説明した図8のタイムチャートのご
とく制御し、左端センサ8a及び右端センサ9aが故障した
時は図5のタイムチャートのごとく制御する。なお、図
5は右端センサ9aが故障した時を例としている。
Having such a configuration and function, the operation will be described next with reference to the flowcharts of FIGS. Normal control in which the left end sensor 8a and the right end sensor 9a are not out of order is controlled as shown in the time chart of FIG. 8 described in the conventional example, and when the left end sensor 8a and the right end sensor 9a are out of order, as shown in the time chart of FIG. Control. FIG. 5 shows an example when the right end sensor 9a is out of order.

【0023】(1) まず、図示省略した上位装置からイン
タフェース回路13に印字データを受信すると、印字デー
タはRAM12の印字データ領域18に一時格納され、直ち
に読み出されて、印字ヘッド2aが左端にある時は、正方
向のSモータ信号をONして移動を開始すると同時にタ
イマー15を起動させて時間測定を開始する。印字ヘッド
2aが右端にある時は、逆方向Sモータ信号をONする。
(1) First, when print data is received from the host device (not shown) to the interface circuit 13, the print data is temporarily stored in the print data area 18 of the RAM 12, immediately read out, and the print head 2a is moved to the left end. At a certain time, the timer 15 is started at the same time as the movement is started by turning on the S motor signal in the positive direction, and the time measurement is started. Print head
When 2a is at the right end, the reverse S motor signal is turned ON.

【0024】(2) 印字ヘッド2aが移動を開始すると、印
字データ領域18から読み出された印字データに基づいて
印字が行われる。正方向印字の時に印字ヘッド2aが右端
センサ9a(逆方向印字の時は左端センサ8a)に到達する
と、検出信号に基づいてSモータ信号をOFFにして印
字ヘッド2aの移動を停止すると共に、タイマー15の時間
測定を停止し、測定した移動時間T1が判定部20aに送ら
れる。判定部20aは時間設定領域19から所定時間 TL ,T
U を読み出して、移動時間T1と所定時間 TL ,TU を比較
(TL ≦T1≦ TU か、T1< TL 或いはT1> TU か) する。
(2) When the print head 2a starts moving, printing is performed based on the print data read from the print data area 18. When the print head 2a reaches the right end sensor 9a during forward printing and the left end sensor 8a during reverse printing, the S motor signal is turned off based on the detection signal, and the movement of the print head 2a is stopped. stop time measurement 15, the movement time T 1 is sent to the judging section 20a measured. The determination unit 20a determines the predetermined time T L , T from the time setting area 19.
It reads the U, comparing the movement time T 1 and the predetermined time T L, T U
(Or T L ≦ T 1 ≦ T U , T 1 <T L or T 1> T U or) to.

【0025】(3)TL ≦T1≦ TU であれば、右端センサ9a
の故障や印字ヘッド2aの駆動系に故障はないと判定す
る。 (4) T1< TL 或いはT1> TU であれば、異常ありと判定
して(11)のフローが行われる。
[0025] (3) If T L ≦ T 1 ≦ T U , the right end sensor 9a
It is determined that there is no failure in the print head 2a or the drive system of the print head 2a. (4) If T 1 <T L or T 1> T U, the flow of the abnormality determination to the (11) is performed.

【0026】(5) 故障なしの判定で、次の行の印字デー
タがあれば、(1) のフローで逆方向印字のSモータ信号
をONにすると同時にタイマー15を起動させて時間測定
を開始する。
(5) If it is determined that there is no failure and there is print data of the next line, the timer 15 is started at the same time as turning on the S-motor signal for reverse printing in the flow of (1) to start time measurement. I do.

【0027】(6) 印字データに基づいて逆方向印字が行
われ、印字ヘッド2aが左端センサ8aに到達すると、検出
信号に基づいてSモータ信号をOFFにして印字ヘッド
2aの移動を停止すると共に、タイマー15の時間測定を停
止し、測定した移動時間T2が判定部20aに送られる。判
定部20aは時間設定領域19から所定時間 TL, TU を読み
出して、移動時間T2と所定時間 TL, TU を比較(TL ≦T2
≦ TU か、T2< TL 或いはT2> TU か) する。
(6) When reverse printing is performed based on the print data and the print head 2a reaches the left end sensor 8a, the S motor signal is turned off based on the detection signal, and the print head
2a stops the movement of the stops time measurement of the timer 15, the movement time T 2 is sent to the judging section 20a measured. Predetermined time from the determination unit 20a is the time setting area 19 T L, reads T U, comparing the movement time T 2 and a predetermined time T L, T U (T L ≦ T 2
Do ≦ T U, T 2 or <T L or T 2> T U) is.

【0028】(7)TL ≦T2≦ TU であれば、判定部20aは
左端センサ8aの故障や印字ヘッド2aの駆動系に故障はな
いと判定する。 (8) T2< TL 或いはT2> TU であれば、異常ありと判定
して(18)のフローが行われる。
[0028] (7) If T L ≦ T 2 ≦ T U , the determination unit 20a determines that there is no fault in the drive system of the failure or the print head 2a of the left sensor 8a. (8) If T 2 <T L or T 2> T U, the flow of the abnormality determination to the (18) is performed.

【0029】(9) 故障なしの判定で、次の行の印字デー
タがあれば、(1) の正方向のSモータ信号ON以降のフ
ローが行われる。(図8参照) (10)異常なしの状態ですべての印字データの印字が済め
ば正常終了となる。
(9) If it is determined that there is no failure and there is print data for the next line, the flow following the (1) S motor signal ON in the positive direction is performed. (Refer to FIG. 8) (10) If all the print data is printed without any abnormality, the process ends normally.

【0030】(11)上記の(4) で異常ありと判定される
と、図5に示すように、逆方向のSモータ信号をONす
ると同時にタイマー15を起動させて時間測定を開始す
る。この時、印字ヘッド2aを移動するだけで印字はしな
い。
(11) If it is determined in the above (4) that there is an abnormality, as shown in FIG. 5, the S-motor signal in the reverse direction is turned ON, and at the same time, the timer 15 is started to start time measurement. At this time, printing is not performed only by moving the print head 2a.

【0031】(12)印字ヘッド2aが左端センサ8aに到達す
ると、検出信号に基づいてSモータ信号をOFFにして
印字ヘッド2aの移動を停止すると共に、タイマー15の時
間測定を停止し、測定した移動時間T3が判定部20aに送
られる。判定部20aは時間設定領域19から所定時間
TL ,TU を読み出して、移動時間T3と所定時間 TL ,TU
を比較(TL ≦T3≦ TU か、 TL >T3或いはT3> TU か)
する。なお、頻度は少ないが左端センサ8aも故障して検
出されない場合は、タイマー15の時間測定が異常に長く
なるので、所定時間 TU を越えた時点で測定を停止し、
判定部20aは時間測定不能(左端センサ8aと右端センサ
9aの両方とも故障) と判定し、(17)と同様の処置をと
る。
(12) When the print head 2a reaches the left end sensor 8a, the S-motor signal is turned off based on the detection signal to stop the movement of the print head 2a, stop the timer 15 from measuring the time, and perform the measurement. moving time T 3 is sent to the determination section 20a. The determination unit 20a determines the predetermined time from the time setting area 19.
T L, reads T U, the movement time T 3 and the predetermined time T L, T U
(T L ≤ T 3 ≤ T U , T L > T 3 or T 3 > T U )
I do. Incidentally, the frequency if less is not detected a failure also left sensor 8a, since time measurement of the timer 15 becomes abnormally long, measurement stops when it exceeds a predetermined time T U,
The determination unit 20a cannot measure the time (the left end sensor 8a and the right end sensor
9a), and take the same action as (17).

【0032】(13)比較した結果、 TL ≦T3≦ TU であれ
ば、判定部20aは右端センサ9aが故障と判定する。 (14)更に次の行の印字データがあれば、印字のために正
方向にSモータ信号をONすると同時にタイマー15を起
動させて時間測定を開始する。全印字データの印字が完
了していれば正常終了とする。
[0032] (13) result of comparison, if T L ≦ T 3 ≦ T U , the determination unit 20a determines the right end sensor 9a is a failure. (14) If there is print data of the next line, the S motor signal is turned on in the forward direction for printing, and at the same time, the timer 15 is started to start time measurement. If the printing of all print data has been completed, the process ends normally.

【0033】(15)一行の印字が行われて、所定時間 TU
を経過するとSモータ信号をOFFすると同時にタイマ
ー15の測定を停止する。 (16)次に印字された一行の文字のドット間隔が正しいこ
とを確認するために、前記(11)〜のフローが行われる。
(15) One line is printed, and a predetermined time T U
, The S motor signal is turned off, and at the same time, the measurement by the timer 15 is stopped. (16) The following steps (11) to (11) are performed in order to confirm that the dot interval of one line of printed characters is correct.

【0034】(17)もし、上記(12)における比較でT3< T
L 或いはT3> TU であれば、印字ヘッド2aの駆動系の故
障と判定し、プリンタの動作を停止し、取引を打ち切
る。 (18)また上記(8) で異常ありと判定されると、正方向の
Sモータ信号をONすると同時にタイマー15を起動させ
て時間測定を開始する。
(17) If T 3 <T
If L or T 3> T U, determines that failure of the drive system of the printing head 2a, the operation of the printer was stopped and aborted transactions. (18) If it is determined in the above (8) that there is an abnormality, the timer 15 is started at the same time when the S motor signal in the forward direction is turned ON to start time measurement.

【0035】(19)印字ヘッド2aが右端センサ9aに到達す
ると、検出信号に基づいてSモータ信号をOFFにして
印字ヘッド2aの移動を停止すると共に、タイマー15の時
間測定を停止し、測定した移動時間T4が判定部20aに送
られる。判定部20aは時間設定領域19から所定時間
TL ,TU を読み出して、移動時間T4と所定時間 TL ,TU
を比較(TL ≦T4≦ TU か、T4< TL 或いはT4> TU か)
する。
(19) When the print head 2a reaches the right end sensor 9a, the S-motor signal is turned off based on the detection signal to stop the movement of the print head 2a, stop the timer 15 from measuring the time, and perform the measurement. moving time T 4 is sent to the determination section 20a. The determination unit 20a determines the predetermined time from the time setting area 19.
T L, reads T U, the movement time T 4 and the predetermined time T L, T U
(T L ≤ T 4 ≤ T U or T 4 <T L or T 4 > T U )
I do.

【0036】(20) TL ≦T4≦ TU であれば、判定部20a
は左端センサ8aが故障と判定する。 (21)更に次の行の印字データがあれば、逆方向のSモー
タ信号をONすると同時にタイマー15を起動させて時間
測定を開始する。全印字データの印字が完了していれば
正常終了とする。
[0036] (20) If T L ≦ T 4 ≦ T U , the determination unit 20a
Determines that the left end sensor 8a has failed. (21) If there is print data of the next line, the S-motor signal in the reverse direction is turned ON, and at the same time, the timer 15 is started to start time measurement. If the printing of all print data has been completed, the process ends normally.

【0037】(22)一行の印字が行われて、所定時間 TU
を経過するとSモータ信号をOFFすると同時にタイマ
ー15の測定を停止する。 (23)次に印字された一行の文字のドット間隔が正しいこ
とを確認するために、前記(18)〜のフローが行われる。
(22) One line is printed, and a predetermined time T U
, The S motor signal is turned off, and at the same time, the measurement by the timer 15 is stopped. (23) The flow of (18) to (18) above is performed to confirm that the dot interval of one line of printed characters is correct.

【0038】(24)もし、上記(19)における比較で T4
TL 或いはT4> TU であれば、印字ヘッド2aの駆動系の
故障と判定し、プリンタの動作を停止し、取引を打ち切
る。このようにして、正/逆方向の行印字の移動時間T
1, T2が所定時間 TL, TU の範囲内になければ、左端セ
ンサ8a、右端センサ9aの故障か、印字ヘッド2aの駆動系
の故障かを判定するために、反対方向に印字ヘッド2aを
移動して逆/正方向の移動時間T3, T4を測定し、所定時
間 TL, TU の範囲内にあれば、左端センサ8aか右端セン
サ9aの故障と判定する。また移動時間T3, T4が所定時間
TL, TU の範囲を越えた時(TL より小、或いは TU より
大) には、印字ヘッド2aの駆動系の故障と判定する。
(24) If T 4 <
If T L or T 4 > T U , it is determined that the drive system of the print head 2a has failed, the operation of the printer is stopped, and the transaction is terminated. In this way, the forward / backward line printing travel time T
If 1, T 2 is not within the range of the predetermined time T L, T U, left sensor 8a, or failure of the right end sensor 9a, in order to determine a failure of the drive system of the printing head 2a, the printing in the opposite direction the head reverse / forward direction of the movement time T 3, T 4 was measured by moving the 2a, the predetermined time T L, if within the range of T U, determines that the failure of the left end sensor 8a or the right end sensor 9a. The moving time T 3, T 4 a predetermined time
T L, the time beyond the range of T U (less than T L, or greater than T U), determines that the failure of the drive system of the printing head 2a.

【0039】更に、左端センサ8a或いは右端センサ9aの
故障と判定した時は、そのセンサを起点とする行印字を
休止して、一方向印字に切り換えて印字を継続すること
ができる。
Further, when it is determined that the left end sensor 8a or the right end sensor 9a has failed, the line printing starting from the sensor can be stopped, and the printing can be switched to one-way printing to continue printing.

【0040】従って左端センサ8a或いは右端センサ9aの
故障という軽微な障害の時には、通帳7aに対する印字が
継続できるので、装置を停止することなく取引を続ける
ことができる。
Therefore, in the case of a minor failure such as a failure of the left end sensor 8a or the right end sensor 9a, printing on the passbook 7a can be continued, so that transactions can be continued without stopping the apparatus.

【0041】[0041]

【発明の効果】以上説明したように本発明によれば、印
字ヘッドの行印字動作に異常があった時に、印字ヘッド
を一行印字移動した時の右端及び左端を検出する第1の
検出手段及び第2の検出手段のいずれか一方だけの故障
であるか否かを判定する判定手段を設けることにより、
第1の検出手段及び第2の検出手段の両方の故障か、或
いは印字ヘッドの駆動系の故障かを判定することができ
て、対応すべき処置が明確になり、また判定手段の判定
結果が第1の検出手段及び第2の検出手段のいずれか一
方だけの故障であった時は、印字ヘッドの行印字動作を
一方向印字に切り換えて印字を継続することにより、軽
微な故障の場合にプリンタを停止することなく印字を続
けることができるという効果がある。
As described above, according to the present invention, when there is an abnormality in the line printing operation of the print head, the first detecting means for detecting the right end and the left end when the print head is moved by one line printing, By providing a determination means for determining whether or not the failure is only one of the second detection means,
It is possible to determine whether both the first detecting means and the second detecting means have failed, or whether the drive system of the print head has failed. If only one of the first detecting means and the second detecting means has failed, the line printing operation of the print head is switched to one-way printing to continue printing, so that in the case of a minor failure, There is an effect that printing can be continued without stopping the printer.

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

【図1】 本発明の原理構成図FIG. 1 is a diagram showing the principle configuration of the present invention.

【図2】 本発明の実施例を示すブロック図FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】 実施例のフローチャート(その1)FIG. 3 is a flowchart (part 1) of an embodiment.

【図4】 実施例のフローチャート(その2)FIG. 4 is a flowchart of an embodiment (part 2).

【図5】 右端センサが故障した時の印字制御のタイム
チャート
FIG. 5 is a time chart of printing control when the right end sensor fails.

【図6】 本発明が適用されるワイヤードットプリンタ
の斜視図
FIG. 6 is a perspective view of a wire dot printer to which the present invention is applied.

【図7】 印字行の左右端検出方法を示す説明図FIG. 7 is an explanatory diagram showing a method for detecting the left and right edges of a print line.

【図8】 通常印字時の印字制御のタイムチャートFIG. 8 is a time chart of print control during normal printing.

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

2,2a は印字ヘッド、 7は印字媒体、 7a
は通帳、8は第1の検出手段、 8aは左端センサ、
9は第2の検出手段、11はROM、
12はRAM、 15はタイマー、20は判定手
段、 20aは判定部、
2,2a is the print head, 7 is the print medium, 7a
Is a passbook, 8 is a first detecting means, 8a is a left end sensor,
9 is a second detection means, 11 is a ROM,
12 is a RAM, 15 is a timer, 20 is a judgment means, 20a is a judgment unit,

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印字媒体(7) の送り方向に対して直交方
向に印字ヘッド(2)を移動して該印字媒体(7) に正逆方
向に行印字し、該印字ヘッド(2) を一行印字移動した時
の右端及び左端を検出する第1の検出手段(8)及び第2
の検出手段(9) を有し、該第1の検出手段(8) 及び第2
の検出手段(9) による検出出力に基づいて、行印字動作
の正否を判定するプリンタであって、 前記印字ヘッド(2) の行印字動作に異常があった時に、
前記第1の検出手段(8) 及び前記第2の検出手段(9) の
いずれか一方だけの故障であるか否かを判定する判定手
段(20)を設け、 該判定手段(20)の判定結果が該第1の検出手段(8) 及び
該第2の検出手段(9)のいずれか一方だけの故障であっ
た時は、該印字ヘッド(2) の行印字動作を一方向印字に
切り換えて印字を継続することを特徴とするプリンタ。
1. A printing head (2) is moved in a direction orthogonal to a feeding direction of a printing medium (7) to perform line printing on the printing medium (7) in forward and reverse directions, and the printing head (2) is moved. A first detecting means (8) for detecting the right end and the left end when one line is printed and moved;
The first detecting means (8) and the second detecting means (9).
A printer that determines the correctness of the line printing operation based on the detection output by the detecting means (9), wherein when there is an abnormality in the line printing operation of the print head (2),
Determining means (20) for determining whether only one of the first detecting means (8) and the second detecting means (9) is faulty; If the result is a failure of only one of the first detecting means (8) and the second detecting means (9), the line printing operation of the print head (2) is switched to one-way printing. A printer that continues printing.
JP6577093A 1993-03-25 1993-03-25 Printer Expired - Fee Related JP2894146B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6577093A JP2894146B2 (en) 1993-03-25 1993-03-25 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6577093A JP2894146B2 (en) 1993-03-25 1993-03-25 Printer

Publications (2)

Publication Number Publication Date
JPH06270490A JPH06270490A (en) 1994-09-27
JP2894146B2 true JP2894146B2 (en) 1999-05-24

Family

ID=13296599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6577093A Expired - Fee Related JP2894146B2 (en) 1993-03-25 1993-03-25 Printer

Country Status (1)

Country Link
JP (1) JP2894146B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4611050B2 (en) * 2005-02-09 2011-01-12 オリンパス株式会社 Image recording apparatus and image recording method of the image recording apparatus
JP6083366B2 (en) * 2013-09-30 2017-02-22 ブラザー工業株式会社 Carriage moving device

Also Published As

Publication number Publication date
JPH06270490A (en) 1994-09-27

Similar Documents

Publication Publication Date Title
US5890708A (en) Printing system and method automatically detecting paper length and control method thereof
US6101426A (en) Sheet feeding device and correction method of sheet feed amount in the sheet feeding device
JP2544795B2 (en) Printer
US7681974B2 (en) Recording apparatus and method
US5738457A (en) Paper size determining method and printer in which the method is used
JP2894146B2 (en) Printer
US4688956A (en) Carriage feed control method for bold and shadow printing
US5299873A (en) Carriage position control circuit for a serial printer
JP3149174B2 (en) Printer
US6017160A (en) Printer sheet feed device having controller
EP0341671B1 (en) Bidirectional printing device
US5087134A (en) Method of and device for printer control
JPH0422668A (en) Printer fitted with paper width detector
JPH01214555A (en) Medium carrying mechanism
US11220122B2 (en) Image recording apparatus
JP2954189B1 (en) Paper feed detection mechanism of thermal printer
JP2690759B2 (en) Recording device
KR0147577B1 (en) Printer
JP3288444B2 (en) Paper end detection device
JP2972734B1 (en) Printer with print correction printhead
JPH05138999A (en) Sheet skew detection of printing device
JPH05131729A (en) Serial printer
JPH10157232A (en) Printer
JP2786850B2 (en) Recording device
JP4591646B2 (en) Printer control device

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: 19990202

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

Free format text: PAYMENT UNTIL: 20080305

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090305

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100305

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100305

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110305

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees