JPH01171966A - Printer - Google Patents
PrinterInfo
- Publication number
- JPH01171966A JPH01171966A JP33466987A JP33466987A JPH01171966A JP H01171966 A JPH01171966 A JP H01171966A JP 33466987 A JP33466987 A JP 33466987A JP 33466987 A JP33466987 A JP 33466987A JP H01171966 A JPH01171966 A JP H01171966A
- Authority
- JP
- Japan
- Prior art keywords
- paper
- feed mode
- mode
- manual feed
- 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
Links
Landscapes
- Handling Of Cut Paper (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、用紙を収納した用紙カセットから自動的に給
紙を行なうオートフィードモードと、オペレータが手操
作によって給紙を行なうマニュアルフィードモードとを
有し、外部ホストコンピュータから入力された印字デー
タを印字バッファに一旦格納した後に、前記二つのフィ
ードモードのうちのいずれかのモードで給紙された用紙
に印字するプリンタに関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention has two modes: an auto feed mode in which paper is automatically fed from a paper cassette containing paper, and a manual feed mode in which an operator manually feeds paper. The present invention relates to a printer that once stores print data input from an external host computer in a print buffer, and then prints on paper fed in one of the two feed modes.
従来のこの種のプリンタ・は、オートフィードモード時
において用紙カセットに用紙が無くなった場合または残
量が少なくなった場合には、自動的にモードをマニュア
ルフィードモードに切替えて外部のホストコンピュータ
との接続をオフラインとなし、印字バッファや外部のホ
ストコンピュータに残留している印字データの印字を行
なう場合は手差しで給紙を行ない、ホストコンピュータ
やプリンタ操作部から印字開始の指示を入力することに
よって印字を再開するように構成されている。Conventional printers of this type automatically switch the mode to manual feed mode when the paper cassette runs out of paper or the amount remaining in the paper cassette is low when in auto feed mode, and the mode is automatically switched to manual feed mode to communicate with an external host computer. If you want to print the print data remaining in the print buffer or external host computer with the connection offline, feed the paper manually and input the print start instruction from the host computer or printer control panel. is configured to resume.
上記構成の従来のプリンタにおいては、用紙カセットが
用紙切れとなった場合には自動的にモードがマニュアル
フィードモードに切替わるため、用紙カセットに用紙を
補給してオートフィードモードで印字を続行させる場合
には、モードの切替え操作とホストコンピュータとの接
続をオンラインにする操作とを行なう必要がある。この
とき、用紙カセットに用紙が補給されればペーパエンプ
ティ、は解除されるが、プリンタはモードの切換えと接
続をオンラインにする操作とが行なわれるまでは印字を
再開しない。従ってこの状態ではオペレータがホストコ
ンピュータおよびプリンタが動作していないと勘違いし
て電源を切ってしまい、印字バッファおよびホストコン
ピュータに残留している未印字の印字データを消失させ
てしまうおそれがある。In conventional printers with the above configuration, when the paper cassette runs out of paper, the mode automatically switches to manual feed mode, so if you replenish the paper cassette with paper and continue printing in auto feed mode, , it is necessary to perform a mode switching operation and an operation to bring the connection with the host computer online. At this time, if the paper cassette is replenished with paper, the paper empty state is canceled, but the printer does not resume printing until the mode is switched and the connection is brought online. Therefore, in this state, the operator may mistakenly assume that the host computer and printer are not operating and turn off the power, causing the unprinted print data remaining in the print buffer and the host computer to be lost.
そこで本発明は、用紙カセットが用紙切れとなり、マニ
ュアルフィードモードに切替わった場合において、用紙
カセットに用紙が補給された場合には自動的にモードを
オートフィードモードに切替えて印字を再開することが
でき、オペレータの誤操作等によって印字すべきデータ
が消失することを防ぎ得るプリンタを提供することを目
的とする。Therefore, the present invention is capable of automatically switching the mode to autofeed mode and restarting printing when paper is replenished in the paper cassette when the paper cassette runs out of paper and switches to manual feed mode. It is an object of the present invention to provide a printer that can prevent data to be printed from disappearing due to an operator's erroneous operation or the like.
本発明は上記問題点を解決し目的を達成するために、次
のような手段を講じた。すなわち、用紙を収納した用紙
カセットから自動的に給紙を行なうオートフィードモー
ドとオペレータが手操作によって給紙を行なうマニュア
ルフィードモードとを有し、外部ホストコンピュータか
ら入力された印字データを印字バッファに一旦格納した
後に、前記二つのフィードモードのうちのいずれかのモ
ードで給紙された用紙に印字するプリンタにおいて、前
記用紙カセット内の用紙の有無を検出するセンサと、こ
のセンサによって用紙カセットの紙切れが検出されたと
きに、印字を中止してモードを前記オートフィードモー
ドから前記マニュアルフィードモードに切替える手段と
、前記マニュアルフィードモードにおいて前記センサに
より用紙カセット内に用紙があることが検出されたとき
、モードを前記マニュアルフィードモードから前記オー
トフィードモードに切替えて自動的に印字を再開する手
段とを具備するようにした。In order to solve the above-mentioned problems and achieve the object, the present invention takes the following measures. In other words, it has an autofeed mode in which paper is automatically fed from a paper cassette containing paper, and a manual feed mode in which the operator manually feeds paper, and print data input from an external host computer is stored in the print buffer. In a printer that prints on paper fed in one of the two feed modes after it has been stored, there is a sensor that detects the presence or absence of paper in the paper cassette, and a sensor that detects the presence or absence of paper in the paper cassette. means for stopping printing and switching the mode from the auto feed mode to the manual feed mode when the sensor detects that there is paper in the paper cassette in the manual feed mode; and means for automatically restarting printing by switching the mode from the manual feed mode to the auto feed mode.
このような手段を講じたことにより、次のような作用を
呈する。すなわち、マニュアルフィードモード時におい
て用紙カセット内に用紙が有ることが検出されたとき、
モードをオートフィードモードに切替え、印字を再開す
るようにしたので、用紙カセットに用紙を補給するだけ
で印字を再開することができる。By taking such measures, the following effects are achieved. In other words, when it is detected that there is paper in the paper cassette in manual feed mode,
Since the mode is switched to autofeed mode and printing is restarted, printing can be restarted simply by replenishing the paper cassette with paper.
第1図は本発明の一実施例の構成を示すブロック図であ
る。図中、10が装置本体であり、CPU11が設けら
れている。このCPU11にはバスを介して動作プログ
ラムを記憶したROM12と、処理を行なうためのRA
M13とが接続されている。また、RAM13は印字ホ
ストコンピュータ19から入力された印字データを一旦
収納する印字バッファとして使用する領域を有している
。更にCPLJllには操作パネル14.PEセンサ1
5.PE LED16.印字部17.インタフェース
18がそれぞれバスを介して接続されている。操作パネ
ル14はオペレータがCPU11に対して操作指示を行
なう操作部である。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, 10 is a main body of the apparatus, and a CPU 11 is provided. This CPU 11 has a ROM 12 that stores operating programs via a bus, and an RA for processing.
M13 is connected. Further, the RAM 13 has an area used as a print buffer in which print data input from the print host computer 19 is temporarily stored. Furthermore, CPLJll has an operation panel 14. PE sensor 1
5. PE LED16. Printing section 17. Interfaces 18 are connected to each other via a bus. The operation panel 14 is an operation section through which an operator issues operation instructions to the CPU 11.
PEセンサ15は用紙カセットに収納された用紙の有無
を検出するものである。PE LED16は、PEセ
ンサ15によって用紙切れが検出された際に点灯して、
用紙切れである旨をオペレータに通知する発光ダイオー
ドである。印字部17は外部のホストコンピュータ19
から入力され、印字バッファに一旦収納された印字デー
タを用紙に印字するものである。インタフェース18は
、cpuilと外部のホストコンピュータ19とのイン
タフェースをとる。The PE sensor 15 detects the presence or absence of paper stored in the paper cassette. The PE LED 16 lights up when the PE sensor 15 detects that paper is out.
This is a light emitting diode that notifies the operator that paper is out. The printing section 17 is connected to an external host computer 19.
The print data that is input from the printer and stored in the print buffer is printed on paper. The interface 18 interfaces the cpuil with an external host computer 19.
また、CPU11はPEセンサ15によって用紙切れが
検出された場合にモードをオートフィードモードからマ
ニュアルフィードモードに切替える手段と、マニュアル
フィードモード時においてPEセンサ15が用紙カセッ
ト内に用紙が有ることを検出したときにモードをマニュ
アルフィードモードからオートフィードモードに切替え
、自動的に印字を再開する手段とを備えている。The CPU 11 also has means for switching the mode from autofeed mode to manual feed mode when the PE sensor 15 detects paper out, and a means for switching the mode from autofeed mode to manual feed mode when the PE sensor 15 detects that there is paper in the paper cassette in the manual feed mode. The printer is equipped with means for switching the mode from manual feed mode to auto feed mode and automatically restarting printing.
第2図はPEセンサによる用紙検出系の回路構成を示す
図である。なお第1図と同一部分には同一符号を付した
。FIG. 2 is a diagram showing a circuit configuration of a paper detection system using a PE sensor. Note that the same parts as in FIG. 1 are given the same reference numerals.
PEセンサ15は、例えばフォトカブラから成っており
、用紙カセットに用紙がある場合は「1」、用紙切れの
場合はrOJを出力する。このPEセンサ15の出力は
コンパレータ21のマイナス端子に入力される。従って
コンパレータ21の出力は用紙が有る場合は「0」、用
紙切れの場合は「1」となる。このコンパレータの出力
はCPLlllの入力ボートからCPLJllに入力さ
れ、レベルが反転されてCPU11の出力ボートから出
力される。従って、用紙が有る場合にはPE LED
16には電流が供給されず、PELED16は点灯しな
い。一方、用紙切れの場合はPE LED16に電流
が供給され、PELED16が点灯する。The PE sensor 15 is composed of, for example, a photocoupler, and outputs "1" when there is paper in the paper cassette, and outputs rOJ when there is no paper in the paper cassette. The output of this PE sensor 15 is input to the negative terminal of the comparator 21. Therefore, the output of the comparator 21 is "0" when there is paper, and "1" when there is no paper. The output of this comparator is input from the input port of CPLJll to CPLJll, and the level is inverted and output from the output port of CPU11. Therefore, if there is paper, the PE LED
No current is supplied to PELED 16, and PELED 16 does not light up. On the other hand, when the paper is out, current is supplied to the PE LED 16, and the PE LED 16 lights up.
以上のような構成の本装置の動作を第3図(a)(b)
のフローチャートを用いて説明する。The operation of this device with the above configuration is shown in Figures 3(a) and (b).
This will be explained using a flowchart.
まずステップ3aでホストコンピュータ19との接続を
オンラインとする。次にステップ3bでPEセンサ15
からの信号を監視して用紙切れか否かの判断を行なう。First, in step 3a, the connection with the host computer 19 is brought online. Next, in step 3b, the PE sensor 15
It monitors the signal from the printer and determines whether the paper is out of paper or not.
ここで、用紙切れでない場合はステップ3Cで用紙カセ
ットからの給紙を行ない、ステップ3dで印字バッファ
内の1ペ一ジ分の印字データの印字を印字部17で行な
う。そして1ペ一ジ分の印字データの印字が終了したら
、ステップ3eでホストコンピュータ19から送られて
くる全ての印字データが印字されたか否かの判断を行な
い、全印字データの印字が終了していたら処理を終了す
る。ホストコンピュータ19および印字バッファに印字
データが残っている場合はステップ3b以降の処理を繰
返す。ステップ3bの判断において、紙切れであること
が検出された場合はステップ3fでPE LED16
を点灯させ、ステップ3gで接続をオフラインにする。Here, if the paper is not out of paper, the paper is fed from the paper cassette in step 3C, and the print unit 17 prints one page worth of print data in the print buffer in step 3d. When printing of one page's worth of print data is completed, it is determined in step 3e whether all the print data sent from the host computer 19 has been printed, and whether printing of all the print data has been completed. processing ends. If print data remains in the host computer 19 and the print buffer, the processes from step 3b onward are repeated. In the judgment in step 3b, if it is detected that the paper is out of paper, the PE LED 16 is turned on in step 3f.
Light up and take the connection offline in step 3g.
次にステップhでモードをマニュアルフィードモードと
する。ここで本装置は停止状態となる。そしてステップ
31およびステップ3jで用紙カセットに用紙が補給さ
れるかまたは手操作によって給紙されるのを持つ。ここ
で用紙カセットに用紙が補給され、PEセンサ15で用
紙が検知されると、ステップ3にでPE LED16
を消灯し、ステップ32でモードをオートフィードモー
ドに切替える。そしてステップ3mで給紙を行ない、ス
テップ3nで接続をオンラインにし、ステップ3d以降
の処理を繰返し、印字を再開する。ステップ31および
ステップ3jで手操作による給紙があった場合は、ステ
ップ3oでPE LED16を消灯してステップ3p
で接続をオンラインとする指示入力があるのを待つ。こ
こで指示入力があったらステップ3n以降の処理を繰返
し、印字を再開する。Next, in step h, the mode is set to manual feed mode. At this point, the device is in a stopped state. Then, in steps 31 and 3j, paper is replenished into the paper cassette or manually fed. When the paper cassette is replenished with paper and the PE sensor 15 detects the paper, the PE LED 16 goes to step 3.
is turned off, and the mode is switched to autofeed mode in step 32. Then, in step 3m, paper is fed, and in step 3n, the connection is made online, and the processes from step 3d onward are repeated to resume printing. If paper is manually fed in step 31 and step 3j, the PE LED 16 is turned off in step 3o and the process proceeds to step 3p.
Wait for an instruction to make the connection online. If an instruction is input here, the process from step 3n onwards is repeated and printing is resumed.
このように本実施例によれば、マニュアルフィードモー
ド時において用紙が補給された用紙カセットをセットす
るだけで、オートフィードモードによる印字動作を行な
わせることができる。As described above, according to this embodiment, a printing operation in the auto feed mode can be performed by simply setting a paper cassette replenished with paper in the manual feed mode.
なお本発明は上記実施例に限定されるものではなく、本
発明の要旨を逸脱しない範囲で種々の変形実施可能であ
るのは勿論である。Note that the present invention is not limited to the above-mentioned embodiments, and it goes without saying that various modifications can be made without departing from the gist of the present invention.
本発明によれば、用紙カセット内の用紙の有無を検出す
るセンサと、このセンサによって用紙カセットの紙切れ
が検出されたときに、印字を中止してモードをオートフ
ィードモードからマニュアルフィードモードに切替える
手段と、マニュアルフィードモードにおいてセンサによ
り用紙カセット内に用紙があることが検出されたとぎ、
モードをマニュアルフィードモードからオートフィード
モードに切替えて自動的に印字を再開する手段とを具備
するようにしたので、用紙カセットが用紙切れとなり、
マニュアルフィードモードに切替わつた場合において、
用紙カセットに用紙が補給された場合には自動的にモー
ドをオートフィードモードに切替えて印字を再開づるこ
とができ、オペレータの誤操作等によって印字すべきデ
ータが消失することを防ぎ得るプリンタを提供できる。According to the present invention, there is provided a sensor for detecting the presence or absence of paper in a paper cassette, and means for stopping printing and switching the mode from autofeed mode to manual feed mode when the sensor detects that the paper cassette is out of paper. When the sensor detects that there is paper in the paper cassette in manual feed mode,
Since it is equipped with a means to switch the mode from manual feed mode to auto feed mode and restart printing automatically, when the paper cassette runs out of paper,
When switching to manual feed mode,
When the paper cassette is replenished with paper, the mode can be automatically switched to autofeed mode and printing can be resumed, and it is possible to provide a printer that can prevent data to be printed from being lost due to operator error, etc. .
第1図〜第3図(a)(b)は本発明の一実施例を示す
図であり、第1図は構成を示すブロック図、第2図はP
Eセンサによる用紙検出系の回路構成の一例を示す図、
第3図(a) (t))はCPUの処理の流れを示す流
れ図である。
10・・・装置本体、11・・・CPU、12・・−R
OM。
13・・・RAM、14・・・操作パネル、15・・・
PEセンサ、16・・・PE LED、17・・・印
字部、18・・・インタフェース、19・・・ホストコ
ンピュータ、21・・・コンパレータ。
出願人代理人 弁理士 鈴江武彦
令5■
第2図
第3図(a)
第 3 図 (b)1 to 3 (a) and (b) are diagrams showing one embodiment of the present invention, FIG. 1 is a block diagram showing the configuration, and FIG. 2 is a P
A diagram showing an example of a circuit configuration of a paper detection system using an E sensor,
FIG. 3(a)(t)) is a flowchart showing the flow of processing by the CPU. 10...Device body, 11...CPU, 12...-R
OM. 13...RAM, 14...Operation panel, 15...
PE sensor, 16... PE LED, 17... Printing section, 18... Interface, 19... Host computer, 21... Comparator. Applicant's agent Patent attorney Takehiko Suzue 5■ Figure 2 Figure 3 (a) Figure 3 (b)
Claims (1)
うオートフィードモードとオペレータが手操作によって
給紙を行なうマニュアルフィードモードとを有し、外部
ホストコンピュータから入力された印字データを印字バ
ッファに一旦格納した後に前記二つのフィードモードの
うちのいずれかのモードで給紙された用紙に印字するプ
リンタにおいて、前記用紙カセット内の用紙の有無を検
出するセンサと、このセンサによつて用紙カセットの紙
切れが検出されたときに印字を中止してモードを前記オ
ートフィードモードから前記マニュアルフィードモード
に切替える手段と、前記マニュアルフィードモードにお
いて前記センサにより用紙カセット内に用紙があること
が検出されたときモードを前記マニュアルフィードモー
ドから前記オートフィードモードに切替えて自動的に印
字を再開する手段とを具備したことを特徴とするプリン
タ。It has an auto feed mode in which paper is automatically fed from the paper cassette containing paper, and a manual feed mode in which the operator manually feeds paper, and print data input from an external host computer is temporarily stored in the print buffer. In a printer that prints on paper fed in one of the two feed modes after the paper has been fed, the printer includes a sensor that detects the presence or absence of paper in the paper cassette, and a sensor that detects the presence or absence of paper in the paper cassette. means for stopping printing and switching the mode from the auto feed mode to the manual feed mode when the sensor detects that there is paper in the paper cassette in the manual feed mode; 1. A printer comprising means for automatically restarting printing by switching from a manual feed mode to the auto feed mode.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33466987A JPH01171966A (en) | 1987-12-28 | 1987-12-28 | Printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33466987A JPH01171966A (en) | 1987-12-28 | 1987-12-28 | Printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01171966A true JPH01171966A (en) | 1989-07-06 |
Family
ID=18279931
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33466987A Pending JPH01171966A (en) | 1987-12-28 | 1987-12-28 | Printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01171966A (en) |
-
1987
- 1987-12-28 JP JP33466987A patent/JPH01171966A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH01171966A (en) | Printer | |
| JPS6421528A (en) | Printer | |
| JPH03259847A (en) | Duplication detection method and device for paper feed | |
| JPH1017168A (en) | Paper sheet cassette automatic switching method | |
| JPH01184156A (en) | Printing automatic contracting/magnifying system of printer | |
| JPH01264881A (en) | Portable printer | |
| JPH01269580A (en) | Page printer | |
| JP2001138473A (en) | Plate making press and its power control system | |
| JPH01237717A (en) | printing device | |
| JPH01190472A (en) | Printing device | |
| JP2004178516A (en) | Printing system | |
| JPS61172772A (en) | Printing apparatus | |
| JP2512141Y2 (en) | Printer | |
| JPH05338328A (en) | Power source control circuit of printer | |
| JPH02307777A (en) | Printer | |
| JPS59218878A (en) | Printing apparatus | |
| JPS60115470A (en) | Automatic paper feed control method of printing device | |
| JPH0537308Y2 (en) | ||
| JPH079648Y2 (en) | Printer device | |
| KR100207735B1 (en) | Printing process control method for printer | |
| JPH03175070A (en) | Page control apparatus at time of paper end in printer | |
| JPH10100513A (en) | Label printer data controller | |
| JPS63126029A (en) | Test printing system for printer | |
| JPH08249145A (en) | Printer | |
| JPS63160873A (en) | Power source controlling system for printing device |