JP4537977B2 - Thermal printer and printing method therefor - Google Patents
Thermal printer and printing method therefor Download PDFInfo
- Publication number
- JP4537977B2 JP4537977B2 JP2006150501A JP2006150501A JP4537977B2 JP 4537977 B2 JP4537977 B2 JP 4537977B2 JP 2006150501 A JP2006150501 A JP 2006150501A JP 2006150501 A JP2006150501 A JP 2006150501A JP 4537977 B2 JP4537977 B2 JP 4537977B2
- Authority
- JP
- Japan
- Prior art keywords
- thermal head
- thermal
- printing
- energization
- dot
- 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.)
- Active
Links
Images
Landscapes
- Electronic Switches (AREA)
- Printers Characterized By Their Purpose (AREA)
- Dot-Matrix Printers And Others (AREA)
Description
本発明は、印刷媒体の表面と裏面に同時に印刷可能なサーマルプリンタ及びその印刷方法に関する。 The present invention relates to a thermal printer capable of simultaneously printing on the front and back surfaces of a print medium and a printing method thereof.
サーマル用紙の表裏両面に同時に印刷を行うことが可能なサーマルプリンタとして、2つのプラテンローラと2つのサーマルヘッドを備えた両面サーマルプリンタが提案されている(例えば、特許文献1参照)。 A double-sided thermal printer having two platen rollers and two thermal heads has been proposed as a thermal printer capable of simultaneously printing on both front and back sides of a thermal paper (see, for example, Patent Document 1).
この種の従来の両面サーマルプリンタは、第1プラテンローラと第2プラテンローラを互いに同期して同一の送り速度で回転させている。サーマル用紙は第1プラテンローラと第1サーマルヘッドとの間を通ることにより、サーマル用紙の一方の面に第1サーマルヘッドによって印刷が行なわれる。さらにこのサーマル用紙が第2プラテンローラと第2サーマルヘッドとの間を通ることにより、サーマル用紙の一方の面に第2サーマルヘッドによって印刷が行なわれる。
この種のサーマルプリンタに用いられるサーマルヘッドとしては、通常、サーマル用紙の搬送方向に対して直交する方向に多数の発熱素子が列状に配置されたラインサーマルヘッドが使用される。このラインサーマルヘッドは、印刷ドットに対応した任意の発熱素子に通電して電気エネルギーを印加し、この任意の発熱素子を発熱させることにより、任意のドットパターンをサーマル用紙に印刷する。 As a thermal head used in this type of thermal printer, a line thermal head in which a large number of heating elements are arranged in a row in a direction orthogonal to the thermal paper transport direction is usually used. The line thermal head prints an arbitrary dot pattern on thermal paper by energizing an arbitrary heating element corresponding to a printing dot to apply electric energy and generating heat by the arbitrary heating element.
このため、2つのサーマルヘッドを用いる両面サーマルプリンタにおいて、該2つのサーマルヘッドを同時に通電するように制御してしまうと、1つのサーマルヘッドしか用いない片面サーマルプリンタの場合と比較して消費エネルギー(電流)のピーク値がおよそ2倍になる。これに対処するためにはそれ相応の電源が必要となり、装置の低価格化や小型化への支障となっていた。 For this reason, in a double-sided thermal printer using two thermal heads, if the two thermal heads are controlled to be energized at the same time, the energy consumption (in comparison with a single-sided thermal printer using only one thermal head) The peak value of (current) is approximately doubled. In order to cope with this, an appropriate power source is required, which hinders the cost reduction and miniaturization of the apparatus.
本発明はこのような事情に基づいてなされたもので、その目的とするところは、2つのサーマルヘッドを用いて用紙の両面に印刷を行う両面サーマルプリンタにおいて、各サーマルヘッドへの通電時の必要電流のピーク値を、1つのサーマルヘッドを用いて用紙の一方の面に印刷を行う片面サーマルプリンタの場合と略同等に抑制することにある。 The present invention has been made based on such circumstances, and the object of the present invention is to be necessary when energizing each thermal head in a double-sided thermal printer that performs printing on both sides of a sheet using two thermal heads. The purpose is to suppress the peak value of the current substantially the same as in the case of a single-sided thermal printer that prints on one side of a sheet using a single thermal head.
請求項1に係る発明のサーマルプリンタは、用紙の一方の面に接するように配置され、複数の発熱素子への通電により当該一方の面にドットイメージデータの印刷を行う第1サーマルヘッドと、上記用紙の他方の面に接するように配置され、複数の発熱素子への通電により当該他方の面にドットイメージデータの印刷を行う第2サーマルヘッドとを備える。そして、ホスト装置から受信した印刷データを記憶するための受信バッファと、用紙の一方の面に対する印刷用のドットイメージデータを格納するための第1イメージバッファと、用紙の他方の面に対する印刷用のドットイメージデータを格納するための第2イメージバッファと、上記受信バッファ内の印刷データを先頭から順次にドットイメージデータに展開してその一定量を上記第1イメージバッファに格納し、この格納後、上記受信バッファ内の残りの印刷データを順次にドットイメージデータに展開して上記第2イメージバッファに格納する第1制御手段と、第1イメージバッファに格納したドットイメージデータの通電画素数と第2イメージバッファに格納したドットイメージデータの通電画素数との総和がしきい値を超えるか否かを判断する通電画素数判断手段と、この通電画素数判断手段により上記総和が上記しきい値を超えると判断されたときには非同期モードを設定し、超えないと判断されたときには同期モードを設定するモード設定手段と、このモード設定手段で非同期モードが設定された場合に、第1サーマルヘッドによる1ドットラインデータの印刷に要する通電時間と第2サーマルヘッドによる1ドットラインデータの印刷に要する通電時間とが重ならないように第1サーマルヘッドと第2サーマルヘッドの通電周期を制御する第2制御手段と、上記モード設定手段で同期モードが設定された場合に、第1サーマルヘッドに対する通電時間と第2サーマルヘッドに対する通電時間の少なくとも一部が重なるように第1サーマルヘッドと第2サーマルヘッドの通電周期を制御する第3制御手段とを備える。 A thermal printer according to a first aspect of the present invention is disposed so as to be in contact with one surface of a sheet, and prints dot image data on the one surface by energizing a plurality of heating elements, and A second thermal head that is disposed in contact with the other surface of the paper and that prints dot image data on the other surface by energizing a plurality of heating elements; A reception buffer for storing print data received from the host device; a first image buffer for storing dot image data for printing on one side of the paper; and a print buffer for printing on the other side of the paper. A second image buffer for storing dot image data, and the print data in the reception buffer are sequentially developed from the top into dot image data, and a certain amount thereof is stored in the first image buffer. After this storage, First control means for sequentially developing the remaining print data in the reception buffer into dot image data and storing it in the second image buffer; the number of energized pixels of the dot image data stored in the first image buffer; whether the sum of the number of energizing pixels in the dot image data stored in the image buffer exceeds a threshold value An energized pixel number determining means for determining the asynchronous mode, and when the energized pixel number determining means determines that the sum exceeds the threshold value, the asynchronous mode is set, and when it is determined that the sum is not exceeded, the synchronous mode is set. When the asynchronous mode is set by the setting means and the mode setting means, the energization time required for printing one dot line data by the first thermal head and the energization time required for printing one dot line data by the second thermal head When the synchronous mode is set by the second control means for controlling the energization cycle of the first thermal head and the second thermal head so that they do not overlap, and the mode setting means, the energization time for the first thermal head and the second The first thermal head and the second thermal head are arranged so that at least part of the energization time for the thermal head overlaps. And a third control means for controlling the energization period.
かかる手段を講じた本発明によれば、第1サーマルヘッドに対する通電時間と第2サーマルヘッドに対する通電時間とが重ならないので、各サーマルヘッドへの通電時の必要電流のピーク値を、1つのサーマルヘッドを用いて用紙の一方の面に印刷を行う片面サーマルプリンタの場合と略同等に抑制することができる。 According to the present invention in which such a measure is taken, the energization time for the first thermal head and the energization time for the second thermal head do not overlap. Therefore, the peak value of the necessary current when energizing each thermal head is obtained as one thermal head. This can be suppressed to the same extent as in the case of a single-sided thermal printer that prints on one side of a sheet using a head.
以下、本発明を実施するための最良の形態について、図面を用いて説明する。なお、この実施の形態は、両面にそれぞれ感熱層を有するサーマル用紙1の両面に印刷を行うサーマルプリンタ10に本発明を適用した場合である。
The best mode for carrying out the present invention will be described below with reference to the drawings. This embodiment is a case where the present invention is applied to a
図1は本実施の形態のサーマルプリンタ10における印刷機構部の概略を模式的に示す図である。ロール状に巻回されたサーマル用紙1は、図示しないプリンタ本体の用紙収容部に収容される。そして、その先端が用紙収容部から引き出され、プリンタ本体の用紙排出口から外部へ排出されるようになっている。
FIG. 1 is a diagram schematically showing an outline of a printing mechanism section in the
プリンタ本体には、用紙収容部から引き出されたサーマル用紙の一方の面(以下、この面を表面1Aという)に接するように第1サーマルヘッド2が設けられている。そしてこの第1サーマルヘッド2に対し、サーマル用紙1を挟んで対向するように第1プラテンローラ3が設けられている。
The printer main body is provided with a first
また、前記第1サーマルヘッド2より紙送り方向上流側において、用紙収容部から引き出されたサーマル用紙の他方の面(以下、この面を裏面1Bという)に接するように第2サーマルヘッド4が設けられている。そしてこの第2サーマルヘッド4に対し、サーマル用紙1を挟んで対向するように第2プラテンローラ5が設けられている。
A second thermal head 4 is provided on the upstream side of the first
さらに、前記第1サーマルヘッド2より紙送り方向下流側において、用紙排出口から排出されるサーマル用紙1を切断するためのカッタ機構6が設けられている。
Further, a
サーマル用紙1の表面1A及び裏面1Bには、それぞれ感熱層が形成されている。これら感熱層は、所定の温度以上に加熱されたときに例えば黒あるいは赤等の所望の色に発色する材料によって構成されている。このサーマル用紙1は、図1に示すように、表面1Aが内側を向くようにロール状に巻回されている。
Thermal layers are formed on the
第1サーマルヘッド2及び第2サーマルヘッド4は、いずれも多数の発熱素子を列状に配置してなるラインサーマルヘッドであり、発熱素子の配列方向がサーマル用紙1の搬送方向に対して直交するようにプリンタ本体に取り付けられている。
Each of the first
第1プラテンローラ3及び第2プラテンローラ5は円柱状に形成され、図示しない動力伝達機構により後述する用紙フィードモータ23の回転が伝達されて、それぞれ図示矢印の方向に回転するようになっている。これらプラテンローラ3,5の回転により、用紙収容部から引き出されたサーマル用紙1が図示矢印の方向に搬送され、用紙排出口から外部へ排出される。ここに、第1プラテンローラ3及び第2プラテンローラ5は、搬送手段を構成する。
The
図2はサーマルプリンタ10の制御回路を含む要部構成を示すブロック図である。サーマルプリンタ10は、制御部本体としてCPU(Central Processing Unit)11を備えている。そして、このCPU11に、アドレスバス,データバス等のバスライン12を介して、ROM(Read Only Memory)13,RAM(Random Access Memory)14,I/O(Input/Output)ポート15,通信インターフェイス16,第1,第2のモータ駆動回路17,18及び第1,第2のヘッド駆動回路19,20の各部を接続することにより、制御回路を構成している。この制御回路を構成する各部には、電源回路21から駆動電源が供給されるようになっている。
FIG. 2 is a block diagram showing a main configuration including the control circuit of the
通信インターフェイス16には、適時印刷データを生成し供給するホスト装置30が接続されている。I/Oポート15には、プリンタ本体に設けられた各種センサ22からの信号が入力される。
Connected to the
第1のモータ駆動回路17は、サーマル用紙1を一方向に搬送する搬送手段の駆動源である用紙フィードモータ23のオン,オフを制御する。第2のモータ駆動回路18は、前記カッタ機構6の駆動源であるカッタモータ24のオン,オフを制御する。
The first
第1のヘッド駆動回路19は、前記第1サーマルヘッド2の印刷動作を制御する。第2のヘッド駆動回路20は、前記第2サーマルヘッド4の印刷動作を制御する。第1のヘッド駆動回路19と第1サーマルヘッド2との対応関係を図3のブロック図で示す。なお、第2のヘッド駆動回路20と第2サーマルヘッド4との対応関係もこれと同様なので、ここでの説明は省略する。
The first
第1サーマルヘッド2は、N(Nは複数)個の発熱素子を列状に配列し、この素子数Nのドットからなる1ラインデータを一度に印字可能なラインサーマルヘッド本体41と、上記1ラインデータを1ライン毎にラッチするラッチ回路42と、このラッチ回路42にラッチされた1ラインデータに従い、前記ラインサーマルヘッド本体41を構成するN個の発熱素子を選択的に通電する通電制御回路43とから構成されている。
The first
第1のヘッド駆動回路19は、バスライン12を介して順次入力されるNドット分の1ラインデータを取込み、ラッチ回路42(先入れ先出し機能)にシリアルデータ信号DATAを出力する機能と、ラッチ信号LATをラッチ回路42に出力する機能と、イネーブル信号ENBを通電制御回路43に出力する機能とを有している。
The first
ラッチ回路42においては、ラッチ信号LATがアクティブになるタイミングで、ヘッド駆動回路19から出力される1ラインデータをラッチする。通電制御回路43においては、ラッチ回路42にラッチされた1ラインデータのうち印刷ドットに対応した発熱素子をイネーブル信号ENBがアクティブになっている間通電する。
The
かかる構成のサーマルプリンタ10は、図4に示すように、ホスト装置30から受信した印刷データを記憶するための受信バッファ51と、前記サーマル用紙1の表面1A側に印刷する印刷データのドットイメージデータが展開されて格納される表面イメージバッファ52と、前記サーマル用紙1の裏面1B側に印刷する印刷データのドットイメージデータが展開されて格納される裏面イメージバッファ53とがRAM14に形成されている。
As shown in FIG. 4, the
しかして、CPU11は、図5の流れ図に示す手順に従い、サーマル用紙1への両面印刷を制御するものとなっている。すなわちCPU11は、ST(ステップ)1として印刷データを受信するのを待機している。そして、ホスト装置30から印刷データを受信し、受信バッファ51に記憶したならば、CPU11は、ST2としてこの印刷データを先頭から順次ドットデータに展開し、表面イメージバッファ52に格納する。そして、ST3として表面イメージバッファ52に一定量のドットデータが格納されたならば、次にCPU11は、ST4として印刷データの残りを順次ドット展開し、裏面イメージバッファ53に格納する。そして、ST5として裏面イメージバッファ53に一定量のドットデータが格納されたならば、CPU11は、ST6の処理に進む。
Therefore, the
なお、一定量のドットデータが表面イメージバッファ52または裏面イメージバッファ53に格納される前に受信バッファ51内の印刷データを全てドットデータに展開し終えた場合にも、CPU11は、ST6の処理に進む。
Even when all the print data in the
ST6では、CPU11は、表面イメージバッファ52に格納されたドットデータのうち印刷ドットの数を計数する。そして、このドット数を表面通電画素数p1として記憶する。また、ST7として裏面イメージバッファ53に格納されたドットデータのうち印刷ドットの数を計数する。そして、このドット数を裏面通電画素数p2として記憶する。
In ST6, the
次に、CPU11は、ST8として表面通電画素数p1と裏面通電画素数p2とを加算し、その総和(p1+p2)が予め設定されているしきい値Qを超えたか否かを判断する(通電画素数判断手段)。ここで、しきい値Qは、電源回路21の仕様に基づいて設定される。
Next, in step ST8, the
表面通電画素数p1と裏面通電画素数p2との総和(p1+p2)としきい値Qとを比較した結果、総和(p1+p2)がしきい値を越える場合には、CPU11は、ST9として印刷モードを非同期印刷モードに設定する。これに対し、総和(p1+p2)がしきい値を越えない場合には、CPU11は、ST10として印刷モードを同期印刷モードに設定する(モード設定手段)。しかる後、CPU11は、ST11として印刷モードに従い各部を制御して、表面イメージバッファ52に格納されたドットデータを1ラインずつサーマル用紙1の表面1Aに印刷すると同時に、裏面イメージバッファ53に格納されたドットデータを1ラインずつサーマル用紙1の裏面1Bに印刷する(制御手段)。
When the sum (p1 + p2) of the number of front side energized pixels p1 and the number of backside energized pixels p2 is compared with the threshold value Q, if the sum (p1 + p2) exceeds the threshold value, the
表面イメージバッファ52及び裏面イメージバッファ53にそれぞれ格納されたドットデータの印刷を終了すると、CPU11は、ST12として受信バッファ51に印刷データが残っているか否かを判断する。そして、印刷データが残っている場合には、ST2〜ST12の処理を再度実行する。ST12にて印刷データが残っていない場合には、CPU11は、サーマル用紙1のロングフィードを行った後、ST13としてカッタモータ24に駆動信号を出力し、カッタ機構6を動作させて、表裏両面に印刷されたサーマル用紙を切断する。以上で、この印刷処理を終了する。
When the printing of the dot data stored in the
印刷モードとして非同期印刷モードが設定された場合の主要な信号のタイミングチャートを図6に示す。同図において、(a)はNドットからなる1ドットラインデータの印刷に要する通電周期(ラスタサイクル)を示す。(b)は用紙フィードモータ23に対する駆動パルス信号を示す。(c)はサーマル用紙1の表面1A側に印刷するサーマルヘッドすなわち第1サーマルヘッド2に対するラッチ信号LAT1を示す。(d)はサーマル用紙1の裏面1B側に印刷するサーマルヘッドすなわち第2サーマルヘッド4に対するラッチ信号LAT2を示す。(e)は上記第1サーマルヘッド2に対するイネーブル信号ENB1を示す。(f)は上記第2サーマルヘッド4に対するイネーブル信号ENB2を示す。
FIG. 6 shows a timing chart of main signals when the asynchronous print mode is set as the print mode. In the figure, (a) shows an energization cycle (raster cycle) required for printing one dot line data composed of N dots. (B) shows a drive pulse signal for the
図示するように、非同期印刷モードが設定されていた場合には、1ラスタサイクルの1/2の周期で用紙フィードモータ23に対する駆動パルス信号を出力する。第1サーマルヘッド2に対するラッチ信号LAT1及び第2サーマルヘッド4に対するラッチ信号LAT2は、1ラスタサイクルの周期で出力する。第1サーマルヘッド2に対するイネーブル信号ENB1は、1ラスタサイクルの1/2の周期で出力される駆動パルス信号の前半のパルス信号に同期して出力する。第2サーマルヘッド4に対するイネーブル信号ENB2は、同駆動パルス信号の後半のパルス信号に同期して出力する。
As shown in the figure, when the asynchronous printing mode is set, a driving pulse signal for the
なお、イネーブル信号ENB1及びイネーブル信号ENB2のパルス幅、すなわち1ドットラインデータの印刷に要する通電時間は、1ラスタサイクルの1/2より短い時間に設定されている。換言すれば、1ラスタサイクルは、1ドットラインデータの印刷に要する通電時間の2倍以上に設定されている。 Note that the pulse widths of the enable signal ENB1 and the enable signal ENB2, that is, the energization time required for printing one dot line data, is set to be shorter than ½ of one raster cycle. In other words, one raster cycle is set to be twice or more the energization time required for printing one dot line data.
この非同期印刷モードが設定されていた場合のドット印刷例を図8に模式的に示す。同図において、左側の印刷例61は第1サーマルヘッド2による表面1A側の印刷例を示しており、右側の印刷例62は第2サーマルヘッド4による裏面1B側の印刷例を示している。すなわち、黒丸63は印刷ドットを示しており、白丸64は非印刷ドットを示している。なお、符号dは、用紙搬送方向65における印刷ドット63のドット長を示している。
FIG. 8 schematically shows an example of dot printing when the asynchronous printing mode is set. In the drawing, a print example 61 on the left side shows a print example on the
第1サーマルヘッド2は、ラッチ信号LAT1が入力された(アクティブONになった)タイミングでラッチ回路42にラッチされたNドットの1ラインデータのうち、印刷ドット63に対応した発熱素子をイネーブル信号ENB1が入力されている(アクティブONになっている)間通電する。これにより、サーマル用紙1の表面1Aに1ライン分の印刷ドット63(ドット長=d)が用紙搬送方向65に対して直交する方向に印刷される。
The first
一方、第2サーマルヘッド4は、ラッチ信号LAT2が入力された(アクティブONになった)タイミングでラッチ回路42にラッチされたNドットの1ラインデータのうち、印刷ドット63に対応した発熱素子をイネーブル信号ENB2が入力されている(アクティブONになっている)間通電する。これにより、サーマル用紙1の裏面1Bに1ライン分の印刷ドット63(ドット長=d)が用紙搬送方向65に対して直交する方向に印刷される。
On the other hand, the second thermal head 4 generates a heating element corresponding to the
ここで、用紙フィードモータ23は、イネーブル信号ENB1が出力されるタイミングとイネーブル信号ENB2が出力されるタイミングにそれぞれ同期してオンし、サーマル用紙1を一方向に搬送する。このときの搬送量は、1ラスタサイクルの半分の周期で用紙フィードモータ23に対する駆動パルス信号が出力されるので、用紙搬送方向65における印刷ドット63のドット長dの半分d/2となる。
Here, the
したがって、図8に示すように、サーマル用紙1の表面1Aに印刷される1ラインデータと、裏面1Bに印刷される1ラインデータとは、ドット長dの半分d/2だけずれて各々の面に印刷される。
Therefore, as shown in FIG. 8, one line data printed on the
このように、印刷モードとして非同期印刷モードが設定された場合には、第1サーマルヘッド2に対するイネーブル信号ENB1がアクティブになっている時間と、第2サーマルヘッド2に対するイネーブル信号ENB2がアクティブになっている時間とが重複しないように制御される。具体的には、第1サーマルヘッド2と第2サーマルヘッド4の通電周期を1ドットラインデータの印刷に要する通電時間の2倍以上とし、かつ第1サーマルヘッド2と第2サーマルヘッド4との間で通電周期を略1/2周期ずらすように制御している。
Thus, when the asynchronous print mode is set as the print mode, the time during which the enable signal ENB1 for the first
したがって、2つのサーマルヘッド2,4が同時に通電されることはないので、サーマルヘッド通電時の必要電流のピーク値を、1つのサーマルヘッドしか備えていない片面サーマルプリンタの場合と略同等に抑えることができる。
Accordingly, since the two
一方、同期印刷モードが設定された場合の主要な信号のタイミングチャートを図7に示す。同図においても、(a)はNドットの1ラインデータの印刷に要する時間間隔(ラスタサイクル)を示し、(b)は用紙フィードモータ23に対する駆動パルス信号を示し、(c)は第1サーマルヘッド2に対するラッチ信号LAT1を示し、(d)は第2サーマルヘッド4に対するラッチ信号LAT2を示し、(e)は第1サーマルヘッド2に対するイネーブル信号ENB1を示し、(f)は第2サーマルヘッド4に対するイネーブル信号ENB2を示している。
On the other hand, FIG. 7 shows a timing chart of main signals when the synchronous printing mode is set. Also in this figure, (a) shows the time interval (raster cycle) required for printing one line data of N dots, (b) shows the drive pulse signal for the
図示するように、同期印刷モードが設定されていた場合にも、非同期印刷モードが設定されていた場合と同様に、1ラスタサイクルの1/2の周期で用紙フィードモータ23に対する駆動パルス信号を出力する。また、第1サーマルヘッド2に対するラッチ信号LAT1及び第2サーマルヘッド4に対するラッチ信号LAT2を、1ラスタサイクルの周期で出力する。ただし、同期印刷モード時の1ラスタサイクルは、非同期印刷モード時の1ラスタサイクルの半分の時間に設定している。
As shown in the figure, when the synchronous print mode is set, the drive pulse signal is output to the
一方、第1サーマルヘッド2に対するイネーブル信号ENB1と、第2サーマルヘッド4に対するイネーブル信号ENB2は、いずれも1ラスタサイクルの1/2の周期で出力される駆動パルス信号の前半のパルス信号に同期して出力している。なお、イネーブル信号ENB1及びイネーブル信号ENB2のパルス幅は、1ラスタサイクルより短い時間に設定されている。
On the other hand, the enable signal ENB1 for the first
このように、印刷モードとして同期印刷モードが設定された場合には、第1サーマルヘッド2に対するイネーブル信号ENB1がアクティブになっている時間と、第2サーマルヘッド2に対するイネーブル信号ENB2がアクティブになっている時間とが一致するように制御される。したがって、2つのサーマルヘッド2,4が同時に通電されるが、そのときに消費される電流は電源回路21の仕様範囲内であって、使用範囲を超えることはない。
As described above, when the synchronous print mode is set as the print mode, the time during which the enable signal ENB1 for the first
そして、この同期印刷モードが設定されたときには、1ラスタサイクルを非同期印刷モード時の1ラスタサイクルの半分とすることができる。したがって、非同期印刷モード設定時と比較して2倍の速度でサーマル用紙1が搬送されるので、高速印刷ができる。 When this synchronous printing mode is set, one raster cycle can be made half of one raster cycle in the asynchronous printing mode. Therefore, since the thermal paper 1 is conveyed at a speed twice as high as that when the asynchronous printing mode is set, high-speed printing can be performed.
なお、この発明は前記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。 Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage.
例えば、前記実施の形態では、第1サーマルヘッド2と第2サーマルヘッド4との間で通電周期を略1/2周期ずらすことにより、第1サーマルヘッド2に対する通電時間と第2サーマルヘッド4に対する通電時間とが重ならないようにしたが、これらヘッド2,4に対する通電時間が重ならないようにする方法はこれに限定されるものではない。
For example, in the above-described embodiment, the energization time for the first
図9は他の実施形態における非同期印刷モード設定時の主要な信号のタイミングチャートである。同図においても、(a)はNドットの1ラインデータの印刷に要する時間間隔(ラスタサイクル)を示し、(b)は用紙フィードモータ23に対する駆動パルス信号を示し、(c)は第1サーマルヘッド2に対するラッチ信号LAT1を示し、(d)は第2サーマルヘッド4に対するラッチ信号LAT2を示し、(e)は第1サーマルヘッド2に対するイネーブル信号ENB1を示し、(f)は第2サーマルヘッド4に対するイネーブル信号ENB2を示している。
FIG. 9 is a timing chart of main signals when the asynchronous printing mode is set in another embodiment. Also in this figure, (a) shows the time interval (raster cycle) required for printing one line data of N dots, (b) shows the drive pulse signal for the
この他の実施の形態においても、第1サーマルヘッド2に対するイネーブル信号ENB1は、1ラスタサイクルの1/2の周期で出力される駆動パルス信号の前半のパルス信号に同期して出力する。一方、第2サーマルヘッド2に対するイネーブル信号ENB2は、イネーブル信号ENB1の立下りに同期して出力する。すなわち、先ず、第1サーマルヘッド2への通電を行い、この第1サーマルヘッド2への通電が終了したタイミングで第2サーマルヘッド4への通電を開始するようにしている。
Also in this other embodiment, the enable signal ENB1 for the first
このような制御方法を採用した場合でも、第1サーマルヘッド2に対する通電時間と第2サーマルヘッド4に対する通電時間とが重ならないので、サーマルヘッド通電時の必要電流のピーク値を、1つのサーマルヘッドしか備えていない片面サーマルプリンタの場合と略同等に抑えることができる。
Even when such a control method is adopted, the energization time for the first
また、前記実施の形態では、同期印刷モード設定時には第1サーマルヘッド2に対する通電時間と第2サーマルヘッド4に対する通電時間とを完全に一致させたが、一部が重なるように制御してもよい。
In the above embodiment, the energization time for the first
また、前記実施の形態では、表面イメージバッファ52に展開された全てのドットデータのうちの印刷ドットの数(表面通電画素数p1)と、裏面イメージバッファ53に展開された全てのドットデータのうちの印刷ドットの数(裏面通電画素数p2)との総和をしきい値Qと比較したが、表面イメージバッファ52及び裏面イメージバッファ53の領域を前半部と後半部とに区分し、各前半部の表面通電画素数p1と裏面通電画素数p2との総和がしきい値Qを超えるか否かを判断するとともに、各後半部の表面通電画素数p1と裏面通電画素数p2との総和がしきい値Qを超えるか否かを判断し、前半部と後半部とで印刷モードを変更するようにしてもよい。この場合において、表面イメージバッファ52及び裏面イメージバッファ53の領域を区分する大きさは1/2に限定されるものではない。
In the above embodiment, the number of print dots (the number of front surface energized pixels p1) among all the dot data expanded in the front
また、前記実施の形態では、第1サーマルヘッド2により印刷される印刷データの通電画素数p1と第2サーマルヘッド4により印刷される印刷データの通電画素数p2との総和がしきい値Qを超えるか否かを判断し、超えると判断されたときには非同期モードを設定し、超えないと判断されたときには同期モードを設定したが、この機能を省略し、全て非同期モードで印刷するサーマルプリンタも本発明に含まれるものである。
In the embodiment, the sum of the number of energized pixels p1 of the print data printed by the first
また、前記実施の形態では、印刷データを、先ず表面イメージバッファ52にドット展開し、一定量を展開したならば、残りの印刷データを裏面イメージバッファ53にドット展開したが、印刷データを表面イメージバッファ52及び裏面イメージバッファ53にドット展開する方法は、これに限定されるものではない。
In the above-described embodiment, the print data is first developed in the
また、前記実施の形態では、用紙として両面に感熱層を有するサーマル用紙1を用いたが、各サーマルヘッド2,4と用紙との間にインクリボンを送り込む機構を設けることによって、普通紙を使用するサーマルプリンタにも本発明を同様に適用できるものである。
In the above embodiment, the thermal paper 1 having the heat-sensitive layers on both sides is used as the paper, but plain paper is used by providing a mechanism for feeding an ink ribbon between the
この他、前記実施形態に開示されている複数の構成要素の適宜な組合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を組合わせてもよい。 In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, the constituent elements over different embodiments may be combined.
1…サーマル用紙、2…第1サーマルヘッド、3…第1プラテンローラ、4…第2サーマルヘッド、5…第2プラテンローラ、6…カッタ機構、11…CPU、21…電源回路、23…用紙フィードモータ、24…カッタモータ、51…受信バッファ、52…表面イメージバッファ、53…裏面イメージバッファ。 DESCRIPTION OF SYMBOLS 1 ... Thermal paper, 2 ... 1st thermal head, 3 ... 1st platen roller, 4 ... 2nd thermal head, 5 ... 2nd platen roller, 6 ... Cutter mechanism, 11 ... CPU, 21 ... Power supply circuit, 23 ... Paper Feed motor, 24 ... cutter motor, 51 ... reception buffer, 52 ... front image buffer, 53 ... back image buffer.
Claims (8)
前記用紙の他方の面に接するように配置され、複数の発熱素子への通電により当該他方の面にドットイメージデータの印刷を行う第2サーマルヘッドと、
ホスト装置から受信した印刷データを記憶するための受信バッファと、
前記用紙の一方の面に対する印刷用のドットイメージデータを格納するための第1イメージバッファと、
前記用紙の他方の面に対する印刷用のドットイメージデータを格納するための第2イメージバッファと、
前記受信バッファ内の印刷データを先頭から順次にドットイメージデータに展開してその一定量を前記第1イメージバッファに格納し、この格納後、前記受信バッファ内の残りの印刷データを順次にドットイメージデータに展開して前記第2イメージバッファに格納する第1制御手段と、
前記第1イメージバッファに格納したドットイメージデータの通電画素数と前記第2イメージバッファに格納したドットイメージデータの通電画素数との総和がしきい値を超えるか否かを判断する通電画素数判断手段と、
この通電画素数判断手段により前記総和が前記しきい値を超えると判断されたときには非同期モードを設定し、超えないと判断されたときには同期モードを設定するモード設定手段と、
このモード設定手段で非同期モードが設定された場合に、前記第1サーマルヘッドによる1ドットラインデータの印刷に要する通電時間と前記第2サーマルヘッドによる1ドットラインデータの印刷に要する通電時間とが重ならないように前記第1サーマルヘッドと前記第2サーマルヘッドの通電周期を制御する第2制御手段と、
前記モード設定手段で同期モードが設定された場合に、前記第1サーマルヘッドに対する通電時間と前記第2サーマルヘッドに対する通電時間の少なくとも一部が重なるように前記第1サーマルヘッドと前記第2サーマルヘッドの通電周期を制御する第3制御手段と、
を具備したことを特徴とするサーマルプリンタ。 A first thermal head that is disposed in contact with one side of the paper and that prints dot image data on the one side by energizing a plurality of heating elements;
A second thermal head that is disposed in contact with the other surface of the paper and that prints dot image data on the other surface by energizing a plurality of heating elements;
A reception buffer for storing print data received from the host device;
A first image buffer for storing dot image data for printing on one side of the paper;
A second image buffer for storing dot image data for printing on the other side of the paper;
The print data in the reception buffer is sequentially developed into dot image data from the beginning, and a certain amount thereof is stored in the first image buffer. After this storage, the remaining print data in the reception buffer is sequentially converted into dot images. First control means for developing the data and storing it in the second image buffer;
Number energized pixels determined the sum of the number of energizing pixels in the dot image data stored number energized pixels of the dot image data stored in the first image buffer and to said second image buffer to determine whether more than a threshold value Means,
A mode setting means for setting an asynchronous mode when the total pixel number is determined to exceed the threshold value by the energized pixel number determining means;
When the asynchronous mode is set by this mode setting means, the energization time required for printing one dot line data by the first thermal head and the energization time required for printing one dot line data by the second thermal head overlap. Second control means for controlling the energization cycle of the first thermal head and the second thermal head so as not to become
When the synchronous mode is set by the mode setting means, the first thermal head and the second thermal head so that at least part of the energization time for the first thermal head and the energization time for the second thermal head overlap. Third control means for controlling the energization cycle of
A thermal printer characterized by comprising:
前記受信バッファ内の印刷データを先頭から順次にドットイメージデータに展開してその一定量を前記第1イメージバッファに格納するステップと、
この格納後、前記受信バッファ内の残りの印刷データを順次にドットイメージデータに展開して前記第2イメージバッファに格納するステップと、
前記第1イメージバッファに格納したドットイメージデータの通電画素数と前記第2イメージバッファに格納したドットイメージデータの通電画素数との総和がしきい値を超えるか否かを判断するステップと、
前記総和が前記しきい値を超えると判断されたときには非同期モードを設定し、超えないと判断されたときには同期モードを設定するステップと、
前記非同期モードが設定された場合に、前記第1サーマルヘッドによる1ドットラインデータの印刷に要する通電時間と前記第2サーマルヘッドによる1ドットラインデータの印刷に要する通電時間とが重ならないように前記第1サーマルヘッドと前記第2サーマルヘッドの通電周期を制御するステップと、
前記モード設定手段で同期モードが設定された場合に、前記第1サーマルヘッドに対する通電時間と前記第2サーマルヘッドに対する通電時間の少なくとも一部が重なるように前記第1サーマルヘッドと前記第2サーマルヘッドの通電周期を制御するステップと、
を備えることを特徴とするサーマルプリンタの印刷方法。 A first thermal head that is disposed in contact with one surface of the paper and that prints dot image data on the one surface by energizing a plurality of heating elements, and is disposed in contact with the other surface of the paper. A second thermal head for printing dot image data on the other surface by energizing a plurality of heating elements, a receiving buffer for storing print data received from the host device, and one surface of the paper A thermal printer printing method comprising a first image buffer for storing dot image data for printing and a second image buffer for storing dot image data for printing on the other side of the paper. And
Expanding the print data in the reception buffer into dot image data sequentially from the top and storing the fixed amount in the first image buffer;
After this storage, the step of developing the remaining print data in the reception buffer sequentially into dot image data and storing it in the second image buffer;
A step of sum of the number of energizing pixels in the dot image data stored number energized pixels of the dot image data stored in the first image buffer and to said second image buffer to determine whether more than a threshold value,
Setting the asynchronous mode when it is determined that the sum exceeds the threshold, and setting the synchronous mode when it is determined that the sum does not exceed the threshold;
When the asynchronous mode is set, the energization time required for printing one dot line data by the first thermal head and the energization time required for printing one dot line data by the second thermal head do not overlap. Controlling the energization cycle of the first thermal head and the second thermal head;
When the synchronous mode is set by the mode setting means, the first thermal head and the second thermal head so that at least part of the energization time for the first thermal head and the energization time for the second thermal head overlap. Controlling the energization cycle of
A printing method for a thermal printer, comprising:
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006150501A JP4537977B2 (en) | 2006-05-30 | 2006-05-30 | Thermal printer and printing method therefor |
US11/681,928 US7950860B2 (en) | 2006-05-30 | 2007-03-05 | Thermal printer and drive control method of thermal head |
EP07108848A EP1862319B1 (en) | 2006-05-30 | 2007-05-24 | Thermal printer and drive control method of thermal head |
DE602007009896T DE602007009896D1 (en) | 2006-05-30 | 2007-05-24 | Thermal printer and drive control method for the thermal print head |
CN2007101052605A CN101081573B (en) | 2006-05-30 | 2007-05-28 | Thermal printer and drive control method of thermal head |
US12/696,240 US8382388B2 (en) | 2006-05-30 | 2010-01-29 | Thermal printer and drive control method of thermal head |
US12/696,231 US8485745B2 (en) | 2006-05-30 | 2010-01-29 | Thermal printer and drive control method of thermal head |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006150501A JP4537977B2 (en) | 2006-05-30 | 2006-05-30 | Thermal printer and printing method therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007320086A JP2007320086A (en) | 2007-12-13 |
JP4537977B2 true JP4537977B2 (en) | 2010-09-08 |
Family
ID=38853292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006150501A Active JP4537977B2 (en) | 2006-05-30 | 2006-05-30 | Thermal printer and printing method therefor |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP4537977B2 (en) |
CN (1) | CN101081573B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5431086B2 (en) * | 2009-09-17 | 2014-03-05 | エヌ・シー・アール・コーポレイション | Thermal printer and thermal printer control method |
EP2371558B1 (en) * | 2010-03-31 | 2015-04-15 | Brother Kogyo Kabushiki Kaisha | Thermal printer |
JP2013043670A (en) * | 2011-08-23 | 2013-03-04 | Seiko Instruments Inc | Adhesive strength exhibiting unit,adhesive label issuing device, and printer |
CN102935764B (en) * | 2012-11-15 | 2015-08-19 | 无锡中亚工具厂 | Real-time thermal printing apparatus |
CN103112254B (en) * | 2013-02-01 | 2015-09-09 | 深圳市理邦精密仪器股份有限公司 | Thermal head heat regulation device, method and thermal printer |
JP6988109B2 (en) * | 2016-03-31 | 2022-01-05 | カシオ計算機株式会社 | Printing equipment, printing methods and programs |
CN107776217B (en) * | 2016-08-24 | 2019-12-13 | 湖南长城计算机系统有限公司 | Print driving method and print driving device of POS machine |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6120198A (en) * | 1997-05-29 | 2000-09-19 | Fuji Photo Film Co., Ltd. | Printing head drive apparatus and method for driving printing head |
JPH11286147A (en) * | 1998-04-02 | 1999-10-19 | Nec Yonezawa Ltd | Perfecting mechanism |
US6606107B2 (en) * | 2001-01-26 | 2003-08-12 | Seiko Epson Corporation | Printing system, thermal printer, printer control method, and data storage medium |
US6784906B2 (en) * | 2001-12-18 | 2004-08-31 | Ncr Corporation | Direct thermal printer |
CN100448681C (en) * | 2003-07-10 | 2009-01-07 | 精工电子有限公司 | Forward transmitting and cutting method for heat-sensitive bond paper and printer therefor |
-
2006
- 2006-05-30 JP JP2006150501A patent/JP4537977B2/en active Active
-
2007
- 2007-05-28 CN CN2007101052605A patent/CN101081573B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101081573B (en) | 2010-04-14 |
CN101081573A (en) | 2007-12-05 |
JP2007320086A (en) | 2007-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1862319B1 (en) | Thermal printer and drive control method of thermal head | |
JP4537977B2 (en) | Thermal printer and printing method therefor | |
JP4167699B2 (en) | Duplex printing device | |
US9102169B2 (en) | Image forming apparatus | |
JP2010042513A (en) | Printer and control method thereof | |
JP4303261B2 (en) | Thermal printer and printing method therefor | |
WO2012043789A1 (en) | Printer | |
EP1862321B1 (en) | Thermal printer and method of controlling the same | |
JP2007320188A (en) | Thermal printer and its controlling method | |
JP4201953B2 (en) | Serial printer | |
JP5513822B2 (en) | Thermal transfer printer | |
JP2009148911A (en) | Printer, printing control method, host computer, and printer control program | |
JP2001088332A (en) | Thermal transfer recording device | |
JP2005144897A (en) | Both sides printing equipment | |
JP3866961B2 (en) | Line thermal printer | |
JP2013059924A (en) | Double-sided printing apparatus | |
JP2001310494A (en) | Line thermal printer | |
JP2012076352A (en) | Printer | |
JP2002052751A (en) | Method of color printing and color printer | |
JP2001001563A (en) | Thermal printer | |
JP2015063034A (en) | Recording apparatus | |
JP2018183892A (en) | Printer | |
JP2004291323A (en) | Image forming apparatus | |
JP2010005970A (en) | Printing apparatus, method of controlling printing apparatus, and a control program for printing apparatus | |
JP2011183657A (en) | Thermal printer and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080404 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080408 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080609 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20081014 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081215 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20081222 |
|
A912 | Removal of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20090123 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20090220 |
|
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: 20100618 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4537977 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: 20130625 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140625 Year of fee payment: 4 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |