JP2011201315A - Portable printer - Google Patents

Portable printer Download PDF

Info

Publication number
JP2011201315A
JP2011201315A JP2011133630A JP2011133630A JP2011201315A JP 2011201315 A JP2011201315 A JP 2011201315A JP 2011133630 A JP2011133630 A JP 2011133630A JP 2011133630 A JP2011133630 A JP 2011133630A JP 2011201315 A JP2011201315 A JP 2011201315A
Authority
JP
Japan
Prior art keywords
battery
remaining capacity
reference value
printing
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011133630A
Other languages
Japanese (ja)
Inventor
Akihiko Shinohara
昭彦 篠原
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.)
AI SOLUTIONS CORP
Toshiba TEC Corp
Original Assignee
AI SOLUTIONS CORP
Toshiba TEC Corp
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 AI SOLUTIONS CORP, Toshiba TEC Corp filed Critical AI SOLUTIONS CORP
Priority to JP2011133630A priority Critical patent/JP2011201315A/en
Publication of JP2011201315A publication Critical patent/JP2011201315A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To surely save data necessary when restarting, before cutting off the power supplied from a battery when remaining capacity of the battery has reduced.SOLUTION: A remaining capacity measuring part 27 measures the remaining capacity of the battery 25. A CPU 10 compares the measured result with a first reference value equivalent to the voltage that enables continuous printing. When the remaining capacity of the battery has reduced to less than the first reference value, the CPU executes an error processing for informing of the shortage of the battery remaining capacity. The CPU 10 compares the measured result by the remaining capacity measuring part 27 with a second reference value lower than the first reference value. When the remaining capacity of the battery 25 has reduced to less than the reference value, the CPU, after saving the data necessary when restarting into a nonvolatile memory 38, allows a power supply control section 24 to forcibly cutoff the power being supplied from the battery 25 to various parts in a portable printer.

Description

この発明は、バッテリを駆動源として用紙等の印刷媒体に印字する携帯型プリンタに関する。   The present invention relates to a portable printer that prints on a printing medium such as paper using a battery as a driving source.

一般的に、バッテリを主電源とする携帯型プリンタにおいて、非動作時の消費電力をなるべく少なくするために、図5のフローチャートに示すように、電源ONの状態で、どの操作SWも押されないか、あるいは印字動作をしないか、通信が行われなくなってから一定時間が経過すると、その制御を司るマイクロコンピュータを構成するCPUはスリープモードに移行し、最低限必要な部分以外への給電を停止する低消費電力モードになるものがある。
また、このような携帯型プリンタにおいて、電源を入れたまま放置され、どの操作SWも押されないか、あるいは印字動作をしないか、または通信が行われなくなってから一定時間経過後に、消費電力を節約するために自動で電源を遮断するようにしたものもある。 あるいは、図6のフローチャートに示すように、印字動作指示があるとバッテリの残容量を計測し、その残容量が印字可能かどうかを判断し、バッテリの残容量がある一定レベル以下になると印字不可能と判断して、印字処理を停止してエラー処理を行うようにしたものもある。
In general, in a portable printer using a battery as a main power source, in order to reduce power consumption during non-operation as much as possible, as shown in the flowchart of FIG. When a certain time has elapsed since the printing operation is not performed or communication is not performed, the CPU that constitutes the control of the microcomputer shifts to the sleep mode and stops the power supply to parts other than the minimum necessary part. Some have low power consumption modes.
Further, in such a portable printer, power consumption is saved after a certain period of time has passed since the power is turned on and no operation SW is pressed, no printing operation is performed, or communication is not performed. In order to do this, there are some that automatically shut off the power. Alternatively, as shown in the flowchart of FIG. 6, when there is a print operation instruction, the remaining capacity of the battery is measured, it is determined whether or not the remaining capacity can be printed, and if the remaining capacity of the battery falls below a certain level, printing is not possible. Some of them are determined to be possible and the printing process is stopped and error processing is performed.

しかし、バッテリの残容量によらず、印字あるいは通信を行わなくなってから一定時間経過後に自動的に低消費電力モードに移行するものは、その低消費電力モードに移行する前にバッテリの残容量がなくなり、突然電源が遮断してしまう場合があった。
また、一定時間経過後に電源を自動で遮断する(オートパワーオフモードヘ移行する)ものの場合も、同様に一定時間経過後に自動的に電源を遮断する前にバッテリの残容量がなくなり、突然電源が遮断してしまう場合があった。
なお、オートパワーオフモードを備えたプリンタであっても、使用者は使い勝手が悪いためにオートパワーオフモードを解除して使用することもある。
その場合、バッテリの残容量が少ない状態で長時間放置した後に再度使おうとした時、バッテリの残容量がなくなり、使えないということもある。この時、なぜプリンタが動作しないかわからない(バッテリ切れがわからない)という問題も生じる。
However, regardless of the remaining capacity of the battery, the battery that automatically shifts to the low power consumption mode after a lapse of a certain time after printing or communication is stopped will have the remaining capacity of the battery before shifting to the low power consumption mode. In some cases, the power was suddenly shut off.
Also, in the case of a device that automatically shuts off the power after the lapse of a certain time (transition to auto power off mode), the remaining capacity of the battery disappears before the power is automatically shut off after the lapse of a certain time. There was a case of blocking.
Even if the printer has an auto power-off mode, the user may use it after canceling the auto power-off mode because of poor usability.
In that case, when the battery is used for a long time after being left in a state where the remaining capacity of the battery is low, the remaining capacity of the battery disappears and the battery cannot be used. At this time, there also arises a problem that it is not known why the printer does not operate (it does not know whether the battery is dead).

一方、ライン型サーマルヘッドを用いた携帯型プリンタにおいて、1ライン全ドットのうちの印字率が高く、その印字率が100%近くになると、バッテリからサーマルヘッドに大電流が供給されるため、その時バッテリの電圧が急激に低下する。バッテリの残容量が少なくなるほどこの傾向は更に強くなり、このようにバッテリによる電源電圧の低下が大きくなると、回路動作に影響を及ぼすこともあった。すなわち、印字中にバッテリ電圧が回路動作電圧以下になり、CPUに接続されている電源監視回路が動作して、CPUをリセットしてしまうことがあった。
一般に電源を自動で遮断する場合、電源を遮断する前に電源遮断プログラムが起動し、必要なデータをメモリに格納して保存し、次回再起動したときにそのデータを使用できるようにしている。
On the other hand, in a portable printer using a line-type thermal head, if the printing rate of all the dots in one line is high and the printing rate approaches 100%, a large current is supplied from the battery to the thermal head. Battery voltage drops rapidly. This tendency becomes stronger as the remaining capacity of the battery decreases, and when the power supply voltage drop due to the battery increases in this way, the circuit operation may be affected. That is, the battery voltage may become equal to or lower than the circuit operating voltage during printing, and the power supply monitoring circuit connected to the CPU may operate to reset the CPU.
In general, when the power is automatically shut off, the power shut-off program is started before the power is shut off, and necessary data is stored and stored in a memory so that the data can be used at the next restart.

ところが、前述のように自動によらず、強制的に電源が遮断されると、必要なデータを保存することができず、次回再起動した時に正しいデータを取得できないという問題が生じてしまうことがあった。
また、バッテリの残容量がなくなったため、強制的に電源が遮断されてしまったプリンタを、再度起動しようとして電源SWを押しても、バッテリの残容量がないため再起動しないという不具合もあった。
However, as described above, if the power is forcibly cut off without being automatic, the necessary data cannot be saved, and the problem that correct data cannot be acquired at the next restart may occur. there were.
In addition, since there is no remaining battery capacity, there is a problem in that even if a printer whose power has been forcibly cut off is pressed again and the power switch is pressed, it does not restart because there is no remaining battery capacity.

一方、前述したライン型サーマルヘッドを用いた携帯型プリンタは、バッテリの残容量が少ない状態で印字率の高い印字を行うと、バッテリからサーマルヘッドに大電流が流れるためバッテリの出力電圧が低下し、その電圧降下が回路動作にはまだ支障がないレベルであっても、印字が薄くなってしまう傾向がある。
このように、バッテリの容量がある程度残っていても、印字が薄くなって要求される印字品質を満足できなくなってしまうことがある。
そこで、回路動作には影響を及ぼさなくとも、上記のように印字品質を満足できなくなると印字不可能と判断し、電源を強制的に遮断してしまうことも考えられる。しかしながら、この場合には印字はできなくても回路は動作可能なので、印字以外の動作、例えばホスト装置からの通信待ち受け状態あるいはデータ処理動作(印字データのフォーマット作成等)などは、長期間に渡って待機可能であり、かつデータ処理が可能であるにもかかわらず、電源を遮断してしまうことによって、それもできなくなってしまう。
On the other hand, when the above-described portable printer using a line-type thermal head performs printing with a high printing rate in a state where the remaining capacity of the battery is small, a large current flows from the battery to the thermal head, so the output voltage of the battery decreases. Even if the voltage drop is at a level that does not hinder circuit operation, printing tends to be light.
As described above, even if the battery capacity remains to some extent, printing may become thin and the required print quality may not be satisfied.
Therefore, even if the circuit operation is not affected, if the print quality cannot be satisfied as described above, it may be determined that printing is impossible and the power supply may be forcibly shut off. However, in this case, the circuit can operate even if printing cannot be performed. Therefore, operations other than printing, such as a communication standby state from the host device or data processing operations (formatting of print data, etc.), take a long time. Even though it is possible to wait and to process data, it is impossible to do so by shutting off the power supply.

特開平04−205122号公報Japanese Patent Laid-Open No. 04-205122 特開平03−226814号公報Japanese Patent Laid-Open No. 03-226814 特開平06−274457号公報Japanese Patent Laid-Open No. 06-274457

この発明は、このような従来の携帯型プリンタにおける種々の不具合を解消するためになされたものであり、バッテリの残容量が少なくなったとき、バッテリからの給電を遮断する前に、再起動時に必要なデータを確実に保存できるようにすることを目的とする。   The present invention has been made in order to solve various problems in such a conventional portable printer. When the remaining capacity of the battery is reduced, the power supply from the battery is cut off before restarting. The purpose is to ensure that necessary data can be stored.

また、携帯型プリンタ内でバッテリからの給電を自動的に遮断するとき、この携帯型プリンタに印刷データを送るホスト装置がそれを知ることができるようにすることも目的とする。   It is another object of the present invention to allow a host device that sends print data to a portable printer to know when the power supply from the battery is automatically cut off in the portable printer.

さらに、バッテリの残容量が少なくなっても、回路動作に支障がなく、かつホストからの通信コマンドの待ち受け及びデータ処理が可能であれば、それができるようにして、より有効にバッテリを使用することも目的とする。   In addition, even if the remaining battery capacity is low, if there is no problem in circuit operation and if it is possible to wait for a communication command from the host and process data, it can be used and the battery can be used more effectively. Also aimed.

この発明は、バッテリを駆動源として動作し、ホスト装置から送信される印字データを受信して、サーマルヘッドおよびモータを用いての印刷媒体に対する印字動作を実行させる印字処理を行う携帯型プリンタにおいて、前記バッテリの残容量を計測する残容量計測手段と、1ページ分の印字処理が行われる毎に、前記残容量計測手段による計測結果を第1の基準値と比較する第1の比較手段と、前記バッテリの残容量が前記第1の基準値以上であると前記第1の比較手段が判断した場合は、前記印字処理を行い、前記バッテリの残容量が前記第1の基準値よりも低下したと前記第1の比較手段が判断した場合は、印字動作を停止させて前記ホスト装置に印字不能であることを通知する手段と、前記残容量計測手段による計測結果を、回路動作が可能な最小値よりも大きい値であって前記第1の基準値よりも低い第2の基準値と比較する第2の比較手段と、前記バッテリの残容量が前記第2の基準値よりも低下したと前記第2の比較手段が判断した場合に、前記バッテリからの給電を強制的に遮断する給電遮断手段と、を設け、前記バッテリからの給電を強制的に遮断する前に、再起動時の印刷条件の初期設定に用いるデータを不揮発性メモリに保存し、前記バッテリからの給電を強制的に遮断する前に、前記ホスト装置に電源を遮断することを通知し、印字処理を行う前に、前記不揮発性メモリに保存されているデータで印刷条件の初期設定を行う、ことを特徴とする。
この発明は、バッテリを駆動源として動作し、ホスト装置から送信される印字データを受信して、サーマルヘッドおよびモータを用いての印刷媒体に対する印字動作を実行させる印字処理を行う携帯型プリンタにおいて、前記バッテリの残容量を計測し、この計測結果を1ページ分の印字処理を行う毎に第1の基準値と比較して、印字可能と判断した場合は前記印字処理を行い、印字不可能と判断した場合は印字動作を停止して前記ホスト装置に印字不能であることを通知し、動作待機時は、前記バッテリの残容量を計測し、この計測結果を、回路動作が可能な最小値よりも大きい値であって前記第1の基準値よりも低い第2の基準値と比較して、動作不可能と判断した場合は、前記バッテリからの給電を強制的に遮断し、前記バッテリからの給電を強制的に遮断する前に、再起動時の印刷条件の初期設定に用いるデータを不揮発性メモリに保存し、前記バッテリからの給電を強制的に遮断する前に、前記ホスト装置に電源を遮断することを通知し、印字処理を行う前に、前記不揮発性メモリに保存されているデータで印刷条件の初期設定を行う、ことを特徴とする。
The present invention relates to a portable printer that operates using a battery as a drive source, receives print data transmitted from a host device, and performs print processing for executing a print operation on a print medium using a thermal head and a motor. A remaining capacity measuring means for measuring the remaining capacity of the battery, and a first comparing means for comparing a measurement result by the remaining capacity measuring means with a first reference value each time a printing process for one page is performed, When the first comparison unit determines that the remaining capacity of the battery is equal to or greater than the first reference value, the printing process is performed, and the remaining capacity of the battery is lower than the first reference value. And the first comparing means stop the printing operation and notify the host device that printing is impossible, and the measurement result by the remaining capacity measuring means And a second comparison means for comparing with a second reference value that is greater than a possible minimum value and lower than the first reference value, and the remaining capacity of the battery is less than the second reference value A power supply cutoff means for forcibly cutting off the power supply from the battery when the second comparison means determines that the power supply has been lowered, and restarting before forcibly cutting off the power supply from the battery Data used for initial setting of printing conditions at the time is stored in a non-volatile memory, before the power supply from the battery is forcibly cut off, the host device is notified that the power supply is cut off, and before the printing process is performed In addition, initial setting of printing conditions is performed using data stored in the nonvolatile memory.
The present invention relates to a portable printer that operates using a battery as a drive source, receives print data transmitted from a host device, and performs print processing for executing a print operation on a print medium using a thermal head and a motor. The remaining capacity of the battery is measured, and the measurement result is compared with the first reference value every time printing processing for one page is performed. If it is determined, the printing operation is stopped and the host device is notified that printing is not possible. During standby, the remaining capacity of the battery is measured, and this measurement result is calculated from the minimum value that allows circuit operation. If it is determined that the operation is impossible as compared with a second reference value that is larger than the first reference value, the power supply from the battery is forcibly cut off. Before the power supply is forcibly cut off, data used for initial setting of the printing conditions at the time of restart is stored in a non-volatile memory, and before the power supply from the battery is forcibly cut off, the host device is turned on. It is characterized in that the printing condition is initialized with the data stored in the non-volatile memory before the cutoff is notified and the printing process is performed.

上記第2の基準値は、回路動作が可能な最小値よりも大きい値であるのが望ましい。
上記給電遮断手段によって給電を遮断する前に、給電を遮断することを当該携帯型プリンタに印刷データを送るホスト装置に通知するのは、通知手段が行う。
その通知手段として、有線による通知手段と無線による通知手段の少なくとも一方を有するとよい。
上記残容量計測手段がバッテリパックに内蔵されていると、バッテリを交換してもバッテリ残容量の計測値が常に正しく計測される。
また、エラー処理として、前記バッテリの残量不足を報知するようにしてもよい。
その場合、印字動作を停止させた後も、バッテリの残容量が前述の基準値に低下するまでは回路動作が可能であり、長期に亘って通信待ち受けやデータ処理状態などにしておくことができる。
さらに、電源としてACアダプタを接続することも可能であり、ACアダプタを接続時には、そのACアダプタからの給電により上記バッテリを充電することができるように構成するとよい。
The second reference value is desirably a value larger than the minimum value at which circuit operation is possible.
The notifying means notifies the host device that sends print data to the portable printer that the power supply is interrupted before the power supply is interrupted by the power supply interrupting means.
The notification means may include at least one of a wired notification means and a wireless notification means.
When the remaining capacity measuring means is built in the battery pack, the measured value of the remaining battery capacity is always correctly measured even if the battery is replaced.
In addition, as an error process, the battery shortage may be notified.
In that case, even after the printing operation is stopped, the circuit operation is possible until the remaining capacity of the battery decreases to the above-described reference value, and it is possible to keep the communication standby or the data processing state for a long time. .
Furthermore, it is possible to connect an AC adapter as a power source. When the AC adapter is connected, the battery may be charged by power supplied from the AC adapter.

バッテリを駆動源として用紙等の印刷媒体に印字する携帯型プリンタにおいて、バッテリの残容量を計測して、その計測結果が予め設定した基準値を下回った場合には、必要なデータを不揮発性メモリに保存させた後、電源を自動で遮断するので、バッテリの残容量がなくなる前に確実に電源遮断プログラムを起動でき、必要なデータを不揮発性メモリに格納できるという優れた効果がある。
前記バッテリの残容量がなくなる前に、バッテリからの給電を自動的に遮断するので、再度電源SWを入れてプリンタを起動させた時、バッテリから回路が動作するのに必要な給電がなされず、再起動しないという不具合はなく確実に動作させることができる。
In a portable printer that prints on a printing medium such as paper using a battery as a drive source, if the remaining capacity of the battery is measured and the measurement result falls below a preset reference value, the necessary data is stored in a nonvolatile memory. Since the power supply is automatically shut off after being stored in the memory, the power shutoff program can be surely started before the remaining capacity of the battery runs out, and the necessary data can be stored in the nonvolatile memory.
Before the remaining capacity of the battery runs out, the power supply from the battery is automatically cut off, so when the printer is started by turning on the power switch again, the power supply necessary for the circuit to operate is not performed, There is no problem of not restarting, and it can be operated reliably.

バッテリによる給電を自動的に遮断する前に、給電を遮断することをホスト装置に通知するようにすれば、ホスト装置は携帯型プリンタにおける給電が遮断されたことを知ることができるので、プリンタが動作しなくともその原因を容易に知ることができる。   If the host device is notified before the power supply from the battery is automatically cut off, the host device can know that the power supply in the portable printer has been cut off. Even if it does not operate, the cause can be easily known.

また、バッテリの残容量が減少して、連続印字動作を停止させた後でも、電源を強制的に遮断する基準値に達するまで、回路の動作が長時間に渡って動作可能な待機状態にしておくことができ、バッテリを有効に使用することができる。   Even after the remaining battery capacity has been reduced and the continuous printing operation has been stopped, the circuit operates in a standby state where it can operate for a long time until it reaches the reference value for forcibly turning off the power. The battery can be used effectively.

バッテリの残容量を計測する手段をバッテリパックに内蔵するようにすれば、バッテリを途中で交換しても、その交換によってバッテリの残容量を誤って計測することがない。   If the means for measuring the remaining capacity of the battery is built in the battery pack, even if the battery is replaced in the middle, the remaining capacity of the battery is not erroneously measured by the replacement.

この発明による携帯型プリンタの一実施形態の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an embodiment of a portable printer according to the present invention. FIG. 同じくその使用例を示すブロック図である。It is a block diagram which similarly shows the usage example. 図1の電源供給制御部24内に設けられる電源を遮断する手段の一例を示す回路図である。It is a circuit diagram which shows an example of the means to interrupt | block the power supply provided in the power supply control part 24 of FIG. 図1のCPU10によるこの発明に係る処理のフローチャートである。It is a flowchart of the process which concerns on this invention by CPU10 of FIG. 従来の携帯型プリンタにおける節電処理の例を示すフローチャートである。It is a flowchart which shows the example of the power saving process in the conventional portable printer. 従来の携帯型プリンタにおける印字動作指示時の処理のフローチャートである。It is a flowchart of the process at the time of the printing operation instruction | indication in the conventional portable printer.

以下、この発明による携帯型プリンタの好ましい実施の形態を、図面を参照して説明する。
まず、この発明による携帯型プリンタの使用例を図2によって説明する。
Hereinafter, preferred embodiments of a portable printer according to the present invention will be described with reference to the drawings.
First, an example of use of the portable printer according to the present invention will be described with reference to FIG.

図2において、携帯型プリンタ1はバッテリパック28を内蔵しており、そのバッテリパック内のバッテリから給電されて動作するとともに、外部のACアダプタ35を接続して、商用電源からの交流を所定電圧の直流に変換した電力を供給されて動作することもできる。このACアダプタ35を接続している時には、内蔵のバッテリパック28内のバッテリを充電することもできる。   In FIG. 2, the portable printer 1 has a built-in battery pack 28, operates while being supplied with power from the battery in the battery pack, and is connected to an external AC adapter 35 so that an alternating current from a commercial power source is supplied with a predetermined voltage. It is also possible to operate by being supplied with electric power converted into direct current. When the AC adapter 35 is connected, the battery in the built-in battery pack 28 can be charged.

この携帯型プリンタ1は、パーソナルコンピュータ等のホスト装置36と、RC232Cインタフェース(I/F)によって通信可能に接続され、あるいは他のホスト装置37とSS(Spectrum Spread)無線によって通信可能であり、これらのホスト装置36,37から送信される印字データ等を受信して、用紙等の印刷媒体に1ページ分ずつ印字処理を行う。   The portable printer 1 is communicably connected to a host device 36 such as a personal computer via an RC232C interface (I / F), or can communicate with another host device 37 via SS (Spectrum Spread) radio. The print data transmitted from the host devices 36 and 37 is received, and the print processing is performed for each page on a print medium such as paper.

図1は、この携帯型プリンタ1のより詳細な構成を示すブロック図である。
この図1において、CPU10はこの携帯型プリンタ1の全体を統括制御する中央処理装置であり、そのプログラムを格納したROM32、およびワーキングメモリであるSRAM(スタティックRAM)31と共に、マイクロコンピュータを構成している。
FIG. 1 is a block diagram showing a more detailed configuration of the portable printer 1.
In FIG. 1, a CPU 10 is a central processing unit that performs overall control of the portable printer 1, and constitutes a microcomputer together with a ROM 32 that stores the program and an SRAM (static RAM) 31 that is a working memory. Yes.

このCPU10にはクロック信号を発振するための水晶振動子11が直接接続され、図示を省略しているCPUバスを介して、ROM32およびSRAM31の他に、不揮発性メモリであるNVRAM38、電源監視回路30、無線インタフェース33、RS232Cインタフェース34、および操作パネル20に設けられた表示LED21と紙送りスイッチ22も接続されている。   A crystal oscillator 11 for oscillating a clock signal is directly connected to the CPU 10, and an NVRAM 38 that is a nonvolatile memory, a power supply monitoring circuit 30, in addition to the ROM 32 and the SRAM 31, via a CPU bus (not shown). The wireless interface 33, the RS232C interface 34, and the display LED 21 provided on the operation panel 20 and the paper feed switch 22 are also connected.

また、このCPU10には、この携帯型プリンタ1の印字動作を行うための負荷として、ラインフィードモータ12を駆動するモータドライバ13、サーマルヘッド14を制御するサーマルヘッド制御部15、筐体のカバーの開放を検知するカバーオープンスイッチ16、用紙の有無および給送を検知する反射型センサ17と透過型センサ18を制御するセンサ制御部19、および電源供給制御部24が、それぞれ図示しないI/Oインタフェースを介して接続されている。   The CPU 10 also includes a motor driver 13 for driving the line feed motor 12, a thermal head controller 15 for controlling the thermal head 14, and a cover of the housing as loads for performing the printing operation of the portable printer 1. A cover open switch 16 for detecting the opening, a reflection type sensor 17 for detecting the presence or absence of paper and feeding, a sensor control unit 19 for controlling the transmission type sensor 18, and a power supply control unit 24 are respectively provided with an I / O interface (not shown). Connected through.

電源供給制御部24は、前述したバッテリパック28のバッテリ25あるいはACアダプタ35から直流を給電され、それをDC−DCコンバータ29によって所要の直流電圧に変換して、上述した各部に供給する。
バッテリパック28には、バッテリ25と共にその残容量を計測する残容量計測手段であるバッテリ残容量計測部27を内蔵しており、その計測結果を電源供給制御部24及びバッテリ充電制御部26へ出力する。そして、バッテリ残容量計測部27は、バッテリ25と電源供給制御部24との間の電流路にもなっている。
The power supply control unit 24 is fed with direct current from the battery 25 or the AC adapter 35 of the battery pack 28 described above, converts it into a required direct current voltage by the DC-DC converter 29, and supplies it to the above-described units.
The battery pack 28 incorporates a battery remaining capacity measuring unit 27 which is a remaining capacity measuring means for measuring the remaining capacity together with the battery 25, and outputs the measurement result to the power supply control unit 24 and the battery charge control unit 26. To do. The remaining battery capacity measuring unit 27 is also a current path between the battery 25 and the power supply control unit 24.

また、バッテリパック28と電源供給制御部24との間にバッテリ充電制御部26を設けており、そのバッテリ充電制御部26にはバッテリ残容量計測部27が接続され、それによるバッテリ25の残容量(充電状態)の計測結果が入力される。
そして、電源供給制御部24にACアダプタ35が接続されていない時には、バッテリ25からバッテリ残容量計測部27を介して電源供給制御部24に給電する。ACアダプタ35が接続されていて、バッテリ25が満充電になっていないときには、電源供給制御部24からバッテリ充電制御部26及びバッテリ残容量計測部27を介してバッテリ25を充電し、バッテリ残容量計測部27によって満充電が計測されると、バッテリ25への充電を停止する。
In addition, a battery charge control unit 26 is provided between the battery pack 28 and the power supply control unit 24, and a battery remaining capacity measuring unit 27 is connected to the battery charge control unit 26. The measurement result of (charging state) is input.
When the AC adapter 35 is not connected to the power supply control unit 24, power is supplied from the battery 25 to the power supply control unit 24 via the remaining battery capacity measurement unit 27. When the AC adapter 35 is connected and the battery 25 is not fully charged, the battery 25 is charged from the power supply control unit 24 via the battery charge control unit 26 and the remaining battery capacity measurement unit 27, and the remaining battery capacity is When the full charge is measured by the measuring unit 27, the charging to the battery 25 is stopped.

電源供給制御部24にはまた、これを制御するCPU10と操作パネル20の電源スイッチ23も接続されている。
また、この電源供給制御部24内には、この携帯型プリンタ1内の各部への電源供給(給電)を遮断する手段として、図3に示すように、スイッチ素子としてPNP型のトランジスタ40とフリップ・フロップ回路(以下「FF回路」と略称する。)41とからなる回路が設けられている。
The power supply control unit 24 is also connected to the CPU 10 for controlling the power supply control unit 24 and the power switch 23 of the operation panel 20.
Further, in the power supply control unit 24, as means for interrupting power supply (power supply) to each part in the portable printer 1, as shown in FIG. A circuit comprising a flop circuit (hereinafter abbreviated as “FF circuit”) 41 is provided.

そのFF回路41のローアクティブのリセット端子(/RESET)に電源スイッチ23を介してアースが接続され、ローアクティブのセット端子(/SET)にはCPU10からの信号が入力される。このFF回路41の出力端子Qはトランジスタ40のベースに接続され、そのトランジスタ40のエミッタはバッテリ25等による給電路に、コレクタはDC−DCコンバータ29に接続されている。   The ground is connected to the low active reset terminal (/ RESET) of the FF circuit 41 via the power switch 23, and a signal from the CPU 10 is input to the low active set terminal (/ SET). The output terminal Q of the FF circuit 41 is connected to the base of the transistor 40, the emitter of the transistor 40 is connected to the power supply path of the battery 25 and the like, and the collector is connected to the DC-DC converter 29.

そして、FF回路41のリセット端子に、電源スイッチ23を介してアースレベル“L”の信号が入力すると、FF回路41がリセットされてその出力端子Qがローレベル“L”になり、トランジスタ40がONになって、バッテリ25(またはACアダプタ35)からDC−DCコンバータ29へ電流が流れ、DC−DCコンバータ29から各部に給電される。   When the ground level “L” signal is input to the reset terminal of the FF circuit 41 via the power switch 23, the FF circuit 41 is reset and its output terminal Q is set to the low level “L”. When the power is turned on, a current flows from the battery 25 (or the AC adapter 35) to the DC-DC converter 29, and power is supplied from the DC-DC converter 29 to each part.

その状態で、CPU10からFF回路41のセット端子にローレベル“L”の信号が入力されると、FF回路41がセットされてその出力端子Qがハイレベル“H”になるため、トランジスタ40がOFFになり、DC−DCコンバータ29への給電路を遮断するので、DC−DCコンバータ29に電流が流れなくなり、バッテリ25からこの携帯型プリンタ1内の各部への給電が全て遮断される。
DC−DCコンバータ29への給電路を開閉するスイッチ素子としては、バイポーラトランジスタに限らず、電界効果型トランジスタ(FET)やリレー等を用いてもよい。
In this state, when a low level “L” signal is input from the CPU 10 to the set terminal of the FF circuit 41, the FF circuit 41 is set and its output terminal Q becomes high level “H”. Since the power supply path to the DC-DC converter 29 is cut off, no current flows through the DC-DC converter 29, and all power supply from the battery 25 to each part in the portable printer 1 is cut off.
The switch element that opens and closes the power supply path to the DC-DC converter 29 is not limited to a bipolar transistor, and a field effect transistor (FET), a relay, or the like may be used.

ここで、図2に示したホスト装置36又は37によって、図1に示したRS232CI/F34、又は無線I/F33を介して印字動作指示がなされたときの、CPUによる動作処理について、図4のフローチャートによって説明する。   Here, the operation processing by the CPU when the host device 36 or 37 shown in FIG. 2 gives a print operation instruction via the RS232CI / F 34 or the wireless I / F 33 shown in FIG. This will be described with reference to a flowchart.

まず、ステップS1で印刷条件の初期設定を行う。このとき、NVRAM38に保存されているデータがあればそれを設定する。
ステップS2で電源供給制御部24を介して、バッテリパック28内のバッテリ残容量計測部27にバッテリ25の残容量を測定させ、その測定結果を読み込む。
First, in step S1, initial setting of printing conditions is performed. At this time, if there is data stored in the NVRAM 38, it is set.
In step S2, the remaining battery capacity measurement unit 27 in the battery pack 28 is caused to measure the remaining capacity of the battery 25 via the power supply control unit 24, and the measurement result is read.

そして、ステップS3で印字可能か否かを判断する。これは、測定されたバッテリ25の残容量の値(電圧値)を、連続印字動作が可能な最低限より幾分大きい電圧に相当する印字停止基準値である第1の基準値と比較し、第1の基準値以上であれば印字可能と、第1の基準値未満であれば印字不能と判断する。   In step S3, it is determined whether printing is possible. This compares the measured value (voltage value) of the remaining capacity of the battery 25 with a first reference value which is a print stop reference value corresponding to a voltage somewhat higher than the minimum capable of continuous printing operation, If it is greater than or equal to the first reference value, it is determined that printing is possible, and if it is less than the first reference value, it is determined that printing is not possible.

印字可能であれば、ステップS4へ進んで1ページ分の印字処理を行ってステップS2へ戻り、ステップS2からS4の処理を繰り返して、用紙等の印刷媒体に1ページ分ずつ印字を行っていく。
印字不能になると、ステップS5でエラー処理を行う。例えば、操作パネル20の表示LED21によって、バッテリ残容量の不足を表示する。また、RS232CI/F34、又は無線I/F33による通知手段を介して図2に示したホスト装置36,37に印字不能であることを通知する。
If printing is possible, the process proceeds to step S4, the printing process for one page is performed, the process returns to step S2, and the processes of steps S2 to S4 are repeated to print one page at a time on a printing medium such as paper. .
If printing becomes impossible, error processing is performed in step S5. For example, the shortage of the remaining battery capacity is displayed by the display LED 21 of the operation panel 20. Further, it notifies the host devices 36 and 37 shown in FIG. 2 that printing is impossible via the notification means by the RS232CI / F34 or the wireless I / F33.

その後、ステップS6で再度電源供給制御部24を介してバッテリ残容量計測部27にバッテリ25の残容量を測定させ、その測定結果を読み込む。
そして、ステップS7で回路動作が可能か否かを判断する。これは、測定されたバッテリ25の残容量値(電圧値)を、回路動作が可能な最低限の電圧より幾分高い電圧に相当する第2の基準値(第1の基準値より絶対値が小さい)と比較し、第2の基準値以上であれば動作可能と、第2の基準値未満であれば動作不可能と判断する。
Thereafter, in step S6, the remaining capacity of the battery 25 is measured again by the battery remaining capacity measuring section 27 via the power supply control section 24, and the measurement result is read.
In step S7, it is determined whether or not circuit operation is possible. This is because the measured remaining capacity value (voltage value) of the battery 25 is a second reference value (absolute value is higher than the first reference value) corresponding to a voltage somewhat higher than the minimum voltage at which circuit operation is possible. If it is equal to or greater than the second reference value, it is determined to be operable, and if it is less than the second reference value, it is determined to be inoperable.

その結果、動作可能であればステップS8で動作待機状態にしてステップS6へ戻り、ステップS6からS8の処理を繰り返して動作待機(通信待ち受けやデータ処理状態)を継続し、ステップS7で動作不可能と判断すると、ステップS9へ進んで、再起動時に必要なデータをNVRAM38に格納して保存し、ホスト装置に電源を全て遮断することを通知する。   As a result, if the operation is possible, the operation standby state is set in step S8 and the process returns to step S6. If YES in step S9, the flow advances to step S9 to store and save data necessary for restart in the NVRAM 38, and notify the host device that all power is to be shut off.

その後、ステツプS10で電源をOFFにして、処理を終了する。すなわち、電源供給制御部24内の図3に示したFF回路41のセット端子にCPU10からローレベル“L”の信号を与え、FF回路41をセット状態にしてその出力端子Qをハイレベル“H”にする。それによって、トランジスタ40がOFFになり、DC−DCコンバータ29への給電を断つので、携帯型プリンタ1内の全ての回路への給電が断たれる。したがって、図1におけるCPU10と電源供給制御部24とによって、給電遮断手段の機能を果たす。   Thereafter, the power is turned off at step S10, and the process is terminated. That is, a low level “L” signal is applied from the CPU 10 to the set terminal of the FF circuit 41 shown in FIG. 3 in the power supply control unit 24, the FF circuit 41 is set to the set state, and its output terminal Q is set to the high level “H”. " As a result, the transistor 40 is turned off and the power supply to the DC-DC converter 29 is cut off, so that the power supply to all the circuits in the portable printer 1 is cut off. Therefore, the CPU 10 and the power supply control unit 24 in FIG.

上述した処理を簡略化する場合には、図4のステップS3で印字可能でないと判断したとき、エラー処理に代えて、あるいはエラー処理後に、ホスト装置に印字不能であることを通知し、必要なデータをNVRAM38に格納して保存してから、電源をOFFにして処理を終了するようにしてもよい。   In the case of simplifying the above-described processing, when it is determined in step S3 in FIG. 4 that printing is not possible, the host device is notified that printing is impossible instead of error processing or after error processing, and is necessary. After the data is stored in the NVRAM 38 and saved, the power may be turned off to end the process.

なお、この発明はホスト装置とデータ通信を行って印字を行うプリンタに対して適用したものであるが、2つのシステム間でデータをやりとりする機器において、一方の全ての電源を遮断する必要がある他の機器に適用することが可能である。   Although the present invention is applied to a printer that performs printing by performing data communication with a host device, it is necessary to shut off all the power sources in one device that exchanges data between two systems. It can be applied to other devices.

10:CPU、12:ラインフイードモータ、14:サーマルヘッド、20:操作パネル、23:電源スイッチ、24:電源供給制御部、25:バッテリ、26:バッテリ充電制御部、27:バッテリ残容量計測部、28:バッテリパック、29:DC−DCコンバータ、31:SRAM、32:ROM、33:無線インタフェース、34:RS232Cインタフェース、35:ACアダプタ、36,37:ホスト装置、40:トランジスタ(スイッチ素子)、41:フリップフロップ回路(FF回路)   10: CPU, 12: line feed motor, 14: thermal head, 20: operation panel, 23: power switch, 24: power supply control unit, 25: battery, 26: battery charge control unit, 27: battery remaining capacity measurement Part: 28: battery pack, 29: DC-DC converter, 31: SRAM, 32: ROM, 33: wireless interface, 34: RS232C interface, 35: AC adapter, 36, 37: host device, 40: transistor (switch element) ), 41: flip-flop circuit (FF circuit)

Claims (2)

バッテリを駆動源として動作し、ホスト装置から送信される印字データを受信して、サーマルヘッドおよびモータを用いての印刷媒体に対する印字動作を実行させる印字処理を行う携帯型プリンタにおいて、
前記バッテリの残容量を計測する残容量計測手段と、
1ページ分の印字処理が行われる毎に、前記残容量計測手段による計測結果を第1の基準値と比較する第1の比較手段と、
前記バッテリの残容量が前記第1の基準値以上であると前記第1の比較手段が判断した場合は、前記印字処理を行い、前記バッテリの残容量が前記第1の基準値よりも低下したと前記第1の比較手段が判断した場合は、印字動作を停止させて前記ホスト装置に印字不能であることを通知する手段と、
前記残容量計測手段による計測結果を、回路動作が可能な最小値よりも大きい値であって前記第1の基準値よりも低い第2の基準値と比較する第2の比較手段と、
前記バッテリの残容量が前記第2の基準値よりも低下したと前記第2の比較手段が判断した場合に、前記バッテリからの給電を強制的に遮断する給電遮断手段と、
を設け、
前記バッテリからの給電を強制的に遮断する前に、再起動時の印刷条件の初期設定に用いるデータを不揮発性メモリに保存し、
前記バッテリからの給電を強制的に遮断する前に、前記ホスト装置に電源を遮断することを通知し、
印字処理を行う前に、前記不揮発性メモリに保存されているデータで印刷条件の初期設定を行う、ことを特徴とする携帯型プリンタ。
In a portable printer that operates using a battery as a drive source, receives print data transmitted from a host device, and performs print processing for executing a print operation on a print medium using a thermal head and a motor.
A remaining capacity measuring means for measuring the remaining capacity of the battery;
A first comparison unit that compares a measurement result of the remaining capacity measurement unit with a first reference value each time a printing process for one page is performed;
When the first comparison unit determines that the remaining capacity of the battery is equal to or greater than the first reference value, the printing process is performed, and the remaining capacity of the battery is lower than the first reference value. And means for notifying the host device that printing is impossible, by stopping the printing operation when the first comparing means determines,
Second comparison means for comparing a measurement result by the remaining capacity measurement means with a second reference value that is larger than a minimum value capable of circuit operation and lower than the first reference value;
When the second comparison means determines that the remaining capacity of the battery is lower than the second reference value, power supply cutoff means for forcibly cutting off the power supply from the battery;
Provided,
Before forcibly cutting off the power supply from the battery, the data used for initial setting of the printing conditions at the time of restart is stored in a nonvolatile memory,
Before forcibly shutting off the power supply from the battery, notify the host device to shut off the power,
A portable printer characterized by performing initial setting of printing conditions with data stored in the non-volatile memory before performing a printing process.
バッテリを駆動源として動作し、ホスト装置から送信される印字データを受信して、サーマルヘッドおよびモータを用いての印刷媒体に対する印字動作を実行させる印字処理を行う携帯型プリンタにおいて、
前記バッテリの残容量を計測し、この計測結果を1ページ分の印字処理を行う毎に第1の基準値と比較して、印字可能と判断した場合は前記印字処理を行い、印字不可能と判断した場合は印字動作を停止して前記ホスト装置に印字不能であることを通知し、
動作待機時は、前記バッテリの残容量を計測し、この計測結果を、回路動作が可能な最小値よりも大きい値であって前記第1の基準値よりも低い第2の基準値と比較して、動作不可能と判断した場合は、前記バッテリからの給電を強制的に遮断し、
前記バッテリからの給電を強制的に遮断する前に、再起動時の印刷条件の初期設定に用いるデータを不揮発性メモリに保存し、
前記バッテリからの給電を強制的に遮断する前に、前記ホスト装置に電源を遮断することを通知し、
印字処理を行う前に、前記不揮発性メモリに保存されているデータで印刷条件の初期設定を行う、ことを特徴とする携帯型プリンタ。
In a portable printer that operates using a battery as a drive source, receives print data transmitted from a host device, and performs print processing for executing a print operation on a print medium using a thermal head and a motor.
The remaining capacity of the battery is measured, and the measurement result is compared with the first reference value every time printing processing for one page is performed. If it is determined, the printing operation is stopped and the host device is notified that printing is impossible,
During standby, the remaining capacity of the battery is measured, and the measurement result is compared with a second reference value that is greater than the minimum value at which circuit operation is possible and lower than the first reference value. If it is determined that the operation is impossible, the power supply from the battery is forcibly cut off,
Before forcibly cutting off the power supply from the battery, the data used for initial setting of the printing conditions at the time of restart is stored in a nonvolatile memory,
Before forcibly shutting off the power supply from the battery, notify the host device to shut off the power,
A portable printer characterized by performing initial setting of printing conditions with data stored in the non-volatile memory before performing a printing process.
JP2011133630A 2011-06-15 2011-06-15 Portable printer Pending JP2011201315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011133630A JP2011201315A (en) 2011-06-15 2011-06-15 Portable printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011133630A JP2011201315A (en) 2011-06-15 2011-06-15 Portable printer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009297255A Division JP5037600B2 (en) 2009-12-28 2009-12-28 Portable printer

Publications (1)

Publication Number Publication Date
JP2011201315A true JP2011201315A (en) 2011-10-13

Family

ID=44878493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011133630A Pending JP2011201315A (en) 2011-06-15 2011-06-15 Portable printer

Country Status (1)

Country Link
JP (1) JP2011201315A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01189764A (en) * 1988-01-25 1989-07-28 Brother Ind Ltd Word processor
JPH09252395A (en) * 1996-03-14 1997-09-22 Mitsubishi Electric Corp Facsimile unit, print control method and facsimile equipment
JPH09263011A (en) * 1996-03-29 1997-10-07 Tec Corp Portable printer
JPH11194846A (en) * 1997-10-30 1999-07-21 Toshiba Corp Computer system and its system state control method
JPH11232183A (en) * 1998-02-11 1999-08-27 Nec Data Terminal Ltd Printer control information managing device and recording medium for recording control information management program
JPH11268386A (en) * 1998-03-19 1999-10-05 Toshiba Tec Corp Label printer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01189764A (en) * 1988-01-25 1989-07-28 Brother Ind Ltd Word processor
JPH09252395A (en) * 1996-03-14 1997-09-22 Mitsubishi Electric Corp Facsimile unit, print control method and facsimile equipment
JPH09263011A (en) * 1996-03-29 1997-10-07 Tec Corp Portable printer
JPH11194846A (en) * 1997-10-30 1999-07-21 Toshiba Corp Computer system and its system state control method
JPH11232183A (en) * 1998-02-11 1999-08-27 Nec Data Terminal Ltd Printer control information managing device and recording medium for recording control information management program
JPH11268386A (en) * 1998-03-19 1999-10-05 Toshiba Tec Corp Label printer

Similar Documents

Publication Publication Date Title
US9467084B2 (en) Motor-driven appliance system and method for controlling the system
JP4003727B2 (en) Portable printer with communication means
JP6044380B2 (en) Power supply system and image forming apparatus equipped with the power supply system
JP6799754B2 (en) Battery control devices, electronic devices, battery packs and battery control methods
KR101298185B1 (en) Socket apparatus for cutting off standby power of electronincs products
JP2003216286A (en) Peripheral device for controlling power in portable electronic device
JP2009172891A (en) Power consumption device and communication unit
US7412622B2 (en) Detection of abnormality subsequent to power activation trigger or power stop command
JP5179454B2 (en) Computer and power supply
JP5037600B2 (en) Portable printer
US8976405B2 (en) Printing apparatus and control method therefor
JP2003103871A (en) Power supply switching control method for printer and power supply for printer
JP2011201315A (en) Portable printer
JP2001310530A (en) Portable printer
JP4731995B2 (en) Electronic device apparatus and processing method thereof
JPH09237137A (en) Computer system and method for controlling power source controller to be applied in the same
KR100677068B1 (en) Apparatus and method for controlling power of portable information terminal
JP4759869B2 (en) Printing apparatus, voltage management apparatus, and voltage management method
JP2006205589A (en) Power-saving equipment and image forming apparatus equipped with it
JP2001238004A (en) Facsimile machine
KR100666434B1 (en) Method for reducing of battery power consumption in portable device
JP5759774B2 (en) Electronic apparatus and image forming apparatus
WO2024093303A1 (en) Electric tool and discharging system
JP4345336B2 (en) Electronic equipment and printer
US20230102154A1 (en) Printer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110920

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20111121

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120104