JP2007320087A - Thermal printer and its printing method - Google Patents

Thermal printer and its printing method Download PDF

Info

Publication number
JP2007320087A
JP2007320087A JP2006150502A JP2006150502A JP2007320087A JP 2007320087 A JP2007320087 A JP 2007320087A JP 2006150502 A JP2006150502 A JP 2006150502A JP 2006150502 A JP2006150502 A JP 2006150502A JP 2007320087 A JP2007320087 A JP 2007320087A
Authority
JP
Japan
Prior art keywords
thermal head
thermal
printing
dot
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006150502A
Other languages
Japanese (ja)
Other versions
JP4303261B2 (en
Inventor
Bunji Iwasaki
文治 岩崎
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2006150502A priority Critical patent/JP4303261B2/en
Priority to US11/681,928 priority patent/US7950860B2/en
Priority to EP07108848A priority patent/EP1862319B1/en
Priority to DE602007009896T priority patent/DE602007009896D1/en
Priority to CN2007101052605A priority patent/CN101081573B/en
Publication of JP2007320087A publication Critical patent/JP2007320087A/en
Application granted granted Critical
Publication of JP4303261B2 publication Critical patent/JP4303261B2/en
Priority to US12/696,231 priority patent/US8485745B2/en
Priority to US12/696,240 priority patent/US8382388B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To shorten the peak value duration time of a current necessary for electrification to a first thermal head and a second thermal head. <P>SOLUTION: The thermal printer is equipped with both the first thermal head which is arranged to be in touch with one surface of a paper and performs printing of dot image data to the one surface through electrification to a plurality of heating elements, and the second thermal head which is arranged to be in touch with the other surface of the paper and performs printing of the dot image data to the other surface through electrification to a plurality of heating elements. In the case of printing character strings of the same size and the same line spacing to both surfaces of the thermal paper by the first thermal head and the second thermal head by dot image data, the printer controls so that a printing starting timing of the character strings by the first thermal head and a printing starting timing of the character strings by the second thermal head shift by at least a time necessary for formation of the line spacing. <P>COPYRIGHT: (C)2008,JPO&INPIT

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

このため、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 simultaneously print the same size and character strings between the same lines on both sides of the thermal paper, only one thermal head is used. Compared to the case of a single-sided thermal printer that is not used, the peak value of energy consumption (current) at the time of printing a character string is approximately doubled and continues. In order to cope with this, an appropriate power source is required, which hinders the cost reduction and miniaturization of the apparatus.

本発明はこのような事情に基づいてなされたもので、その目的とするところは、第1サーマルヘッドと第2サーマルヘッドとで用紙の両面に印刷を行う際の両サーマルヘッドの通電時間がなるべく重ならないようにずらすことで、両サーマルヘッドの通電に必要な電流のピーク値持続時間を短縮することにある。   The present invention has been made based on such circumstances, and the object of the present invention is to energize both thermal heads as much as possible when printing on both sides of the sheet with the first thermal head and the second thermal head. By shifting so as not to overlap, the peak value duration time of the current required for energization of both thermal heads is shortened.

本発明は、用紙の一方の面に接するように配置され、複数の発熱素子への通電により一方の面にドットイメージデータの印刷を行う第1サーマルヘッドと、用紙の他方の面に接するように配置され、複数の発熱素子への通電により当該他方の面にドットイメージデータの印刷を行う第2サーマルヘッドとを備える。そして、第1サーマルヘッド及び第2サーマルヘッドでサーマル用紙の両面に同一サイズ及び同一行間の文字列をドットイメージデータで印刷する場合において、第1サーマルヘッドによる文字列の印刷開始タイミングと第2サーマルヘッドによる文字列の印刷開始タイミングとが少なくとも行間の形成に必要な時間ずれるように制御したものである。   The present invention is arranged so as to be in contact with one surface of a sheet, a first thermal head that prints dot image data on one surface by energizing a plurality of heating elements, and is in contact with the other surface of the sheet. And a second thermal head that prints dot image data on the other surface by energizing a plurality of heating elements. When a character string between the same size and the same line is printed with dot image data on both sides of the thermal paper by the first thermal head and the second thermal head, the print start timing of the character string by the first thermal head and the second thermal head Control is performed such that the print start timing of the character string by the head is shifted at least by the time necessary for formation between lines.

かかる手段を講じた本発明によれば、第1サーマルヘッドと第2サーマルヘッドとでサーマル用紙の両面に印刷を行う際に両サーマルヘッドの通電時間が重なる期間を少なくでき、両サーマルヘッドの通電に必要な電流のピーク値持続時間を短縮できる効果を奏する。   According to the present invention in which such a measure is taken, when the first thermal head and the second thermal head perform printing on both sides of the thermal paper, it is possible to reduce the period in which the energization times of both thermal heads overlap, and the energization of both thermal heads. The peak current duration required for the current can be shortened.

以下、本発明を実施するための最良の形態について、図面を用いて説明する。
なお、この実施の形態は、サーマル用紙1の両面に印刷を行うサーマルプリンタ10に本発明を適用した場合である。
Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings.
In this embodiment, the present invention is applied to a thermal printer 10 that performs printing on both sides of the thermal paper 1.

図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が内側を向くようにロール状に巻回されている。   A thermal layer is formed on each of the front surface 1A and the back surface 1B of the thermal paper 1. 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 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 (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からの信号が入力される。   A host device 30 is connected to the communication interface 16 to generate and supply print data at an appropriate time. 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 driving 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にシリアルデータとして出力する機能と、ラッチ信号LATをラッチ回路42に出力する機能と、イネーブル信号ENBを通電制御回路43に出力する機能とを有している。   The first head driving circuit 19 takes in one line data of N dots sequentially input via the bus line 12 and outputs it as serial data to the latch circuit 42 and outputs the latch signal LAT to the latch circuit 42. And a function of outputting an enable signal ENB to the energization control circuit 43.

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

かかる構成のサーマルプリンタ10は、図4に示すように、ホスト装置30から受信した印刷データを記憶するための受信バッファ51と、前記サーマル用紙1の表面1A側に印刷する印刷データのドットイメージデータが展開されて格納される表面イメージバッファ52と、前記サーマル用紙1の裏面1B側に印刷する印刷データのドットイメージデータが展開されて格納される裏面イメージバッファ53とがRAM14に形成されている。表面イメージバッファ52と裏面イメージバッファ53の記憶容量は等しい。   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. The storage capacities of the front surface image buffer 52 and the back surface image buffer 53 are equal.

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

この印刷処理は、図6の流れ図に示す手順で実行される。先ずCPU11は、ST11として表面ラインカウンタA及び裏面ラインカウンタBをいずれも“0”にリセットする。表面ラインカウンタA及び裏面ラインカウンタBは、例えばRAM14に形成されている。   This printing process is executed according to the procedure shown in the flowchart of FIG. First, the CPU 11 resets both the front surface line counter A and the rear surface line counter B to “0” as ST11. The front surface line counter A and the rear surface line counter B are formed in the RAM 14, for example.

次にCPU11は、ST12として用紙フィードモータ23を1ステップ動作させて、サーマル用紙1を1ライン分フィードさせる。また、ST13として表面ラインカウンタAを“1”だけカウントアップする。そして、ST14として表面イメージバッファ52から表面ラインカウンタAの値に対応するAライン目の1ドットラインデータを読み出し、第1のヘッド駆動回路19に転送する。これにより、このAライン目の1ドットラインデータがラッチ信号LATに同期して第1サーマルヘッド2のラッチ回路42でラッチされる。次いで、第1サーマルヘッド2においては、ラッチ回路42にラッチされた1ドットラインデータのうち印刷ドットに対応した発熱素子が、イネーブル信号ENBがアクティブになっている間通電される。かくして、サーマル用紙1の表面1AにAライン目の1ラインドットデータが印刷される。   Next, in step ST12, the CPU 11 operates the paper feed motor 23 for one step to feed the thermal paper 1 for one line. In ST13, the surface line counter A is incremented by "1". In ST14, the first dot line data of the A line corresponding to the value of the surface line counter A is read from the surface image buffer 52 and transferred to the first head driving circuit 19. As a result, the first dot line data of the A line is latched by the latch circuit 42 of the first thermal head 2 in synchronization with the latch signal LAT. Next, in the first thermal head 2, the heating element corresponding to the print dot in the one dot line data latched by the latch circuit 42 is energized while the enable signal ENB is active. Thus, 1-line dot data for the A-line is printed on the surface 1A of the thermal paper 1.

そこでCPU11は、ST15として表面ラインカウンタAが第1の設定値Pを越えたか否かを判断する。なお、第1の設定値Pについては後述する。表面ラインカウンタAが第1の設定値Pを越えていない場合には、CPU11は、ST12の処理に戻る。そして、サーマル用紙1を1ラインフィードする毎に表面ラインカウンタAを“1”だけカウントアップし、表面イメージバッファ52から表面ラインカウンタAの値に対応するAライン目の1ドットラインデータを読み出して第1のヘッド駆動回路19に転送する処理を繰り返す。   Therefore, the CPU 11 determines whether or not the surface line counter A exceeds the first set value P in ST15. The first set value P will be described later. When the surface line counter A does not exceed the first set value P, the CPU 11 returns to the process of ST12. Each time the thermal paper 1 is fed by one line, the front line counter A is incremented by “1”, and the first dot line data of the A line corresponding to the value of the front line counter A is read from the front surface image buffer 52. The process of transferring to the first head drive circuit 19 is repeated.

こうして、表面ラインカウンタAが第1の設定値Pを越えたことを確認したならば、CPU11は、ST16として裏面ラインカウンタBを“1”だけカウントアップする。そして、ST17として裏面イメージバッファ53から裏面ラインカウンタBの値に対応するBライン目の1ドットラインデータを読み出し、第2のヘッド駆動回路20に転送する。これにより、このBライン目の1ドットラインデータがラッチ信号LATに同期して第2サーマルヘッド4のラッチ回路42でラッチされる。次いで、第2サーマルヘッド4においては、ラッチ回路42にラッチされた1ドットラインデータのうち印刷ドットに対応した発熱素子が、イネーブル信号ENBがアクティブになっている間通電される。かくして、サーマル用紙1の裏面1BにBライン目の1ラインドットデータが印刷される。   Thus, if it is confirmed that the front surface line counter A exceeds the first set value P, the CPU 11 counts up the rear surface line counter B by “1” in ST16. In ST17, the first dot line data of the B line corresponding to the value of the back surface line counter B is read from the back surface image buffer 53 and transferred to the second head drive circuit 20. As a result, the first dot line data of the B line is latched by the latch circuit 42 of the second thermal head 4 in synchronization with the latch signal LAT. Next, in the second thermal head 4, the heating element corresponding to the print dot in the one dot line data latched by the latch circuit 42 is energized while the enable signal ENB is active. Thus, 1-line dot data of the B-th line is printed on the back surface 1B of the thermal paper 1.

そこでCPU11は、ST18として表面ラインカウンタAが第1の設定値Pよりも大きい第2の設定値Qに達したか否かを判断する。なお、第2の設定値Qについても後述する。表面ラインカウンタAが第2の設定値Qに達していない場合には、CPU11は、ST12の処理に戻る。そして、サーマル用紙1を1ラインフィードする毎に、表面ラインカウンタAを“1”だけカウントアップし、表面イメージバッファ52から表面ラインカウンタAの値に対応するAライン目の1ドットラインデータを読み出して第1のヘッド駆動回路19に転送する処理と、裏面ラインカウンタBを“1”だけカウントアップし、裏面イメージバッファ53から裏面ラインカウンタBの値に対応するBライン目の1ドットラインデータを読み出して第2のヘッド駆動回路20に転送する処理とを繰り返す。   Therefore, the CPU 11 determines whether or not the surface line counter A has reached the second set value Q that is larger than the first set value P in ST18. The second set value Q will also be described later. If the surface line counter A has not reached the second set value Q, the CPU 11 returns to the process of ST12. Each time the thermal paper 1 is fed by one line, the front line counter A is incremented by “1”, and the first dot line data of the A line corresponding to the value of the front line counter A is read from the front surface image buffer 52. And the back line counter B is incremented by “1”, and the first dot line data for the B line corresponding to the value of the back line counter B is obtained from the back image buffer 53. The process of reading and transferring to the second head drive circuit 20 is repeated.

その後、表面ラインカウンタAが第2の設定値Qに達したことを確認したならば、CPU11は、ST19として裏面ラインカウンタBが第2の設定値Qに達したか否かを判断する。そして、達していない場合には、ST20として用紙フィードモータ23を1ステップ動作させて、サーマル用紙1を1ライン分フィードさせた後、ST15の処理に戻る。すなわち裏面ラインカウンタBを“1”だけカウントアップし、裏面イメージバッファ53から裏面ラインカウンタBの値に対応するBライン目の1ドットラインデータを読み出して第2のヘッド駆動回路20に転送する処理を繰り返す。   Thereafter, if it is confirmed that the front surface line counter A has reached the second set value Q, the CPU 11 determines whether the back surface line counter B has reached the second set value Q in ST19. If not reached, the paper feed motor 23 is operated in one step as ST20 to feed the thermal paper 1 by one line, and the process returns to ST15. That is, the back surface line counter B is incremented by “1”, and the first dot line data of the B line corresponding to the value of the back surface line counter B is read from the back surface image buffer 53 and transferred to the second head drive circuit 20. repeat.

こうして、裏面ラインカウンタBが第2の設定値Qに達したことを確認したならば、CPU11は、ST21として表面イメージバッファ52及び裏面イメージバッファ53をクリアして、今回の印刷処理を終了する。   In this way, if it is confirmed that the back surface line counter B has reached the second set value Q, the CPU 11 clears the front surface image buffer 52 and the back surface image buffer 53 as ST21 and ends the current printing process.

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

さて、本実施の形態における印刷例を図7に模式的に示す。この例は、同一サイズ及び同一行間の文字列(印刷されるデータの内容は同一である必要はない)を複数行印刷した場合であり、図中符号61はサーマル用紙1の表面1A側の印刷例を示しており、符号62は裏面1B側の印刷例を示している。また、図中矢印63はサーマル用紙1の搬送方向を示している。   Now, an example of printing in the present embodiment is schematically shown in FIG. In this example, a character string between the same size and the same line (the contents of the data to be printed need not be the same) is printed in a plurality of lines, and reference numeral 61 in the figure denotes printing on the surface 1A side of the thermal paper 1. An example is shown, and reference numeral 62 indicates an example of printing on the back surface 1B side. In the figure, an arrow 63 indicates the direction in which the thermal paper 1 is conveyed.

同図において、符号dで示す間隔は、文字列を形成するドットラインデータの用紙搬送方向と平行な方向のライン数を示しており、dライン分の1ドットラインデータによって1行の文字列が形成されていることを意味している。同様に、符号hで示す間隔は、文字列と文字列との間の行間を形成するのに必要なライン数を示しており、hライン分の1ドットラインデータ(全て非印刷ドット)によって行間が形成されていることを意味している。また、符号gで示す間隔は、文字列のサイズに相当するライン数dと行間に相当するライン数hとを加算した値の1/2(小数点以下切り上げ)のライン数により形成されるギャップを示している。   In the figure, the interval indicated by the symbol d indicates the number of lines in the direction parallel to the paper transport direction of the dot line data forming the character string, and one line of character string is formed by 1 dot line data for d lines. It means that it is formed. Similarly, the space | interval shown by the code | symbol h has shown the number of lines required in order to form the space | interval between character strings, and it is line spacing by 1 dot line data (all non-printing dots) for h lines. Means that it is formed. The interval indicated by symbol g is a gap formed by the number of lines ½ (rounded up after the decimal point) of the value obtained by adding the number of lines d corresponding to the size of the character string and the number of lines h corresponding to the space between the lines. Show.

この場合において、図6に示した印刷処理のST15の処理で用いられる第1の設定値Pは、文字列サイズに相当するライン数dと行間に相当するライン数hとを加算した値の1/2、つまりはライン数gと等しい値に設定されている。また、同処理のST18の処理で用いられる第2の設定値Qは、同一サイズの表面イメージバッファ52及び裏面イメージバッファ53に展開可能なドットイメージデータのライン数に設定されている。   In this case, the first setting value P used in the process of ST15 of the printing process shown in FIG. 6 is 1 which is a value obtained by adding the number of lines d corresponding to the character string size and the number of lines h corresponding to the line spacing. / 2, that is, a value equal to the number of lines g. The second set value Q used in the process of ST18 of the process is set to the number of lines of dot image data that can be developed in the front image buffer 52 and the back image buffer 53 of the same size.

第1及び第2の設定値P,Qをそれぞれ上記の如く設定することにより、図7に示すように、先ず、1ライン目からgライン目までは第1サーマルヘッド2が通電されて、サーマル用紙1の表面1Aに文字列1行目のドットデータが印刷される。このとき、第2のサーマルヘッド4は通電されない。   By setting the first and second set values P and Q as described above, as shown in FIG. 7, first, the first thermal head 2 is energized from the first line to the g-th line, and thermal The dot data of the first line of the character string is printed on the front surface 1A of the paper 1. At this time, the second thermal head 4 is not energized.

次に、第1サーマルヘッド2によってgライン目の印刷が行われると、表面ラインカウンタAが第1の設定値Pを超えるので、第2サーマルヘッド4による裏面1Bへの印刷動作も開始される。これにより、第1サーマルヘッド2及び第2サーマルヘッド4がそれぞれ通電されて、サーマル用紙1の表面1A及び裏面1Bに文字列のドットデータが印刷される。   Next, when the g-th line is printed by the first thermal head 2, the front line counter A exceeds the first set value P, so the printing operation on the back surface 1 </ b> B by the second thermal head 4 is also started. . Thereby, the first thermal head 2 and the second thermal head 4 are energized, respectively, and dot data of a character string is printed on the front surface 1A and the back surface 1B of the thermal paper 1.

ただし、表面1Aにおいてライン数dの文字列が印刷され、次の文字列が印刷されるまでのライン数hの改行区間においては、第1サーマルヘッド2が通電されることはない。同様に、裏面1Bにおいてライン数dの文字列が印刷され、次の文字列が印刷されるまでのライン数hの改行区間においては、第2サーマルヘッド2が通電されることはない。   However, the first thermal head 2 is not energized in the line feed section having the number h of lines until the character string having the line number d is printed on the front surface 1A and the next character string is printed. Similarly, the second thermal head 2 is not energized in the line feed section with the number h of lines until the character string with the line number d is printed on the back surface 1B and the next character string is printed.

かくして、第1サーマルヘッド2及び第2サーマルヘッド4への通電電流のピーク値は、図8(a)に示すように変化する。同図において、符号71は第1サーマルヘッド2によって表面1Aに印刷されるドットイメージデータを示しており、図中ハッチングされた部分が文字列を示し、ハッチングされていない部分が行間を示している。また、符号72は第2サーマルヘッド4によって裏面1Bに印刷されるドットイメージデータを示しており、同様に、図中ハッチングされた部分が文字列を示し、ハッチングされていない部分が行間を示している。   Thus, the peak value of the energization current to the first thermal head 2 and the second thermal head 4 changes as shown in FIG. In the figure, reference numeral 71 indicates dot image data printed on the surface 1A by the first thermal head 2, in which hatched portions indicate character strings and unhatched portions indicate line spacing. . Reference numeral 72 indicates dot image data printed on the back surface 1B by the second thermal head 4. Similarly, the hatched portion in the figure indicates a character string, and the non-hatched portion indicates a line spacing. Yes.

また、参考として、1つのサーマルヘッドで用紙の一方の面のみに同様な文字列を印刷する片面印刷の場合の通電電流のピーク値の変化を同図(b)に、2つのサーマルヘッドで用紙の両面にそれぞれ同様な文字列を同時に印刷する両面印刷の場合の通電電流のピーク値の変化を同図(c)にそれぞれ示す。   For reference, the change in the peak value of the energization current in the case of single-sided printing in which the same character string is printed on only one side of the paper with one thermal head is shown in FIG. The change of the peak value of the energization current in the case of double-sided printing in which similar character strings are simultaneously printed on both sides is shown in FIG.

図8から明らかなように、第1サーマルヘッド2と第2サーマルヘッド4の両方が同時に通電されて通電電流のピーク値がI2まで増加する期間は、文字列1行の印刷に必要な通電時間よりも改行の形成に要する時間だけ短い時間となる。すなわち、本実施の形態によれば、大部分の期間で通電電流のピーク値を、片面印刷の場合と同レベルI1まで抑制できる効果を奏する。   As is apparent from FIG. 8, the period during which both the first thermal head 2 and the second thermal head 4 are energized simultaneously and the peak value of the energization current increases to I2 is the energization time required for printing one line of character strings. The time required for forming a line break is shorter than that. That is, according to the present embodiment, there is an effect that the peak value of the energization current can be suppressed to the same level I1 as in the case of single-sided printing in most periods.

因みに、2つのサーマルヘッドで用紙の両面にそれぞれ同様な文字列を同時に印刷する場合(図8(c))には、通電電流のピーク値がI2まで増加する期間は、文字列1行の印刷に必要な通電時間と一致し、それ相応の電源が必要となる。このため、装置の低価格化や小型化への支障となっていたが、本実施の形態ではこのような問題を解消することができる。   Incidentally, when the same character string is simultaneously printed on both sides of the paper with two thermal heads (FIG. 8C), the character string is printed in one line during the period when the peak value of the energization current increases to I2. Therefore, the power supply time corresponding to the energization time required is required. For this reason, it has been an obstacle to lowering the price and size of the apparatus, but this embodiment can solve such a problem.

なお、この発明は前記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。   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により文字列の印刷を開始してからの印刷ドットライン数を表面ラインカウンタAで計数し、この印刷ドットライン数が、文字列の形成に必要なドットライン数dと行間の形成に必要なドットライン数hとの和の略1/2(=g)に達すると、第2サーマルヘッド4により文字列の印刷を開始するように制御したが、先に第2サーマルヘッド4により文字列の印刷を開始し、その印刷ドットライン数を裏面ラインカウンタBで計数し、この印刷ドットライン数が、文字列の形成に必要なドットライン数dと行間の形成に必要なドットライン数hとの和の略1/2(=g)に達すると、第1サーマルヘッド2により文字列の印刷を開始するように制御してもよい。   For example, in the above-described embodiment, as a method for controlling the character string printing start timing by the first thermal head 2 and the character string printing start timing by the second thermal head 4 to be shifted at least for the time required for formation between the lines, The number of printed dot lines from the start of printing of the character string by the first thermal head 2 is counted by the surface line counter A. The number of printed dot lines is the number of dot lines necessary for forming the character string and the line spacing. When it reaches approximately ½ (= g) of the sum of the number of dot lines required for formation h (= g), the second thermal head 4 is controlled to start printing a character string. Starts printing the character string, counts the number of printed dot lines with the back surface line counter B, and the number of printed dot lines is the dot line necessary for forming the character string. Upon reaching the approximately 1/2 (= g) of the sum of the dot line number h required for the formation of several d and rows, the first thermal head 2 may be controlled so as to start printing the character string.

また、第1サーマルヘッド2及び第2サーマルヘッド4のうちいずれか一方のサーマルヘッドにより文字列の印刷を開始してからの印刷ドットライン数を計数し、この印刷ドットライン数が、行間の形成に必要なドットライン数hに達すると、他方のサーマルヘッドにより文字列の印刷を開始するように制御してもよい。すなわち、第1の設定値Pを行間のライン数hと等しい値に設定してもよい。   Further, the number of print dot lines after the printing of the character string is started by either one of the first thermal head 2 and the second thermal head 4 is counted, and this number of print dot lines is formed between lines. When the number h of dot lines necessary for the above is reached, the other thermal head may be controlled to start printing the character string. That is, the first set value P may be set to a value equal to the number of lines h between rows.

この場合におけるサーマル用紙1の表面1Aと裏面1Bの印刷例を図9に模式的に示す。この例も、同一サイズ及び同一行間の文字列を複数行印刷した場合であり、図中符号81はサーマル用紙1の表面1A側の印刷例を示しており、符号82は裏面1B側の印刷例を示している。また、図中矢印83はサーマル用紙1の搬送方向を示している。   A printing example of the front surface 1A and the back surface 1B of the thermal paper 1 in this case is schematically shown in FIG. This example is also a case in which a plurality of character strings of the same size and the same line are printed. Reference numeral 81 in the figure indicates a printing example on the front surface 1A side of the thermal paper 1, and reference numeral 82 indicates a printing example on the back surface 1B side. Is shown. In the figure, an arrow 83 indicates the conveyance direction of the thermal paper 1.

図示するように、先ず、1ライン目からhライン目までは第1サーマルヘッド2が通電されて、サーマル用紙1の表面1Aに文字列1行目のドットデータが印刷される。このとき、第2のサーマルヘッド4は通電されない。   As shown in the figure, first, the first thermal head 2 is energized from the first line to the h-th line, and the dot data of the first line of the character string is printed on the surface 1A of the thermal paper 1. At this time, the second thermal head 4 is not energized.

次に、第1サーマルヘッド2によってhライン目の印刷が行われると、表面ラインカウンタAが第1の設定値Pを超えるので、第2サーマルヘッド4による裏面1Bへの印刷動作も開始される。これにより、第1サーマルヘッド2及び第2サーマルヘッド4がそれぞれ通電されて、サーマル用紙1の表面1A及び裏面1Bに文字列のドットデータが印刷される。   Next, when the first thermal head 2 prints the h-th line, the front line counter A exceeds the first set value P, so the printing operation on the back surface 1B by the second thermal head 4 is also started. . Thereby, the first thermal head 2 and the second thermal head 4 are energized, respectively, and dot data of a character string is printed on the front surface 1A and the back surface 1B of the thermal paper 1.

ただし、表面1Aにおいてライン数dの文字列が印刷され、次の文字列が印刷されるまでのライン数hの改行区間においては、第1サーマルヘッド2が通電されることはない。同様に、裏面1Bにおいてライン数dの文字列が印刷され、次の文字列が印刷されるまでのライン数hの改行区間においては、第2サーマルヘッド2が通電されることはない。したがって、前記実施の形態と同様な作用効果を奏することができる。   However, the first thermal head 2 is not energized in the line feed section having the number h of lines until the character string having the line number d is printed on the front surface 1A and the next character string is printed. Similarly, the second thermal head 2 is not energized in the line feed section with the number h of lines until the character string with the line number d is printed on the back surface 1B and the next character string is printed. Therefore, the same operational effects as those of the above embodiment can be obtained.

また、前記実施の形態では、用紙として両面に感熱層を有するサーマル用紙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.

ところで、前記実施の形態では、第1サーマルヘッド2に対応した第1のヘッド駆動回路19に文字列の1ドットラインデータが転送されるとともに、第2サーマルヘッド4に対応した第2のヘッド駆動回路20に同じく文字列の1ドットラインデータが転送された際には、第1サーマルヘッド2と第2サーマルヘッド4とに同時にイネーブル信号ENBが出力されて、両ヘッド2,4が同時に通電されており、消費エネルギー(電流)のピーク値が高くなるという問題がある。このような問題は、第1サーマルヘッド2による1ドットラインデータの印刷に要する通電時間と第2サーマルヘッド4による1ドットラインデータの印刷に要する通電時間とが重ならないように、第1サーマルヘッド2と第2サーマルヘッド4の通電周期を制御すればよい(通電制御手段)。   By the way, in the above embodiment, 1-dot line data of a character string is transferred to the first head driving circuit 19 corresponding to the first thermal head 2 and the second head driving corresponding to the second thermal head 4 is performed. Similarly, when 1 dot line data of a character string is transferred to the circuit 20, the enable signal ENB is simultaneously output to the first thermal head 2 and the second thermal head 4, and both heads 2 and 4 are energized simultaneously. There is a problem that the peak value of energy consumption (current) becomes high. Such a problem is that the energization time required for printing one dot line data by the first thermal head 2 and the energization time required for printing one dot line data by the second thermal head 4 do not overlap. 2 and the energization cycle of the second thermal head 4 may be controlled (energization control means).

そこで次に、第1サーマルヘッド2による1ドットラインデータの印刷に要する通電時間と第2サーマルヘッド4による1ドットラインデータの印刷に要する通電時間とが重ならないように、第1サーマルヘッド2と第2サーマルヘッド4の通電周期を制御するようにした他の実施の形態について、図10,図11を用いて説明する。   Then, next, the first thermal head 2 and the first thermal head 2 are arranged so that the energization time required for printing one dot line data by the first thermal head 2 and the energization time required for printing one dot line data by the second thermal head 4 do not overlap. Another embodiment in which the energization cycle of the second thermal head 4 is controlled will be described with reference to FIGS.

図10はこの他の実施の形態における主要な信号のタイミングチャートを示す図である。同図において、(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. 10 is a diagram showing a timing chart of main signals in the other embodiment. 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 surface 1A side of the thermal paper 1, that is, the first thermal head 2. (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, a drive 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.

この場合のドット印刷例を図11に模式的に示す。同図において、左側の印刷例91は第1サーマルヘッド2による表面1A側の印刷例を示しており、右側の印刷例92は第2サーマルヘッド4による裏面1B側の印刷例を示している。すなわち、黒丸93は印刷ドットを示しており、白丸94は非印刷ドットを示している。なお、符号dは、用紙搬送方向95における印刷ドット93のドット長を示している。   An example of dot printing in this case is schematically shown in FIG. In the drawing, a print example 91 on the left side shows a print example on the front surface 1A side by the first thermal head 2, and a print example 92 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 93 indicates a printing dot, and the white circle 94 indicates a non-printing dot. Note that the symbol d indicates the dot length of the print dot 93 in the paper transport direction 95.

第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.

したがって、図11に示すように、サーマル用紙1の表面1Aに印刷される1ラインデータと、裏面1Bに印刷される1ラインデータとは、ドット長dの半分d/2だけずれて各々の面に印刷される。   Therefore, as shown in FIG. 11, 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, the time during which the enable signal ENB1 for the first thermal head 2 is active and the time during which the enable signal ENB2 for the second thermal head 2 is active are controlled so as not to overlap. 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.

なお、第1サーマルヘッド2による1ドットラインデータの印刷に要する通電時間と第2サーマルヘッド4による1ドットラインデータの印刷に要する通電時間とが重ならないように、第1サーマルヘッド2と第2サーマルヘッド4の通電周期を制御する方法は、これに限定されるものではない。   The first thermal head 2 and the second thermal head 2 do not overlap the energization time required for printing one dot line data by the first thermal head 2 and the energization time required for printing one dot line data by the second thermal head 4. The method for controlling the energization cycle of the thermal head 4 is not limited to this.

図12はさらに他の実施形態における主要な信号のタイミングチャートを示す図である。同図においても、(a)はNドットの1ラインデータの印刷に要する時間間隔(ラスタサイクル)を示し、(b)は用紙フィードモータ23に対する駆動パルス信号を示し、(c)は第1サーマルヘッド2に対するラッチ信号LAT1を示し、(d)は第2サーマルヘッド4に対するラッチ信号LAT2を示し、(e)は第1サーマルヘッド2に対するイネーブル信号ENB1を示し、(f)は第2サーマルヘッド4に対するイネーブル信号ENB2を示している。   FIG. 12 is a diagram showing a timing chart of main signals in still 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.

この他、前記実施形態に開示されている複数の構成要素の適宜な組合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を組合わせてもよい。   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. 図6における印刷処理の手順を具体的に示す流れ図。FIG. 7 is a flowchart specifically showing a procedure of printing processing in FIG. 6. FIG. 同実施の形態においてサーマル用紙の表面及び裏面にそれぞれ印刷された文字列データの一例を示す模式図。FIG. 5 is a schematic diagram showing an example of character string data printed on the front and back surfaces of the thermal paper in the embodiment. 同実施の形態において第1サーマルヘッド及び第2サーマルヘッドへの通電電流のピーク値と時間との関係を、従来方法と比較して示す図。The figure which shows the relationship between the peak value of the energization current to the 1st thermal head and the 2nd thermal head, and time in the embodiment compared with the conventional method. 本発明の他の実施の形態においてサーマル用紙の表面及び裏面にそれぞれ印刷された文字列データの一例を示す模式図。The schematic diagram which shows an example of the character string data each printed on the surface and the back surface of the thermal paper in other embodiment of this invention. 本発明のさらに他の実施の形態における主要な信号の一タイミング例を示す図。The figure which shows the example of 1 timing of the main signal in other embodiment of this invention. 図10のタイミングで制御したときのドット印刷例を示す模式図。The schematic diagram which shows the example of dot printing when controlling at the timing of FIG. 本発明のさらに他の実施の形態における主要な信号の他のタイミング例を示す図。The figure which shows the other example of timing of the main signal in other embodiment of this invention.

符号の説明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 (6)

用紙の一方の面に接するように配置され、複数の発熱素子への通電により当該一方の面にドットイメージデータの印刷を行う第1サーマルヘッドと、
前記用紙の他方の面に接するように配置され、複数の発熱素子への通電により当該他方の面にドットイメージデータの印刷を行う第2サーマルヘッドと、
前記第1サーマルヘッド及び前記第2サーマルヘッドで前記サーマル用紙の両面に同一サイズ及び同一行間の文字列をドットイメージデータで印刷する場合において、前記第1サーマルヘッドによる文字列の印刷開始タイミングと前記第2サーマルヘッドによる文字列の印刷開始タイミングとが少なくとも行間の形成に必要な時間ずれるように制御する印刷制御手段と、
を具備したことを特徴とするサーマルプリンタ。
A first thermal head that is arranged 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 disposed so as to be in contact with the other surface of the paper and performing dot image data printing on the other surface by energizing a plurality of heating elements;
In the case where the first thermal head and the second thermal head print character strings of the same size and the same line on both sides of the thermal paper with dot image data, the print start timing of the character strings by the first thermal head and the Print control means for controlling the character string printing start timing by the second thermal head so as to shift at least the time necessary for forming between the lines;
A thermal printer characterized by comprising:
前記印刷制御手段は、前記第1サーマルヘッド及び前記第2サーマルヘッドのうちいずれか一方のサーマルヘッドにより文字列の印刷を開始してからの印刷ドットライン数を計数し、この印刷ドットライン数が、前記文字列の形成に必要なドットライン数と前記行間の形成に必要なドットライン数との和の略1/2に達すると、他方のサーマルヘッドにより文字列の印刷を開始するように制御することを特徴とする請求項1記載のサーマルプリンタ。   The print control means counts the number of print dot lines after the printing of the character string is started by one of the first thermal head and the second thermal head, and the number of print dot lines is When the sum of the number of dot lines necessary for forming the character string and the number of dot lines necessary for forming between the rows is reached, control is performed so that printing of the character string is started by the other thermal head. The thermal printer according to claim 1. 前記印刷制御手段は、前記第1サーマルヘッド及び前記第2サーマルヘッドのうちいずれか一方のサーマルヘッドにより文字列の印刷を開始してからの印刷ドットライン数を計数し、この印刷ドットライン数が、前記行間の形成に必要なドットライン数に達すると、他方のサーマルヘッドにより文字列の印刷を開始するように制御することを特徴とする請求項1記載のサーマルプリンタ。   The print control means counts the number of print dot lines after the printing of the character string is started by one of the first thermal head and the second thermal head, and the number of print dot lines is 2. The thermal printer according to claim 1, wherein when the number of dot lines necessary for forming the line spacing is reached, the other thermal head is controlled to start printing a character string. 前記第1サーマルヘッドによる1ドットラインデータの印刷に要する通電時間と前記第2サーマルヘッドによる1ドットラインデータの印刷に要する通電時間とが重ならないように、前記第1サーマルヘッドと前記第2サーマルヘッドとの通電周期を制御する通電制御手段、
をさらに具備したことを特徴とする請求項1記載のサーマルプリンタ。
The first thermal head and the second thermal head are arranged so that the energization time required for printing one dot line data by the first thermal head does not overlap with the energization time required for printing one dot line data by the second thermal head. Energization control means for controlling the energization cycle with the head;
The thermal printer according to claim 1, further comprising:
用紙の一方の面に接するように配置され、複数の発熱素子への通電により当該一方の面にドットイメージデータの印刷を行う第1サーマルヘッドと、前記用紙の他方の面に接するように配置され、複数の発熱素子への通電により当該他方の面にドットイメージデータの印刷を行う第2サーマルヘッドとを備えたサーマルプリンタの印刷方法であって、
前記第1サーマルヘッド及び前記第2サーマルヘッドで前記サーマル用紙の両面に同一サイズ及び同一行間の文字列をドットイメージデータで印刷する場合において、前記第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 printing method for a thermal printer comprising a second thermal head for printing dot image data on the other surface by energizing a plurality of heating elements,
In the case where the first thermal head and the second thermal head are used to print the character string between the same size and the same line on both sides of the thermal paper with dot image data, whichever of the first thermal head and the second thermal head The number of printed dot lines from the start of character string printing by one of the thermal heads is counted, and this number of printed dot lines is necessary for the number of dot lines necessary for forming the character string and for the formation between the lines. When it reaches 1/2 of the sum of the number of dot lines, printing of the character string is started by the other thermal head, so that the printing start timing of the character string by the first thermal head and the character string by the second thermal head are increased. The starter of printing is shifted at least by the time required for formation between lines Printing method of printer.
用紙の一方の面に接するように配置され、複数の発熱素子への通電により当該一方の面にドットイメージデータの印刷を行う第1サーマルヘッドと、前記用紙の他方の面に接するように配置され、複数の発熱素子への通電により当該他方の面にドットイメージデータの印刷を行う第2サーマルヘッドとを備えたサーマルプリンタの印刷方法であって、
前記第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 printing method for a thermal printer comprising a second thermal head for printing dot image data on the other surface by energizing a plurality of heating elements,
When the first thermal head and the second thermal head print character strings of the same size and the same line on both sides of the thermal paper with dot image data, whichever of the first thermal head and the second thermal head The number of printed dot lines after the printing of the character string by one of the thermal heads is counted, and when the number of printed dot lines reaches the number of dot lines necessary for the formation between the lines, the other thermal head By starting the printing of the character string, the printing start timing of the character string by the first thermal head and the printing start timing of the character string by the second thermal head are shifted at least by the time necessary for formation between the lines. A printing method for a thermal printer.
JP2006150502A 2006-05-30 2006-05-30 Thermal printer and printing method therefor Active JP4303261B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2006150502A JP4303261B2 (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
DE602007009896T DE602007009896D1 (en) 2006-05-30 2007-05-24 Thermal printer and drive control method for the thermal print head
EP07108848A EP1862319B1 (en) 2006-05-30 2007-05-24 Thermal printer and drive control method of thermal head
CN2007101052605A CN101081573B (en) 2006-05-30 2007-05-28 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
US12/696,240 US8382388B2 (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
JP2006150502A JP4303261B2 (en) 2006-05-30 2006-05-30 Thermal printer and printing method therefor

Publications (2)

Publication Number Publication Date
JP2007320087A true JP2007320087A (en) 2007-12-13
JP4303261B2 JP4303261B2 (en) 2009-07-29

Family

ID=38853293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006150502A Active JP4303261B2 (en) 2006-05-30 2006-05-30 Thermal printer and printing method therefor

Country Status (1)

Country Link
JP (1) JP4303261B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011062906A (en) * 2009-09-17 2011-03-31 Ncr Corp Thermal printer and method for controlling the same
WO2011053799A2 (en) * 2009-10-30 2011-05-05 Ncr Corporation A multipurpose printer
US8253961B2 (en) 2008-01-30 2012-08-28 Seiko Epson Corporation Printer and printer control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8253961B2 (en) 2008-01-30 2012-08-28 Seiko Epson Corporation Printer and printer control method
JP2011062906A (en) * 2009-09-17 2011-03-31 Ncr Corp Thermal printer and method for controlling the same
WO2011053799A2 (en) * 2009-10-30 2011-05-05 Ncr Corporation A multipurpose printer
WO2011053799A3 (en) * 2009-10-30 2011-09-22 Ncr Corporation A multipurpose printer

Also Published As

Publication number Publication date
JP4303261B2 (en) 2009-07-29

Similar Documents

Publication Publication Date Title
US7950860B2 (en) Thermal printer and drive control method of thermal head
JP4388036B2 (en) Duplex printing device
JP4537977B2 (en) Thermal printer and printing method therefor
JP4167699B2 (en) Duplex printing device
JP5930612B2 (en) Image forming apparatus
US7782349B2 (en) Thermal printer and method of controlling the same
JP4303261B2 (en) Thermal printer and printing method therefor
JP2007021853A (en) Image forming method and image forming apparatus
EP1862321B1 (en) Thermal printer and method of controlling the same
JP2015063104A (en) Control device, and thermal printer
JP2007320188A (en) Thermal printer and its controlling method
JP4201953B2 (en) Serial printer
JP2005169869A (en) Image recorder and method of recording image
WO2022172537A1 (en) Printer, printing control method, and storage medium
JP2013059924A (en) Double-sided printing apparatus
JP2008229923A (en) Print data processing device, print data processing method and program
JP2007136948A (en) Inkjet recorder
JP2001088332A (en) Thermal transfer recording device
JP2001310494A (en) Line thermal printer
JP3866961B2 (en) Line thermal printer
KR100636132B1 (en) Apparatus and method for printing using low power in printer equipped multiple thermal print head
JP2007320161A (en) Thermal printer and its controlling method
JP4568250B2 (en) Character attribute management system for double-sided printing apparatus and character attribute management method thereof
JP2012076352A (en) Printer
JP2007313851A (en) Printer system and method for setting printing density of printer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080617

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080818

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20090220

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090421

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: 20090423

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120501

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4303261

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: 20120501

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130501

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130501

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140501

Year of fee payment: 5

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