JPH0452226B2 - - Google Patents

Info

Publication number
JPH0452226B2
JPH0452226B2 JP21824783A JP21824783A JPH0452226B2 JP H0452226 B2 JPH0452226 B2 JP H0452226B2 JP 21824783 A JP21824783 A JP 21824783A JP 21824783 A JP21824783 A JP 21824783A JP H0452226 B2 JPH0452226 B2 JP H0452226B2
Authority
JP
Japan
Prior art keywords
battery
printing
battery voltage
display
counter
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
Application number
JP21824783A
Other languages
Japanese (ja)
Other versions
JPS60109891A (en
Inventor
Hideo Ueno
Hiroshi Kuno
Yoshifumi Hamabe
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP21824783A priority Critical patent/JPS60109891A/en
Publication of JPS60109891A publication Critical patent/JPS60109891A/en
Publication of JPH0452226B2 publication Critical patent/JPH0452226B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/20Arrangements of counting devices

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

技術分野 本発明は駆動電源として電池を使用する印字装
置に関するものであり、特に、電池電圧が一定レ
ベル以下に低下したことを使用者に報知する報知
手段を備えた電池駆動印字装置に関するもであ
る。 従来技術 駆動電源として電池を使用するタイプライタ等
の電池駆動印字装置において、電池電圧が一定レ
ベル以下に低下すると印字装置が誤動作を起こす
恐れがあるため、それを使用者に報知することが
必要である。 これはプリンタ付電子式卓上計算機のような記
録式電子機器においても同様であつて、そのため
特開昭57−10824号公報には記録式電子機器に、
電源電池がプリンタ等の記録手段の誤動作を引き
起こす領域にまで低下したことを検知し、その旨
を使用者に報知する手段を設けることが提案され
ている。すなわち、電源電圧が一定レベル以下に
低下した状態においてはキー入力が為される度毎
に一定時間にわたつて報知音が発せられるように
することが提案されるているのであるが、電池電
圧は大きな電力を必要とする動作が連続的に行わ
れた場合に一時的に一定レベル以下に低下して
も、その後、それほど大きな電力を必要としない
動作が継続されるか、もしくは電子機器が休止状
態におかれれば回復してくるものであり、電池電
圧が一旦一定レベル以下に低下したからといつて
必ず電池を交換しなければならないものではな
い。したがつて、そのままの電池を使用し続けて
いると電源電池が一時的に一定レベル以下に低下
する度毎に警報音が発せられることとなる。これ
は煩わしいことであり、また、電池電源の低下が
報知されたり、されなかつたりすると、使用者が
装置が故障したのではないかという不安を抱く不
都合もある。 この事情は、電源電圧の低下を液晶デイスプレ
イ等視覚に訴える表示手段によつて報知する場合
でも同様である。 発明の目的 本発明は上記のような事情を背景として為され
たものであり、したがつて本発明の目的とすると
ころは、電池駆動の印字装置において電源電池の
電圧が印字ヘツドが誤動作する恐れがあるほどに
低下したことを使用者に報知し得るとともに、電
池電圧が一時的に一定レベル以下に低下したのみ
の場合には邪魔になる報知音の発生や報知表示を
行わない電池駆動印字装置を提供することにあ
る。 発明の構成 本発明は上記の目的を達成するために、第1図
に示すように、電池により駆動されて印字を行う
印字ヘツドと前記電池の電圧低下を報知する報知
手段とを有する電池駆動印字装置において、(a)電
池電圧が一定レベル以下に低下したことを検出す
る検出回路と、(b)その検出回路から出力信号が発
せられている状態において前記印字ヘツドが行う
予め定められている移動操作の回数をカウントす
るカウンタと、(c)そのカウンタのカウント値が所
定値に達したとき前記報知手段を作用させる制御
手段とを備えたことを特徴とするものである。 なお、ここにおいて印字ヘツドの予め定められ
ている移動動作とは、1文字の印字動作あるいは
改行動作等、印字ヘツドの移動を伴う動作を意味
する。そして、印字ヘツドがサーマルヘツド等、
ドツトによつて印字を行うタイプのものである場
合には、1文字を印字するために印字ヘツドが数
ステツプ移動させられることとなるが、この場
合、1ステツプを印字ヘツドの1移動動作と予め
定めておくことも可能である。電池駆動の印字装
置においては印字ヘツドの移動動作が行わている
間電池電圧がある程度低下するのであるが、この
低下した状態における電池電圧が一定レベル以下
に達した場合にはカウンタをカウントアツプさ
せ、そのカウンタのカウント値が所定値に達した
ときに電池電圧の低下を報知する報知手段を作用
させるように構成するのである。 電池電圧が一旦一定レベル以下に低下しても、
その後回復して印字ヘツドが予め定められている
移動動作を行つた場合にも電池電圧が一定レベル
以下に低下しなくなつた場合には、カウンタは何
等動作しないようにすることを可能であり、ま
た、このような場合には積極的にカウントダウン
させるようにすることも可能である。 発明の効果 以上のように構成された電池駆動印字装置にお
いては、電池電圧が一時的に一定レベル以下に達
したのみでは報知手段が電池電圧の低下を報知す
ることがなく、少なくとも一定回数以上の印字ヘ
ツド移動動作において電池電圧が一定レベル以下
に低下した場合にのみ電池電圧の低下が報知され
ることとなる。 したがつて、使用者は一時的な電池電圧の低下
による報知手段の作用に煩わされることなく印字
操作を行うことが可能であり、真に電池電圧が低
下した場合には確実にその事実を知ることができ
るのである。 実施例 以下、本発明の実施例を図面に基づいて詳細に
説明する。 第2図および第3図に本発明の一実施例である
電池駆動の携帯用タイプライタの外観図を示す。
第1図から明らかなように、本実施例のタイプラ
イタは前部にキーボード10を備えており、この
キーボード10にはアルフアベツトキー12、数
字キー14、スペースバー16、改行キー18を
始めとする通常のタイプライタが備えているよう
な各種キーの他に、加減乗除記号およびイコール
記号に対応した演算キー20が配列されている。
キーボード10にはさらに液晶デイスプレイ22
が設けられており、キー入力された文字・記号等
を一定数表示し得るようになつているのである
が、その表示部の右下隅に電圧低下を報知するた
めの電圧低下表示マーク24が設けられている。
この電圧低下表示マーク24は電池電圧が十分高
い状態においては液晶デイスプレイ22に現れ
ず、後に詳述するように電池電圧が真に一定レベ
ル以下に低下した場合に現れるようにされてい
る。 キーボード10にはこれらの他にさらに、左上
隅部に行ピツチ選択スイツチ26、第一モード選
択スイツチ28および第二モード選択スイツチ3
0が設けらている。行ピツチ選択スイツチ26は
印字行のピツチを選択するスイツチであり、第一
モード選択スイツチ28はタイプライタの作動モ
ードを選択するスイツチであつて、ノンプリント
モード、コレクシヨンプリントモードおよびダイ
レクトプリントモードのいずれかを選択し得るよ
うにされている。ここにおいてノンプリントモー
ドとはキー入力された文字・記号や演算結果を印
字を伴わないで液晶デイスプレイ22に表示させ
るモードであり、コレクシヨンプリントモードと
はキー入力された文字・記号を液晶デイスプレイ
22に表示されている間に訂正した上、この液晶
デイスプレイ22からオーバフローしたものから
順次印字させるモードであり、ダイレクトプリン
トモードとはキー入力された文字・記号を液晶デ
イスプレイ22に表示させ、かつ、入力と同時に
印字させるモードである。また、前記第二モード
選択スイツチ30は通常のタイプライタ動作をす
るタイプライタモードと外部装置と接続してデー
タターミナルとして動作させるターミナルモード
とのいずれかを選択するためのスイツチである。 以上のものはキーボード10の上面に配設され
ているのであるが、キーボード10の右側面には
さらに液晶デイスプレイ22の輝度を設定する輝
度設定ダイヤル32と電源スイツチ34とが配設
されている。 以上のようなキーボード10の後方部分には印
字部36が設けられている。印字部36は通常は
第2図に示すようにカバー38で覆われた状態と
なつているが、使用時には第3図に示すようにカ
バー38を開いて使用されるようになつている。
カバー38の下側にプラテン40が設けられてお
り、そのプラテン40の長手方向に沿つて移動可
能にキヤリツジ42が配設されている。キヤリツ
ジ42は印字ヘツドとしてのサーマルヘツド44
を支持して、ガイドロツド46に案内され、図示
しない駆動装置によつてプラテン40の長手方向
に沿つて移動させられるとともに、図示しない別
の駆動装置によつてガイドロツド46のまわりに
回動させられ、サーマルヘツド44をプラテン4
0に支持されている感熱紙48に押し付けるよう
に構成されている。なお、50はリリースレバー
であり、プラテン40の下方に配設されて感熱紙
48を挟持して送るための一対の紙送りローラ
(図示せず)を互いに離間する非作用位置へ移動
させるために設けられているものである。 以上のような構造を有するタイプライタは、第
4図に示すような制御回路によつて制御される。
図において60は中央処理装置(以下、CPUと
略称する)であり、これに前記キーボード10の
他、リードオンメモリ62(以下、ROMと略称
する)、ランダムアクセスメモリ64(以下、
RAMと略称する)、印字機構ドライバインタフ
エイス66、デイスプレイコントローラ68およ
び外部インタフエイス用ドライバレシーバ70等
が接続されている。そして、印字機構ドライバイ
ンタフエイス66には印字機構72が接続されて
おり、デイスプレイコントローラ68には前記液
晶デイスプレイ22が接続されている。また、外
部インタフエイス用ドライバレシーバ70には外
部インタフエイス74が接続され、本タイプライ
タと同種のタイプライタあるいはパーソナルコン
ピユータなどの外部装置との間でデータの授受を
行い得るようにされている。 印字機構72は、前記プラテン40およびキヤ
リツジ42とそれらを駆動するための駆動装置な
らびにサーマルヘツド44を含むものである。ま
た、デイスプレイコントローラ68は液晶デイス
プレイ22と同じ桁数の表示バツフアメモリを内
蔵しており、CPU60はキーボード10から入
力されるアルフアベツト、数字、スペース、演算
記号その他の記号等の各文字・記号、ならびに改
行機能、紙送り機能等の各印字機能に対応するコ
ードデータをその表示バツフアメモリに順次記憶
させるとともに、それらのコードデータに対応す
るパターンデータをROM62から読み出し、デ
イスプレイコントローラ68に供給する。また、
RAM64は一定文字数分の印字バツフアメモリ
を備えており、印字機構ドライバインタフエイス
66はこの印字バツフアメモリに記憶されている
コードデータに基づいてCPU60がROM62か
ら読み出したパターンデータに従つて印字機構7
2のサーマルヘツド44を駆動するとともに、キ
ヤリツジ42およびプラテン40を駆動するため
のモータ等をも制御する。さらに、ROM62に
はタイプライタ全体の作動を制御するためのプロ
グラムが記憶されている。 RAM64にはテキストメモリ75が設けられ
ており、一定量の文字・記号データと印字制御デ
ータを含むフアクンシヨンデータとを記憶するこ
とができる。RAM64にはさらに、後に作動と
共に詳述するカウンタ用レジスタ76や、ウイー
クバツテリフラグを記憶するフラグレジスタ78
が設けられている。カウンタ用レジスタ76は1
バイトで構成されている。 以上のように構成されたタイプライタは、前述
したように通常の印字動作を行うダイレクトプリ
ントモードの他、ノンプリントモードおよびコレ
クシヨンプリントモードで作動することができ、
また、数字キー14と演算キー20との操作によ
つて演算を行い、かつ、その演算式ならびに演算
結果を感熱紙48に印字することができるのであ
るが、この際の作動自体は本発明の理解と直接関
係がないため説明を省略し、電池電圧の低下表示
に関連のある作動のみを第5図のフローチヤート
に基づいて説明する。 電源スイツチ34がONにされたとき、ROM
62に記憶されているプログラムの実行が開始さ
れ、ステツプS1において初期設定が行われる。
すなわち、サーマルヘツド44が一旦原位置へ復
帰させられた後レフトマージン位置へ移動させら
れる等の機構部の初期化を始め、各種バツフアメ
モリ、ワークメモリ等のクリアが行われるのであ
るが、これと同時にカウンタ用レジスタ76およ
びフラグレジスタ78等のリセツトも行われる。 初期設定が終了したならば、ステツプS2およ
びS3において何等かのキー入力が行われたか否
かの走査が行われ、キー入力があつた場合にはス
テツプS4においてキー入力されたデータが液晶
デイスプレイ22に表示される。続いてステツプ
S5においてウイークバツテリフラグがONになつ
ているか否かの判定が行われるのであるが、初期
段階においてはこのフラグはOFFとなつている
ために判定結果はNOであり、プログラムの実行
はステツプS6に移行し、電池電圧低下表示が
OFFにされたされる。すなわち、液晶デイスプ
レイ22に設けられている電圧低下表示マーク2
4が見えない状態とされているのである。 続いてステツプS7が実行され、キヤリツジ4
2がプラテン40の長手方向に沿つて1ステツプ
ずつ移動させられながらサーマルヘツド44の発
熱素子の所定のものが発熱させられ、1文字の印
字が行われる。すなわち、サーマルヘツド44が
5ステツプで1文字を印字するものである場合に
は、サーマルヘツド44がキヤリツジ42によつ
て5ステツプ移動させられたときに1文字分の印
字が完了するのであり、この1文字分の印字完了
直後にステツプS8が実行され、ウイークバツテ
リスイツチがONの状態にあるか否かが判定され
る。キヤリツジ42の移動とサーマルヘツド44
の駆動とが行われる際、電池電圧はある程度低下
するのであるが、1文字の印字が終了した直後に
おいても電池電圧はほぼこの低下した状態となつ
ているため、1文字分の印字が完了した直後に電
池電圧をチエツクしてもサーマルヘツド44の移
動を伴う印字動作中に電池電圧をチエツクするの
と同様な結果が得られ、しかも、CPU60に印
字機構ドライバインタフエイス66等の制御の最
中にステツプS8を実行させる必要がない利点が
得られるのである。なお、ウイークバツテリスイ
ツチは例えばトランジスタによつて構成すること
ができる。トランジスタのベースに電池電圧に対
応した電圧を加えておき、この電圧が一定レベル
以下に低下したとき、トランジスタが導通するこ
とをもつてウイークバツテリスイツチがONの状
態になつたとするのである。 スイツチS8の判定結果がNOである場合にはプ
ログラムの実行はステツプS9に移り、カウンタ
がカウントダウン可能か否かの判定、すなわちカ
ウンタ用レジスタ76の内容を〔1〕だけ減少さ
せても
TECHNICAL FIELD The present invention relates to a printing device that uses a battery as a driving power source, and in particular to a battery-powered printing device that is equipped with a notification means for notifying the user that the battery voltage has fallen below a certain level. . Prior Art In battery-powered printing devices such as typewriters that use batteries as a driving power source, if the battery voltage drops below a certain level, the printing device may malfunction, so it is necessary to notify the user of this. be. This also applies to recording electronic devices such as electronic desktop calculators with printers, and therefore, Japanese Patent Application Laid-Open No. 10824/1983 describes the following for recording electronic devices:
It has been proposed to provide means for detecting when the power battery has fallen to a level that would cause malfunction of a recording device such as a printer, and notifying the user of this fact. In other words, it has been proposed that when the power supply voltage drops below a certain level, a notification sound is emitted for a certain period of time every time a key is input, but if the battery voltage If an operation that requires a large amount of power is performed continuously, and even if it temporarily drops below a certain level, the operation that does not require that much power will continue, or the electronic device will be in a hibernation state. The battery will recover if it is kept under normal conditions, and it is not necessarily necessary to replace the battery just because the battery voltage once drops below a certain level. Therefore, if the battery is continued to be used as it is, an alarm will be emitted every time the power supply battery temporarily drops below a certain level. This is troublesome, and also has the disadvantage that if a decrease in battery power is reported or not, the user may be concerned that the device has malfunctioned. This situation is the same even when a drop in power supply voltage is notified by a visually appealing display means such as a liquid crystal display. OBJECT OF THE INVENTION The present invention has been made against the background of the above-mentioned circumstances, and therefore, an object of the present invention is to reduce the risk of malfunction of the print head due to the voltage of the power supply battery in a battery-driven printing device. A battery-powered printing device that can notify the user that the battery voltage has decreased to a certain level, and that does not generate disturbing notification sounds or display when the battery voltage has only temporarily decreased below a certain level. Our goal is to provide the following. Structure of the Invention In order to achieve the above-mentioned object, the present invention has a battery-driven printing system that includes a printing head that is driven by a battery to perform printing, and a notification means for notifying a voltage drop of the battery, as shown in FIG. The apparatus includes: (a) a detection circuit for detecting that the battery voltage has fallen below a certain level; and (b) a predetermined movement of the print head while an output signal is being emitted from the detection circuit. The present invention is characterized by comprising a counter that counts the number of operations, and (c) a control means that activates the notification means when the count value of the counter reaches a predetermined value. Note that the predetermined moving operation of the print head herein means an operation that involves movement of the print head, such as a single character printing operation or a line feed operation. If the print head is a thermal head, etc.
In the case of a type that prints by dots, the print head must be moved several steps to print one character, but in this case, one step is defined as one movement of the print head in advance. It is also possible to set it in advance. In a battery-driven printing device, the battery voltage drops to some extent while the print head is moving, but if the battery voltage in this reduced state reaches a certain level or less, a counter is incremented. When the count value of the counter reaches a predetermined value, a notification means for notifying a decrease in battery voltage is activated. Even if the battery voltage once drops below a certain level,
If the battery voltage does not drop below a certain level even after the print head recovers and performs a predetermined movement operation, the counter can be prevented from operating at all. Further, in such a case, it is also possible to actively count down. Effects of the Invention In the battery-driven printing device configured as described above, the notification means does not notify a decrease in battery voltage only if the battery voltage temporarily reaches a certain level or below, and the A decrease in battery voltage is notified only when the battery voltage drops below a certain level during the print head movement operation. Therefore, the user can perform printing operations without being bothered by the effect of the notification means due to a temporary drop in battery voltage, and will definitely know if the battery voltage has truly dropped. It is possible. Embodiments Hereinafter, embodiments of the present invention will be described in detail based on the drawings. FIGS. 2 and 3 show external views of a battery-powered portable typewriter that is an embodiment of the present invention.
As is clear from FIG. 1, the typewriter of this embodiment is equipped with a keyboard 10 at the front, and this keyboard 10 includes an alphanumeric key 12, a numeric key 14, a space bar 16, a line feed key 18, and other functions. In addition to various keys that are included in a typical typewriter, arithmetic keys 20 corresponding to addition/subtraction/multiplication/division symbols and equal symbols are arranged.
The keyboard 10 also has a liquid crystal display 22.
A voltage drop display mark 24 is provided in the lower right corner of the display section to notify a voltage drop. It is being
This voltage drop display mark 24 does not appear on the liquid crystal display 22 when the battery voltage is sufficiently high, but appears when the battery voltage truly drops below a certain level, as will be described in detail later. In addition to these, the keyboard 10 also has a line pitch selection switch 26, a first mode selection switch 28, and a second mode selection switch 3 in the upper left corner.
0 is set. The line pitch selection switch 26 is a switch for selecting the print line pitch, and the first mode selection switch 28 is a switch for selecting the operating mode of the typewriter, which is non-print mode, collection print mode, or direct print mode. It is possible to choose one. Here, the non-print mode is a mode in which key-input characters and symbols and calculation results are displayed on the liquid crystal display 22 without printing, and the collection print mode is a mode in which key-input characters and symbols are displayed on the liquid crystal display 22. This is a mode in which the characters and symbols entered by key are displayed on the LCD display 22, and the characters/symbols entered by key are displayed on the LCD display 22, and the characters/symbols entered by the key are displayed on the LCD display 22. This is a mode that prints at the same time. The second mode selection switch 30 is a switch for selecting either a typewriter mode in which the typewriter operates as a normal typewriter or a terminal mode in which it connects to an external device and operates as a data terminal. Although the above components are arranged on the top surface of the keyboard 10, a brightness setting dial 32 for setting the brightness of the liquid crystal display 22 and a power switch 34 are further arranged on the right side surface of the keyboard 10. A printing section 36 is provided at the rear portion of the keyboard 10 as described above. The printing section 36 is normally covered with a cover 38 as shown in FIG. 2, but when in use, the cover 38 is opened as shown in FIG. 3.
A platen 40 is provided below the cover 38, and a carriage 42 is disposed so as to be movable along the length of the platen 40. The carriage 42 has a thermal head 44 as a printing head.
supported, guided by the guide rod 46, moved along the longitudinal direction of the platen 40 by a drive device (not shown), and rotated around the guide rod 46 by another drive device (not shown); The thermal head 44 is attached to the platen 4.
It is configured so as to be pressed against the thermal paper 48 supported by the paper. Note that 50 is a release lever for moving a pair of paper feed rollers (not shown) disposed below the platen 40 for sandwiching and feeding the thermal paper 48 to a non-operating position where they are separated from each other. It is provided. The typewriter having the above structure is controlled by a control circuit as shown in FIG.
In the figure, 60 is a central processing unit (hereinafter abbreviated as CPU), which includes the keyboard 10, a read-on memory 62 (hereinafter abbreviated as ROM), and a random access memory 64 (hereinafter abbreviated as ROM).
(abbreviated as RAM), a printing mechanism driver interface 66, a display controller 68, an external interface driver receiver 70, and the like are connected. A printing mechanism 72 is connected to the printing mechanism driver interface 66, and the liquid crystal display 22 is connected to the display controller 68. Further, an external interface 74 is connected to the external interface driver receiver 70 so that data can be exchanged between the present typewriter and an external device such as a typewriter of the same type or a personal computer. The printing mechanism 72 includes the platen 40 and the carriage 42, a drive device for driving them, and a thermal head 44. In addition, the display controller 68 has a built-in display buffer memory with the same number of digits as the liquid crystal display 22, and the CPU 60 inputs characters and symbols such as alphanumeric characters, numbers, spaces, arithmetic symbols, and other symbols input from the keyboard 10, as well as line breaks. The code data corresponding to each printing function such as printing function, paper feeding function, etc. is sequentially stored in the display buffer memory, and pattern data corresponding to the code data is read from the ROM 62 and supplied to the display controller 68. Also,
The RAM 64 includes a print buffer memory for a certain number of characters, and the print mechanism driver interface 66 controls the print mechanism 7 according to the pattern data read from the ROM 62 by the CPU 60 based on the code data stored in the print buffer memory.
In addition to driving the second thermal head 44, it also controls the motors and the like for driving the carriage 42 and platen 40. Further, the ROM 62 stores a program for controlling the operation of the entire typewriter. The RAM 64 is provided with a text memory 75, which can store a certain amount of character/symbol data and function data including print control data. The RAM 64 further includes a counter register 76, which will be described in detail later along with its operation, and a flag register 78 that stores a weak/battery flag.
is provided. The counter register 76 is 1
Consists of bytes. The typewriter configured as described above can operate in a direct print mode for normal printing operations as described above, as well as a non-print mode and a collection print mode.
Further, by operating the numerical keys 14 and the calculation keys 20, calculations can be performed and the calculation formula and calculation results can be printed on the thermal paper 48, but the operation itself at this time is according to the present invention. Since it is not directly related to understanding, the explanation will be omitted, and only the operation related to the display of the decrease in battery voltage will be explained based on the flowchart of FIG. When the power switch 34 is turned on, the ROM
Execution of the program stored in 62 is started, and initial settings are performed in step S1.
That is, the thermal head 44 is once returned to its original position and then moved to the left margin position to initialize the mechanical parts, and various buffer memories, work memories, etc. are cleared.At the same time, Counter register 76, flag register 78, etc. are also reset. When the initial settings are completed, scanning is performed in steps S2 and S3 to see if any key input has been made, and if any key input has been made, the key input data is displayed on the liquid crystal display 22 in step S4. will be displayed. Then step
In S5, it is determined whether the weak battery flag is ON or not, but since this flag is OFF in the initial stage, the determination result is NO, and the program execution proceeds to step S6. and the battery voltage drop display is displayed.
It is turned off. That is, the voltage drop display mark 2 provided on the liquid crystal display 22
4 is said to be invisible. Next, step S7 is executed and the carriage 4 is
2 is moved one step at a time along the longitudinal direction of the platen 40, a predetermined heating element of the thermal head 44 is made to generate heat, and one character is printed. In other words, if the thermal head 44 prints one character in five steps, printing for one character is completed when the thermal head 44 is moved five steps by the carriage 42. Immediately after the printing of one character is completed, step S8 is executed, and it is determined whether the weak battery switch is in the ON state. Movement of the carriage 42 and thermal head 44
Although the battery voltage drops to a certain extent when the drive is performed, the battery voltage remains almost at this level even immediately after printing one character, so printing for one character is completed. Even if the battery voltage is checked immediately after, the same result as checking the battery voltage is obtained during a printing operation that involves movement of the thermal head 44, and moreover, the CPU 60 is not allowed to control the printing mechanism driver interface 66, etc. This has the advantage that it is not necessary to have the process execute step S8. It should be noted that the weak battery switch can be constructed of, for example, a transistor. A voltage corresponding to the battery voltage is applied to the base of the transistor, and when this voltage drops below a certain level, the transistor becomes conductive and the weak battery switch is turned on. If the judgment result of switch S8 is NO, the program execution moves to step S9, where it is judged whether or not the counter can count down, that is, even if the contents of the counter register 76 are decremented by [1].

〔0〕より小さくなることがないか否かの
判定が行われる。カウンタ用レジスタ76の内容
が〔1〕以上であれば判定結果はYESとなつて
ステツプS10のカウントダウンが実行されるので
あるが、この段階ではカウンタ用レジスタ76が
ステツプS1の初期設定においてリセツトされた
状態にあるため、その内容、すなわちカウンタの
カウント値は
A determination is made as to whether or not the value becomes smaller than [0]. If the contents of the counter register 76 are [1] or more, the determination result is YES and the countdown in step S10 is executed, but at this stage the counter register 76 has been reset in the initial setting of step S1. state, its contents, i.e. the count value of the counter, are

〔0〕であるためステツプS10は実
行されず、プログラムの実行はステツプS11へ移
行する。ステツプS11においてはカウント値が一
定値より大きいか否かの判定が行われる。本実施
例においては前述のようにカウンタ用レジスタ7
6が1バイトで構成されており、ステツプS11で
はその最上位桁が1になつたか否かの判定が行わ
れるようになつているため、この場合、一定値は
〔127〕であることになる。判定結果はこの段階で
はNOであるためステツプS12が実行されるので
あるが、ウイークバツテリフラグはステツプS1
の初期設定において既にOFFの状態とされてい
るため、そのままの状態に保たれたままでプログ
ラムの実行はステツプS2へ戻ることとなる。 以下、キー入力が行われる度に同様な作動が繰
り返されて印字が行われるのであるが、それに伴
つて電池電圧が低下し、やがてステツプS8の判
定結果がYESとなる場合が出てくる。この場合
にはステツプS13が実行され、カウンタ用レジス
タ76がカウントアツプ可能であるか否かの判定
が行われるのであるが、初めてウイークバツテリ
スイツチがONになつた状態ではカウンタのカウ
ント値は
Since it is [0], step S10 is not executed, and the program execution moves to step S11. In step S11, it is determined whether the count value is greater than a certain value. In this embodiment, as described above, the counter register 7
6 consists of 1 byte, and in step S11 it is determined whether the most significant digit becomes 1, so in this case, the constant value is [127]. . Since the judgment result is NO at this stage, step S12 is executed, but the weak battery flag is set to step S1.
Since it is already in the OFF state in the initial setting, the program execution returns to step S2 with the state kept as it is. Thereafter, each time a key input is performed, the same operation is repeated and printing is performed, but the battery voltage decreases accordingly, and the result of the determination at step S8 may eventually become YES. In this case, step S13 is executed and it is determined whether or not the counter register 76 can be counted up.However, when the weak battery switch is turned ON for the first time, the count value of the counter is

〔0〕であつてカウントアツプが可能で
あるため、判定結果はYESとなつてステツプS14
においてカウントアツプが行われる。続いてステ
ツプS11が実行されるのであるが、この判定結果
はまだNOであるため、プログラムの実行はステ
ツプS12を経てステツプS2に戻る。 続くキー入力に基づく印字動作直後におけるス
テツプS8の判定結果が再びYESであれば、ステ
ツプS13およびS14が実行されるのであるが、前
回の印字動作直後にウイークバツテリスイツチが
ONであつたからといつて必ずしも次回の印字動
作直後においてもONであるとは限らないため、
もし、OFFであればステツプS8の判定結果はNO
となり、ステツプS9およびS10が実行され、カウ
ンタ用レジスタ76の内容は〔1〕減じられるこ
ととなる。 以上のようにして1文字の印字または1文字分
のスペース送りが行われる度にウイークバツテリ
スイツチがONの状態であるかOFFの状態にある
かが調べられ、ONの状態にあればカウンタ用レ
ジスタ76の内容が〔1〕増加させられ、OFF
の状態であれば〔1〕減少させられる。したがつ
て、印字動作の度毎にウイークバツテリスイツチ
ONの状態が続くようになれば、やがてカウンタ
用レジスタ76の内容が〔128〕に達するため、
ステツプS11における判定の結果がYESとなり、
ステツプS15が実行されてウイークバツテリフラ
グがONとされる。すなわち、フラグレジスタ7
8の内容が〔1〕とされるのである。つまり、次
にキー入力が行われた場合にはステツプS5の判
定結果がYESとなり、ステツプS16において電池
電圧低下表示がONとされる。すなわち、液晶デ
イスプレイ22に設けられている電圧低下表示マ
ーク24が表示されるのである。この電圧低下表
示マーク24が表示されたということは、少なく
とも128文字分の印字動作時にウイークバツテリ
スイツチがONの状態であつたことを意味し(実
際にはカウントダウンも行われるため、128文字
より相当多くの文字の印字動作時にウイークバツ
テリスイツチがONの状態にあつたこととなる)、
電池電圧は真に誤印字動作が発生する恐れがある
レベルまで低下したこととなるため、電池の交換
をすることが必要となる。ただし、この状態にお
いても印字動作を伴わないノンプリントモードで
のタイプライタの使用は可能である。 なお、電池電圧低下表示が行われた後において
も、電池の交換が行われることなくタイプライタ
が使用された場合には、カウンタ用レジスタ76
の内容値が最高値〔255〕に達した後、さらにカ
ウントアツプが行われると、カウンタ用レジスタ
76の内容値が再び
Since it is [0] and it is possible to count up, the judgment result is YES and the process goes to step S14.
A count-up is performed at . Next, step S11 is executed, but since the determination result is still NO, the program execution returns to step S2 via step S12. If the determination result in step S8 immediately after the printing operation based on the subsequent key input is YES again, steps S13 and S14 are executed, but if the weak battery switch is turned off immediately after the previous printing operation,
Just because it is ON does not necessarily mean that it will be ON immediately after the next printing operation.
If it is OFF, the judgment result in step S8 is NO.
Therefore, steps S9 and S10 are executed, and the contents of the counter register 76 are decremented by [1]. As described above, each time one character is printed or one character's space is moved, it is checked whether the weak button switch is ON or OFF, and if it is ON, the counter register is The contents of 76 are increased by [1] and turned OFF.
If it is in the state, it will be reduced by [1]. Therefore, the weak button switch is activated every time a printing operation is performed.
If the ON state continues, the contents of the counter register 76 will eventually reach [128], so
The result of the determination in step S11 is YES,
Step S15 is executed and the weak battery flag is turned ON. That is, flag register 7
The content of 8 is set to [1]. That is, when the next key input is performed, the determination result in step S5 becomes YES, and the battery voltage drop display is turned on in step S16. That is, the voltage drop display mark 24 provided on the liquid crystal display 22 is displayed. The fact that this voltage drop display mark 24 is displayed means that the weak battery switch was in the ON state during the printing operation for at least 128 characters (actually, since a countdown is also performed, it is equivalent to 128 characters). This means that the weak button switch was in the ON state when printing many characters).
Since the battery voltage has dropped to a level where there is a real possibility that erroneous printing may occur, it is necessary to replace the battery. However, even in this state, it is possible to use the typewriter in a non-print mode that does not involve printing operations. Note that even after the battery voltage drop display is displayed, if the typewriter is used without replacing the battery, the counter register 76
After the content value reaches the maximum value [255], if the count-up is performed further, the content value of the counter register 76 will be reset again.

〔0〕に戻つてしまつて電圧
低下表示マーク24が消えてしまうこととなるた
め、この場合にはステツプS13の判定結果がNO
となり、ステツプS14のカウトアツプが行われる
ようにされている。 以上詳述した実施例においては、カウンタのカ
ウント値が一定値以下である間は電池電圧低下表
示が行われず、一定値を超えたときに行われるよ
うにされている。したがつて、この場合にはカウ
ント値が一旦一定値を超えた後、電池電圧が一定
レベル以上に回復するようなことがあれば、電圧
低下表示マーク24が現れたり消えたりすること
となる。電圧低下表示を行うべきカウント値を十
分に高くしておけばこのようなことは生じないわ
けであるが、さらに確実にこのような事態の発生
を防止するためには、第6図に示すフローチヤー
トで表されるプログラムをROM62に記憶させ
ておけばよい。 第6図のフローチヤートはステツプS10のカウ
ントダウンとステツプS14のカウントアツプまで
は第5図に示したフローチヤートと同様である
が、それらにより後のステツプが異なつている。
すなわち、ステツプS17においてカウント値が第
一基準値〔n〕以下である否かの判定が行われ、
判定の結果がYESであればステツプS18において
ウイークバツテリフラグがOFFとされ、また、
ステツプS19においてカウント値が第二基準値
〔N〕に等しいか否かの判定が行われ、判定の結
果がYESであればステツプS20においてウイーク
バツテリフラグがONとされるようになつている
のである。なお、ステツプS17およびステツプ
S19における判定の結果がNOであれば、いずれ
もプログラムの実行はステツプS2に戻るように
されている。 上記第一基準値〔n〕は第7図に示すように第
二基準値〔N〕より一定値だけ小さくされる。例
えば、第二基準値〔N〕が〔128〕とされ、第一
基準値〔n〕が〔64〕とされるのある。したがつ
て、カウント値が第二基準値〔N〕に達したとき
ONとされたウイークバツテリフラグは、カウン
ト値が第一基準値〔n〕まで低下しなければ
OFFとされないこととなり、ウイークバツテリ
フラグがONとされることによつてステツプS16
で一旦電池電圧低下表示が行われた後は、電池電
圧に多少の変動が生じでもその表示が消されない
こととなり、安定した電池電圧低下表示が行われ
ることとなる。 以上、本発明の2つの実施例を説明したが、こ
れは文字通り例示であつて、本発明はこれら以外
の態様でも実施することができる。例えば、電池
電圧低下を報知するための手段は前記各実施例に
おけるように液晶デイスプレイ22の一部を利用
するものに限定されるわけではなく、別途電圧低
下表示ランプを設けることも可能であり、また、
報知手段は必ずしも視覚に訴えるものに限定され
ず、報知音を発して視覚に訴えるものとすること
も可能である。また、電圧低下の報知を行うため
の具体的なプログラムも前記実施例のものに限定
されるわけではないのであつて、さらに、タイプ
ライタの機構部ならびに制御装置も前記実施例の
ものに限定されるわけではなく、当業者の知識に
基づいて種々の変形、改良を施した態様で本発明
を実施し得るのである。
Since the voltage returns to [0] and the voltage drop display mark 24 disappears, in this case, the determination result in step S13 is NO.
Then, the count-up in step S14 is performed. In the embodiment described in detail above, the battery voltage drop display is not performed while the count value of the counter is below a certain value, but is displayed when it exceeds the certain value. Therefore, in this case, if the battery voltage recovers to a certain level or higher after the count value once exceeds a certain value, the voltage drop display mark 24 will appear or disappear. This kind of thing will not occur if the count value for displaying the voltage drop is set high enough, but in order to more reliably prevent this kind of situation from occurring, follow the flow shown in Figure 6. A program represented by a chart may be stored in the ROM 62. The flowchart in FIG. 6 is similar to the flowchart shown in FIG. 5 up to the countdown in step S10 and the countup in step S14, but the subsequent steps are different.
That is, in step S17, it is determined whether the count value is less than or equal to the first reference value [n],
If the result of the determination is YES, the weak battery flag is turned OFF in step S18, and
In step S19, it is determined whether the count value is equal to the second reference value [N], and if the result of the determination is YES, the weak battery flag is turned ON in step S20. . In addition, step S17 and step
If the result of the determination in S19 is NO, the execution of the program returns to step S2. As shown in FIG. 7, the first reference value [n] is made smaller than the second reference value [N] by a certain value. For example, the second reference value [N] is set to [128], and the first reference value [n] is set to [64]. Therefore, when the count value reaches the second reference value [N]
The weak battery flag that is set to ON will be activated if the count value does not fall to the first reference value [n].
Since the weak battery flag is not set to OFF and the weak battery flag is set to ON, step S16 is executed.
Once the battery voltage drop display is displayed, the display will not be erased even if the battery voltage fluctuates slightly, and a stable battery voltage drop display will be performed. Although two embodiments of the present invention have been described above, these are literally illustrative, and the present invention can be implemented in other embodiments. For example, the means for notifying the battery voltage drop is not limited to using a part of the liquid crystal display 22 as in each of the above embodiments, but it is also possible to provide a separate voltage drop indicator lamp. Also,
The notification means is not necessarily limited to one that appeals to the sense of sight, but it is also possible to emit a notification sound to appeal to the sense of sight. Further, the specific program for notifying the voltage drop is not limited to that of the embodiment described above, and furthermore, the mechanism and control device of the typewriter are also limited to those of the embodiment described above. Rather, the present invention can be implemented with various modifications and improvements based on the knowledge of those skilled in the art.

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

第1図は本発明の構成を示すブロツク図であ
る。第2図は本発明の一実施例である電池駆動の
携帯用タイプライタの外観斜視図であり、第3図
はその使用状態を部分的に示す斜視図である。第
4図は上記タイプライタの制御装置を示すブロツ
ク図である。第5図は第4図のROMに記憶させ
られているプログラムを示すフローチヤートであ
る。第6図は本発明の別の実施例におけるプログ
ラムのフローチヤートを部分的に示す図である。
第7図は第6図のフローチヤートに従うウイーク
バツテリフラグのON・OFF制御を示す説明図で
ある。 10:キーボード、22:液晶デイスプレイ、
24:電圧低下表示マーク、36:印字部、4
2:キヤリツジ、44:サーマルヘツド、60:
中央処置装置(CPU)、62:リードオンリメモ
リ(ROM)、64:ランダムアクセスメモリ
(RAM)、68:デイスプレイコントローラ、7
6:カウンタ用レジスタ、78:フラグレジス
タ。
FIG. 1 is a block diagram showing the configuration of the present invention. FIG. 2 is an external perspective view of a battery-powered portable typewriter according to an embodiment of the present invention, and FIG. 3 is a perspective view partially showing the state in which the typewriter is used. FIG. 4 is a block diagram showing a control device for the typewriter. FIG. 5 is a flowchart showing a program stored in the ROM of FIG. FIG. 6 is a diagram partially showing a flowchart of a program in another embodiment of the present invention.
FIG. 7 is an explanatory diagram showing ON/OFF control of the weak battery flag according to the flowchart of FIG. 6. 10: Keyboard, 22: Liquid crystal display,
24: Voltage drop display mark, 36: Printed part, 4
2: Carriage, 44: Thermal head, 60:
Central processing unit (CPU), 62: Read only memory (ROM), 64: Random access memory (RAM), 68: Display controller, 7
6: Counter register, 78: Flag register.

Claims (1)

【特許請求の範囲】 1 電池により駆動されて印字を行なう印字ヘツ
ドと、前記電池の電圧低下を報知する報知手段と
を有する電池駆動印字装置において、 電池電圧が一定レベル以下に低下したことを検
出する検出回路と、 その検出回路から出力信号が発せられている状
態において前記印字ヘツドが行う予め定められて
いる移動操作の回数をカウントするカウンタと、 そのカウンタのカウント値が所定値に達したと
き前記報知手段を作用させる制御手段と を備えたことを特徴とする電池駆動印字装置。
[Scope of Claims] 1. In a battery-driven printing device having a print head that is driven by a battery to perform printing and a notification means for notifying a voltage drop of the battery, detecting that the battery voltage has fallen below a certain level. a counter that counts the number of predetermined movement operations performed by the print head while the output signal is being emitted from the detection circuit; and when the count value of the counter reaches a predetermined value. A battery-driven printing device characterized by comprising: a control means for activating the notification means.
JP21824783A 1983-11-19 1983-11-19 Battery-driven typewriter Granted JPS60109891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21824783A JPS60109891A (en) 1983-11-19 1983-11-19 Battery-driven typewriter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21824783A JPS60109891A (en) 1983-11-19 1983-11-19 Battery-driven typewriter

Publications (2)

Publication Number Publication Date
JPS60109891A JPS60109891A (en) 1985-06-15
JPH0452226B2 true JPH0452226B2 (en) 1992-08-21

Family

ID=16716893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21824783A Granted JPS60109891A (en) 1983-11-19 1983-11-19 Battery-driven typewriter

Country Status (1)

Country Link
JP (1) JPS60109891A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2553513Y2 (en) * 1991-01-14 1997-11-05 リコーエレメックス株式会社 Toothbrush storage structure

Also Published As

Publication number Publication date
JPS60109891A (en) 1985-06-15

Similar Documents

Publication Publication Date Title
EP0661649B1 (en) Tape printing apparatus
US4557615A (en) Electronic typewriter with automatic power-off device
JPH0753467B2 (en) Electronic typewriter
US4548520A (en) Electronic typewriter
JPH0452226B2 (en)
JPS63120362A (en) Document processor having spelling check function
JPS63167959A (en) Document preparing device
JPH0457512B2 (en)
US4995740A (en) Printing device with spelling check that continues printing after a delay
US4772142A (en) Document processing system
JP2560297B2 (en) Output device
JPH059196Y2 (en)
JP2930139B2 (en) Document processing device
JPS63178072A (en) Character erasable printer
US5307448A (en) Electronic apparatus with display device
JP3223668B2 (en) Switching device
JPS6354273A (en) Electronic typewriter
JPS63189279A (en) Printer
JPH0516511A (en) Printing device
JPS63260474A (en) Character-erasable printer
JPS59188476A (en) Electronic typewriter with display device
JPS63291084A (en) Document processor with timer function
JPH06149802A (en) Word processor
JPS63281845A (en) Printing apparatus
GB2229839A (en) Word processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees