JP2001010177A - Battery drive electronic equipment and its program storage medium - Google Patents

Battery drive electronic equipment and its program storage medium

Info

Publication number
JP2001010177A
JP2001010177A JP11182754A JP18275499A JP2001010177A JP 2001010177 A JP2001010177 A JP 2001010177A JP 11182754 A JP11182754 A JP 11182754A JP 18275499 A JP18275499 A JP 18275499A JP 2001010177 A JP2001010177 A JP 2001010177A
Authority
JP
Japan
Prior art keywords
print
printing
voltage
value
battery
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.)
Granted
Application number
JP11182754A
Other languages
Japanese (ja)
Other versions
JP3873530B2 (en
JP2001010177A5 (en
Inventor
Toru Sakai
徹 境井
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP18275499A priority Critical patent/JP3873530B2/en
Publication of JP2001010177A publication Critical patent/JP2001010177A/en
Publication of JP2001010177A5 publication Critical patent/JP2001010177A5/ja
Application granted granted Critical
Publication of JP3873530B2 publication Critical patent/JP3873530B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To accurately give notice of predicted value of printing capable of being printed by an existing battery voltage by learning the past printing status relating to the battery voltage. SOLUTION: The battery voltage before starting the printing of forms is indicated as the pre-printing voltage by a battery voltage detecting section 9. The number of current printing pages printed by the pre-printing voltage at the point is updated by a CPU 1 every time the printing operation is completed normally during the time before the battery replacement or the battery charge is carried out and stored and controlled correspondingly to the pre- printing voltage in an RAM 4. The possibility of printing is computed every time the pre-printing voltage is applied based on the number of current printing pages, and the printability corresponding to the current battery voltage is indicated as a guidance.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、電池を電源とし
て駆動され、帳票印字等を行う電池駆動式電子機器およ
びそのプログラム記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a battery-driven electronic device which is driven by a battery as a power supply and prints out a report, and a program recording medium therefor.

【0002】[0002]

【従来の技術】一般に、電池を電源とする電子機器にお
いては、電池の残量不足によって動作不能となる場合が
あるため、電池の残量をガイダンス表示したり、電池切
れを警告するようにしている。また、プリンタ付きハン
ディターミナルにおいては、帳票データを予め決められ
ている帳票フォーマットにしたがって帳票用紙上に印字
出力するようにしているが、帳票フォーマットはユーザ
毎に任意に設定された固有の出力形式となっているた
め、帳票1枚当たりの印字データ量はユーザ毎に相違す
ることになる。
2. Description of the Related Art In general, an electronic device using a battery as a power supply may become inoperable due to a shortage of the remaining battery power. I have. In a handy terminal with a printer, form data is printed out on form paper in accordance with a predetermined form format, but the form format has a unique output format arbitrarily set for each user. Therefore, the print data amount per form differs for each user.

【0003】[0003]

【発明が解決しようとする課題】ところで、従来から
“現時点の電池残量で帳票印刷をどの位実行可能かを知
りたい”という強い要望があるが、その要望を実現する
ものは従来にはなく、電池の残量表示からそれを推測す
るしかなかった。その理由の1つとして、上述したよう
に帳票1枚当たりの印字データ量はユーザ毎に大きく相
違するため、電池残量からどの位帳票印刷が可能かを一
律に算出したとしてもユーザの実情に全く合わなくなっ
てしまうことが挙げられる。また、電池電圧は印字動作
が開始されると、一気に降下し、印字が進むにつれて徐
々に下がり、印字終了後は急に上昇回復するが、印字動
作によって電池電圧がどの程度落ち込むかを予測するこ
とはできず、また電圧と容量との関係は劣化した電池を
使用し続けると、電圧は高いのに容量が少なくなる場合
があり、電池の劣化や使用環境条件によって異なってし
まうことが他の理由として挙げられる。この発明の課題
は、過去の印字状況を電池電圧との関連において学習す
ることで、現在の電池電圧で印字可能な印字予測値を正
確に報知できるようにすることである。
By the way, there has been a strong demand that "I want to know how much form printing can be performed with the current remaining battery level". , I had to guess it from the battery level display. One of the reasons is that, as described above, the amount of print data per sheet greatly differs from user to user, so even if the amount of form printing that can be printed is uniformly calculated from the remaining battery level, the user's actual situation may vary. That is, they do not fit at all. Also, the battery voltage drops at once when the printing operation is started, gradually decreases as printing progresses, and suddenly rises and recovers after printing, but it is necessary to predict how much the battery voltage will drop due to the printing operation. In other words, if the relationship between voltage and capacity is deteriorated and the battery continues to be used, the capacity may decrease even though the voltage is high. It is listed as. It is an object of the present invention to accurately notify a predicted print value that can be printed with a current battery voltage by learning a past printing situation in relation to a battery voltage.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。請求項1記載の発明は、電池を電源として駆
動され、予め決められている印刷フォーマットにしたが
った所定のデータを印刷用紙に印字する電池駆動式電子
機器において、データ印字を開始する前の電池電圧を印
字前電圧として検出する検出手段と、電池交換あるいは
電池充電が行われるまでの間において、印字動作が正常
に終了する毎にその時点の印字前電圧で印字することが
できた印字済み累計値を更新する更新手段と、この更新
手段によって更新された印字済み累計値を印字前電圧に
対応して記憶管理する更新値記憶手段と、この更新値記
憶手段内に印字前電圧に対応して記憶管理されている印
字済み累計値に基づいてその電圧で印字することができ
る印字予測値を算出する算出手段と、この検出手段によ
って検出された現在の電池電圧に対応して前記算出手段
によって算出された印字予測値を報知出力する報知手段
とを具備するものである。なお、この発明は次のような
ものであってもよい。 (1)、前記算出手段は前記更新値記憶手段内に印字前
電圧に対応して記憶管理されている印字済み累計値に基
づいてその電圧で印字することができる印字可能性を印
字予測値として算出する。 (2)、前記算出手段は前記更新値記憶手段内に印字前
電圧に対応して記憶管理されている印字済み累計値に基
づいてその電圧で印字することができる所定単位分の印
字データ量を印字予測値として算出する。 (3)、前記算出手段によって印字前電圧毎に算出され
た各印字予測値を記憶管理する予測情報記憶手段と、前
記算出手段によって印字前電圧に対応して算出された印
字予測値と、その印字前電圧に対応して前記予測情報記
憶手段内に記憶管理されている印字予測値とを比較し、
その比較結果に基づいて当該印字前電圧に対応する前記
予測情報記憶手段内の印字予測値を更新する予測情報更
新手段とを設け、前記報知手段は前記検出手段によって
検出された現在の電池電圧に対応して前記予測情報記憶
手段内に記憶管理されている印字予測値を読み出して報
知出力する。 (4)、前記更新手段によって更新される印字済み累計
値は、印字枚数や印字行数のように所定単位当たりの印
字量を累計した値である。
The means of the present invention are as follows. According to a first aspect of the present invention, there is provided a battery-driven electronic device which is driven by a battery as a power supply and prints predetermined data on a printing paper in accordance with a predetermined print format. Detection means for detecting the voltage as a pre-printing voltage, and the accumulated printed value that could be printed at the pre-printing voltage at that time every time the printing operation was completed normally until the battery was replaced or the battery was charged. Updating means for updating the pre-printed voltage, an updated value storage means for storing and managing the printed total value updated by the updating means in accordance with the pre-printing voltage, and storing in the updated value storing means in accordance with the pre-printing voltage. Calculating means for calculating a predicted printing value at which the voltage can be printed based on the managed printed total value; and a current battery power detected by the detecting means. Is intended to and a notifying means for informing outputs the calculated printed predicted value by said calculating means in response to. The present invention may be as follows. (1) The calculating means sets, as a print predictive value, the printing possibility at which printing can be performed at the voltage based on the accumulated total value with print stored and managed in correspondence with the voltage before printing in the update value storing means. calculate. (2) The calculating means calculates a print data amount of a predetermined unit which can be printed at the voltage based on the accumulated printed value stored and managed in the update value storage means corresponding to the voltage before printing. It is calculated as a print prediction value. (3) prediction information storage means for storing and managing each print prediction value calculated for each pre-print voltage by the calculation means; print prediction value calculated by the calculation means corresponding to the pre-print voltage; Comparing with a predicted print value stored and managed in the predicted information storage means corresponding to the voltage before printing,
Prediction information updating means for updating a predicted printing value in the prediction information storage means corresponding to the pre-printing voltage based on the comparison result, wherein the notifying means sets the current battery voltage detected by the detecting means to Correspondingly, the predicted print value stored and managed in the predicted information storage means is read out and output. (4) The printed total value updated by the updating means is a value obtained by accumulating the print amount per predetermined unit, such as the number of prints or the number of print lines.

【0005】請求項1記載の発明においては、電池交換
あるいは電池充電が行われるまでの間において、印字動
作が正常に行われる毎にその時点の印字前電圧で印字す
ることができた印字済み累計値を更新してその更新結果
を印字前電圧に対応付けて記憶管理しておき、この印字
前電圧に対応する印字済み累計値に基づいてその電圧で
印字することができる印字予測値を算出する。そして、
印字動作を開始する前に、現在の電池電圧を検出し、こ
の電池電圧に対応して算出された印字予測値を報知出力
する。したがって、過去の印字状況を電池電圧との関連
において学習することで、現在の電池電圧で印字可能な
印字予測値を正確に報知することができる。
According to the first aspect of the invention, until the battery is replaced or the battery is charged, every time the printing operation is normally performed, the printed total can be printed with the pre-printing voltage at that time. The value is updated, the update result is stored and managed in association with the pre-printing voltage, and a predicted print value that can be printed at that voltage is calculated based on the printed total value corresponding to the pre-printing voltage. . And
Before starting the printing operation, the current battery voltage is detected, and the predicted printing value calculated in accordance with the battery voltage is output as a notification. Therefore, by learning the past printing status in relation to the battery voltage, it is possible to accurately notify the predicted printing value that can be printed at the current battery voltage.

【0006】[0006]

【発明の実施の形態】(第1実施形態)以下、図1〜図
6を参照してこの発明の第1実施形態を説明する。図1
は電池を電源として駆動する電池駆動式の電子機器とし
てのハンディターミナルの全体構成を示したブロック図
である。CPU1は各種プログラムにしたがってこのハ
ンディターミナルの全体動作を制御する中央演算処理装
置である。記憶装置2はオペレーティングシステムや各
種アプリケーションプログラム、データベース、文字フ
ォントデータ等が予め格納されている記憶媒体3やその
駆動系を有している。この記憶媒体3は固定的に設けた
もの、もしくは着脱自在に装着可能なものであり、フロ
ッピー(登録商標)ディスク、ハードディスク、光ディ
スク、RAMカード等の磁気的・光学的記憶媒体、半導
体メモリによって構成されている。また、記憶媒体3内
のプログラムやデータは、必要に応じてCPU1の制御
により、RAM4にロードされる。更に、CPU1は通
信回線等を介して他の機器側から送信されて来たプログ
ラム、データを受信して記憶媒体3に格納したり、他の
機器側に設けられている記憶媒体に格納されているプロ
グラム、データを通信回線等を介して使用することもで
きる。また、CPU1にはその入出力周辺デバイスであ
る入力装置5、表示装置6、印刷装置7、タイマー8、
電池電圧検出部9がバスラインを介して接続されてお
り、入出力プログラムにしたがってCPU1はそれらの
動作を制御する。入力装置5は文字列データ等を入力し
たり、各種コマンドを入力するキーボード、入力ペン等
のポインティングデバイスを有している。なお、表示装
置6は液晶表示装置やCRT表示装置あるいはプラズマ
表示装置等であり、また印刷装置7は熱転写やインクジ
ェットなどのノンインパクトプリンタあるいはドットイ
ンパクトプリンタである。ここで、CPU1は帳票印字
が指定されると、ユーザ毎に予め決められている帳票フ
ォーマットにしたがって帳票データを帳票用紙に印字出
力させる。タイマー8は基本クロック信号を計数して時
刻情報を得る加算タイマである。電池電圧検出部9は電
池電圧を検出してA/D(アナログ/デジタル)変換す
るもので、CPU1は帳票印字を開始する前に電池電圧
検出部9によって検出された印字前電圧を取り込む。な
お、電池Eは1次電池、2次電池のいずれであってもよ
い。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) A first embodiment of the present invention will be described below with reference to FIGS. FIG.
1 is a block diagram showing an overall configuration of a handy terminal as a battery-driven electronic device driven by a battery as a power supply. The CPU 1 is a central processing unit that controls the overall operation of the handy terminal according to various programs. The storage device 2 includes a storage medium 3 in which an operating system, various application programs, a database, character font data, and the like are stored in advance, and a drive system thereof. The storage medium 3 is fixedly provided or removably mountable, and includes a magnetic / optical storage medium such as a floppy (registered trademark) disk, a hard disk, an optical disk, and a RAM card, and a semiconductor memory. Have been. The programs and data in the storage medium 3 are loaded into the RAM 4 under the control of the CPU 1 as needed. Further, the CPU 1 receives programs and data transmitted from other devices via a communication line or the like and stores them in the storage medium 3 or stored in a storage medium provided in other devices. Existing programs and data can be used via a communication line or the like. The CPU 1 has input / output peripheral devices such as an input device 5, a display device 6, a printing device 7, a timer 8,
The battery voltage detector 9 is connected via a bus line, and the CPU 1 controls the operation according to an input / output program. The input device 5 has a pointing device such as a keyboard and an input pen for inputting character string data and the like and for inputting various commands. Note that the display device 6 is a liquid crystal display device, a CRT display device, a plasma display device, or the like, and the printing device 7 is a non-impact printer such as thermal transfer or ink jet, or a dot impact printer. Here, when form printing is designated, the CPU 1 prints out form data on form paper in accordance with a form format predetermined for each user. The timer 8 is an addition timer that counts the basic clock signal and obtains time information. The battery voltage detecting unit 9 detects the battery voltage and performs A / D (analog / digital) conversion. The CPU 1 takes in the pre-printing voltage detected by the battery voltage detecting unit 9 before starting the form printing. The battery E may be a primary battery or a secondary battery.

【0007】図2は帳票印字に応じて変遷する電池残量
(電圧)の変化を示したもので、その縦軸は電池電圧を
示し、横軸は時間を示している。図中「印字前電圧」と
は帳票印字を開始する直前において電池電圧検出部9に
よって検出された電池電圧を意味している。帳票印字を
開始すると、電池電圧は一気に降下し、その後、印字動
作が進行するにしたがって電池電圧は変動しながら徐々
に下がる。そして、1枚分の帳票印字が終了した直後に
おいては、電池電圧(印字後電圧)は最も低くなるが、
それ以降は徐々に上昇回復してゆく。ここで、帳票1枚
分の印字に要する消費電力は、予めユーザ毎に設定され
ている帳票フォーマットに依存し、その出力形式が異な
れば、消費電力も微妙に相違するが、同じユーザは常に
同じ帳票フォーマットを使用して帳票印字を行うため、
帳票1枚当たりの印字に要する消費電力は常に同じであ
るといえる。したがって、過去において、ある「印字前
電圧」で帳票印字を正常に行うことができたということ
は、電池交換あるいは電池充電後に電池残量がその電圧
まで低下していても、電池の極端な劣化を考慮しなけれ
ば、現在の電圧で帳票印字を正常に行うことができると
判断して良いことになる。このため、帳票印字を開始す
る前の印字前電圧を学習し、その結果から現在の電池電
圧で帳票印字が可能かを判別することができるようにな
る。勿論、単なる学習では電池の劣化に対応できなくな
るため、この実施形態においては、この点にも配慮する
ようにしている。
FIG. 2 shows a change in the remaining amount of battery (voltage) which changes in accordance with printing on a form. The vertical axis indicates the battery voltage, and the horizontal axis indicates time. In the drawing, “voltage before printing” means the battery voltage detected by the battery voltage detecting unit 9 immediately before starting the form printing. When the form printing is started, the battery voltage drops at a stretch, and thereafter, as the printing operation proceeds, the battery voltage gradually decreases while fluctuating. Immediately after the printing of one sheet is completed, the battery voltage (voltage after printing) becomes the lowest,
After that, it gradually rises and recovers. Here, the power consumption required for printing one form depends on a form format set in advance for each user. If the output format is different, the power consumption is slightly different, but the same user always has the same power. To print a form using the form format,
It can be said that the power consumption required for printing per form is always the same. Therefore, in the past, report printing could be performed normally at a certain "pre-printing voltage", which means that even if the remaining battery level has dropped to that voltage after battery replacement or battery charging, the battery has deteriorated extremely. If this is not taken into account, it can be determined that the form printing can be performed normally at the current voltage. Therefore, it is possible to learn the pre-printing voltage before starting the form printing, and determine from the result whether the form printing is possible with the current battery voltage. Of course, mere learning cannot cope with battery deterioration, and this embodiment is designed to take this point into consideration.

【0008】図3は印字前電圧に対応して各種の印字管
理情報を記憶する印字情報管理テーブルPTの構成を示
したもので、この印字情報管理テーブルPTは記憶装置
2から呼び出されてRAM4にロードされる。印字情報
管理テーブルPTは予め設定されている印字前電圧
(8.5V以上、8.0V、7.2V、7.0V、6.
4V、6.3V)に対応して「フラグ」、「今回印字枚
数」、「印字可能性」を記憶する構成となっている。
「フラグ」は「正常」、「エラー」、「未処理」の状態
を示すもので、「正常」はそれに対応する印字前電圧で
帳票1枚分の印字が正常に行われた際にセットされるフ
ラグである。「エラー」はそれに対応する印字前電圧で
帳票印字を行った場合に電力不足による印字エラーが発
生した場合にセットされるフラグである。「未処理」は
それに対応する印字前電圧で帳票印字が行われていない
ことを示し、初期値としてそのフラグ領域には「未処
理」がセットされている。「今回印字枚数」は電池交換
あるいは電池充電が行われるまでの間において、それに
対応する印字前電圧で何枚帳票印字を行うことができた
かを示すもので、帳票印字が正常に行われる毎に、その
値はプラス「1」ずつインクリメントされる計数値であ
り、電池交換あるいは電池充電が行われる毎にその値は
クリアされる。「印字可能性」はそれに対応する印字前
電圧で帳票1枚分の印字を行うことができる可能性(百
分率)を示すもので、帳票印字を行う前に現在の電池電
圧に対応する印字可能性が印字情報管理テーブルPTか
ら読み出されてガイダンス表示される。この印字可能性
は電池交換あるいは電池充電後における最初の帳票印字
時に更新されるもので、印字情報管理テーブルPT内の
対応する「フラグ」、「今回印字枚数」を参照すること
によって今回印字可能性を求め、この今回印字可能性に
基づいて印字情報管理テーブルPT内の印字可能性を更
新する。なお、この印字可能性はそれに対応する印字前
電圧で帳票印字が1回も行われなかったときには不明を
意味する値(例えば「−1」)で初期化されたままとな
っている。また印字可能性は電池交換あるいは電池充電
毎に更新される現時点までの集計結果であり、今回印字
枚数のように所定のタイミングでクリアされず、最新の
更新内容が常時印字情報管理テーブルPTに記憶管理さ
れている。
FIG. 3 shows a configuration of a print information management table PT for storing various print management information corresponding to the pre-print voltage. The print information management table PT is called from the storage device 2 and stored in the RAM 4. Loaded. The print information management table PT stores a pre-print voltage (8.5 V or more, 8.0 V, 7.2 V, 7.0 V, 6.
4V, 6.3V), the "flag", the "number of prints this time", and the "printability" are stored.
“Flag” indicates the status of “Normal”, “Error”, and “Unprocessed”. “Normal” is set when the printing of one sheet has been performed normally with the corresponding pre-printing voltage. Flag. "Error" is a flag that is set when a printing error occurs due to insufficient power when form printing is performed at the corresponding pre-printing voltage. "Unprocessed" indicates that form printing is not performed at the corresponding pre-printing voltage, and "unprocessed" is set in the flag area as an initial value. `` Number of prints this time '' indicates how many forms can be printed at the corresponding pre-printing voltage until battery replacement or battery charging is performed, and each time form printing is performed normally , Is a count value incremented by one, and is cleared each time the battery is replaced or the battery is charged. "Printability" indicates the possibility (percentage) of printing one form at the corresponding pre-printing voltage, and the printability corresponding to the current battery voltage before performing form printing. Is read from the print information management table PT and displayed as guidance. This printability is updated at the time of the first report printing after battery replacement or battery charge, and the current printability is determined by referring to the corresponding “flag” and “current print quantity” in the print information management table PT. And updates the printability in the print information management table PT based on the printability this time. It should be noted that this printability remains initialized with a value meaning unknown (for example, “−1”) when no form printing has been performed at the corresponding pre-printing voltage. The printability is a total result up to the present time, which is updated each time a battery is replaced or charged, and is not cleared at a predetermined timing like the number of prints this time. Is managed.

【0009】次に、このハンディターミナルの印字動作
を図4〜図6に示すフローチャートにしたがって説明す
る。ここで、これらのフローチャートに記述されている
各機能を実現するためのプログラムは、読み取り可能な
プログラムコードの形態で記憶媒体3に格納されてお
り、CPU1はこのプログラムコードにしたがった動作
を逐次実行する。なお、このことは後述するフローチャ
ートにおいても同様である。図4は帳票印刷が指示され
た際に実行開始される帳票印刷処理を示したフローチャ
ートである。先ず、連続印字かを判別するが(ステップ
A1)、この場合、前回の帳票印字からの時間監視によ
ってその判別を行う。すなわち、上述したように帳票印
字を行うことによって電池電圧の落ち込みが発生するた
め、前回の印字直後に連続して帳票印字を行うと、電池
電圧が落ち込んだ状態で印字を開始することになり、印
字前電圧を正しく測定することができなくなることか
ら、前回の帳票印字から一定時間経過していない場合に
は連続印字と判断するようにしている。ここで、前回の
帳票印字完了時刻を記憶保持しておき、この完了時刻と
現在時刻とを比較することによって一定時間の経過を監
視するようにしている。
Next, the printing operation of the handy terminal will be described with reference to the flow charts shown in FIGS. Here, a program for realizing each function described in these flowcharts is stored in a storage medium 3 in the form of a readable program code, and the CPU 1 sequentially executes operations according to the program code. I do. This is the same in a flowchart described later. FIG. 4 is a flowchart showing a form printing process started when the form printing is instructed. First, it is determined whether the printing is continuous printing (step A1). In this case, the determination is performed by monitoring the time from the previous form printing. That is, since the drop of the battery voltage occurs by performing the form printing as described above, if the form printing is continuously performed immediately after the previous printing, the printing is started in a state where the battery voltage is reduced, Since the pre-printing voltage cannot be measured correctly, continuous printing is determined if a predetermined time has not elapsed since the last form printing. Here, the previous form printing completion time is stored and held, and the completion time is monitored by comparing the completion time with the current time.

【0010】いま、連続印字でなければ、電池電圧検出
部9を動作させて現在の電池電圧を取得し、これを変数
AとしてRAM4内に記憶保持しておく(ステップA
2)。なお、連続印字の場合、変数Aは前回印字開始時
の印字前電圧のままとなっている。次に、ステップA3
に進み、「変数A>変数B+α」の条件が成立するかを
調べる。ここで、変数Bは最後に取得した電池電圧を示
すもので、前回の帳票印字が正常に行われたときに変数
Aが変数Bとして転送されるもので、この変数Bの値に
マージンαを加算した結果と変数Aとを比較する。マー
ジンαは電池電圧を取得したときの変動を吸収するため
の一定値であり、今回取得した電池電圧(変数A)の方
が「変数B+α」の値よりも高ければ、電池交換あるい
は電池充電が行われたものと認識する。ここで、電池が
交換されたり、充電された場合には、印字情報管理テー
ブルPT内の印字可能性を更新したり、今回印字枚数を
クリアする集計処理が後述する図5のフローチャートに
したがって実行されるが(ステップA4)、電池交換や
充電が行われなければ、「変数A>変数B+α」の条件
不成立が検出されるため、ステップA6に進み、現在の
電池電圧に基づいて印字情報管理テーブルPTを検索
し、それに該当する印字可能性を読み出してガイダンス
表示が行われる。
If it is not continuous printing, the battery voltage detector 9 is operated to acquire the current battery voltage, and this is stored in the RAM 4 as a variable A (step A).
2). In the case of continuous printing, the variable A remains at the pre-printing voltage at the start of the previous printing. Next, step A3
To check whether the condition of “variable A> variable B + α” is satisfied. Here, the variable B indicates the battery voltage acquired last, and the variable A is transferred as the variable B when the previous form printing is normally performed. A margin α is added to the value of the variable B. The result of the addition is compared with the variable A. The margin α is a constant value for absorbing the fluctuation when the battery voltage is acquired. If the battery voltage (variable A) acquired this time is higher than the value of “variable B + α”, the battery replacement or the battery charging is not performed. Recognize that it has been done. Here, when the battery is replaced or charged, a totalizing process of updating the printability in the print information management table PT and clearing the number of prints this time is executed according to a flowchart of FIG. However, if the battery is not replaced or charged (Step A4), it is detected that the condition of “variable A> variable B + α” is not satisfied, so the process proceeds to Step A6, where the print information management table PT is determined based on the current battery voltage. Is retrieved, the corresponding print possibility is read out, and guidance display is performed.

【0011】ここで、オペレータはこのガイダンス表示
を確認し、その印字可能性を基に現在の電池残量で今回
の帳票印字が可能かを確認し、印字可能性の数値が高け
れば、印字続行を指示するが、印字可能性の数値が低け
れば印字中止を指示する。いま、印字続行が指示された
場合には、ステップA7でそのことが検出されてステッ
プA8に進み、通常の帳票印刷処理が行われる。すなわ
ち、予め決められている帳票フォーマットを呼び出すと
共に1帳票分の印字対象データを呼び出し、帳票用紙上
に印字出力する。その際、電圧不足による電圧エラーが
発生したかを調べる(ステップA9)。いま、電圧エラ
ーが起きずに帳票印字を政治正常に行うことができた場
合には、変数Aに基づいて印字情報管理テーブルPTを
検索し、それに該当する「フラグ」に“正常”をセット
すると共に(ステップA10)。変数Aに対応する今回
印字枚数の値に「1」を加算してその値を更新する処理
が行われる(ステップA11)。そして、変数Aを変数
Bに転送すると共に(ステップA12)、現在時刻を取
得してそれを印字完了時刻としてRAM4内に記憶保持
しておく(ステップA13)。なお、この印字完了時刻
は上述したように連続印字か否かを判定する際に使用さ
れる前回の印字時刻である。一方、帳票印字時に電圧エ
ラーが発生した場合にはステップA9でそのことが検出
されてステップA14に進み、変数Aに基づいて印字情
報管理テーブルPTを検索し、それに該当する「フラ
グ」に“エラー”をセットする。そして、ステップA1
3に進み、印字完了時刻のセットが行われる。なお、上
述した印字可能性のガイダンス表示を確認したオペレー
タが印字中止を指示した場合にも印字完了時刻のセット
が行われる(ステップA13)。
Here, the operator confirms the guidance display, confirms whether the current form can be printed with the current remaining battery level based on the printability, and if the numerical value of the printability is high, continues printing. Is instructed, but if the numerical value of printability is low, an instruction to stop printing is issued. If it is instructed to continue printing, this is detected in step A7 and the process proceeds to step A8, where normal form printing processing is performed. That is, a predetermined form format is called, and print data for one form is called and printed out on a form sheet. At this time, it is checked whether or not a voltage error has occurred due to insufficient voltage (step A9). If the form printing can be performed normally without any voltage error, the printing information management table PT is searched based on the variable A, and "normal" is set in the corresponding "flag". (Step A10). A process of adding “1” to the value of the current number of printed sheets corresponding to the variable A and updating the value is performed (step A11). Then, the variable A is transferred to the variable B (step A12), and the current time is obtained and stored in the RAM 4 as the print completion time (step A13). Note that the printing completion time is the previous printing time used when determining whether or not to perform continuous printing as described above. On the other hand, if a voltage error has occurred at the time of printing the form, it is detected in step A9 and the process proceeds to step A14, where the print information management table PT is searched based on the variable A, and the corresponding “flag” is set to “error”. Is set. Then, step A1
Proceeding to 3, the printing completion time is set. It should be noted that the printing completion time is also set when the operator who has checked the above-described printability guidance display gives an instruction to stop printing (step A13).

【0012】次に、図5を参照して上述した集計処理を
詳述する。この集計処理は電池交換あるいは充電が行わ
れた後の最初の帳票印字を開始する前に実行開始される
もので、先ず、印字情報管理テーブルPTの先頭レコー
ドからサーチしてゆき(ステップB1)、未処理レコー
ドが有るか、つまり、全レコードを処理し終ったかを調
べるが(ステップB2)、最初は、印字情報管理テーブ
ルPTの先頭レコードが指定されるため、そのレコード
内の「フラグ」を読み込み、“正常”か、“エラー”か
を判別する(ステップB3、B4)。ここで、フラグ=
正常であれば、該当電圧で行われた全ての印字(1回以
上)が正常に終了したことを意味しているため、その電
圧での今回印字可能性を100%とし(ステップB
5)、また、フラグ=エラーであれば、該当電圧で行わ
れた印字がゼロ回以上の正常印字と1回のエラーが発生
していることになるため、今回印字可能性=印字枚数×
100÷(印字枚数+1)の計算式によって今回印字可
能性を求める。例えば、フラグ=エラーの場合、その印
字可能性が0枚で、1枚目の印字時に電圧エラーが発生
したものとすると、今回印字可能性は0%、今回印字枚
数が1枚で、2枚目の印字時に電圧エラーが発生したも
のとすると、今回印字可能性は50%となり、また今回
印字枚数が2枚で3枚目の印字時に電圧エラーが発生し
たものとすると、今回印字可能性は66%となる。更に
今回印字枚数が3枚で4枚目の印字時に電圧エラーが発
生したものとすると、今回印字可能性は75%となる。
このように今回印字枚数が多くなればなる程、今回印字
可能性の値は大きくなる。
Next, the totalizing process described above will be described in detail with reference to FIG. This counting process is started before the first form printing after battery replacement or charging is performed. First, a search is performed from the first record of the print information management table PT (step B1). It is checked whether there is an unprocessed record, that is, whether all records have been processed (step B2). First, since the first record of the print information management table PT is specified, the "flag" in that record is read. , "Normal" or "error" (steps B3 and B4). Where the flag =
If it is normal, it means that all printing (one or more times) performed at the corresponding voltage has been completed normally, so that the current printing possibility at that voltage is set to 100% (step B).
5) Also, if the flag is an error, it means that printing performed at the corresponding voltage has been performed zero or more times as normal printing and one error has occurred.
The printability this time is obtained by the formula of 100 ° (the number of prints + 1). For example, if the flag = error, the printability is 0, and if a voltage error occurs during the first print, the printability this time is 0%, the number of prints this time is 1, and the printability is 2 If it is assumed that a voltage error has occurred during the printing of the eye, the printability this time is 50%. If the voltage error has occurred during the printing of the second and third prints, the printability of the present time is 66%. Further, assuming that the number of prints this time is three and a voltage error occurs during the printing of the fourth print, the printability this time is 75%.
As described above, the larger the number of prints this time, the larger the value of the possibility of printing this time.

【0013】このようにして今回の結果をパーセント換
算した後において、この値を印字情報管理テーブルPT
内の印字可能性領域に反映させる。この場合、上述のよ
うにして求められた今回印字可能性が印字情報管理テー
ブルPT内にセットされている前回までの印字可能性よ
り高い場合、つまり電池交換や充電が行われた場合には
(ステップB7)、今回印字可能性を印字情報管理テー
ブルPT内の該当する印字可能性領域へ転送する(ステ
ップB8)。また、今回印字可能性が前回までの印字可
能性以下の場合には、印字可能性=(印字可能性+今回
印字可能性)÷2の計算式によって求められた印字可能
性を印字情報管理テーブルPT内の該当する領域に転送
する(ステップB9)。このように今回と前回の印字可
能性を平均化することによって電池の劣化にも対応可能
となり、また、ハンディターミナルの運用は帳票印字だ
けではなく、他の動作電力として消費されるので、運用
期間に応じて学習精度を上げられるように考慮してい
る。このように印字情報管理テーブルPT内の印字可能
性を更新する処理が終ると、印字情報管理テーブルPT
内の該当するフラグを未処理とすると共に(ステップB
10)、今回印字枚数をゼロに初期化しておく(ステッ
プB11)。
After this result is converted into a percentage, this value is stored in the print information management table PT.
In the printable area within In this case, if the current printability obtained as described above is higher than the previous printability set in the print information management table PT, that is, if the battery is replaced or charged ( Step B7), the current printability is transferred to the corresponding printability area in the print information management table PT (step B8). If the current printability is equal to or less than the previous printability, the printability calculated by the formula of printability = (printability + current printability) / 2 is calculated in the print information management table. The data is transferred to the corresponding area in the PT (step B9). In this way, by averaging the printability this time and the previous time, it is possible to cope with battery deterioration, and since the operation of the handy terminal is not only used for form printing but also consumed as other operating power, the operation period Consideration is given so that the learning accuracy can be increased according to. When the process of updating the printability in the print information management table PT is completed, the print information management table PT
Are set to unprocessed (step B).
10), the number of prints this time is initialized to zero (step B11).

【0014】そして、ステップB1に戻り、印字情報管
理テーブルPT内の次のレコードに着目し、以下、同様
の処理を繰り返す。このような集計処理が終ると、図4
のステップA5に進み、印字情報管理テーブルPT内の
レコードを予め決められている規則にしたがって整列さ
せる処理が行われる。例えば、印字情報管理テーブルP
T内の印字可能性が「100、80、50、60、不
明、40」のように並んでいる場合、印字可能性が60
%のレコードと50%のレコードとを相互に入れ替える
と共に、印字可能性が“不明”である場合に、その位置
に所定の数値を埋め込む。すなわち、“不明”の位置の
両隣りにある印字可能性を抽出し、それらの平均値を求
め、その結果を“不明”の位置に代入する。この場合、
50+40÷2の計算結果である45%が代入される。
また、印字可能性の並びにおいて、その先頭から“不
明”が並んでいれば、次の“100”が見つかるまで
“100”を“不明”の位置に代入する。このような整
列処理が終ると、現在の電池電圧に対応する印字可能性
を印字情報管理テーブルPTから読み出してガイダンス
表示する処理に移る。
Then, returning to step B1, focusing on the next record in the print information management table PT, the same processing is repeated thereafter. When such aggregation processing is completed, FIG.
The process proceeds to step A5 in which records in the print information management table PT are aligned according to a predetermined rule. For example, the print information management table P
If the printability in T is lined up as “100, 80, 50, 60, unknown, 40”, the printability is 60
The record of% and the record of 50% are exchanged with each other, and when the printability is "unknown", a predetermined numerical value is embedded at that position. That is, the printing possibilities on both sides of the “unknown” position are extracted, their average values are obtained, and the result is substituted for the “unknown” position. in this case,
45%, which is the calculation result of 50 + 40/2, is substituted.
If “unknown” is listed from the top in the printability list, “100” is assigned to the “unknown” position until the next “100” is found. When such an alignment process is completed, the process proceeds to a process of reading the print possibility corresponding to the current battery voltage from the print information management table PT and displaying the guidance.

【0015】以上のようにこの第1実施形態において
は、過去の帳票印字の状況を電池電圧との関連において
学習することで、現在の電池電圧で印字することができ
る印字可能性をガイダンス表示することができる。図6
はこの場合のガイダンス表示例を示し、現在の電池電圧
に対応して印字可能性が印字情報管理テーブルPTから
読み出されて表示出力される。なお、図中(A)は電圧
値が8.5Vの場合に印字可能性が100%、(B)は
7.2Vの場合に80%、(C)は6.4Vの場合に0
%となる例を示し、このようなガイダンス表示によって
今回、帳票印字を正確に行うことができる可能性を知る
ことが可能となる。
As described above, in the first embodiment, the possibility of printing at the current battery voltage is displayed by learning the past form printing status in relation to the battery voltage. be able to. FIG.
Shows an example of a guidance display in this case, and the printability is read out from the print information management table PT and displayed and output in accordance with the current battery voltage. In the figure, (A) has a printability of 100% when the voltage value is 8.5V, (B) has 80% when the voltage value is 7.2V, and (C) has 0% when the voltage value is 6.4V.
In this example, the guidance display makes it possible to know the possibility that the form printing can be performed accurately.

【0016】(第2実施形態)以下、図7〜図10を参
照してこの発明の第2実施形態を説明する。なお、上述
した第1実施形態は印字情報管理テーブルPT内に印字
前電圧に対応して印字可能性を記憶管理するようにした
が、この第2実施形態はこの印字可能性に代って最大印
字枚数を記憶管理するようにしたもので、基本的には上
述した第1実施形態と略同様となっている。図7はこの
第2実施形態における印字情報管理テーブルPTのデー
タ構造を示し、上述したようにこの印字情報管理テーブ
ルPTには印字前電圧毎に「今回印字枚数」、「最大印
字枚数」を記憶する構成で、電池交換や充電後において
印字情報管理テーブルPTの内容を集計する処理を行う
際に、今回印字枚数と最大印字枚数とを比較し、大きい
方の値を最大印字枚数とすることで該当する電圧で印字
することができる最大印字枚数を得るようにしたもので
ある。
(Second Embodiment) A second embodiment of the present invention will be described below with reference to FIGS. In the first embodiment described above, the printability is stored and managed in the print information management table PT in correspondence with the pre-print voltage. However, in the second embodiment, the printability is replaced by a maximum value. The number of printed sheets is stored and managed, and is basically similar to that of the first embodiment. FIG. 7 shows the data structure of the print information management table PT in the second embodiment. As described above, the print information management table PT stores the "current print number" and the "maximum print number" for each pre-print voltage. When performing a process of totalizing the contents of the print information management table PT after battery replacement or charging, the number of prints this time is compared with the maximum number of prints, and the larger value is set as the maximum number of prints. The maximum number of prints that can be printed at the corresponding voltage is obtained.

【0017】図8はこの第2実施形態における帳票印刷
処理を示したフローチャートで、ステップC1〜C9は
上述した図4のステップA1〜A9に対応する処理であ
るが、この場合、ステップC6では現在電圧値に対応す
る最大印字枚数のガイダンス表示が行われる。そして、
帳票印字の電圧エラーをチェックした結果、正常印字が
行われた場合には変数Aに対応する今回印字枚数をプラ
ス「1」する更新処理が行われると共に(ステップC1
0)、変数Aが変数Bに転送される(ステップC1
1)。なお、ステップC12は図4のステップA13と
同様に印字完了時刻を記録する処理である。
FIG. 8 is a flowchart showing a form printing process according to the second embodiment. Steps C1 to C9 correspond to steps A1 to A9 in FIG. 4 described above. The guidance display of the maximum number of prints corresponding to the voltage value is performed. And
As a result of checking the form printing voltage error, if the normal printing is performed, an update process of adding the current number of prints corresponding to the variable A to “1” is performed (step C1).
0), the variable A is transferred to the variable B (step C1)
1). Step C12 is a process of recording the print completion time as in step A13 in FIG.

【0018】図9はこの第2実施形態における集計処理
(図8のステップC4)を詳述したフローチャートであ
る。すなわち、印字情報管理テーブルPTの先頭レコー
ドからサーチしてゆき(ステップD1)、未処理レコー
ドが有るか、つまり、全レコードを処理し終ったかを調
べるが(ステップD2)、最初は印字情報管理テーブル
PTの先頭レコードが指定されるため、そのレコード内
の今回印字枚数および最大印字枚数を抽出してその大小
を比較する(ステップD3)。この結果、今回印字枚数
が最大印字枚数よりも大きければ、今回印字枚数を対応
する印字情報管理テーブルPTの最大印字枚数領域に転
送して最大印字枚数の値を更新するが(ステップD
4)、今回印字枚数が最大印字枚数以下であれば、最大
印字枚数の更新は行われない。そして、印字情報管理テ
ーブルPTの指定レコード内の今回印字枚数をゼロに初
期化する処理を行う(ステップD5)。このようにして
1レコード分の処理が終ると、ステップD1に戻り、上
述の動作を全レコード終了まで繰り返す。
FIG. 9 is a flowchart detailing the tallying process (step C4 in FIG. 8) in the second embodiment. That is, searching is performed from the first record of the print information management table PT (step D1) to check whether there is an unprocessed record, that is, whether all records have been processed (step D2). Since the first record of the PT is specified, the number of prints this time and the maximum number of prints in the record are extracted and compared in magnitude (step D3). As a result, if the current print number is larger than the maximum print number, the current print number is transferred to the corresponding maximum print number area of the print information management table PT to update the value of the maximum print number (step D).
4) If the current print number is equal to or less than the maximum print number, the maximum print number is not updated. Then, a process of initializing the number of prints this time in the designated record of the print information management table PT to zero is performed (step D5). When the process for one record is completed in this way, the process returns to step D1, and the above-described operation is repeated until the end of all records.

【0019】以上のようにこの第2実施形態において
は、過去の帳票印字の状況を電池電圧との関連において
学習することで、現在の電池電圧で印字することができ
る最大印字枚数をガイダンス表示することができる。図
10はこの場合のガイダンス表示例を示したもので、現
在の電池電圧に対応した最大印字枚数が印字情報管理テ
ーブルPTから読み出されて表示出力される。なお、図
中(A)は電圧値が8.5Vの場合に最大印字枚数が1
00枚、(B)は7.2Vの場合に最大印字枚数が30
枚、(C)は6.4Vの場合に0枚となる例を示し、こ
のようなガイダンス表示によって今回、帳票印字を正確
に行うことができる最大印字枚数を知ることが可能とな
る。
As described above, in the second embodiment, by learning the past form printing status in relation to the battery voltage, the maximum number of prints that can be printed at the current battery voltage is displayed as guidance. be able to. FIG. 10 shows an example of the guidance display in this case, in which the maximum number of prints corresponding to the current battery voltage is read out from the print information management table PT and displayed and output. In the figure, (A) indicates that the maximum number of printed sheets is 1 when the voltage value is 8.5V.
00 sheets, (B) shows that the maximum number of printed sheets is
(C) shows an example in which the number of sheets becomes zero in the case of 6.4 V. With such a guidance display, it is possible to know the maximum number of sheets that can be accurately printed on the form this time.

【0020】(第3実施形態)以下、図11〜図14を
参照してこの発明の第3実施形態を説明する。なお、上
述した第2実施形態は印字情報管理テーブルPT内に印
字前電圧に対応して今回印字枚数および最大印字枚数を
記憶管理するようにしたが、この第3実施形態において
は今回印字枚数に代わって今回印字行数、最大印字枚数
に代わって最大印字行数を記憶管理するようにしたもの
で、基本的には上述した第2実施形態と略同様となって
いる。図11はこの第3実施形態における印字情報管理
テーブルPTのデータ構造を示し、上述したようにこの
印字情報管理テーブルPTには印字前電圧毎に「今回印
字行数」、「最大印字行数」を記憶する構成で、電池交
換や充電後において印字情報管理テーブルPTの内容を
集計する処理を行う際に、今回印字行数と最大印字行数
とを比較し、大きい方の値を最大印字行数とすること
で、該当する電圧で印字することができる最大印字行数
を得るようにしたものである。
(Third Embodiment) A third embodiment of the present invention will be described below with reference to FIGS. In the second embodiment described above, the number of prints this time and the maximum number of prints are stored and managed in the print information management table PT in correspondence with the voltage before printing. However, in the third embodiment, the number of prints this time is stored in the print information management table PT. Instead, the maximum number of print lines is stored and managed in place of the maximum number of print lines this time and the maximum number of prints. This is basically the same as the second embodiment described above. FIG. 11 shows the data structure of the print information management table PT according to the third embodiment. As described above, the print information management table PT has "current print line number" and "maximum print line number" for each voltage before printing. When the process of totalizing the contents of the print information management table PT after battery replacement or charging is performed, the current print line number is compared with the maximum print line number, and the larger value is used as the maximum print line number. By setting the number, the maximum number of printing lines that can be printed at the corresponding voltage is obtained.

【0021】図12はこの第3実施形態における帳票印
刷処理を示したフローチャートで、ステップE1〜E5
は上述した図4のステップA1〜A5に対応する処理で
ある。ステップE6は印字対象として指定された帳票の
印字行数を算出する処理で、これによって得られた算出
行数と、現在の電池電圧に対応して印字情報管理テーブ
ルPTにセットされている最大印字行数とに基づいて最
大印字枚数を算出する(ステップE7)。すなわち、最
大印字行数を算出行数で割ることによって最大印字枚数
を求め、この最大印字枚数と最大印字行数とをガイダン
ス表示する(ステップE8)。ここで、印字続行が指示
されると(ステップE9)、帳票印字および電圧チェッ
クが行われる(ステップE10、E11)。いま、正常
印字が行われた場合には変数Aに対応する今回印字行数
をプラス「1」する更新処理が行われると共に(ステッ
プE12)、変数Aが変数Bに転送される(ステップE
13)。なお、ステップE14は図4のステップA13
と同様に印字完了時刻を記録する処理である。図13は
この第3実施形態における集計処理(図12のステップ
E4)を詳述したフローチャートである。ここで、ステ
ップF1〜F5は上述した図9のステップD1〜D5に
対応する処理であるが、この場合、ステップF3では印
字情報管理テーブルPT内の指定レコードから今回印字
行数および最大印字行数を抽出してその大小を比較す
る。この結果、今回印字行数が最大印字行数よりも大き
ければ、今回印字行数を対応する印字情報管理テーブル
PTの最大印字行数領域に転送して、最大印字行数の値
を更新するが(ステップF4)、今回印字行数が最大印
字行数以下であれば、最大印字行数の更新は行われな
い。そして、印字情報管理テーブルPTの指定レコード
内の今回印字行数をゼロに初期化する処理を行う(ステ
ップF5)。このようにして1レコード分の処理が終る
と、ステップF1に戻り、上述の動作を全レコード終了
まで繰り返す。
FIG. 12 is a flowchart showing a form printing process according to the third embodiment.
Is a process corresponding to steps A1 to A5 in FIG. Step E6 is a process for calculating the number of print lines of the form specified as a print target, and the calculated number of lines and the maximum print number set in the print information management table PT corresponding to the current battery voltage. The maximum number of printed sheets is calculated based on the number of lines (step E7). That is, the maximum number of printed lines is obtained by dividing the maximum number of printed lines by the calculated number of lines, and guidance is displayed on the maximum number of printed lines and the maximum number of printed lines (step E8). Here, when printing is instructed (step E9), form printing and voltage check are performed (steps E10 and E11). If the normal printing has been performed, an update process is performed to add the number of current printing lines corresponding to the variable A to “1” (step E12), and the variable A is transferred to the variable B (step E12).
13). Step E14 corresponds to step A13 in FIG.
This is a process for recording the print completion time in the same manner as described above. FIG. 13 is a flowchart detailing the tallying process (step E4 in FIG. 12) in the third embodiment. Here, steps F1 to F5 are processes corresponding to steps D1 to D5 in FIG. 9 described above. In this case, in step F3, the number of current print lines and the maximum number of print lines are determined from the designated record in the print information management table PT. And compare their sizes. As a result, if the current print line number is larger than the maximum print line number, the current print line number is transferred to the corresponding maximum print line number area of the print information management table PT, and the value of the maximum print line number is updated. (Step F4) If the current print line number is equal to or less than the maximum print line number, the maximum print line number is not updated. Then, a process of initializing the number of currently printed lines in the designated record of the print information management table PT to zero is performed (step F5). When the processing for one record is completed in this way, the process returns to step F1, and the above operation is repeated until the end of all records.

【0022】以上のようにこの第3実施形態において
は、過去の帳票印字の状況を電池電圧との関連において
学習することで、現在の電池電圧で印字することができ
る最大印字枚数および最大印字行数をガイダンス表示す
ることができる。図14はこの場合のガイダンス表示例
を示し、現在の電池電圧に対応した最大印字行数が印字
情報管理テーブルPTから読み出されて表示出力される
と共に、この最大印字行数に基づいて算出された最大印
字枚数が表示出力される。なお、図中(A)は電圧値が
8.5Vの場合に最大印字行数が1000行、最大印字
枚数が100枚、(B)は7.2Vの場合に最大印字行
数が300行、最大印字枚数が30枚、(C)は6.4
Vの場合に最大印字行数が0行、最大印字枚数が0枚と
なる例を示し、このようなガイダンス表示によって今
回、帳票印字を正確に行うことができる最大印字行数お
よび最大印字枚数を知ることが可能となる。
As described above, in the third embodiment, by learning the past form printing status in relation to the battery voltage, the maximum number of prints and the maximum printing line that can be printed at the current battery voltage are obtained. The number can be displayed as guidance. FIG. 14 shows an example of a guidance display in this case, in which the maximum number of printing lines corresponding to the current battery voltage is read out from the printing information management table PT and displayed and output, and is calculated based on the maximum number of printing lines. The maximum number of printed sheets is displayed and output. In the figure, (A) shows a maximum number of printing lines of 1,000 when the voltage value is 8.5 V, and a maximum number of printed sheets of 100. (B) shows a maximum number of printing lines of 300 when the voltage value is 7.2 V. The maximum number of prints is 30, and (C) is 6.4
In the case of V, the maximum number of print lines is 0 and the maximum number of prints is 0. The guidance display shows that the maximum number of print lines and the maximum number of print It becomes possible to know.

【0023】なお、上述した各実施形態においては、帳
票印字を例に挙げたが、その他の定型用紙に対する印字
であってもよい。また、現在の電池電圧で印字すること
ができる印字予測値として印字可能性、最大印字枚数、
最大印字行数をガイダンス表示するようにしたが、最大
印字文字数をガイダンス表示するようにしてもよい。ま
た印字情報管理テーブルPTに設定されている印字前電
圧は、上述した各実施形態に限らず、任意であり、印字
前電圧の電圧幅が細かい程に精度を向上させることがで
きる。
In each of the embodiments described above, form printing is described as an example, but printing on other fixed-size paper may be performed. In addition, the printability, the maximum number of prints,
Although the maximum number of print lines is displayed as guidance, the maximum number of print characters may be displayed as guidance. Further, the pre-print voltage set in the print information management table PT is not limited to each of the above-described embodiments, and is arbitrary, and the accuracy can be improved as the voltage width of the pre-print voltage becomes smaller.

【0024】[0024]

【発明の効果】この発明によれば、過去の印字状況を電
池電圧との関連において学習することで、現在の電池電
圧で印字可能な印字予測値を正確に報知することができ
るので、用紙1枚当たりの印字データ量がユーザ毎に大
きく相違していても、ユーザに適した印字予測値を知る
ことができる。
According to the present invention, by learning the past printing conditions in relation to the battery voltage, it is possible to accurately notify the predicted printing value that can be printed with the current battery voltage. Even if the print data amount per sheet greatly differs for each user, it is possible to know a print predicted value suitable for the user.

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

【図1】電池を電源として駆動する電池駆動式ハンディ
ターミナルの全体構成を示したブロック図。
FIG. 1 is a block diagram showing an overall configuration of a battery-driven handy terminal driven by a battery as a power supply.

【図2】帳票印字に応じて変遷する電池残量の変化を示
した図。
FIG. 2 is a diagram illustrating a change in a battery remaining amount that changes in accordance with a form printing.

【図3】印字前電圧に対応して各種の印字管理情報を記
憶する印字情報管理テーブルPTの構成を示した図。
FIG. 3 is a diagram showing a configuration of a print information management table PT that stores various types of print management information corresponding to pre-print voltages.

【図4】帳票印刷が指示された際に実行開始される帳票
印刷処理を示したフローチャート。
FIG. 4 is a flowchart showing a form printing process started when form printing is instructed.

【図5】図4のステップA4(集計処理)を詳述したフ
ローチャート。
FIG. 5 is a flowchart detailing step A4 (totaling process) in FIG. 4;

【図6】(A)〜(C)は現在の電池電圧に応じてガイ
ダンス表示される印字可能性を例示した表示状態図。
FIGS. 6A to 6C are display state diagrams exemplifying the possibility of printing the guidance display according to the current battery voltage.

【図7】第2実施形態における印字情報管理テーブルP
Tの構成を示した図。
FIG. 7 is a print information management table P according to the second embodiment.
The figure which showed the structure of T.

【図8】第2実施形態の帳票印刷処理を示したフローチ
ャート。
FIG. 8 is a flowchart illustrating a form printing process according to the second embodiment.

【図9】図8のステップC4(集計処理)を詳述したフ
ローチャート。
FIG. 9 is a flowchart detailing step C4 (totaling process) in FIG. 8;

【図10】(A)〜(C)は現在の電池電圧に応じてガ
イダンス表示される最大印字枚数を例示した表示状態
図。
FIGS. 10A to 10C are display state diagrams exemplifying a maximum number of printed sheets for guidance display according to a current battery voltage.

【図11】第3実施形態における印字情報管理テーブル
PTの構成を示した図。
FIG. 11 is a diagram showing a configuration of a print information management table PT according to a third embodiment.

【図12】第3実施形態の帳票印刷処理を示したフロー
チャート。
FIG. 12 is a flowchart illustrating a form printing process according to the third embodiment.

【図13】図12のステップE4(集計処理)を詳述し
たフローチャート。
FIG. 13 is a flowchart detailing step E4 (totaling process) in FIG. 12;

【図14】(A)〜(C)は現在の電池電圧に応じてガ
イダンス表示される最大印字行数と最大印字枚数を例示
した表示状態図。
FIGS. 14A to 14C are display state diagrams exemplifying a maximum number of print lines and a maximum number of print sheets for guidance display according to a current battery voltage.

【符号の説明】[Explanation of symbols]

1 CPU 2 記憶装置 3 記憶媒体 4 RAM 5 入力装置 6 表示装置 7 印刷装置 8 タイマー 9 電池電圧検出部 E 電池 PT 印字情報管理テーブル DESCRIPTION OF SYMBOLS 1 CPU 2 Storage device 3 Storage medium 4 RAM 5 Input device 6 Display device 7 Printing device 8 Timer 9 Battery voltage detection part E Battery PT Print information management table

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】電池を電源として駆動され、予め決められ
ている印刷フォーマットにしたがった所定のデータを印
刷用紙に印字する電池駆動式電子機器において、 データ印字を開始する前の電池電圧を印字前電圧として
検出する検出手段と、 電池交換あるいは電池充電が行われるまでの間におい
て、印字動作が正常に終了する毎にその時点の印字前電
圧で印字することができた印字済み累計値を更新する更
新手段と、 この更新手段によって更新された印字済み累計値を印字
前電圧に対応して記憶管理する更新値記憶手段と、 この更新値記憶手段内に印字前電圧に対応して記憶管理
されている印字済み累計値に基づいてその電圧で印字す
ることができる印字予測値を算出する算出手段と、 この検出手段によって検出された現在の電池電圧に対応
して前記算出手段によって算出された印字予測値を報知
出力する報知手段とを具備したことを特徴とする電池駆
動式電子機器。
1. A battery-driven electronic device which is driven by a battery as a power source and prints predetermined data on a printing paper in accordance with a predetermined print format. Detecting means for detecting as a voltage, and, until battery replacement or battery charging is performed, every time a printing operation is normally completed, the printed total value that could be printed with the pre-printing voltage at that time is updated. Update means; update value storage means for storing and managing the accumulated value after printing updated by the update means in accordance with the pre-print voltage; and storing and managing in the update value storage means in accordance with the pre-print voltage. Calculating means for calculating a predicted print value at which the voltage can be printed based on the total value of the printed data, and a current battery voltage detected by the detecting means. Battery-operated electronic apparatus, characterized by comprising a notifying means for informing outputting print predicted value calculated by said calculating means with.
【請求項2】前記算出手段は前記更新値記憶手段内に印
字前電圧に対応して記憶管理されている印字済み累計値
に基づいてその電圧で印字することができる印字可能性
を印字予測値として算出するようにしたことを特徴とす
る請求項1記載の電池駆動式電子機器。
2. The printing means according to claim 1, wherein said calculating means determines a printing possibility at which said printing can be performed at said voltage based on a total number of printed data stored and managed in said updated value storing means in correspondence with a voltage before printing. 2. The battery-driven electronic device according to claim 1, wherein the value is calculated as:
【請求項3】前記算出手段は前記更新値記憶手段内に印
字前電圧に対応して記憶管理されている印字済み累計値
に基づいてその電圧で印字することができる所定単位分
の印字データ量を印字予測値として算出するようにした
ことを特徴とする請求項1記載の電池駆動式電子機器。
3. A print data amount of a predetermined unit which can be printed at a voltage based on a cumulative total value with print stored and managed in correspondence with a pre-print voltage in the update value storage means. The battery-driven electronic device according to claim 1, wherein is calculated as a predicted print value.
【請求項4】前記算出手段によって印字前電圧毎に算出
された各印字予測値を記憶管理する予測情報記憶手段
と、 前記算出手段によって印字前電圧に対応して算出された
印字予測値と、その印字前電圧に対応して前記予測情報
記憶手段内に記憶管理されている印字予測値とを比較
し、その比較結果に基づいて当該印字前電圧に対応する
前記予測情報記憶手段内の印字予測値を更新する予測情
報更新手段とを設け、 前記報知手段は前記検出手段によって検出された現在の
電池電圧に対応して前記予測情報記憶手段内に記憶管理
されている印字予測値を読み出して報知出力するように
したことを特徴とする請求項1記載の電池駆動式電子機
器。
4. A prediction information storage means for storing and managing each print predicted value calculated for each pre-print voltage by said calculation means; a print predicted value calculated corresponding to the pre-print voltage by said calculation means; A print prediction value stored in the prediction information storage means is compared with the print prediction value corresponding to the pre-print voltage, and a print prediction value in the prediction information storage means corresponding to the pre-print voltage is determined based on the comparison result. Prediction information updating means for updating a value, wherein the notifying means reads and notifies a print prediction value stored and managed in the prediction information storage means in accordance with a current battery voltage detected by the detecting means. The battery-driven electronic device according to claim 1, wherein the electronic device is configured to output.
【請求項5】前記更新手段によって更新される印字済み
累計値は、印字枚数や印字行数のように所定単位当たり
の印字量を累計した値であることを特徴とする請求項1
記載の電池駆動式電子機器。
5. The printed total value updated by the updating means is a value obtained by accumulating the print amount per predetermined unit, such as the number of prints or the number of print lines.
The battery-operated electronic device according to the above.
【請求項6】コンピュータによって読み取られるプログ
ラムコードを有する記録媒体であって、 データ印字を開始する前の電池電圧を印字前電圧として
検出する機能と、 電池交換あるいは電池光量が行われるまでの間におい
て、印字動作が正常に終了する毎にその時点の印字前電
圧で印字することができた印字済み累計値を更新する機
能と、 印字前電圧に対応して記憶管理されている印字済み累計
値に基づいてその電圧で印字することができる印字予測
値を算出する機能と、 現在の電池電圧に対応して前記算出された印字予測値を
報知する機能を実現するためのプログラムコードを有す
る記録媒体。
6. A recording medium having a program code read by a computer, comprising: a function of detecting a battery voltage before data printing is started as a pre-printing voltage; Each time the printing operation is completed normally, the function to update the printed total value that can be printed with the current pre-print voltage and the printed total value that is stored and managed corresponding to the pre-print voltage A recording medium having a program code for realizing a function of calculating a predicted print value at which printing can be performed at that voltage and a function of notifying the calculated predicted print value corresponding to a current battery voltage.
JP18275499A 1999-06-29 1999-06-29 Battery-powered electronic device and program recording medium thereof Expired - Fee Related JP3873530B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18275499A JP3873530B2 (en) 1999-06-29 1999-06-29 Battery-powered electronic device and program recording medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18275499A JP3873530B2 (en) 1999-06-29 1999-06-29 Battery-powered electronic device and program recording medium thereof

Publications (3)

Publication Number Publication Date
JP2001010177A true JP2001010177A (en) 2001-01-16
JP2001010177A5 JP2001010177A5 (en) 2004-11-11
JP3873530B2 JP3873530B2 (en) 2007-01-24

Family

ID=16123860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18275499A Expired - Fee Related JP3873530B2 (en) 1999-06-29 1999-06-29 Battery-powered electronic device and program recording medium thereof

Country Status (1)

Country Link
JP (1) JP3873530B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017056698A (en) * 2015-09-18 2017-03-23 東芝テック株式会社 Printer
JP6461383B1 (en) * 2018-01-04 2019-01-30 富士通アイソテック株式会社 Thermal printer, thermal printer printing control method and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6425160A (en) * 1987-07-22 1989-01-27 Canon Kk Image forming device
JPH10105295A (en) * 1996-10-01 1998-04-24 Canon Inc Battery built-in electronic equipment and print control method
JPH1158898A (en) * 1997-08-21 1999-03-02 Hitachi Ltd Battery driven printer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6425160A (en) * 1987-07-22 1989-01-27 Canon Kk Image forming device
JPH10105295A (en) * 1996-10-01 1998-04-24 Canon Inc Battery built-in electronic equipment and print control method
JPH1158898A (en) * 1997-08-21 1999-03-02 Hitachi Ltd Battery driven printer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017056698A (en) * 2015-09-18 2017-03-23 東芝テック株式会社 Printer
US9908349B2 (en) 2015-09-18 2018-03-06 Toshiba Tec Kabushiki Kaisha Printer
US10124612B2 (en) 2015-09-18 2018-11-13 Toshiba Tec Kabushiki Kaisha Printer
JP6461383B1 (en) * 2018-01-04 2019-01-30 富士通アイソテック株式会社 Thermal printer, thermal printer printing control method and program
JP2019119127A (en) * 2018-01-04 2019-07-22 富士通アイソテック株式会社 Thermal printer, printing control method for thermal printer, and program

Also Published As

Publication number Publication date
JP3873530B2 (en) 2007-01-24

Similar Documents

Publication Publication Date Title
US6312073B1 (en) System for detecting an accurate amount of ink consumption in an ink jet recording device
KR930022182A (en) Portable battery operated flatbed computer
JPH07176333A (en) Electronic apparatus, battery control device, and battery control method
JP5867000B2 (en) Failure prediction system, failure prediction device, and program
JP5311516B2 (en) handy terminal
JP4621135B2 (en) Secondary battery powered printer
US20050156570A1 (en) Autonomic battery reconditioning
US10804720B2 (en) Battery charging apparatus and recording apparatus
JP2001010177A (en) Battery drive electronic equipment and its program storage medium
CN1982075A (en) Apparatus and method for controlling power in imaging device
JP5428894B2 (en) CO2 emission management system and CO2 emission management method
JP2015184585A (en) Image forming apparatus, system for displaying replacement consumable of image forming apparatus, and method of displaying replacement consumable of image forming apparatus
JP2019074609A (en) Image forming apparatus, information processing method, and program
JP6583788B2 (en) Order input device and order management system
CN104349005B (en) The control method of image forming apparatus and image forming apparatus
EP3904106A1 (en) Printer, program, and information processing system
KR101037935B1 (en) Method and apparatus of detecting life information of consumable part in image forming device
JP4841991B2 (en) Battery level management device
US20190266456A1 (en) Consumable-component management apparatus, control method, and storage medium storing program
US20230315353A1 (en) Processing management device
JP2002307786A (en) Information device, method and system for managing cost thereof
JP3342115B2 (en) Printing equipment
JP5485042B2 (en) Progress prediction device, progress prediction method, and program
KR100645963B1 (en) Image forming device for using component unit comprising CRUM memory, and, method thereof
JPH02181210A (en) Battery driving type information processor, battery power source system and battery managing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060117

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060228

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060711

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060831

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061003

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061016

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111102

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121102

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131102

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees