JP2001047656A - Thermal printer apparatus and its program recording medium - Google Patents

Thermal printer apparatus and its program recording medium

Info

Publication number
JP2001047656A
JP2001047656A JP11224230A JP22423099A JP2001047656A JP 2001047656 A JP2001047656 A JP 2001047656A JP 11224230 A JP11224230 A JP 11224230A JP 22423099 A JP22423099 A JP 22423099A JP 2001047656 A JP2001047656 A JP 2001047656A
Authority
JP
Japan
Prior art keywords
dots
printer
printing
voltage
supply voltage
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
JP11224230A
Other languages
Japanese (ja)
Inventor
Nobuaki Sato
宣明 佐藤
Keiichi Tanioka
恵一 谷岡
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 JP11224230A priority Critical patent/JP2001047656A/en
Publication of JP2001047656A publication Critical patent/JP2001047656A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize high-peed printing according to an optimum maximum simultaneous drive dot number under the present state for individual products without being affected by an unevenness on products and a power source state by determining the maximum simultaneous drive dot number of a line thermal head during printing. SOLUTION: A CPU 1 calls up an 'initial value' of the number of dots to be driven simultaneously, prints dots of an amount corresponding to the number, and judges whether or not a printer supply voltage detected by a source voltage detect part 9 during printing reduces to a printer security voltage. Unless the printer supply voltage reduces to the printer security voltage, the simultaneous drive dot number is increased and updated, and printing dots of an amount based on the updated number are repeated. When the printer supply voltage reduces to the printer security voltage, the simultaneous drive dot number at the time is set as a maximum simultaneous drive dot number, and dots of an amount based on the set maximum number are printed.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、ラインサーマル
ヘッドを構成する発熱素子を同時に駆動可能な最大同時
駆動ドット数でサーマルヘッドを時分割駆動することに
より印字動作を行うサーマルプリンタ装置およびそのプ
ログラム記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a thermal printer apparatus for performing a printing operation by time-divisionally driving a thermal head with the maximum number of simultaneously driven dots capable of simultaneously driving heating elements constituting a line thermal head, and a program recording thereof. Regarding the medium.

【0002】[0002]

【従来の技術】従来、ワードプロセッサやPDA(パー
ソナル・デジタル・アシスタント)等に搭載されている
ラインサーマルプリンタ装置は、1ライン256ドット
のように、1ライン中複数の発熱素子を有する構成で、
印字時に1ライン中の全ての発熱素子を駆動させると、
消費電力が著しく増大するため、発熱素子を同時に駆動
可能な最大同時駆動ドット数を、例えば64ドットとして
設定し、この最大同時駆動ドット数「64ドット」にした
がってサーマルヘッドを4分割駆動するようにしてい
る。この場合、設定した同時駆動ドット数が多くなれば
なるほど、高速印字が可能となる。図6はこの種のライ
ンサーマルプリンタ装置における印字中の等価回路を示
している。ここで、図中、「Va」は電源電圧、「R
a」は電源内部インピーダンス、「Ia」はプリンタ供
給電流、「Vb」は電源出力端子電圧(プリンタ供給電
圧)、「Rb」はヘッド以外の回路抵抗(配線抵抗、電
源端子接触抵抗、電源制御スイッチオン抵抗など)、
「Rph」はプリンタヘッド抵抗、「N」は最大同時発
色ドット数を示している。この場合、電源電圧「V
a」、電源内部インピーダンス「Ra」、プリンタヘッ
ド抵抗「Rph」、ヘッド以外の回路抵抗「Rb」の値
はそれぞれ一定とする。また、電源出力端子電圧「V
b」はプリンタヘッド駆動電源およびシステム供給電源
となるが、プリンタヘッドに流れる電流が増加すると、
電源内部インピーダンス「Ra」により電圧降下が生
じ、電源出力端子電圧「Vb」は低下する。このことを
式で表すと、以下のようになる。 Vb=Va*(RB+Rph/N)/(Ra+Rb+Rph/N)‥‥ また、システム的にプリンタを動作することが可能な電
源出力端子電圧「Vb」の最小の電源電圧、つまり、プ
リンタの動作保障電圧を「VLBP」とすると、このプ
リンタの動作保障電圧「VLBP」は、次の式を満たす
必要がある。 VLBP<Vb‥‥
2. Description of the Related Art Conventionally, a line thermal printer device mounted on a word processor, a PDA (Personal Digital Assistant), or the like has a configuration having a plurality of heating elements in one line, such as 256 dots per line.
When all the heating elements in one line are driven during printing,
Since the power consumption is significantly increased, the maximum number of simultaneously driven dots that can simultaneously drive the heating elements is set as, for example, 64 dots, and the thermal head is driven in four divisions according to this maximum simultaneously driven dot number of “64 dots”. ing. In this case, as the set number of simultaneously driven dots increases, high-speed printing becomes possible. FIG. 6 shows an equivalent circuit during printing in this type of line thermal printer. Here, in the figure, “Va” is the power supply voltage, “R”
“a” is the power supply internal impedance, “Ia” is the printer supply current, “Vb” is the power supply output terminal voltage (printer supply voltage), and “Rb” is the circuit resistance other than the head (wiring resistance, power supply terminal contact resistance, power supply control switch) ON resistance),
“Rph” indicates the printer head resistance, and “N” indicates the maximum number of simultaneous color dots. In this case, the power supply voltage “V
"a", the power supply internal impedance "Ra", the printer head resistance "Rph", and the circuit resistance other than the head "Rb" are all constant. In addition, the power supply output terminal voltage “V
"b" is the power supply for driving the printer head and the power supply for the system.
A voltage drop occurs due to the power supply internal impedance “Ra”, and the power supply output terminal voltage “Vb” decreases. This can be expressed by the following equation. Vb = Va * (RB + Rph / N) / (Ra + Rb + Rph / N)} Further, the minimum power supply voltage of the power supply output terminal voltage "Vb" capable of operating the printer systematically, that is, the operation guarantee voltage of the printer Is "VLBP", the operation guarantee voltage "VLBP" of this printer needs to satisfy the following equation. VLBP <Vb ‥‥

【0003】ところで、電源内部インピーダンス「R
a」、プリンタヘッド抵抗「Rph」、ヘッド以外の回
路抵抗「Rb」の値は、製造時の「ばらつき」や電池特
性、つまり、二次電池に対して充放電を繰り返すことに
よる内部インピーダンスの変化によって電源出力端子電
圧「Vb」は、図7に示す斜線の範囲内において変化す
る。ここで、「ΔVb」は製造ばらつき等の影響を受け
ることによって、印字中において電源出力端子電圧「V
b」が変化する変化量を示し、その最大値「Vbma
x」とその最小値「Vbmin」との間で電源出力端子
電圧「Vb」は変化する。このように製造ばらつき等の
影響によって、印字中において電源出力端子電圧「V
b」は変化するが、プリンタを動作可能とするためには
VLBP≦Vbとなる必要があり、また、プリンタを効
率よく動作させるためには、VLBP=Vpとなる設定
が好ましいため同時駆動ドット数は、電源出力端子電圧
「Vb」の最小値「Vbmin」を満足するように設定
されている。
By the way, the power source internal impedance "R
a ", the printer head resistance" Rph ", and the circuit resistance other than the head" Rb "are values of" variation "and battery characteristics during manufacturing, that is, changes in internal impedance due to repeated charging and discharging of the secondary battery. As a result, the power supply output terminal voltage “Vb” changes within the range of the oblique line shown in FIG. Here, “ΔVb” is affected by manufacturing variations and the like, so that the power supply output terminal voltage “V
b ”indicates the amount of change, and its maximum value“ Vbma ”
The power supply output terminal voltage “Vb” changes between “x” and its minimum value “Vbmin”. As described above, the power supply output terminal voltage “V
b ”changes, but VLBP ≦ Vb must be satisfied in order to enable the printer to operate, and the setting of VLBP = Vp is preferable in order to operate the printer efficiently. Are set to satisfy the minimum value “Vbmin” of the power supply output terminal voltage “Vb”.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
ように従来においては、製造ばらつき等の影響を考慮し
て同時駆動ドット数の設定を電源出力端子電圧「Vb」
の最悪値(その最小値「Vbmin」)に固定するよう
にしているため、最悪の組み合わせ以外の製品に対して
も同様の設定となり、本来その製品が持っている電源出
力端子電圧「Vb」に応じた最大同時駆動ドット数で印
刷することができなくなり、更なる高速印刷が可能であ
るにもかかわらず、一般的な速度での印刷に甘んずるし
かなかつた。この発明の課題は、ラインサーマルヘッド
を構成する発熱素子を同時に駆動可能な最大同時駆動ド
ット数を印字動作中に決定することで、製品上のばらつ
きや電源状態に影響されず、製品個々の現状に最適な最
大同時駆動ドット数にしたがった高速印字を実現できる
ようにすることである。
However, as described above, in the related art, the setting of the number of simultaneously driven dots is made in consideration of the influence of manufacturing variations and the like by changing the power supply output terminal voltage "Vb".
Is fixed to the worst value (the minimum value “Vbmin”), the same setting is applied to products other than the worst combination, and the power output terminal voltage “Vb” originally possessed by the product is Printing cannot be performed with the corresponding maximum number of simultaneously driven dots, and even though higher-speed printing is possible, there is no choice but to print at a general speed. An object of the present invention is to determine the maximum number of simultaneously driven dots that can simultaneously drive the heating elements constituting a line thermal head during a printing operation, so that it is not affected by variations in a product or a power supply state. It is to realize high-speed printing according to the maximum number of simultaneously driven dots that is optimal for printing.

【0005】この発明の手段は、次の通りである。請求
項第1記載の発明は、サーマルヘッドを構成する各ドッ
トのうち、複数ドットを同時に駆動可能な同時駆動ドッ
ト数に基づいてサーマルヘッドを時分割駆動するサーマ
ルプリンタ装置において、予め初期値として設定されて
いる同時駆動ドット数を呼び出してその同時駆動ドット
数に相当するドット数分の印字データを同時に印字出力
させる第1の印字制御手段と、印字中において電源側か
らのプリンタ供給電圧を検出する電圧検出手段と、この
電圧検出手段によって検出されたプリンタ供給電圧が所
定電圧まで低下したかを判別する判別手段と、この判別
手段によってプリンタ供給電圧が所定電圧まで低下した
ことが判別されるまで、前記同時駆動ドット数を増加す
ることによってその値を更新する更新処理および更新さ
れた同時駆動ドット数に基づいてそのドット数分の印字
データを同時に印字出力させる印字制御処理を繰り返し
実行させる第2の印字制御手段と、前記判別手段によっ
てプリンタ供給電圧が所定電圧まで低下したことが判別
された際に、その時の前記同時駆動ドット数を最大同時
駆動ドット数として設定し、設定した最大同時駆動ドッ
ト数に基づいてそのドット数分の印字データを同時に印
字出力させる第3の印字制御手段とを具備するものであ
る。なお、この発明は次のようなものであってもよい。 (1)電池を電源とする場合に、電池交換/電池充電が
行われた後において、最初の印字が開始された際に、そ
の印字中に電源電池側からのプリンタ供給電圧を検出
し、プリンタ供給電圧が所定電圧まで低下したことが判
別されるまで前記同時駆動ドット数を増加することによ
ってその値を更新する更新処理および更新された同時駆
動ドット数に基づいてそのドット数分の印字データを同
時に印字出力させる印字制御処理を繰り返し実行させ、
プリンタ供給電圧が所定電圧まで低下したことが判別さ
れた際に、その時の前記同時駆動ドット数を最大同時駆
動ドット数として設定する。 (2)電池を電源とする場合に、前記最大同時駆動ドッ
ト数が設定されてからの経過時間を計測する計時手段
と、この計時手段によって得られた計時時間が所定時間
を超えたか否かを判別する判別手段と、この判別手段に
よって計時時間が所定時間を超えていないことが判別さ
れた場合には、既に設定されている前記最大同時駆動ド
ット数をそのままとし、前記計時時間が所定時間を超え
ていることが判別された場合には、前記最大同時駆動ド
ット数を変更するためにその再設定処理を開始させる制
御手段を設ける。
[0005] The means of the present invention are as follows. According to a first aspect of the present invention, in a thermal printer apparatus that drives a thermal head in a time-division manner based on the number of simultaneously driven dots capable of simultaneously driving a plurality of dots among the dots constituting the thermal head, the thermal printer is set as an initial value in advance. First print control means for retrieving the number of simultaneously driven dots and simultaneously printing and outputting print data for the number of dots corresponding to the number of simultaneously driven dots, and detecting a printer supply voltage from a power supply during printing. Voltage detecting means, determining means for determining whether the printer supply voltage detected by the voltage detecting means has dropped to a predetermined voltage, and until the determining means determines that the printer supply voltage has dropped to the predetermined voltage, Update processing for updating the value by increasing the number of simultaneous drive dots and updated simultaneous drive A second print control unit for repeatedly executing a print control process for simultaneously printing out print data for the number of dots based on the number of dots, and the determination unit determines that the printer supply voltage has dropped to a predetermined voltage. A third print control unit that sets the number of simultaneously driven dots at that time as a maximum number of simultaneously driven dots, and prints out print data for the number of dots simultaneously based on the set maximum number of simultaneously driven dots. It is provided with. The present invention may be as follows. (1) When the battery is used as a power source, when the first printing is started after the battery replacement / battery charging is performed, the printer supply voltage from the power supply battery side is detected during the printing, and An update process of updating the value by increasing the number of simultaneously driven dots until it is determined that the supply voltage has dropped to the predetermined voltage, and print data for the number of dots based on the updated number of simultaneously driven dots is updated. At the same time, the print control process for printing out is repeatedly executed,
When it is determined that the printer supply voltage has dropped to a predetermined voltage, the number of simultaneously driven dots at that time is set as the maximum number of simultaneously driven dots. (2) When a battery is used as a power supply, a timer means for measuring an elapsed time since the maximum simultaneous drive dot number is set, and whether or not the time measured by the timer means has exceeded a predetermined time. A determining means for determining, and when it is determined by the determining means that the counted time does not exceed a predetermined time, the previously set maximum number of simultaneously driven dots is left as it is, and the counted time is reduced to a predetermined time. If it is determined that the number is exceeded, a control means for starting the resetting process for changing the maximum number of simultaneously driven dots is provided.

【0006】請求項1記載の発明においては、予め初期
値として設定されている同時駆動ドット数を呼び出して
その同時駆動ドット数に相当するドット数分の印字デー
タを同時に印字出力させると共に、印字中において電源
側からのプリンタ供給電圧を検出し、検出されたプリン
タ供給電圧が所定電圧まで低下したかを判別し、その結
果、プリンタ供給電圧が所定電圧まで低下したことが判
別されるまで、前記同時駆動ドット数を増加することに
よってその値を更新する更新処理および更新された同時
駆動ドット数に基づいてそのドット数分の印字データを
同時に印字出力させる印字制御処理を繰り返し実行させ
るが、プリンタ供給電圧が所定電圧まで低下したことが
判別された際には、その時の前記同時駆動ドット数を最
大同時駆動ドット数として設定し、設定した最大同時駆
動ドット数に基づいてそのドット数分の印字データを同
時に印字出力させる。したがって、ラインサーマルヘッ
ドを構成する発熱素子を同時に駆動可能な最大同時駆動
ドット数を印字動作中に決定することで、製品上のばら
つきや電源状態に影響されず、製品個々の現状に最適な
最大同時駆動ドット数にしたがった高速印字を実現する
ことができる。
According to the first aspect of the present invention, the number of simultaneously driven dots set in advance as an initial value is called, and print data for the number of dots corresponding to the number of simultaneously driven dots is simultaneously printed and output. The printer supply voltage from the power supply side is detected at step, and it is determined whether the detected printer supply voltage has dropped to the predetermined voltage. As a result, the simultaneous operation is continued until it is determined that the printer supply voltage has dropped to the predetermined voltage. An update process for updating the value by increasing the number of drive dots and a print control process for simultaneously printing out print data for the number of dots based on the updated number of simultaneous drive dots are repeatedly executed. When it is determined that the voltage has dropped to the predetermined voltage, the number of simultaneous driving dots at that time is set to the maximum Set as, simultaneously printed out the dot number of the printing data based on the maximum number of simultaneously driven dots set. Therefore, by determining the maximum number of simultaneously driven dots that can simultaneously drive the heating elements constituting the line thermal head during the printing operation, the maximum number of dots that are optimal for the current state of each product is not affected by product variations and power supply conditions. High-speed printing according to the number of simultaneously driven dots can be realized.

【0007】[0007]

【発明の実施の形態】以下、図1〜図4を参照してこの
発明の一実施形態を説明する。図1(A)は、ラインサ
ーマルプリンタを備えたデータ処理装置の全体構成を示
したブロック図である。このデータ処理装置は電池を電
源として駆動される小型電子機器(例えば、携帯型情報
端末)である。また、ラインサーマルプリンタは、例え
ば、1ライン256ドットの発熱素子を有する構成で、
発熱素子を同時に駆動可能な最大同時駆動ドット数は、
予め固定的に設定されているものではなく、印字中にお
いて製品上のばらつきや電源状態に応じてそれに最適な
最大同時駆動ドット数を決定し、以下、この最大同時駆
動ドット数にしたがってサーマルヘッドを時分割駆動す
るようにしている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1A is a block diagram showing an overall configuration of a data processing device provided with a line thermal printer. The data processing device is a small electronic device (for example, a portable information terminal) driven by a battery. The line thermal printer has, for example, a configuration having a heating element of 256 dots per line.
The maximum number of simultaneously driven dots that can drive the heating elements simultaneously is
It is not fixedly set in advance, and the optimal maximum number of simultaneous drive dots is determined during printing according to product variations and power supply conditions. Time-division driving is performed.

【0008】CPU1は、記憶装置2内のオペレーティ
ングシステムや各種アプリケーションソフトにしたがっ
てこのデータ処理装置の全体動作を制御する中央演算処
理装置である。記憶装置2は、オペレーティングシステ
ムや各種アプリケーションソフトの他、データベース、
文字フォント等が格納されている記憶媒体やその駆動系
を有している。記憶媒体3は固定的に設けたもの、もし
くは着脱自在に装着可能なものであり、ハードディス
ク、フロッピィデスク、光ディスク、RAMカードなど
の磁気的・光学的記録媒体、半導体メモリによって構成
されている。また、記録媒体3内のプログラムやデータ
は必要に応じてCPU1の制御によりRAM(スタティ
クRAMなど)4にロードされる。更にCPU1は通信
回線等を介して他の機器側から送信されてきたプログラ
ムやデータを受信して記録媒体3に格納したり、他の機
器側に設けられている記録媒体に格納されているプログ
ラムやデータをアクセスし、通信回線等を介して使用す
ることもできる。また、CPU1に入出力周辺デバイス
である入力装置5、表示装置6、サーマルプリンタ7、
電池電源部8を監視する電源電圧検出部9がバスライン
を介して接続されており、入出力プログラムにしたがっ
てCPU1はそれらの動作を制御する。入力装置5はキ
ーボードやポインティングデバイスを有し、文字列デー
タや各種コマンドを入力する。なお、表示装置6は、液
晶やCRTあるいはプラズマ表示装置などである。
[0008] The CPU 1 is a central processing unit that controls the overall operation of the data processing device according to an operating system and various application software in the storage device 2. The storage device 2 includes, in addition to an operating system and various application software, a database,
It has a storage medium in which character fonts and the like are stored and its drive system. The storage medium 3 is fixedly provided or removably mountable, and is composed of a magnetic / optical recording medium such as a hard disk, a floppy disk, an optical disk, and a RAM card, and a semiconductor memory. The programs and data in the recording medium 3 are loaded into a RAM (static RAM, etc.) 4 under the control of the CPU 1 as needed. Further, the CPU 1 receives a program or data transmitted from another device through a communication line or the like and stores the program or data in the recording medium 3 or a program stored in a recording medium provided in another device. And data can be accessed and used via a communication line or the like. In addition, the CPU 1 has an input / output peripheral device such as an input device 5, a display device 6, a thermal printer 7,
A power supply voltage detection unit 9 for monitoring the battery power supply unit 8 is connected via a bus line, and the CPU 1 controls those operations according to an input / output program. The input device 5 has a keyboard and a pointing device, and inputs character string data and various commands. The display device 6 is a liquid crystal, a CRT, a plasma display device, or the like.

【0009】サーマルプリンタ7は印字パターンを1ラ
インずつ印字するラインプリンタで、その構成は図示し
ないが、1ライン256ドットの発熱素子を有するサー
マルヘッドと、このサーマルヘッドを構成する発熱素子
を通電制御するヘッドドライバと、このヘッドドライバ
にタイミング信号を与えるタイミング制御部等を有する
構成となっている。このタイミング制御部はヘッドドラ
イバを制御し、発熱素子を同時に駆動可能な最大同時駆
動ドット数にしたがってサーマルヘッドを時分割駆動さ
せる。電源電池部8は二次電池であり、電源電圧検出部
9はサーマルプリンタ7に供給されるプリンタ供給電圧
を常時監視してその電圧値を検出する。ここで、電池交
換や電池充電が行われた後において、最初の印字が開始
された際に、CPU1はその印字中において、電源電池
部8からサーマルプリンタ7に供給されるプリンタ供給
電圧が所定電圧(プリンタの動作保障電圧)まで低下し
た場合に、最大同時駆動ドット数の設定を行うようにし
ている。なお、サーマルプリンタ装置におけるプリンタ
印字時の等価回路は、上述した図6と同様であるためそ
の説明は省略するものとする。
The thermal printer 7 is a line printer for printing a print pattern line by line. Although not shown, a thermal head having a heating element of 256 dots per line and an energizing control of the heating element constituting the thermal head are provided. And a timing control unit that supplies a timing signal to the head driver. This timing control unit controls the head driver to time-divisionally drive the thermal head according to the maximum number of simultaneously driven dots that can simultaneously drive the heating elements. The power supply battery unit 8 is a secondary battery, and the power supply voltage detection unit 9 constantly monitors the printer supply voltage supplied to the thermal printer 7 and detects the voltage value. Here, when the first printing is started after the battery is exchanged or the battery is charged, the CPU 1 sets the printer supply voltage supplied from the power supply battery unit 8 to the thermal printer 7 to a predetermined voltage during the printing. When the voltage drops to (the operation guarantee voltage of the printer), the maximum number of simultaneously driven dots is set. Note that the equivalent circuit at the time of printer printing in the thermal printer device is the same as that in FIG. 6 described above, and a description thereof will be omitted.

【0010】図1(B)はRAM4のワークエリアを示
し、このワークエリア内には各種のパラメータがセット
される。ここで、各種のワークエリアはカウンタ、レジ
スタ、タイマとして作用すもので、エリア「X」はその
値がプラス「1」ずつ更新される加算カウンタである。
エリア「n」は予め同時駆動ドット数の初期値がセット
されている初期値レジスタであり、例えば、このレジス
タには同時駆動ドット数の初期値として「16ドット」
がセツトされている。エリア「F」は電池交換や電池充
電が行われた際にフラグ「0」がセットされるフラグレ
ジスタであり、最大同時駆動ドット数が設定された際
に、そのレジスタにはフラグ「1」がセットされる。エ
リア「N」は加算カウンタ「X」と初期値レジスタ
「n」の値を乗算することによって更新された同時駆動
ドット数がセツトされる更新値レジスタである。エリア
「Vb」は電源電圧検出部9によって検出されたプリン
タ供給電圧がセットされる検出電圧レジスタである。エ
リア「VLBP」はプリンタの動作保障電圧が予め設定
されている設定電圧レジスタである。エリア「t」は最
大同時駆動ドット数が設定されてから次の印字が開始さ
れるまでの経過時間を計時するタイマである。エリア
「T1」はこのタイマで計時された経過時間が一定時間
を超えたかを判定するために予め設定されている設定時
間がセットされている経過時間判定レジスタである。
FIG. 1B shows a work area of the RAM 4, in which various parameters are set. Here, the various work areas function as counters, registers, and timers, and the area "X" is an addition counter whose value is updated by "1".
The area “n” is an initial value register in which an initial value of the number of simultaneously driven dots is set in advance. For example, this register stores “16 dots” as the initial value of the number of simultaneously driven dots.
Is set. The area "F" is a flag register in which a flag "0" is set when the battery is replaced or the battery is charged. When the maximum number of simultaneous driving dots is set, the flag "1" is stored in the register. Set. The area "N" is an updated value register in which the number of simultaneously driven dots updated by multiplying the value of the addition counter "X" by the value of the initial value register "n" is set. The area "Vb" is a detection voltage register in which the printer supply voltage detected by the power supply voltage detector 9 is set. The area "VLBP" is a set voltage register in which the operation guarantee voltage of the printer is set in advance. The area "t" is a timer for measuring the elapsed time from when the maximum number of simultaneously driven dots is set to when the next printing is started. The area "T1" is an elapsed time determination register in which a set time set in advance to determine whether the elapsed time measured by the timer has exceeded a predetermined time is set.

【0011】次に、この一実施形態における印字動作を
図2に示すフローチャートを参照して説明する。ここ
で、このフローチャートに記述されている各機能を実現
するためのプログラムは、読み取り可能なプログラムコ
ードの形態で記憶媒体3に格納されており、CPU1は
このプログラムコードにしたがった動作を逐次実行す
る。
Next, a printing operation according to the embodiment will be described with reference to a flowchart shown in FIG. Here, a program for realizing each function described in this flowchart is stored in the storage medium 3 in the form of a readable program code, and the CPU 1 sequentially executes operations according to the program code. .

【0012】図2は印字開始が指示された場合に実行開
始される印字動作を示したフローチャートである。先
ず、フラグレジスタ「F」を参照してそれが「1」かを
調べる(ステップA1)。ここで、電池交換や電池充電
が行われた後において、最初の印字開始が指示された場
合には、フラグレジスタ「F」には「0」がセツトされ
ているので、ステップA2に進み、加算カウンタ「X」
に初期値「0」をセツトした後、その値に「1」を加算
する(ステップA3)。そして、この加算カウンタ
「X」の値と初期値レジスタ「n」内にセツトされてい
る同時駆動ドット数を乗算し、その値を更新値レジスタ
「N」にセツトすることによって同時駆動ドット数の更
新を行うが(ステップA4)、最初、加算カウンタ
「X」の値は「1」であるから、更新後の同時駆動ドッ
ト数N=n1、つまり、初期値(16ドット)のままと
なっている。そして、更新値レジスタ「N」内の更新後
の初期値レジスタ「n」に相当するドット数分の印字デ
ータを同時に印字させる印字動作を行う(ステップA
5)。この印字中において、電源電圧検出部9がプリン
タ供給電圧を検出すると、このプリンタ供給電圧は検出
電圧レジスタ「Vb」にセットされる(ステップA
6)。
FIG. 2 is a flowchart showing a printing operation started when printing start is instructed. First, it is checked whether or not it is "1" by referring to the flag register "F" (step A1). Here, if the start of the first printing is instructed after the battery replacement or the battery charging is performed, the flag register "F" is set to "0". Counter "X"
After setting the initial value "0" to "1", "1" is added to the value (step A3). Then, the value of the addition counter "X" is multiplied by the number of simultaneous drive dots set in the initial value register "n", and the value is set in the update value register "N". Although the update is performed (step A4), since the value of the addition counter “X” is “1”, the number of simultaneously driven dots N = n1 after the update, that is, the initial value (16 dots) remains. I have. Then, a printing operation for simultaneously printing the print data of the number of dots corresponding to the updated initial value register "n" in the update value register "N" is performed (step A).
5). During this printing, when the power supply voltage detector 9 detects the printer supply voltage, the printer supply voltage is set in the detection voltage register “Vb” (step A).
6).

【0013】すると、CPU1は検出電圧レジスタ「V
b」内のプリンタ供給電圧と設定電圧レジスタ「VLB
P」内のプリンタ動作保障電圧とを比較し、Vb>VL
BPかを調べる(ステップA7)。この結果、プリンタ
供給電圧がプリンタ動作保障電圧よりも高ければ、ステ
ップA3に戻り、加算カウンタ「X」の値を更新する。
この場合、X=2となり、更新値レジスタ「N」内の同
時駆動ドット数は、それに応じて更新されるため、同時
駆動ドット数N=n2(32ドット)となる(ステップ
A4)。そして、この更新された同時駆動ドット数に相
当するドット数分の印字データを同時に印字出力させる
印字動作を行うと(ステップA5)、前回の検出時より
もプリンタ供給電圧は低下する。このため、再びプリン
タ供給電圧とプリンタ動作保障電圧とを比較し(ステッ
プA7)、Vb>VLBPが不成立となるまで、つま
り、同時駆動ドット数の更新に伴ってプリンタ供給電圧
が低下してゆき、プリンタ動作保障電圧に達するまで上
述の動作を繰り返す。
Then, the CPU 1 sets the detection voltage register “V
b "and the setting voltage register" VLB "
P ”and the printer operation assurance voltage in V, Vb> VL
It is checked whether it is a BP (step A7). As a result, if the printer supply voltage is higher than the printer operation guarantee voltage, the process returns to step A3, and the value of the addition counter “X” is updated.
In this case, X = 2, and the number of simultaneously driven dots in the update value register “N” is updated accordingly, so that the number of simultaneously driven dots N = n2 (32 dots) (step A4). Then, when a printing operation for simultaneously printing and outputting print data for the number of dots corresponding to the updated number of simultaneously driven dots is performed (step A5), the printer supply voltage is lower than that at the time of the previous detection. For this reason, the printer supply voltage and the printer operation guarantee voltage are compared again (step A7), and the printer supply voltage decreases until Vb> VLBP becomes unsatisfied, that is, with the update of the number of simultaneously driven dots. The above operation is repeated until the voltage reaches the printer operation guarantee voltage.

【0014】ここで、図3は同時駆動ドット数の更新に
伴ってプリンタ供給電圧が低下してゆく場合の電圧変化
を示した図で、加算カウンタ「X」の値が「3」の時、
つまり、更新後の同時駆動ドット数N=n3の時にVb
>VLBPの不成立が検出された場合を示している。な
お、印字停止中は負荷がかかっていないために、プリン
タ供給電圧Vb=電源電圧Vaとなっているが、印字を
開始すると、同時駆動ドット数N=n1の時、プリンタ
ヘッド抵抗「Rph」(合成抵抗値)は、Rph/n1
となり、プリンタ供給電圧Vbは上述した式によって
電源電圧Va対して電圧降下が発生し、図示の如く「V
b1」となるが、このプリンタ供給電圧Vb1はVb1
>VLBPであるため、ステップA7でそのことが検出
されてステップA3に戻る。これによって同時駆動ドッ
ト数N=n2となり(n1<n2)、この同時駆動ドッ
ト数で印字が行われるが、この時のプリンタ供給電圧は
「Vb2」となる。この電圧もVb2>VLBPである
ため、上述と同様にステップA3に戻る。
FIG. 3 is a diagram showing a voltage change when the printer supply voltage is reduced in accordance with the update of the number of simultaneously driven dots. When the value of the addition counter "X" is "3", FIG.
That is, when the number of simultaneously driven dots N = n3 after the update, Vb
> VLBP is detected. Note that the printer supply voltage Vb is equal to the power supply voltage Va during printing stop because no load is applied. However, when printing is started, when the number of simultaneously driven dots N = n1, the printer head resistance "Rph" ( Rph / n1)
As a result, a voltage drop occurs in the printer supply voltage Vb with respect to the power supply voltage Va according to the above equation.
b1 ”, but the printer supply voltage Vb1 is Vb1
Since> VLBP, this is detected in step A7, and the process returns to step A3. As a result, the number of simultaneously driven dots N = n2 (n1 <n2), and printing is performed with this number of simultaneously driven dots, but the printer supply voltage at this time is "Vb2". Since this voltage also satisfies Vb2> VLBP, the process returns to step A3 as described above.

【0015】この結果、同時駆動ドット数N=n3とな
り(n2<n3)、この同時駆動ドット数で印字が行わ
れる(ステップA5)。この時のプリンタ供給電圧は
「Vb3」となるが、この電圧Vb3は図示の如くVb
3=VLBPであるため、ステップA7でそのことが検
出される。すると、ステップA8に進み、その時の同時
駆動ドット数を最大同時駆動ドット数として決定し、そ
の設定を行うと共に、フラグレジスタ「F」に「1」を
セットしておく(ステップA9)。そして、設定された
最大同時駆動ドット数に相当するドット数分の印字デー
タを同時に印字出力させる印字動作を行う(ステップA
10)。その後、タイマ「t」をクリアスタートさせ、
その計時動作を開始させる(ステップA11)。
As a result, the number of simultaneously driven dots N = n3 (n2 <n3), and printing is performed with this number of simultaneously driven dots (step A5). The printer supply voltage at this time is “Vb3”, and this voltage Vb3 is
Since 3 = VLBP, this is detected in step A7. Then, the process proceeds to step A8, where the number of simultaneously driven dots at that time is determined as the maximum number of simultaneously driven dots, the setting is performed, and "1" is set in the flag register "F" (step A9). Then, a printing operation for simultaneously printing and outputting print data for the number of dots corresponding to the set maximum number of simultaneously driven dots is performed (step A).
10). After that, the timer “t” is cleared and started,
The timer operation is started (step A11).

【0016】このようにして、最大同時駆動ドット数の
設定が行われた後において、次の印字開始が指定された
場合には、再び図2のフローチャートが実行開始される
が、この場合、フラグレジスタ「F」には「1」がセッ
トされているので、ステップA1でそのことが検出され
てステップA12に進み、設定されている最大同時駆動
ドット数を呼び出す。そして、タイマ「t」の計時動作
で得られた経過時間を呼び出し(ステップA13)、時
間判定レジスタ「T1」内の設定時間と比較し、t<T
1かを調べる(ステップA14)。すなわち、この実施
形態においては電池を電源としているため、重負荷であ
るプリンタ印字、電池の自己消費などによって電源電圧
Vaは、時間の経過と共に低下して行くため、ステップ
A14では前回の印字終了から今回の印字開始までの経
過時間に応じて電源電圧Vaの変化状態を調べる。
After the setting of the maximum number of simultaneous drive dots is performed, if the next printing start is designated, the flow chart of FIG. 2 is started again. Since "1" is set in the register "F", the fact is detected in step A1 and the process proceeds to step A12 to call the set maximum simultaneous drive dot number. Then, the elapsed time obtained by the time counting operation of the timer “t” is called (step A13), compared with the set time in the time determination register “T1”, and t <T
It is checked whether it is 1 (step A14). That is, in this embodiment, since the battery is used as the power supply, the power supply voltage Va decreases with the passage of time due to the heavy load of printer printing, battery self-consumption, and the like. The change state of the power supply voltage Va is checked according to the elapsed time until the start of printing this time.

【0017】ここで、図4は電源電圧Vaの放電カーブ
を例示したもので、図中〜は印字の開始/終了タイ
ミングを示している。先ず、前回の印字終了タイミング
後、今回の印字開始タイミングとの時間差t12が
小さい場合には、印字終了タイミングの電源電圧Va
1と、印字開始タイミングの電源電圧Va2とは略同
様であり、それらの電圧差(ΔVa12)は無視できる
程度であるため、今回の印字時には前回印字時の最大同
時駆動ドット数をそのまま用いて印字を行ってもよい。
一方、前回の印字終了タイミング後、今回の印字開始
タイミングがの場合にはその時間差t13は大きく、
その経過時間に応じて電源電圧Vaはかなり変化してい
るものと考えられる。この場合、前回の印字終了タイミ
ングの電源電圧Va1と、今回の印字開始タイミング
の電源電圧Va3との電圧差(ΔVa13)は大き
く、今回の印字時において前回印字時の最大同時駆動ド
ット数をそのまま用いて印字すると、プリンタ供給電圧
がプリンタ動作保障電圧を大きく割り込み、システムダ
ウンを生じることがあるため、最大同時駆動ドット数の
再設定を行うようにしている。
FIG. 4 shows an example of a discharge curve of the power supply voltage Va. In FIG. First, after the previous printing end timing, if the time difference t12 from the current printing start timing is small, the power supply voltage Va at the printing end timing is set.
1 and the power supply voltage Va2 at the print start timing are substantially the same, and their voltage difference (ΔVa12) is negligible. Therefore, in this printing, printing is performed using the maximum number of simultaneously driven dots in the previous printing as it is. May be performed.
On the other hand, when the current print start timing is after the previous print end timing, the time difference t13 is large,
It is considered that the power supply voltage Va changes considerably according to the elapsed time. In this case, the voltage difference (ΔVa13) between the power supply voltage Va1 at the previous printing end timing and the power supply voltage Va3 at the current printing start timing is large, and the maximum simultaneous drive dot number at the previous printing is used as it is at the current printing. If printing is performed by the printer, the printer supply voltage greatly interrupts the printer operation guarantee voltage and the system may be down. Therefore, the maximum number of simultaneously driven dots is reset.

【0018】すなわち、ステップA14での比較判断の
結果、前回の印字終了から今回の印字開始までの経過時
間が設定時間を超えていない程度の時間差であれば、ス
テップA10に進み、今回の印字時には前回印字時の最
大同時駆動ドット数をそのまま用いて印字するが、前回
の印字終了から今回の印字開始までの間が設定時間を超
えるほどの時間を経過していれば、電源電圧Vaの大幅
な落ち込みが予想されるので、ステップA2に戻り、上
述の動作を繰り返すことによって最大同時駆動ドット数
を新たに求める処理を行い(ステップA3〜A7)、こ
れによって求められた最大同時駆動ドット数に基づいて
今回の印字を行う。
That is, as a result of the comparison judgment in step A14, if the elapsed time from the end of the previous printing to the start of the current printing does not exceed the set time, the process proceeds to step A10. Printing is performed using the maximum number of simultaneous drive dots during the previous printing as it is, but if the time from the end of the previous printing to the start of the current printing has exceeded the set time, the power supply voltage Va will be significantly increased. Since a drop is expected, the process returns to step A2, and the above operation is repeated to newly calculate the maximum simultaneous drive dot number (steps A3 to A7), and based on the maximum simultaneous drive dot number obtained thereby. To print this time.

【0019】以上のように、この一実施形態おいては、
同時駆動ドット数「初期値」を呼び出してその同時駆動
ドット数に相当するドット数分の印字を行うと共に、印
字中においてプリンタ供給電圧がプリンタ保障電圧まで
低下したかを判別し、その結果、プリンタ供給電圧がプ
リンタ保障電圧まで低下するまで、同時駆動ドット数を
増加させてその値の更新および更新された同時駆動ドッ
ト数に基づいてそのドット数分の印字を繰り返し実行さ
せるが、プリンタ供給電圧がプリンタ保障電圧まで低下
した際には、その時の同時駆動ドット数を最大同時駆動
ドット数として設定し、設定した最大同時駆動ドット数
に基づいてそのドット数分の印字を行うようにしたか
ら、最大同時駆動ドット数を印字動作中に決定すること
ができ、ことによって、製品上のばらつきや電源状態に
影響されず、製品個々の現状に最適な最大同時駆動ドッ
ト数にしたがった高速印字が実現可能となる。
As described above, in this embodiment,
The simultaneous drive dot number “initial value” is called, printing is performed for the number of dots corresponding to the simultaneous drive dot number, and it is determined whether the printer supply voltage has decreased to the printer security voltage during printing. Until the supply voltage drops to the printer security voltage, the number of simultaneously driven dots is increased, and the value is updated and printing for the number of dots is repeatedly executed based on the updated number of simultaneously driven dots. When the voltage drops to the printer guarantee voltage, the number of simultaneously driven dots at that time is set as the maximum number of simultaneously driven dots, and printing is performed for that number of dots based on the set maximum number of simultaneously driven dots. The number of simultaneously driven dots can be determined during the printing operation, so that the product Status quo to optimum maximum simultaneous high-speed printing in accordance with the drive number of dots can be realized of.

【0020】また、電池交換/電池充電が行われた後に
おいて、最初の印字が開始された際に、その印字中に最
大同時駆動ドット数を設定するようにしたから、次回以
降からの印字では最初の印字時に設定された最大同時駆
動ドット数を用いて印字動作を行うことができるので、
印字毎に最大同時駆動ドット数を設定する必要はなく、
高速印字を実現する上で更に有利なものとなる。この場
合、最大同時駆動ドット数が設定されてからの経過時間
を計測し、この計時時間が所定時間を超えたか否かを判
別し、計時時間が所定時間を超えていることが判別され
た場合には、最大同時駆動ドット数を変更するためにそ
の再設定を行うようにしたから、電池を電源とする場合
にその電圧が大きく低下したとしてもそれに影響されな
い最適な最大同時駆動ドット数を求めてその再設定が可
能となる。
Further, when the first printing is started after the battery replacement / battery replacement, the maximum number of simultaneous driving dots is set during the printing. Since the printing operation can be performed using the maximum number of simultaneous drive dots set at the first printing,
There is no need to set the maximum number of simultaneous drive dots for each print,
This is more advantageous in realizing high-speed printing. In this case, the elapsed time from when the maximum number of simultaneous driving dots is set is measured, and it is determined whether or not the time has exceeded a predetermined time, and it is determined that the time has exceeded the predetermined time. In order to change the maximum number of simultaneous drive dots, the optimal number of simultaneous drive dots is determined so that it is not affected even if the voltage is greatly reduced when using a battery as a power supply. Can be reset.

【0021】なお、上述した一実施形態においては、前
回印字から今回印字までの計時時間が所定時間を超えて
いることが判別された場合には、最大同時駆動ドット数
を変更するためにその再設定を行うようにしたが、図5
に示すように最大同時駆動ドット数の再設定は、現在設
定されている最大同時駆動ドット数よりも小さい値とし
てももい。すなわち、図5はこの場合の再設定の概略を
示したフローチャートで、フラグレジスタ「F」の値が
「1」の時に実行開始される。先ず、前回の印字終了か
ら今回の印字開始までの経過時間をタイマ「t」から取
得し(ステップB1)、この経過時間と時間判定レジス
タ「T1」内の設定時間とを比較し(ステップB2)、
経過時間が設定時間を超えていなければ、今回の印字時
にはを前回印字時の最大同時駆動ドット数をそのまま用
いて印字するが(ステップB3、B4)、前回の印字終
了から今回の印字開始までの間が設定時間を超えるほど
の時間を経過していれば、前回印字時の最大同時駆動ド
ット数もりも小さい値の最大同時駆動ドット数を求めて
その再設定を行い、これによって新たに求められた最大
同時駆動ドット数にしたがって今回の印字を行う(ステ
ップB5、B4)。
In the above-described embodiment, if it is determined that the time measured from the previous printing to the current printing exceeds a predetermined time, the time is counted again to change the maximum number of simultaneously driven dots. The setting was made, but FIG.
As shown in (1), the maximum number of simultaneously driven dots may be reset to a value smaller than the currently set maximum number of simultaneously driven dots. That is, FIG. 5 is a flowchart schematically showing the resetting in this case, and the execution is started when the value of the flag register “F” is “1”. First, the elapsed time from the end of the previous printing to the start of the current printing is obtained from the timer "t" (step B1), and this elapsed time is compared with the set time in the time determination register "T1" (step B2). ,
If the elapsed time does not exceed the set time, the current printing is performed using the maximum number of simultaneously driven dots of the previous printing as it is (steps B3 and B4), but from the end of the previous printing to the start of the current printing. If the time exceeds the set time, the maximum number of simultaneous drive dots at the time of previous printing is smaller than the maximum number of simultaneous drive dots, and it is reset. The current printing is performed according to the maximum number of simultaneously driven dots (steps B5 and B4).

【0022】また、上述した一実施形態においては、予
め設定されている初期値としての同時駆動ドット数を整
数倍することによって同時駆動ドット数を更新するよう
にしたが、その初期値に所定値(例えば、8ドット)を
加算しながら同時駆動ドット数を更新するようにしても
よい。このように初期値に所定値を加算しながら更新す
るようにすれば、最大同時駆動ドット数を細かく設定す
ることが可能となる。
In the above-described embodiment, the number of simultaneously driven dots is updated by multiplying the number of simultaneously driven dots as the preset initial value by an integer. The number of simultaneously driven dots may be updated while adding (for example, 8 dots). In this way, by updating while adding a predetermined value to the initial value, it is possible to finely set the maximum number of simultaneously driven dots.

【0023】[0023]

【発明の効果】この発明によれば、ラインサーマルヘッ
ドを構成する発熱素子を同時に駆動可能な最大同時駆動
ドット数を印字動作中に決定するようにしたから、製品
上のばらつきや電源状態に影響されず、製品個々の現状
に最適な最大同時駆動ドット数にしたがった高速印字を
実現するすることができる。
According to the present invention, the maximum number of simultaneously driven dots capable of simultaneously driving the heating elements constituting the line thermal head is determined during the printing operation, so that variations in products and power supply conditions are affected. Instead, it is possible to realize high-speed printing according to the maximum number of simultaneous driving dots that is optimal for the current state of each product.

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

【図1】(A)はラインサーマルプリンタを備えたデー
タ処理装置の全体構成を示したブロック図、(B)はR
AM4内のワークエリアを示した図。
FIG. 1A is a block diagram showing the overall configuration of a data processing apparatus provided with a line thermal printer, and FIG.
The figure which showed the work area in AM4.

【図2】印字開始が指定された場合の動作を示したフロ
ーチャート。
FIG. 2 is a flowchart illustrating an operation when a print start is designated.

【図3】最大同時駆動ドット数を印字動作中に設定する
際に、プリンタ供給電圧の変化を示した図。
FIG. 3 is a diagram illustrating a change in a printer supply voltage when a maximum simultaneous drive dot number is set during a printing operation.

【図4】印字動作等に伴って電源電圧が低下する様子を
示した図。
FIG. 4 is a diagram illustrating a state in which a power supply voltage is reduced in accordance with a printing operation and the like.

【図5】この発明の変形応用例を説明するためのフロー
チャート。
FIG. 5 is a flowchart for explaining a modified application example of the present invention.

【図6】一般的なサーマルプリンタ装置における印字時
の等価回路を示したブロック図。
FIG. 6 is a block diagram showing an equivalent circuit at the time of printing in a general thermal printer device.

【図7】従来において、製品上のばらつきや電源状態に
応じたプリンタ供給電圧の変化を示した図。
FIG. 7 is a diagram showing a change in a printer supply voltage according to a variation in a product or a power supply state in the related art.

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

1 CPU 2 記憶装置 3 記憶媒体 5 入力装置 6 表示装置 7 サーマルプリンタ7 8 電源電池部8 9 電源電圧検出部9 「X」 加算カウンタ 「n」 初期値レジスタ 「N」 更新値レジスタ 「Vb」 検出電圧レジスタ 「F」 フラグレジスタ 「VLBP」 設定電圧レジスタ 「t」 タイマ 「T1」 時間判定レジスタ Reference Signs List 1 CPU 2 storage device 3 storage medium 5 input device 6 display device 7 thermal printer 7 8 power supply battery unit 8 9 power supply voltage detection unit 9 “X” addition counter “n” initial value register “N” update value register “Vb” detection Voltage register “F” Flag register “VLBP” Set voltage register “t” Timer “T1” Time judgment register

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C061 AQ04 HK18 2C066 AA03 AA08 AB03 AB07 CB01 CB03 CB06 CB09 CF03 CF08 5B021 MM00 MM03  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2C061 AQ04 HK18 2C066 AA03 AA08 AB03 AB07 CB01 CB03 CB06 CB09 CF03 CF08 5B021 MM00 MM03

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】サーマルヘッドを構成する各ドットのう
ち、複数ドットを同時に駆動可能な同時駆動ドット数に
基づいてサーマルヘッドを時分割駆動するサーマルプリ
ンタ装置において、 予め初期値として設定されている同時駆動ドット数を呼
び出してその同時駆動ドット数に相当するドット数分の
印字データを同時に印字出力させる第1の印字制御手段
と、 印字中において電源側からのプリンタ供給電圧を検出す
る電圧検出手段と、この電圧検出手段によって検出され
たプリンタ供給電圧が所定電圧まで低下したかを判別す
る判別手段と、 この判別手段によってプリンタ供給電圧が所定電圧まで
低下したことが判別されるまで、前記同時駆動ドット数
を増加することによってその値を更新する更新処理およ
び更新された同時駆動ドット数に基づいてそのドット数
分の印字データを同時に印字出力させる印字制御処理を
繰り返し実行させる第2の印字制御手段と、 前記判別手段によってプリンタ供給電圧が所定電圧まで
低下したことが判別された際に、その時の前記同時駆動
ドット数を最大同時駆動ドット数として設定し、設定し
た最大同時駆動ドット数に基づいてそのドット数分の印
字データを同時に印字出力させる第3の印字制御手段と
を具備したことを特徴とするサーマルプリンタ装置。
1. A thermal printer in which a thermal head is driven in a time-division manner based on the number of simultaneously driven dots capable of simultaneously driving a plurality of dots out of the dots constituting the thermal head, a simultaneous printer which is preset as an initial value. First print control means for calling the number of drive dots and simultaneously printing and outputting print data for the number of dots corresponding to the number of simultaneous drive dots; voltage detection means for detecting a printer supply voltage from a power supply during printing; Determining means for determining whether the printer supply voltage detected by the voltage detection means has decreased to a predetermined voltage; and determining whether the printer supply voltage has decreased to the predetermined voltage by the determination means. The update process that updates the value by increasing the number and the updated number of simultaneous driving dots A second print control means for repeatedly executing print control processing for simultaneously printing out print data for the number of dots, and when the determination means determines that the printer supply voltage has dropped to a predetermined voltage, A third print control unit that sets the number of simultaneously driven dots at that time as a maximum number of simultaneously driven dots, and simultaneously prints and outputs print data for the number of dots based on the set maximum number of simultaneously driven dots. A thermal printer device characterized by the above-mentioned.
【請求項2】電池を電源とする場合に、電池交換/電池
充電が行われた後において、最初の印字が開始された際
に、その印字中に電源電池側からのプリンタ供給電圧を
検出し、プリンタ供給電圧が所定電圧まで低下したこと
が判別されるまで前記同時駆動ドット数を増加すること
によってその値を更新する更新処理および更新された同
時駆動ドット数に基づいてそのドット数分の印字データ
を同時に印字出力させる印字制御処理を繰り返し実行さ
せ、プリンタ供給電圧が所定電圧まで低下したことが判
別された際に、その時の前記同時駆動ドット数を最大同
時駆動ドット数として設定するようにしたことを特徴と
する請求項1記載のサーマルプリンタ装置。
2. When using a battery as a power source, when the first printing is started after the battery replacement / battery charging is performed, the printer supply voltage from the power supply battery side is detected during the printing. An update process of updating the value by increasing the number of simultaneously driven dots until it is determined that the printer supply voltage has dropped to a predetermined voltage, and printing the number of dots based on the updated number of simultaneously driven dots. Print control processing for simultaneously printing out data is repeatedly executed, and when it is determined that the printer supply voltage has dropped to a predetermined voltage, the simultaneous drive dot number at that time is set as the maximum simultaneous drive dot number. 2. The thermal printer according to claim 1, wherein:
【請求項3】電池を電源とする場合に、前記最大同時駆
動ドット数が設定されてからの経過時間を計測する計時
手段と、この計時手段によって得られた計時時間が所定
時間を超えたか否かを判別する判別手段と、この判別手
段によって計時時間が所定時間を超えていないことが判
別された場合には、既に設定されている前記最大同時駆
動ドット数をそのままとし、前記計時時間が所定時間を
超えていることが判別された場合には、前記最大同時駆
動ドット数を変更するためにその再設定処理を開始させ
る制御手段を設けたことを特徴とする請求項1記載のサ
ーマルプリンタ装置。
3. When a battery is used as a power supply, a timer means for measuring an elapsed time after the maximum simultaneous drive dot number is set, and whether or not the time measured by the timer means exceeds a predetermined time. Determining means for determining whether or not the time counting time does not exceed a predetermined time, leaving the already set maximum number of simultaneous driving dots as it is, and 2. The thermal printer device according to claim 1, further comprising control means for starting a resetting process for changing the maximum simultaneous drive dot number when it is determined that the time has elapsed. .
【請求項4】コンピュータが読み取り可能なプログラム
コードを有する記録媒体であって、予め初期値として設
定されている同時駆動ドット数を呼び出してその同時駆
動ドット数に相当するドット数分の印字データを同時に
印字出力させるコンピュータが読み取り可能なプログラ
ムコードと、印字中において電源側からのプリンタ供給
電圧が検出された際に、検出されたプリンタ供給電圧が
所定電圧まで低下したかを判別させるコンピュータが読
み取り可能なプログラムコードと、前記プリンタ供給電
圧が所定電圧まで低下したことが判別されるまで、前記
同時駆動ドット数を増加することによってその値を更新
する更新処理および更新された同時駆動ドット数に基づ
いてそのドット数分の印字データを同時に印字出力させ
る印字制御処理を繰り返し実行させるコンピュータが読
み取り可能なプログラムコードと、前記プリンタ供給電
圧が所定電圧まで低下したことが判別された際に、その
時の前記同時駆動ドット数を最大同時駆動ドット数とし
て設定し、設定した最大同時駆動ドット数に基づいてそ
のドット数分の印字データを同時に印字出力させるコン
ピュータが読み取り可能なプログラムコードとを有する
記録媒体。
4. A recording medium having a program code which can be read by a computer, the method comprising calling a simultaneous drive dot number set as an initial value in advance, and printing print data for the number of dots corresponding to the simultaneous drive dot number. A computer readable program code that prints simultaneously and a computer readable program that determines whether the detected printer supply voltage has dropped to a predetermined voltage when the printer supply voltage from the power supply is detected during printing Until it is determined that the printer supply voltage has dropped to a predetermined voltage, an update process of updating the value by increasing the number of simultaneously driven dots and the updated number of simultaneously driven dots are performed based on the updated program code. A print control process that prints out the print data for the number of dots simultaneously A computer readable program code to be repeatedly executed, and when it is determined that the printer supply voltage has dropped to a predetermined voltage, the simultaneous driving dot number at that time is set as a maximum simultaneous driving dot number and set. And a computer-readable program code for simultaneously printing and outputting print data for the number of dots based on the maximum number of simultaneously driven dots.
JP11224230A 1999-08-06 1999-08-06 Thermal printer apparatus and its program recording medium Pending JP2001047656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11224230A JP2001047656A (en) 1999-08-06 1999-08-06 Thermal printer apparatus and its program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11224230A JP2001047656A (en) 1999-08-06 1999-08-06 Thermal printer apparatus and its program recording medium

Publications (1)

Publication Number Publication Date
JP2001047656A true JP2001047656A (en) 2001-02-20

Family

ID=16810551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11224230A Pending JP2001047656A (en) 1999-08-06 1999-08-06 Thermal printer apparatus and its program recording medium

Country Status (1)

Country Link
JP (1) JP2001047656A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6851781B2 (en) 2002-02-20 2005-02-08 Seiko Epson Corporation Printing apparatus controlling method, printing apparatus controlling program, recording medium for storing printing apparatus controlling program and printing system
JP2008080696A (en) * 2006-09-28 2008-04-10 Sii Data Service Kk Mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6851781B2 (en) 2002-02-20 2005-02-08 Seiko Epson Corporation Printing apparatus controlling method, printing apparatus controlling program, recording medium for storing printing apparatus controlling program and printing system
JP2008080696A (en) * 2006-09-28 2008-04-10 Sii Data Service Kk Mobile terminal
JP4702850B2 (en) * 2006-09-28 2011-06-15 エスアイアイ・データサービス株式会社 Mobile device

Similar Documents

Publication Publication Date Title
US6772260B2 (en) Device for and method of generating interrupt signals
KR100477624B1 (en) Liquid crystal display control circuit
JP2011118285A (en) Image forming apparatus, charging management method therefor and program
US6772366B2 (en) Method and apparatus for detecting AC removal
JP2001047656A (en) Thermal printer apparatus and its program recording medium
US10896010B1 (en) Image forming apparatus that sets a standby time based on a job history and control method of the image forming apparatus
JP2021151734A (en) Printing device
US8004697B2 (en) Method and system for adaptive control of IOT operation cycling
JPH11203163A (en) Information processor and its applied-voltage control method
JP2002011923A (en) Color imaging system
JP3302146B2 (en) Printer device and head drive circuit thereof
JPH08182190A (en) Information processor
JP2977715B2 (en) Print head load detector
KR0122530B1 (en) Dot-printer head
JP2003140785A (en) Portable information terminal and portable settlement terminal
JPH0726751Y2 (en) Electronic device with low battery detection function
JPH09290548A (en) Image output device, information supply device and their controller
JP3440625B2 (en) Image processing device
JP4106822B2 (en) Printing apparatus, initialization method, and information recording medium
JPH0825673A (en) Thermal head split driving apparatus
JP2003256051A (en) Power source output controller
JPH0825672A (en) Thermal head split driving apparatus
JPH064481A (en) Electronic device
JPH03202374A (en) Printing device
JP2002144619A (en) Thermal printer and its operation controlling method