JP2006297700A - Thermal printer and method for outputting printing rate dumping of thermal printer - Google Patents
Thermal printer and method for outputting printing rate dumping of thermal printer Download PDFInfo
- Publication number
- JP2006297700A JP2006297700A JP2005120967A JP2005120967A JP2006297700A JP 2006297700 A JP2006297700 A JP 2006297700A JP 2005120967 A JP2005120967 A JP 2005120967A JP 2005120967 A JP2005120967 A JP 2005120967A JP 2006297700 A JP2006297700 A JP 2006297700A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- printing rate
- rate
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000007639 printing Methods 0.000 title claims abstract description 138
- 238000000034 method Methods 0.000 title claims description 14
- 238000007651 thermal printing Methods 0.000 claims abstract 2
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 239000000853 adhesive Substances 0.000 description 1
- 230000001070 adhesive effect Effects 0.000 description 1
- 239000012790 adhesive layer Substances 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000010410 layer Substances 0.000 description 1
Images
Abstract
Description
本発明は、特に、印字率ダンプモード機能を備えたサーマルプリンタおよびサーマルプリンタの印字率ダンプ出力方法に関する。
The present invention particularly relates to a thermal printer having a print rate dump mode function and a print rate dump output method of the thermal printer.
従来、バッテリーで駆動し、スーパーマーケットの現場(売場)などにおいて、商品に貼付け・表示するラベルを印字するような小型の印刷装置(プリンタ)が知られている。
前記バッテリー駆動の小型の印刷装置(プリンタ)にあっては、サーマルヘッドに流すことができる電流に限界があるため、バッテリーの電圧、サーマルヘッド抵抗、オンドット数等の値から、サーマルヘッドの1ライン分を印刷するときに、オンドットを分割する分割数を計算によって算出し、分割したオンドットに対応するサーマルヘッドの発熱体に流す電流を細かく制御するようなことが行われている(例えば、特許文献1参照)。
しかしながら、上記の印字装置にあっては、ラベルの発行時に1ライン分の印刷データを分割する分割数を演算によって求め、サーマルヘッドに供給する電流を制御するため、ソフトウエアが複雑であり、かつ、発行に時間が掛かるという問題がある。
そこで、発行時ではなく、予め印字率、すなわち、サーマル印字ヘッドの一ドットラインにおけるドット印字素子の総本数に対する電圧の印加が必要なオンドット印字素子の本数である印字率、を印字して確認できる、いわゆる、印字率ダンプ機能の開発が望まれた。
In the battery-driven small-sized printing apparatus (printer), since there is a limit to the current that can be passed to the thermal head, the
However, in the above printing apparatus, the number of divisions for dividing the print data for one line at the time of label issuance is obtained by calculation, and the current supplied to the thermal head is controlled, so that the software is complicated, and There is a problem that it takes time to issue.
Therefore, instead of at the time of issuance, the printing rate, that is, the printing rate, which is the number of on-dot printing elements that require voltage application to the total number of dot printing elements in one dot line of the thermal print head, is checked. It was desired to develop a so-called print rate dump function.
本発明は、上記の問題点に着目して成されたものであり、印字率ダンプ機能を使い、印字したい印字フォーマットおよび印字データを描画領域にイメージ展開した上で印字率を算出することにより、どのラインが指定の印字率を超えているかを予め判断することのできるサーマルプリンタおよびサーマルプリンタの印字率ダンプ出力方法を提供することを課題とする。
The present invention has been made paying attention to the above problems, and by using the print rate dump function, by calculating the print rate after developing the print format and print data to be printed in the drawing area, It is an object of the present invention to provide a thermal printer and a printing rate dump output method for a thermal printer that can determine in advance which line exceeds a specified printing rate.
本発明に係るサーマルプリンタは、記録媒体の幅方向に複数本のドット印字素子を有する印字ヘッドと、この印字ヘッドとの間に前記記録媒体を挟持して搬送するプラテンローラと、を備えた印字部により、所定の印字フォーマットを含む印字データを一ドットラインごとに印字するバッテリー駆動のサーマルプリンタにおいて、前記印字データを前記印字フォーマットに従いイメージ展開する第1の描画領域と、前記印字ヘッドの連続する前記ドット印字素子を複数列単位の所定のグループに分割したサーマル印字ヘッドと、前記第1の描画領域にイメージ展開された前記印字フォーマットおよび印字データの一ドットラインにおけるオンドットの数である印字率を、前記グループごとに算出する印字率算出手段と、前記グループごとに算出された前記印字率を予め設定してある設定値と比較するとともに、印字率が設定値を超えた場合、警告識別IDを発する印字率比較手段と、前記印字率算出手段にて算出された前記印字率および警告識別IDを一ドットラインごと、かつ、前記グループごとに編集し、前記第1の描画領域に展開されたイメージ分展開する第2の描画領域と、前記第2の描画領域に展開された前記印字率および警告識別IDを前記サーマル印字ヘッドを介して出力する印字出力手段と、前記第1の描画領域へのイメージ展開から印字出力手段までの動作を起動する印字率ダンプモードと、を備え、前記印字率ダンプモードが起動されると、前記印字フォーマットにより印字データの印字率および警告識別IDを記録媒体に印字することを特徴とする。
さらに、全ドットラインの総平均印字率を算出する総平均印字率算定手段を備えるようにできる。
また、予め設定された印字率の設定値は、バッテリーの許容電圧より設定されるようにできる。
また、本発明に係るサーマルプリンタの印字率ダンプ出力方法は、記録媒体の幅方向に複数本の連続するドット印字素子を複数列単位の所定のグループに分割したサーマル印字ヘッドと、このサーマル印字ヘッドとの間に前記記録媒体を挟持して搬送するプラテンローラと、を備えた印字部と、バッテリーと、を備え、前記印字部により所定の印字フォーマットを含む印字データを一ドットラインごとに印字するサーマルプリンタであって、前記印字データを前記印字フォーマットに従い第1の描画領域にイメージ展開する第1のイメージ展開ステップと、前記第1の描画領域にイメージ展開された前記印字フォーマットおよび印字データの一ドットラインにおけるオンドットの数である印字率を、前記グループごとに算出する印字率算出ステップと、前記グループごとに算出された前記印字率を予め設定してある設定値と比較するとともに、印字率が設定値を超えた場合、警告識別IDを発する印字率比較ステップと、前記印字率算出ステップにて算出された前記印字率および警告識別IDを一ドットラインごと、かつ、前記グループごとに編集し、前記第2の描画領域に展開する第2のイメージ展開ステップと、前記第2の描画領域に展開された前記印字率および警告識別IDを前記サーマル印字ヘッドを介して出力する印字出力ステップと、前記第1のイメージ展開ステップから印字出力ステップまでの動作を起動する印字率ダンプステップと、を備えることを特徴とする。
A thermal printer according to the present invention includes a print head having a plurality of dot print elements in the width direction of a recording medium, and a platen roller that sandwiches and conveys the recording medium between the print heads. In a battery-driven thermal printer that prints print data including a predetermined print format for each dot line by a section, a first drawing area that develops an image of the print data in accordance with the print format and a continuous print head A thermal print head in which the dot printing elements are divided into predetermined groups in units of a plurality of columns, and a print rate that is the number of on dots in one dot line of the print format and print data developed in the first drawing area The printing rate calculation means for calculating for each group and the calculation for each group. The printing rate is compared with a preset setting value, and when the printing rate exceeds the setting value, a printing rate comparison unit that issues a warning identification ID and the printing rate calculation unit calculates the printing rate. The printing rate and the warning identification ID are edited for each dot line and for each group, and the second drawing area is developed for the image developed in the first drawing area, and is developed in the second drawing area. Print output means for outputting the printed print rate and warning identification ID via the thermal print head, and a print rate dump mode for starting operations from image development to the print output means in the first drawing area; When the print rate dump mode is activated, the print rate of print data and the warning identification ID are printed on a recording medium according to the print format.
Furthermore, a total average printing rate calculating means for calculating the total average printing rate of all the dot lines can be provided.
Further, the preset printing rate setting value can be set based on the allowable voltage of the battery.
Also, the printing rate dump output method of the thermal printer according to the present invention includes a thermal print head in which a plurality of continuous dot print elements are divided into a predetermined group of a plurality of columns in the width direction of the recording medium, and the thermal print head A platen roller that sandwiches and conveys the recording medium, and a battery, and the print unit prints print data including a predetermined print format for each dot line. A thermal printer, comprising: a first image development step of developing the print data in a first drawing area according to the print format; and one of the print format and print data developed in the first drawing area. A print rate calculation scan that calculates the print rate, which is the number of on dots in a dot line, for each group. And a print rate comparison step for issuing a warning identification ID when the print rate exceeds a set value, and comparing the print rate calculated for each group with a preset set value. A second image developing step of editing the printing rate and warning identification ID calculated in the rate calculating step for each dot line and for each group, and developing the second drawing area; A print output step for outputting the print rate and warning identification ID developed in the drawing area via the thermal print head, and a print rate dump step for starting operations from the first image development step to the print output step. And.
本発明のサーマルプリンタは、所定の印字フォーマットおよび印字データに基づく印字率を、一ドットライン、かつ、グループごとに算出するとともに、グループごとに算出された印字率を予め設定してある設定値と比較し、設定値を超えた場合、警告識別IDを発し、グループごと、かつ、一ドットラインごとの印字率を記録媒体に印字するようにしたので、どのドットラインが設定の印字率を超えているかが目視可能に判断でき、前以て、印字フォーマットの印字位置をずらすなどの位置調整を図ることにより、該当ドットラインの印字率、あるいは、同じドットラインであってもグループの印字率を下げることができ、さらに、位置調整を図って変更したのちの印字フォーマットおよび印字データに対し、「印字率ダンプモード」を起動することにより変更後の印字率を知ることもでき、バランスの良い印字を図ることが出来るという効果がある。
また、全ドットラインの総平均印字率を算出するようにすれば、該当の印字フォーマットにおける印字の負荷を知ることができる。
さらに、本発明のサーマルプリンタの印字率ダンプ出力方法は、印字データを印字フォーマットに従い第1の描画領域にイメージ展開する第1のイメージ展開ステップ、グループごとに印字率を算出する印字率算出ステップ、グループごとの印字率と設定値とを比較する印字率比較ステップ、印字率を展開する第2のイメージ展開ステップ、および印字率を出力する印字出力ステップ、の一連のステップを起動する印字率ダンプステップを設けたので、目視で印字率を確認することができるという効果がある。
The thermal printer of the present invention calculates a print rate based on a predetermined print format and print data for each dot line and each group, and sets a print rate calculated for each group in advance. In comparison, if the set value is exceeded, a warning identification ID is issued and the printing rate for each group and for each dot line is printed on the recording medium, so which dot line exceeds the set printing rate. It is possible to visually determine whether or not the print rate of the corresponding dot line, or even the same dot line, is reduced by adjusting the position such as shifting the print position of the print format in advance. In addition, the “print rate dump mode” is activated for the print format and print data after the position adjustment and change. You can also know the printing rate after the change by an effect that can be achieved with good printing balanced.
If the total average printing rate of all the dot lines is calculated, the printing load in the corresponding printing format can be known.
Further, the printing rate dump output method of the thermal printer of the present invention includes a first image developing step for developing print data in a first drawing area according to a printing format, a printing rate calculating step for calculating a printing rate for each group, Print rate dump step for starting a series of steps of a print rate comparison step for comparing the print rate for each group with a set value, a second image development step for developing the print rate, and a print output step for outputting the print rate As a result, the printing rate can be confirmed visually.
以下、本発明の一実施の形態につき、図1ないし図6に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to FIGS.
図1は、本発明の印字率ダンプ出力方法に用いるサーマルプリンタの一実施の形態の構成例を示す概略説明図である。
図1に示すように、サーマルプリンタ1は、帯状の記録媒体2を装着する媒体供給部3と、位置検出手段としての反射センサ4と、印字手段としての印字部5と、固定刃6と、制御部7と、を備える。
記録媒体2は、表面に感熱発色層を備え、裏面に粘着剤層を備えた図示省略のラベルが台紙に複数仮着された「ラベル連続体」、あるいは、粘着剤が露呈した連続の、いわゆる、「台紙なし連続体」の採用が可能である。
反射センサ4は、所定の光を出射する発光部4aと、その光を受光する受光部4bとから構成され、発光部4aおよび受光部4bは、記録媒体2の裏面側を検出するよう、媒体供給部3と印字部5との間に配置されている。
印字部5は、印字ヘッドとしてのサーマル印字ヘッド(以下、適宜、単に印字ヘッドと称す)8およびプラテンローラ(以下、適宜、単にプラテンと称す)9を備えており、プラテン9は、ステッピングモータ(以下、適宜、単にモータと称す)10との間にベルト11を介して接続されている。また、印字ヘッド8は、所望の印字データ(後述する)を記録媒体2に印字できるようになっている。
固定刃6は、前記印字ヘッド8により所望の印字データが印字された前記記録媒体2の発行口12の筐体(図示省略)に固定されており、発行された記録媒体2を引き千切れるようになっている。
また、制御部7は、前記各部と接続されており、各部の動作が制御できるようになっている。
なお、媒体供給部3に装着した記録媒体2は印字部5側へ引き出し、反射センサ4を経て印字ヘッド8およびプラテン9の間に挟持し、発行口12に引出す。そして、印字ヘッド8により押圧してモータ10を回転させると、ベルト11を介してモータ10の回転がプラテン9に伝わり、挟持された記録媒体2は、搬送されつつ印字ヘッド8の熱により所望の情報が印字されるようになっている。
FIG. 1 is a schematic explanatory diagram showing a configuration example of an embodiment of a thermal printer used in the printing rate dump output method of the present invention.
As shown in FIG. 1, the
The
The
The printing unit 5 includes a thermal print head (hereinafter, simply referred to as a print head) 8 and a platen roller (hereinafter, simply referred to as a platen) 9 as a print head. The platen 9 includes a stepping motor ( Hereinafter, it is simply connected via a belt 11 to a motor 10). The
The fixed blade 6 is fixed to a housing (not shown) of the
Moreover, the
The
図2は、図1の実施の形態の電気的な構成例を示すブロック図である。同図に示すように、本実施の形態は、各部を制御するCPU(central processing unit)20と、CPU20の動作を制御する制御プログラムや各種データを記憶するROM(read only memory)21と、一時的にデータなどを記憶するRAM(random access memory)22と、印字処理を実行する前記印字ヘッド8を制御する印字ヘッド制御部23と、前記反射センサ4の信号を制御するセンサ制御部24と、前記モータ10を制御するモータ制御部25と、バッテリー26と、外部インタフェース27などを主に備えている。なお、各部はバス28によって接続され、データやコマンドの送受信を行うことができるようになっている。
また、前記外部インタフェース27を介して、外部に接続された図示しないパーソナルコンピュータ等の各種機器との間で各種データやコマンドの送受信を行うことができるようになっている。
さらに、RAM22には、後述する第1の描画領域29および第2の描画領域30が設けられている。
FIG. 2 is a block diagram showing an example of the electrical configuration of the embodiment of FIG. As shown in the figure, the present embodiment includes a CPU (central processing unit) 20 that controls each unit, a ROM (read only memory) 21 that stores a control program and various data for controlling the operation of the
Also, various data and commands can be transmitted / received to / from various devices such as a personal computer (not shown) connected to the outside via the
Further, the
ここで、図3に基づき、印字ヘッド8の概要につき説明する。
同図に示すように、印字ヘッド8は、発熱体である複数のドット印字素子31が幅方向(列方向)に連続して設けられており、所定のドット印字素子31に電圧が印加されると電流が供給され、そのドット印字素子31を介して記録媒体2に黒のドットが印字されるようになっている。電流が供給されたドット印字素子31を「オンドット」と称する。
印字ヘッド8は、バッテリー26の消耗、すなわち、電圧のドロップに配慮して複数列単位のドット印字素子31をグループ化した所定のグループ数に分割してあり、図示の例では、図3における左側の第1のグループ8aと、第2のグループ8bとに2分割してある。
Here, an outline of the
As shown in the figure, the
The
次ぎに、図4に基づき、印字フォーマットおよび印字データのイメージ展開につき説明する。
図4は、前記第1の描画領域29を示すもので、後述する「印字率ダンプ出力モード」が設定されたときに、サーマルプリンタ1で記録媒体2に印字する印字フォーマットおよび印字データがイメージ展開されるようになっており、図示の例では、オーバレイ部32と印字データ33(図示の例では、「123」)が展開されている。
前記制御部7では、前記第1の描画領域29に展開されたイメージを一ドットラインごとに呼び出して、実データが展開されている「オンドット」の数である「印字率」を計算するようになっている。
ここで、制御部7の処理概要を説明する。
(1)初期設定処理
(ア)ヘッドの分割数の設定
印字ヘッド8の分割数を記憶する。印字ヘッド8の分割数は、機種により予め設定されているものとする。
(イ)印字率の上限値(設定印字率)の設定
印字率の上限値を記憶する。印字率の上限値は、バッテリー26の容量により、例えば、30%以内に抑えるよう予め決められているものとする。
(ウ)印字率ダンプ出力モードの設定
「印字率ダンプ出力モード」か否かを判定する。同モードは、図示省略の入力手段またはディップスイッチなどにより設定されているものとする。
(2)「印字率ダンプ出力」の実行
図示省略の設定手段により、「印字率ダンプ出力モード」が設定されていることを認識した場合、「印字率」を算定して印字出力する、以下の一連の処理を実行する。
(3)印字データのイメージ展開
所定の印字フォーマットにしたがい、印字データを第1の描画領域にイメージ展開する(第1のイメージ展開ステップ)。
(4)印字率の算出
第1の描画領域29の一ドットラインのオンドット数より、予め設定された所定のグループ8a、8bごとに印字率を算出する(印字率算出ステップ)。
(5)印字率の比較
前記設定されている印字率の上限値と、グループ8a、8bごとに算出した印字率を比較するとともに、印字率が設定値(上限値)を超えた場合、警告識別IDを発する(印字率比較ステップ)。
(6)印字率のイメージ展開
前記算出された印字率、および印字率が設定値(上限値)を超えた場合の警告識別IDを一ドットラインごと、かつ、分割されたグループ8a、8bごとに編集し、目視可能に後述の第2の描画領域30にイメージ展開する(第2のイメージ展開ステップ)。
(7)印字率の出力
前記第2の描画領域30に展開された印字率および警告識別IDを印字ヘッド8を介して記録媒体2に印字する(印字出力ステップ)。
Next, the printing format and the image development of the printing data will be described with reference to FIG.
FIG. 4 shows the
The
Here, the processing outline of the
(1) Initial setting process (a) Head division number setting The division number of the
(B) Setting the upper limit of printing rate (set printing rate) Store the upper limit of printing rate. It is assumed that the upper limit value of the printing rate is determined in advance according to the capacity of the
(C) Setting of print rate dump output mode Judge whether or not “print rate dump output mode” is selected. This mode is set by an input means (not shown) or a dip switch.
(2) Execution of “print rate dump output” When the setting means (not shown) recognizes that the “print rate dump output mode” is set, the “print rate” is calculated and printed. A series of processing is executed.
(3) Image development of print data According to a predetermined print format, the print data is developed in the first drawing area (first image development step).
(4) Calculation of printing rate The printing rate is calculated for each
(5) Comparison of printing rate The upper limit value of the set printing rate is compared with the printing rate calculated for each of the
(6) Image development of printing rate The calculated printing rate and the warning identification ID when the printing rate exceeds a set value (upper limit value) for each dot line and for each of the divided
(7) Print rate output The print rate and warning identification ID developed in the
ここで、図5に基づき、印字率のイメージ展開につき説明する。
図5は、前記第2の描画領域30を示すもので、前記第1の描画領域29に展開された印字フォーマットおよび印字データの1枚分の「印字率」が、前記第1の描画領域29の一ドットラインごと、かつ、印字ヘッド8の第1および第2のグループ8a、8bごとに展開された状態を示しており、一ドットラインごとに付与されたライン番号40、一ドットライン全体の印字率41、分割された印字ヘッド8の第1のグループ8aに対応する印字率42、第2のグループ8bに対応する印字率43および警告識別ID欄44より構成されている。前記警告識別ID欄44は、ライン番号40と一ドットライン全体の印字率41の間、印字率41と第1のグループ8aの印字率42の間、および印字率42と第2のグループ8bの印字率43の間、に各々設けられている。
なお、45は、第2の描画領域30に展開された印字フォーマットおよび印字データの1枚分の総平均印字率である。
Here, the image development of the printing rate will be described with reference to FIG.
FIG. 5 shows the
次ぎに、主に、図6に基づき、印字率ダンプ出力の詳細につき説明する。
ステップS01にて、「印字率ダンプ出力モード」が設定されたか否か判定する。すなわち、図示省略の入力手段より同モードの起動が入力されたか、または、サーマルプリンタ1の図示省略の電源投入時にディップスイッチが同モード設定になっているか否かを判定し、「印字率ダンプ出力モード」が設定されている場合は、次ステップ(ステップS02)に行き、設定されていなかった場合は処理を終了する。
ステップS02にて、初期設定処理を実行する。すなわち、ROM21に記憶されていたり、あるいは、ディップスイッチなどにより予め設定されている印字ヘッド8の分割数(グループ数)、および印字率の設定値(上限値)をRAM22に記憶する。
ステップS03にて、所定の印字フォーマットにしたがい、印字データのイメージ展開を図る(図4参照)。
ステップS04にて、印字率を算出する。すなわち、第1の印字領域29に展開されたイメージの一ドットラインに対し、印字ヘッド8の第1のグループ8a、ならびに第2のグループ8bに対応するグループごとに、実データがセットされている「オンドット」を抽出してこれを計数(カウント)し、
各グループの印字率=オンドット数/グループのドット数・・・(I)式
を算出する。また、
一ドットラインの印字率=(第1のグループ8aのオンドット数+第2のグループ8bのオンドット数)/一ドットラインの総ドット数・・・(II)式
を算出する。さらに、
総平均印字率=(0001ライン目の印字率+・・・+nライン目の印字率)/総ライン数n・・・(III)式
を算出する。すなわち、(II)式の一ドットラインの印字率を1枚分(第1の描画領域29に描画した分)の総ライン数n分加算し、総ライン数で除算して総平均値を算出するものである。
次いで、ステップS05にて、印字率を比較する。すなわち、予め設定されている印字率と、各グループ8a、8bごとに算出した前記各グループの印字率((I)式)とを比較するとともに、設定値(上限値)を超えていた場合は、ステップS06にて警告識別IDを付加し、一方、ステップS05にて、印字率が設定値を超えていないと判定された場合は、ステップS07へ行く。
ステップS07では、印字率のイメージ展開を行う。すなわち、前記グループごと、かつ、1ドットラインごとに算出し、かつ、設定値と比較した印字率を第2の描画領域30に転送するものであり、警告識別IDが発せられた印字率には、接頭部の警告識別ID欄44に*(アスタリスク)を付加する(図5参照)。
ステップS08では、第2の描画領域30にイメージ展開された印字率を印字ヘッド8を介して記録媒体2に印字・出力する。
Next, details of the print rate dump output will be described mainly with reference to FIG.
In step S01, it is determined whether or not “print rate dump output mode” has been set. That is, it is determined whether the start of the same mode is input from an input unit (not shown) or whether the dip switch is set to the same mode when the
In step S02, an initial setting process is executed. That is, the division number (number of groups) of the
In step S03, the image of the print data is developed in accordance with a predetermined print format (see FIG. 4).
In step S04, the printing rate is calculated. That is, the actual data is set for each group corresponding to the
The printing rate of each group = the number of on dots / the number of dots in the group (I) is calculated. Also,
Print rate of one dot line = (number of on dots of
Total average printing rate = (printing rate of the 0001 line +... + Printing rate of the nth line) / total number of lines n... (III). That is, the printing rate of one dot line of the formula (II) is added by the total number of lines n for one sheet (the amount drawn in the first drawing area 29), and the total average value is calculated by dividing by the total number of lines. To do.
Next, in step S05, the printing rates are compared. That is, when the printing rate set in advance is compared with the printing rate (Equation (I)) of each group calculated for each
In step S07, the image of the printing rate is developed. That is, the printing rate calculated for each group and for each dot line and compared with the set value is transferred to the
In step S08, the printing rate image-developed in the
上述したように、所定の印字フォーマットおよび印字データに基づく印字率を、一ドットラインのグループごとに算出するとともに、グループごとに算出された印字率を予め設定してある設定値と比較し、設定値を超えた場合、警告識別IDを発し、グループごと、かつ、一ドットラインごとの印字率を目視可能な数値で出力するようにしたので、どのドットラインが設定の印字率を超えているかが判断でき、前以て、印字フォーマットの印字位置をずらすなどの位置調整を図ることにより、該当ドットラインの印字率、あるいは、同じドットラインであってもグループの印字率を下げることができ、さらに、位置調整を図って変更したのちの印字フォーマットおよび印字データに対し、「印字率ダンプモード」を起動することにより変更後の印字率を知ることもでき、バッテリー26の電圧降下による印字不良を起こすことのないバランスの良い印字を図ることができる。
As described above, the print rate based on a predetermined print format and print data is calculated for each group of one dot line, and the print rate calculated for each group is compared with a preset set value. When the value is exceeded, a warning identification ID is issued, and the printing rate for each group and for each dot line is output as a visually observable numerical value. Which dot line exceeds the set printing rate By adjusting the position such as shifting the print position of the print format in advance, the print rate of the corresponding dot line, or even the same dot line, can reduce the print rate of the group. After changing the print format and print data after starting the position adjustment and starting the “print rate dump mode” You can know the printing rate can be achieved a good printing free balance of causing a printing failure due to a voltage drop of the
また、全ドットラインの総平均印字率を算出すれば、該当印字フォーマットにおける印字の負荷を知る目安、すなわち、当該バッテリー26搭載の当該サーマルプリンタ1での印字に耐えうるか否かの判断がつく。
Further, if the total average printing rate of all the dot lines is calculated, it is possible to determine a standard for knowing the printing load in the corresponding printing format, that is, whether or not the printing with the
なお、上記実施の形態の構成及び動作は例であって、本発明の趣旨を逸脱しない範囲で適宜変更することができることは言うまでもない。 It should be noted that the configuration and operation of the above-described embodiment are examples, and it goes without saying that they can be changed as appropriate without departing from the spirit of the present invention.
例えば、上記実施の形態では、「印字率ダンプ出力モード」の設定は、図示省略の入力手段より入力されて設定されるか、あるいは、サーマルプリンタ1の図示省略の電源投入時にディップスイッチが同モード設定になっているか否かで判定する例で説明したがこれに限定されないことは勿論であり、外部インタフェース27を介して図示省略の外部機器より受取った印字データおよびフォーマットの先頭に、オンラインコマンドのIDとして「印字率ダンプ出力モード」が設定されている場合もある。
For example, in the above embodiment, the “print rate dump output mode” is set by inputting from an input unit (not shown), or the dip switch is set to the same mode when the
1 サーマルプリンタ
2 記録媒体
3 媒体供給部
4 反射センサ(位置検出手段)
5 印字部(印字手段)
6 固定刃
7 制御部
8 サーマル印字ヘッド(印字ヘッド)
9 プラテンローラ(プラテン)
10 ステッピングモータ(モータ)
11 ベルト
12 発行口
20 CPU
21 ROM
22 RAM
23 印字ヘッド制御部
24 センサ制御部
25 モータ制御部
26 バッテリー
27 外部インタフェース
28 バス
29 第1の描画領域
30 第2の描画領域
31 ドット印字素子
32 オーバレイ部
33 印字データ
40 ライン番号
41 一ドットラインの印字率
42 第1のグループの印字率
43 第2のグループの印字率
44 警告識別ID欄
45 総平均印字率
DESCRIPTION OF
5 Printing section (printing means)
6
9 Platen roller (platen)
10 Stepping motor (motor)
11
21 ROM
22 RAM
23 Print
Claims (4)
この印字ヘッドとの間に前記記録媒体を挟持して搬送するプラテンローラと、を備えた印字部により、所定の印字フォーマットを含む印字データを一ドットラインごとに印字するバッテリー駆動のサーマルプリンタにおいて、
前記印字データを前記印字フォーマットに従いイメージ展開する第1の描画領域と、
前記印字ヘッドの連続する前記ドット印字素子を複数列単位の所定のグループに分割したサーマル印字ヘッドと、
前記第1の描画領域にイメージ展開された前記印字フォーマットおよび印字データの一ドットラインにおけるオンドットの数である印字率を、前記グループごとに算出する印字率算出手段と、
前記グループごとに算出された前記印字率を予め設定してある設定値と比較するとともに、印字率が設定値を超えた場合、警告識別IDを発する印字率比較手段と、
前記印字率算出手段にて算出された前記印字率および警告識別IDを一ドットラインごと、かつ、前記グループごとに編集し、前記第1の描画領域に展開されたイメージ分展開する第2の描画領域と、
前記第2の描画領域に展開された前記印字率および警告識別IDを前記サーマル印字ヘッドを介して出力する印字出力手段と、
前記第1の描画領域へのイメージ展開から印字出力手段までの動作を起動する印字率ダンプモードと、を備え、
前記印字率ダンプモードが起動されると、前記印字フォーマットにより印字データの印字率および警告識別IDを記録媒体に印字することを特徴とするサーマルプリンタ。 A print head having a plurality of dot printing elements in the width direction of the recording medium;
In a battery-driven thermal printer that prints print data including a predetermined print format for each dot line by a print unit including a platen roller that sandwiches and conveys the recording medium between the print head,
A first drawing area for developing an image of the print data in accordance with the print format;
A thermal print head in which the dot print elements that are continuous in the print head are divided into a predetermined group of a plurality of rows; and
A print rate calculating means for calculating, for each group, a print rate that is the number of on dots in one dot line of the print format and print data image-developed in the first drawing area;
The printing rate calculated for each group is compared with a preset value, and when the printing rate exceeds the setting value, a printing rate comparison unit that issues a warning identification ID;
A second drawing that edits the printing rate and warning identification ID calculated by the printing rate calculation means for each dot line and for each group, and develops the image developed in the first drawing area. Area,
Print output means for outputting the print rate and warning identification ID developed in the second drawing area via the thermal print head;
A print rate dump mode for starting operations from image development to the first drawing area to print output means,
When the printing rate dump mode is activated, a printing rate of printing data and a warning identification ID are printed on a recording medium according to the printing format.
前記印字データを前記印字フォーマットに従い第1の描画領域にイメージ展開する第1のイメージ展開ステップと、
前記第1の描画領域にイメージ展開された前記印字フォーマットおよび印字データの一ドットラインにおけるオンドットの数である印字率を、前記グループごとに算出する印字率算出ステップと、
前記グループごとに算出された前記印字率を予め設定してある設定値と比較するとともに、印字率が設定値を超えた場合、警告識別IDを発する印字率比較ステップと、
前記印字率算出ステップにて算出された前記印字率および警告識別IDを一ドットラインごと、かつ、前記グループごとに編集し、前記第2の描画領域に展開する第2のイメージ展開ステップと、
前記第2の描画領域に展開された前記印字率および警告識別IDを前記サーマル印字ヘッドを介して出力する印字出力ステップと、
前記第1のイメージ展開ステップから印字出力ステップまでの動作を起動する印字率ダンプステップと、を備えることを特徴とするサーマルプリンタの印字率ダンプ出力方法。 A thermal print head in which a plurality of continuous dot printing elements are divided into a predetermined group of a plurality of columns in the width direction of the recording medium, and a platen roller for sandwiching and transporting the recording medium between the thermal printing heads A thermal printer that prints print data including a predetermined print format for each dot line by using the print unit, and a battery.
A first image development step of developing the print data in a first drawing area according to the print format;
A printing rate calculation step of calculating, for each group, a printing rate that is the number of on dots in one dot line of the printing format and print data that is image-developed in the first drawing area;
A printing rate comparison step for comparing the printing rate calculated for each group with a preset setting value and issuing a warning identification ID when the printing rate exceeds the setting value;
A second image developing step of editing the printing rate and warning identification ID calculated in the printing rate calculating step for each dot line and for each group, and developing the second drawing area;
A print output step of outputting the print rate and warning identification ID developed in the second drawing area via the thermal print head;
A printing rate dumping method for a thermal printer, comprising: a printing rate dumping step for starting operations from the first image development step to the printing output step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005120967A JP4723277B2 (en) | 2005-04-19 | 2005-04-19 | Thermal printer and thermal printer print rate dump output method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005120967A JP4723277B2 (en) | 2005-04-19 | 2005-04-19 | Thermal printer and thermal printer print rate dump output method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006297700A true JP2006297700A (en) | 2006-11-02 |
JP4723277B2 JP4723277B2 (en) | 2011-07-13 |
Family
ID=37466371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005120967A Active JP4723277B2 (en) | 2005-04-19 | 2005-04-19 | Thermal printer and thermal printer print rate dump output method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4723277B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6399965A (en) * | 1986-10-17 | 1988-05-02 | Ricoh Co Ltd | Controlling system for thermal recorder |
JPH06183048A (en) * | 1992-12-15 | 1994-07-05 | Fujitsu Ltd | Thermal printer |
JPH0852894A (en) * | 1994-06-06 | 1996-02-27 | Asahi Optical Co Ltd | Method and apparatus for driving thermal head |
JP2003103886A (en) * | 2001-10-01 | 2003-04-09 | Sato Corp | Method for checking data and printer using it |
-
2005
- 2005-04-19 JP JP2005120967A patent/JP4723277B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6399965A (en) * | 1986-10-17 | 1988-05-02 | Ricoh Co Ltd | Controlling system for thermal recorder |
JPH06183048A (en) * | 1992-12-15 | 1994-07-05 | Fujitsu Ltd | Thermal printer |
JPH0852894A (en) * | 1994-06-06 | 1996-02-27 | Asahi Optical Co Ltd | Method and apparatus for driving thermal head |
JP2003103886A (en) * | 2001-10-01 | 2003-04-09 | Sato Corp | Method for checking data and printer using it |
Also Published As
Publication number | Publication date |
---|---|
JP4723277B2 (en) | 2011-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5319657B2 (en) | Tape printer | |
JP6769352B2 (en) | Printing equipment, printing system, printing control method, and program | |
JP5838545B2 (en) | Mountless label printer | |
JP5606103B2 (en) | Thermal printer | |
US10046577B2 (en) | Printing device, printing system, and control method of a printing device | |
JP2012016874A (en) | Printer and program | |
JP4723277B2 (en) | Thermal printer and thermal printer print rate dump output method | |
JP2004130673A (en) | Tape printing device, program, and recording medium | |
JP6805906B2 (en) | Printing equipment, printing system, printing control method, and program | |
JP4933245B2 (en) | Printer | |
JP2007030263A (en) | Printer and method for controlling the same | |
WO2012132988A1 (en) | Printing control device | |
JPH09109425A (en) | Printer and recording paper used therein | |
JP2010012668A (en) | Printing apparatus, control method of printing apparatus and print control program | |
JP6052371B2 (en) | Mountless label printer | |
JP2014237237A (en) | Thermal printer, testing printing program | |
JP6544470B2 (en) | Label issuing device and label printing method | |
JP2005280099A (en) | Thermal printer | |
JP2011192107A (en) | Control device, recording system, control method of the control device and program | |
JP5054081B2 (en) | Thermal printer | |
JP2018069493A (en) | Printing device, printing control program and printing control method | |
JP2006272842A (en) | Printing device | |
JP2016087930A (en) | Label printer | |
JP2005231180A (en) | Line thermal printer | |
EP2644400A1 (en) | Printer and computer-readable storage medium storing printing control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080409 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101227 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110111 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110304 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110404 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110407 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140415 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4723277 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140415 Year of fee payment: 3 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140415 Year of fee payment: 3 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140415 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140415 Year of fee payment: 3 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140415 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |