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 PDF

Info

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
print
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
Application number
JP2005120967A
Other languages
Japanese (ja)
Other versions
JP4723277B2 (en
Inventor
Hidehiko Kawamura
秀彦 川村
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.)
Sato Corp
Original Assignee
Sato 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 Sato Corp filed Critical Sato Corp
Priority to JP2005120967A priority Critical patent/JP4723277B2/en
Publication of JP2006297700A publication Critical patent/JP2006297700A/en
Application granted granted Critical
Publication of JP4723277B2 publication Critical patent/JP4723277B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To judge which line exceeds a specified printing rate by using a printing rate dumping function and calculating the printing rate after printing data are image-developed on a plotting region. <P>SOLUTION: A thermal printer comprises a first plotting region 29 for image-developing the printing data, a thermal printing head 8 dividing continuous dot printing elements of a printing head into a specified groups with plural line units, a printing rate calculating means for calculating the printing rate on every group, a printing rate comparing means for comparing the printing rate calculated on every group with a set value and emitting an alarm discriminating ID when the printing rate exceeds the set value, a second plotting region for editing and developing the printing rate and the alarm discriminating ID on every one dot line and on every group, a printout means for outputting the printing rate and the alarm discriminating ID, and a printing rate dumping mode for starting operations from the image development to the first plotting region to the printout means. <P>COPYRIGHT: (C)2007,JPO&INPIT

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ライン分の印刷データを分割する分割数を演算によって求め、サーマルヘッドに供給する電流を制御するため、ソフトウエアが複雑であり、かつ、発行に時間が掛かるという問題がある。
そこで、発行時ではなく、予め印字率、すなわち、サーマル印字ヘッドの一ドットラインにおけるドット印字素子の総本数に対する電圧の印加が必要なオンドット印字素子の本数である印字率、を印字して確認できる、いわゆる、印字率ダンプ機能の開発が望まれた。
特開2001−315372号公報
2. Description of the Related Art Conventionally, a small printing apparatus (printer) that is driven by a battery and prints a label to be attached to and displayed on a product at a supermarket site (sales floor) or the like is known.
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 thermal head 1 can be calculated from the values of the battery voltage, the thermal head resistance, the number of on dots, and the like. When a line is printed, the number of divisions for dividing the on dots is calculated, and the current flowing through the heating element of the thermal head corresponding to the divided on dots is finely controlled (for example, , See Patent Document 1).
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.
JP 2001-315372 A

本発明は、上記の問題点に着目して成されたものであり、印字率ダンプ機能を使い、印字したい印字フォーマットおよび印字データを描画領域にイメージ展開した上で印字率を算出することにより、どのラインが指定の印字率を超えているかを予め判断することのできるサーマルプリンタおよびサーマルプリンタの印字率ダンプ出力方法を提供することを課題とする。
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 thermal printer 1 includes a medium supply unit 3 on which a strip-shaped recording medium 2 is mounted, a reflection sensor 4 as a position detection unit, a printing unit 5 as a printing unit, a fixed blade 6, And a control unit 7.
The recording medium 2 is a “continuous label” in which a plurality of unillustrated labels having a thermosensitive coloring layer on the front surface and an adhesive layer on the back surface are temporarily attached to the mount, or a continuous so-called adhesive that is exposed. It is possible to adopt a “continuum without mount”.
The reflection sensor 4 includes a light emitting unit 4 a that emits predetermined light and a light receiving unit 4 b that receives the light, and the light emitting unit 4 a and the light receiving unit 4 b are configured to detect the back side of the recording medium 2. It is arranged between the supply unit 3 and the printing unit 5.
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 print head 8 can print desired print data (described later) on the recording medium 2.
The fixed blade 6 is fixed to a housing (not shown) of the issue port 12 of the recording medium 2 on which desired print data is printed by the print head 8 so that the issued recording medium 2 can be torn off. It has become.
Moreover, the control part 7 is connected with the said each part, and can control operation | movement of each part.
The recording medium 2 mounted on the medium supply unit 3 is pulled out to the printing unit 5 side, is sandwiched between the print head 8 and the platen 9 via the reflection sensor 4, and is pulled out to the issuing port 12. When the motor 10 is rotated by being pressed by the print head 8, the rotation of the motor 10 is transmitted to the platen 9 via the belt 11, and the sandwiched recording medium 2 is conveyed by the heat of the print head 8 while being conveyed. Information is printed.

図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 CPU 20, A random access memory (RAM) 22 for storing data and the like, a print head controller 23 for controlling the print head 8 for executing a printing process, a sensor controller 24 for controlling a signal of the reflection sensor 4, A motor control unit 25 that controls the motor 10, a battery 26, an external interface 27, and the like are mainly provided. Each unit is connected by a bus 28 so that data and commands can be transmitted and received.
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 external interface 27.
Further, the RAM 22 is provided with a first drawing area 29 and a second drawing area 30 which will be described later.

ここで、図3に基づき、印字ヘッド8の概要につき説明する。
同図に示すように、印字ヘッド8は、発熱体である複数のドット印字素子31が幅方向(列方向)に連続して設けられており、所定のドット印字素子31に電圧が印加されると電流が供給され、そのドット印字素子31を介して記録媒体2に黒のドットが印字されるようになっている。電流が供給されたドット印字素子31を「オンドット」と称する。
印字ヘッド8は、バッテリー26の消耗、すなわち、電圧のドロップに配慮して複数列単位のドット印字素子31をグループ化した所定のグループ数に分割してあり、図示の例では、図3における左側の第1のグループ8aと、第2のグループ8bとに2分割してある。
Here, an outline of the print head 8 will be described with reference to FIG.
As shown in the figure, the print head 8 is provided with a plurality of dot printing elements 31 that are heating elements provided continuously in the width direction (column direction), and a voltage is applied to the predetermined dot printing elements 31. Current is supplied, and black dots are printed on the recording medium 2 via the dot printing element 31. The dot printing element 31 to which the current is supplied is referred to as “on dot”.
The print head 8 is divided into a predetermined number of groups in which the dot print elements 31 of a plurality of columns are grouped in consideration of the consumption of the battery 26, that is, the voltage drop. In the illustrated example, the left side in FIG. The first group 8a and the second group 8b are divided into two.

次ぎに、図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 first drawing area 29. When the “print rate dump output mode” to be described later is set, the print format and print data to be printed on the recording medium 2 by the thermal printer 1 are developed into an image. In the illustrated example, the overlay unit 32 and the print data 33 (“123” in the illustrated example) are developed.
The controller 7 calls the image developed in the first drawing area 29 for each dot line, and calculates the “printing rate” that is the number of “on dots” in which the actual data is developed. It has become.
Here, the processing outline of the control unit 7 will be described.
(1) Initial setting process (a) Head division number setting The division number of the print head 8 is stored. The number of divisions of the print head 8 is set in advance depending on the model.
(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 battery 26, for example, within 30%.
(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 predetermined group 8a, 8b set in advance from the number of ON dots of one dot line in the first drawing area 29 (printing rate calculation step).
(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 groups 8a and 8b. When the printing rate exceeds the set value (upper limit value), a warning is identified. ID is issued (print rate comparison step).
(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 groups 8a and 8b. The image is edited and image-developed in a later-described second drawing area 30 so as to be visible (second image development step).
(7) Print rate output The print rate and warning identification ID developed in the second drawing area 30 are printed on the recording medium 2 via the print head 8 (print output step).

ここで、図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 second drawing area 30, and the “printing rate” for one print format and print data developed in the first drawing area 29 is the first drawing area 29. Each of the first and second groups 8a and 8b of the print head 8 is shown, and the line number 40 assigned to each dot line and the entire one dot line are shown. The print rate 41, the print rate 42 corresponding to the first group 8a of the divided print head 8, the print rate 43 corresponding to the second group 8b, and the warning identification ID column 44 are configured. The warning identification ID column 44 includes the line number 40 and the print rate 41 of the entire one dot line, the print rate 41 and the print rate 42 of the first group 8a, and the print rate 42 and the second group 8b. They are provided between the printing ratios 43 respectively.
Reference numeral 45 denotes a total average print rate for one sheet of print format and print data developed in the second drawing area 30.

次ぎに、主に、図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 thermal printer 1 is turned on (not shown). If “mode” is set, the process proceeds to the next step (step S02), and if not set, the process ends.
In step S02, an initial setting process is executed. That is, the division number (number of groups) of the print head 8 and the set value (upper limit value) of the print rate that are stored in the ROM 21 or set in advance by a dip switch or the like are stored in the RAM 22.
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 first group 8a and the second group 8b of the print head 8 with respect to one dot line of the image developed in the first print area 29. Extract "on dots" and count (count)
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 first group 8a + number of on dots of second group 8b) / total number of dots of one dot line (II) is calculated. further,
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 group 8a, 8b, and the set value (upper limit value) is exceeded. In step S06, a warning identification ID is added. On the other hand, if it is determined in step S05 that the printing rate does not exceed the set value, the process goes to step S07.
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 second drawing area 30, and the printing rate for which the warning identification ID is issued includes * (Asterisk) is added to the warning identification ID column 44 of the prefix (see FIG. 5).
In step S08, the printing rate image-developed in the second drawing area 30 is printed and output to the recording medium 2 via the print head 8.

上述したように、所定の印字フォーマットおよび印字データに基づく印字率を、一ドットラインのグループごとに算出するとともに、グループごとに算出された印字率を予め設定してある設定値と比較し、設定値を超えた場合、警告識別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 battery 26.

また、全ドットラインの総平均印字率を算出すれば、該当印字フォーマットにおける印字の負荷を知る目安、すなわち、当該バッテリー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 thermal printer 1 equipped with the battery 26 can be tolerated.

なお、上記実施の形態の構成及び動作は例であって、本発明の趣旨を逸脱しない範囲で適宜変更することができることは言うまでもない。 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 thermal printer 1 is turned on (not shown). The example in which the determination is made based on whether or not the setting is made has been described. However, the present invention is not limited to this, and the online command is displayed at the head of the print data and format received from the external device (not shown) via the external interface 27. The “print rate dump output mode” may be set as the ID.

本発明のサーマルプリンタの全体を示す側面の概略説明図である。1 is a schematic side view illustrating an entire thermal printer of the present invention. 同、図1の電気的な構成例を示すブロック図である。FIG. 2 is a block diagram showing an example of the electrical configuration of FIG. 1. 同、印字ヘッドの概略説明図である。FIG. 2 is a schematic explanatory diagram of the print head. 同、第1の描画領域における印字フォーマットおよび印字データのイメージ展開を示す概略説明図である。FIG. 6 is a schematic explanatory diagram showing a print format and image development of print data in the first drawing area. 同、第2の描画領域における印字率のイメージ展開を示す概略説明図である。FIG. 6 is a schematic explanatory diagram illustrating image development of a printing rate in the second drawing area. 同、印字率ダンプ出力処理を示すフローチャートである。It is a flowchart which shows a printing rate dump output process similarly.

符号の説明Explanation of symbols

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 SYMBOLS 1 Thermal printer 2 Recording medium 3 Medium supply part 4 Reflection sensor (position detection means)
5 Printing section (printing means)
6 Fixed blade 7 Control unit 8 Thermal print head (print head)
9 Platen roller (platen)
10 Stepping motor (motor)
11 Belt 12 Issuing port 20 CPU
21 ROM
22 RAM
23 Print head control unit 24 Sensor control unit 25 Motor control unit 26 Battery 27 External interface 28 Bus 29 First drawing area 30 Second drawing area 31 Dot printing element 32 Overlay part 33 Print data 40 Line number 41 One dot line Printing rate 42 First group printing rate 43 Second group printing rate 44 Warning identification ID column 45 Total average printing rate

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記載のサーマルプリンタ。   2. The thermal printer according to claim 1, further comprising a total average printing rate calculating means for calculating a total average printing rate of all the dot lines. 前記予め設定された印字率の設定値は、前記バッテリーの許容電圧より設定されることを特徴とする請求項1記載のサーマルプリンタ。 The thermal printer according to claim 1, wherein the preset printing rate setting value is set by an allowable voltage of the battery. 記録媒体の幅方向に複数本の連続するドット印字素子を複数列単位の所定のグループに分割したサーマル印字ヘッドと、このサーマル印字ヘッドとの間に前記記録媒体を挟持して搬送するプラテンローラと、を備えた印字部と、バッテリーと、を備え、前記印字部により所定の印字フォーマットを含む印字データを一ドットラインごとに印字するサーマルプリンタであって、
前記印字データを前記印字フォーマットに従い第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.
JP2005120967A 2005-04-19 2005-04-19 Thermal printer and thermal printer print rate dump output method Active JP4723277B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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