JPS63116887A - Paper use-up detection method - Google Patents
Paper use-up detection methodInfo
- Publication number
- JPS63116887A JPS63116887A JP61263379A JP26337986A JPS63116887A JP S63116887 A JPS63116887 A JP S63116887A JP 61263379 A JP61263379 A JP 61263379A JP 26337986 A JP26337986 A JP 26337986A JP S63116887 A JPS63116887 A JP S63116887A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- paper
- counter
- signal
- value
- 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
- 238000001514 detection method Methods 0.000 title claims abstract description 23
- 238000007639 printing Methods 0.000 claims abstract description 52
- 230000002159 abnormal effect Effects 0.000 abstract description 3
- 238000000034 method Methods 0.000 abstract description 2
- 230000005856 abnormality Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 238000004883 computer application Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
【発明の詳細な説明】
技術分野
本発明は用紙切れ検出方式に関し、特にドツトインパク
ト式プリンタの用紙切れ検出方式に関する。TECHNICAL FIELD The present invention relates to a paper out detection method, and more particularly to a paper out detection method for a dot impact printer.
従来技術
従来、ドツトインパクト式プリンタにおいては、印字用
紙の用紙切れ位置を用紙切れ検出センサで検出したとき
に、上位計算機に異常信号を通知しており、この用紙切
れ検出センサの設置位置はプリンタの機種ごとに個別に
決められていたので、プリンタの機種ごとに用紙切れセ
ンサの検出する用紙切れ位置が異なっていた。Conventional technology Conventionally, in dot-impact printers, when a paper-out detection sensor detects the paper-out position of printing paper, an abnormal signal is sent to the host computer.The installation position of this paper-out detection sensor is determined by Since this was determined individually for each printer model, the paper out position detected by the paper out sensor was different for each printer model.
このような従来のドツトインパクト式プリンタにおいて
は、機種ごとに用紙切れ検出位置が異なっていたので、
上位計算機のアプリケーションから大量のデータをプリ
ンタに出力する際に、プリンタの機種をアプリケーショ
ンで意識せずに動作すると、用紙切れ発生時のリカバリ
処理においてプリンタの印字結果が異なったり、アプリ
ケーションの期待通りのリカバリが不可能な場合が発生
するという欠点があった。In such conventional dot impact printers, the paper out detection position differs depending on the model, so
When outputting a large amount of data to a printer from an application on a host computer, if the application operates without being aware of the printer model, the printer's print results may be different during the recovery process when paper runs out, or the print results may not be as expected by the application. This has the disadvantage that there are cases where recovery is impossible.
たとえば、用紙切れ検出位置がプリンタヘッドビンから
離れているプリンタに対して上位計算機のアプリケーシ
ョンからある一定母のデータが区切られて出力され、用
紙切れ検出時にもプリンタのバッファに送られたデータ
が全て同一用紙に印字されている場合に、このプリンタ
よりも用紙切れ検出位置がプリンタヘッドビンに近いプ
リンタに買換されると、プリンタのバッファに送られた
データの一部が用紙切れ検出時に用紙に印字できず、次
の用紙にはこの印字できなかったデータから印字するこ
ととなり、印字結果が異なってしまうことがある。For example, for a printer whose paper out detection position is far from the printer head bin, a host computer application will output a certain number of data separated into sections, and even when paper out is detected, all the data sent to the printer's buffer will be output. When printing on the same paper, if you replace your printer with a printer whose paper out detection position is closer to the printer head bin than this printer, some of the data sent to the printer's buffer will be transferred to the paper when paper out is detected. If the data cannot be printed, the data that could not be printed will be printed on the next sheet, which may result in different print results.
発明の目的
本発明は上記のような従来のものの欠点を除去すべくな
されたもので、用紙切れ検出位置が異なるプリンタにお
いて印字結果を共通化し、用紙切れ発生時の処理を共通
化することができる用紙切れ検出方式の提供を目的とす
る。Purpose of the Invention The present invention has been made in order to eliminate the above-mentioned drawbacks of the conventional printers, and it is possible to standardize printing results among printers with different paper out detection positions and to standardize processing when paper out occurs. The purpose is to provide a paper out detection method.
発明の構成
本発明による用紙切れ検出方式は、印字用紙上において
予め印字を停止させたい位置をセットしておく印字停止
位置セット手段と、現在の印字位置をカウントする印字
位置カウント手段とを設け、前記印字停止位置セット手
段の値と、前記印字位置カウント手段の値とが一致した
ときに前記印字を停止するようにしたことを特徴とする
。Structure of the Invention The paper out detection method according to the present invention is provided with a print stop position setting means for setting a position on the print paper in advance at which the printing is desired to be stopped, and a print position counting means for counting the current print position, It is characterized in that the printing is stopped when the value of the printing stop position setting means and the value of the printing position counting means match.
実施例
次に、本発明の一実施例について図面を参照して説明す
る。Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例を示すブロック図である。図
において、図示せぬ上位計算機からのデータの送受を行
うインタフェース1と、そのデータを格納するデータバ
ッファ2と、制御回路3と、プリンタヘッドビン制御回
路4と、プリンタへラドビン5と、用紙送り制御回路6
と、用紙送りモータ7と、図示せぬ印字用紙の現在行を
示す用紙送りカウンタ8と、制御回路3へ用紙切れを通
知する用紙切れi制御回路9と、印字用紙の用紙切れを
検出する用紙切れ検出センサ10と、印字の停止位置を
セットする印字中断カウンタ11とにより構成されてい
る。FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, an interface 1 that sends and receives data from a host computer (not shown), a data buffer 2 that stores the data, a control circuit 3, a printer head bin control circuit 4, a radbin 5 to the printer, and a paper feed control circuit. circuit 6
, a paper feed motor 7, a paper feed counter 8 (not shown) that indicates the current line of printing paper, a paper out i control circuit 9 that notifies the control circuit 3 that the paper is out, and a paper out detection that detects when the printing paper is out of paper. It is composed of a sensor 10 and a printing interruption counter 11 that sets the printing stop position.
インタフェース1は上位計n機からのインタフェース信
号21を受けて、データ信号22と制御信号23と印字
中断カウンタ信号25とを出力し、レスポンス信号24
を受けてその内容をインタフェース信号21として上位
計算機へ返答する。The interface 1 receives an interface signal 21 from the n upper-level machines, outputs a data signal 22, a control signal 23, and a print interruption counter signal 25, and outputs a response signal 24.
After receiving the information, the content is sent as an interface signal 21 to the host computer.
データバッファ2はデータ信号22を受けてデータを格
納し、データアドレス指示信号26によりデータバッフ
ァ2内のデータをデータ信号27として出力する。Data buffer 2 receives data signal 22, stores the data, and outputs the data in data buffer 2 as data signal 27 in response to data address instruction signal 26.
制御回路3は制御信号23によりデータを出力すべく異
常信号37をチェックし、異常がなければデータアドレ
ス指示信号26とデータ出力指示信号28と用紙送り指
示信号29とを出力する。The control circuit 3 checks the abnormality signal 37 in order to output data according to the control signal 23, and if there is no abnormality, outputs a data address instruction signal 26, a data output instruction signal 28, and a paper feed instruction signal 29.
異常信号37が異常を示す場合には、レスポンス信号2
4へ異常を通知する。When the abnormality signal 37 indicates an abnormality, the response signal 2
Notify 4 of the abnormality.
プリンタヘッドビン制御回路4はデータ信号27とデー
タ出力指示信号28とを受けてプリンタへラドビン動作
指示信号33を出力し、プリンタへラドビン5に印字を
実行させる。用紙送り制御回路6では用紙送り指示信号
29を受けて、用紙送りモータ7へ用紙送り指示信号3
4を出力するとともに、用紙送りカウンタ減算信号32
を出力する。用紙送りカウンタ8は用紙送り減■信号3
2によりカウンタ値を減じ、用紙送りカウンタセット指
示信号31によりカウンタ値を初期値(印字用紙の全行
数)にセットする。The printer head bin control circuit 4 receives the data signal 27 and the data output instruction signal 28, outputs a Radbin operation instruction signal 33 to the printer, and causes the Radbin 5 to execute printing. The paper feed control circuit 6 receives the paper feed instruction signal 29 and sends the paper feed instruction signal 3 to the paper feed motor 7.
4 and outputs the paper feed counter subtraction signal 32.
Output. Paper feed counter 8 indicates paper feed decrease ■ signal 3
2, the counter value is decreased, and the paper feed counter set instruction signal 31 sets the counter value to the initial value (the total number of lines on the printing paper).
用紙切れi、II t211 l1lil路9は用紙切
れ検出センサ10からの用紙切れ検出信号35により、
用紙送りカウンタセット指示信号31を出力する。さら
に、用紙送りカウンタ8と印字中断カウンタ11との内
容をカウンタセンス信号30と印字中断カウンタセンス
信号36とによりチェックし、カウンタ値が同じ場合に
は異常信号37を出力する。Paper out i, II t211 l1lil path 9 is detected by the paper out detection signal 35 from the paper out detection sensor 10.
A paper feed counter set instruction signal 31 is output. Furthermore, the contents of the paper feed counter 8 and the print interruption counter 11 are checked using the counter sense signal 30 and the print interruption counter sense signal 36, and if the counter values are the same, an abnormality signal 37 is output.
このとき、印字中断カウンタにはインタフェース1から
の印字中断カウンタ信号25を介して、上位計算機から
印字を停止させる位置の値がセットされている(用紙切
れ検出レンサ10の検出位置の中でヘッドビン5に最も
近い値よりもヘッドビン5寄りにセットする)ので、用
紙送りカウンタ8のカウンタ値が減算されて印字中継カ
ウンタ11のカウンタ値と一致すると異常信号37を出
力して、印字を停止する。At this time, the value of the position at which printing is to be stopped is set in the printing interruption counter by the host computer via the printing interruption counter signal 25 from the interface 1 (the value of the position at which printing is to be stopped is set in the printing interruption counter by the printing interruption counter signal 25 from the interface 1). Therefore, when the counter value of the paper feed counter 8 is subtracted and matches the counter value of the print relay counter 11, an abnormality signal 37 is outputted and printing is stopped.
印字の停止後、用紙切れ検出センサ10からの用紙切れ
検出信号35が用紙切れt、11 m回路9に送られて
くると、制御回路3へこれを通知し、次の印字用紙の先
端まで用紙送りを行い、次の印字用紙における用紙送り
カウンタ8の減算を開始する。After printing has stopped, when the paper out detection signal 35 from the paper out detection sensor 10 is sent to the paper out circuit 9, this is notified to the control circuit 3 and the paper is fed to the leading edge of the next printing paper. Then, the paper feed counter 8 starts decrementing the next printing paper.
このように、現在の印字位置を示す用紙送りカウンタ8
の値と、印字中断カウンタ11の値とが一致したときに
異常信号37を出力して印字を停止するようにすること
によって、上位計算機のアプリケーションから印字中断
カウンタ11のカウンタ値を変更することができ、自由
に停止位置を設定できるので、用紙切れ検出センサ10
の設置位置が異なるプリンタにおいて印字結果を共通化
し、用紙切れ時の処理を共通化することができる。In this way, the paper feed counter 8 indicates the current printing position.
By outputting an abnormality signal 37 and stopping printing when the value of the printing interruption counter 11 matches the value of the printing interruption counter 11, the counter value of the printing interruption counter 11 can be changed from the application of the host computer. paper out detection sensor 10 because the stop position can be freely set.
Printing results can be shared among printers installed at different locations, and processes when paper runs out can be shared.
尚、本発明の一実施例では現在の印字位置を示す用紙送
りカウンタ8の値を印字用紙の全行数からの減算数とし
たが、印字用紙の先端からの加算数としても良く、この
とき、印字中断カウンタ11の値には印字用紙の先端か
ら停止したい位置の行数がセットされればよい。また、
用紙切れ検出センサ10を有しても、有しなくてもよく
、これらに限定されない。In one embodiment of the present invention, the value of the paper feed counter 8 indicating the current printing position is the number subtracted from the total number of lines on the printing paper, but it may also be a number added from the leading edge of the printing paper. The value of the printing interruption counter 11 may be set to the number of lines from the leading edge of the printing paper to the desired stop position. Also,
The paper out detection sensor 10 may or may not be included, and the present invention is not limited thereto.
発明の詳細
な説明したように本発明によれば、現在の印字位置をカ
ウントする印字位置hラント手段の値と、印字を停止さ
せたい位置をセットしておく印字停止位置セット手段の
値とが一致したときに印字を停止するようにすることに
よって、用紙切れ検出位置が異なるプリンタにおいて印
字結果を共通化し、用紙切れ発生時の処理を共通化する
ことができるという効果がある。DETAILED DESCRIPTION OF THE INVENTION According to the present invention, as described in detail, the value of the print position h runt means for counting the current print position and the value of the print stop position setting means for setting the position at which printing is desired to be stopped are different. By stopping printing when a match occurs, it is possible to standardize the printing results among printers with different paper-out detection positions, and to standardize the processing when paper-out occurs.
第1図は本発明の一実施例を示すブロック図である。 主要部分の符号の説明 FIG. 1 is a block diagram showing one embodiment of the present invention. Explanation of symbols of main parts
Claims (1)
トしておく印字停止位置セット手段と、現在の印字位置
をカウントする印字位置カウント手段とを設け、前記印
字停止位置セット手段の値と、前記印字位置カウント手
段の値とが一致したときに前記印字を停止するようにし
たことを特徴とする用紙切れ検出方式。A print stop position setting means for setting a position at which printing is desired to be stopped on the printing paper in advance, and a print position counting means for counting the current print position are provided, and the value of the print stop position setting means and the printing position are set. A paper out detection method characterized in that the printing is stopped when the value of the position counting means matches.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61263379A JPS63116887A (en) | 1986-11-05 | 1986-11-05 | Paper use-up detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61263379A JPS63116887A (en) | 1986-11-05 | 1986-11-05 | Paper use-up detection method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63116887A true JPS63116887A (en) | 1988-05-21 |
Family
ID=17388670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61263379A Pending JPS63116887A (en) | 1986-11-05 | 1986-11-05 | Paper use-up detection method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63116887A (en) |
-
1986
- 1986-11-05 JP JP61263379A patent/JPS63116887A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3149168B2 (en) | Printing device | |
JPS63116887A (en) | Paper use-up detection method | |
JPS63319177A (en) | Printer | |
JPH04336264A (en) | Printer | |
JPH11180594A (en) | Sheet conveyor | |
JP2000191183A (en) | Printer | |
JPS61258774A (en) | Paper position detecting mechanism for serial printer | |
JPH05270114A (en) | Detecting system for depletion of sheet feeding in printer | |
JPH0375180A (en) | Dot serial printer | |
JP3170115B2 (en) | Impact printer | |
JPH02219134A (en) | Data processor | |
JPS6021235Y2 (en) | Print control device | |
JPS61123555A (en) | Printer-controlling system | |
JPH03130184A (en) | Jam detection system of serial printer | |
JPH05262020A (en) | Paper-jamming retrying control system of printer device | |
JPH0225368A (en) | Printer | |
JP2001010116A (en) | Printer | |
JPH06115192A (en) | Page printer | |
JPS62227680A (en) | Media low detection system | |
JPH01213712A (en) | Print control circuit | |
JPH0335110B2 (en) | ||
JPH0347776A (en) | Printer | |
JPH03268980A (en) | Serial printer | |
JPS59222370A (en) | High-speed printer | |
JPS61213715A (en) | Apparatus for detecting inclination of paper |