JPS6268784A - Printer - Google Patents

Printer

Info

Publication number
JPS6268784A
JPS6268784A JP20794185A JP20794185A JPS6268784A JP S6268784 A JPS6268784 A JP S6268784A JP 20794185 A JP20794185 A JP 20794185A JP 20794185 A JP20794185 A JP 20794185A JP S6268784 A JPS6268784 A JP S6268784A
Authority
JP
Japan
Prior art keywords
ink ribbon
buffer
content
turned
characters
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
JP20794185A
Other languages
Japanese (ja)
Inventor
Eiichi Furuya
栄一 古屋
Akira Oda
晃 織田
Shoichi Nakano
中野 正一
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP20794185A priority Critical patent/JPS6268784A/en
Publication of JPS6268784A publication Critical patent/JPS6268784A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Impression-Transfer Materials And Handling Thereof (AREA)

Abstract

PURPOSE:To securely detect the time for replacement of an ink ribbon and prevent wasteful printing or wasting of the ink ribbon from occurring, by a system wherein the content of a character storage means saved into a nonvolatile memory when a power source is turned OFF is set into a character number storage means and displayed when the power source is turned ON. CONSTITUTION:With an ink ribbon newly set, the contents of a character number buffer 31 and a nonvolatile memory 4 are cleared, and when a printing operation is carried out, the number of characters is added to the content of the buffer 31 each time a one-line amount of data are stored into a printing buffer 32, and the content is displayed on a display device 14. When a power source is turned OFF during the printing operation, the content of the buffer 31 is saved into the memory 4. When the power source is thereafter turned ON, the content of the memory 4 is read, is stored into the buffer 31, the total number of characters printed from the start of using the ink ribbon is stored, and the content is displayed on the display device 14. Accordingly, when a user knows the number of characters capable of being printed by the ink ribbon, the can judge whether the next line can be printed by the ink ribbon. Thus, the time for replacement of the ink ribbon can be detected.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はインクリボンを使用して印字を行なうプリン
タに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer that prints using an ink ribbon.

[従来の技術] 従来インクリボンを使用したプリンタではリボンを何時
交換するかは目視によって判断し行なっていた。
[Prior Art] Conventionally, in printers using ink ribbons, it has been necessary to visually determine when to replace the ribbon.

[発明が解決しようとする問題点] しかしこのようにリボンの交換を目視に頼っていたので
はきわめて煩わしく、しかも見落としがあり、またリボ
ンを交換するタイミングの判断も難しく、このため印字
中にリボンが終了して印字が無駄になったり、あるいは
まだ印字できるのにリボンを交換してリボンが無駄にな
るなどの問題があった。
[Problems to be solved by the invention] However, relying on visual inspection to replace the ribbon in this way is extremely troublesome and can lead to oversights, and it is also difficult to judge when to replace the ribbon. There have been problems such as printing is wasted because printing is completed, or ribbon is wasted when the ribbon is replaced even though printing is still possible.

この発明はこのような問題を解決するために為されたも
ので、インクリボンの交換時期を確実に知ることができ
、印字無駄やインクリボンの無駄を防止できるプリンタ
を提供することを目的とする。
This invention was made to solve such problems, and an object thereof is to provide a printer that can reliably know when to replace the ink ribbon and prevent wasted printing and wasted ink ribbon. .

E問題点を解決するための手段] この発明はインクリボンを使用して印字を行なうプリン
タにおいて、印字した文字数をカウントしその内容を記
憶する文字数記憶手段と、電源のオフ時文字数記憶手段
の内容を不揮発性メモリにセーブし、かつ電源のオン時
不揮発性メモリにセーブした文字数を文字数記憶手段に
セットする手段と、文字数記憶手段の内容を表示する表
示器とを設けたものである。
Means for Solving Problem E] The present invention provides a printer that prints using an ink ribbon, a character number storage means for counting the number of printed characters and storing the contents, and a content of the character number storage means when the power is turned off. This apparatus is provided with means for saving the number of characters in a non-volatile memory, and setting the number of characters saved in the non-volatile memory in the character number storage means when the power is turned on, and a display for displaying the contents of the character number storage means.

[作用] このような構成の本発明においては印字文字数を積算カ
ウントして表示することによりインクリボンの残り印字
可能文字数を知ることができ、それによりインクリボン
の交換時期を確実に把握できる。
[Function] In the present invention having such a configuration, the number of characters remaining to be printed on the ink ribbon can be known by cumulatively counting and displaying the number of printed characters, and thereby the time to replace the ink ribbon can be known with certainty.

[実施例] 第1図はこの発明の実施例を示すブロック図で、1はR
OM(リード・オンリー・メモリ)2に格納されている
プログラムデータにより印字機構の各部を制御するCP
U (中央処理装置)、3は文字数記憶手段としての文
字数バッファ31、印字バッファ32、その他印字処理
に必要な各種のメモリを設けたRAM (ランダム・ア
クセス・メモリ)である。
[Embodiment] FIG. 1 is a block diagram showing an embodiment of the present invention, where 1 represents R.
CP that controls each part of the printing mechanism using program data stored in OM (Read Only Memory) 2
U (central processing unit), 3 is a RAM (random access memory) provided with a character count buffer 31 as a character count storage means, a print buffer 32, and various other memories necessary for print processing.

また、4は前記文字数バッファ31の内容をセーブする
ための不揮発性メモリ、5は電源のオフやその他の停電
発生を検出して前記CPU1に停電割込み信号S1を供
給する停電検出回路、6はI10ボートである。
Further, 4 is a non-volatile memory for saving the contents of the character number buffer 31, 5 is a power failure detection circuit that detects power off or other power failure occurrence and supplies a power failure interrupt signal S1 to the CPU 1, and 6 is an I10. It's a boat.

前記CPUlROM2、RAM3、不揮発性メモリ4、
I10ボート6とはシステム・バス7によって接続され
ている。
The CPU ROM 2, RAM 3, non-volatile memory 4,
It is connected to the I10 boat 6 by a system bus 7.

前記I10ポート6には印字ヘッド8を駆動制御する印
字ヘッド制御回路9、前記印字ヘッド8を搭載したキャ
リアを移動制御するキャリアモータ10を駆動制御する
キャリア制御回路11、プラテンに装填された用紙を送
り動作する紙送りモータ12を駆動制御する紙送り制御
回路13、表示器14及びホストコンピュータとデータ
のやり取りを行なうインターフェース制御回路15が接
続されている。
The I10 port 6 includes a print head control circuit 9 for driving and controlling the print head 8, a carrier control circuit 11 for driving and controlling a carrier motor 10 for controlling the movement of the carrier on which the print head 8 is mounted, and a carrier control circuit 11 for controlling the movement of the carrier on which the print head 8 is mounted. A paper feed control circuit 13 that drives and controls a paper feed motor 12 for feeding, a display 14, and an interface control circuit 15 that exchanges data with a host computer are connected.

また前記cpu iにはインクリボンの交換時にオン動
作されるリセットスイッチ16からリボン交換割込み信
号S2が供給されるようになっている。
Further, a ribbon exchange interrupt signal S2 is supplied to the CPU i from a reset switch 16 which is turned on when exchanging the ink ribbon.

前記cpuiは前記ROM2のプログラムデータにより
第2図〜第4図の制御動作を行なう。先ず第2図に示す
ように電源のオン動作があると不揮発性メモリ4にセッ
トされている文字数データを読出し、それをRAM3の
文字数バッファ31に格納する。次に印字を開始でるの
当って必要な各種のイニシャル処理を行ない印字動作に
対処する。印字動作が開始されると先ず一行分の印字デ
ータを印字バッファ32に格納し、その文字数をカウン
トする。続いてカウントした文字数を文字数バッファ3
1の内容を読み出して加算し再度文字数バッファ31に
格納する。そして文字数バッファ31の内容を表示器1
4に表示する。この後印字バッファ32のデータを読み
出して印字ヘッド8、キャリアモータ10を駆動し印字
動作を行ない、かつ紙送りモータ12を駆動して用紙を
例えば−行送り次の行の印字に待機させる。このような
印字動作は電源がオフ動作されるまでくり返し可能とな
る。
The CPU performs the control operations shown in FIGS. 2 to 4 based on the program data in the ROM 2. First, as shown in FIG. 2, when the power is turned on, the character number data set in the nonvolatile memory 4 is read out and stored in the character number buffer 31 of the RAM 3. Next, various initial processes necessary for starting printing are performed to cope with the printing operation. When a printing operation is started, first, one line of print data is stored in the print buffer 32, and the number of characters is counted. Next, the counted number of characters is stored in character count buffer 3.
The contents of 1 are read out, added, and stored in the character count buffer 31 again. Then, the contents of the character count buffer 31 are displayed on the display 1.
Display on 4. Thereafter, the data in the print buffer 32 is read out, the print head 8 and the carrier motor 10 are driven to perform a printing operation, and the paper feed motor 12 is also driven to move the paper, for example, by -line, and wait for the next line to be printed. Such printing operations can be repeated until the power is turned off.

電源のオフ動作が行われたり印字動作可能時において停
電が発生した場合には停電検出回路5からの停電割込み
信号S菫に入力によって第3図に示すような停電割込み
処理を行なう。これは文字数バッファ゛31の内容を読
出し、それを不揮発性メモリ4にセーブする。
When the power is turned off or a power outage occurs while printing is enabled, a power outage interrupt signal S from the power outage detection circuit 5 is input to perform power outage interrupt processing as shown in FIG. This reads the contents of the character count buffer 31 and saves it in the non-volatile memory 4.

またインクリボンの交換が行われリセットスイッチ16
のオン動作によりリボン交換割込み信号S2の入力があ
ると第4図に示すようなリボン交換割込み処理を行なう
。これは文字数バッファ31の内容をクリアし、また不
揮発性メモリ4の内容もクリアする。
Also, the ink ribbon is replaced and the reset switch 16
When the ribbon exchange interrupt signal S2 is input due to the ON operation of , ribbon exchange interrupt processing as shown in FIG. 4 is performed. This clears the contents of the character count buffer 31 and also clears the contents of the nonvolatile memory 4.

このような構成の本発明実施例においては、インクリボ
ンを新しくセットするとリボン交換割込み信号S2の入
力により文字数バッファ31及び不揮発性メモリ4の内
容がクリアされる。そして印字動作が行われると一行の
データが印字バッファ32に格納される毎にその文字数
がカウントされて文字数バッファ31に加算されていく
。そしてその文字数バッファ31の内容が表示器14に
よって一行印字を行なう毎に表示される。途中で電源が
オフされたり停電が発生したりすると文字数バッファ3
1の内容が不揮発性メモリ4にセー6一 ブされる。その後電源がオンされたり停電が回復すると
不揮発性メモリ4の内容が読み出され文字数バッファ3
1に格納される。
In the embodiment of the present invention having such a configuration, when a new ink ribbon is set, the contents of the character number buffer 31 and the nonvolatile memory 4 are cleared by inputting the ribbon replacement interrupt signal S2. When a printing operation is performed, each time one line of data is stored in the print buffer 32, the number of characters is counted and added to the character number buffer 31. The contents of the character count buffer 31 are displayed on the display 14 each time one line is printed. If the power is turned off or a power outage occurs during the process, the character count buffer 3
1 is saved to the non-volatile memory 4. After that, when the power is turned on or the power outage is restored, the contents of the non-volatile memory 4 are read out and the character count buffer 3 is read out.
It is stored in 1.

しかして、文字数バッファ31にはインクリボンを使用
開始してからの延べ印字文字数が格納されることになり
、その内容が表示器14によっ−C表示される。従って
、使用者がインクリボンの印字可能文字数を予め知って
いれば残り印字可能文字数を容易に知ることができ、そ
れによって次の一行の印字が可能か否かの判断が容易に
できる。
Thus, the total number of characters printed since the start of use of the ink ribbon is stored in the character count buffer 31, and the contents are displayed on the display 14 by -C. Therefore, if the user knows in advance the number of characters that can be printed on the ink ribbon, the user can easily know the number of characters that can be printed remaining, thereby easily determining whether or not the next line can be printed.

従って、次の一行が印字可能と分れば次の一行を印字さ
せ、また次の一行の印字が不可能と分ればインクリボン
を交換することになる。
Therefore, if it is found that the next line can be printed, the next line is printed, and if it is found that the next line cannot be printed, the ink ribbon is replaced.

このようにインクリボンの交換時期を確実に把握するこ
とができ、リボンがまだかなり残っているのに交換した
り印字の途中でリボンが終了することはなくなる。
In this way, it is possible to know with certainty when it is time to replace the ink ribbon, and there is no need to replace the ink ribbon even though there is still a lot of ribbon left, or the ribbon runs out in the middle of printing.

なお、前記実施例ではインクリボンの印字可能文字数を
使用者の記憶やメモなどに頼る場合について延べたがこ
の印字可能文字数を予めRAM3にセットしておき、表
示器14に延べ印字文字数とともに残り印字可能文字数
も表示させることもでき、このようにすればさらにリボ
ンの交換時期の把握が容易となる。
In the above embodiment, the number of characters that can be printed on the ink ribbon is determined based on the user's memory or notes, but this number of characters that can be printed is set in the RAM 3 in advance, and the display 14 shows the total number of characters to be printed as well as the remaining prints. The possible number of characters can also be displayed, which makes it easier to know when to replace the ribbon.

[発明の効果] 以上詳述したようにこの発明によればインクリボンの交
換時期を確実に知ることができ、印字無駄やインクリボ
ンの無駄を防止できるプリンタを提供できるものである
[Effects of the Invention] As described in detail above, according to the present invention, it is possible to provide a printer that can reliably know when to replace an ink ribbon and can prevent wasted printing and wasted ink ribbons.

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

図はこの発明の実施例を示すもので、第1図はブロック
図、第2図はCPUによるメイン処理を示す流れ図、第
3図はCPUよる停電割込み処理を示す流れ図、第4図
はCPUによるリボン交換割込み処理を示す流れ図であ
る。 1・・・CPU (中央処理装置)、2・・・ROM(
リード・オンリー・メモリ)、31・・・文字数バッフ
ァ、4・・・不揮発性メモリ、5・・・停電検出回路、
8・・・印字ヘッド、10・・・キャリアモータ、16
・・・リセットスイッチ。 第4図 第2図
The figures show an embodiment of the present invention. Fig. 1 is a block diagram, Fig. 2 is a flowchart showing main processing by the CPU, Fig. 3 is a flowchart showing power failure interrupt processing by the CPU, and Fig. 4 is a flowchart showing main processing by the CPU. 12 is a flowchart showing ribbon exchange interrupt processing. 1...CPU (central processing unit), 2...ROM (
(Read-only memory), 31...Character count buffer, 4...Nonvolatile memory, 5...Power failure detection circuit,
8...Print head, 10...Carrier motor, 16
...Reset switch. Figure 4Figure 2

Claims (1)

【特許請求の範囲】[Claims] インクリボンを使用して印字を行なうプリンタにおいて
、印字した文字数をカウントしその内容を記憶する文字
数記憶手段と、電源のオフ時前記文字数記憶手段の内容
を不揮発性メモリにセーブし、かつ電源のオン時前記不
揮発性メモリにセーブした文字数を前記文字数記憶手段
にセットする手段と、前記文字数記憶手段の内容を表示
する表示器とを設けたことを特徴とするプリンタ。
In a printer that prints using an ink ribbon, there is a character number storage means for counting the number of printed characters and storing the contents, and a character number storage means that saves the contents of the character number storage means in a non-volatile memory when the power is turned off, and when the power is turned on. A printer comprising: means for setting the number of characters saved in the non-volatile memory in the character number storage means; and a display for displaying the contents of the character number storage means.
JP20794185A 1985-09-20 1985-09-20 Printer Pending JPS6268784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20794185A JPS6268784A (en) 1985-09-20 1985-09-20 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20794185A JPS6268784A (en) 1985-09-20 1985-09-20 Printer

Publications (1)

Publication Number Publication Date
JPS6268784A true JPS6268784A (en) 1987-03-28

Family

ID=16548071

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20794185A Pending JPS6268784A (en) 1985-09-20 1985-09-20 Printer

Country Status (1)

Country Link
JP (1) JPS6268784A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6444181A (en) * 1987-08-11 1989-02-16 Canon Kk Reproducing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6444181A (en) * 1987-08-11 1989-02-16 Canon Kk Reproducing device

Similar Documents

Publication Publication Date Title
JP4246367B2 (en) Printing device
JP5609436B2 (en) Data storage processing apparatus, printing apparatus and data storage processing method in printing apparatus
JPH06312547A (en) Label printer
JPS60109892A (en) Electronic typewriter
KR19980022361A (en) How to detect ink cartridge status of ink jet printer
JPS6268784A (en) Printer
JPH06286239A (en) Method for processing of label printing in label printer
JP2839779B2 (en) Printing control device
JPH07178985A (en) Printing processing apparatus
JP2832984B2 (en) Printer
JP3702459B2 (en) Printer feed control device
JPS63137879A (en) Printer and ink ribbon cartridge for said printer
JPH06155867A (en) Thermal printer
JPH07205527A (en) Document processor
JP3140875B2 (en) Recording device
JP2690759B2 (en) Recording device
JPH04103380A (en) Document editing device
JPH04308783A (en) Input/output device
JPH06115179A (en) Printer
JPH0220370A (en) Printing apparatus
JPH03236983A (en) Thermal printer
JPH07290733A (en) Thermal printer
JPH01145946A (en) Sheet feed control method for printer
JPH04144773A (en) Printer
JP2002114407A (en) Sheet feeder, and image forming apparatus