JPH03268986A - Printer with data buffer used capacity display function - Google Patents
Printer with data buffer used capacity display functionInfo
- Publication number
- JPH03268986A JPH03268986A JP2070145A JP7014590A JPH03268986A JP H03268986 A JPH03268986 A JP H03268986A JP 2070145 A JP2070145 A JP 2070145A JP 7014590 A JP7014590 A JP 7014590A JP H03268986 A JPH03268986 A JP H03268986A
- Authority
- JP
- Japan
- Prior art keywords
- data
- data buffer
- output
- buffer
- time
- 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
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、上位装置から送られる印字データをデータバ
ッファに蓄積した後印字部に出力して印字するプリンタ
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer that stores print data sent from a host device in a data buffer and then outputs it to a printing unit for printing.
従来、この種のプリンタは、インタフェース回路を経由
してデータバッファの記憶容量に達するまで上位装置か
らの入力データをデータバッファに蓄積し、蓄積したデ
ータを印字部で制御コードと印字コードに変換処理して
印字出力を行ない、データバッファが空になったら上位
装置からの次のデータを蓄積するということを繰返して
いた。Conventionally, this type of printer stores input data from a host device in a data buffer via an interface circuit until it reaches the storage capacity of the data buffer, and then converts the stored data into a control code and a print code in the print unit. Then, when the data buffer became empty, the next data from the host device was stored, which was repeated.
[発明が解決しようとする課題]
上述した従来のプリンタは、データバッファに蓄積され
たデータが全て印字部に出力されるまで次のデータの入
力ができず、しかも各時点におけるデータバッファの使
用状態が外部に表示されないので、プリンタの印字終了
時間や上位装置のプリンタからの開放時間が予測し難い
という欠点がある。[Problems to be Solved by the Invention] The conventional printer described above cannot input the next data until all the data accumulated in the data buffer is output to the printing unit, and furthermore, the usage state of the data buffer at each point in time cannot be input. Since the information is not displayed externally, there is a drawback that it is difficult to predict the time when the printer will finish printing or the time when the host device will be disconnected from the printer.
本発明の目的は、プリンタの印字終了時間や上位装置の
プリンタからの開放時間等の予測が容易になるデータバ
ッファ使用容量表示機能付きプリンタを提供することに
ある。SUMMARY OF THE INVENTION An object of the present invention is to provide a printer with a data buffer usage capacity display function that makes it easy to predict the printing end time of the printer, the release time from the printer of a host device, and the like.
本発明のデータバッファ使用容量表示機能付きプリンタ
は、
データバッファに入力されるデータを検出する度にパル
スを発生するデータバッファ入力データ検出部と、
前記データバッファから印字部に出力されるデータを検
出する度にパルスを発生するデータバッファ出力データ
検出部と、
前記データバッファ入力データ検出部とデータバッファ
出力データ検出部の出力パルスを計数し、入力データ数
から出力データ数を減算して、前記データバッファに存
在する未処理データ数を各データの入力または出力ごと
に演算する演算部と、
前記演算部の演算した前記データバッファに存在する未
処理データ数を前記データバッファの記憶容量とともに
表示する表示部とを有する。A printer with a data buffer usage capacity display function of the present invention includes a data buffer input data detection section that generates a pulse every time data input to the data buffer is detected, and a data buffer input data detection section that detects data output from the data buffer to a printing section. a data buffer output data detection section that generates a pulse each time the data buffer output data detection section generates a pulse, and the output pulses of the data buffer input data detection section and the data buffer output data detection section are counted, the number of output data is subtracted from the number of input data, and the number of output data is calculated. a calculation unit that calculates the number of unprocessed data existing in the buffer for each input or output of each data; and a display that displays the number of unprocessed data existing in the data buffer calculated by the calculation unit together with the storage capacity of the data buffer. It has a department.
〔作 用J
データバッファにデータが入出力される度にそのデータ
数がデータバッファ入力検出部とデータバッファ出力検
出部によって計数され、演算部によって入力、出力者デ
ータ数からデータバッファの残存データ数が算出され、
データバッファの記憶容量と共に残存データ数が表示さ
れる。[Function J] Every time data is input or output to the data buffer, the number of data is counted by the data buffer input detection section and the data buffer output detection section, and the calculation section calculates the number of remaining data in the data buffer from the number of input and output data. is calculated,
The number of remaining data is displayed along with the storage capacity of the data buffer.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明のデータバッファ使用容量表示機能付き
プリンタの一実施例の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of an embodiment of a printer with a data buffer usage capacity display function of the present invention.
本実施例は、第1図に示すように、データ入力インター
フェース部3と、データバッファ入力データ検出部4と
、データバッファ部5と、データバッファ出力データ検
出部6と、印字部7と、演算部1と、表示部2とからな
り、データ入力インターフェース部3が上位装置からの
データを1回当りデータバッファ部5の総記憶容量まで
として入力し、データバッファ部5に蓄積した後、印字
部7がデータバッファ部5から逐次データを読出して制
御コードと印字コードに変換し、印字ヘットを駆動して
印字処理を行なう。このデータ入力から印字処理までの
途中にデータバッファ入力データ検出部4が、データバ
ッファ部5に入力される1文字相当のデータを検出する
度に】つのパルスを発生して演算部1に送り、データバ
ッファ出力データ検出部6も同様にしてデータバッファ
部5からの出力データ1文字相当検出ごとに1つのパル
スを演算部1に送る。演算部1は、これらのパルスを入
力と出力ごとに分けて計数してそれぞれ入力データ数、
出力データ数とし、さらにデータの人、出力が検出され
る度に入力データ数と出力データ数の差を計算し、デー
タバッファ部5に未処理で残存するデータ量としてその
値を格納し更新する0表示部2は、フルスケールをデー
タバッファ部5の総記憶容量として目盛付されたバー表
示素子で、演算部1に格納更新されている残存データ量
を続出し、バー表示によりデータ量を表示する。As shown in FIG. 1, this embodiment includes a data input interface section 3, a data buffer input data detection section 4, a data buffer section 5, a data buffer output data detection section 6, a printing section 7, and a The data input interface section 3 inputs data from the host device up to the total storage capacity of the data buffer section 5 at a time, stores it in the data buffer section 5, and then outputs the data to the printing section. 7 sequentially reads data from the data buffer section 5, converts it into a control code and a print code, and drives a print head to perform printing processing. During the process from data input to printing processing, each time the data buffer input data detection unit 4 detects data equivalent to one character input to the data buffer unit 5, it generates a pulse and sends it to the calculation unit 1. Similarly, the data buffer output data detection section 6 sends one pulse to the calculation section 1 every time one character of output data from the data buffer section 5 is detected. The calculation unit 1 divides and counts these pulses for each input and output, and calculates the number of input data and the number of input data, respectively.
The number of output data is calculated, and each time an output is detected, the difference between the number of input data and the number of output data is calculated, and the value is stored and updated as the amount of unprocessed data in the data buffer section 5. The 0 display section 2 is a bar display element that is graduated with full scale as the total storage capacity of the data buffer section 5, and continuously displays the amount of remaining data that has been stored and updated in the calculation section 1, and displays the amount of data using a bar display. do.
[発明の効果]
以上説明したように本発明は、データバッファ入力デー
タ検出部とデータバッファ出力データ検出部と演算部と
表示部とを設けて、データバッファの入力データ数と出
力データ数を計数し、データバッファに存在するデータ
数をデータバッファの記憶容量とともに表示することに
より、プリンタの印字終了時間や上位装置のプリンタか
らの開放時間を容易に予測できる効果がある。[Effects of the Invention] As explained above, the present invention includes a data buffer input data detection section, a data buffer output data detection section, a calculation section, and a display section, and counts the number of input data and output data of the data buffer. However, by displaying the number of data existing in the data buffer together with the storage capacity of the data buffer, it is possible to easily predict the print completion time of the printer and the release time of the host device from the printer.
第1図は本発明のデータバッファ使用容量表示機能付き
プリンタの一実施例の構成を示すプロッり図である。
1・・・・・・演算部、
2・・・・・・表示部、
3・・・・・・データ入力インタフェース部、4・・・
・・・データバッファ入力データ検出部、5・−・・・
・データバッファ部、
6・・・・・・データバッファ出力データ検出部、7・
・・・・・印字部。FIG. 1 is a plot diagram showing the configuration of an embodiment of a printer with a data buffer usage capacity display function of the present invention. 1... Arithmetic section, 2... Display section, 3... Data input interface section, 4...
...Data buffer input data detection section, 5...
・Data buffer section, 6...Data buffer output data detection section, 7.
...Printing section.
Claims (1)
に蓄積した後、印字部に出力して印字するプリンタにお
いて、 前記データバッファに入力されるデータを検出する度に
パルスを発生するデータバッファ入力データ検出部と、 前記データバッファから前記印字部に出力されるデータ
を検出する度にパルスを発生するデータバッファ出力デ
ータ検出部と、 前記データバッファ入力データ検出部とデータバッファ
出力データ検出部の出力パルスを計数し、入力データ数
から出力データ数を減算して、前記データバッファに存
在する未処理データ数を各データの入力または出力ごと
に演算する演算部と、 前記演算部の演算した前記データバッファに存在する未
処理データ数を前記データバッファの記憶容量とともに
表示する表示部とを有することを特徴とするデータバッ
ファ使用容量表示機能付きプリンタ。[Scope of Claims] 1. In a printer that stores print data sent from a host device in a data buffer and then outputs it to a printing unit for printing, a pulse is generated every time data input to the data buffer is detected. a data buffer input data detection unit that generates a pulse every time it detects data output from the data buffer to the printing unit; a data buffer output data detection unit that generates a pulse each time it detects data output from the data buffer to the printing unit; a calculation unit that counts output pulses of the detection unit and subtracts the number of output data from the number of input data to calculate the number of unprocessed data existing in the data buffer for each input or output of data; A printer with a data buffer usage capacity display function, comprising: a display unit that displays the calculated number of unprocessed data existing in the data buffer together with the storage capacity of the data buffer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2070145A JPH03268986A (en) | 1990-03-19 | 1990-03-19 | Printer with data buffer used capacity display function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2070145A JPH03268986A (en) | 1990-03-19 | 1990-03-19 | Printer with data buffer used capacity display function |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03268986A true JPH03268986A (en) | 1991-11-29 |
Family
ID=13423116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2070145A Pending JPH03268986A (en) | 1990-03-19 | 1990-03-19 | Printer with data buffer used capacity display function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03268986A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08212311A (en) * | 1995-02-03 | 1996-08-20 | Olympus Optical Co Ltd | Information reproduction system and information recording system, and their recording medium |
US7982903B2 (en) * | 2001-09-04 | 2011-07-19 | Neopost Industrie B.V. | Method and set of instructions for the dosed supply of printing instructions to a printer, and system for practicing the method |
-
1990
- 1990-03-19 JP JP2070145A patent/JPH03268986A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08212311A (en) * | 1995-02-03 | 1996-08-20 | Olympus Optical Co Ltd | Information reproduction system and information recording system, and their recording medium |
US7982903B2 (en) * | 2001-09-04 | 2011-07-19 | Neopost Industrie B.V. | Method and set of instructions for the dosed supply of printing instructions to a printer, and system for practicing the method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3481296B2 (en) | How to select items on the graphic screen | |
JPH03268986A (en) | Printer with data buffer used capacity display function | |
US4248316A (en) | Error detecting apparatus for a scale having a digital display | |
JPH0393096A (en) | Counting device | |
JP3334901B2 (en) | Programmable controller | |
JPH05274081A (en) | Handwriting input device | |
KR980700633A (en) | CIRCUITS, SYSTEMS AND METHODS FOR CONTROLLING THE DISPLAY OF BLOCKS OF DATA ON A DISPLAY SCREEN | |
JPS63204185A (en) | Digital rate meter | |
JP3016403B2 (en) | Electronic flow meter | |
JPS6016993Y2 (en) | First-in, first-out memory | |
JPH02193298A (en) | Account processor | |
JPS6120020B2 (en) | ||
JPH0659942A (en) | Operation state monitoring system for information apparatus | |
JPS55103668A (en) | Merchandise sale system | |
JPH10105009A (en) | Toner using state displaying device | |
JPS55115106A (en) | Display method for process status | |
JPH03233739A (en) | Output system for maintenance information | |
JPH0547812U (en) | Walk counter | |
JPS5811014B2 (en) | Digital electronic scale | |
JPS59158627A (en) | Multi-channel counter circuit | |
JPH04141692A (en) | Display control circuit | |
JPS60144893A (en) | electronic cash register | |
JPH0329680A (en) | Concentrated management device for pachinko hall | |
JPS6260652B2 (en) | ||
JPH04147883A (en) | Printer |