JPH06122256A - Paper end detector - Google Patents

Paper end detector

Info

Publication number
JPH06122256A
JPH06122256A JP27329992A JP27329992A JPH06122256A JP H06122256 A JPH06122256 A JP H06122256A JP 27329992 A JP27329992 A JP 27329992A JP 27329992 A JP27329992 A JP 27329992A JP H06122256 A JPH06122256 A JP H06122256A
Authority
JP
Japan
Prior art keywords
paper
printing paper
time
steps
lever
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.)
Granted
Application number
JP27329992A
Other languages
Japanese (ja)
Other versions
JP3288444B2 (en
Inventor
Tsutomu Munakata
努 宗形
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 Isotec Ltd
Fujitsu Ltd
Original Assignee
Fujitsu Isotec Ltd
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 Isotec Ltd, Fujitsu Ltd filed Critical Fujitsu Isotec Ltd
Priority to JP27329992A priority Critical patent/JP3288444B2/en
Publication of JPH06122256A publication Critical patent/JPH06122256A/en
Application granted granted Critical
Publication of JP3288444B2 publication Critical patent/JP3288444B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

PURPOSE:To allow a device to recognize the correct position of a paper end at all times without depending upon the speed of travel of printing paper. CONSTITUTION:In a paper end detector, in which the termination of printing paper P carried by a carrying mechanism driven by a stepping motor 17 is sensed by lever type sensors 18, 20 and a position, where printing paper is moved forward by the number of the steps of the control of a lower end after the time of sensing, is detected as the termination section of printing paper P, the termination of printing paper P is sensed by a storage means 31, in which the history of excitation data at a time when the stepping motor 17 is driven is stored, and the lever type sensors 18, 20. A control means 30, in which the number of steps corresponding to the time until the lever type sensors 18, 20 are returned from the state of the presence of a form to the state of the absence of the form while referring to the excitation data stored in the storage means 31 at that time and the number of the steps of the control of the lower end is corrected by using the number of steps, are provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばプリンタ装置に
おいて印刷用紙の終端を検出するペーパーエンド検出装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a paper end detecting device for detecting the end of printing paper in a printer, for example.

【0002】近年、ワードプロセッサやパーソナルコン
ピュータ等の普及に伴い、これらの出力装置として例え
ばシリアルプリンタ装置が多く用いられている。
With the recent spread of word processors and personal computers, for example, serial printer devices are often used as output devices for these.

【0003】かかるプリンタ装置では、印刷用紙におけ
る印字領域の拡大の要請が強く、特に用紙下端余白部を
有効に使用したいという要求がある。
In such a printer device, there is a strong demand for expansion of the printing area on the printing paper, and there is a demand for particularly effective use of the bottom margin of the paper.

【0004】従って、用紙下端余白部を非常に狭く設定
する必要があり、これに伴って、印刷用紙の下端部を検
出するペーパーエンド(PE)検出の精度向上が望まれ
ている。
Therefore, it is necessary to set the margin at the bottom of the paper to be extremely narrow, and along with this, it is desired to improve the accuracy of the paper end (PE) detection for detecting the bottom of the printing paper.

【0005】[0005]

【従来の技術】従来、ペーパーエンドを検出するペーパ
ーエンド検出装置として、例えば用紙搬送路上の印刷用
紙に光を照射し、この印刷用紙からの反射光を光学セン
サで受光し、反射光量の多寡でペーパーエンドを検出す
るものが知られている。この方式を採用するペーパーエ
ンド検出装置では、光反射率が印刷用紙に依存して異な
るので、ペーパーエンドを誤検出する場合があるという
問題がある。
2. Description of the Related Art Conventionally, as a paper end detecting device for detecting a paper end, for example, a printing paper on a paper conveying path is irradiated with light, and reflected light from the printing paper is received by an optical sensor, and the amount of reflected light is large. It is known to detect the paper end. In the paper end detection device adopting this method, since the light reflectance differs depending on the printing paper, there is a problem that the paper end may be erroneously detected.

【0006】そこで、レバー式センサを用いてペーパー
エンドを検出するペーパーエンド検出装置が多くのプリ
ンタ装置に用いられている。
Therefore, a paper end detecting device for detecting the paper end using a lever type sensor is used in many printer devices.

【0007】かかるレバー式センサは例えば図6に示す
ように構成される。
Such a lever type sensor is constructed, for example, as shown in FIG.

【0008】図6において、10は印刷用紙Pの搬送路
であり、この搬送路10を印刷用紙Pが図示矢印C方向
に搬送されながら印刷が行われる。印刷用紙Pの搬送
は、図示しないステッピングモータにより駆動される搬
送機構により行われるようになっている。
In FIG. 6, reference numeral 10 denotes a conveyance path for the printing paper P, and printing is performed while the printing paper P is conveyed in the conveyance path 10 in the direction of the arrow C in the figure. The printing paper P is carried by a carrying mechanism (not shown) driven by a stepping motor.

【0009】ステッピングモータは、パルス信号が与え
られる都度、所定の角度だけ回転される。以下、1パル
スが与えられることにより所定角度だけ回転されること
を1ステップという。このステッピングモータは、予め
用意された励磁データに従って駆動される。励磁データ
は、各ステップ間のインターバルを示す時間値を有して
おり、該時間値に従ってステッピングモータにパルス信
号を与えることにより、加速又は減速の制御ができるよ
うになっている。
The stepping motor is rotated by a predetermined angle each time a pulse signal is given. Hereinafter, rotation of a predetermined angle by applying one pulse is referred to as one step. This stepping motor is driven according to the excitation data prepared in advance. The excitation data has a time value indicating an interval between steps, and acceleration or deceleration can be controlled by applying a pulse signal to the stepping motor according to the time value.

【0010】18は用紙検出レバーであり、支点19を
中心に回動自在に設けられている。この用紙検出レバー
18の下方部には、透過型センサ20が設けられてい
る。透過型センサ20は、発光素子と受光素子とで構成
される周知のものである。
A paper detection lever 18 is provided so as to be rotatable around a fulcrum 19. A transmissive sensor 20 is provided below the paper detection lever 18. The transmissive sensor 20 is a well-known one including a light emitting element and a light receiving element.

【0011】この用紙検出レバー18は、搬送路10上
に印刷用紙Pが存在しない場合、又は印刷用紙Pの先端
部が未だ該用紙検出レバー18の一端部(図中上部)に
至らない場合、又は印刷用紙Pの後端部が該用紙検出レ
バー18の一端部を通過した場合に、図6(a)に示す
ように、その自重により支点19を中心に図示矢印A方
向に回動されて静止した状態にある。
When the printing paper P does not exist on the conveyance path 10 or when the leading end of the printing paper P has not reached one end (upper part in the figure) of the paper detection lever 18, Alternatively, when the rear end of the printing paper P passes through one end of the paper detection lever 18, as shown in FIG. 6A, the printing paper P is rotated about the fulcrum 19 in the direction indicated by the arrow A by its own weight. It is stationary.

【0012】この状態では、用紙検出レバー18の一端
部が搬送路10から図中上方向へ突出し、他端部は透過
型センサ20の発光素子から受光素子に至る光路を遮
る。
In this state, one end of the paper detection lever 18 projects upward from the transport path 10 in the figure, and the other end blocks the optical path from the light emitting element to the light receiving element of the transmissive sensor 20.

【0013】一方、図6(b)に示すように、搬送路1
0上の印刷用紙Pが該用紙検出レバー18の一端部の所
定範囲にある場合に、支点19を中心に図示矢印B方向
に回動される。これにより、用紙検出レバー18の一端
部が搬送路10上の印刷用紙Pに接した状態になり、他
端部は透過型センサ20の発光素子から受光素子に至る
光路から外れる。
On the other hand, as shown in FIG.
When the print paper P on 0 is within a predetermined range of one end of the paper detection lever 18, the print paper P is rotated about the fulcrum 19 in the direction of the arrow B in the drawing. As a result, one end of the paper detection lever 18 is brought into contact with the print paper P on the transport path 10, and the other end is out of the optical path from the light emitting element to the light receiving element of the transmissive sensor 20.

【0014】図示しない制御部は、この透過型センサ2
0からの信号を受け取って、印刷用紙Pが搬送路10に
送られて来たことを感知し、又は印刷用紙Pが通過した
ことを感知する。
The control unit (not shown) is the transmission type sensor 2
A signal from 0 is received to detect that the printing paper P has been sent to the transport path 10, or to detect that the printing paper P has passed.

【0015】上記のようなレバー式センサを用いて印字
状態からペーパーエンドを検出するまでの動作を、図7
に示したフローチャートを参照しながら説明する。
The operation from the printing state to the detection of the paper end using the lever type sensor as described above will be described with reference to FIG.
This will be described with reference to the flowchart shown in FIG.

【0016】即ち、図示しない制御部は、ステッピング
モータにパルス信号を与えることにより1ステップ分回
転させる(ステップS20)。
That is, the control unit (not shown) rotates the stepping motor for one step by giving a pulse signal to the stepping motor (step S20).

【0017】次いで、透過型センサ20がペーパーエン
ド(PE)を感知したか否かを調べる(ステップS2
1)。即ち、用紙検出レバー18の他端部が、透過型セ
ンサ20の発光素子から受光素子に至る光路を遮ったか
否かが調べられる。
Next, it is checked whether or not the transmissive sensor 20 has detected the paper end (PE) (step S2).
1). That is, it is checked whether the other end of the paper detection lever 18 blocks the optical path from the light emitting element to the light receiving element of the transmissive sensor 20.

【0018】ここで、PEを感知していないことが判断
されると、ステップS20へ戻り、上記と同様の動作を
繰り返し実行する。
If it is determined that PE is not sensed, the process returns to step S20 and the same operation as described above is repeated.

【0019】一方、上記ステップS21で透過型センサ
20がペーパーエンド(PE)を感知したことが判断さ
れると、ステッピングモータをNステップ回転させる
(ステップS22)。
On the other hand, when it is determined in step S21 that the transmissive sensor 20 has detected the paper end (PE), the stepping motor is rotated N steps (step S22).

【0020】ここで、上記「N」は、透過型センサ20
で印刷用紙Pの下端部を感知してから、当該下端部が印
字ヘッドに対峙する位置に至るまでの距離に相当するス
テッピングモータのステップ数(以下、「下端管理ステ
ップ数」という)であり、当該プリンタ装置に固有の値
である。
Here, the “N” is the transmission type sensor 20.
Is the number of steps of the stepping motor (hereinafter referred to as the “lower end management step number”) corresponding to the distance from the detection of the lower end of the printing paper P to the position where the lower end faces the print head. This value is unique to the printer device.

【0021】なお、上記Nステップのステッピングモー
タの回転動作中に印字動作を行わせることは、勿論可能
である。
It is of course possible to perform the printing operation during the rotation operation of the N-step stepping motor.

【0022】そして、上記Nステップの回転動作が完了
することにより、制御部はペーパーエンド(PE)を検
出することになる(ステップS23)。
When the rotation operation of the N steps is completed, the control section detects the paper end (PE) (step S23).

【0023】[0023]

【発明が解決しようとする課題】従来のレバー式センサ
を用いたペーパーエンドの検出は、上記のように、透過
型センサ20によりペーパーエンドを感知してから下端
管理ステップ数だけ印刷用紙Pを進めた位置を実際の印
刷用紙Pの終端部であると判断するようになっている。
As described above, the paper end detection using the conventional lever type sensor advances the printing paper P by the number of lower end control steps after the paper end is sensed by the transmissive sensor 20 as described above. The determined position is determined to be the end portion of the actual printing paper P.

【0024】しかしながら、印刷用紙Pの下端部が用紙
検出レバー18の一端部を通過してから、該用紙検出レ
バー18の他端部が透過型センサ20の発光素子から受
光素子に至る光路を遮断するまでに、つまり用紙検出レ
バー18が復帰するまでに所定の時間tが必要であり、
その間に印刷用紙Pは所定距離だけ進んでしまう。
However, after the lower end of the printing paper P has passed one end of the paper detection lever 18, the other end of the paper detection lever 18 blocks the optical path from the light emitting element to the light receiving element of the transmissive sensor 20. A predetermined time t is required until the sheet detection lever 18 returns,
Meanwhile, the printing paper P advances by a predetermined distance.

【0025】一方、プリンタ装置は、一般に、例えばフ
ォームフィード等のような高速改行機能と、通常の改
行、更にはドット単位の改行等のような微小改行機能と
を有している。しかし、改行速度が異なれば、上記用紙
検出レバー18が復帰するまでに印刷用紙Pが進む距離
が異なってしまう。
On the other hand, the printer apparatus generally has a high-speed line feed function such as form feed and the like, and a normal line feed function and a minute line feed function such as a dot unit line feed function. However, if the line feed speed is different, the distance that the print paper P advances by the time the paper detection lever 18 returns will be different.

【0026】即ち、図8に示すように、印刷用紙Pの下
端部が用紙検出レバー18の一端部を通過すると同時
に、用紙検出レバー18が透過型センサ20の発光素子
から受光素子に至る光路を遮断してペーパーエンドを感
知するのであれば、下端管理ステップ数Nだけステッピ
ングモータを回転させることにより正しいペーパーエン
ド(PE)の位置を認識できる。
That is, as shown in FIG. 8, at the same time that the lower end of the printing paper P passes through one end of the paper detection lever 18, the paper detection lever 18 moves along the optical path from the light emitting element to the light receiving element of the transmissive sensor 20. If the paper end is cut off and the paper end is sensed, the correct position of the paper end (PE) can be recognized by rotating the stepping motor by the lower end control step number N.

【0027】しかしながら、印刷用紙Pの下端部が用紙
検出レバー18の一端部を通過してから一定時間tの後
に用紙検出レバー18が透過型センサ20の発光素子か
ら受光素子に至る光路を遮断するので、ペーパーエンド
を感知するタイミングが遅れてしまい、その分だけ印刷
用紙Pが進んでしまうことになる。
However, the paper detection lever 18 blocks the optical path from the light emitting element to the light receiving element of the transmissive sensor 20 after a lapse of a predetermined time t after the lower end of the printing paper P passes through one end of the paper detecting lever 18. Therefore, the timing at which the paper end is detected is delayed, and the printing paper P is advanced by that amount.

【0028】これは、図8に示された微小改行の場合と
高速改行の場合とを比較して見れば明らかなように、印
刷用紙Pの搬送速度が速ければ速い程顕著である。かか
る状態が発生すると、正確なペーパーエンドを検出する
ことができず、印刷用紙Pの下端部を有効に活用したい
という要請に応えることができないという問題があっ
た。
As is clear from a comparison between the case of minute line feed and the case of high speed line feed shown in FIG. 8, this is more remarkable as the conveyance speed of the printing paper P is higher. When such a state occurs, there is a problem that an accurate paper end cannot be detected and a request for effectively utilizing the lower end portion of the printing paper P cannot be met.

【0029】本発明は、上記事情に鑑みてなされたもの
であり、印刷用紙の移動速度に依存せずに常に正しいペ
ーパーエンド位置を認識することのできるペーパーエン
ド検出装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a paper end detection device capable of always recognizing a correct paper end position without depending on the moving speed of the printing paper. To do.

【0030】[0030]

【課題を解決するための手段】本発明のペーパーエンド
検出装置は、上記目的を達成するために、図1に原理的
に示すように、ステッピングモータ17で駆動される搬
送機構により搬送される印刷用紙Pの終端をレバー式セ
ンサ18,20で感知し、該感知時点から下端管理ステ
ップ数だけ進めた位置を印刷用紙Pの終端部として検出
するペーパーエンド検出装置において、前記ステッピン
グモータ17を駆動した際の励磁データの履歴を記憶す
る記憶手段31と、前記レバー式センサ18,20で印
刷用紙Pの終端を感知した際、前記記憶手段31に記憶
されている励磁データを参照して、前記レバー式センサ
18,20のレバー18が用紙有り状態から用紙無し状
態に復帰するまでの時間に対応するステップ数を算出
し、該ステップ数を用いて前記下端管理ステップ数を補
正する制御手段30とを具備したことを特徴とする。
In order to achieve the above-mentioned object, the paper end detecting apparatus of the present invention is a printing apparatus which is carried by a carrying mechanism driven by a stepping motor 17 as shown in principle in FIG. The stepping motor 17 is driven in a paper end detection device that detects the end of the paper P by lever type sensors 18 and 20 and detects the position advanced by the number of lower end control steps from the time of detection as the end of the print paper P. When the end of the printing paper P is sensed by the storage means 31 for storing the history of the excitation data and the lever type sensors 18, 20, the lever is referred to by referring to the excitation data stored in the storage means 31. The number of steps corresponding to the time required for the lever 18 of each of the expression sensors 18 and 20 to return from the state with paper to the state without paper is calculated, There is characterized in that and a control unit 30 for correcting the number of the lower end management steps.

【0031】さらに具体的には、前記制御手段30は、
前記レバー式センサ18,20で印刷用紙Pの終端を感
知した際、前記記憶手段31に記憶されている励磁デー
タに含まれる時間値を遡って累積加算し、この累積加算
結果が、前記レバー式センサ18,20のレバー18が
用紙有り状態から用紙無し状態に復帰するまでの時間と
なった際に、前記累積加算した励磁データの数を補正値
として前記下端管理ステップ数から減ずることにより新
しい下端管理ステップ数とする。
More specifically, the control means 30 is
When the end of the printing paper P is sensed by the lever type sensors 18 and 20, the time value included in the excitation data stored in the storage means 31 is retroactively cumulatively added, and the cumulative addition result is the lever type. When it is time for the levers 18 of the sensors 18 and 20 to return from the state with paper to the state without paper, the new lower end is obtained by subtracting the cumulatively added excitation data number from the lower end management step number as a correction value. The number of management steps.

【0032】[0032]

【作用】本発明は、例えば改行や改頁を行うにあたって
ステッピングモータ17を駆動した際の励磁データの履
歴を順次記憶手段31に記憶しておき、レバー式センサ
18、20で印刷用紙Pの終端を感知した際、レバー1
8が用紙有り状態から用紙無し状態に復帰するまでの一
定時間に、ステッピングモータ17は何ステップ進んだ
かを上記記憶手段31に記憶された励磁データから算出
し、この算出された値を用いて下端管理ステップ数を補
正するようにしたものである。
According to the present invention, the history of the excitation data when the stepping motor 17 is driven, for example, when performing a line feed or a page break, is sequentially stored in the storage means 31, and the lever type sensors 18 and 20 terminate the end of the printing paper P. Lever 1
The stepping motor 17 calculates how many steps the stepping motor 17 has advanced from the excitation data stored in the storage means 31 within a fixed time from the state with paper to the state without paper, and the calculated value is used to determine the lower limit. The number of management steps is corrected.

【0033】これにより、印刷用紙Pが搬送される速度
とは無関係に、レバー18が用紙有り状態から用紙無し
状態に復帰するまでの一定時間に、印刷用紙Pが進んだ
距離(ステップ数)に対応する補正を施した下端管理ス
テップ数が得られるので、常に正確なペーパーエンドを
検出することができるものとなっている。
As a result, regardless of the speed at which the printing paper P is conveyed, the distance (number of steps) that the printing paper P advances in a certain time until the lever 18 returns from the state with the paper to the state without the paper. Since the number of lower end control steps with the corresponding correction can be obtained, the accurate paper end can always be detected.

【0034】[0034]

【実施例】以下、本発明の実施例につき図面を参照しな
がら詳細に説明する。なお、図1に示したものと同一又
は相当部分には同一符号を付して説明する。なお、この
実施例で用いるレバー式センサは、上記従来例で説明し
たものと同じである。
Embodiments of the present invention will now be described in detail with reference to the drawings. Note that the same or corresponding parts as those shown in FIG. The lever type sensor used in this embodiment is the same as that described in the conventional example.

【0035】図2は、この発明のペーパーエンド検出装
置が適用されるリンタ装置の構成を示す概略側面図であ
る。
FIG. 2 is a schematic side view showing the structure of a lintering device to which the paper end detecting device of the present invention is applied.

【0036】図2において、10は印刷用紙Pの搬送路
であり、この搬送路10を印刷用紙Pが図示矢印C方向
に搬送されながら印刷が行われるようになっている。
In FIG. 2, reference numeral 10 denotes a conveyance path for the printing paper P, and printing is performed while the printing paper P is conveyed in the conveyance path 10 in the direction of the arrow C in the figure.

【0037】この搬送路10の両側(図中上下)には、
駆動ローラ11aとこの駆動ローラ11aに対向して接
触されるアイドルローラ11b、プラテンローラ12と
このプラテンローラ12に対向する印字ヘッド13、及
び、駆動ローラ13aとこの駆動ローラ13aに対向し
て接触されるアイドルローラ13bが、それぞれ配設さ
れている。
On both sides (upper and lower in the figure) of the transport path 10,
The drive roller 11a is in contact with the drive roller 11a while facing the idle roller 11b, the platen roller 12 is in contact with the print head 13 facing the platen roller 12, and the drive roller 13a is in contact with the drive roller 13a. Idle rollers 13b are provided respectively.

【0038】駆動ローラ11aとアイドルローラ11b
は、供給される印刷用紙Pを吸入し、該印刷用紙Pをプ
ラテンローラ12と印字ヘッド13の間に供給するもの
である。プラテンローラ12は、印刷用紙Pを裏面から
支持するものである。
Drive roller 11a and idle roller 11b
Is for sucking the supplied printing paper P and supplying the printing paper P between the platen roller 12 and the print head 13. The platen roller 12 supports the printing paper P from the back surface.

【0039】印字ヘッド13は、制御部30(図3参
照)から送出される印字データに基づき印字を行うもの
である。即ち、印字ヘッド13は、該印字ヘッド13と
印刷用紙Pとの間に介在される図示しないインクリボン
を押圧することにより、印刷用紙P上に文字や図形を印
刷する。
The print head 13 prints on the basis of print data sent from the control unit 30 (see FIG. 3). That is, the print head 13 prints characters and figures on the print paper P by pressing an ink ribbon (not shown) interposed between the print head 13 and the print paper P.

【0040】駆動ローラ13aとアイドルローラ13b
は、プラテンローラ12と印字ヘッド13との間を通過
することにより印刷が行われた印刷用紙Pを吸引し、外
部に排出するものである。
Drive roller 13a and idle roller 13b
Is for sucking the print paper P on which printing has been performed by passing between the platen roller 12 and the print head 13 and discharging it to the outside.

【0041】また、上記駆動ローラ11aとアイドルロ
ーラ11bとの接触部分近傍には、用紙ガイド14a及
び14bが、駆動ローラ13aとアイドルローラ13b
との接触部分近傍には、用紙ガイド15a及び15b
が、それぞれ設けられている。
Paper guides 14a and 14b are provided in the vicinity of the contact portion between the drive roller 11a and the idle roller 11b, and the drive roller 13a and the idle roller 13b.
The paper guides 15a and 15b are provided near the contact portion with
Are provided respectively.

【0042】これら用紙ガイド14a、14b、15
a、15bにより印刷用紙Pの吸入及び排出がスムーズ
に行われるようになっている。
These paper guides 14a, 14b, 15
The suction and discharge of the printing paper P are smoothly performed by the a and 15b.

【0043】また、上記駆動ローラ11a及び13a
は、タイミングベルト16を介してラインフィードモー
タ17に接続されている。
The drive rollers 11a and 13a are also provided.
Are connected to a line feed motor 17 via a timing belt 16.

【0044】ラインフィードモータ17は、例えばステ
ッピングモータで構成され、パルス信号が与えられる都
度、所定の角度だけ回転される。このラインフィードモ
ータ17は、予めメモリ31(図3参照)に記憶された
励磁データに従って駆動される。励磁データは、上述し
たように、各ステップ間のインターバルを示す時間値を
有しており、該時間値に従ってラインフィードモータ1
7にパルス信号を与えることにより、加速又は減速の制
御ができるようになっている。
The line feed motor 17 is composed of, for example, a stepping motor and is rotated by a predetermined angle each time a pulse signal is given. The line feed motor 17 is driven according to the excitation data stored in the memory 31 (see FIG. 3) in advance. As described above, the excitation data has a time value indicating an interval between steps, and the line feed motor 1 has a time value according to the time value.
By giving a pulse signal to 7, acceleration or deceleration can be controlled.

【0045】さらに、駆動ローラ11aとアイドルロー
ラ11bとの接触部分近傍には、用紙検出レバー18と
透過型センサ20とで成るレバー式センサが設けられて
いる。このレバー式センサの構成及び動作については、
既に説明したので、ここでの説明は省略する。
Further, a lever type sensor composed of a sheet detection lever 18 and a transmission type sensor 20 is provided near the contact portion between the drive roller 11a and the idle roller 11b. Regarding the configuration and operation of this lever type sensor,
Since it has already been described, the description is omitted here.

【0046】図3は、上記のように構成されるプリンタ
装置の電気回路の概略構成を示すブロック図である。な
お、図では、本発明に直接関係する部分のみを示し、そ
の他の部分は省略してある。
FIG. 3 is a block diagram showing a schematic configuration of an electric circuit of the printer device configured as described above. It should be noted that, in the drawing, only portions directly related to the present invention are shown, and other portions are omitted.

【0047】図において、制御部30は、例えばマイク
ロプロセッサで構成されるものであり、当該プリンタ装
置の全体を制御するものである。この発明の特徴である
下端管理ステップ数の補正処理(詳細は後述する)も、
この制御部30で行われる。
In the figure, the control unit 30 is composed of, for example, a microprocessor, and controls the entire printer device. The correction process of the number of lower end management steps (details will be described later), which is a feature of the present invention,
This is performed by the control unit 30.

【0048】この制御部30には印字ヘッド13、ライ
ンフィードモータ17及びメモリ31が接続されてい
る。
The print head 13, line feed motor 17 and memory 31 are connected to the control unit 30.

【0049】印字ヘッド13は、既に説明したものと同
じであり、制御部30から送出される印字データに従っ
て駆動され、印刷用紙Pに所定の印刷を行うものであ
る。
The print head 13 is the same as that described above, and is driven in accordance with the print data sent from the control unit 30 to perform the predetermined printing on the print paper P.

【0050】ラインフィードモータ17も、既に説明し
たものと同じであり、ステッピングモータで構成され
る。このラインフィードモータ17は、制御部30によ
ってメモリ31から読み出された励磁データが与えられ
ることにより駆動制御される。
The line feed motor 17 is also the same as that already described, and is composed of a stepping motor. The line feed motor 17 is drive-controlled by the excitation data read from the memory 31 by the control unit 30.

【0051】透過型センサ20も、既に説明したものと
同じである。この透過型センサ20は、用紙検出レバー
18が発光素子から受光素子に至る光路を遮った時は、
例えば低電圧の信号を出力し、用紙検出レバー18が発
光素子から受光素子に至る光路から外れた時は、例えば
高電圧の信号を出力するものである。この透過型センサ
20の出力は制御部30に供給されるようになってい
る。
The transmission type sensor 20 is also the same as that already described. This transmissive sensor 20 is provided when the paper detection lever 18 blocks the optical path from the light emitting element to the light receiving element.
For example, when a low voltage signal is output and the paper detection lever 18 is out of the optical path from the light emitting element to the light receiving element, a high voltage signal is output. The output of the transmissive sensor 20 is supplied to the control unit 30.

【0052】上記の構成において、プリンタ装置の動作
につき、図4に示したフローチャートを参照しながら、
ペーパーエンド検出処理を主体に説明する。
With the above-mentioned structure, referring to the flowchart shown in FIG.
The paper end detection process will be mainly described.

【0053】用紙供給口(図2中、搬送路10の左端
側)から供給された印刷用紙Pは、ラインフィードモー
タ16により回転駆動される駆動ローラ11aと、これ
に圧接されて回転されるアイドルローラ11bとに挟ま
れて吸入され、搬送路10を図2中右側へ搬送される。
The print paper P supplied from the paper supply port (the left end side of the transport path 10 in FIG. 2) is driven by the line feed motor 16 and the drive roller 11a is rotated by pressing the drive roller 11a. It is sandwiched by the roller 11b and sucked, and is conveyed to the right side in FIG.

【0054】印刷用紙Pの搬送開始前は、用紙検出レバ
ー18は、自重で図示矢印A方向に回動された位置で静
止している。印刷用紙Pの搬送が進み、該印刷用紙Pが
用紙検出レバー18の一端部に当接すると、用紙検出レ
バー18の一端部が押し下げられ、支点19を中心に図
示矢印B方向へ回動される。
Before the conveyance of the printing paper P is started, the paper detection lever 18 is stationary at the position where it is rotated in the direction of arrow A in the figure by its own weight. When the printing paper P is conveyed further and comes into contact with one end of the paper detection lever 18, one end of the paper detection lever 18 is pushed down and rotated about the fulcrum 19 in the arrow B direction. .

【0055】これにより、用紙検出レバー18の他端部
は透過型センサ20から外れる。制御部30は、この透
過型センサ20からの信号を受け取ることにより、印刷
用紙Pが搬送路10に送られて来たことを感知する。
As a result, the other end of the paper detection lever 18 is disengaged from the transmissive sensor 20. The control unit 30 receives the signal from the transmissive sensor 20 to detect that the print sheet P has been sent to the transport path 10.

【0056】印刷用紙Pがさらに搬送され、その先端部
がプラテンローラ12と印字ヘッド13との間に至った
時に、制御部30からの指令により印字が行われる。
When the printing paper P is further conveyed and its leading end reaches between the platen roller 12 and the print head 13, printing is performed by a command from the control unit 30.

【0057】そして、印刷用紙Pの先端が駆動ローラ1
3aとアイドルローラ13bの接触部分に至ると、これ
ら駆動ローラ13a及びアイドルローラ13bの作用に
より、印刷用紙Pは、さらに搬送路10を図中右側へ搬
送される。
The leading edge of the printing paper P is the driving roller 1.
When reaching the contact portion between 3a and the idle roller 13b, the printing paper P is further transported to the right side in the drawing through the transport path 10 by the action of the driving roller 13a and the idle roller 13b.

【0058】かかる印刷用紙Pの搬送動作を行いながら
印字が行われる。かかる印字からペーパーエンド検出ま
での処理は以下のように行われる。
Printing is performed while the printing paper P is being conveyed. The processing from the printing to the paper end detection is performed as follows.

【0059】即ち、制御部30は、ラインフィードモー
タ17にパルス信号を与えることにより1ステップ分回
転させる(ステップS10)。このパルス信号は、前回
パルス信号を出力した時から、今回メモリ31から読み
出した励磁データに含まれる時間値に対応する時間が経
過したタイミングで与えられる。
That is, the control unit 30 rotates the line feed motor 17 by one step by applying a pulse signal (step S10). This pulse signal is given at the timing when the time corresponding to the time value included in the excitation data read from the memory 31 this time has elapsed since the last time the pulse signal was output.

【0060】次いで、履歴データの格納が行われる(ス
テップS11)。即ち、今回使用した励磁データを、メ
モリ31に形成された履歴バッファに格納する。この履
歴バッファは、例えばリングバッファとして構成され、
最新の履歴データをポインタで指すように制御される。
この履歴バッファの容量は、当該プリンタ装置が最も早
い速度で改行を行った場合に、印刷用紙Pが進み過ぎる
距離に相当するステップ数Lを格納できる容量に設定さ
れる。
Next, history data is stored (step S11). That is, the excitation data used this time is stored in the history buffer formed in the memory 31. This history buffer is configured as a ring buffer, for example,
It is controlled to point to the latest history data with a pointer.
The capacity of the history buffer is set to a capacity capable of storing the number of steps L corresponding to the distance over which the printing paper P has advanced when the printer performs a line feed at the fastest speed.

【0061】次いで、透過型センサ20がペーパーエン
ド(PE)を感知したか否かが調べられる(ステップS
12)。即ち、用紙検出レバー18の他端部が、透過型
センサ20の発光素子から受光素子に至る光路を遮った
か否かが調べられる。
Next, it is checked whether or not the transmissive sensor 20 has detected the paper end (PE) (step S).
12). That is, it is checked whether the other end of the paper detection lever 18 blocks the optical path from the light emitting element to the light receiving element of the transmissive sensor 20.

【0062】ここで、ペーパーエンド(PE)を感知し
ていないことが判断されると、ステップS10へ戻り、
上記と同様の動作を繰り返し実行する。
If it is determined that the paper end (PE) is not sensed, the process returns to step S10,
The same operation as above is repeatedly executed.

【0063】一方、上記ステップS12で透過型センサ
20がペーパーエンド(PE)を感知したことが判断さ
れると、補正ステップ数の算出が行われる。
On the other hand, when it is determined in step S12 that the transmissive sensor 20 has sensed the paper end (PE), the number of correction steps is calculated.

【0064】即ち、先ずポインタが示す内容、つまり時
間値をアキュムレータACCに累積加算する(ステップ
S13)。なお、アキュムレータACCは、初期状態で
はゼロにセットされているものとする。
That is, first, the content indicated by the pointer, that is, the time value is cumulatively added to the accumulator ACC (step S13). Note that the accumulator ACC is set to zero in the initial state.

【0065】次いで、補正ステップ数Lをインクリメン
トする(ステップS14)。この補正ステップ数Lも初
期状態ではゼロにセットされているものとする。
Then, the correction step number L is incremented (step S14). This correction step number L is also set to zero in the initial state.

【0066】次いで、時間tがアキュムレータACCに
記憶されている累積時間値より大きいか否かが調べられ
る(ステップS15)。ここで、時間tは、用紙検出レ
バー18が用紙有り状態から用紙無し状態に復帰するま
での時間(一定)であり、予めメモリ31に記憶されて
いるものである。
Then, it is checked whether or not the time t is larger than the accumulated time value stored in the accumulator ACC (step S15). Here, the time t is the time (constant) until the paper detection lever 18 returns from the paper present state to the paper no present state, and is stored in the memory 31 in advance.

【0067】上記ステップS15で、時間tがアキュム
レータACCに記憶されている累積時間値より大きいこ
とが判断されると、ポインタの値をデクリメントし(ス
テップS16)、その後ステップS13に戻って同様の
動作を繰り返す。
When it is determined in step S15 that the time t is larger than the cumulative time value stored in the accumulator ACC, the value of the pointer is decremented (step S16), and then the process returns to step S13 to perform the same operation. repeat.

【0068】この繰り返し実行の過程で、ステップS1
5で、時間tがアキュムレータACCに記憶されている
累積時間値より大きくないことが判断されると、ライン
フィードモータ17を「N−L」ステップ回転させる
(ステップS17)。
In the process of this repeated execution, step S1
When it is determined in 5 that the time t is not larger than the cumulative time value stored in the accumulator ACC, the line feed motor 17 is rotated by "N-L" steps (step S17).

【0069】即ち、上記累積時間値が時間tを越えた時
点では、当該時間tの間に制御部30が出力したパルス
数が、補正ステップ数Lとして得られているので、下端
管理ステップ数Nから補正ステップ数Lを減じたステッ
プ数だけラインフィードモータ17を回転させれば、図
5に示すように、正しいペーパーエンド(PE)位置が
検出されることになる(ステップS18)。
That is, when the cumulative time value exceeds the time t, the number of pulses output by the control unit 30 during the time t is obtained as the correction step number L, so the lower end management step number N When the line feed motor 17 is rotated by the number of steps obtained by subtracting the correction step number L from the above, the correct paper end (PE) position is detected as shown in FIG. 5 (step S18).

【0070】なお、上記ラインフィードモータ17を
「N−L」ステップ回転させる間に印字動作を行わせる
ことができるのは勿論である。
It is needless to say that the printing operation can be performed while the line feed motor 17 is rotated by "N-L" steps.

【0071】[0071]

【発明の効果】以上詳述したように、本発明によれば、
印刷用紙の移動速度に依存せずに常に正しいペーパーエ
ンド位置を認識することのできるペーパーエンド検出装
置を提供できる。
As described in detail above, according to the present invention,
It is possible to provide a paper end detection device that can always recognize the correct paper end position without depending on the moving speed of printing paper.

【0072】従って、広範囲な印字領域を設定しても、
用紙下端よりはみ出して印字が行われてしまうことに対
してもマージンが向上するという効果を有し、また、上
記ペーパーエンド検出装置を用いたプリンタ装置では、
用紙送りの速度を向上させることができるという効果を
有する。
Therefore, even if a wide print area is set,
There is an effect that the margin is improved even when the printing is performed by protruding from the lower end of the paper, and in the printer device using the paper end detection device,
There is an effect that the speed of paper feeding can be improved.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明のペーパーエンド検出装置を適用したプ
リンタ装置の実施例の構造を示す図である。
FIG. 2 is a diagram showing the structure of an embodiment of a printer device to which the paper end detection device of the present invention is applied.

【図3】本発明のペーパーエンド検出装置を適用したプ
リンタ装置の実施例の電気回路の構成を示すブロック図
である。
FIG. 3 is a block diagram showing a configuration of an electric circuit of an embodiment of a printer device to which the paper end detection device of the present invention is applied.

【図4】本発明の実施例の動作を示すフローチャートで
ある。
FIG. 4 is a flowchart showing the operation of the embodiment of the present invention.

【図5】本発明の実施例の動作を説明するための図であ
る。
FIG. 5 is a diagram for explaining the operation of the embodiment of the present invention.

【図6】本発明及び従来のペーパーエンド検出装置で用
いられるレバー式センサを説明するための図である。
FIG. 6 is a diagram for explaining a lever-type sensor used in the present invention and the conventional paper end detection device.

【図7】従来のペーパーエンド検出装置の動作を示すフ
ローチャートである。
FIG. 7 is a flowchart showing the operation of a conventional paper end detection device.

【図8】従来のペーパーエンド検出装置の動作を説明す
るための図である。
FIG. 8 is a diagram for explaining the operation of a conventional paper end detection device.

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

17 ステッピングモータ 18 用紙検出レバー(レバー式センサ) 20 透過型センサ(レバー式センサ) 30 制御部(制御手段) 31 メモリ(記憶手段) P 印刷用紙 17 Stepping Motor 18 Paper Detection Lever (Lever Type Sensor) 20 Transmissive Sensor (Lever Type Sensor) 30 Control Unit (Control Unit) 31 Memory (Storage Unit) P Printing Paper

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ステッピングモータ(17)で駆動される搬
送機構により搬送される印刷用紙(P) の終端をレバー式
センサ(18,20) で感知し、該感知時点から下端管理ステ
ップ数だけ進めた位置を印刷用紙(P) の終端部として検
出するペーパーエンド検出装置において、 前記ステッピングモータ(17)を駆動した際の励磁データ
の履歴を記憶する記憶手段(31)と、 前記レバー式センサ(18,20) で印刷用紙(P) の終端を感
知した際、前記記憶手段(31)に記憶されている励磁デー
タを参照して、前記レバー式センサ(18,20) のレバー(1
8)が用紙有り状態から用紙無し状態に復帰するまでの時
間に対応するステップ数を算出し、該ステップ数を用い
て前記下端管理ステップ数を補正する制御手段(30)とを
具備したことを特徴とするペーパーエンド検出装置。
1. A lever type sensor (18, 20) detects the end of a printing paper (P) conveyed by a conveying mechanism driven by a stepping motor (17), and advances from the detection time by the number of lower end control steps. In the paper end detection device for detecting the position of the end of the printing paper (P), the storage means (31) for storing the history of the excitation data when the stepping motor (17) is driven, and the lever type sensor ( When the end of the printing paper (P) is detected by (18,20), the excitation data stored in the storage means (31) is referred to and the lever (1) of the lever type sensor (18,20) is detected.
8) is provided with a control means (30) for calculating the number of steps corresponding to the time from the state with paper to returning to the state without paper, and correcting the number of lower end management steps using the number of steps. Characteristic paper end detection device.
【請求項2】 請求項1において、前記制御手段(30)
は、前記レバー式センサ(18,20) で印刷用紙(P) の終端
を感知した際、前記記憶手段(31)に記憶されている励磁
データに含まれる時間値を遡って累積加算し、この累積
加算結果が、前記レバー式センサ(18,20) のレバー(18)
が用紙有り状態から用紙無し状態に復帰するまでの時間
となった際に、前記累積加算した励磁データの数を補正
値として前記下端管理ステップ数から減ずることにより
新しい下端管理ステップ数とすることを特徴とするペー
パーエンド検出装置。
2. The control means (30) according to claim 1.
When the lever type sensor (18, 20) detects the end of the printing paper (P), the time value included in the excitation data stored in the storage means (31) is retroactively cumulatively added. The cumulative addition result is the lever (18) of the lever type sensor (18, 20).
When it is time to return from the state with paper to the state without paper, a new lower end control step number is obtained by subtracting the cumulatively added number of excitation data from the lower end control step number as a correction value. Characteristic paper end detection device.
JP27329992A 1992-10-13 1992-10-13 Paper end detection device Expired - Fee Related JP3288444B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27329992A JP3288444B2 (en) 1992-10-13 1992-10-13 Paper end detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27329992A JP3288444B2 (en) 1992-10-13 1992-10-13 Paper end detection device

Publications (2)

Publication Number Publication Date
JPH06122256A true JPH06122256A (en) 1994-05-06
JP3288444B2 JP3288444B2 (en) 2002-06-04

Family

ID=17525926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27329992A Expired - Fee Related JP3288444B2 (en) 1992-10-13 1992-10-13 Paper end detection device

Country Status (1)

Country Link
JP (1) JP3288444B2 (en)

Also Published As

Publication number Publication date
JP3288444B2 (en) 2002-06-04

Similar Documents

Publication Publication Date Title
EP0228789A2 (en) Process and apparatus for setting a cut printing sheet
JP4329540B2 (en) Tape printer
CA1284467C (en) Lining method and apparatus for printer
US5299873A (en) Carriage position control circuit for a serial printer
JP3288444B2 (en) Paper end detection device
JP2005096450A (en) Recording apparatus and control method for its recording medium conveyance
US7845753B2 (en) Image forming device, transporting control method, and computer-readable recording medium
JP3833156B2 (en) Recording apparatus and recording method
JPH0422668A (en) Printer fitted with paper width detector
JP2001341368A (en) Method for detecting trailing end of recording medium and recorder
JP2000038238A (en) Paper sheet conveying mechanism
JP2731460B2 (en) Left and right edge position detection method for printer paper
JP2894146B2 (en) Printer
JPS61228977A (en) Printer
JPH0289669A (en) Printer control system
KR19980037638A (en) How to prevent paper jam in printer and its device
JPH10291685A (en) Controlling device for paper end detection
JP2690899B2 (en) Recording device
JP2690759B2 (en) Recording device
JPH07276721A (en) Printer
JPH0958014A (en) Printer
JP2940290B2 (en) Image recording device
JP2005075545A (en) Printing apparatus and paper position detecting method
JPH06135078A (en) Printing apparatus
JP2937714B2 (en) Passbook processor

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080315

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090315

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090315

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100315

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees