JP2002248800A - Line printer and method of printing therefor - Google Patents

Line printer and method of printing therefor

Info

Publication number
JP2002248800A
JP2002248800A JP2001050518A JP2001050518A JP2002248800A JP 2002248800 A JP2002248800 A JP 2002248800A JP 2001050518 A JP2001050518 A JP 2001050518A JP 2001050518 A JP2001050518 A JP 2001050518A JP 2002248800 A JP2002248800 A JP 2002248800A
Authority
JP
Japan
Prior art keywords
data
print
dot
abnormal
printing
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.)
Withdrawn
Application number
JP2001050518A
Other languages
Japanese (ja)
Inventor
Hiroaki Hosomi
浩昭 細見
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001050518A priority Critical patent/JP2002248800A/en
Publication of JP2002248800A publication Critical patent/JP2002248800A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem of inability, when a few print dot elements are broken and the other print dot elements are good, to adequately print so that a print head have to be replaced as the end of the life and the term of the life is reduced when the printing data is concentrated to a certain dot and to extend the life of the head. SOLUTION: In an adequate printing (1) by original print data, when 10th and 31st heating elements are broken, the printed result becomes one shown by (2) in the drawing as it is. Data '0' is inputted to the 10th and 31st elements. Data to be inputted to the 10th element is inputted to the 11th element and after that the data is shifted by one in the same manner. As the data '0' is already inputted to 31st element, the data is inputted to the 32nd element. As a result, it is possible to obtain the converted result without a trouble and the desired printed result shown by (3) when the adequate content of the original printed pattern (1) is confirmed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、POSやECR等
に搭載され、レシート等の記録紙にデータを印字するプ
リンタに関するものであり、更に詳細には、ラインサー
マルプリンタ等のように、固定されたラインヘッドによ
り、1ドットライン毎に印字を行うプリンタの印字制御
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer which is mounted on a POS or an ECR and prints data on a recording paper such as a receipt. More specifically, the present invention relates to a fixed printer such as a line thermal printer. The present invention relates to a printing control method for a printer that performs printing for each dot line using a line head.

【0002】[0002]

【従来の技術】サーマルラインプリンタの場合、サーマ
ルヘッドは、直線状に配列された複数の発熱素子やこれ
ら発熱素子を発熱制御するドライバーIC等から構成さ
れており、ドライバーIC内には発熱素子と1対1に対
応するシフトレジスタセルやスイッチング素子を有して
おり、前記シフトレジスタセルが直列的に接続されてシ
フトレジスタを構成している。
2. Description of the Related Art In the case of a thermal line printer, a thermal head is composed of a plurality of heating elements arranged linearly, a driver IC for controlling the heating of these heating elements, and the like. It has shift register cells and switching elements that correspond one-to-one, and the shift register cells are connected in series to form a shift register.

【0003】上記のようなサーマルヘッドを用いた従来
の印字方法として、プリンタ本体からの1ドットライン
分の印字データがドライバーICに入力されると、ドラ
イバーIC内のシフトレジスタが先頭のシフトレジスタ
セルに1ビットずつ順番に入力し、これをシフトレジス
タセル間でシリアル転送することによって、各セルに1
ドットライン分の印字データが格納される。そして、ク
ロック信号に同期して、スイッチング素子が各シフトレ
ジスタセルに格納した印字データに基づいて、各発熱素
子への通電を制御する。これにより、1ドットライン毎
に、所定の発熱素子を選択的に発熱させ、これを記録媒
体である感熱紙に伝導させることにより、発熱した感熱
素子に対応する感熱紙部分が発色し、印字が形成され
る。
As a conventional printing method using a thermal head as described above, when print data for one dot line is input to a driver IC from a printer main body, a shift register in the driver IC is shifted to a first shift register cell. Are input in order one bit at a time, and this is serially transferred between shift register cells, so that each cell has 1 bit.
The print data for the dot line is stored. Then, in synchronization with the clock signal, the switching element controls energization to each heating element based on the print data stored in each shift register cell. As a result, a predetermined heating element is selectively heated for each dot line, and the heat is transmitted to the thermal paper as a recording medium, so that the heat-sensitive paper portion corresponding to the heated thermal element is colored, and printing is performed. It is formed.

【0004】ところで、上述した印字方法では、例え
ば、罫線等を含む印字では、特定の発熱素子が発熱する
頻度が高くなり、その結果、短時間のうちに寿命破壊に
至る場合があった。そこで、印字時、特定の発熱素子へ
集中するのを抑える各種印字方法が提案されている。例
えば、特開平8−34135号公報、特開平8−174
953号公報、特開平10−166638号公報では、
1ドットラインの印字開始位置を定期的にずらすことに
より、発熱素子の使用頻度を平準化して、特定の発熱素
子に発熱が集中するのを防止している。また、特開平1
0−272798号公報では、サーマルヘッド内部に定
期的に印字データ数ビットずらす選択回路を設けてい
る。
In the printing method described above, for example, in a printing including a ruled line or the like, a specific heating element generates heat more frequently, and as a result, its life may be destroyed in a short time. Therefore, various printing methods have been proposed for suppressing concentration on a specific heating element during printing. For example, JP-A-8-34135, JP-A-8-174
No. 953, Japanese Patent Application Laid-Open No. 10-166638,
By periodically shifting the printing start position of one dot line, the frequency of use of the heating elements is leveled, thereby preventing heat generation from being concentrated on a specific heating element. Also, Japanese Patent Application Laid-Open
In Japanese Patent Application Laid-Open No. 0-272798, a selection circuit for periodically shifting print data by several bits is provided inside the thermal head.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前述し
たような従来技術の印字方法では、あくまで、特定の発
熱素子への集中を緩和するのみであり、特定の発熱素子
が早く寿命破壊に至ることは防止できるが、異物を巻き
込む等により、ヘッド表面にスクラッチ傷をつけて起こ
るイレギュラーな発熱素子破壊に対しては効果が無い。
However, in the printing method of the prior art as described above, only the concentration on the specific heating element is reduced, and the life of the specific heating element is quickly destroyed. Although it can be prevented, it has no effect on irregular heating element destruction caused by scratching the surface of the head due to entrapment of foreign matter or the like.

【0006】発熱素子破壊があった場合の印字例を図2
にて説明する。図2(1)では、本来印字すべき正しい
印字パターンを示している。ここで発熱素子番号10お
よび31が破壊されていると、印字は図2(2)のよう
になる。このような場合、正しい文字の判別ができず、
誤読が起きる。
FIG. 2 shows an example of printing when a heating element is destroyed.
It will be explained in. FIG. 2A shows a correct print pattern to be printed. Here, if the heating element numbers 10 and 31 are destroyed, printing will be as shown in FIG. In such a case, the correct character cannot be determined,
Misreading occurs.

【0007】そこで、本発明は、特定の発熱素子が破壊
されていた場合であっても、少なくとも誤読をすること
のない印字ができる印字方法を提供することを目的とし
ている。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a printing method capable of performing printing without erroneous reading even when a specific heating element is broken.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に、請求項1の発明では、直線状に配列された複数の印
字ドット素子を具備するラインヘッドを搭載し、基準ク
ロックに基づいて1ドットライン毎に印字を行うライン
プリンタにおいて、ラインプリンタの印字動作以前に予
め、印字ドット素子の正常または異常を、印字ドット素
子毎に計測し、印字ドット素子データとして作成するデ
ータ作成手段と、印字ドット素子データを記憶する素子
データ記憶手段と、素子データの中に異常ドット素子の
有無を判定する判定手段と、素子データの中に異常ドッ
トがある場合、ラインプリンタで印字させようとする原
印字データを、素子データに基づいて変換印字データに
変換するデータ変換手段と、変換印字データを出力する
出力手段とを有することを特徴とする。
According to a first aspect of the present invention, there is provided a line head having a plurality of print dot elements arranged in a straight line, wherein one line head is provided based on a reference clock. In a line printer that performs printing for each dot line, before or after the printing operation of the line printer, a normal or abnormal state of the printing dot element is measured for each printing dot element, and data creation means for creating printing dot element data, and printing. Element data storage means for storing dot element data, determination means for determining the presence or absence of abnormal dot elements in element data, and original printing for printing by a line printer when there is an abnormal dot in element data Data conversion means for converting data into converted print data based on element data, and output means for outputting converted print data It is characterized in.

【0009】また、請求項2の発明では、変換印字デー
タは、原印字データの中で、異常のある印字ドット素子
の位置にあるデータから、1ドットずつ順次ずらした位
置にデータを入れて作成されることを特徴とする。
According to the second aspect of the present invention, the converted print data is created by inserting data at positions shifted one dot at a time from the data at the position of the abnormal print dot element in the original print data. It is characterized by being performed.

【0010】そして、請求項3の発明では、変換印字デ
ータは、原印字データの中で、異常のある印字ドット素
子の位置にあるデータと、その次のデータを合わせたデ
ータを、異常のある印字ドット素子の位置の次の位置に
入れて作成されることを特徴とする。
According to the third aspect of the present invention, the converted print data is a combination of the data at the position of the abnormal print dot element and the next data in the original print data. It is created by being inserted in the position next to the position of the printing dot element.

【0011】更に、請求項4の発明では、印字動作をカ
ウントするカウンタを有し、カウンタの数値が所定の値
に到達すると、印字ドット素子の正常または異常の計測
を行うように設定されていることを特徴とする。
Further, according to the present invention, a counter for counting the printing operation is provided, and when the value of the counter reaches a predetermined value, it is set so as to measure whether the printing dot element is normal or abnormal. It is characterized by the following.

【0012】加えて、請求項5の発明では、原印字デー
タの信号を印字ヘッドへ出力するか、変換印字データの
信号を印字ヘッドへ出力するかを選択的に切り替えでき
ることを特徴とする。
In addition, the invention according to claim 5 is characterized in that it is possible to selectively switch between outputting the signal of the original print data to the print head and outputting the signal of the converted print data to the print head.

【0013】請求項6では、印字ヘッドとしてサーマル
ヘッドを用い、印字ドット素子の正常または異常の判定
に発熱素子の抵抗値を計測することを特徴とする。
According to a sixth aspect of the present invention, a thermal head is used as a print head, and the resistance value of the heating element is measured to determine whether the print dot element is normal or abnormal.

【0014】請求項7では、印字素子データの中で異常
印字ドット素子の数が、所定個数以上、もしくは、異常
印字ドット素子の連続があった場合、オペレータに告知
する告知手段を有することを特徴とする。
According to a seventh aspect of the present invention, there is provided a notifying means for notifying an operator when the number of abnormal print dot elements in the print element data is equal to or more than a predetermined number or when there are consecutive abnormal print dot elements. And

【0015】[0015]

【作用】請求項1の発明では、たとえヘッドの印字ドッ
ト素子が数個破壊されていても、それに対応して、印字
パターンを変換して、印字ができるようになる。
According to the first aspect of the present invention, even if several print dot elements of the head are destroyed, the print pattern can be converted and printed correspondingly.

【0016】請求項2または請求項3の発明では、印字
データ変換を具体的方法が示されており、誤読の無い印
字データが作成できる。
In the second or third aspect of the present invention, a specific method for converting print data is described, and print data without erroneous reading can be created.

【0017】請求項4の発明では、定期的に印字ドット
素子を計測できる。
According to the fourth aspect of the present invention, the print dot element can be measured periodically.

【0018】請求項5の発明では、文字を印字する場合
や、グラフィックを印字する場合に最適な印字ができ
る。
According to the fifth aspect of the present invention, optimal printing can be performed when printing characters or when printing graphics.

【0019】請求項6の発明では、本発明を最も有効で
あるサーマルプリンタに適用ことを示しており、印字ド
ット素子の正常異常の判定が容易にできる。
The invention of claim 6 shows that the present invention is applied to the most effective thermal printer, and it is possible to easily determine whether or not the printing dot element is normal or abnormal.

【0020】請求項7の発明では、ヘッド交換のタイミ
ングを事前にオペレータに伝えることができる。
According to the seventh aspect of the present invention, the timing of head replacement can be notified to the operator in advance.

【0021】[0021]

【発明の実施の形態】以下に、本発明に係る印字制御方
法を、図面に基づいて詳細に説明する。図1は本発明の
印字制御に用いられるサーマルヘッドおよびその制御回
路を示すブロック図である。サーマルヘッド1は共通電
極2に抵抗体R1からRnが接続されており、この各抵
抗体Rが発熱素子となる。各抵抗体Rは個別電極3を介
して、ドライバーIC4内のスイッチング素子A1から
Anに個別に接続される。各スイッチング素子Aの出力
端子は制御回路8のSTROBE信号に接続される。
尚、L1からLnは各抵抗体Rに対応したラッチ回路で
あり、LATCH信号に接続される。また、S1からS
nは各々が各抵抗体Rに対応するシフトレジスタセルで
あり、直列接続されて、シフトレジスタを構成してい
る。シフトレジスタはCLOCK信号とDATA IN
信号に接続される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A printing control method according to the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a thermal head used for printing control of the present invention and a control circuit thereof. In the thermal head 1, resistors R1 to Rn are connected to a common electrode 2, and each of the resistors R serves as a heating element. Each resistor R is individually connected to the switching elements A1 to An in the driver IC 4 via the individual electrode 3. The output terminal of each switching element A is connected to the STROBE signal of the control circuit 8.
L1 to Ln are latch circuits corresponding to the respective resistors R, and are connected to the LATCH signal. Also, from S1 to S
n is a shift register cell corresponding to each resistor R, and is connected in series to form a shift register. The shift register uses the CLOCK signal and DATA IN
Connected to signal.

【0022】サーマルヘッド1の共通電極2は回路部の
Vh端子に接続され、電流計5を介してヘッド供給電源
6に接続される。電流計5の出力はA/Dコンバータ7
でデジタル信号に変換され、制御回路8に送られる。本
例に示す印字制御方法では、各発熱素子が正常動作する
か否かを抵抗値計測から判別し、その状況に応じた印字
制御を行うことを特徴としており、抵抗値計測方法を次
に説明する。
The common electrode 2 of the thermal head 1 is connected to a Vh terminal of the circuit section, and is connected to a head power supply 6 via an ammeter 5. The output of the ammeter 5 is an A / D converter 7
Is converted into a digital signal and sent to the control circuit 8. The print control method shown in this example is characterized in that whether or not each heating element operates normally is determined from the resistance value measurement, and print control is performed according to the situation. I do.

【0023】まず、各抵抗体Rの中の1個のみに、発熱
に至らない程度の定電圧通電を行い、その電流値を電流
計5で読み取ることにより各抵抗体Rのそれぞれの抵抗
値を求める。発熱素子が破壊されると、抵抗値は急激に
大きくなるので、A/Dコンバータ7でデジタル信号化
された抵抗値が所定のしきい値よりも大きな抵抗値にな
っているかどうかで判別できる。しきい値の設定は、発
熱素子が完全に破壊される少し手前に設定しておく。各
抵抗体Rがしきい値よりも大きな抵抗値になっていない
場合は、正常な発熱素子であると判定し、制御回路8か
ら抵抗データメモリ9に「1」を記憶させる。また、し
きい値よりも大きな抵抗値になっている場合は、まもな
く破壊される発熱素子であると判定し、「0」を記憶さ
せる。
First, a constant voltage is applied to only one of the resistors R so as not to generate heat, and the current value is read by an ammeter 5 to determine the resistance value of each resistor R. Ask. When the heating element is destroyed, the resistance value rapidly increases. Therefore, it is possible to determine whether or not the resistance value converted into a digital signal by the A / D converter 7 is larger than a predetermined threshold value. The threshold value is set slightly before the heating element is completely destroyed. If each resistor R does not have a resistance value larger than the threshold value, it is determined that the element is a normal heating element, and “1” is stored in the resistance data memory 9 from the control circuit 8. If the resistance value is larger than the threshold value, it is determined that the heating element is to be destroyed soon, and “0” is stored.

【0024】上記の計測を、抵抗体R1からRnまで順
番に行うと、「1」または「0」がが発熱素子の総数で
あるn個連なるデータとなり、その数列が抵抗データメ
モリ9に記憶される。全ての発熱素子が正常動作できる
場合には「1」がn個連なるデータとなる。抵抗データ
に1個でも「0」がある場合、そのまま印字をつづけて
いくと、その部分に印字データがある場合、ドット抜け
になる。この例を図2を用いて説明する。
When the above measurement is performed in order from the resistors R 1 to Rn, “1” or “0” becomes n consecutive data which is the total number of the heating elements, and the sequence of the numbers is stored in the resistance data memory 9. You. When all the heating elements can operate normally, the data becomes n consecutive data of "1". If there is at least one "0" in the resistance data, printing is continued. If there is print data in that part, a dot is missing. This example will be described with reference to FIG.

【0025】図2では従来の印字方法で「abcd」と
いう単語を印字している例を示している。図2(1)で
は全ての発熱素子が正常印字できる場合の例である。図
2(2)では発熱素子の10番目と31番目が破壊され
ている場合の例である。本例のようなラインサーマルプ
リンタの場合、破壊された発熱素子の列はすべてドット
抜けとなり、正しい「abcd」という単語を判別でき
ない。このような場合、誤読となるため、従来ではヘッ
ド寿命ということで、ヘッド交換が必要であった。
FIG. 2 shows an example in which the word "abcd" is printed by a conventional printing method. FIG. 2A shows an example in which all the heating elements can perform normal printing. FIG. 2B shows an example in which the 10th and 31st heating elements are broken. In the case of the line thermal printer as in this example, the rows of the destroyed heating elements are all missing dots, and the correct word “abcd” cannot be determined. In such a case, an erroneous reading is performed, and therefore, in the related art, it is necessary to replace the head in terms of the head life.

【0026】本発明では、従来のこのような誤読を防止
するためのものであり、前述した印字データメモリに格
納されているデータにより、印字データをDATA変換
回路10により変換した後、DATA IN端子からサ
ーマルヘッド1に送信することにより、誤読の無い印字
を実現するものである。
The present invention is intended to prevent such erroneous reading in the related art. After the print data is converted by the DATA conversion circuit 10 using the data stored in the print data memory described above, the DATA IN terminal is used. From the printer to the thermal head 1 to realize printing without erroneous reading.

【0027】この方法を図3のフローチャートを用いて
説明する。Step1でプリンタに電源が入ると、プリ
ンタはイニシャライズ(初期設定)動作をする。プリン
タの初期段階では、サーマルヘッド1の各発熱素子は全
て正常であっても、長く使用していると、サーマルヘッ
ド1の表面にスクラッチ傷がついたり、印加パルスが耐
パルス数を超える等の理由で特定の発熱素子が破壊に至
っている場合がある。そこで、Step2ではあるタイ
ミングに到達したかどうかの判定を行い、抵抗値計測タ
イミングに到達した場合は、Step3で各抵抗体Rの
全抵抗値を計測する。抵抗値計測方法は前述したとおり
である。
This method will be described with reference to the flowchart of FIG. When the printer is turned on in Step 1, the printer performs an initialization (initial setting) operation. In the initial stage of the printer, even if all the heat generating elements of the thermal head 1 are normal, if the thermal head 1 is used for a long time, the surface of the thermal head 1 may be scratched or the applied pulse may exceed the withstand pulse number. In some cases, a specific heating element has been destroyed. Therefore, it is determined in Step 2 whether or not a certain timing has been reached, and when the resistance value measurement timing has been reached, the total resistance value of each resistor R is measured in Step 3. The resistance value measuring method is as described above.

【0028】抵抗値測定を行った後、Step4で、発
熱素子総数n個の数列データである抵抗データを作成す
る。この抵抗データはStep5で、抵抗データメモリ
9に記録され、保存される。この時、旧データは新デー
タに書き直しがなされる。その後、Step6にてカウ
ンタ値を0に戻す。これは、イニシャライズ動作時に毎
回抵抗値計測していたのでは、時間がかかり、また、サ
ーマルヘッド1の発熱素子に負担をかける為、ある期間
プリンタが動作したタイミングで、抵抗値計測を行うよ
うにしている。一度、抵抗値計測を行いデータが新しく
なると、次のタイミングを測定する為に、カウンタをリ
セットさせる。
After the resistance value is measured, in Step 4, resistance data, which is a sequence data of the total number n of the heating elements, is created. This resistance data is recorded and stored in the resistance data memory 9 in Step 5. At this time, the old data is rewritten to the new data. Thereafter, the counter value is returned to 0 in Step 6. This is because it takes time if the resistance value is measured every time the initialization operation is performed, and the load on the heating element of the thermal head 1 is increased. ing. Once the resistance value is measured and the data becomes new, the counter is reset to measure the next timing.

【0029】Step7では、抵抗データメモリ9の抵
抗データに「0」が有るか無いかの判定を行う。「0」
が有る場合、破壊された発熱素子があるということなの
で、ホストからのDATAをそのままサーマルヘッド1
に出力すると、誤読となる場合があるので、Step8
で、DATA変換回路により、印字データを変換する。
変換された印字データは再び、ヘッド制御回路8に戻さ
れる。尚、このデータ変換は、後に、図4を用いて説明
する。
In Step 7, it is determined whether or not the resistance data in the resistance data memory 9 has "0". "0"
If there is, it means that there is a destroyed heating element.
, It may be erroneously read.
Then, the print data is converted by the DATA conversion circuit.
The converted print data is returned to the head control circuit 8 again. This data conversion will be described later with reference to FIG.

【0030】そして、Step9で、印字データはDA
TA IN端子から出力される。Step10で、一連
の印字動作が終了すると、Step11で、次に抵抗値
計測するタイミングを決めるカウンタの数値を1増や
す。
Then, in Step 9, the print data is DA
Output from the TA IN terminal. When a series of printing operations is completed in Step 10, the counter value for determining the next timing of measuring the resistance value is increased by 1 in Step 11.

【0031】DATA変換回路10によるデータ変換
を、図4により説明する。DATA変換回路10によ
り、印字データを変換するのは、抵抗値データに「0」
がある場合である。図では発熱素子の10番目と31番
目が破壊されている場合の抵抗値データである。オリジ
ナル印字データ100は「1」または「0」のデータD
が印字総数のm個並んだ数列データである。ここで、印
字ドット有りの場合のDの値は「1」、印字ドット無し
の場合のDの値は「0」である。
Data conversion by the data conversion circuit 10 will be described with reference to FIG. The print data is converted by the DATA conversion circuit 10 when the resistance value data is “0”.
If there is. The figure shows resistance value data when the 10th and 31st heating elements are broken. The original print data 100 is data D of "1" or "0".
Is sequence data in which m pieces of the total number of prints are arranged. Here, the value of D when there is a print dot is “1”, and the value of D when there is no print dot is “0”.

【0032】抵抗値データでは10番目と31番目が
「0」になっている。この時、変換印字データ101は
Dの値がいかなる値であっても、10番目と31番目に
は「0」を入れる。その為、本来10番目に入れるべき
データD10は次のデータとして11番目に入れられ
る。11番目以降も同様に、1ずつずれて、変換印字デ
ータ101のデータとして入れられる。データD30は
既に、31番目に「0」が入っているので、次の32番
目のデータとして入れられる。こうして、順番にデータ
Dmまでのオリジナル印字データ100から、抵抗値デ
ータの情報を基にして、変換印字データ101が作成さ
れる。変換印字データの印字総数はm個からm+X個に
増える。Xは抵抗値データの「0」の個数である。
In the resistance value data, the 10th and 31st are "0". At this time, in the converted print data 101, “0” is inserted into the 10th and 31st data, regardless of the value of D. Therefore, the data D10 that should be originally placed in the tenth is placed in the eleventh as the next data. Similarly, the eleventh and subsequent data are shifted as data of the converted print data 101 by one. Since the data D30 already has "0" in the 31st, it is entered as the next 32nd data. In this way, the converted print data 101 is sequentially created from the original print data 100 up to the data Dm based on the information of the resistance value data. The total number of converted print data is increased from m to m + X. X is the number of “0” in the resistance value data.

【0033】上記の変換印字データ101の印字例を図
2を用いて説明する。オリジナル印字データ100を印
字する場合の印字パターンを図2(2)とすると、変換
印字データ101を印字する場合の印字パターンは図2
(3)となる。文字「d」のように、本来の正しい印字
パターンである図2(1)とは僅かに形が異なる文字が
できる場合があるが、その内容を確認するにあたっては
何ら支障のないものであり、少なくとも、文字の誤読と
いった致命的問題は防止される。これにより、発熱素子
がたとえ数個破壊されても、直ぐにヘッド交換をする必
要はなく、長期間にわたり、同じサーマルヘッドを使い
続けることができる。
An example of printing the converted print data 101 will be described with reference to FIG. Assuming that the print pattern for printing the original print data 100 is as shown in FIG. 2B, the print pattern for printing the converted print data 101 is as shown in FIG.
(3). There may be a case where a character such as the character "d" has a slightly different shape from that of FIG. 2A, which is an original correct print pattern, but there is no problem in confirming the content. At least, fatal problems such as misreading characters are prevented. Thus, even if several heating elements are destroyed, it is not necessary to replace the head immediately, and the same thermal head can be used for a long time.

【0034】以上、本発明の一例を説明したが、印字デ
ータの変換方法には、説明した以外にも他の方法が各種
考えられる。他の方法の例として、図5を用いて説明す
る。
As described above, an example of the present invention has been described. However, as a method of converting print data, various methods other than those described above can be considered. An example of another method will be described with reference to FIG.

【0035】図5(1)はオリジナル印字データ100
での正常な印字である。ここで、10番目と31番目の
発熱素子が破壊されていると、変換印字データ102で
はオリジナル印字データ100の10番目と11番目の
データを変換印字データ102の11番目に入れる。同
様に、オリジナル印字データ100の31番目と32番
目の印字データを変換印字データ102の32番目とし
て入れる。これにより、印字は図5(2)のようにな
り、これでも、誤読を防止できる印字がされることにな
る。更に、この方法ではオリジナル印字データのデータ
総数と変換印字データのデータ総数が同じになるという
長所もある。
FIG. 5A shows the original print data 100.
Is normal printing. Here, if the 10th and 31st heating elements are destroyed, the converted print data 102 puts the 10th and 11th data of the original print data 100 into the 11th of the converted print data 102. Similarly, the 31st and 32nd print data of the original print data 100 are entered as the 32nd of the converted print data 102. As a result, the printing is as shown in FIG. 5 (2), and even in this case, printing can be performed to prevent erroneous reading. Further, this method has an advantage that the total number of original print data and the total number of converted print data become the same.

【0036】図5(3)は印字データの変換方法を説明
する説明図であり、オリジナル印字データ100の中
で、プリンタの発熱素子が破壊され、正常印字できない
位置、即ち、異常ドット素子の位置に相当するデータを
D10で示している。変換印字データ102では、デー
タD10とこのデータD10の次の位置に相当するデー
タD11を、異常ドット素子の位置の次の位置に入れて
作成されていることを示している。 上記の説明では、
抵抗値データに「0」がある場合は、自動的に印字デー
タを変換する印字制御方法について説明した。これは図
2に示す「abcd」といった文字を印字する場合は誤
読防止という観点で有効であるが、グラフィック印字の
場合には、グラフィック形状そのものが重要であり、ド
ット抜けがあっても形状を変更しない方が良いという場
合もある。そのような場合を考慮し、抵抗値データに
「0」があっても、スイッチ等でオペレータがオリジナ
ル印字データ100を選択して印字できるようにプリン
タを構成する。
FIG. 5C is an explanatory diagram for explaining a method of converting print data. In the original print data 100, a position where a heating element of a printer is destroyed and printing cannot be performed normally, that is, a position of an abnormal dot element. Is indicated by D10. The converted print data 102 indicates that the data D10 and the data D11 corresponding to the next position of the data D10 are created in the position next to the position of the abnormal dot element. In the above description,
The print control method for automatically converting the print data when the resistance value data has “0” has been described. This is effective from the viewpoint of preventing erroneous reading when printing characters such as "abcd" shown in FIG. 2, but in the case of graphic printing, the graphic shape itself is important, and the shape is changed even if there is a missing dot. Sometimes it is better not to do it. In consideration of such a case, the printer is configured so that the operator can select and print the original print data 100 using a switch or the like even if the resistance value data has “0”.

【0037】サーマルヘッド発熱素子の抵抗値測定は、
あるタイミングで計測する為のカウンタを設けている例
を示したが、カウンタを設けずに、手動で、オペレータ
が任意の時間に抵抗値計測しても良い。例えば、ECR
のプリンタの場合、突然抵抗値測定に入ってしまうと、
レシート発行動作が中断し、お客を待たせるといった弊
害が起きる場合がある。そのような場合、手動スイッチ
により、店舗の開店前の準備時間等に計測すれば良い。
Measurement of the resistance value of the thermal head heating element is as follows.
Although an example is shown in which a counter for measuring at a certain timing is provided, an operator may manually measure the resistance value at an arbitrary time without providing a counter. For example, ECR
If the printer suddenly enters resistance measurement,
The receipt issuance operation may be interrupted, causing an adverse effect such as making the customer wait. In such a case, the measurement may be performed by a manual switch at a preparation time or the like before the store is opened.

【0038】また、本例で示した発熱素子の抵抗値計測
を利用し、サーマルヘッドの交換時期をオペレータに告
知することができる。例えば、抵抗データの中にある
「0」の個数をカウントし、「0」が所定個数より多く
なったり、「0」が連続するような場合、サーマルヘッ
ド交換を促す表示を行う等の対応ができる。
Further, by using the resistance value measurement of the heating element shown in this embodiment, it is possible to notify the operator of the time for replacing the thermal head. For example, the number of "0" in the resistance data is counted, and when "0" is larger than a predetermined number or "0" is continuous, a display prompting to replace the thermal head is performed. it can.

【0039】以上、本発明の実施例は、サーマルプリン
タに適用して説明した。ラインサーマルプリンタの場
合、一度破壊された印字ドット素子は、クリーニング等
を行っても回復することが無いため、破壊されたドット
部分は、ずっとドット抜けとなることと、印字ドット素
子が抵抗体である為、抵抗値を計測するだけで、正常か
異常かの判定が極めて容易にできることの二つの理由か
ら、本発明がより効果的である。しかしながら、本発明
は、必ずしもサーマルプリンタに限定されるものではな
く、プリンタの印字ドット素子の正常/異常を各素子毎
に判定できれば、レーザープリンタやラインインクジェ
ットプリンタ等の各種プリンタに広く適用することもで
きる。
As described above, the embodiments of the present invention have been described as applied to a thermal printer. In the case of a line thermal printer, once a printed dot element is destroyed, it cannot be recovered by cleaning or the like. For this reason, the present invention is more effective for two reasons that determination of normal or abnormal can be made extremely easily only by measuring the resistance value. However, the present invention is not necessarily limited to thermal printers, and can be widely applied to various printers such as laser printers and line inkjet printers as long as the normal / abnormal of the print dot elements of the printer can be determined for each element. it can.

【0040】[0040]

【発明の効果】以上説明したように、本発明では、請求
項1に記載するように、印字ドット素子に異常がある場
合、印字データを変換するという本願特有の構成によ
り、たとえヘッドの印字ドット素子が数個破壊されてい
ても、それに対応して、印字パターンを変換して、印字
ができるようになり、プリンタの中で高価なヘッドをす
ぐに交換しなくても、プリンタを使い続けるでき、製品
寿命を飛躍的に延ばすことができる。また、スクラッチ
傷等のイレギュラーな原因により、製品寿命に至る前に
印字ドット素子が破壊された場合でも、誤読の無い印字
ができる。
As described above, according to the present invention, according to the first aspect of the present invention, the print data is converted when the print dot element has an abnormality. Even if several elements are destroyed, the printing pattern can be converted and printing can be performed correspondingly, and the printer can be used continuously without replacing the expensive head in the printer immediately. The product life can be extended significantly. Further, even if the printing dot element is destroyed before the end of the product life due to irregular causes such as scratches, it is possible to print without erroneous reading.

【0041】また、請求項2または請求項3に記載する
方法で、印字データ変換を行うと、誤読の無い印字パタ
ーンを簡単に作成することができる。
Further, if the print data is converted by the method described in claim 2 or 3, a print pattern free from erroneous reading can be easily created.

【0042】そして、印字ドット素子の状態を毎回計測
すると、時間がかかる場合もあるが、請求項4に記載す
るカウンタにより、あるタイミングで定期的に印字ドッ
ト素子を計測するように設定すれば、通常の印字動作が
遅れるといったことは無い。
It may take time to measure the state of the print dot element every time, but if the counter is set to measure the print dot element periodically at a certain timing, There is no delay in normal printing operation.

【0043】更に、請求項5に記載するように、出力デ
ータの選択手段があれば、文字を印字する場合や、グラ
フィックを印字する場合の何れの場合でも、最適な印字
ができる。
Further, if there is a means for selecting output data as described in claim 5, optimal printing can be performed in any case of printing characters and graphics.

【0044】本発明は、請求項6記載のサーマルプリン
タに適用する場合、特に効果的である。また、請求項7
記載の告知手段を設ければ、ヘッド交換のタイミングを
事前にオペレータに伝えることができる。この場合で
も、本発明では数ドットのヘッド破壊でもヘッドを使い
つづけられるので、ヘッド交換のタイミングは従来のプ
リンタより長くなる。
The present invention is particularly effective when applied to the thermal printer according to the sixth aspect. Claim 7
If the notification means described above is provided, the timing of head replacement can be notified to the operator in advance. Even in this case, the head can be used even if the head is broken by several dots in the present invention, so the head replacement timing is longer than in the conventional printer.

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

【図1】本発明に係るサーマルヘッド及びその制御回路
を示すブロック図である。
FIG. 1 is a block diagram showing a thermal head and a control circuit thereof according to the present invention.

【図2】従来の印字例と、本発明に係る印字制御方法の
印字例を示す印字パターン図である。
FIG. 2 is a print pattern diagram showing a conventional print example and a print example of a print control method according to the present invention.

【図3】本発明に係る印字制御方法のフローチャート図
である。
FIG. 3 is a flowchart of a print control method according to the present invention.

【図4】本発明のデータ変換回路によるデータ変換を示
す説明図である。
FIG. 4 is an explanatory diagram showing data conversion by the data conversion circuit of the present invention.

【図5】本発明の他の実施例のデータ変換を説明する説
明図と、その印字例を示す印字パターン図である。
FIG. 5 is an explanatory diagram illustrating data conversion according to another embodiment of the present invention, and a print pattern diagram illustrating a print example thereof.

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

1 サーマルヘッド 4 ドライバーIC 5 電流計 7 A/Dコンバータ 8 制御回路 9 抵抗データメモリ 10 DATA変換回路 An スイッチング素子 Ln ラッチ回路 Sn シフトレジスタセル 100 オリジナル印字データ 101 変換印字データ DESCRIPTION OF SYMBOLS 1 Thermal head 4 Driver IC 5 Ammeter 7 A / D converter 8 Control circuit 9 Resistance data memory 10 DATA conversion circuit An Switching element Ln Latch circuit Sn Shift register cell 100 Original print data 101 Conversion print data

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 直線状に配列された複数の印字ドット素
子を具備するラインヘッドを搭載し、1ドットライン毎
に前記ラインヘッドを用いて印字を行うラインプリンタ
において、 前記ラインプリンタを印字させる前に、予め、前記印字
ドット素子の正常または異常を、前記印字ドット素子毎
に計測し、印字ドット素子データとして作成するデータ
作成手段と、 前記データ作成手段によって作成された印字素子データ
の中に異常ドット素子が存在するか否かを判定する判定
手段と、 前記判定手段によって、前記印字素子データの中に異常
ドットが存在すると判断したとき、前記ラインプリンタ
で印字させようとする原印字データを、前記印字素子デ
ータに基づいて変換印字データに変換するデータ変換手
段と、 前記データ変換手段によって変換された前記変換印字デ
ータを前記ラインヘッドに出力する出力手段と、を有す
ることを特徴とするラインプリンタ。
1. A line printer equipped with a line head having a plurality of print dot elements arranged in a straight line and performing printing by using the line head for each dot line, wherein the line printer is used for printing. In advance, a normal or abnormal state of the print dot element is measured for each of the print dot elements, and data creating means for creating print dot element data; and an abnormality in the print element data created by the data creation means. Judgment means for determining whether or not a dot element is present, When the determination means determines that an abnormal dot exists in the print element data, original print data to be printed by the line printer, Data conversion means for converting the print element data into converted print data based on the print element data; Line printer, characterized in that it comprises an output means for outputting the converted print data to said line head.
【請求項2】 前記データ変換手段は、前記変換印字デ
ータを、原印字データの中で、前記印字素子データの中
の異常ドット素子の位置に対応するデータから、1ドッ
トずつ順次ずらした位置にデータを入れて作成すること
を特徴とする請求項1記載のラインプリンタ。
2. The data conversion means according to claim 1, wherein said converted print data is shifted from the original print data to a position sequentially shifted by one dot from data corresponding to a position of an abnormal dot element in said print element data. 2. The line printer according to claim 1, wherein the line printer is created by inserting data.
【請求項3】 前記データ変換手段は、前記変換印字デ
ータを、原印字データの中で、前記印字素子データの中
の異常ドット素子の位置に相当するデータと、その隣の
位置に相当するデータを合わせたデータを、前記異常ド
ット素子の位置の隣の位置に入れて作成されることを特
徴とする請求項1記載のラインプリンタ。
3. The data conversion means converts the converted print data into data corresponding to a position of an abnormal dot element in the print element data and data corresponding to a position adjacent thereto in the original print data. 2. The line printer according to claim 1, wherein the data is created by putting data obtained by adding the data to a position next to the position of the abnormal dot element.
【請求項4】 印字動作をカウントするカウンタを有
し、 前記カウンタの数値が所定の値に到達すると、前記デー
タ作成手段は、印字ドット素子の正常または異常の計測
することを特徴とする請求項1乃至3の何れか1項に記
載のラインプリンタ。
4. The printing apparatus according to claim 1, further comprising a counter for counting a printing operation, wherein when the value of the counter reaches a predetermined value, the data creation unit measures whether the printing dot element is normal or abnormal. The line printer according to any one of claims 1 to 3.
【請求項5】 前記原印字データの信号を前記ラインヘ
ッドへ出力するか、前記変換印字データの信号を前記ラ
インヘッドへ出力するかを選択的に切り替えする切り替
え手段を有することを特徴とする請求項1乃至4の何れ
か1項に記載のラインプリンタ。
5. A switching means for selectively switching between output of the signal of the original print data to the line head and output of the signal of the converted print data to the line head. Item 5. The line printer according to any one of Items 1 to 4.
【請求項6】 前記印字素子データの中で異常印字ドッ
ト素子の数が、所定個数以上あったとき、または、異常
印字ドット素子の連続があったとき、オペレータに告知
する告知手段を有することを特徴とする請求項1記載の
ラインプリンタ。
6. A notifying means for notifying an operator when the number of abnormal print dot elements in the print element data is equal to or more than a predetermined number, or when there is a continuation of abnormal print dot elements. The line printer according to claim 1, wherein:
【請求項7】 直線状に配列された複数の印字ドット素
子を具備するラインヘッドを搭載し、1ドットライン毎
に前記ラインヘッドを用いて印字を行うラインプリンタ
の印字方法において、 前記ラインプリンタを印字させる前に、予め、前記印字
ドット素子の正常または異常を、前記印字ドット素子毎
に計測し、印字ドット素子データとして作成するデータ
作成工程と、 前記データ作成工程によって作成された印字素子データ
の中に異常ドット素子が存在するか否かを判定する判定
工程と、 前記判定工程によって、前記印字素子データの中に異常
ドットが存在すると判断したとき、前記ラインプリンタ
で印字させようとする原印字データを、前記印字素子デ
ータに基づいて変換印字データに変換するデータ変換工
程と、 前記データ変換工程によって変換された前記変換印字デ
ータを前記ラインヘッドに出力する出力工程と、を有す
ることを特徴とするラインプリンタの印字方法。
7. A printing method for a line printer, comprising a line head having a plurality of print dot elements arranged in a straight line and performing printing using the line head for each dot line. Before printing, beforehand, the normal or abnormal of the print dot element is measured for each of the print dot elements, a data creation step of creating as print dot element data, and the print element data created by the data creation step A determining step of determining whether or not an abnormal dot element exists in the print data; an original print to be printed by the line printer when the determining step determines that an abnormal dot exists in the print element data; A data conversion step of converting data into converted print data based on the print element data; and the data conversion step. Thus converted printing method for a line printer, characterized in that and an output step of outputting the converted print data to the line head.
【請求項8】 前記データ変換工程は、前記変換印字デ
ータを、原印字データの中で、前記印字素子データの中
の異常ドット素子の位置に対応するデータから、1ドッ
トずつ順次ずらした位置にデータを入れて作成する工程
を含むことを特徴とする請求項7記載のラインプリンタ
の印字方法。
8. The data conversion step includes: converting the converted print data to a position in the original print data that is sequentially shifted by one dot from data corresponding to the position of the abnormal dot element in the print element data. 8. A printing method for a line printer according to claim 7, further comprising a step of creating by adding data.
【請求項9】 前記データ変換工程は、前記変換印字デ
ータを、原印字データの中で、前記印字素子データの中
の異常ドット素子の位置に相当するデータと、その隣の
位置に相当するデータとを合わせたデータを、前記異常
ドット素子の位置の隣の位置に入れて作成する工程を含
むことを特徴とする請求項7記載のラインプリンタ。
9. The data conversion step includes converting the converted print data into data corresponding to a position of an abnormal dot element in the print element data in the original print data and data corresponding to a position adjacent thereto. 8. The line printer according to claim 7, further comprising a step of creating data by combining the data with the position of the abnormal dot element.
【請求項10】 前記データ作成工程は、印字動作をカ
ウントするカウンタを有し、前記カウンタの数値が所定
の値に到達すると、印字ドット素子の正常または異常の
計測することを特徴とする請求項7乃至9の何れか1項
に記載のラインプリンタの印字方法。
10. The data generating step includes a counter for counting a printing operation, and when the value of the counter reaches a predetermined value, measures whether the printing dot element is normal or abnormal. 10. The printing method of the line printer according to any one of items 7 to 9.
【請求項11】 前記原印字データの信号を前記ライン
ヘッドへ出力するか、前記変換印字データの信号を前記
ラインヘッドへ出力するかを選択的に切り替えする切り
替え工程を有することを特徴とする請求項7乃至10の
何れか1項に記載のラインプリンタの印字方法。
11. A switching step for selectively switching between outputting the signal of the original print data to the line head and outputting the signal of the converted print data to the line head. Item 11. The printing method of the line printer according to any one of Items 7 to 10.
【請求項12】 前記印字素子データの中で異常印字ド
ット素子の数が、所定個数以上あったとき、または、異
常印字ドット素子の連続があったとき、オペレータに告
知する告知工程を有することを特徴とする請求項7記載
のラインプリンタの印字方法。
12. A notifying step for notifying an operator when the number of abnormal print dot elements in the print element data is equal to or more than a predetermined number or when there is a continuous abnormal print dot element. The printing method of a line printer according to claim 7, wherein
JP2001050518A 2001-02-26 2001-02-26 Line printer and method of printing therefor Withdrawn JP2002248800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001050518A JP2002248800A (en) 2001-02-26 2001-02-26 Line printer and method of printing therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001050518A JP2002248800A (en) 2001-02-26 2001-02-26 Line printer and method of printing therefor

Publications (1)

Publication Number Publication Date
JP2002248800A true JP2002248800A (en) 2002-09-03

Family

ID=18911459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001050518A Withdrawn JP2002248800A (en) 2001-02-26 2001-02-26 Line printer and method of printing therefor

Country Status (1)

Country Link
JP (1) JP2002248800A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8284225B2 (en) 2009-01-19 2012-10-09 Seiko Epson Corporation Printer and control method for a printer
JP2017119413A (en) * 2015-12-25 2017-07-06 セイコーエプソン株式会社 Printer, control method, and printing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8284225B2 (en) 2009-01-19 2012-10-09 Seiko Epson Corporation Printer and control method for a printer
JP2017119413A (en) * 2015-12-25 2017-07-06 セイコーエプソン株式会社 Printer, control method, and printing system

Similar Documents

Publication Publication Date Title
JPH0632938B2 (en) Thermal printing equipment
EP2360022A1 (en) A thermal printhead detecting device and method and a thermal printer using the same
JPH0343072B2 (en)
EP0072224B1 (en) A device for checking the printing circuit of a thermal printer
US5483273A (en) Drive control apparatus for thermal head
JP2002248800A (en) Line printer and method of printing therefor
EP0535705B1 (en) Recording head driving device
US5152619A (en) Dot-matrix printer with dot counter and temperature sensor for efficient high-quality printing
US20020021349A1 (en) Thermal print head high-speed driving apparatus and method
EP0501707B1 (en) Drive control apparatus for thermal head
JP2007268918A (en) Open circuit checking apparatus and open circuit checking method of line thermal head
JP4309610B2 (en) Thermal printhead operation
JPS6238148B2 (en)
JP2008183770A (en) Wire breaking checker of thermal head
JP3079063B2 (en) Nozzle inspection method for inkjet printer
US7271818B2 (en) Thermal transfer printing system and method with improved print quality and printhead life in cold ambient temperature conditions
US6342911B1 (en) Thermal head
JPS6092875A (en) Thermal printer
JP3614716B2 (en) Thermal printer
JPS6259675B2 (en)
JPS63149161A (en) Dot printer
JPH05104763A (en) Dot inspection device of thermal printer
JPS61228970A (en) Thermal head driver
EP1529645B1 (en) Apparatus and method for determining status of inkjet print head identification circuit
JP3661985B2 (en) Thermal printer device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080513