JPS6137457A - Paper-feed controller for printer - Google Patents

Paper-feed controller for printer

Info

Publication number
JPS6137457A
JPS6137457A JP16059284A JP16059284A JPS6137457A JP S6137457 A JPS6137457 A JP S6137457A JP 16059284 A JP16059284 A JP 16059284A JP 16059284 A JP16059284 A JP 16059284A JP S6137457 A JPS6137457 A JP S6137457A
Authority
JP
Japan
Prior art keywords
paper
paper feed
feed
electromagnet
signal
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
JP16059284A
Other languages
Japanese (ja)
Inventor
Yuji Iida
飯田 雄二
Shigeru Kiuchi
木内 茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP16059284A priority Critical patent/JPS6137457A/en
Publication of JPS6137457A publication Critical patent/JPS6137457A/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/76Line-spacing mechanisms
    • B41J19/78Positive-feed mechanisms
    • B41J19/92Electromagnetically-operated mechanisms

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To feed paper positively, and to prevent stacked printing by continuously transmitting excitation signals over an electromagnet during a time until the reception of a paper-feed detecting signal from a paper-feed detecting mechanism after the input time of a paper-feed command signal. CONSTITUTION:When a signal such as a paper-feed command one to both printing paper 27 is inputted from a host computer 2, paper-feed flags 1 for flag regions ROM4, RAM6 are set to ''1'' while an excitation signal (a) is transmitted over each electromagnet 12 for several paper-feed mechanism 9, and conduction is started to respective electromagnet 12. Each crank arm 16 is operated, and conduction to several electromagnet 12 is interrupted at times when paper-feed detecting signals (b) at an H level from respective photosensor 30 are received, thus completing the operation of the paper-feed. When the paper-feed detecting signals (b) are not inputted positively though times when the paper-feed detecting signals (b) from each photosensor 30 are inputted are displaced, the excitation signal (a) from the electromagnet of interest 12 is not interrupted, thus resulting in secure paper-feed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は紙送り指令信号を受信後実際に紙送りされたこ
とを検出する紙送り検出I幾イ?11を設け、紙送り指
令信号が入力されると、確実に紙送りが実行されるプリ
ンタの紙送り制御装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a paper feed detection method for detecting that paper has actually been fed after receiving a paper feed command signal. 11, the present invention relates to a paper feed control device for a printer that reliably executes paper feed when a paper feed command signal is input.

[従来の技術] 一般に、情報処理システムに組込まれたプリンタは、情
報処理システムのホストコンピュータ等から出力される
文字コード信号を受信して、この文字コードに対応する
印字ホイールの活字又はキャラクタジェネレータのドツ
トパターンを読み出してキャリッジに搭載された印字ヘ
ッドでもって、プラテンにセットされた印字用紙上に該
当文字を印字出力するように構成されている。そして、
ホストコンピュータから改行等のために紙送り指令信号
が入力すると、紙送り機構が動作して印字用紙が1行分
だけ紙送りされる。
[Prior Art] In general, a printer incorporated in an information processing system receives a character code signal output from a host computer of the information processing system, and prints the type on the print wheel or the character generator that corresponds to the character code. It is configured to read out the dot pattern and use a print head mounted on a carriage to print out the corresponding characters on a print sheet set on a platen. and,
When a paper feed command signal is input from the host computer for a line feed or the like, the paper feed mechanism operates to feed the printing paper by one line.

[発明が解決しようとする問題点〕 しかしながら、上記のようにホストコンピュータからの
紙送り指令信号にて紙送り機構を動作させて紙送りを実
行するプリンタの紙送り制御装置においては次よような
問題があった。すなわち、上記組送り機構には、紙送り
指令信号に応動して動作する電磁石1紙送り用のモータ
等の一定且以上の電流によって可動する電子部材が多数
組込まれている。したがって、ホストコンピュータから
紙送り指令信号が入力したとしても、何等かの要因にて
電源電圧が低下して上記各可動電子部材が正常に動作し
なくて、実際に紙送りが実行されない場合がある。しか
し、l多少の電圧降下に対しては駆動を伴わない制御回
路は正常に動作するために、上記紙送り信号は正規に受
信される。すると、ホストコンピュータは正規に紙送り
が実行されたと判断して、次の行に対する印字指令を送
出する。
[Problems to be Solved by the Invention] However, as described above, the paper feed control device for a printer that operates a paper feed mechanism to feed paper in response to a paper feed command signal from a host computer has the following problems. There was a problem. That is, the above assembly feeding mechanism incorporates a large number of electronic members that are movable by a current of a certain level or more, such as an electromagnetic single paper feeding motor that operates in response to a paper feeding command signal. Therefore, even if a paper feed command signal is input from the host computer, the power supply voltage may drop for some reason, causing the movable electronic components mentioned above to malfunction, and paper feeding may not actually be executed. . However, since the control circuit that does not involve driving operates normally for some voltage drop, the paper feed signal is normally received. Then, the host computer determines that the paper has been properly fed and sends a print command for the next line.

その結果、1行に2行分の文字が重ねて印字されること
になる。
As a result, two lines of characters are printed overlappingly on one line.

また、紙送り指令信号がホストコンピュータから入力さ
れた後、紙送り数構が動作して実際に印。
Also, after a paper feed command signal is input from the host computer, several paper feed mechanisms operate to actually print.

字用紙の紙送りが実行されるまでの間にこのプリンタに
停電事故が発生した場合、当然紙送りは実行されない。
If a power outage occurs in this printer before the paper is fed, the paper will not be fed.

しかしホストコンピュータは一旦紙送り指令信号を送出
したので、プリンタにおいて当然紙送りが実行されたと
判断する。そして、停電が復帰したのち次の行に対する
印字指令信号を送出する。その結果、前述と同様に、1
行に2行分の文字が重ねて印字されることになる。
However, since the host computer has once sent the paper feed command signal, the printer naturally determines that paper feed has been executed. After the power is restored, a print command signal for the next line is sent. As a result, 1
Two lines of characters will be printed overlapping each other.

本発明はこのような事情に基づいてなされたものであり
、その目的とするところは、実際に紙送りが実行された
ことを検出して、たとえ外部からの紙送り指令信号に対
応して紙送りがなされなかったとしても、確実に紙送り
を実行でき、重ね印字を防止して、信頼性を向上できる
プリンタの紙送り制御装置を提供することにある。
The present invention has been made based on the above circumstances, and its purpose is to detect that paper feeding has actually been carried out and to detect paper feeding in response to a paper feeding command signal from the outside. To provide a paper feed control device for a printer that can reliably execute paper feed even if paper is not fed, prevents overprinting, and improves reliability.

[問題点を解決するための手段] 本発明は、紙送り指令信号に応動して励磁されたN磁石
にてクランクアームを駆動し、このクランクアームでも
って紙送りローラに連結されたラチェットホイールを回
転させることによって、紙送りローラにセットされた印
字用紙を1行分紙送りするプリンタの紙送り制御装置に
おいて、紙送りローラにセットされた印字用紙が実際に
紙送りされたことを検出する紙送り検出fJ 4r4を
設け、紙送り指令信号の入力時刻から紙送り検出機構が
らの紙送り検出信号受信までの間、上記電磁石へ継続し
て励磁信号を送出するようにしたものである。
[Means for solving the problem] The present invention drives a crank arm using an N magnet excited in response to a paper feed command signal, and uses this crank arm to drive a ratchet wheel connected to a paper feed roller. A paper that detects that the printing paper set on the paper feed roller has actually been fed in a paper feed control device of a printer that feeds the printing paper set on the paper feed roller one line by rotating the paper. A feed detection fJ4r4 is provided to continuously send an excitation signal to the electromagnet from the input time of the paper feed command signal until the paper feed detection mechanism receives the paper feed detection signal.

〔作用〕[Effect]

このような構成のプリンタの組送り制御装置であれば、
紙送り指令信号が入力した後、実際に紙送りが実行され
たことを検出する紙送り検出根構が紙送り検出信号を送
出しなければ電磁石への励磁信号が停止されないので、
必ず紙送りが実行される。
If the printer assembly feed control device has this configuration,
After the paper feed command signal is input, the excitation signal to the electromagnet will not be stopped unless the paper feed detection mechanism that detects that the paper feed is actually executed sends out the paper feed detection signal.
Paper feeding is always executed.

[実M  1列 J 以下本発明の一実施例を図面を用いて説明する。[Actual M 1 row J An embodiment of the present invention will be described below with reference to the drawings.

第1図は実施例の紙送り制御装置の概略構成を示すブロ
ック図であり、図中1はホストコンピュータ2から送出
された紙送り指令信号に基づき各独演昇処理を英汀する
CP(J (中央処理装置)である。このCPU1は、
データバス、アドレスバス等からなるパスライン3を介
して、制御プログラム等の固定データを記憶するR O
M 4 、停電時にバッテリ5でバックアップされ、フ
ラグ等の各種可変データを一時記憶するRAM6.前記
ホストコンピュータ2に伝送路7を介して接続されたI
10インターフェース81紙送り機構9へ紙送り指令信
号に応動する励磁信号aを送出してこの紙送り機構9か
らの紙送り検出信号すを受信する紙送り駆動回路10.
この制御iIl装置の停電および停電復帰を検出する電
源検出回路11等を制御する。
FIG. 1 is a block diagram showing a schematic configuration of a paper feed control device according to an embodiment, and reference numeral 1 in the figure indicates a CP (J ( (central processing unit).This CPU1 is
R O stores fixed data such as control programs via a path line 3 consisting of a data bus, an address bus, etc.
M 4 , a RAM 6 which is backed up by the battery 5 during a power outage and temporarily stores various variable data such as flags. I connected to the host computer 2 via the transmission line 7
10 Interface 81 A paper feed drive circuit 10 which sends an excitation signal a in response to a paper feed command signal to the paper feed mechanism 9 and receives a paper feed detection signal from the paper feed mechanism 9.
The control circuit 11 controls the power supply detection circuit 11, etc., which detects power outage and power outage recovery of the control device.

なお、実施例の紙送り制御装置においては、電子キャッ
シュレジスタを想定してレシートと内部記録紙との2つ
の印字用紙のために紙送りは構9を同一構成の2台の紙
送り義構で構成している。
In addition, in the paper feed control device of the embodiment, assuming an electronic cash register, the paper feed mechanism 9 is replaced by two paper feed mechanisms with the same configuration for two printing sheets, a receipt and an internal recording paper. It consists of

第2図は前記各紙送り曙構9の概略構成を示す模式図で
ある。図中12はCPU1から紙送り指令信号が紙送り
駆動回路10へ入力されると、この紙送り駆動回路10
から出力される励磁信号aにて励磁される電磁石であり
、この電磁石12が励磁されると、支点13にて枢支さ
れたストップ板14が矢印方向に回動する。スl〜ツブ
板14が矢印方向に回動すると、支点15に枢支された
クランクアーム16の側面に回転自在に取付けられた偏
心カム17のストップ軸18がストップ板14から外れ
る。すると、偏心カム17はストップ軸18に連結され
たばね19の復元力により時計方向に回転して、印字モ
ータ20にて一定速度で回転駆動されているビニオン2
1に歯合する。しかして、印字モータ20にて偏心カム
17はさらに時計方向に回転させられる。偏心カム17
がさらに時計方向に回転すると、クランクアーム16は
支点15を中心に反時計方向に回動し、このクランクア
ーム16の側面に枢支された紙送りアーム22が矢印方
向に移動する。そして紙送りアーム22の先端に取付け
られた爪部23が紙送りローラ24の軸の一端に取付け
られたラチェットホイール25を1溝分だけ時計方向に
回転させる。
FIG. 2 is a schematic diagram showing the schematic structure of each paper feed mechanism 9. As shown in FIG. 12 in the figure indicates that when a paper feed command signal is input from the CPU 1 to the paper feed drive circuit 10, the paper feed drive circuit 10
When this electromagnet 12 is excited, a stop plate 14 pivoted at a fulcrum 13 rotates in the direction of the arrow. When the sleeve plate 14 rotates in the direction of the arrow, the stop shaft 18 of the eccentric cam 17 rotatably attached to the side surface of the crank arm 16 pivotally supported on the fulcrum 15 is removed from the stop plate 14. Then, the eccentric cam 17 rotates clockwise due to the restoring force of the spring 19 connected to the stop shaft 18, and the pinion 2, which is rotationally driven at a constant speed by the printing motor 20, rotates clockwise.
Matches 1. The eccentric cam 17 is then further rotated clockwise by the printing motor 20. Eccentric cam 17
When the crank arm 16 further rotates clockwise, the crank arm 16 rotates counterclockwise about the fulcrum 15, and the paper feed arm 22 pivotally supported on the side surface of the crank arm 16 moves in the direction of the arrow. Then, the claw portion 23 attached to the tip of the paper feed arm 22 rotates the ratchet wheel 25 attached to one end of the shaft of the paper feed roller 24 clockwise by one groove.

ラチェットホイール25が時計方向に回転すると1、紙
送りローラ24とピンチローラ26との間に挿入された
印字用紙27が矢印方向に1行分紙送りされる。
When the ratchet wheel 25 rotates clockwise, the printing paper 27 inserted between the paper feed roller 24 and the pinch roller 26 is fed by one line in the direction of the arrow.

同時にクランクアーム16に固定され、中央部に長孔2
8が穿設された遮蔽板29が矢印方向に点線で示す位置
まで移動する。遮蔽板29に穿設された長孔28が点線
位置まで達すると、この遮蔽板29を両側から長孔28
を挟むように設けられた発光ダイオードとフォトトラン
ジスタとからなるフォトセンサ30からHレベルの紙送
り検出信号すが前記紙送り駆動回路10へ送出される。
At the same time, it is fixed to the crank arm 16 and has a long hole 2 in the center.
The shielding plate 29 with holes 8 moved in the direction of the arrow to the position shown by the dotted line. When the elongated hole 28 drilled in the shielding plate 29 reaches the dotted line position, the elongated hole 28 is inserted into the shielding plate 29 from both sides.
An H-level paper feed detection signal is sent to the paper feed drive circuit 10 from a photosensor 30 consisting of a light emitting diode and a phototransistor that are arranged to sandwich the paper.

なお、クランクアーム16が図示する定位置に止どまっ
ている時は、フォトセンサ30の発光ダイオード、フォ
トトランジスタ間は遮蔽板29で遮蔽されるために、出
力信号はLレベルである。これ等遮蔽板29.長孔28
.フオトセンサ30は紙送り検出機構を構成している。
Note that when the crank arm 16 remains at the fixed position shown in the figure, the light emitting diode of the photosensor 30 and the phototransistor are shielded by the shielding plate 29, so the output signal is at L level. These shielding plates 29. Long hole 28
.. The photo sensor 30 constitutes a paper feed detection mechanism.

さらに偏心カム17が回転すると、クランクアーム16
は逆に時計方向に回動して図示する位置に戻り、偏心カ
ム17がビニオン21から離れ、電磁石12の通電が停
止されているので、ストップ板14がストップ軸18に
当接して、隔心カム17は図示する定位置に停止する。
When the eccentric cam 17 further rotates, the crank arm 16
is rotated clockwise in the opposite direction and returned to the position shown in the figure, the eccentric cam 17 is separated from the pinion 21, and the electromagnet 12 is de-energized, so the stop plate 14 comes into contact with the stop shaft 18, and the eccentric cam 17 moves away from the pinion 21. The cam 17 stops at the fixed position shown.

前記RAM6内には、第3図に示すように、ホストコン
ピュータ2から伝送路7およびI10インターフェース
8を介して入力される各種のデータおよび指令信号を一
時記憶するデータ領域RA1の他に、各紙送り機構9の
動作状態(FD、ST)を[0]  N]の符号で記憶
する紙送り状態メモリRA2.それぞれの紙送り1幾横
9に対する紙送り指令信号が入力したことを示す紙送り
フラグ(FEl、FLAG、FE2.FLAG)を格納
するフラグ領域RA3.RA4が形成されている。
As shown in FIG. 3, the RAM 6 includes a data area RA1 for temporarily storing various data and command signals inputted from the host computer 2 via the transmission path 7 and I10 interface 8, as well as a A paper feed state memory RA2 that stores the operating state (FD, ST) of the mechanism 9 with the code [0]N]. A flag area RA3. is used to store paper feed flags (FE1, FLAG, FE2.FLAG) indicating that a paper feed command signal has been input for each of paper feeds 1 and 9. RA4 is formed.

なお、前記紙送り状態メモリRA2の動作状態FD、S
T [0]は紙送り指令信号がまだ入力していない状態
又は全ての紙送り動作が終了した動作状態を示し、動作
状fiFD、sT[1]は紙送り指令信号が入力してか
ら全ての紙送り動作が終了するまでの動作状態を示す。
Note that the operating states FD and S of the paper feeding state memory RA2 are
T [0] indicates the state in which the paper feed command signal has not been input yet or the operating state in which all paper feed operations have been completed, and the operation status fiFD, sT [1] indicates the state in which all paper feed operations have been completed after the paper feed command signal has been input. This shows the operating status until the paper feeding operation is completed.

前記CPUIはホストコンピュータ2から各印字用紙2
7に対する紙送り指令信号が入力すると、第4図の流れ
図に従って紙送り処理を実行するように(筒底されてい
る。すなわち紙送り指令信号が110インターフエース
8へ入力すると、紙送り駆動回路10を介して紙送りは
構9の印字モータ20を回転起動させる。次に、RAM
6の紙送り状態メモリRA2の該当する紙送り機構9の
動作状ff1FD、STを[11に設定すると共に、該
当フラグ領域RA3.RA4の紙送りフラグを1に設定
する。同時に該当する紙送り改(苫9の電磁石12に対
して励磁信号aの送出を開始する。その結果電磁石12
が励磁され、紙送りローラ24が回転して印字用紙27
か1行分紙送りされる。
The CPUI is connected to each printing paper 2 from the host computer 2.
When a paper feed command signal is input to 110 interface 8, the paper feed process is executed according to the flowchart in FIG. The paper feed starts the printing motor 20 of the structure 9. Next, the RAM
The operation state ff1FD, ST of the paper feed mechanism 9 corresponding to the paper feed state memory RA2 of No. 6 is set to [11, and the corresponding flag area RA3.6 is set to [11]. Set the paper feed flag of RA4 to 1. At the same time, the sending of the excitation signal a to the electromagnet 12 of the corresponding paper feed change (Toma 9 is started. As a result, the electromagnet 12
is excited, the paper feed roller 24 rotates, and the printing paper 27
The paper will be advanced by one line.

そして、Plにてフォトセンサ30から実際に紙送りが
実行されたことを示すHレベルの紙送り検出信号すが紙
送り駆動回路10へ入力したことを確認すると、このH
レベルの紙送り検出信号すの該当するフラグ領域RA4
又はRA5の紙送りフラグをOにクリアする。同時に、
電磁石12へ送出した励磁信号aを遮断する。電磁石1
2への通電を停止すると、P2にて全ての紙送りフラグ
がOにクリアされたか否かを調べる。まだ1に設定され
たままの紙送りフラグがあれば未だ紙送りが実行されて
いない紙送り11 (M 9が存在すると判断して、P
lへ房り該当組送り機4に9のフォトセンサ30からH
レベルの紙送り検出信号すが送出されたかを調べる。そ
して、P2にて全ての紙送りフラグがOにクリアされた
ならば、ホストコンピュータ2から入力された紙送り指
令信号に対する全ての紙送り動作が終了したと判断して
、紙送り状態メモリRA2の動作状態FD、STをOに
クリアしてこの紙送り処理を終了する。
Then, when it is confirmed that the H level paper feed detection signal indicating that the paper feed was actually executed from the photosensor 30 is input to the paper feed drive circuit 10 at Pl, this H level paper feed detection signal indicating that paper feed has actually been executed is confirmed.
Flag area RA4 corresponding to the level paper feed detection signal
Or clear the paper feed flag of RA5 to O. at the same time,
The excitation signal a sent to the electromagnet 12 is cut off. Electromagnet 1
When power supply to 2 is stopped, it is checked in P2 whether all paper feed flags have been cleared to O. If there is a paper feed flag that is still set to 1, paper feed 11 (M9 is determined to exist, and P
From the photosensor 30 of 9 to the tassel feeder 4 to H
Check whether the level paper feed detection signal is sent. If all paper feed flags are cleared to O at P2, it is determined that all paper feed operations in response to the paper feed command signal input from the host computer 2 have been completed, and the paper feed state memory RA2 is The operating states FD and ST are cleared to O and this paper feeding process is completed.

第5図は紙送り制御装置の電源オン時の起動処理を示す
流れ図である。すなわち、操作者の電源投入又は電源検
出回路11が停電復帰を検出すると、まず通常の初期処
理を実行した後、バッテリ5にてバックアップされてい
るRAM6の紙送り状態メモリRA2の各動作状態FD
、STの値を調べる。そして、全ての動作状態FD、S
Tが 。
FIG. 5 is a flowchart showing the startup process when the paper feed control device is powered on. That is, when the operator turns on the power or the power supply detection circuit 11 detects a power failure recovery, the normal initial processing is executed first, and then each operating state FD of the paper feeding state memory RA2 in the RAM 6 backed up by the battery 5 is stored.
, check the value of ST. And all operating states FD, S
T is.

[0]であれば紙送り動作中に停電が生じていないと判
断して通常の業務を実行する。また、動作状ff1FD
、sTが[0コ以外であれば、紙送り動作中に停電が発
生して全ての紙送り動作が終了していないと判断して、
紙送り数構9の印字モータ20を回転起動させる。そし
て、順送りフラグが1に設定されている紙送り機構9の
電磁石12に再び励磁信号aを送出して該当印字用紙2
7を1行分紙送りした後、第4図のPlへ戻る。
If it is [0], it is determined that there is no power outage during the paper feeding operation, and normal work is executed. In addition, the operating state ff1FD
, If sT is other than [0, it is determined that a power outage occurred during paper feeding operation and all paper feeding operations have not been completed.
The printing motor 20 of the paper feed number 9 is started to rotate. Then, the excitation signal a is sent again to the electromagnet 12 of the paper feed mechanism 9 whose forward feed flag is set to 1, and the corresponding printing paper 2 is
After feeding 7 by one line, the process returns to Pl in FIG.

このように構成されたプリンタの紙送り制御装置であれ
ば、第6図に示すように、時刻1.にてホストコンピュ
ータ2から例えば両方の印字用紙27に対する紙送り指
令信号が入力すると、フラグ領域RA4.RASの紙送
りフラグが1に設定されると共に、各紙送り機Wi9の
各電磁石12へ励磁信号aが送出され、各電磁石12は
通電開始される。そして、それぞれのクランクアーム1
6が動作して各フォトセンサ30からのHレベルの紙送
り検出信号すを受信した時刻で、それぞれの電磁石12
に対する通電が遮断され、この紙送り動作が終了する。
With the printer paper feed control device configured as described above, as shown in FIG. When a paper feed command signal for, for example, both print sheets 27 is input from the host computer 2 in the flag area RA4. The paper feed flag of RAS is set to 1, and an excitation signal a is sent to each electromagnet 12 of each paper feeder Wi9, and each electromagnet 12 starts being energized. And each crank arm 1
6 operates and receives an H-level paper feed detection signal from each photo sensor 30, each electromagnet 12
The current supply to the paper is cut off, and this paper feeding operation is completed.

しかも図示するように、各フォトセンサ3oからの紙送
り検出信号すの入力する時刻がずれたとしても、必ず紙
送り検出信@bが入力しなければ該当電磁石12の励磁
信号aは遮断されないので、必ず紙送りは実行される。
Moreover, as shown in the figure, even if the input times of the paper feed detection signals from each photosensor 3o are shifted, the excitation signal a of the corresponding electromagnet 12 will not be cut off unless the paper feed detection signal @b is input. , paper feeding is always executed.

このような紙送り制御装置であれば、通電中に電源の電
圧降下等の何等かの要因にてホストコンピュータ2から
紙送り指令信号が入力したにもかかわらず、実際に紙送
りが実行されない現象を解消できるので、紙送りがなさ
れずに、1行に文字が重ねて印字出力されることはない
With such a paper feed control device, there is a phenomenon in which paper feed is not actually executed even though a paper feed command signal is input from the host computer 2 due to some factor such as a voltage drop in the power supply while the power is on. This eliminates the problem of overlapping characters on one line without paper feeding.

また、ホストコンピュータ2から紙送り指令が入力して
から実際に紙送り動作が終了するまでの間に停電が発生
して、一定時間経過後に停電復帰した場合、RAM6の
紙送り状態メモリRA2の動作状態FD、STの記憶内
容に基づき停電直前の動作状態を判断して、紙送り動作
を実行するようにしている。したがって、たとえ紙送り
動作中に停電が生じたとしても、停電復帰時に正規に紙
送りが実行されるので、1行に文字が重ねて印字出力さ
れることはない。
In addition, if a power outage occurs between the input of a paper feed command from the host computer 2 and the actual completion of the paper feed operation, and the power is restored after a certain period of time, the paper feed state memory RA2 in the RAM 6 will be affected. The operating state immediately before the power failure is determined based on the stored contents of the states FD and ST, and the paper feeding operation is executed. Therefore, even if a power outage occurs during a paper feeding operation, the paper will be normally fed when the power is restored, so that characters will not be printed out in a single line.

このように、入力した紙送り指令信号に対して確実に紙
送りを実行でき、プリンタの信頼性を向上できる。
In this way, paper feeding can be reliably executed in response to the input paper feeding command signal, and the reliability of the printer can be improved.

なお、本発明は上述した実施例に限定されるものではな
い。実論例においては電子キャッシュレジスタに組込ま
れたレシートと内部記録紙との2つの印字用紙を紙送り
する2つの紙送り機イ7りが存在する場合について説明
したが、印字用紙1紙送り機構の設置数は特に限定され
るものではない。
Note that the present invention is not limited to the embodiments described above. In the practical example, we have explained the case where there are two paper feeders that feed two types of printing paper, the receipt and the internal recording paper built into the electronic cash register, but there is a single paper feeding mechanism for printing paper. The number of installations is not particularly limited.

[発明の効果] 以上説明したように本発明によれば、実際に紙送りが実
行されたことを検出することによって、たとえ外部から
の紙送り指令信号に対して紙送りがなされなかったとし
ても、確実に紙送りを実行でき、重ね印字を防止して、
紙送り装置全体の信頼性を向上できる。
[Effects of the Invention] As explained above, according to the present invention, by detecting that paper feeding is actually performed, even if paper feeding is not performed in response to a paper feeding command signal from the outside, Paper can be fed reliably, preventing overprinting,
The reliability of the entire paper feeding device can be improved.

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

図は本発明の一実施例のプリンタの紙送り制御装置を示
すものであり、第1図は概略4M成を示すブロック図、
第2図は紙送り機構の概略構成を示す模式図、第3図は
記憶部の主なメモリを示す図、第4図および第5図は動
作を示す流れ図、第6図は動作を示すタイムチャートで
ある。 1・・・CPtJ、2・・・ホストコンピュータ、6・
・・RA IV+、8・・・I10インターフェース、
9・・・紙送りは構、10・・・紙送り駆動回路、11
・・・電源検出回路、12・・・電tn石、14・・・
スl−ツバ板、16・・・クランクアーム、17・・・
偏心カム、20・・・印字モータ、21・・・ビニオン
、22・・・紙送りアーム、25・・・ラチェットホイ
ール、24・・・紙送りローラ、27・・・印字用紙、
29・・・遮蔽板、30フオトセンサ、RA2・・・紙
送り状態メモリ、RA3.RA4・・・フラグ領域。 出願人代理人 弁理士 鈴江武彦 第1図 第2図 第3図 第4図
The figure shows a paper feed control device for a printer according to an embodiment of the present invention, and FIG. 1 is a block diagram schematically showing a 4M configuration;
Fig. 2 is a schematic diagram showing the general configuration of the paper feeding mechanism, Fig. 3 is a diagram showing the main memory of the storage section, Figs. 4 and 5 are flow charts showing the operation, and Fig. 6 is a time diagram showing the operation. It is a chart. 1...CPtJ, 2...Host computer, 6.
...RA IV+, 8...I10 interface,
9...Paper feed mechanism, 10...Paper feed drive circuit, 11
...Power supply detection circuit, 12...Electric power supply, 14...
Sl-Brim plate, 16... Crank arm, 17...
Eccentric cam, 20... Print motor, 21... Binion, 22... Paper feed arm, 25... Ratchet wheel, 24... Paper feed roller, 27... Print paper,
29... Shielding plate, 30 Photo sensor, RA2... Paper feed state memory, RA3. RA4...Flag area. Applicant's representative Patent attorney Takehiko Suzue Figure 1 Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 紙送り指令信号に応動して励磁された電磁石にてクラン
クアームを駆動し、このクランクアームでもって紙送り
ローラに連結されたラチェットホィールを回転させるこ
とによつて、前記紙送りローラにセットされた印字用紙
を1行分紙送りするプリンタの紙送り制御装置において
、前記紙送りローラにセットされた印字用紙が実際に紙
送りされたことを検出する紙送り検出機構と、前記紙送
り指令信号の入力時刻から前記紙送り検出機構からの紙
送り検出信号を受信するまでの間、前記電磁石へ励磁信
号を継続して送出する手段とを備えたことを特徴とする
プリンタの紙送り制御装置。
A crank arm is driven by an electromagnet excited in response to a paper feed command signal, and the crank arm is used to rotate a ratchet wheel connected to the paper feed roller. A paper feed control device for a printer that feeds print paper by one line includes a paper feed detection mechanism that detects whether the print paper set on the paper feed roller is actually fed, and a paper feed detection mechanism that detects the paper feed command signal. A paper feed control device for a printer, comprising means for continuously sending an excitation signal to the electromagnet from an input time until receiving a paper feed detection signal from the paper feed detection mechanism.
JP16059284A 1984-07-31 1984-07-31 Paper-feed controller for printer Pending JPS6137457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16059284A JPS6137457A (en) 1984-07-31 1984-07-31 Paper-feed controller for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16059284A JPS6137457A (en) 1984-07-31 1984-07-31 Paper-feed controller for printer

Publications (1)

Publication Number Publication Date
JPS6137457A true JPS6137457A (en) 1986-02-22

Family

ID=15718281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16059284A Pending JPS6137457A (en) 1984-07-31 1984-07-31 Paper-feed controller for printer

Country Status (1)

Country Link
JP (1) JPS6137457A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5050554A (en) * 1989-04-26 1991-09-24 Nippondenso Co., Ltd. Ignition timing control apparatus for engines

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5050554A (en) * 1989-04-26 1991-09-24 Nippondenso Co., Ltd. Ignition timing control apparatus for engines

Similar Documents

Publication Publication Date Title
US8920055B2 (en) Printer device and method for controlling cutting position of boarding pass
JP4889542B2 (en) Printing device
JPS6137457A (en) Paper-feed controller for printer
JPS6137456A (en) Paper-feed controller for printer
US3690250A (en) Compact label printer
JP4415362B2 (en) Printing apparatus, control method, and information recording medium
JP3444055B2 (en) Paper feeding mechanism
KR100415608B1 (en) Method and device for preventing paper jam of printer
JPS6225115B2 (en)
JPS6155715B2 (en)
JPS6178676A (en) Printer
JP3100135B2 (en) Recording device
JP2912723B2 (en) Label printer
JPH04341882A (en) Apparatus for detecting left and right margin position of printing paper
JPH0976603A (en) Printer
JP2582417B2 (en) Printer
JPH0326664B2 (en)
JP3424189B2 (en) Printing device
JPS60145858A (en) Data output device
JPS604768Y2 (en) tag printing device
JPH02147249A (en) Method and apparatus for printing document data and document editing and printing apparatus using the same printing apparatus
JPS6015473B2 (en) Printing machine web transfer device
JPH04347670A (en) Label printer
JPH10157232A (en) Printer
JPS61123572A (en) Printing-controlling system