JPH04112060A - Feed controller for printer - Google Patents

Feed controller for printer

Info

Publication number
JPH04112060A
JPH04112060A JP23356190A JP23356190A JPH04112060A JP H04112060 A JPH04112060 A JP H04112060A JP 23356190 A JP23356190 A JP 23356190A JP 23356190 A JP23356190 A JP 23356190A JP H04112060 A JPH04112060 A JP H04112060A
Authority
JP
Japan
Prior art keywords
paper
key
feeding
journal
paper feeding
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
JP23356190A
Other languages
Japanese (ja)
Inventor
Ryuichi Kimizu
木水 龍一
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP23356190A priority Critical patent/JPH04112060A/en
Publication of JPH04112060A publication Critical patent/JPH04112060A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controlling Sheets Or Webs (AREA)
  • Winding Of Webs (AREA)
  • Handling Of Sheets (AREA)
  • Handling Of Continuous Sheets Of Paper (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To make it possible to change a feeding by providing control means for changing the feeding speed in feed means when a time exceeding a time predetermined by count means for counting input time by a feed key is counted. CONSTITUTION:It is determined whether a pressing of a journal paper feed key 101 is continued or not. When the pressing of the key is completed, a high speed feeding is stopped. On the other hand, when the pressing of the key is continued, it is determined whether an output of a print detecting sensor 9 is inverted between white and black at a predetermined cycle in order to detect an end of the printing. When the printing is completed, the output of the print detecting sensor 9 becomes unchangeable and a white level is continued. In such a state, the feeding is stopped. Thus, when the journal paper feed key is pressed during a transaction, a printer feeds papers at low speed. When the pressing time exceeds 1.5 seconds, the papers, are fed at high speed.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、印字装置の紙送りを制御する紙送り制御装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a paper feed control device that controls paper feed in a printing device.

[従来の技術および発明が解決しようとする課題]従来
の電子式キャッシュレジスタ(以下ECRと称する)に
おけるプリンタの紙送り装置として、紙送りを高速で行
なうものと、低速で行なうものとが知られているが、高
速の紙送りと低速の紙送りを任意に切換えることができ
るECRはなかつた。
[Prior Art and Problems to be Solved by the Invention] As paper feeding devices for printers in conventional electronic cash registers (hereinafter referred to as ECR), there are known two types: one that feeds paper at high speed and one that feeds paper at low speed. However, there was no ECR that could arbitrarily switch between high-speed paper feed and low-speed paper feed.

このため、低速度で紙送りするECRでは、ロール紙を
取換えるときに、時間かかかり過ぎるという問題があり
、高速で紙送りをするECRでは、オペレータがジャー
ナルに覚書きをするときに、所望の位置でジャーナル用
紙を停止させることが困難なために、プリンタのフード
を開け、巻取軸を手で巻上げまたは巻戻ししなければな
らないという問題点があった。
For this reason, ECRs that feed paper at low speeds have a problem in that it takes too much time to change the roll paper, while ECRs that feed paper at high speeds have the problem that when an operator writes notes in a journal, it takes too much time to change the roll paper. Since it is difficult to stop the journal paper at this position, there is a problem in that the hood of the printer must be opened and the take-up shaft must be manually wound up or rewound.

また、従来のECRにおいて印字用のロール紙を取換え
るときには、新しいロール紙の先端部を手で巻取軸に取
付け、ロール紙が支障なく巻取れるように巻取軸を2〜
3回転させてロール紙を少し巻上げておく必要があり、
操作が煩雑であった。
In addition, when replacing the roll paper for printing in a conventional ECR, the tip of the new roll paper is attached to the take-up shaft by hand, and the take-up shaft is rotated 2 or 3 times so that the roll paper can be wound without any trouble.
It is necessary to wind up the roll paper a little by rotating it three times.
The operation was complicated.

それゆえに、この発明の目的は、紙送りの速度を変える
ことのできる印字装置の紙送り制御装置を提供すること
であり、また、印字用ロール紙を自動的に装填すること
のできる印字装置の紙送り制御装置を提供することであ
る。
Therefore, an object of the present invention is to provide a paper feed control device for a printing device that can change the paper feeding speed, and also to provide a paper feed control device for a printing device that can automatically load roll paper for printing. An object of the present invention is to provide a paper feed control device.

[課題を解決するための手段] 請求項(1)に係る発明は、印字用紙を予め定める速度
で送るための紙送り手段と、紙送り手段による紙送りを
指示するための紙送りキーと、紙送りキーのキー入力時
間を計時するための計時手段と、計時手段によって予め
定める時間を超える時間の計時が行なわれたとき、紙送
り手段の紙送り速度を変更する制御手段とを備えた、印
字装置の紙送り制御装置である。
[Means for Solving the Problem] The invention according to claim (1) includes: a paper feeding means for feeding printing paper at a predetermined speed; a paper feeding key for instructing paper feeding by the paper feeding means; comprising: a timer for measuring the key input time of the paper feed key; and a control means for changing the paper feed speed of the paper feeder when the timer measures a time that exceeds a predetermined time. This is a paper feed control device for a printing device.

請求項(2)に係る発明は、印字用のロール紙の巻取る
ために設けられ、ロール紙の先端の取付が可能な巻取手
段と、紙送りを指示するための紙送りキーと、紙送りキ
ーのキー信号に応答して、ロール紙を巻取手段方向に送
るように動作する紙送り手段と、ロール紙が送られてそ
の先端が巻取手段に取付けられるまでのロール紙の動き
を検知するための検知手段と、検知手段出力に応答して
、紙送り手段によるロール紙の紙送りを停止する制御手
段とを備えた印字装置の紙送り制御装置である。
The invention according to claim (2) is provided for winding up roll paper for printing, and includes a winding means to which the leading end of the roll paper can be attached, a paper feed key for instructing paper feed, and a paper feed key for instructing paper feed. A paper feeding means that operates to feed the roll paper in the direction of the winding means in response to a key signal from a feed key, and a paper feeding means that operates to feed the roll paper toward the winding means, and the movement of the roll paper until the leading end of the roll paper is attached to the winding means. This is a paper feed control device for a printing device, which includes a detection means for detection and a control means for stopping paper feeding of a roll paper by a paper feeding means in response to the output of the detection means.

[作用] 請求項(1)に係る発明では、紙送りキーが短時間だけ
押圧されると、通常の速度で紙送りが行なわれ、紙送り
キーが長時間連続的に押圧されると、通常の速度とは異
なる速度で紙送りが行なわれる。
[Operation] In the invention according to claim (1), when the paper feed key is pressed for a short time, paper is fed at a normal speed, and when the paper feed key is pressed continuously for a long time, the paper is fed at a normal speed. The paper is fed at a speed different from the speed of .

請求項(2)に係る発明では、紙送りキーの操作により
、印字用ロール紙は巻取手段方向に送られる。そして、
検知手段により、ロール紙の先端が巻取手段に装着され
るまでのロール紙の動きが検知され、ロール紙の装着終
了が検出される。ロール紙が巻取手段に装着されたこと
が検出されたとき、ロール紙の紙送りは停止される。
In the invention according to claim (2), the printing roll paper is sent toward the winding means by operating the paper feed key. and,
The detection means detects the movement of the roll paper until the leading end of the roll paper is attached to the winding means, and the end of the attachment of the roll paper is detected. When it is detected that the roll paper is attached to the winding means, feeding of the roll paper is stopped.

[発明の実施例コ 以下、この発明の一実施例として、ECRに内蔵された
印字装置について説明するが、この発明はECRに限ら
ず、印字用ロール紙を用いる印字装置であれば如何なる
ものにも適用できることを予め指摘しておく。
[Embodiment of the Invention] A printing device built into an ECR will be described below as an embodiment of the invention, but this invention is not limited to the ECR, but can be applied to any printing device that uses roll paper for printing. It should be pointed out in advance that this can also be applied.

第1図は、この発明の一実施例が適用されたECRの内
部構造を示す図である。第1図に示すように、この発明
の一実施例のECRでは、ロール状のジャーナル紙1が
用いられる。ECRのハウジング2の側面には、ジャー
ナル紙1を取換えるための扉3が設けられる。ジャーナ
ル紙1に取引データを印字するためにハウジング2内に
はプリンタ4が設けられる。プリンタ4はジャーナル紙
1を紙送りするための紙送りモータ41および印字を行
なうための印字ヘッド42を含む。
FIG. 1 is a diagram showing the internal structure of an ECR to which an embodiment of the present invention is applied. As shown in FIG. 1, a roll-shaped journal paper 1 is used in an ECR according to an embodiment of the present invention. A door 3 for replacing the journal paper 1 is provided on the side of the housing 2 of the ECR. A printer 4 is provided within the housing 2 to print transaction data on the journal paper 1. The printer 4 includes a paper feed motor 41 for feeding the journal paper 1 and a print head 42 for printing.

また、ハウジング2内には、ジャーナル紙1を巻取るた
めの巻取ドラム5が設けられる。巻取ドラム5に関連し
て、ジャーナル紙1が自動装填されるのを検知するため
の装填検知センサ6が設けられる。自動装填の検知方法
については後の第5図で説明する。巻取ドラム5とプリ
ンタ4との間には、オペレータがジャーナル紙1にメモ
を書込むための書込台7が設けられ、この書込台7に関
連して開閉自在なジャーナル紙書込窓8が設けられる。
Further, a winding drum 5 for winding up the journal paper 1 is provided within the housing 2 . A loading detection sensor 6 is provided in connection with the winding drum 5 to detect when the journal paper 1 is automatically loaded. A method for detecting automatic loading will be explained later in FIG. A writing table 7 for an operator to write notes on the journal paper 1 is provided between the winding drum 5 and the printer 4, and a journal paper writing window that can be opened and closed in relation to the writing table 7 is provided. 8 is provided.

さらに、書込台7には、ジャーナル紙1の印字状態を検
知するための印字検知センサ9が設けられる。ジャーナ
ル紙書込窓8の下方には、取引に関するデータを入力す
るためのキーボード10か設けられる。
Further, the writing table 7 is provided with a print detection sensor 9 for detecting the printing state of the journal paper 1. A keyboard 10 is provided below the journal paper writing window 8 for inputting data regarding transactions.

第2図は、第1図に示すキーボード10のキー配置を示
す図である。第2図において、キーボード10は、ジャ
ーナル紙1を巻取ドラム5の巻取方向に紙送りすること
を指示するためのジャーナル紙送りキー101と、ジャ
ーナル紙1をそれとは逆の方向に紙送りすることを指示
するための戻し送りキー102と、登録処理の際に商品
の部門コードを入力するための部門キー103と、商品
の金額データを入力するためのテンキー104と、入力
間違いをしたとき、データを無効化するためのVOID
キー105とを含む。
FIG. 2 is a diagram showing the key arrangement of the keyboard 10 shown in FIG. 1. In FIG. 2, the keyboard 10 includes a journal paper feed key 101 for instructing to feed the journal paper 1 in the winding direction of the winding drum 5, and a journal paper feed key 101 for instructing to feed the journal paper 1 in the opposite direction. a return key 102 for instructing to do so, a department key 103 for inputting the department code of the product during registration processing, and a numeric keypad 104 for inputting the price data of the product. , VOID to invalidate data
key 105.

第3図は、第1図に示すジャーナル書込台上を印字され
たジャーナルが送られている状態を示す図である。第3
図において、ジャーナル紙1には、商品の部門番号と金
額データとが1行ごとに印字されている。第1行から第
9行までは入力間違いなくデータが入力されているが、
第10行に入力されたデータには間違いかある。この場
合には、第2図に示すVOIDキー105を押圧すると
、その直前に入力されたデータか無効化される。無効デ
ータであることを示すために、ジャーナル紙1には第1
1行および第12行の印字が行なわれる。第11行に含
まれる領域Sは、入力間違いをしたオペレータがメモあ
るいはサインをするための領域である。策13行には、
入力された正しいデータが印字されている。印字データ
が印字されているか否かはジャーナル書込台7に設けら
れている印字検知センサ9により検出される。
FIG. 3 is a diagram showing a state in which a printed journal is being fed on the journal writing table shown in FIG. 1. Third
In the figure, a journal paper 1 has a product department number and price data printed on each line. From the 1st line to the 9th line, the data has been entered without any mistakes, but
There is probably a mistake in the data entered on line 10. In this case, when the VOID key 105 shown in FIG. 2 is pressed, the data input immediately before will be invalidated. To indicate that the data is invalid, journal paper 1 has the first
Printing of the 1st line and the 12th line is performed. The area S included in the 11th line is an area for an operator who makes an input error to write a memo or sign. In line 13 of the plan,
The correct data entered is printed. A print detection sensor 9 provided on the journal writing table 7 detects whether or not print data is printed.

第4図は、第3図に示す印字検知センサの検出出力を説
明するための図である。印字検知センサ9は、たとえば
フォトダイオードから構成されていて、反射光を検知す
る。したがって、ジャーナル紙1が装填されていない状
態では、“黒”に対応する信号(以下、黒レベル信号と
いう)を出力し、印字検知センサ9上にジャーナル紙1
がきたとき、反射光を検知して、“白”に対応する信号
(以下、白レベル信号という)を出力し、印字された部
分を検知した場合には、黒レベル信号を出力する。この
ようにして、印字検知センサ9はジャーナル紙1の有無
を検知するとともに、各行に印字データが印字されてい
るか否かを検出する。
FIG. 4 is a diagram for explaining the detection output of the print detection sensor shown in FIG. 3. The print detection sensor 9 is composed of, for example, a photodiode, and detects reflected light. Therefore, when the journal paper 1 is not loaded, a signal corresponding to "black" (hereinafter referred to as a black level signal) is output, and the journal paper 1 is displayed on the print detection sensor 9.
When a printed area is detected, the reflected light is detected and a signal corresponding to "white" (hereinafter referred to as a white level signal) is output, and when a printed area is detected, a black level signal is output. In this way, the print detection sensor 9 detects the presence or absence of the journal paper 1 and also detects whether print data is printed on each line.

第5図は、第1図に示す装填検知センサによるジャーナ
ル紙の装填検知方法を説明するための図である。第5図
において、装填検知センサ6は、たとえば6個のフォト
ダイオードを含む。
FIG. 5 is a diagram for explaining a method for detecting the loading of journal paper using the loading detection sensor shown in FIG. 1. FIG. In FIG. 5, the loading detection sensor 6 includes, for example, six photodiodes.

ジャーナル紙1はカールした状態で送られてくる。紙送
りの進行に伴って、ジャーナル紙1の先端位置はP1→
P2→P3→P4→P5のように移動する。ジャーナル
紙1の先端がPlからP5まで移動するのに伴ってジャ
ーナル紙1はフォトダイオード62.63.64および
65の前面をその配列率に横切る。そして、ジャーナル
紙1の先端が巻取ドラム5の巻取軸51に自動的に装着
されて巻取ドラム5に巻取られると、ジャーナル紙1は
上述の場合と反対に、フォトダイオード65.64.6
3の前面をこの順番で横切り、最終的にフォトダイオー
ド62の前面を横切る状態となる。ジャーナル紙1がフ
ォトダイオードの前面を横切ると、遮光するために、フ
ォトダイオードの出力は変化する。したがって、各フォ
トダイオードの検出出力に基づいて、ジャーナル紙1が
装填されたことを検知することができる。
Journal paper 1 is sent in a curled state. As paper feeding progresses, the leading edge position of journal paper 1 changes from P1→
It moves like P2→P3→P4→P5. As the leading edge of the journal paper 1 moves from P1 to P5, the journal paper 1 traverses the front surface of the photodiodes 62, 63, 64 and 65 at the arrangement rate. Then, when the leading edge of the journal paper 1 is automatically attached to the winding shaft 51 of the winding drum 5 and wound onto the winding drum 5, the journal paper 1 is moved to the photodiode 65, 64, contrary to the above case. .6
3 in this order, and finally crosses the front surface of the photodiode 62. When the journal paper 1 crosses the front surface of the photodiode, the output of the photodiode changes because it blocks light. Therefore, it is possible to detect that the journal paper 1 is loaded based on the detection output of each photodiode.

第6図は、この発明の一実施例の主な電気的構成を示す
概略ブロック図である。第6図において、ECRには紙
送り制御を行なうためのCPUIIが設けられる。CP
UI 1には、主な構成として、上述のキーボード10
9紙送りモータ41.印字ヘッド42.印字検知センサ
9および装填検知センサ6のほか、ROM12.RAM
13およびタイマ14が接続される。ROM12には後
で説明する第8A図ないし東8B図に示すフロー図に基
づ< CPUI 1の動作プログラムが格納される。
FIG. 6 is a schematic block diagram showing the main electrical configuration of an embodiment of the present invention. In FIG. 6, the ECR is provided with a CPU II for controlling paper feeding. C.P.
The UI 1 includes the above-mentioned keyboard 10 as its main configuration.
9 paper feed motor 41. Print head 42. In addition to the print detection sensor 9 and the loading detection sensor 6, the ROM 12. RAM
13 and timer 14 are connected. The ROM 12 stores an operating program of < CPUI 1 based on the flowcharts shown in FIGS. 8A to 8B, which will be explained later.

RAM13は、一定時間ごとにサンプリングされた印字
検知センサの出方を記憶するエリアを含む。
The RAM 13 includes an area for storing the appearance of the print detection sensor sampled at regular intervals.

タイマ14は、キーボード10のジャーナル紙送りキー
101のキー押圧時間を計時する機能を有する。
The timer 14 has a function of measuring the key press time of the journal paper feed key 101 of the keyboard 10.

第7A図は、第2図に示すジャーナル紙送りキーがキー
入力されたときの印字検知センサなどの出力波形を示す
図であり、第7B図は、ジャーナル紙を巻取ドラムに装
填するときの印字検知センサおよび装填検知センサなど
の出力波形を示す図である。
FIG. 7A is a diagram showing the output waveform of the print detection sensor, etc. when the journal paper feed key shown in FIG. FIG. 3 is a diagram showing output waveforms of a print detection sensor, a loading detection sensor, and the like.

第8A図および第8B図は、この発明の一実施例の動作
を説明するためのフロー図である。
FIGS. 8A and 8B are flowcharts for explaining the operation of one embodiment of the present invention.

次に、第1図ないし第8B図を参照して、この発明の一
実施例の動作について説明する。まず、紙送り速度を変
更する際の動作について説明する。
Next, the operation of one embodiment of the present invention will be described with reference to FIGS. 1 to 8B. First, the operation when changing the paper feed speed will be explained.

ステップS1において、ジャーナル紙送りキー101が
押圧されると、ステップS2において、戻し送りキー1
02が紙送りキーと同時に押圧されているか否かが判別
される。双方のキーがともに押圧されている場合には、
ステップS5に進み、ジャーナル紙1は1行だけ巻戻す
方向に紙送りされる。
When the journal paper feed key 101 is pressed in step S1, the return feed key 1 is pressed in step S2.
It is determined whether or not 02 is pressed at the same time as the paper feed key. If both keys are pressed,
Proceeding to step S5, the journal paper 1 is fed in the direction of rewinding by one line.

一方、ジャーナル紙送りキー101のみが押圧されてい
る場合には、ステップS3に進み、キーが単発入力され
たかどうかか判別される。ここで、単発入力とは、キー
の押圧時間かたとえば200m5以下の場合をいう。第
7A図に示すように、単発キー入力が行なわれると、ス
テップS4に進み、ジャーナル紙は1行だけ紙送りされ
る。このときの紙送りの方向は、プリンタ4から巻取ド
ラム5に向かう方向である。印字検知センサ9の出力は
、印字された行がセンサ上にあるときには黒レベルとな
り、紙送りの間、印字行間の余白部分がセンサ上にある
ときには白レベルとなる。なお、紙送りが行なわれると
き、ロール紙1に一定の張力がかかるように巻取ドラム
5には回転力が与えられるようになっている。
On the other hand, if only the journal paper feed key 101 is pressed, the process advances to step S3, where it is determined whether a single key input has been made. Here, a single input refers to a case where the key press time is, for example, 200 m5 or less. As shown in FIG. 7A, when a single key input is performed, the process advances to step S4, and the journal paper is fed by one line. The direction of paper feeding at this time is from the printer 4 to the winding drum 5. The output of the print detection sensor 9 is at a black level when a printed line is on the sensor, and at a white level when a margin between printed lines is on the sensor during paper feeding. Note that when paper is fed, rotational force is applied to the winding drum 5 so that a constant tension is applied to the roll paper 1.

ステップS3において、単発入力でないことが判別され
た場合には、ステップS6に進み、メモIJ M 1〜
Mnに印字検知センサ9の出力を順次記憶するために、
nの値が“1mにセットされる。
If it is determined in step S3 that it is not a single input, the process advances to step S6, and the memo IJ M 1 to
In order to sequentially store the output of the print detection sensor 9 in Mn,
The value of n is set to "1m.

ステップS7では、印字検知センサ9の出力が読取られ
る。ステップS8では、読取られた出力値がメモリMn
に記憶される。いまの場合には、n=1であるので、メ
モリM1に記憶される。続いて、ステップS9では、1
行だけ紙送りが行なわれる。
In step S7, the output of the print detection sensor 9 is read. In step S8, the read output value is stored in the memory Mn.
is memorized. In this case, since n=1, it is stored in the memory M1. Subsequently, in step S9, 1
Paper is fed only by line.

続いて、ステップSIOでは、この紙送り中に印字検知
センサ9の出力が変化するか否かが判別される。紙送り
中に印字検知センサ9の出力が変化した場合には、それ
は取引データが行ごとに印字されていることを意味する
ので、取引中における紙送り動作であると判定される。
Subsequently, in step SIO, it is determined whether or not the output of the print detection sensor 9 changes during this paper feeding. If the output of the print detection sensor 9 changes during paper feeding, this means that transaction data is printed line by line, and therefore it is determined that the paper feeding operation is occurring during a transaction.

一方、紙送り中に印字検知センサ9の出力に変化がなけ
れば、それは、ジャーナル紙が装填されていない状態か
あるいは印字を行うことなく紙送りが行なわれている状
態かのいずれかの状態である。そのどちらの状態である
かを判別するために、ステップSllにおいて、各メモ
リMの記憶内容が黒レベルであるか否かが判別される。
On the other hand, if there is no change in the output of the print detection sensor 9 while paper is being fed, this means that either journal paper is not loaded or paper is being fed without printing. be. In order to determine which state it is in, in step Sll it is determined whether the stored contents of each memory M are at the black level.

各メモリMの記憶内容が黒レベルであれば、ジャーナル
紙の装填操作であると判定され、各メモリMの記憶内容
が白レベルであれば、印字のない状態で紙送りされてい
るものと判定される。いまの場合は、取引中の紙送りを
行なっているものとする。
If the stored content of each memory M is at a black level, it is determined that the journal paper is being loaded, and if the stored content of each memory M is at a white level, it is determined that the paper is being fed without printing. be done. In the present case, it is assumed that paper is being sent during a transaction.

続いて、ステップS12において、ジャーナル紙送りキ
ー101の押圧が継続されているか否かが判別される。
Subsequently, in step S12, it is determined whether or not the journal paper feed key 101 is continued to be pressed.

キーの押圧が継続されていなければ、動作を終了するが
、キーの押圧が継続されていれば、ステップS13に進
み、キーの押圧時間が1.5秒を超えたか否かが判別さ
れる。
If the key press is not continued, the operation ends, but if the key press is continued, the process advances to step S13, where it is determined whether the key press time exceeds 1.5 seconds.

キーの押圧時間が1.5秒を超えていなければ、ステッ
プS14において、nの値が1だけインクリメントされ
、ステップS7に戻る。キーの押圧時間が1゜5秒を超
えるまで、ステップS7〜S14の動作が繰返し行なわ
れる。この間に、プリンタ4は第7A図に示すように、
低速の紙送りを行なう。
If the key press time does not exceed 1.5 seconds, the value of n is incremented by 1 in step S14, and the process returns to step S7. The operations of steps S7 to S14 are repeated until the key press time exceeds 1.5 seconds. During this time, the printer 4, as shown in FIG. 7A,
Feed paper at low speed.

ジャーナル紙送りキー101の押圧時間が1゜5秒を超
えたとき、ステップS15において、プリンタ4に内蔵
された紙送りモータ41の回転速度が上げられ、高速紙
送りが開始される。続いて、ステップS16において、
取引中の紙送り動作であるか否かが判別される。いまの
場合には、取引中の紙送り動作であるため、ステップS
16からステップS17に進む。ステップS17では、
紙送り中所定の周期で印字検知センサ9の出力がサンプ
リングされる。この所定周期は、たとえば各印字行と印
字行間の中央部分をサンプリングするタイミングにセッ
トされる。すなわち、印字行。
When the pressing time of the journal paper feed key 101 exceeds 1.5 seconds, the rotational speed of the paper feed motor 41 built into the printer 4 is increased in step S15, and high-speed paper feeding is started. Subsequently, in step S16,
It is determined whether or not the paper feeding operation is during a transaction. In this case, since this is a paper feeding operation during a transaction, step S
16, the process advances to step S17. In step S17,
The output of the print detection sensor 9 is sampled at a predetermined period during paper feeding. This predetermined cycle is set, for example, at the timing of sampling each print line and the central portion between the print lines. i.e. the print line.

余白部、印字行の順でサンプリングが行なわれる。Sampling is performed in the order of margins and printed lines.

印字検知センサ9の出力のサンプリング結果は、第7A
図に示すように、高速紙送り動作におけるプリンタ4の
動作と同期した波形となる。
The sampling result of the output of the print detection sensor 9 is the 7th A.
As shown in the figure, the waveform is synchronized with the operation of the printer 4 during high-speed paper feeding operation.

続いて、ステップS18では、ジャーナル紙送りキー1
01の押圧が継続されているか否かが判別され、キーの
押圧が終了している場合には、ステップS20に進み、
高速紙送りは停止される。
Subsequently, in step S18, journal paper feed key 1 is pressed.
It is determined whether or not the pressing of the key 01 is continued, and if the pressing of the key has ended, the process advances to step S20;
High speed paper feed is stopped.

一方、キーの押圧が継続されている場合には、印字の終
端を検出するために、ステップS19において、印字検
知センサ9の出力が所定周期で白黒反転しているかどう
かが判別される。印字が終了していれば、印字検知セン
サ9の出力は変化しなくなり、白レベルが継続する。こ
の状態になった場合には、印字か終了しているので、ス
テップS20において、紙送りは停止される。
On the other hand, if the key continues to be pressed, in order to detect the end of printing, it is determined in step S19 whether the output of the print detection sensor 9 is inverted in black and white at a predetermined period. If printing is completed, the output of the print detection sensor 9 will not change and the white level will continue. In this state, printing has been completed, so paper feeding is stopped in step S20.

以上のようにして、この実施例では、取引中にジャーナ
ル紙送りキーが押圧されると、プリンタは低速紙送りを
行ない、この押圧時間が1.5秒を超えると、高速紙送
りを行なう。
As described above, in this embodiment, when the journal paper feed key is pressed during a transaction, the printer performs low speed paper feed, and when this press time exceeds 1.5 seconds, high speed paper feed is performed.

次に、ジャーナル紙を装填する際の動作について説明す
る。
Next, the operation when loading journal paper will be explained.

ECRのハウジング2の扉3を開けて、新たなジャーナ
ル紙を挿入し、プリンタ4にセットする。
Open the door 3 of the ECR housing 2, insert a new journal paper, and set it in the printer 4.

この状態で、ジャーナル紙送りキー101が押圧される
と、ステップS1からステップS2に進み、戻し送りキ
ー102と併用されたか否かが判別される。いまの場合
は、ジャーナル紙送りキー101のみが押圧されている
ので、ステップS3に進む。ステップS3では、単発入
力であるか否かが判別される。いまの場合はジャーナル
紙を装填するためにジャーナル紙送りキー101は比較
的長い時間押圧され続ける。したがって、ステップS3
からステップS6に進む。ステップS6では、nの値か
1にセットされ、ステップS7において、印字検知セン
サ9の出力が読取られる。このとき、印字検知センサ9
の位置には、ジャーナル紙1が送られてきていないので
、印字検知センサ9の出力は黒レベルである。したがっ
て、ステップS8ではメモリM1に黒レベルが記憶され
る。続いて、ステップS9では、1行だけ紙送りが行な
われる。
In this state, when the journal paper feed key 101 is pressed, the process advances from step S1 to step S2, and it is determined whether or not the journal paper feed key 101 is used in combination with the return feed key 102. In the present case, only the journal paper feed key 101 is pressed, so the process advances to step S3. In step S3, it is determined whether the input is a single input. In this case, the journal paper feed key 101 continues to be pressed for a relatively long time in order to load the journal paper. Therefore, step S3
The process then proceeds to step S6. In step S6, the value of n is set to 1, and in step S7, the output of the print detection sensor 9 is read. At this time, the print detection sensor 9
Since the journal paper 1 has not been sent to the position, the output of the print detection sensor 9 is at the black level. Therefore, in step S8, the black level is stored in the memory M1. Subsequently, in step S9, paper is fed by one line.

続いて、ステップSIOでは、紙送り中に印字検知セン
サ9の出力が変化したか否かが判別されるが、印字検知
センサ9の位置にジャーナル紙1が送られてくるまでは
、印字検知センサ9の出力は黒レベルを継続するので、
出力は変化しないと判定される。したがって、ステップ
SIOからステップSllに進み、メモリM1が黒レベ
ルであることが判別される。続いて、ステップSL2に
おいて、ジャーナル紙送りキーの押圧が継続されている
か否かが判別され、続いて、ステップS13において、
キーの押圧時間が1.5秒を超えたか否かが判別される
。1.5秒以下であれば、ステップS14に進み、nが
1だけインクリメントされる。このようにして、ステッ
プ87〜S14が繰返され、キーの押圧時間が165秒
を超えるまでは、第7B図に示すように、低速紙送りが
行なわれる。
Next, in step SIO, it is determined whether or not the output of the print detection sensor 9 has changed during paper feeding.However, until the journal paper 1 is fed to the position of the print detection sensor 9, Since the output of continues the black level,
It is determined that the output does not change. Therefore, the process advances from step SIO to step Sll, where it is determined that the memory M1 is at the black level. Next, in step SL2, it is determined whether or not the journal paper feed key is continued to be pressed, and then, in step S13,
It is determined whether the key press time exceeds 1.5 seconds. If it is 1.5 seconds or less, the process advances to step S14, where n is incremented by 1. In this way, steps 87 to S14 are repeated, and until the key press time exceeds 165 seconds, low-speed paper feeding is performed as shown in FIG. 7B.

ジャーナル紙送りキー101の押圧時間が1゜5秒を超
えたとき、ステップS15に進み、高速紙送りが開始さ
れる。続いて、ステップS16において、取引中の紙送
りか否かが判別されるが、いまの場合は、高速紙送りを
開始する直前におけるステップS11において、メモリ
M1〜Mnがすべて黒レベルであるので、取引中の紙送
りではないことが判定される。したがって、ステップ8
16からステップS21に進む。ステップS21では、
印字検知センサ9の出力が連続した黒レベルから白レベ
ルに変化したか否かが判別される。
When the pressing time of the journal paper feed key 101 exceeds 1.5 seconds, the process advances to step S15, and high-speed paper feeding is started. Subsequently, in step S16, it is determined whether paper feeding is in progress or not, but in this case, since the memories M1 to Mn are all at the black level in step S11 immediately before starting high-speed paper feeding, It is determined that the paper is not being sent during a transaction. Therefore, step 8
16, the process proceeds to step S21. In step S21,
It is determined whether the output of the print detection sensor 9 has changed from a continuous black level to a white level.

ジャーナル紙1が紙送りされ、ジャーナル紙1の先端が
印字検知センサ9の位置に到達すると、反射光のために
印字検知センサ9の出力は黒レベルから白レベルに変化
する。この変化があった後、ステップS22において、
装填検知センサ6の出力がチエツクされる。ジャーナル
紙1が書込台7を通過して、さらに巻取ドラム5の方向
に紙送りされると、第5図で説明したように、フォトダ
イオード62,63,64.65の順で遮光されたこと
が検知される。ジャーナル紙1が巻取ドラム5の巻取軸
に自動的に装着され、巻取ドラム5に巻取られると、今
度はフォトダイオード65,64.63.62の順で遮
光されたことが検知される。このような出力の変化が検
知されると、装填が完了したものと判定される。ステッ
プS23において、装填完了が検知された場合には、ス
テップS20に進み、高速紙送りは停止される。
When the journal paper 1 is fed and the leading edge of the journal paper 1 reaches the position of the print detection sensor 9, the output of the print detection sensor 9 changes from the black level to the white level due to the reflected light. After this change occurs, in step S22,
The output of the loading detection sensor 6 is checked. When the journal paper 1 passes the writing table 7 and is further fed in the direction of the take-up drum 5, as explained in FIG. detected. When the journal paper 1 is automatically attached to the winding shaft of the winding drum 5 and wound onto the winding drum 5, the photodiodes 65, 64, 63, and 62 detect that the light is blocked in this order. Ru. When such a change in output is detected, it is determined that loading has been completed. If loading completion is detected in step S23, the process advances to step S20, and high-speed paper feeding is stopped.

このようにして、ジャーナル紙送りキー101を押圧す
るだけで、紙送り、ジャーナル紙の装填および紙送りの
停止が行なわれる。
In this way, simply by pressing the journal paper feed key 101, paper feeding, loading of journal paper, and stopping of paper feeding are performed.

[発明の効果コ 以上のように、この発明によれば、紙送りキーが短時間
だけ押圧されると通常の速度で紙送りが行なわれ、紙送
りキーが長時間連続的に押圧されると、通常の速度とは
異なる速度で紙送りが行なわれるので、必要に応じて紙
送りの速度を変えることができ、操作性か向上する。ま
た、紙送りキーを押圧するだけでジャーナル紙の装填か
自動的に行なわれるので、省力化か図れる。
[Effects of the Invention] As described above, according to the present invention, paper is fed at the normal speed when the paper feed key is pressed for a short time, and when the paper feed key is pressed continuously for a long time. Since the paper is fed at a speed different from the normal speed, the paper feeding speed can be changed as required, improving operability. Further, since journal paper is automatically loaded simply by pressing the paper feed key, labor can be saved.

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

第1図はこの発明の一実施例が適用されたECRの内部
構造を示す図である。第2図は第1図に示すキーボード
のキー配置を示す図である。第3図は第1図に示すジャ
ーナル紙書込台上を印字されたジャーナルが送られてい
る状態を示す図である。第4図は第3図に示す印字検知
センサの検知出力を説明するための図である。策5図は
第1図に示す装填検知センサによるジャーナル紙の装填
検知方法を説明するための図である。第6図はこの発明
の一実施例の主な電気的構成を示す概略ブロック図であ
る。第7A図は第2図に示すジャーナル紙送りキーがキ
ー入力されたときの印字検知センサなどの出力波形を示
す図である。第7B154はジャーナル紙を巻取ドラム
に装填するときの印字検知センサおよび装填検知センサ
などの出力波形を示す図である。第8A図および第8B
図はこの発明の一実施例の動作を説明するためのフロー
図である。 図において、1はジャーナル紙、4はプリンタ、5は巻
取ドラム、6は装填検知センサ、9は印字検知センサ、
10はキーボード、11はCPU。 12はROM、13はRAM、14はタイマ、41は紙
送りモータ、51は巻取軸、61.62゜63.64.
65および66はフォトダイオード、101はジャーナ
ル紙送りキーを示す。 第1目 ECRn@di、図 第2 図  キー的己1図 第3図 す:v−i+L紳φ「lノ′4状、態1詭明図第6図 1ら化汀ワ#Aり別taブロッフ図 第8A図
FIG. 1 is a diagram showing the internal structure of an ECR to which an embodiment of the present invention is applied. FIG. 2 is a diagram showing the key arrangement of the keyboard shown in FIG. 1. FIG. 3 is a diagram showing a state in which a printed journal is being fed on the journal paper writing table shown in FIG. 1. FIG. 4 is a diagram for explaining the detection output of the print detection sensor shown in FIG. 3. Solution 5 FIG. 5 is a diagram for explaining a method of detecting the loading of journal paper using the loading detection sensor shown in FIG. 1. FIG. 6 is a schematic block diagram showing the main electrical configuration of an embodiment of the present invention. FIG. 7A is a diagram showing the output waveform of the print detection sensor, etc. when the journal paper feed key shown in FIG. 2 is pressed. 7B154 is a diagram showing output waveforms of the print detection sensor, loading detection sensor, etc. when journal paper is loaded onto the winding drum. Figures 8A and 8B
The figure is a flow diagram for explaining the operation of an embodiment of the present invention. In the figure, 1 is a journal paper, 4 is a printer, 5 is a winding drum, 6 is a loading detection sensor, 9 is a print detection sensor,
10 is a keyboard, 11 is a CPU. 12 is a ROM, 13 is a RAM, 14 is a timer, 41 is a paper feed motor, 51 is a winding shaft, 61.62°63.64.
65 and 66 are photodiodes, and 101 is a journal paper feed key. 1st ECRn@di, Figure 2 Figure 2 Key self 1 Figure 3: v-i+L ta Bloch diagram Figure 8A

Claims (2)

【特許請求の範囲】[Claims] (1)印字装置の紙送りを制御する装置であって、 印字用紙を予め定める速度で送るための紙送り手段と、 前記紙送り手段による紙送りを指示するための紙送りキ
ーと、 前記紙送りキーのキー入力時間を計時するための計時手
段と、 前記計時手段によって、予め定める時間を超える時間の
計時が行なわれたとき、前記紙送り手段の紙送り速度を
変更する制御手段とを備えた、印字装置の紙送り制御装
置。
(1) A device for controlling paper feeding of a printing device, comprising a paper feeding means for feeding the printing paper at a predetermined speed, a paper feeding key for instructing the paper feeding means to feed the paper, and the paper A timer for measuring a key input time of a feed key, and a control means for changing a paper feeding speed of the paper feeding means when the timer measures a time exceeding a predetermined time. Also, the paper feed control device for the printing device.
(2)印字装置の紙送りを制御する装置であって、 印字用のロール紙を巻取るために設けられ、前記ロール
紙の先端の取付が可能な巻取手段と、紙送りを指示する
ための紙送りキーと、 前記紙送りキーのキー信号に応答して、前記ロール紙を
前記巻取手段方向に送るように動作する紙送り手段と、 前記ロール紙の先端が前記巻取手段に取付けられるまで
の前記ロール紙の動きを検知するための検知手段と、 前記検知手段出力に応答して、前記紙送り手段による前
記ロール紙の紙送りを停止する制御手段とを備えた、印
字装置の紙送り制御装置。
(2) A device for controlling paper feeding of a printing device, which is provided for winding up a roll paper for printing, and includes a winding means to which the leading end of the roll paper can be attached, and a winding means for instructing paper feeding. a paper feeding key; a paper feeding means that operates to feed the rolled paper toward the winding means in response to a key signal from the paper feeding key; a leading end of the rolled paper is attached to the winding means; A printing device comprising: a detection means for detecting the movement of the roll paper until it is moved; and a control means for stopping the paper feeding of the roll paper by the paper feeding means in response to the output of the detection means. Paper feed control device.
JP23356190A 1990-09-03 1990-09-03 Feed controller for printer Pending JPH04112060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23356190A JPH04112060A (en) 1990-09-03 1990-09-03 Feed controller for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23356190A JPH04112060A (en) 1990-09-03 1990-09-03 Feed controller for printer

Publications (1)

Publication Number Publication Date
JPH04112060A true JPH04112060A (en) 1992-04-14

Family

ID=16957000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23356190A Pending JPH04112060A (en) 1990-09-03 1990-09-03 Feed controller for printer

Country Status (1)

Country Link
JP (1) JPH04112060A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013163335A (en) * 2012-02-13 2013-08-22 Seiko Epson Corp Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013163335A (en) * 2012-02-13 2013-08-22 Seiko Epson Corp Image forming apparatus

Similar Documents

Publication Publication Date Title
US5938354A (en) Image forming apparatus
JPS6079998A (en) Page turn-over device for booklets
JPH0326657B2 (en)
JPH04112060A (en) Feed controller for printer
JPH06286239A (en) Method for processing of label printing in label printer
JPH02117871A (en) Printer
JP2848062B2 (en) Paper size detection device
JP2708968B2 (en) Printing device
JP2667705B2 (en) Magnetic stripe processing device
JPH05112037A (en) Printer device
JP2706579B2 (en) Journal paper feeder
JP3219919B2 (en) Data setting registration device for time clock
JPS5826586B2 (en) electronic cash register
JP3485804B2 (en) Printing device
KR0159892B1 (en) Ribbon cassette coiling device and driving method of cash register
JPS63268677A (en) Label printer
JPH0453782A (en) Printer
JP3412299B2 (en) Ticket length detection method for tack seal ticket vending machines
JPH0686131B2 (en) Print media cutting device
JPS59165669A (en) Dispenser for slip
JPH0691960A (en) Recording device
JPH07329451A (en) Automatic page feed mechanism
JPH05193228A (en) Printing device in slip printer
JPH04319470A (en) Printer
JPS592875A (en) Detection system of near end