JP4537977B2 - Thermal printer and printing method therefor - Google Patents

Thermal printer and printing method therefor Download PDF

Info

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
Application number
JP2006150501A
Other languages
Japanese (ja)
Other versions
JP2007320086A (en
Inventor
文治 岩崎
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.)
NCR Voyix Corp
Original Assignee
NCR 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 NCR Corp filed Critical NCR Corp
Priority to JP2006150501A priority Critical patent/JP4537977B2/en
Priority to US11/681,928 priority patent/US7950860B2/en
Priority to DE602007009896T priority patent/DE602007009896D1/en
Priority to EP07108848A priority patent/EP1862319B1/en
Priority to CN2007101052605A priority patent/CN101081573B/en
Publication of JP2007320086A publication Critical patent/JP2007320086A/en
Priority to US12/696,240 priority patent/US8382388B2/en
Priority to US12/696,231 priority patent/US8485745B2/en
Application granted granted Critical
Publication of JP4537977B2 publication Critical patent/JP4537977B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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サーマルヘッドによって印刷が行なわれる。
特開平11−286147号公報
In this type of conventional double-sided thermal printer, the first platen roller and the second platen roller are rotated at the same feed speed in synchronization with each other. As the thermal paper passes between the first platen roller and the first thermal head, printing is performed on one surface of the thermal paper by the first thermal head. Further, when the thermal paper passes between the second platen roller and the second thermal head, printing is performed on one surface of the thermal paper by the second thermal head.
Japanese Patent Laid-Open No. 11-286147

この種のサーマルプリンタに用いられるサーマルヘッドとしては、通常、サーマル用紙の搬送方向に対して直交する方向に多数の発熱素子が列状に配置されたラインサーマルヘッドが使用される。このラインサーマルヘッドは、印刷ドットに対応した任意の発熱素子に通電して電気エネルギーを印加し、この任意の発熱素子を発熱させることにより、任意のドットパターンをサーマル用紙に印刷する。   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サーマルヘッドの通電周期を制御する第制御手段と、上記モード設定手段で同期モードが設定された場合に、第1サーマルヘッドに対する通電時間と第2サーマルヘッドに対する通電時間の少なくとも一部が重なるように第1サーマルヘッドと第2サーマルヘッドの通電周期を制御する第制御手段とを備える。 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 thermal printer 10 that performs printing on both sides of a thermal paper 1 that has thermal layers on both sides.

図1は本実施の形態のサーマルプリンタ10における印刷機構部の概略を模式的に示す図である。ロール状に巻回されたサーマル用紙1は、図示しないプリンタ本体の用紙収容部に収容される。そして、その先端が用紙収容部から引き出され、プリンタ本体の用紙排出口から外部へ排出されるようになっている。   FIG. 1 is a diagram schematically showing an outline of a printing mechanism section in the thermal printer 10 of the present embodiment. The thermal paper 1 wound in a roll shape is accommodated in a paper accommodating portion of a printer main body (not shown). Then, the leading end is pulled out from the paper storage portion and discharged from the paper discharge port of the printer main body to the outside.

プリンタ本体には、用紙収容部から引き出されたサーマル用紙の一方の面(以下、この面を表面1Aという)に接するように第1サーマルヘッド2が設けられている。そしてこの第1サーマルヘッド2に対し、サーマル用紙1を挟んで対向するように第1プラテンローラ3が設けられている。   The printer main body is provided with a first thermal head 2 so as to be in contact with one surface of the thermal paper drawn from the paper accommodating portion (hereinafter, this surface is referred to as the front surface 1A). A first platen roller 3 is provided so as to face the first thermal head 2 with the thermal paper 1 interposed therebetween.

また、前記第1サーマルヘッド2より紙送り方向上流側において、用紙収容部から引き出されたサーマル用紙の他方の面(以下、この面を裏面1Bという)に接するように第2サーマルヘッド4が設けられている。そしてこの第2サーマルヘッド4に対し、サーマル用紙1を挟んで対向するように第2プラテンローラ5が設けられている。   A second thermal head 4 is provided on the upstream side of the first thermal head 2 in the paper feeding direction so as to be in contact with the other surface of the thermal paper drawn from the paper storage portion (hereinafter, this surface is referred to as the back surface 1B). It has been. A second platen roller 5 is provided so as to face the second thermal head 4 with the thermal paper 1 interposed therebetween.

さらに、前記第1サーマルヘッド2より紙送り方向下流側において、用紙排出口から排出されるサーマル用紙1を切断するためのカッタ機構6が設けられている。   Further, a cutter mechanism 6 for cutting the thermal paper 1 discharged from the paper discharge port is provided on the downstream side of the first thermal head 2 in the paper feeding direction.

サーマル用紙1の表面1A及び裏面1Bには、それぞれ感熱層が形成されている。これら感熱層は、所定の温度以上に加熱されたときに例えば黒あるいは赤等の所望の色に発色する材料によって構成されている。このサーマル用紙1は、図1に示すように、表面1Aが内側を向くようにロール状に巻回されている。   Thermal layers are formed on the front surface 1A and the back surface 1B of the thermal paper 1, respectively. These heat-sensitive layers are made of a material that develops a desired color such as black or red when heated to a predetermined temperature or higher. As shown in FIG. 1, the thermal paper 1 is wound in a roll shape so that the front surface 1A faces inward.

第1サーマルヘッド2及び第2サーマルヘッド4は、いずれも多数の発熱素子を列状に配置してなるラインサーマルヘッドであり、発熱素子の配列方向がサーマル用紙1の搬送方向に対して直交するようにプリンタ本体に取り付けられている。   Each of the first thermal head 2 and the second thermal head 4 is a line thermal head in which a large number of heating elements are arranged in a row, and the arrangement direction of the heating elements is orthogonal to the conveyance direction of the thermal paper 1. Is attached to the printer body.

第1プラテンローラ3及び第2プラテンローラ5は円柱状に形成され、図示しない動力伝達機構により後述する用紙フィードモータ23の回転が伝達されて、それぞれ図示矢印の方向に回転するようになっている。これらプラテンローラ3,5の回転により、用紙収容部から引き出されたサーマル用紙1が図示矢印の方向に搬送され、用紙排出口から外部へ排出される。ここに、第1プラテンローラ3及び第2プラテンローラ5は、搬送手段を構成する。   The first platen roller 3 and the second platen roller 5 are formed in a cylindrical shape, and the rotation of a sheet feed motor 23 (to be described later) is transmitted by a power transmission mechanism (not shown) so as to rotate in the directions indicated by the arrows. . As the platen rollers 3 and 5 rotate, the thermal paper 1 drawn out from the paper storage unit is conveyed in the direction of the arrow shown in the figure, and is discharged to the outside from the paper discharge port. Here, the first platen roller 3 and the second platen roller 5 constitute a conveying unit.

図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 thermal printer 10. The thermal printer 10 includes a CPU (Central Processing Unit) 11 as a control unit body. The CPU 11 is connected to a ROM (Read Only Memory) 13, a RAM (Random Access Memory) 14, an I / O (Input / Output) port 15, and a communication interface 16 via a bus line 12 such as an address bus and a data bus. , The first and second motor drive circuits 17 and 18 and the first and second head drive circuits 19 and 20 are connected to form a control circuit. Driving power is supplied from the power supply circuit 21 to each part constituting the control circuit.

通信インターフェイス16には、適時印刷データを生成し供給するホスト装置30が接続されている。I/Oポート15には、プリンタ本体に設けられた各種センサ22からの信号が入力される。   Connected to the communication interface 16 is a host device 30 that generates and supplies print data in a timely manner. Signals from various sensors 22 provided in the printer main body are input to the I / O port 15.

第1のモータ駆動回路17は、サーマル用紙1を一方向に搬送する搬送手段の駆動源である用紙フィードモータ23のオン,オフを制御する。第2のモータ駆動回路18は、前記カッタ機構6の駆動源であるカッタモータ24のオン,オフを制御する。   The first motor drive circuit 17 controls on / off of a paper feed motor 23 that is a drive source of a transport unit that transports the thermal paper 1 in one direction. The second motor drive circuit 18 controls on / off of a cutter motor 24 that is a drive source of the cutter mechanism 6.

第1のヘッド駆動回路19は、前記第1サーマルヘッド2の印刷動作を制御する。第2のヘッド駆動回路20は、前記第2サーマルヘッド4の印刷動作を制御する。第1のヘッド駆動回路19と第1サーマルヘッド2との対応関係を図3のブロック図で示す。なお、第2のヘッド駆動回路20と第2サーマルヘッド4との対応関係もこれと同様なので、ここでの説明は省略する。   The first head drive circuit 19 controls the printing operation of the first thermal head 2. The second head drive circuit 20 controls the printing operation of the second thermal head 4. The correspondence relationship between the first head drive circuit 19 and the first thermal head 2 is shown in the block diagram of FIG. The correspondence relationship between the second head drive circuit 20 and the second thermal head 4 is the same as this, and the description thereof is omitted here.

第1サーマルヘッド2は、N(Nは複数)個の発熱素子を列状に配列し、この素子数Nのドットからなる1ラインデータを一度に印字可能なラインサーマルヘッド本体41と、上記1ラインデータを1ライン毎にラッチするラッチ回路42と、このラッチ回路42にラッチされた1ラインデータに従い、前記ラインサーマルヘッド本体41を構成するN個の発熱素子を選択的に通電する通電制御回路43とから構成されている。   The first thermal head 2 includes N (N is a plurality) heating elements arranged in a line, and a line thermal head main body 41 capable of printing one line data consisting of dots of the number of elements N at a time, and the above 1 A latch circuit 42 that latches line data for each line, and an energization control circuit that selectively energizes N heating elements constituting the line thermal head main body 41 according to the one line data latched by the latch circuit 42. 43.

第1のヘッド駆動回路19は、バスライン12を介して順次入力されるNドット分の1ラインデータを取込み、ラッチ回路42(先入れ先出し機能)にシリアルデータ信号DATAを出力する機能と、ラッチ信号LATをラッチ回路42に出力する機能と、イネーブル信号ENBを通電制御回路43に出力する機能とを有している。   The first head drive circuit 19 takes in one line data of N dots sequentially input via the bus line 12, outputs a serial data signal DATA to the latch circuit 42 (first-in first-out function), and a latch signal LAT. Is output to the latch circuit 42, and an enable signal ENB is output to the energization control circuit 43.

ラッチ回路42においては、ラッチ信号LATがアクティブになるタイミングで、ヘッド駆動回路19から出力される1ラインデータをラッチする。通電制御回路43においては、ラッチ回路42にラッチされた1ラインデータのうち印刷ドットに対応した発熱素子をイネーブル信号ENBがアクティブになっている間通電する。   The latch circuit 42 latches one line data output from the head drive circuit 19 at the timing when the latch signal LAT becomes active. The energization control circuit 43 energizes the heating element corresponding to the print dot in the one line data latched by the latch circuit 42 while the enable signal ENB is active.

かかる構成のサーマルプリンタ10は、図4に示すように、ホスト装置30から受信した印刷データを記憶するための受信バッファ51と、前記サーマル用紙1の表面1A側に印刷する印刷データのドットイメージデータが展開されて格納される表面イメージバッファ52と、前記サーマル用紙1の裏面1B側に印刷する印刷データのドットイメージデータが展開されて格納される裏面イメージバッファ53とがRAM14に形成されている。   As shown in FIG. 4, the thermal printer 10 having such a configuration includes a reception buffer 51 for storing print data received from the host device 30, and dot image data of print data to be printed on the surface 1 </ b> A side of the thermal paper 1. Are developed and stored in the RAM 14 and a back image buffer 53 in which dot image data of print data to be printed on the back surface 1B side of the thermal paper 1 is developed and stored.

しかして、CPU11は、図5の流れ図に示す手順に従い、サーマル用紙1への両面印刷を制御するものとなっている。すなわちCPU11は、ST(ステップ)1として印刷データを受信するのを待機している。そして、ホスト装置30から印刷データを受信し、受信バッファ51に記憶したならば、CPU11は、ST2としてこの印刷データを先頭から順次ドットデータに展開し、表面イメージバッファ52に格納する。そして、ST3として表面イメージバッファ52に一定量のドットデータが格納されたならば、次にCPU11は、ST4として印刷データの残りを順次ドット展開し、裏面イメージバッファ53に格納する。そして、ST5として裏面イメージバッファ53に一定量のドットデータが格納されたならば、CPU11は、ST6の処理に進む。   Therefore, the CPU 11 controls double-sided printing on the thermal paper 1 according to the procedure shown in the flowchart of FIG. That is, the CPU 11 stands by for receiving print data as ST (step) 1. If the print data is received from the host device 30 and stored in the reception buffer 51, the CPU 11 sequentially develops the print data into dot data from the top and stores it in the front image buffer 52 as ST2. If a certain amount of dot data is stored in the front surface image buffer 52 as ST3, the CPU 11 then sequentially expands the remaining dot of the print data in ST4 and stores it in the back surface image buffer 53. If a certain amount of dot data is stored in the back image buffer 53 as ST5, the CPU 11 proceeds to the process of ST6.

なお、一定量のドットデータが表面イメージバッファ52または裏面イメージバッファ53に格納される前に受信バッファ51内の印刷データを全てドットデータに展開し終えた場合にも、CPU11は、ST6の処理に進む。   Even when all the print data in the reception buffer 51 has been expanded into dot data before a certain amount of dot data is stored in the front image buffer 52 or the back image buffer 53, the CPU 11 performs the process of ST6. move on.

ST6では、CPU11は、表面イメージバッファ52に格納されたドットデータのうち印刷ドットの数を計数する。そして、このドット数を表面通電画素数p1として記憶する。また、ST7として裏面イメージバッファ53に格納されたドットデータのうち印刷ドットの数を計数する。そして、このドット数を裏面通電画素数p2として記憶する。   In ST6, the CPU 11 counts the number of print dots in the dot data stored in the front image buffer 52. The number of dots is stored as the number of surface energized pixels p1. In ST7, the number of print dots among the dot data stored in the back image buffer 53 is counted. Then, the number of dots is stored as the number of backside energized pixels p2.

次に、CPU11は、ST8として表面通電画素数p1と裏面通電画素数p2とを加算し、その総和(p1+p2)が予め設定されているしきい値Qを超えたか否かを判断する(通電画素数判断手段)。ここで、しきい値Qは、電源回路21の仕様に基づいて設定される。   Next, in step ST8, the CPU 11 adds the front side energized pixel number p1 and the back side energized pixel number p2, and determines whether or not the sum (p1 + p2) exceeds a preset threshold value Q (energized pixel). Number judgment means). Here, the threshold value Q is set based on the specification of the power supply circuit 21.

表面通電画素数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 CPU 11 performs asynchronous printing mode as ST9. Set to print mode. On the other hand, when the total sum (p1 + p2) does not exceed the threshold value, the CPU 11 sets the print mode to the synchronous print mode as ST10 (mode setting means). After that, the CPU 11 controls each part according to the print mode as ST11 to print the dot data stored in the front image buffer 52 on the front surface 1A of the thermal paper 1 line by line and at the same time stored in the back image buffer 53. Dot data is printed on the back surface 1B of the thermal paper 1 line by line (control means).

表面イメージバッファ52及び裏面イメージバッファ53にそれぞれ格納されたドットデータの印刷を終了すると、CPU11は、ST12として受信バッファ51に印刷データが残っているか否かを判断する。そして、印刷データが残っている場合には、ST2〜ST12の処理を再度実行する。ST12にて印刷データが残っていない場合には、CPU11は、サーマル用紙1のロングフィードを行った後、ST13としてカッタモータ24に駆動信号を出力し、カッタ機構6を動作させて、表裏両面に印刷されたサーマル用紙を切断する。以上で、この印刷処理を終了する。   When the printing of the dot data stored in the front image buffer 52 and the back image buffer 53 is finished, the CPU 11 determines whether or not print data remains in the reception buffer 51 in ST12. If print data remains, the processes of ST2 to ST12 are executed again. If no print data remains in ST12, the CPU 11 performs a long feed of the thermal paper 1 and then outputs a drive signal to the cutter motor 24 in ST13 to operate the cutter mechanism 6 so that both the front and back sides are operated. Cut the printed thermal paper. This print processing is finished.

印刷モードとして非同期印刷モードが設定された場合の主要な信号のタイミングチャートを図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 paper feed motor 23. (C) shows a latch signal LAT1 for the thermal head to be printed on the front surface 1A side of the thermal paper 1, that is, the first thermal head 2. FIG. (D) shows a latch signal LAT2 for the thermal head to be printed on the back surface 1B side of the thermal paper 1, that is, the second thermal head 4. (E) shows an enable signal ENB1 for the first thermal head 2. (F) shows an enable signal ENB2 for the second thermal head 4.

図示するように、非同期印刷モードが設定されていた場合には、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 paper feed motor 23 is output at a period of 1/2 of one raster cycle. The latch signal LAT1 for the first thermal head 2 and the latch signal LAT2 for the second thermal head 4 are output at a cycle of one raster cycle. The enable signal ENB1 for the first thermal head 2 is output in synchronization with the pulse signal of the first half of the drive pulse signal that is output in a half cycle of one raster cycle. The enable signal ENB2 for the second thermal head 4 is output in synchronization with the pulse signal in the latter half of the drive pulse signal.

なお、イネーブル信号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 front surface 1A side by the first thermal head 2, and a print example 62 on the right side shows a print example on the back surface 1B side by the second thermal head 4. That is, the black circle 63 indicates a printing dot, and the white circle 64 indicates a non-printing dot. The symbol d indicates the dot length of the print dot 63 in the paper transport direction 65.

第1サーマルヘッド2は、ラッチ信号LAT1が入力された(アクティブONになった)タイミングでラッチ回路42にラッチされたNドットの1ラインデータのうち、印刷ドット63に対応した発熱素子をイネーブル信号ENB1が入力されている(アクティブONになっている)間通電する。これにより、サーマル用紙1の表面1Aに1ライン分の印刷ドット63(ドット長=d)が用紙搬送方向65に対して直交する方向に印刷される。   The first thermal head 2 enables the heating element corresponding to the print dot 63 among the N-dot one-line data latched by the latch circuit 42 at the timing when the latch signal LAT1 is input (becomes active ON). Energization is performed while ENB1 is input (active ON). As a result, one line of printing dots 63 (dot length = d) is printed on the front surface 1 </ b> A of the thermal paper 1 in a direction orthogonal to the paper transport direction 65.

一方、第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 print dot 63 out of one line data of N dots latched by the latch circuit 42 at the timing when the latch signal LAT2 is input (becomes active ON). Energization is performed while the enable signal ENB2 is input (active ON). As a result, one line of printing dots 63 (dot length = d) is printed on the back surface 1 </ b> B of the thermal paper 1 in a direction orthogonal to the paper transport direction 65.

ここで、用紙フィードモータ23は、イネーブル信号ENB1が出力されるタイミングとイネーブル信号ENB2が出力されるタイミングにそれぞれ同期してオンし、サーマル用紙1を一方向に搬送する。このときの搬送量は、1ラスタサイクルの半分の周期で用紙フィードモータ23に対する駆動パルス信号が出力されるので、用紙搬送方向65における印刷ドット63のドット長dの半分d/2となる。   Here, the paper feed motor 23 is turned on in synchronization with the output timing of the enable signal ENB1 and the output timing of the enable signal ENB2, and transports the thermal paper 1 in one direction. The transport amount at this time is d / 2 that is half the dot length d of the print dots 63 in the paper transport direction 65 because the drive pulse signal for the paper feed motor 23 is output in a half cycle of one raster cycle.

したがって、図8に示すように、サーマル用紙1の表面1Aに印刷される1ラインデータと、裏面1Bに印刷される1ラインデータとは、ドット長dの半分d/2だけずれて各々の面に印刷される。   Therefore, as shown in FIG. 8, one line data printed on the front surface 1A of the thermal paper 1 and one line data printed on the back surface 1B are shifted from each other by a half d / 2 of the dot length d. Printed on.

このように、印刷モードとして非同期印刷モードが設定された場合には、第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 thermal head 2 is active and the enable signal ENB2 for the second thermal head 2 are active. It is controlled so that it does not overlap with the time. Specifically, the energization cycle of the first thermal head 2 and the second thermal head 4 is set to be twice or more the energization time required for printing one dot line data, and the first thermal head 2 and the second thermal head 4 The energization cycle is controlled to be shifted by approximately ½ cycle.

したがって、2つのサーマルヘッド2,4が同時に通電されることはないので、サーマルヘッド通電時の必要電流のピーク値を、1つのサーマルヘッドしか備えていない片面サーマルプリンタの場合と略同等に抑えることができる。   Accordingly, since the two thermal heads 2 and 4 are not energized at the same time, the peak value of the required current when the thermal head is energized is suppressed to be substantially the same as that of a single-sided thermal printer having only one thermal head. Can do.

一方、同期印刷モードが設定された場合の主要な信号のタイミングチャートを図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 paper feed motor 23, and (c) shows the first thermal. The latch signal LAT1 for the head 2 is shown. (D) shows the latch signal LAT2 for the second thermal head 4. (e) shows the enable signal ENB1 for the first thermal head 2. (f) shows the second thermal head 4. The enable signal ENB2 is shown.

図示するように、同期印刷モードが設定されていた場合にも、非同期印刷モードが設定されていた場合と同様に、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 paper feed motor 23 at a cycle of 1/2 of one raster cycle, similarly to the case where the asynchronous print mode is set. To do. In addition, the latch signal LAT1 for the first thermal head 2 and the latch signal LAT2 for the second thermal head 4 are output at a cycle of one raster cycle. However, one raster cycle in the synchronous printing mode is set to half the time of one raster cycle in the asynchronous printing mode.

一方、第1サーマルヘッド2に対するイネーブル信号ENB1と、第2サーマルヘッド4に対するイネーブル信号ENB2は、いずれも1ラスタサイクルの1/2の周期で出力される駆動パルス信号の前半のパルス信号に同期して出力している。なお、イネーブル信号ENB1及びイネーブル信号ENB2のパルス幅は、1ラスタサイクルより短い時間に設定されている。   On the other hand, the enable signal ENB1 for the first thermal head 2 and the enable signal ENB2 for the second thermal head 4 are both synchronized with the pulse signal in the first half of the drive pulse signal that is output in a half cycle of one raster cycle. Is output. Note that the pulse widths of the enable signal ENB1 and the enable signal ENB2 are set to be shorter than one raster cycle.

このように、印刷モードとして同期印刷モードが設定された場合には、第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 thermal head 2 is active and the enable signal ENB2 for the second thermal head 2 are active. It is controlled so as to coincide with the time. Therefore, although the two thermal heads 2 and 4 are energized simultaneously, the current consumed at that time is within the specification range of the power supply circuit 21 and does not exceed the use range.

そして、この同期印刷モードが設定されたときには、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 thermal head 2 and the second thermal head 4 are increased by shifting the energization period between the first thermal head 2 and the second thermal head 4 by approximately ½ period. Although the energization time is not overlapped, the method of preventing the energization time for the heads 2 and 4 from overlapping is not limited to this.

図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 paper feed motor 23, and (c) shows the first thermal. The latch signal LAT1 for the head 2 is shown. (D) shows the latch signal LAT2 for the second thermal head 4. (e) shows the enable signal ENB1 for the first thermal head 2. (f) shows the second thermal head 4. The enable signal ENB2 is shown.

この他の実施の形態においても、第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 thermal head 2 is output in synchronization with the pulse signal of the first half of the drive pulse signal output at a period of 1/2 of one raster cycle. On the other hand, the enable signal ENB2 for the second thermal head 2 is output in synchronization with the fall of the enable signal ENB1. That is, first, energization to the first thermal head 2 is performed, and energization to the second thermal head 4 is started at a timing when energization to the first thermal head 2 is completed.

このような制御方法を採用した場合でも、第1サーマルヘッド2に対する通電時間と第2サーマルヘッド4に対する通電時間とが重ならないので、サーマルヘッド通電時の必要電流のピーク値を、1つのサーマルヘッドしか備えていない片面サーマルプリンタの場合と略同等に抑えることができる。   Even when such a control method is adopted, the energization time for the first thermal head 2 and the energization time for the second thermal head 4 do not overlap. It can be suppressed to the same level as in the case of a single-sided thermal printer that is only provided.

また、前記実施の形態では、同期印刷モード設定時には第1サーマルヘッド2に対する通電時間と第2サーマルヘッド4に対する通電時間とを完全に一致させたが、一部が重なるように制御してもよい。   In the above embodiment, the energization time for the first thermal head 2 and the energization time for the second thermal head 4 are completely matched when the synchronous printing mode is set. .

また、前記実施の形態では、表面イメージバッファ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 surface image buffer 52 and the total of dot data expanded in the back surface image buffer 53. The total of the number of print dots (the number of back side energized pixels p2) was compared with the threshold value Q. The areas of the front image buffer 52 and the back image buffer 53 were divided into a first half and a second half, and each first half It is determined whether the sum of the number of front-surface energized pixels p1 and the number of back-surface energized pixels p2 exceeds the threshold value Q, and the sum of the number of front-surface energized pixels p1 and the number of back-surface energized pixels p2 of each latter half It may be determined whether or not the threshold value Q is exceeded, and the print mode may be changed between the first half and the second half. In this case, the size for dividing the areas of the front surface image buffer 52 and the rear surface image buffer 53 is not limited to ½.

また、前記実施の形態では、第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 thermal head 2 and the number of energized pixels p2 of the print data printed by the second thermal head 4 has the threshold value Q. Asynchronous mode is set when it is determined that it is exceeded, and synchronous mode is set when it is determined that it is not exceeded, but this function is omitted and all thermal printers that print in asynchronous mode are also available. It is included in the invention.

また、前記実施の形態では、印刷データを、先ず表面イメージバッファ52にドット展開し、一定量を展開したならば、残りの印刷データを裏面イメージバッファ53にドット展開したが、印刷データを表面イメージバッファ52及び裏面イメージバッファ53にドット展開する方法は、これに限定されるものではない。   In the above-described embodiment, the print data is first developed in the front image buffer 52, and if a certain amount is developed, the remaining print data is developed in the back image buffer 53. The method of developing dots in the buffer 52 and the back image buffer 53 is not limited to this.

また、前記実施の形態では、用紙として両面に感熱層を有するサーマル用紙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 thermal heads 2 and 4 and the paper. The present invention can be similarly applied to a thermal printer.

この他、前記実施形態に開示されている複数の構成要素の適宜な組合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を組合わせてもよい。   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 is a schematic diagram showing an outline of a printing mechanism unit of a thermal printer according to an embodiment of the present invention. 同サーマルプリンタの制御回路を含む要部構成を示すブロック図。The block diagram which shows the principal part structure containing the control circuit of the thermal printer. 同サーマルプリンタに設けられたサーマルヘッドの要部構成を示すブロック図。FIG. 3 is a block diagram showing a main configuration of a thermal head provided in the thermal printer. 同サーマルプリンタのRAMに形成される主要なメモリエリアを示す模式図。The schematic diagram which shows the main memory areas formed in RAM of the thermal printer. 同サーマルプリンタのCPUが実行する制御処理手順の要部を示す流れ図。3 is a flowchart showing a main part of a control processing procedure executed by the CPU of the thermal printer. 印刷モードとして非同期印刷モードが設定されたときの主要な信号の一タイミング例を示す図。The figure which shows the timing example of the main signal when asynchronous printing mode is set as printing mode. 印刷モードとして同期印刷モードが設定されたときの主要な信号の一タイミング例を示す図。The figure which shows one timing example of the main signal when synchronous printing mode is set as printing mode. 印刷モードとして非同期印刷モードが設定されたときのドット印刷例を示す模式図。FIG. 5 is a schematic diagram illustrating an example of dot printing when an asynchronous printing mode is set as a printing mode. 印刷モードとして非同期印刷モードが設定されたときの主要な信号の他のタイミング例を示す図。The figure which shows the other timing example of the main signal when asynchronous printing mode is set as printing mode.

符号の説明Explanation of symbols

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)

用紙の一方の面に接するように配置され、複数の発熱素子への通電により当該一方の面にドットイメージデータの印刷を行う第1サーマルヘッドと、
前記用紙の他方の面に接するように配置され、複数の発熱素子への通電により当該他方の面にドットイメージデータの印刷を行う第2サーマルヘッドと、
ホスト装置から受信した印刷データを記憶するための受信バッファと、
前記用紙の一方の面に対する印刷用のドットイメージデータを格納するための第1イメージバッファと、
前記用紙の他方の面に対する印刷用のドットイメージデータを格納するための第2イメージバッファと、
前記受信バッファ内の印刷データを先頭から順次にドットイメージデータに展開してその一定量を前記第1イメージバッファに格納し、この格納後、前記受信バッファ内の残りの印刷データを順次にドットイメージデータに展開して前記第2イメージバッファに格納する第1制御手段と、
前記第1イメージバッファに格納したドットイメージデータの通電画素数と前記第2イメージバッファに格納したドットイメージデータの通電画素数との総和がしきい値を超えるか否かを判断する通電画素数判断手段と、
この通電画素数判断手段により前記総和が前記しきい値を超えると判断されたときには非同期モードを設定し、超えないと判断されたときには同期モードを設定するモード設定手段と、
このモード設定手段で非同期モードが設定された場合に、前記第1サーマルヘッドによる1ドットラインデータの印刷に要する通電時間と前記第2サーマルヘッドによる1ドットラインデータの印刷に要する通電時間とが重ならないように前記第1サーマルヘッドと前記第2サーマルヘッドの通電周期を制御する第制御手段と、
前記モード設定手段で同期モードが設定された場合に、前記第1サーマルヘッドに対する通電時間と前記第2サーマルヘッドに対する通電時間の少なくとも一部が重なるように前記第1サーマルヘッドと前記第2サーマルヘッドの通電周期を制御する第制御手段と、
を具備したことを特徴とするサーマルプリンタ。
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サーマルヘッドと前記第2サーマルヘッドとの間で前記通電周期を略1/2周期ずらすことを特徴とする請求項1記載のサーマルプリンタ。 The second control means sets the energization cycle of the first thermal head and the second thermal head to be twice or more the energization time required for printing one dot line data, and the first thermal head and the second thermal head The thermal printer according to claim 1, wherein the energization cycle is shifted by approximately ½ cycle between the thermal printer and the thermal printer. 前記第制御手段は、前記第1サーマルヘッドと前記第2サーマルヘッドの通電周期を1ドットラインデータの印刷に要する通電時間の2倍以上とし、かつ前記第1サーマルヘッド及び第2サーマルヘッドのうちいずれか一方のサーマルヘッドへの通電を行い、この一方のサーマルヘッドへの通電が終了したタイミングで他方のサーマルヘッドへの通電を開始することを特徴とする請求項1記載のサーマルプリンタ。 The second control means sets the energization cycle of the first thermal head and the second thermal head to be twice or more the energization time required for printing one dot line data, and the first thermal head and the second thermal head. 2. The thermal printer according to claim 1, wherein energization of one of the thermal heads is performed, and energization of the other thermal head is started at a timing when energization of the one thermal head is completed. 前記同期モードが設定された場合の用紙搬送速度を前記非同期モードが設定された場合の用紙搬送速度より速める第制御手段、をさらに備えることを特徴とする請求項1記載のサーマルプリンタ。 The thermal printer according to claim 1, further comprising a fourth control unit configured to increase a sheet conveyance speed when the synchronous mode is set to be higher than a sheet conveyance speed when the asynchronous mode is set. 用紙の一方の面に接するように配置され、複数の発熱素子への通電により当該一方の面にドットイメージデータの印刷を行う第1サーマルヘッドと、前記用紙の他方の面に接するように配置され、複数の発熱素子への通電により当該他方の面にドットイメージデータの印刷を行う第2サーマルヘッドと、ホスト装置から受信した印刷データを記憶するための受信バッファと、前記用紙の一方の面に対する印刷用のドットイメージデータを格納するための第1イメージバッファと、前記用紙の他方の面に対する印刷用のドットイメージデータを格納するための第2イメージバッファとを備えたサーマルプリンタの印刷方法であって、
前記受信バッファ内の印刷データを先頭から順次にドットイメージデータに展開してその一定量を前記第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:
前記非同期モードが設定された場合の制御は、前記第1サーマルヘッドと前記第2サーマルヘッドの通電周期を1ドットラインデータの印刷に要する通電時間の2倍以上とし、かつ前記第1サーマルヘッドと前記第2サーマルヘッドとの間で前記通電周期を略1/2周期ずらすことにより、前記第1サーマルヘッドによる1ドットラインデータの印刷に要する通電時間と前記第2サーマルヘッドによる1ドットラインデータの印刷に要する通電時間とが重ならないようにすることを特徴とする請求項5記載のサーマルプリンタの印刷方法。   When the asynchronous mode is set, the control is performed such that the energization cycle of the first thermal head and the second thermal head is at least twice the energization time required for printing one dot line data, and the first thermal head By shifting the energization period to the second thermal head by approximately ½ period, the energization time required for printing one dot line data by the first thermal head and the one dot line data by the second thermal head are reduced. 6. The thermal printer printing method according to claim 5, wherein the energization time required for printing does not overlap. 前記非同期モードが設定された場合の制御は、前記第1サーマルヘッドと前記第2サーマルヘッドの通電周期を1ドットラインデータの印刷に要する通電時間の2倍以上とし、かつ前記第1サーマルヘッド及び第2サーマルヘッドのうちいずれか一方のサーマルヘッドへの通電を行い、この一方のサーマルヘッドへの通電が終了したタイミングで他方のサーマルヘッドへの通電を開始することを特徴とする請求項5記載のサーマルプリンタの印刷方法。   When the asynchronous mode is set, the control is performed such that the energization period of the first thermal head and the second thermal head is at least twice the energization time required for printing one dot line data, and the first thermal head and 6. The energization of one of the second thermal heads is performed, and the energization of the other thermal head is started at the timing when the energization of the one thermal head is finished. Thermal printer printing method. 前記同期モードが設定された場合の用紙搬送速度を前記非同期モードが設定された場合の用紙搬送速度より速めるステップ、をさらに備えることを特徴とする請求項5記載のサーマルプリンタの印刷方法。   6. The printing method for a thermal printer according to claim 5, further comprising a step of making the paper transport speed when the synchronous mode is set faster than the paper transport speed when the asynchronous mode is set.
JP2006150501A 2006-05-30 2006-05-30 Thermal printer and printing method therefor Active JP4537977B2 (en)

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)

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

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

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