JPH0794178B2 - Printer - Google Patents

Printer

Info

Publication number
JPH0794178B2
JPH0794178B2 JP63173810A JP17381088A JPH0794178B2 JP H0794178 B2 JPH0794178 B2 JP H0794178B2 JP 63173810 A JP63173810 A JP 63173810A JP 17381088 A JP17381088 A JP 17381088A JP H0794178 B2 JPH0794178 B2 JP H0794178B2
Authority
JP
Japan
Prior art keywords
paper
paper end
flag memory
printing
information
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.)
Expired - Lifetime
Application number
JP63173810A
Other languages
Japanese (ja)
Other versions
JPH0225368A (en
Inventor
元延 畠山
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP63173810A priority Critical patent/JPH0794178B2/en
Publication of JPH0225368A publication Critical patent/JPH0225368A/en
Publication of JPH0794178B2 publication Critical patent/JPH0794178B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、プリンタ、更に詳細には、プリンタにセット
された用紙が印字ヘッドに対し印字可能な終端に達した
ことを上位装置に通知するための用紙終了情報を送出す
るタイミングを改善したプリンタに関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention notifies a higher-level device that a printer, and more specifically, a sheet set in the printer has reached a printable end of a print head. The present invention relates to a printer in which the timing of sending paper end information is improved.

(従来の技術) 第3図〜第5図は、いずれも用紙終了情報を持つ従来プ
リンタに関する図面である。
(Prior Art) FIGS. 3 to 5 are drawings relating to a conventional printer having paper end information.

第3図は、従来プリンタの構成ブロック図である。同図
において、図示しないホストコンピュータより出力され
た印字データは、インタフェース入出力回路1を介して
CPU2へ入力される。CPU2はプログラムROM15に予め格納
された手順に従って印字データを処理し、印字ヘッドド
ライバ3、スペースモータドライバ5、改行モータドラ
イバ7を介して印字ヘッド4、スペースモータ6、改行
モータ8を夫々動作させ印字を行なう。またCPU2には印
字用紙終端(以下、ペーパエンドということがある)を
検出するためのペーパエンドセンサ9が接続され、改行
数カウンタ12の値に基づいてインタフェース入出力回路
1を介してホストコンピュータへ用紙終了情報を出力し
印字データの送出を止めさせることが可能である。
FIG. 3 is a block diagram of a conventional printer. In the figure, print data output from a host computer (not shown) is transmitted via the interface input / output circuit 1.
Input to CPU2. The CPU 2 processes the print data according to the procedure stored in the program ROM 15 in advance, and prints by operating the print head 4, the space motor 6, and the line feed motor 8 via the print head driver 3, the space motor driver 5, and the line feed motor driver 7, respectively. Do. Further, a paper end sensor 9 for detecting the end of printing paper (hereinafter, also referred to as paper end) is connected to the CPU 2, and is sent to the host computer via the interface input / output circuit 1 based on the value of the line feed number counter 12. It is possible to output the paper end information and stop the output of the print data.

第4図は、この種のプリンタの側面図で、印字用紙16
は、改行モータ8(第3図参照)と図示しないギア等に
より結合され回動可能なプラテン17とプレッシャーロー
ラ20により挟持されており、改行モータ8の回転により
図中矢印の方向へ、ペーパシュート18に沿って送紙され
る。この時、印字ヘッド4はスペースモータ6により図
平面と直角方向に移動しながら印字を行なう。またペー
パエンドレバー19は、印字用紙16がレバー位置にある場
合は図中実線の如くペーパエンドセンサ9の外にある
が、印字用紙16が送紙されてその終端がレバー位置を越
えた場合は、図中点線の如くペーパエンドセンサ9の中
へ落ち込み、CPU2は用紙終了を検出する。また図中lは
ペーパエンドレバー19が用紙終了を検出する位置から印
字位置までの用紙ルートの長さである。
FIG. 4 is a side view of this type of printer, which shows the printing paper 16
Is clamped by a liner motor 8 (see FIG. 3) and a rotatable platen 17 which is coupled by a gear (not shown) and the like, and the paper chute is rotated by the line feed motor 8 in the direction of the arrow in the figure. Paper is sent along line 18. At this time, the print head 4 performs printing while moving in the direction perpendicular to the plane of the drawing by the space motor 6. Further, the paper end lever 19 is outside the paper end sensor 9 as shown by the solid line in the figure when the printing paper 16 is in the lever position, but when the printing paper 16 is fed and its end exceeds the lever position. , And falls into the paper end sensor 9 as indicated by the dotted line in the figure, and the CPU 2 detects the end of the paper. In the figure, 1 is the length of the paper route from the position where the paper end lever 19 detects the end of the paper to the printing position.

また、第5図は、前記構成を有するプリンタにおけるペ
ーパエンド処理フローチャートである。次に、この図を
参照して、前記プリンタの動作を説明する。
Further, FIG. 5 is a paper end processing flowchart in the printer having the above configuration. Next, the operation of the printer will be described with reference to this figure.

まず、前述の如くホストコンピュータより送出された印
字データにより印字用紙16上に印字が行なわれ、印字用
紙16は第4図矢印の方向へ移動される。この時印字用紙
16の終端がペーパエンドレバー19を外れると、ペーパエ
ンドレバー19はペーパエンドセンサ9の内側へ落ち込
み、CPU2は用紙終了を検出する(S1)。但し、この時点
ではまだ第4図中lの長さより、用紙下端のマージンα
を引いたL=l−αだけ印字可能な用紙が残っている。
このためCPU2は用紙終了検出後、改行動作毎に改行量を
改行数カウンタ12内に積算して行き、改行数カウンタ12
の内容がLと等しいかLより大きくなった場合(S2)に
インタフェース入出力回路1を介してホストコンピュー
タへ用紙終了情報を送出し(S3)、印字データの送出を
止めることにより、用紙の下端近くまで印字可能として
いる。
First, as described above, printing is performed on the printing paper 16 by the printing data sent from the host computer, and the printing paper 16 is moved in the direction of the arrow in FIG. Printing paper at this time
When the end of 16 is released from the paper end lever 19, the paper end lever 19 falls inside the paper end sensor 9, and the CPU 2 detects the end of paper (S1). However, at this point, the margin α at the bottom of the paper is still more than the length l in FIG.
The remaining printable paper is L = 1-α.
Therefore, after detecting the end of the paper, the CPU 2 accumulates the line feed amount in the line feed counter 12 for each line feed operation, and the line feed counter 12
If the content of is equal to or larger than L (S2), paper end information is sent to the host computer via the interface input / output circuit 1 (S3), and sending of print data is stopped, so that the bottom edge of the paper is stopped. Printing is possible up to near.

(発明が解決しようとする課題) しかしながら、上記した従来プリンタでは、通常動作に
よりペーパエンドセンサが用紙終了を検出する前にホス
トコンピュータの出力を停止させ、用紙交換のため用紙
を外した場合、これによってペーパエンドセンサがオン
し改行数カウントレジスタのカウントが開始され、カウ
ント数≦Lとなるまでは用紙終了情報が出力されない。
このため、何らかの誤操作,誤動作によりホストコンピ
ュータの出力が再開してしまうと、プリンタに用紙が未
セットの場合には、プリンタは空印字を行なってしま
う。
(Problems to be Solved by the Invention) However, in the above-described conventional printer, when the output of the host computer is stopped before the paper end sensor detects the end of the paper by the normal operation and the paper is removed for the paper replacement, By this, the paper end sensor is turned on, the counting of the line feed number count register is started, and the paper end information is not output until the count number ≦ L.
Therefore, if the output of the host computer restarts due to some erroneous operation or malfunction, the printer will perform blank printing if no paper is set in the printer.

また、これを防止する方策として、用紙終了検出と同時
に用紙終了情報を出力するように印字ヘッドの極く近傍
にペーパエンドセンサを配置することを考えられるが、
一般的に印字ヘッド近傍には可動部が多く、ペーパエン
ドセンサを設置しようとすると更に構造が複雑になりコ
ストアップにつながる。
Further, as a measure to prevent this, it is conceivable to dispose a paper end sensor in the immediate vicinity of the print head so as to output the paper end information at the same time as the paper end detection.
Generally, there are many movable parts in the vicinity of the print head, and if an attempt is made to install a paper end sensor, the structure becomes more complicated and the cost increases.

本発明は、従来プリンタが空印字を行ない印字ヘッドの
寿命を縮めてしまうという問題点を除去し、コストパー
フォーマンスの優れたプリンタを提供することを目的と
する。
SUMMARY OF THE INVENTION It is an object of the present invention to eliminate the problem that a conventional printer performs blank printing and shortens the life of the print head, and to provide a printer with excellent cost performance.

(課題を解決するための手段) 本発明は、用紙終端検出用センサが印字ヘッドと離れて
配置されていて、前記用紙終端検出用センサにより用紙
終端検出後用紙の印字可能な最終行位置を改行数カウン
タのカウント数により設定するプリンタにおいて、前記
プリンタが上位装置からのデータ受信中のみデータ受信
中である旨の情報を格納するデータ処理中フラグメモリ
と、前記プリンタが印字動作中のみ印字動作中である旨
の情報を格納する印字動作中フラグメモリと、前記用紙
終端検出用センサと前記改行数カウンタと前記データ処
理中フラグメモリと前記印字動作中フラグメモリの各々
に接続し、用紙終了情報を前記上位装置に出力するタイ
ミングを制御するCPUとを有し、該CPUは、 (イ)前記用紙終端検出用センサにより用紙終端検出前
に前記データ処理中フラグメモリにデータ受信中である
旨の情報と前記印字動作中フラグメモリに印字動作中で
ある旨の情報のどちらも存在しない状態で、用紙を引き
抜き前記用紙終端検出用センサが用紙終端を検出したと
き即座に前記用紙終了情報を前記上位装置に対し出力す
る手段と、 (ロ)前記データ処理中フラグメモリにデータ受信中で
ある旨の情報と前記印字動作中フラグメモリに印字動作
中である旨の情報のうちどちらかが存在する状態で、前
記用紙終端検出用センサが用紙終端を検出した後、 前記用紙終端が前記改行カウンタにより設定された最終
行位置に達する間に前記データ処理中フラグメモリにデ
ータ受信中である旨の情報と前記印字動作中フラグメモ
リに印字動作中である旨の情報のうちどちらも存在しな
い状態に変わったとき即座に前記用紙終了情報を前記上
位装置に対し出力し、 前記用紙終端が前記改行カウンタにより設定された最終
行位置に達する間に前記データ処理中フラグメモリにデ
ータ受信中である旨の情報と前記印字動作中フラグメモ
リに印字動作中である旨の情報のうちどちらかが存在す
る状態のままのときは、該最終行位置に達するまで印字
した後前記上位装置に前記用紙終了情報を出力する手段
と、を有することを特徴とするプリンタである。
(Means for Solving the Problem) According to the present invention, a paper end detection sensor is arranged apart from the print head, and the last line position of the printable paper of the paper is detected after the paper end detection sensor detects the line end. In a printer set by the count number of a number counter, a data processing flag memory that stores information indicating that the printer is receiving data only from a host device, and a printing operation only when the printer is printing The print end flag memory for storing information indicating that the paper end information is connected to each of the paper end detection sensor, the line feed number counter, the data processing flag memory, and the print operation flag memory, and outputs the paper end information. A CPU for controlling the timing of output to the higher-level device, and the CPU (a) before detecting the paper end by the paper end detection sensor. When neither the information indicating that data is being received in the data processing flag memory nor the information indicating that a printing operation is being performed in the printing operation flag memory is present, the paper is pulled out and the paper end detection sensor detects Means for immediately outputting the paper end information to the upper device when the end is detected; (b) information indicating that data is being received in the data processing flag memory and printing operation in the printing operation flag memory After the paper end detection sensor detects the paper end with either of the information indicating that the data is present, the data is transferred while the paper end reaches the final line position set by the line feed counter. Change to a state where neither the information indicating that data is being received in the processing flag memory nor the information indicating that printing is being performed in the printing operation flag memory exists. Immediately, the paper end information is output to the higher-level device, and while the paper end reaches the final line position set by the line feed counter, data is being received in the data processing flag memory. If either the information or the information indicating that the printing operation is in progress in the flag memory is still present, printing is performed until the final line position is reached, and then the paper end information is sent to the upper device. And a means for outputting, a printer.

(作用) 本発明プリンタは、前記したタイプの従来プリンタに、
前記受信中フラグメモリと前記印字動作中フラグメモリ
とを設けたものと同様の構成になっている。
(Operation) The printer of the present invention is the same as the conventional printer of the type described above.
The configuration is the same as that in which the receiving flag memory and the printing operation flag memory are provided.

従って、本発明プリンタのCPUは、前記従来プリンタに
おける通常動作(印字が普通に行なわれてペーパエンド
が検出されカウントLの後用紙終了情報が上位装置に送
出される動作をいう)におけるペーパエンドセンサから
の情報に加えて、データ受信中であるか否か及びプリン
タが印字動作中であるか否かについての情報を受けるこ
とができる。そして、前記ペーパエンドセンサの出力が
オンで、かつ、前記データ受信中フラグメモリと前記印
字動作中フラグメモリが共にオフのときに用紙終了情報
を上位装置に送出する。
Therefore, the CPU of the printer of the present invention uses the paper end sensor in the normal operation of the conventional printer (the operation in which printing is normally performed, the paper end is detected, and after the count L, the paper end information is sent to the host device). In addition to the information from, information about whether data is being received and whether the printer is printing is available. Then, when the output of the paper end sensor is on and both the data receiving flag memory and the printing operation flag memory are off, the paper end information is sent to the host device.

第6図は、通常動作以外の場合の用紙終了情報送出タイ
ミング図である。通常動作以外の場合としては、(a)
L終了前にデータ受信及び印字動作を終了した場合、
(b)L開始前にプリンタを停止し用紙を人為的に引抜
いた場合が挙げられる。従来プリンタでは、(a)の場
合には、通常動作として取扱われ、また前記したように
ホストコンピュータの出力停止後用紙を引抜くことによ
りペーパエンドセンサがオンしたときは、空印字の可能
性があった。(b)の場合には、(a)の場合と同様の
理由で空印字の可能性があった。これに対し、本発明で
は、(a)の場合には、データ受信及び印字動作が終了
した時点で用紙終了情報が送出される。また、(b)の
場合には、プリンタ停止つまりデータ受信及び印字動作
が止まり、用紙を人為的に引抜くことによりペーパエン
ドセンサがオンして用紙終了情報が送出され、上位装置
側に残った印字データ(図中破線で示した)の誤操作に
より空印字が回避される。
FIG. 6 is a timing chart of paper end information transmission in the case other than the normal operation. In cases other than normal operation, (a)
If the data reception and printing operations are completed before the end of L,
(B) The case where the printer is stopped and the paper is artificially pulled out before the start of L is cited. In the conventional printer, in the case of (a), it is handled as normal operation, and as described above, when the paper end sensor is turned on by pulling out the paper after the output of the host computer is stopped, there is a possibility of blank printing. there were. In the case of (b), there is a possibility of blank printing for the same reason as in the case of (a). On the other hand, in the present invention, in the case of (a), the paper end information is sent out when the data receiving and printing operations are completed. Further, in the case of (b), the printer is stopped, that is, the data reception and the printing operation are stopped, and the paper end sensor is turned on by artificially pulling out the paper, the paper end information is sent out, and remains in the upper device side. Blank printing is avoided by erroneous operation of print data (indicated by a broken line in the figure).

見方を変えるなら、(a)の場合も(b)の場合もペー
パエンドセンサが用紙終端を検出すると改行数カウンタ
がカウントを開始するが、この開始後、L終了以前であ
っても、プリンタが印字動作を行なわず、データ受信も
していない場合には用紙終了情報をいち早く出力するよ
うになっている。
In other words, in both cases (a) and (b), the line feed counter starts counting when the paper end sensor detects the end of the paper, but after this start, even before the end of L, the printer When the printing operation is not performed and the data is not received, the paper end information is quickly output.

(実施例) 以下、本発明の実施例を図面と共に説明する。(Example) Hereinafter, the Example of this invention is described with drawing.

第1図は、本発明の一実施例を示す構成ブロック図であ
る。
FIG. 1 is a configuration block diagram showing an embodiment of the present invention.

同図において、インタフェース入出力回路1、CPU2、印
字ヘッドドライバ3、印字ヘッド4、スペースモータド
ライバ5、スペースモータ6、改行モータドライバ7、
改行モータ8、ペーパエンドセンサ9、改行数カウンタ
12は前出の従来例と同様であるので同一番号を付した。
またCPU2に接続されたデータ受信中フラグメモリ13に
は、プリンタが受信データ処理中のみデータ受信中であ
る旨の情報が書込まれ、同じくCPU2に接続された印字動
作中フラグメモリ14には、プリンタが印字動作中のみ印
字動作中である旨の情報が書込まれる。プログラムROM1
0にはCPUの処理手順が格納されている。印字部の構成
は、第4図と同等である。
In the figure, interface input / output circuit 1, CPU 2, print head driver 3, print head 4, space motor driver 5, space motor 6, line feed motor driver 7,
Line feed motor 8, paper end sensor 9, line feed number counter
Since 12 is the same as the above-mentioned conventional example, the same number is assigned.
Further, in the data receiving flag memory 13 connected to the CPU2, information indicating that the printer is receiving data only while the printer is processing received data is written, and in the printing operation flag memory 14 also connected to the CPU2, Information indicating that the printer is printing is written only when the printer is printing. Program ROM1
The processing procedure of the CPU is stored in 0. The configuration of the printing unit is the same as in FIG.

次に、前記構成の装置の動作を説明する。Next, the operation of the apparatus having the above configuration will be described.

通常動作については、前述の従来例と同様である。すな
わち、プリンタが印字を行ない、印字用紙16の終端がペ
ーパエンドレバー19を越えてペーパエンドセンサ9の中
へ落ち込み、CPU2が用紙終了を検出する。CPU2は、さら
に連続して印字データがホストコンピュータより送出さ
れデータ受信及び印字動作が連続して行なわれている間
は、データ受信中フラグメモリ13及び印字動作中フラグ
メモリ14を参照することにより、従来例と同様に改行数
カウンタ12の積算処理を行ない、用紙終了検出後Lの長
さの印字を行なった後にホストコンピュータに対し、イ
ンタフェース入出力回路1を介して用紙終了情報を出力
する。
The normal operation is the same as the above-mentioned conventional example. That is, the printer prints, the end of the print paper 16 passes over the paper end lever 19 and falls into the paper end sensor 9, and the CPU 2 detects the end of the paper. The CPU 2 further refers to the data receiving flag memory 13 and the printing operation flag memory 14 while the print data is continuously sent from the host computer and the data reception and the printing operation are continuously performed. Similar to the conventional example, the line feed number counter 12 is integrated, and after the end of the paper is detected, the length L is printed, and then the end of paper information is output to the host computer via the interface input / output circuit 1.

また、用紙終了検出後、L終了以前にデータ受信も印字
動作も終了した場合[第6図(a)]、あるいは用紙終
了検出以前にプリンタが停止している場合に用紙を引抜
いた結果ペーパエンドセンサがオンした場合[第6図
(b)]には、CPU2は、データ受信中フラグメモリ13と
印字動作中フラグメモリ14により、データ受信も印字動
作も行っていないことを検知している状態で、ペーパエ
ンドセンサ9がオンしたことを検出して即座に用紙終了
情報をホストコンピュータに対し出力する。
After the paper end is detected, the data reception and the printing operation are completed before the end of L [Fig. 6 (a)], or the paper is pulled out when the printer is stopped before the paper end is detected. When the sensor is turned on [Fig. 6 (b)], the CPU 2 detects that neither the data reception nor the printing operation is performed by the data receiving flag memory 13 and the printing operation flag memory 14. Then, it detects that the paper end sensor 9 is turned on and immediately outputs the paper end information to the host computer.

第2図は上記のペーパエンド処理を示すフローチャート
である。これに従って、ペーパエンド処理内容を整理す
ると次のようになる。ペーパエンドセンサ9が用紙終了
を検出した場合(S10)、印字動作中フラグメモリ14、
データ受信中フラグメモリ13と共にオフしていた場合
(S11,S12)は、即座に用紙終了情報を出力し(S14)、
そうでない場合は、改行数カウンタ12がL以上となった
場合(S13)に用紙終了情報を出力する(S14)。
FIG. 2 is a flow chart showing the above paper end processing. According to this, the contents of paper end processing are summarized as follows. When the paper end sensor 9 detects the end of the paper (S10), the printing operation flag memory 14,
If it is turned off together with the data receiving flag memory 13 (S11, S12), the paper end information is immediately output (S14),
Otherwise, when the line feed number counter 12 becomes L or more (S13), the paper end information is output (S14).

(発明の効果) 以上詳細に説明したように、本発明は上記した構成を有
するので、本発明によれば、プリンタの停止中に手で用
紙を引抜いた様な場合には、即座に用紙終了情報を送出
してホストコンピュータのプリンタへのデータ送出を止
めさせることができ、空印字を防止できる。
(Effects of the Invention) As described in detail above, the present invention has the above-described configuration. Therefore, according to the present invention, when the paper is pulled out by hand while the printer is stopped, the paper is immediately terminated. Information can be sent to stop sending data to the printer of the host computer, and blank printing can be prevented.

また、構造も簡単であるのでコストパーフォーマンスの
高い装置を実現できる。
Moreover, since the structure is simple, a device with high cost performance can be realized.

更にまた、コンピュータが印字データを連続して送出し
た場合は印字用紙の下端近くまで無駄なく印字可能であ
る。
Furthermore, when the computer continuously sends the print data, it is possible to print up to near the lower end of the print paper without waste.

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

第1図は本発明の一実施例を示す構成ブロック図、第2
図は本発明におけるペーパエンド処理フローチャート、
第3図は用紙終了情報を持つ従来プリンタの構成ブロッ
ク図、第4図は従来プリンタの印字部の側面図、第5図
は従来のペーパエンド処理フローチャート、第6図は通
常動作以外の場合の用紙終了情報送出タイミング図で、
(a)はL終了前にデータ受信及び印字動作を終了した
場合のもの、(b)はL開始前にプリンタを停止し用紙
を引抜いた場合のものである。 2……CPU、9……ペーパエンドセンサ、 12……改行数カウンタ、 13……データ受信中フラグメモリ、 14……印字動作中フラグメモリ。
FIG. 1 is a configuration block diagram showing an embodiment of the present invention, and FIG.
The figure is a paper end processing flowchart in the present invention,
FIG. 3 is a block diagram of a conventional printer having paper end information, FIG. 4 is a side view of a printing unit of the conventional printer, FIG. 5 is a flowchart of a conventional paper end process, and FIG. 6 is a case other than normal operation. In the timing chart for sending the paper end information,
(A) shows the case where the data receiving and printing operations are completed before the end of L, and (b) shows the case where the printer is stopped and the paper is pulled out before the start of L. 2 ... CPU, 9 ... Paper end sensor, 12 ... Line feed counter, 13 ... Data receiving flag memory, 14 ... Printing flag memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】用紙終端検出用センサが印字ヘッドと離れ
て配置されていて、前記用紙終端検出用センサにより用
紙終端検出後用紙の印字可能な最終行位置を改行数カウ
ンタのカウント数により設定するプリンタにおいて、 前記プリンタが上位装置からのデータ受信中のみデータ
受信中である旨の情報を格納するデータ処理中フラグメ
モリと、 前記プリンタが印字動作中のみ印字動作中である旨の情
報を格納する印字動作中フラグメモリと、 前記用紙終端検出用センサと前記改行数カウンタと前記
データ処理中フラグメモリと前記印字動作中フラグメモ
リの各々に接続し、用紙終了情報を前記上位装置に出力
するタイミングを制御するCPUとを有し、 該CPUは、 (イ)前記用紙終端検出用センサにより用紙終端検出前
に前記データ処理中フラグメモリにデータ受信中である
旨の情報と前記印字動作中フラグメモリに印字動作中で
ある旨の情報のどちらも存在しない状態で、 用紙を引き抜き前記用紙終端検出用センサが用紙終端を
検出したとき即座に前記用紙終了情報を前記上位装置に
対し出力する手段と、 (ロ)前記データ処理中フラグメモリにデータ受信中で
ある旨の情報と前記印字動作中フラグメモリに印字動作
中である旨の情報のうちどちらかが存在する状態で、前
記用紙終端検出用センサが用紙終端を検出した後、 前記用紙終端が前記改行カウンタにより設定された最終
行位置に達する間に前記データ処理中フラグメモリにデ
ータ受信中である旨の情報と前記印字動作中フラグメモ
リに印字動作中である旨の情報のうちどちらも存在しな
い状態に変わったとき即座に前記用紙終了情報を前記上
位装置に対し出力し、 前記用紙終端が前記改行カウンタにより設定された最終
行位置に達する間に前記データ処理中フラグメモリにデ
ータ受信中である旨の情報と前記印字動作中フラグメモ
リに印字動作中である旨の情報のうちどちらかが存在す
る状態のままのときは、該最終行位置に達するまで印字
した後前記上位装置に前記用紙終了情報を出力する手段
と、 を有することを特徴とするプリンタ。
1. A paper end detection sensor is arranged apart from the print head, and the last line position on which the paper can be printed after the paper end detection is detected by the paper end detection sensor is set by the number of line feed counters. In the printer, a data processing flag memory that stores information indicating that the printer is receiving data only while receiving data from a host device; and information that the printer is performing printing operation only during printing operation The timing for outputting the paper end information to the host device is connected to each of the printing operation flag memory, the paper end detection sensor, the line feed number counter, the data processing flag memory, and the printing operation flag memory. And a CPU for controlling, (a) the data processing flag before the paper end detection by the paper end detection sensor. When the paper end detection sensor detects the end of the paper when neither the information indicating that the memory is receiving data nor the information indicating that the print operation flag memory is performing the print operation is present. Means for immediately outputting the paper end information to the host device; and (b) information indicating that data is being received in the data processing flag memory and that printing is being performed in the printing operation flag memory. In the state where one of the information is present, after the paper end detection sensor detects the paper end, while the paper end reaches the final line position set by the line feed counter, it is stored in the data processing flag memory. When either the information indicating that the data is being received or the information indicating that the printing operation is in progress in the printing flag memory does not exist, the sheet is immediately printed. The end information is output to the higher-level device, and information indicating that data is being received in the data processing flag memory and the printing operation flag while the sheet end reaches the final line position set by the line feed counter. When either one of the information indicating that the printing operation is being performed remains in the memory, a unit for outputting the paper end information to the upper device after printing until reaching the last line position, A printer characterized by the above.
JP63173810A 1988-07-14 1988-07-14 Printer Expired - Lifetime JPH0794178B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63173810A JPH0794178B2 (en) 1988-07-14 1988-07-14 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63173810A JPH0794178B2 (en) 1988-07-14 1988-07-14 Printer

Publications (2)

Publication Number Publication Date
JPH0225368A JPH0225368A (en) 1990-01-26
JPH0794178B2 true JPH0794178B2 (en) 1995-10-11

Family

ID=15967579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63173810A Expired - Lifetime JPH0794178B2 (en) 1988-07-14 1988-07-14 Printer

Country Status (1)

Country Link
JP (1) JPH0794178B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012040792A (en) * 2010-08-20 2012-03-01 Brother Industries Ltd Printer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07100387B2 (en) * 1986-07-18 1995-11-01 ブラザー工業株式会社 Printer

Also Published As

Publication number Publication date
JPH0225368A (en) 1990-01-26

Similar Documents

Publication Publication Date Title
JP3127716B2 (en) Printer
JP2011116130A (en) Printer, control method therefor, and information recording medium
JPH0794178B2 (en) Printer
US7356267B2 (en) Jam removing method and printer using toner save mode
JPS59129182A (en) Printing apparatus
JP3332267B2 (en) Stencil printing machine
JP4759796B2 (en) Printer, control method therefor, and information recording medium
JP3123426B2 (en) Printer device
JP2547481B2 (en) Wrong mounting detection method for plate and wrong mounting detection device
JPH0640128A (en) Printer device
JPS6356472A (en) Printer with reprinting function
JP2898881B2 (en) Printing control method
JP2971602B2 (en) How to detect incorrect mounting of printing plate
JP2570881B2 (en) Print media feed control method
JP3509208B2 (en) Printing apparatus and subsequent processing control method
JP3174461B2 (en) Printer reception control method
JP2504928Y2 (en) Facsimile reception system
JP2002264447A (en) Printer and method for avoiding error
JP2698589B2 (en) Paper ejection control device
JP3048575B2 (en) Printer control device
JP2000118105A (en) Printer and method for controlling it
JPS63319177A (en) Printer
JPH1044554A (en) Printing apparatus
JPH04336264A (en) Printer
JPH0371993B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 13