JPH0958083A - Printing device and controlling method thereof - Google Patents

Printing device and controlling method thereof

Info

Publication number
JPH0958083A
JPH0958083A JP7213839A JP21383995A JPH0958083A JP H0958083 A JPH0958083 A JP H0958083A JP 7213839 A JP7213839 A JP 7213839A JP 21383995 A JP21383995 A JP 21383995A JP H0958083 A JPH0958083 A JP H0958083A
Authority
JP
Japan
Prior art keywords
print head
movement
printing
area
print
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
JP7213839A
Other languages
Japanese (ja)
Inventor
Yushi Kawaguchi
雄史 川口
Mitsuaki Terahira
光明 寺平
Kazuhisa Ariga
和寿 有賀
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP7213839A priority Critical patent/JPH0958083A/en
Priority to SG1996010455A priority patent/SG72701A1/en
Priority to DE1996605494 priority patent/DE69605494T2/en
Priority to EP19960113336 priority patent/EP0759363B1/en
Publication of JPH0958083A publication Critical patent/JPH0958083A/en
Priority to US08/978,850 priority patent/US6000865A/en
Priority to HK98115564A priority patent/HK1014248A1/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J19/00Character- or line-spacing mechanisms
    • B41J19/18Character-spacing or back-spacing mechanisms; Carriage return or release devices therefor
    • B41J19/20Positive-feed character-spacing mechanisms
    • B41J19/202Drive control means for carriage movement
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent printing operation from being started when normal printing is impossible by moving a printing head in the whole range of a printable area and detecting abnormality during movement of the printing head in initialization operation for detecting the absolute position in the printable area of the printing head. SOLUTION: When initialization operation is started, it is examined whether or not a home position detector generates a detection signal. When the detection signal is not generated, a printing head is moved in the left direction of a body by one step and this procedure (ST1-3) is repeated until the detection signal is generated. When the detection signal is generated, it is examined whether or not a step-out detector detects step-out. When step-out is detected, the function of a printing device is stopped (ST4-5). When step-out is not detected, the printing head is moved in the right direction by one step and the number of a driving step is examined. It is judged whether or not the printing head is positioned in the moving position of the rightmost end. When the printing head is not reached the moving position of the rightmost end, movement of the printing head is repeated (ST4-7). When the printing head reaches the moving position of the rightmost end, initialization operation is normally finished (ST8).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ドットインパクト
印刷装置に関するもので、特にPOS/ECRなどに代
表される金銭を扱うシステムに最適な印刷装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dot impact printing apparatus, and more particularly to a printing apparatus most suitable for a money handling system represented by POS / ECR.

【0002】[0002]

【従来の技術】ドットインパクト印刷装置では、印刷ヘ
ッドの初期化動作として、印刷ヘッドの初期位置を検出
するために、印刷ヘッド位置検出器が作動するまで印刷
ヘッドを移動する。この移動は、初期化動作直前の印刷
ヘッドの位置から、印刷ヘッド位置検出器に向かって行
われ、所定量の移動を行った(正確にはこれに相当する
分だけモータを駆動した)にもかかわらず位置検出が行
われなかった場合には、印刷ヘッドの初期化に失敗した
と判断して所定の異常時の処理を行う。
2. Description of the Related Art In a dot impact printing apparatus, as a print head initialization operation, the print head is moved until a print head position detector operates in order to detect the initial position of the print head. This movement is performed from the position of the print head immediately before the initialization operation toward the print head position detector, and a predetermined amount of movement is performed (more precisely, the motor is driven by an amount equivalent to this). If the position detection is not performed regardless of the above, it is determined that the initialization of the print head has failed, and a predetermined abnormality process is performed.

【0003】[0003]

【発明が解決しようとする課題】ドットインパクト印刷
装置は、様々な情報処理装置の出力端末として利用され
ている。特にPOS/ECRに代表される金銭を扱うシ
ステムに利用されることが多い。金銭を扱う上で印刷結
果が非常に重要であり、常に印刷結果が正確であり確実
であることが要求される。また、上記の情報処理装置お
よびそれらに付属する印刷装置は、様々な習熟度を有す
るオペレータにより操作される可能性があり、誰が操作
しても確実に印刷が実行されるとともに、印刷装置に関
しては、印刷動作不良が起こらないことが必要である。
The dot impact printing apparatus is used as an output terminal of various information processing apparatuses. In particular, it is often used in a money handling system represented by POS / ECR. The print result is very important for handling money, and it is always required that the print result is accurate and reliable. Further, the above-mentioned information processing devices and the printing devices attached to them may be operated by operators having various proficiency levels, and no matter who operates the printing, printing is surely executed. It is necessary that printing malfunction does not occur.

【0004】ドットインパクト印刷装置に関しては、印
刷ヘッドの初期化動作を行い、印刷ヘッドを初期化動作
直前の印刷ヘッドの位置から印刷ヘッド位置検出器が作
動するまで移動させることで、印刷ヘッドの位置を検出
し、把握している。
With respect to the dot impact printing apparatus, the print head initialization operation is performed, and the print head position is moved by moving the print head from the position of the print head immediately before the initialization operation until the print head position detector operates. Detect and know.

【0005】しかし、上記の初期化動作では、印刷ヘッ
ドの位置を検出するだけであり、印刷用紙および印刷ヘ
ッドの移動可能な全領域での異常状態を検出することが
できない。即ち、初期化動作が終了した時点で、印刷ヘ
ッドが通過していない部分において、印刷用紙、または
印刷ヘッドの移動に関して何らかの異常が発生してお
り、正常な印刷が不可能であるにもかかわらず、そのま
ま印刷動作を実行する可能性がある。従って、正常な印
刷が不可能であるにもかかわらず、印刷装置が印刷動作
を開始してしまうことにより、印刷装置が情報処理装置
から受信した印刷データは失われてしまうことになり、
特に金銭を扱うPOS/ECRシステムにおいては、重
大な欠陥となりうる。
However, in the above initialization operation, only the position of the print head is detected, and it is not possible to detect an abnormal state in all movable areas of the print paper and the print head. That is, at the time when the initialization operation ends, some abnormality occurs in the print sheet or the movement of the print head in the portion where the print head does not pass, and normal printing is impossible. , There is a possibility that the printing operation will be executed as it is. Therefore, even though normal printing is impossible, the printing apparatus starts the printing operation, and thus the printing data received by the printing apparatus from the information processing apparatus is lost.
Especially, in a POS / ECR system that handles money, it can be a serious defect.

【0006】[0006]

【課題を解決するための手段】上記の課題を解決するた
め、本願の印刷装置は、印刷可能な領域を移動しながら
印刷を行う印刷ヘッドと、この印刷ヘッドの印刷可能領
域における絶対位置を検出する位置検出手段と、印刷ヘ
ッドを移動せしめるヘッド移動制御手段と、印刷ヘッド
の移動が印刷ヘッド移動制御手段の移動信号に対応して
いないことを検出する印刷ヘッド移動異常検出手段とを
有し、印刷ヘッド移動制御手段によって、印刷ヘッドの
印刷可能領域における絶対位置を検出する初期化動作に
おいて、当該領域の全範囲に渡って印刷ヘッドを移動さ
せるとともに、印刷ヘッド移動異常検出手段によって当
該移動中の異常を検出することを特徴とする。
In order to solve the above problems, a printing apparatus of the present application detects a print head that performs printing while moving a printable area and an absolute position of the print head in the printable area. Position detection means, a head movement control means for moving the print head, and a print head movement abnormality detection means for detecting that the movement of the print head does not correspond to the movement signal of the print head movement control means, In the initialization operation of detecting the absolute position of the print head in the printable area by the print head movement control means, the print head is moved over the entire range of the area, and the print head movement abnormality detection means detects that the print head is moving. It is characterized by detecting an abnormality.

【0007】この場合において、他の装置からの印刷デ
ータを格納する印刷データ格納手段と、該印刷データ格
納手段に格納された印刷データを読み出すとともに、印
刷ヘッドを用いて印刷する印刷制御手段とを更に有し、
該印刷制御手段は印刷データの読み出しの後に、当該印
刷データを印刷データ格納手段から消去する場合に特に
有効である。
In this case, a print data storage means for storing print data from another device and a print control means for reading the print data stored in the print data storage means and for printing using the print head are provided. Have more,
The print control means is particularly effective in deleting the print data from the print data storage means after reading the print data.

【0008】また、本発明は印刷装置の制御方法として
も有効である。即ち、印刷可能な領域を移動しながら印
刷を行う印刷ヘッドと、印刷ヘッドの印刷可能領域にお
ける絶対位置を検出する位置検出手段と、印刷ヘッドを
移動せしめる印刷ヘッド移動制御手段と、印刷ヘッドの
移動が印刷ヘッド移動制御手段の移動信号に対応してい
ないことを検出する印刷ヘッド移動異常検出手段とを有
する印刷装置の制御方法であって、印刷ヘッドの当該領
域における絶対位置を検出する初期化動作において、当
該領域の全範囲に渡って印刷ヘッドを移動させる全領域
移動工程と、印刷ヘッド移動異常検出手段によって全領
域移動工程における移動の異常を検出する全領域異常検
出工程とを有することを特徴とする。
The present invention is also effective as a control method for a printing apparatus. That is, a print head that performs printing while moving in the printable area, position detection means that detects the absolute position of the print head in the printable area, print head movement control means that moves the print head, and movement of the print head. And a print head movement abnormality detecting means for detecting that the print head movement control means does not correspond to the movement signal of the print head movement control means, and an initialization operation for detecting an absolute position of the print head in the area. In the above, a total area moving step of moving the print head over the entire range of the area and a full area abnormality detecting step of detecting an abnormality in movement in the full area moving step by the print head movement abnormality detecting means are provided. And

【0009】この場合において、全領域移動工程は、印
刷ヘッドの印刷可能領域における絶対位置を検出する絶
対位置検出工程と、絶対位置を基点として、当該領域の
全範囲の内、少なくとも絶対位置検出工程において移動
の行われなかった範囲に渡って印刷ヘッドを移動させる
補完移動工程とを有してなるようにしてもよい。
In this case, the entire area moving step includes an absolute position detecting step of detecting an absolute position of the print head in the printable area, and at least an absolute position detecting step of the entire range of the area based on the absolute position. In the above step, a complementary moving step of moving the print head over the range where the movement is not performed may be included.

【0010】また、これらの制御方法において、全領域
移動工程における移動は所定量の移動単位の集合によっ
て構成され、全領域異常検出工程における移動異常の検
出は、移動単位毎に行われることが望ましい
Further, in these control methods, the movement in the whole area moving step is composed of a set of movement units of a predetermined amount, and the movement abnormality detection in the whole area abnormality detecting step is preferably performed for each movement unit.

【0011】[0011]

【作用】以上のように、印刷ヘッドの初期化動作の中で
印刷ヘッドを印刷可能な全印刷領域を移動させることに
より、印刷ヘッド移動中の異常状態検出器による異常状
態の検出を行う。上記の初期化動作手段を採用すること
により、印刷動作を開始する以前に全印刷領域の異常状
態を検出する印刷装置を提供する。
As described above, by moving the entire print area where the print head can print during the initialization operation of the print head, the abnormal state detector during the movement of the print head detects the abnormal state. By adopting the above initialization operation means, a printing apparatus is provided which detects an abnormal state of the entire printing area before starting the printing operation.

【0012】[0012]

【発明の実施の形態】以下に図面を参照して本発明の実
施の形態を説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1に、本発明の実施形態に係わる印刷装
置において、特に印刷動作に係わる一部分の概要を示し
てある。本例の印刷装置は、レシート紙2とジャーナル
紙4を並列に収納している。また、レシート紙2および
ジャーナル紙4の収納された端に対し、ボディー1の反
対側に、キャリッジガイド軸6に沿ってレシート紙2お
よびジャーナル紙4を横断する方向に移動する印刷ヘッ
ドユニット15を備えている。前記印刷ヘッドユニット
15は印刷ヘッド3と印刷ヘッド3を搭載したキャリッ
ジ14から構成されている。キャリッジ14はキャリッ
ジガイド軸6に支持され、レシートル紙2およびジャー
ナル紙4に近い側のキャリッジベルト13の一部と、キ
ャリッジ14の下部の一部で固定されている。キャリッ
ジベルト13が回転することに伴い、印刷ヘッドユニッ
ト15はキャリッジベルト13と固定された部分と同方
向に、キャリッジガイド軸6と平行に移動する。キャリ
ッジベルト13は、ボディー1の左端に配置されたキャ
リッジベルトプーリ17と、ボディー1の右端に配置さ
れたキャリッジベルト駆動歯車8により支持されてお
り、キャリッジベルト駆動歯車8が回転すると共にキャ
リッジベルト13も左右に長い楕円形をなして回転す
る。
FIG. 1 shows an outline of part of the printing apparatus according to the embodiment of the present invention, which is particularly related to a printing operation. The printing apparatus of this example stores receipt paper 2 and journal paper 4 in parallel. Further, a print head unit 15 that moves in a direction traversing the receipt paper 2 and the journal paper 4 along the carriage guide shaft 6 is provided on the opposite side of the body 1 with respect to the stored ends of the receipt paper 2 and the journal paper 4. I have it. The print head unit 15 includes a print head 3 and a carriage 14 on which the print head 3 is mounted. The carriage 14 is supported by the carriage guide shaft 6, and is fixed by a part of the carriage belt 13 on the side closer to the receipt paper 2 and the journal paper 4 and a part of the lower part of the carriage 14. As the carriage belt 13 rotates, the print head unit 15 moves in the same direction as the portion fixed to the carriage belt 13 and parallel to the carriage guide shaft 6. The carriage belt 13 is supported by a carriage belt pulley 17 arranged at the left end of the body 1 and a carriage belt drive gear 8 arranged at the right end of the body 1, and the carriage belt drive gear 8 rotates and the carriage belt 13 rotates. Also forms a long ellipse to the left and right and rotates.

【0014】キャリッジベルト駆動歯車8は、ステッピ
ングモータ歯車9に接触しており、ステッピングモータ
歯車9が回転すると共に、ステッピングモータ歯車9の
回転方向と反対方向に回転する。ステッピングモータ歯
車9はステッピングモータ回転軸7に直結しており、不
図示のステッピングモータ制御回路により不図示のステ
ッピングモータを回転させると共に、ステッピングモー
タの回転方向と同方向に回転する。
The carriage belt drive gear 8 is in contact with the stepping motor gear 9, and the stepping motor gear 9 rotates and rotates in the direction opposite to the rotation direction of the stepping motor gear 9. The stepping motor gear 9 is directly connected to the stepping motor rotation shaft 7, and rotates a stepping motor (not shown) by a stepping motor control circuit (not shown) and rotates in the same direction as the rotation direction of the stepping motor.

【0015】また、ステッピングモータ歯車9は、伝導
歯車10にも接触しており、ステッピングモータ歯車9
が回転すると共に、ステッピングモータ歯車9の回転方
向と反対方向に回転する。伝導歯車10は星型歯車11
に接触しており、伝導歯車10が回転すると共に伝導歯
車10の回転方向と反対方向に回転する。星形歯車11
は、6枚の羽状の板が均等に形成されており、この羽状
の板が脱調検出器12に検出される位置に配置されてい
る。
The stepping motor gear 9 is also in contact with the transmission gear 10, and the stepping motor gear 9
Rotates in the opposite direction to the rotation direction of the stepping motor gear 9. The transmission gear 10 is a star gear 11
, And the transmission gear 10 rotates and rotates in the opposite direction to the rotation direction of the transmission gear 10. Star gear 11
Has six wing-shaped plates uniformly formed, and the wing-shaped plates are arranged at positions where the out-of-step detector 12 detects them.

【0016】脱調検出器12にはフォトセンサが内蔵さ
れており、フォトセンサの検出部を星形歯車11の羽状
の板が通過することでパルス信号を発生し、このパルス
信号を脱調検出信号として利用している。不図示である
本例の印刷装置の制御部は、脱調検出器12が発生した
パルス信号の回数により、印刷ヘッドユニット15が正
常な移動を実行していることを確認している。
The step-out detector 12 has a built-in photo sensor. When the wing-shaped plate of the star gear 11 passes through the detection part of the photo sensor, a pulse signal is generated, and this pulse signal is step-out. It is used as a detection signal. The control unit of the printing apparatus (not shown) of the present example confirms that the print head unit 15 is performing a normal movement based on the number of pulse signals generated by the step-out detector 12.

【0017】ボディー1の左端にはホームポジション検
出器16が配置されている。ホームポジション検出器1
6はフォトセンサを内蔵しており、印刷ヘッドユニット
15がボディー1の左方向へ移動し、キャリッジ14の
一部がフォトセンサの検出部を通過することでホームポ
ジション検出信号を発生する。ホームポジション検出器
16がホームポジション検出信号を発生した時点で、不
図示のステッピングモータ制御回路は不図示のステッピ
ングモータの回転を停止し、印刷ヘッドユニット15の
移動も停止する。そして、印刷ヘッドユニット15が停
止した位置を基準として、ステッピングモータの回転ス
テップ数を0に設定する。ステッピングモータの回転ス
テップ数を0にしたところからステッピングモータの回
転ステップ数をカウントすることにより、カウントされ
たステッピングモータの回転ステップ数から、印刷ヘッ
ドユニット15の現在位置を把握することができる。
A home position detector 16 is arranged at the left end of the body 1. Home position detector 1
6 has a built-in photo sensor, the print head unit 15 moves to the left of the body 1, and a part of the carriage 14 passes a detection portion of the photo sensor to generate a home position detection signal. When the home position detector 16 generates the home position detection signal, the stepping motor control circuit (not shown) stops the rotation of the stepping motor (not shown) and stops the movement of the print head unit 15. Then, the rotation step number of the stepping motor is set to 0 with reference to the position where the print head unit 15 is stopped. By counting the number of rotation steps of the stepping motor from the point where the number of rotation steps of the stepping motor is set to 0, the current position of the print head unit 15 can be grasped from the counted number of rotation steps of the stepping motor.

【0018】図2に、本例の印刷装置に係わる制御系の
ブロック図を示してある。本例の印刷装置は、印刷装置
全体の動きを制御する制御部21を有し、この制御部2
1の入出力回路31には、本例の印刷装置に含まれない
情報処理装置である外部パーソナルコンピュータ19が
接続されており、印刷データを印刷装置に送信する。ま
た、入出力回路31には、本例の印刷装置に内蔵されて
いるホームポジション検出器16、脱調検出器12、カ
バーオープン検出器34、ペーパーフィード検出器3
3、およびペーパーエンド検出器32が接続されてい
る。入出力回路31に外部パーソナルコンピュータ19
からの印刷に関する情報が入力され、CPU34を中心
として構成されている制御部21で、入力された情報に
基づいて印刷ヘッド制御回路23を通じて印刷用紙に印
刷を実行する。また、入出力回路31には印刷装置内部
のホームポジション検出器16、脱調検出器12、カバ
ーオープン検出器34、ペーパーフィード検出器33、
およびペーパーエンド検出器32の状態を示す情報も入
力さる。入力された各検出器の情報は制御部21で、印
刷ヘッド制御回路23、LED制御回路30、および紙
送りモータ制御回路29を通じて、印刷ヘッド移動回路
24、印刷ヘッド印刷回路25、エラーLED点灯回路
26、ペーパーエンドLED点灯回路27、および紙送
りモータ駆動回路28を制御している。
FIG. 2 is a block diagram of a control system relating to the printing apparatus of this example. The printing apparatus of this example has a control unit 21 that controls the movement of the entire printing apparatus.
An external personal computer 19, which is an information processing apparatus not included in the printing apparatus of this example, is connected to the input / output circuit 31 of No. 1 and sends print data to the printing apparatus. The input / output circuit 31 includes a home position detector 16, a step-out detector 12, a cover open detector 34, and a paper feed detector 3 which are built in the printing apparatus of this example.
3 and the paper end detector 32 are connected. The external personal computer 19 is connected to the input / output circuit 31.
Based on the input information, the control unit 21 mainly including the CPU 34 executes printing on the printing paper through the print head control circuit 23. Further, the input / output circuit 31 includes a home position detector 16, a step-out detector 12, a cover open detector 34, a paper feed detector 33 inside the printing apparatus,
Also, information indicating the state of the paper end detector 32 is input. The input information of each detector is controlled by the control unit 21 through the print head control circuit 23, the LED control circuit 30, and the paper feed motor control circuit 29, and the print head moving circuit 24, the print head printing circuit 25, the error LED lighting circuit. 26, the paper end LED lighting circuit 27, and the paper feed motor drive circuit 28 are controlled.

【0019】図3を参照しながら、本例の印刷装置の電
源投入時における初期化動作および初期化動作終了後の
印刷ヘッドユニット15の動作について説明する。印刷
ヘッドユニット15の初期化動作が行われる直前の印刷
ヘッドユニット15の位置は未知であり、印刷ヘッドユ
ニット15は最左端移動位置38と最右端移動位置37
の間の何れかの位置に位置している。
With reference to FIG. 3, description will be given of the initialization operation when the power of the printing apparatus of this example is turned on and the operation of the print head unit 15 after the initialization operation is completed. The position of the print head unit 15 immediately before the initialization operation of the print head unit 15 is unknown, and the print head unit 15 moves the leftmost end position 38 and the rightmost end position 37.
It is located somewhere in between.

【0020】印刷ヘッドユニット15の初期化動作が開
始されると、印刷ヘッドユニット15は、初期化動作開
始直前の位置からホームポジション検出器16の設置さ
れているボディー1の左端に向かって移動を開始する。
印刷ヘッドユニット15は、ホームポジション検出器1
6の発生するホームポジション検出信号により、最左端
移動位置38に達した時点で移動を停止する。従来の初
期化動作では印刷ヘッドユニット15が最左端移動位置
38で停止した時点で初期化動作は終了となり、以降
は、印刷装置には含まれない外部の情報処理装置からの
印刷データの入力により印刷動作を開始することとな
る。
When the initialization operation of the print head unit 15 is started, the print head unit 15 moves from the position immediately before the start of the initialization operation toward the left end of the body 1 in which the home position detector 16 is installed. Start.
The print head unit 15 is the home position detector 1
When the home position detection signal 6 is generated, the movement is stopped when the leftmost end movement position 38 is reached. In the conventional initialization operation, the initialization operation ends when the print head unit 15 stops at the leftmost end movement position 38, and thereafter, by inputting print data from an external information processing device not included in the printing device. The printing operation will start.

【0021】しかし、例えば、初期化動作が開始される
直前の印刷ヘッドユニット15の位置がレシート紙印刷
領域35にあり、レシート紙2には異常がなく、ジャー
ナル紙4が折れ曲がっていて紙ジャム状態であった場合
では、印刷ヘッドユニット15はレシート紙印刷領域3
5を正常に通過し、最左端移動位置38で待機する。次
に、印刷装置には含まれない外部の情報処理装置からの
印刷データの入力により印刷動作を開始する。印刷ヘッ
ドユニット15はレシート紙2に対して正常に印刷を実
行した後、ジャーナル紙4に印刷しようとするが、ジャ
ーナル紙4は紙ジャム状態であり、印刷が正常に実行さ
れず、印刷動作は異常終了となる。この場合は、印刷動
作が開始された時点で、印刷装置には含まれない外部の
情報処理装置から受信した印刷データは随時消去されて
いくので、上記のように印刷動作が異常終了した場合
は、当該印刷データは、当該外部の情報処理装置におい
て保存されている場合を除き、失われてしまう。
However, for example, the position of the print head unit 15 immediately before the start of the initialization operation is in the receipt paper printing area 35, the receipt paper 2 has no abnormality, and the journal paper 4 is bent and jammed. If it is, the print head unit 15 determines that the receipt paper printing area 3
5 is passed normally, and the robot waits at the leftmost end movement position 38. Next, the printing operation is started by inputting print data from an external information processing apparatus not included in the printing apparatus. The print head unit 15 attempts to print on the journal paper 4 after the receipt paper 2 is normally printed, but the journal paper 4 is in a paper jam state, and printing is not normally executed, and the printing operation is performed. It ends abnormally. In this case, since the print data received from the external information processing device which is not included in the printing device is deleted at any time when the printing operation is started, if the printing operation ends abnormally as described above. The print data is lost unless it is stored in the external information processing device.

【0022】そこで、本発明では、印刷ヘッドユニット
15の初期化動作の中で、ホームポジション検出器16
による印刷ヘッドユニット15の位置検出を行った後
に、印刷ヘッドユニット15を最左端移動位置38から
最右端移動位置37の印刷可能な全印刷領域を移動する
ことにより、印刷可能な全印刷領域の異常状態を検出す
ることを実現している。印刷可能な全印刷領域とは、図
3においての最左端移動位置38から最右端移動位置3
7の間にあるレシート紙印刷領域35と、ジャーナル紙
印刷領域36とをいう。
Therefore, in the present invention, the home position detector 16 is included in the initialization operation of the print head unit 15.
After the position of the print head unit 15 is detected by the method described above, the print head unit 15 is moved from the leftmost end moving position 38 to the rightmost end moving position 37 in the entire printable printing region, thereby causing an abnormality in the entire printable printing region. It realizes to detect the state. The entire printable area means the leftmost end moving position 38 to the rightmost end moving position 3 in FIG.
A receipt paper printing area 35 and a journal paper printing area 36 located between 7 and 7.

【0023】図1と図3を参照しながら、図4に示した
本発明での初期化動作の流れを説明する。ST1で初期
化動作が開始されると、ST2でホームポジション検出
器16がホームポジション検出信号を発生しているか調
べる。ホームポジション検出器16がホームポジション
検出信号が発生していなければ、ST3へ移行し、印刷
ヘッドユニット15をボディー1の左方向へ1ステップ
移動する。ホームポジション検出器16がホームポジシ
ョン検出信号が発生するまで、ST2とST3を繰り返
す。
The flow of the initialization operation of the present invention shown in FIG. 4 will be described with reference to FIGS. 1 and 3. When the initialization operation is started in ST1, it is checked in ST2 whether the home position detector 16 generates a home position detection signal. If the home position detector 16 does not generate the home position detection signal, the process proceeds to ST3, and the print head unit 15 is moved one step to the left of the body 1. ST2 and ST3 are repeated until the home position detector 16 generates a home position detection signal.

【0024】ST2でホームポジション検出器16がホ
ームポジション検出信号が発生していた場合には、ST
4へ移行する。ST4では、脱調検出器12が脱調が検
出されているか調べる。脱調検出器12が信号を発生し
ない場合、即ち脱調を検出した場合には、ST5へ移行
し、印刷装置のすべての機能を停止し、印刷ヘッドユニ
ット15の初期化動作は異常終了となる。ST5へ移行
した場合には、印刷ヘッドユニット15の移動に係わる
異常状態を取り除いた後に、一旦電源を遮断してから再
び電源を投入する以外に、停止した印刷装置の機能の復
帰をする手段はないこととしている。
If the home position detector 16 generates a home position detection signal in ST2, ST2
Move to 4. In ST4, the out-of-step detector 12 checks whether out-of-step is detected. When the out-of-step detector 12 does not generate a signal, that is, when out-of-step is detected, the process proceeds to ST5, all the functions of the printing apparatus are stopped, and the initialization operation of the print head unit 15 ends abnormally. . In the case of shifting to ST5, after removing the abnormal state related to the movement of the print head unit 15, turning off the power supply once and then turning on the power supply again, the means for restoring the stopped function of the printing apparatus is I have decided not to.

【0025】一方、ST4で脱調検出器12が信号を発
生している場合、即ち脱調を検出していない場合には、
ST6へ移行する。ST6では、印刷ヘッドユニット1
5をボディー1の右方向へ1ステップ移動する。ST7
では、ステッピングモータの駆動ステップ数を調べるこ
とにより、印刷ヘッドユニット15が最右端移動位置3
7にあるか判断する。ST7で、印刷ヘッドユニット1
5が最右端移動位置37に達していない場合には、ST
4へ移行する。そして、ST7で印刷ヘッドユニット1
5が最右端移動位置37に達するまで、ST4、ST
6、およびST7を繰り返す。ST7で、印刷ヘッドユ
ニット15が最右端移動位置37に達している場合に
は、ST8へ移行し、印刷ヘッドユニット15の初期化
動作は正常終了となる。
On the other hand, when the step-out detector 12 generates a signal in ST4, that is, when the step-out is not detected,
Transition to ST6. In ST6, the print head unit 1
Move 5 to the right of body 1 by one step. ST7
Then, by checking the number of driving steps of the stepping motor, the print head unit 15 moves the rightmost end position 3
Determine if it is 7. In ST7, print head unit 1
If 5 does not reach the rightmost end movement position 37, ST
Move to 4. Then, in ST7, the print head unit 1
ST4, ST until 5 reaches the rightmost end moving position 37
Repeat 6 and ST7. In ST7, when the print head unit 15 has reached the rightmost end movement position 37, the process proceeds to ST8, and the initialization operation of the print head unit 15 ends normally.

【0026】上記で示した通り本発明の手段を利用し、
印刷ヘッドユニット15の初期化動作として印刷ヘッド
ユニット15のホームポジション位置検出を行った後
に、印刷ヘッドユニット15を印刷可能な全印刷領域を
移動させることにより、印刷可能な全印刷領域に異常が
ないことを確認する。なお、本実施形態は電源投入時に
伴う印刷ヘッドユニット15の初期化動作について説明
したが、印刷装置のカバーオープン時、印刷装置のカバ
ークローズ時、ワンレシート発行時に伴う印刷ヘッドユ
ニット15の初期化動作においても同様の確認が行われ
る。印刷装置の電源投入時、印刷装置のカバーオープン
時、印刷装置のカバークローズ時、およびワンレシート
発行時においては、印刷用紙および印刷ヘッドユニット
15の移動に関する異常が発生し易い状態となるため、
それぞれの場合において、初期化動作を行うことが有効
である。
Utilizing the means of the present invention as indicated above,
After the home position position of the print head unit 15 is detected as the initialization operation of the print head unit 15, the print head unit 15 is moved over the entire printable area, so that there is no abnormality in the entire printable area. Make sure that. Although the present embodiment has described the initialization operation of the print head unit 15 when the power is turned on, the initialization operation of the print head unit 15 when the cover of the printing apparatus is opened, when the cover of the printing apparatus is closed, and when one receipt is issued. The same confirmation is performed at. When the power of the printing apparatus is turned on, when the cover of the printing apparatus is opened, when the cover of the printing apparatus is closed, and when the one-receipt is issued, an abnormality relating to the movement of the printing paper and the print head unit 15 is likely to occur,
In each case, it is effective to perform the initialization operation.

【0027】なお、本実施形態においては全印刷領域で
印刷ヘッドユニットの移動に異常がないことを、一ステ
ップ送り、及びこれに対応して信号を出力する脱調検出
器を用いて検出する構成としているが、本発明はこれに
限定されるものではない。例えば、ホームポジションに
到達した後、最右端移動位置37まで移動させ、再びホ
ームポジションに移動させてホームポジション検出器1
6で位置検出を行う。この処理において、移動させたス
テップ数と、ホームポジションとの間の整合がとれてい
れば全印刷領域において印刷ヘッドの移動が正常に行わ
れたと判断し、そうでなければ印刷領域の何れかの位置
において印刷ヘッドの移動に異常があったとして異常処
理を行うようにしてもよい。
In the present embodiment, it is detected that there is no abnormality in the movement of the print head unit in the entire printing area by using the step-out detector that feeds in one step and outputs a signal corresponding to this. However, the present invention is not limited to this. For example, after reaching the home position, the home position detector 1 is moved to the rightmost end movement position 37 and then to the home position again.
The position is detected at 6. In this process, if there is a match between the number of steps moved and the home position, it is determined that the print head has been moved normally in the entire print area, and if not, in any of the print areas. Abnormality processing may be performed assuming that the movement of the print head is abnormal at the position.

【0028】[0028]

【発明の効果】以上実施形態で説明したように、本発明
による印刷装置は、印刷ヘッドユニットの初期化動作の
中で印刷可能な全印刷領域の印刷ヘッドユニットの移動
に係わる異常状態の検出を行うことが可能である。その
ために、印刷動作開始以前の段階での印刷動作不良を検
出することが可能であり、印刷装置に含まれない外部情
報処理装置から受信した印刷データの損失を防ぐことを
可能としている。
As described in the above embodiments, the printing apparatus according to the present invention detects an abnormal state related to the movement of the print head unit in the entire printable area during the initialization operation of the print head unit. It is possible to do. Therefore, it is possible to detect the print operation failure before the start of the print operation, and it is possible to prevent the loss of the print data received from the external information processing device not included in the print device.

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

【図1】本発明の実施形態に係わる印刷装置の印刷動作
の周辺の概要を示した上面図である。
FIG. 1 is a top view showing a general outline of a printing operation of a printing apparatus according to an embodiment of the present invention.

【図2】図1に示した印刷装置の印刷ヘッドの移動に係
わる制御系のブロック図である。
2 is a block diagram of a control system relating to movement of a print head of the printing apparatus shown in FIG.

【図3】図1に示した印刷装置の側面図である。3 is a side view of the printing apparatus shown in FIG.

【図4】図1に示した印刷装置の印刷ヘッドの移動に係
わる制御系のフローチャートである。
4 is a flowchart of a control system relating to movement of a print head of the printing apparatus shown in FIG.

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

1 ・・・・・ボディー 2 ・・・・・レシート紙 3 ・・・・・印刷ヘッド 4 ・・・・・ジャーナル紙 5 ・・・・・プラテン 6 ・・・・・キャリッジガイド軸 7 ・・・・・ステッピングモータ回転軸 8 ・・・・・キャリッジベルト駆動歯車 9 ・・・・・ステッピングモータ歯車 10・・・・・伝導歯車 11・・・・・星形歯車 12・・・・・脱調検出器 13・・・・・キャリッジベルト 14・・・・・キャリッジ 15・・・・・印刷ヘッドユニット 16・・・・・ホームポジション検出器 17・・・・・キャリッジベルトプーリ 18・・・・・紙押さえ板ばね 19・・・・・外部パーソナルコンピュータ 20・・・・・印刷装置 21・・・・・制御部 22・・・・・CPU 23・・・・・印刷ヘッド制御回路 24・・・・・印刷ヘッド移動回路 25・・・・・印刷ヘッド印刷回路 26・・・・・エラーLED点灯回路 27・・・・・ペーパーエンドLED点灯回路 28・・・・・紙送りモータ駆動回路 29・・・・・紙送りモータ制御回路 30・・・・・LED制御回路 31・・・・・入出力回路 32・・・・・ペーパーエンド検出器 33・・・・・ペーパーフィード検出器 34・・・・・カーバーオープン検出器 35・・・・・レシート紙印刷領域 36・・・・・ジャーナル紙印刷領域 37・・・・・最右端移動位置 38・・・・・最左端移動位置 1 ・ ・ ・ Body 2 ・ ・ ・ Receipt paper 3 ・ ・ ・ Print head 4 ・ ・ ・ ・ ・ Journal paper 5 ・ ・ ・ Platen 6 ・ ・ ・ ・ ・ Carriage guide shaft 7 ・ ・... Stepping motor rotating shaft 8 ... Carriage belt drive gear 9 ... Stepping motor gear 10 ... Transmission gear 11 ... Star gear 12 ... Detachment Adjustment detector 13-Carriage belt 14-Carriage 15-Print head unit 16-Home position detector 17-Carriage belt pulley 18- ..Paper pressing leaf spring 19 ... External personal computer 20 ... Printing device 21 ... Control unit 22 ... CPU 23 ... Print head control circuit 24. ... Print head moving circuit 25-Print head printing circuit 26-Error LED lighting circuit 27-Paper end LED lighting circuit 28-Paper feed motor drive circuit 29- ..Paper feed motor control circuit 30..LED control circuit 31..input / output circuit 32..paper end detector 33..paper feed detector 34 ..・ Curver open detector 35 ・ ・ ・ ・ ・ Receipt paper printing area 36 ・ ・ ・ Journal paper printing area 37 ・ ・ ・ Rightmost edge movement position 38 ・ ・ ・ Leftmost edge movement position

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 印刷可能な領域を移動しながら印刷を行
う印刷ヘッドと、 前記印刷ヘッドの前記領域における絶対位置を検出する
位置検出手段と、 前記印刷ヘッドを移動せしめる印刷ヘッド移動制御手段
と、 前記印刷ヘッドの移動が前記印刷ヘッド移動制御手段の
移動信号に対応していないことを検出する印刷ヘッド移
動異常検出手段とを有し、 前記印刷ヘッド移動制御手段によって、前記印刷ヘッド
の前記領域における絶対位置を検出する初期化動作にお
いて、前記領域の全範囲に渡って前記印刷ヘッドを移動
させるとともに、 前記印刷ヘッド移動異常検出手段によって当該移動中の
異常を検出することを特徴とする印刷装置。
1. A print head that performs printing while moving in a printable area, a position detection unit that detects an absolute position of the print head in the area, and a print head movement control unit that moves the print head. A print head movement abnormality detecting means for detecting that the movement of the print head does not correspond to a movement signal of the print head movement control means, and the print head movement control means causes the print head movement abnormality detection means in the area of the print head. In an initialization operation for detecting an absolute position, the printing head is moved over the entire range of the area, and the printing head movement abnormality detecting unit detects the abnormality during the movement.
【請求項2】 請求項1記載の印刷装置において、他の
装置からの印刷データを格納する印刷データ格納手段
と、 該印刷データ格納手段に格納された印刷データを読み出
すとともに、前記印字ヘッドを用いて印刷する印刷制御
手段とを更に有し、 該印刷制御手段は前記印刷データの読み出しの後に、当
該印刷データを前記印刷データ格納手段から消去するこ
とを特徴とする印刷装置。
2. The printing apparatus according to claim 1, wherein print data storage means for storing print data from another apparatus, print data stored in the print data storage means are read out, and the print head is used. And a print control unit for performing printing, the print control unit deleting the print data from the print data storage unit after reading the print data.
【請求項3】 印刷可能な領域を移動しながら印刷を行
う印刷ヘッドと、前記印刷ヘッドの前記領域における絶
対位置を検出する位置検出手段と、前記印刷ヘッドを移
動せしめる印刷ヘッド移動制御手段と、前記印刷ヘッド
の移動が前記印刷ヘッド移動制御手段の移動信号に対応
していないことを検出する印刷ヘッド移動異常検出手段
とを有する印刷装置の制御方法であって、 前記印刷ヘッドの前記領域における絶対位置を検出する
初期化動作において、前記領域の全範囲に渡って前記印
刷ヘッドを移動させる全領域移動工程と、 前記印刷ヘッド移動異常検出手段によって前記全領域移
動工程における移動の異常を検出する全領域異常検出工
程とを有することを特徴とする印刷装置の制御方法。
3. A print head for performing printing while moving in a printable area, position detection means for detecting an absolute position of the print head in the area, and print head movement control means for moving the print head. A method of controlling a printing apparatus, comprising: a print head movement abnormality detection means for detecting that the movement of the print head does not correspond to a movement signal of the print head movement control means; In the initialization operation for detecting the position, the entire area moving step of moving the print head over the entire range of the area, and the entire area for detecting the movement abnormality in the entire area moving step by the print head movement abnormality detecting means. A method for controlling a printing apparatus, comprising: a region abnormality detecting step.
【請求項4】 請求項3記載の印刷装置の制御方法にお
いて、前記全領域移動工程は、 前記印刷ヘッドの前記領域における絶対位置を検出する
絶対位置検出工程と、 前記絶対位置を基点として、前記領域の全範囲の内、少
なくとも前記絶対位置検出工程において移動の行われな
かった範囲に渡って前記印刷ヘッドを移動させる補完移
動工程とを有してなることを特徴とする印刷装置の制御
方法。
4. The method for controlling a printing apparatus according to claim 3, wherein the whole area moving step includes an absolute position detecting step of detecting an absolute position of the print head in the area, and the absolute position is a base point. A method of controlling a printing apparatus, comprising: a complementary movement step of moving the print head over at least a range in which the movement is not performed in the absolute position detection step, out of the entire range of the area.
【請求項5】 請求項3又は4記載の印刷装置の制御方
法において、前記全領域移動工程における移動は所定量
の移動単位の集合によって構成され、 前記全領域異常検出工程における移動異常の検出は、前
記移動単位毎に行われることを特徴とする印刷装置の制
御方法。
5. The printing apparatus control method according to claim 3, wherein the movement in the entire area movement step is constituted by a set of movement units of a predetermined amount, and the movement abnormality is detected in the entire area abnormality detection step. And a control method of the printing apparatus, which is performed for each of the movement units.
JP7213839A 1995-08-22 1995-08-22 Printing device and controlling method thereof Pending JPH0958083A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP7213839A JPH0958083A (en) 1995-08-22 1995-08-22 Printing device and controlling method thereof
SG1996010455A SG72701A1 (en) 1995-08-22 1996-08-14 Printing apparatus and control method thereof
DE1996605494 DE69605494T2 (en) 1995-08-22 1996-08-20 Pressure device and method for its initialization
EP19960113336 EP0759363B1 (en) 1995-08-22 1996-08-20 Printing apparatus and initialization method thereof
US08/978,850 US6000865A (en) 1995-08-22 1997-11-26 Printing apparatus and a control method thereof
HK98115564A HK1014248A1 (en) 1995-08-22 1998-12-24 Printing apparatus and initialization method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7213839A JPH0958083A (en) 1995-08-22 1995-08-22 Printing device and controlling method thereof

Publications (1)

Publication Number Publication Date
JPH0958083A true JPH0958083A (en) 1997-03-04

Family

ID=16645885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7213839A Pending JPH0958083A (en) 1995-08-22 1995-08-22 Printing device and controlling method thereof

Country Status (5)

Country Link
EP (1) EP0759363B1 (en)
JP (1) JPH0958083A (en)
DE (1) DE69605494T2 (en)
HK (1) HK1014248A1 (en)
SG (1) SG72701A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10114534A1 (en) * 2001-03-21 2002-10-02 Francotyp Postalia Ag Sensor arrangement for a franking machine

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58219079A (en) * 1982-06-16 1983-12-20 Nec Corp Home position setting system for carriage in serial printer
JPH0712725B2 (en) * 1986-01-06 1995-02-15 株式会社精工舎 Print head position detection method
JPS62264981A (en) * 1986-05-13 1987-11-17 Konika Corp Serial printer
IT1202688B (en) * 1987-03-25 1989-02-09 Honeywell Inf Systems POSITION INDICATOR FOR SERIAL PRINTER
JPH0272984A (en) * 1988-09-07 1990-03-13 Alps Electric Co Ltd Control of driving of carriage in printer
US5029264A (en) * 1988-09-27 1991-07-02 Canon Kabushiki Kaisha Recording apparatus
ATE172407T1 (en) * 1993-01-19 1998-11-15 Canon Kk RECORDING DEVICE
JP3061091B2 (en) * 1993-03-03 2000-07-10 セイコーエプソン株式会社 Serial printer
JPH0766949A (en) * 1993-08-24 1995-03-10 Canon Inc Facsimile equipment

Also Published As

Publication number Publication date
EP0759363A2 (en) 1997-02-26
HK1014248A1 (en) 1999-09-24
SG72701A1 (en) 2000-05-23
EP0759363B1 (en) 1999-12-08
DE69605494T2 (en) 2000-05-31
DE69605494D1 (en) 2000-01-13
EP0759363A3 (en) 1997-07-30

Similar Documents

Publication Publication Date Title
US4897670A (en) Thermal transfer printer
JPH0958083A (en) Printing device and controlling method thereof
JP2002308525A (en) Recording paper tip detecting device
JP3674220B2 (en) Printer and recording paper jam processing method thereof
US6000865A (en) Printing apparatus and a control method thereof
EP0341671B1 (en) Bidirectional printing device
JP2006198859A (en) Recording apparatus and method for controlling recording apparatus
US5934193A (en) MICR indicia diagnostics
JPH03176180A (en) Thermal printer
JP2994301B2 (en) Paper edge detection control device
JPS6227168A (en) Printer
JP6996218B2 (en) Drive and image forming equipment
JP2954189B1 (en) Paper feed detection mechanism of thermal printer
JPH07137387A (en) Printer
JPH09300756A (en) Paper feed device in image forming apparatus
JPH10337920A (en) Printer
JP4474964B2 (en) Image forming apparatus, image inspection apparatus, and image inspection method
JPH0887201A (en) Paper thickness detecting device and printer
JP3359815B2 (en) Stacker
JP2998615B2 (en) Magnetic printing equipment
JP2744686B2 (en) Image forming device
JP2002307380A (en) Printing device
JPH03248875A (en) Automatic regulating mechanism for printing head of printer
JP2004331294A (en) Recording device
JPH0632018A (en) Automatic regulation mechanism of print head of printer