JPS5882780A - Recording paper detector for printer - Google Patents

Recording paper detector for printer

Info

Publication number
JPS5882780A
JPS5882780A JP18142981A JP18142981A JPS5882780A JP S5882780 A JPS5882780 A JP S5882780A JP 18142981 A JP18142981 A JP 18142981A JP 18142981 A JP18142981 A JP 18142981A JP S5882780 A JPS5882780 A JP S5882780A
Authority
JP
Japan
Prior art keywords
recording paper
detection signal
becomes
printing
paper sensor
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
JP18142981A
Other languages
Japanese (ja)
Inventor
Tsutomu Sato
勉 佐藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP18142981A priority Critical patent/JPS5882780A/en
Publication of JPS5882780A publication Critical patent/JPS5882780A/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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/46Applications of alarms, e.g. responsive to approach of end of line
    • B41J29/48Applications of alarms, e.g. responsive to approach of end of line responsive to breakage or exhaustion of paper or approach of bottom of paper

Abstract

PURPOSE:To simplify the treatment of host side by sending out a recording paper end signal corrected for the length to a print allowable position from a counting means on the basis of the final detection signal from a recording paper sensor provided at the stage behind the printing position. CONSTITUTION:A recording paper 1 is detected by a recording paper sensor 5 consisting of a photo diode and a photo transistor, provided at the stage A behind a printing position P. When recording paper exists, the detection signal X becomes ''1'', but when no recording paper exists, it becomes ''0''. As printing starts, a vertical spacing number corresponding to the length (l) from the position of the recording paper sensor 5 to the print allowable position B is preset in mu CPU11 functioning as a counter and a final detection signal X(=0) from the recording paper sensor 5 is put in the I of I/O port, whereupon the count is deducted and the count content is line-fed until 0 is reached. When the count content becomes ''0'', the output of the ''0'' of the I/O port becomes ''0'' and a recording paper end signal Z is sent through an OR gate 12 to the host side.

Description

【発明の詳細な説明】 本発明は、プリンタの記録紙有無検出装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a recording paper presence/absence detection device for a printer.

第1図は一般的なプリンタの記録紙に関係する略図を示
すものでめシ、記録紙(1)はプラテン(2)とペーパ
ーペイルローラ(3)とにより矢印方向に送られる。こ
こで、インクジェット方式等のプリンタでは印字位置P
に記録紙(1)が無いときにその印字ヘッド(4)で印
字すると、プラ゛テン(2)をインクで汚すことになる
ので、記録紙(1)の有無を検出する記録紙センサー(
5)を設けているものである。この場合、記録紙センサ
ー(5)の取付は位置としては記録紙(1) K印字で
きるぎりぎりの印字許容位置、たと、ttfペーパーペ
イルローラ(3)とガイド(6)で押えられるぎりぎ9
の位置Bに取付けるのが理想的である。ところが、印字
ヘッド(4)、ガイド(6)等の制約を受は位置、BK
取付けることは不可能でToシ、実際にはAで示すよう
な位置に記録紙センサー(5)を取付けているものであ
る。これにより、印字動作が進み、記録紙(1)の終端
が位置Aまでくるとこれが記録紙センサー(5)により
検出されるととKなるが、本来検出すべき位置Bとは長
さ1労連れた位置であり、記録紙センサー(5)の検出
出力をそのまま記録紙エンド信号として用いることはで
きず、この長さ1分をμCPU 、カウンタ等により計
数しなければならない。しかし、第2図に示すようにプ
リンタ(7) t−コンピュータ等のホスト(8)と接
続スるときには、この長さ1分の計数をプリンタ(7)
llとホスト(8)側との双方で行ない、それぞれ処理
しているものであり、ホスト(8)側の処理が複雑とな
る。
FIG. 1 shows a schematic diagram related to recording paper in a general printer. Recording paper (1) is fed in the direction of the arrow by a platen (2) and a paper pail roller (3). Here, in printers such as inkjet printers, the print position P
If you print with the print head (4) when there is no recording paper (1) in the printer, the platen (2) will be smeared with ink, so the recording paper sensor (
5). In this case, the recording paper sensor (5) should be installed on the recording paper (1) at the most permissible position where K can be printed, and at the 9th position where it can be held down by the TTF paper pail roller (3) and guide (6).
Ideally, it should be installed in position B. However, due to restrictions such as the print head (4) and guide (6), the position, BK
In reality, the recording paper sensor (5) is installed at the position shown at A. As a result, the printing operation progresses, and when the end of the recording paper (1) reaches position A, it is detected by the recording paper sensor (5) and becomes K. However, the position B that should be detected is a distance of one length. Therefore, the detection output of the recording paper sensor (5) cannot be used as it is as a recording paper end signal, and this length of 1 minute must be counted by a μCPU, a counter, or the like. However, as shown in Figure 2, when connecting a printer (7) to a host (8) such as a t-computer, the printer (7)
This process is performed on both the host (8) side and the host (8) side, making the processing on the host (8) side complicated.

本発明は、このような点に鑑みなされたもので、印字位
置より後段に離れて記録紙センサーが設けられていても
、適切なる印字許容位置に相当する記録紙エンド信号を
得ることができ、ホスト側の処理を簡略化することがで
きるプリンタの記録紙有無検出装置を得ることを目的と
するものである。
The present invention has been made in view of the above points, and even if a recording paper sensor is provided at a stage distant from the printing position, it is possible to obtain a recording paper end signal corresponding to an appropriate printing permissible position. It is an object of the present invention to provide a recording paper presence/absence detection device for a printer that can simplify processing on the host side.

本発明の第一の実施例を第3図ないし第7図に基づいて
説明する。第1図はその11用いるものとする。まず、
位置人に配置された記録紙センサー(5)は第3図に示
すようにフォトダイオード(9)とフォトトランジスタ
(ト)とを主とする反射型フォトセンサーが用いられて
おフ、記録紙(1)が有るときKはフォトトランジスタ
(2)がONして検出信号XはHレベルとなるが、記録
紙(1)が無いときにはトランジスタα1がOF?シて
検出信号XがLレベルとなるものである(第4図参照)
。そして、この検出信号XはプリンタのμCPU(11
)のI10ボートのIK大入力れている。ここで、この
μCPU(11は長さ1分く対応したライン送り数が印
字信号によりプリセットされる計数手段としての作用を
なすものであり、とのμCPUQ@のニルボートのOか
らの出力は検出信号XとともにORゲート(6)に入力
されている。そして、このORゲートC1eから記録紙
エンド信号2が出力されるものである。。
A first embodiment of the present invention will be described based on FIGS. 3 to 7. 11 of FIG. 1 shall be used. first,
As shown in Fig. 3, the recording paper sensor (5) placed in the position is a reflective photosensor mainly consisting of a photodiode (9) and a phototransistor (g). 1), the phototransistor (2) of K is turned on and the detection signal X becomes H level, but when there is no recording paper (1), the transistor α1 is turned off? Then, the detection signal X becomes L level (see Figure 4).
. This detection signal X is transmitted to the printer's μCPU (11
)'s I10 boat has a large IK input. Here, this μCPU (11) acts as a counting means in which the number of line feeds corresponding to 1 minute of length is preset by a print signal, and the output from O of the Nirbort of μCPUQ@ is a detection signal. It is input to an OR gate (6) together with X. A recording paper end signal 2 is output from this OR gate C1e.

このような構成において、印字するときには検出信号X
がHレベルを示さなければ印字を開始しない。そこで、
記録紙(1)のセットに際して記録紙センサー(5)に
より検出されると、記録紙(1)はオートセットまたは
オートシートフィードに基づき第1図中に位置Cで示す
ベーパーペイルローラ(3)tで自動的に巻付けられる
。そして、印字が開始されると、まず、カウンタの内容
がプリセットされる。ここで、1ラインの印字をすると
第7図ぺ示すように検出信号が1であるか0であるかに
より記録紙(1)の有無のチェックを行ない、lである
と龜にはμCPUCII)のI10ボートの0に1(H
レベル)を出力し続ける。しかして、位置人において記
録紙(1)が無くなり、これが記録紙センサー(5)に
より検出され、終端検出信号としてXが0になると、次
のライン送りからはそのフィード毎にあらかじめプリセ
ットされ九カウンタ内容から1ずつ減算される。そして
、カウンタ内容が0になるまでライン送りが行なわれる
と、μCPU(11)のVOポートのOの出力はOとな
る。このとき、検出信号Xは既に0でめるので、ORゲ
ート(2)からの記録紙エンド信号2も0となり、紙が
無くなったことになる。
In such a configuration, when printing, the detection signal
Printing will not start unless the signal indicates an H level. Therefore,
When the recording paper (1) is detected by the recording paper sensor (5) when setting the recording paper (1), the recording paper (1) is moved to the vapor pail roller (3) t shown at position C in FIG. 1 based on auto-setting or auto-sheet feeding. automatically wrapped. When printing starts, the contents of the counter are first preset. When printing one line, the presence or absence of the recording paper (1) is checked depending on whether the detection signal is 1 or 0 as shown in Figure 7. I10 boat 0 to 1 (H
level) continues to be output. When the recording paper (1) runs out in the positioner, it is detected by the recording paper sensor (5), and when X becomes 0 as the end detection signal, the 9 counter is preset for each feed from the next line feed. 1 is subtracted from the contents. Then, when line feeding is performed until the counter contents become 0, the output of O of the VO port of the μCPU (11) becomes O. At this time, since the detection signal X has already been set to 0, the recording paper end signal 2 from the OR gate (2) also becomes 0, which means that there is no more paper.

すなわち、記録紙センサー(5)は本来の位置より離れ
た位置に設けられているものであるが、長さ1分はμC
PUQ1)に制御されて、第1図(4)に示すように記
録紙(1)の終端が印字許容位置Bにきたとき、検出信
号Xを長さ2分補正してなる記録紙エンド信号2が出力
されることになる。したがって、ホスト側に対してはこ
の記録紙エンド信号2をもって記録紙(1)が無くなっ
たことを知らせてやればよく、ホスト側においても独自
に計数し長さ1分を補正する必要がなく、その処理の簡
略化を図ることができる。
In other words, although the recording paper sensor (5) is installed at a position farther from its original position, the length of 1 minute is μC.
When the end of the recording paper (1) reaches the printing permissible position B as shown in FIG. 1 (4) under the control of the PUQ1), a recording paper end signal 2 is generated by correcting the detection signal X by two minutes. will be output. Therefore, it is only necessary to notify the host side that the recording paper (1) has run out using this recording paper end signal 2, and there is no need for the host side to independently count and correct the length by 1 minute. The processing can be simplified.

つづいて、本発明の第二の実施例を第8図および第9図
により説明する。本実施例はシフトレジスタ(至)を計
数手段として用いたものである。すなわち、シフトレジ
スタ(至)はn個のDフリップフロップ(14)〜(1
4n)をシリーズ接続してなるものであり、最初のDフ
リップフロップ(141)のD端子検出信号Xが入力さ
れ、クロック信号は共通に入力されている。そして、最
終段のDフリップフロップ(14n)の出力xnが記録
紙エンド信号Yとされている。
Next, a second embodiment of the present invention will be described with reference to FIGS. 8 and 9. This embodiment uses a shift register (to) as a counting means. That is, the shift register (to) has n D flip-flops (14) to (1
4n) connected in series, the D terminal detection signal X of the first D flip-flop (141) is input, and the clock signal is input in common. The output xn of the final stage D flip-flop (14n) is used as the recording paper end signal Y.

このような構成において、今、たとえば長さIが2イン
チで61.ライン送りの最小ピンチがにインチであると
すると、12ラインであるのでシフトレジスタ(2)の
シフト段数は12段とされ、n■12値のDフリップフ
ロッグα◆が用いられる。そして、シフトレジスタ(至
)はパルスモータにおけるライン7(−ド用パルスを駆
動する毎に発生するり薗ツクパルスによp検出信号Xは
シフトされ、記録紙エンド信号YFiHレベルとなる。
In such a configuration, now, for example, length I is 2 inches and 61. Assuming that the minimum pinch for line feed is 1 inch, there are 12 lines, so the number of shift stages of the shift register (2) is set to 12, and a D flip-frog α♦ of n■12 values is used. Then, in the shift register (to), the p detection signal X is shifted by the shift pulse generated every time the pulse motor drives the line 7 (-) pulse, and becomes the recording paper end signal YFiH level.

しかして、記録紙(1)の終端が位置人を通過すると、
検出信号XはLレベルとなるが、記録紙エンド信号Yは
Hレベルのままである。その後、ライン送りが継続され
るとDフリップフロップα◆が順次Lレベルにシ7トさ
れ、12ライン分のライン送りを行なうと、Dフリップ
フロップ(14sx)の出力X11%すなわち記録紙エ
ンド信号YもLレベルとなって、紙が無くなったことを
示す。つまシ、記録紙エンド信号YがLレベルになった
時点で記録紙(1)の終端が印字許容位置Bに位置する
ことになり、長さ7分が補正される。
However, when the end of the recording paper (1) passes the position person,
The detection signal X goes to the L level, but the recording paper end signal Y remains at the H level. After that, as the line feed continues, the D flip-flop α◆ is sequentially shifted to the L level, and when the line feed for 12 lines is performed, the output of the D flip-flop (14sx) is X11%, that is, the recording paper end signal Y also goes to L level, indicating that there is no paper left. When the recording paper end signal Y reaches the L level, the end of the recording paper (1) is located at the printing permissible position B, and the length of 7 minutes is corrected.

ところで、本実施例の場合、第1図において印字許容位
置Bとペーパーペイルローラ(3)の位置Cとの長さを
mとすると、この長さm分のシフト段数m′のシフトレ
ジスタ(2)を第10図に示すようにシフトレジスタ(
ロ)の後段に接続すれば、記録紙(1)セット時の制御
も行なえる。すなわち、記録紙(1)のセットに際し記
録紙センサー(5)による検出後、シフトレジスタ(2
)およびシフトレジスタ(ハ)によpn+m’だけシフ
トさせて長さt+m分だけ送り、シフトレジスタ(至)
から印字可能信号Wを出力させるものである。
By the way, in the case of this embodiment, if the length between the printing permissible position B and the position C of the paper pail roller (3) in FIG. 1 is m, then the shift register (2 ) as shown in Figure 10, the shift register (
If connected to the latter stage of b), it is also possible to control when recording paper (1) is set. That is, when setting the recording paper (1), after detection by the recording paper sensor (5), the shift register (2)
) and shift register (c) by shift by pn + m' and send by length t + m, shift register (to)
This outputs a printable signal W from the output terminal.

本発明は、上述したように印字位置より後段に離れて記
録紙センサーが設けられているものであるが、この記録
紙センサーによる終電検出信号に基づき計数手段により
印字許容位置までの長さ分が補正されて、最終的に記録
紙エンド信号が出力されるようにしたので、プリンタ側
で処理することができホスト側にはこの記録紙エンド信
号のみ送ればよく、ホスト側の処理を簡略化することが
できるものである。
In the present invention, as described above, the recording paper sensor is provided at a position downstream from the printing position, and the length up to the printing permissible position is calculated by the counting means based on the final power detection signal from the recording paper sensor. After correction, the paper end signal is finally output, so it can be processed on the printer side, and only this paper end signal needs to be sent to the host, simplifying the processing on the host side. It is something that can be done.

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

第1図はプリンタの記録紙関係部分の概略側面図、第2
図は従来例を示すブロック図、第3図は本発明の第一の
実施例を示す回路図、第4図はその動作説明図、第5図
はブロック図seG図はタイミングチャート、第7図は
フローチャート%第8図は本発明の第二の実施例を示す
回路図、第9図はタイミングチャート、第10図は変形
例を示すブロック図である。 1・・・記録紙、2・・・プラテン、5・・・記録紙セ
ンサー、11・・・μCPU (計数手段)、13・・
・シフトレジスタ(計数手段) ]へJ 図 (a)         (&) 5Z図   1,3い
Figure 1 is a schematic side view of the printer's recording paper-related parts;
3 is a circuit diagram showing the first embodiment of the present invention, FIG. 4 is an explanatory diagram of its operation, FIG. 5 is a block diagram, seG is a timing chart, and FIG. 7 is a block diagram showing a conventional example. 8 is a circuit diagram showing a second embodiment of the present invention, FIG. 9 is a timing chart, and FIG. 10 is a block diagram showing a modification. 1... Recording paper, 2... Platen, 5... Recording paper sensor, 11... μCPU (counting means), 13...
・Shift register (counting means) ]J Figure (a) (&) 5Z Figure 1, 3

Claims (1)

【特許請求の範囲】[Claims] プラテンの印字位置より後段に位置して記録紙の終端を
検出する記録紙センサーを設け、この記録紙センサーに
よる終端検出信号に基づきこの記録紙センサー位置から
印字許容位置までの長さ分の記録紙送りを計数する計数
手段を設け、この計数手段の出力を記録紙エンド信号と
したことを特徴とするプリンタの記録紙有無検出装置。
A recording paper sensor is provided that is located after the printing position on the platen and detects the end of the recording paper, and based on the end detection signal from this recording paper sensor, the recording paper for the length from the recording paper sensor position to the printing permissible position is installed. 1. A recording paper presence/absence detection device for a printer, characterized in that a counting means for counting feed is provided, and the output of the counting means is used as a recording paper end signal.
JP18142981A 1981-11-11 1981-11-11 Recording paper detector for printer Pending JPS5882780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18142981A JPS5882780A (en) 1981-11-11 1981-11-11 Recording paper detector for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18142981A JPS5882780A (en) 1981-11-11 1981-11-11 Recording paper detector for printer

Publications (1)

Publication Number Publication Date
JPS5882780A true JPS5882780A (en) 1983-05-18

Family

ID=16100614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18142981A Pending JPS5882780A (en) 1981-11-11 1981-11-11 Recording paper detector for printer

Country Status (1)

Country Link
JP (1) JPS5882780A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60109892A (en) * 1983-11-18 1985-06-15 Brother Ind Ltd Electronic typewriter
JPS62187071A (en) * 1986-02-13 1987-08-15 Tamura Electric Works Ltd Apparatus for correcting printing position of last line of printer
JPH01271277A (en) * 1988-04-25 1989-10-30 Fujitsu Ltd Paper finish detection
US4934845A (en) * 1987-05-13 1990-06-19 Seiko Epson Corporation Apparatus and method for controlling paper feeding in a printer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60109892A (en) * 1983-11-18 1985-06-15 Brother Ind Ltd Electronic typewriter
JPS62187071A (en) * 1986-02-13 1987-08-15 Tamura Electric Works Ltd Apparatus for correcting printing position of last line of printer
US4934845A (en) * 1987-05-13 1990-06-19 Seiko Epson Corporation Apparatus and method for controlling paper feeding in a printer
JPH01271277A (en) * 1988-04-25 1989-10-30 Fujitsu Ltd Paper finish detection

Similar Documents

Publication Publication Date Title
EP0280699A1 (en) Precision paper transport system.
JPS5882780A (en) Recording paper detector for printer
EP0072709B1 (en) Printer control system
JPS6114972A (en) Transfer-type thermal color printer
JPH0825699A (en) Raster type recording apparatus
JPH04132457A (en) Picture controller
JPH08197817A (en) Ink film control device of thermal transfer printer
JPS6023128A (en) Method of detecting label of label printer
JPS59109380A (en) Printer apparatus
JPS63112186A (en) Control of printing by detection of printing paper
JPS6158784A (en) Method for setting final printing line of printer
JP2735031B2 (en) Printer device
JPH0930686A (en) Sheet sensing device
JP2763842B2 (en) Paper transport control method for thermal printer
JPS6315779A (en) Ribbon feed controlling circuit
JPS5920685A (en) Paper feed correction mechanism
JPS61288224A (en) Busy control system of printer
JPH0514651A (en) Printer
JP2778395B2 (en) Image forming device
JP3649271B2 (en) Paper feed control method for serial recording apparatus and serial recording apparatus
JP2006043921A (en) Double-sided optional unit
JPS6083862A (en) Multi-color transfer type thermal transfer printing apparatus
JPH04168075A (en) Printer
JPH07329360A (en) Printer
JPS5814788A (en) Printer