JP5793024B2 - Thermal printer, control method therefor, and program - Google Patents

Thermal printer, control method therefor, and program Download PDF

Info

Publication number
JP5793024B2
JP5793024B2 JP2011183078A JP2011183078A JP5793024B2 JP 5793024 B2 JP5793024 B2 JP 5793024B2 JP 2011183078 A JP2011183078 A JP 2011183078A JP 2011183078 A JP2011183078 A JP 2011183078A JP 5793024 B2 JP5793024 B2 JP 5793024B2
Authority
JP
Japan
Prior art keywords
printing
image data
print
thermal
temperature
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.)
Expired - Fee Related
Application number
JP2011183078A
Other languages
Japanese (ja)
Other versions
JP2013043380A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2011183078A priority Critical patent/JP5793024B2/en
Publication of JP2013043380A publication Critical patent/JP2013043380A/en
Application granted granted Critical
Publication of JP5793024B2 publication Critical patent/JP5793024B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electronic Switches (AREA)

Description

本発明は、サーマルプリンタ及びその制御方法、プログラムに関し、特にサーマルヘッドの熱履歴補正技術に関する。   The present invention relates to a thermal printer, a control method therefor, and a program, and more particularly to a thermal history correction technique for a thermal head.

近年、デジタルカメラやデジタルビデオカメラ等の撮像装置で撮影した画像データ、あるいはPCにおいて作成した画像データ等を、様々な印刷方式で印刷するプリンタが存在する。印刷方式として熱転写方式を用いるサーマルプリンタでは、サーマルヘッドの主走査方向に配列された複数個の発熱抵抗体を画像データに応じて選択的に発熱駆動することにより、インクリボンの染料を溶解し、表面に染料の受容層を有する用紙に転写することにより印画を行う。発熱抵抗体の発熱駆動は、1ラインごとに制御され、副走査方向に印刷媒体を搬送しながら、インクリボン1面分の大きさまでの印刷媒体に画像の印刷を行うことができる。   In recent years, there are printers that print image data captured by an imaging device such as a digital camera or a digital video camera, or image data created by a PC, in various printing methods. In a thermal printer using a thermal transfer method as a printing method, a plurality of heating resistors arranged in the main scanning direction of the thermal head are selectively heated according to image data, thereby dissolving the ink ribbon dye, Printing is performed by transferring to a sheet having a dye receiving layer on the surface. The heating drive of the heating resistor is controlled for each line, and an image can be printed on the printing medium up to the size of one surface of the ink ribbon while the printing medium is conveyed in the sub-scanning direction.

サーマルプリンタのうち、昇華型のサーマルプリンタはインクリボンの染料を個体から気体に昇華させることにより印刷媒体に染料を付着させている。昇華型のサーマルプリンタでは、サーマルヘッドの発熱抵抗体に与える電圧を制御することにより1画素ごとの濃度制御が可能なため、階調表現に優れた印刷結果が得られる。   Among the thermal printers, the sublimation type thermal printer sublimates the dye on the ink ribbon from a solid to a gas, thereby attaching the dye to the print medium. In a sublimation type thermal printer, density control for each pixel is possible by controlling the voltage applied to the heating resistor of the thermal head, so that a printing result excellent in gradation expression can be obtained.

このようなサーマルプリンタで印刷を行う場合、通常は1つの画像をインクリボン1面で印刷するように、プリントサイズに応じた面の大きさを有するインクリボンを使用することが一般的である。しかし、特許文献1に記載されるように、1枚の印刷媒体に複数の画像を割り付けて印刷する機能を有するサーマルプリンタも知られている。   When printing with such a thermal printer, it is common to use an ink ribbon having a surface size corresponding to the print size so that one image is normally printed on one surface of the ink ribbon. However, as described in Patent Document 1, a thermal printer having a function of allocating and printing a plurality of images on one printing medium is also known.

特開平7−314748号公報JP-A-7-314748

サーマルプリンタは印刷の際にサーマルヘッドの発熱抵抗体を発熱駆動させるため、サーマルヘッドには発熱抵抗体で発生した熱が印刷時間に応じて蓄積することになる。このような蓄熱によりサーマルヘッドの温度が上昇すると、同じ濃度の画像であっても印刷濃度にバラツキが生じる。また、このような印刷濃度のバラツキは、サーマルヘッドの温度だけでなく、サーマルプリンタの環境温度の変化によっても発生する。   Since the thermal printer heat-drives the heat generating resistor of the thermal head during printing, the heat generated by the heat generating resistor accumulates in the thermal head according to the printing time. When the temperature of the thermal head rises due to such heat storage, the print density varies even for images of the same density. Further, such a variation in printing density is caused not only by the temperature of the thermal head but also by the change in the environmental temperature of the thermal printer.

サーマルヘッドの温度や環境温度に対する印刷濃度の依存度を抑制するため、通常は印刷開始前に熱履歴補正パラメータを設定し、熱履歴補正パラメータに基づいて発熱抵抗体の駆動電圧を制御している。   In order to suppress the print density dependency on the thermal head temperature and environmental temperature, the thermal history correction parameter is usually set before starting printing, and the drive voltage of the heating resistor is controlled based on the thermal history correction parameter. .

しかしながら、例えば1面分のインクリボンを用いて同一の画像を2枚配置して印刷する場合、上述のように印刷開始時に熱履歴補正パラメータを設定して印刷を行ったとしても、1枚目の画像と2枚目の画像の印刷濃度にバラツキが生じることがある。この問題は、同一画像を2枚印刷する場合に限られず、類似するシーンを撮影した画像を2枚印刷する場合でも起こりうる。これは、1枚目の印刷で発熱抵抗体が発した熱によってヘッド温度や環境温度が印刷開始時よりも上昇した状態で2枚目の印刷が始まるため、1枚目の印刷開始時に設定した熱履歴補正パラメータでは2枚目の印刷に適切な補正ができないからである。   However, for example, when two identical images are arranged and printed using an ink ribbon for one side, even if the thermal history correction parameter is set at the start of printing and printing is performed as described above, the first sheet In some cases, the print density of the first image and the second image may vary. This problem is not limited to the case where two identical images are printed, but may occur even when two images obtained by capturing similar scenes are printed. This is set at the start of printing on the first sheet because the printing on the second sheet starts when the head temperature and the environmental temperature are higher than at the start of printing due to the heat generated by the heating resistor during the printing of the first sheet. This is because the thermal history correction parameter cannot be corrected appropriately for the second printing.

この問題を解消するには、2枚目の印刷開始時に新たな熱履歴補正パラメータを設定するべきであるが、従来、1面分のインクリボンを用いて複数の画像を印刷する場合における印刷濃度のバラツキの発生については想定されていなかった。そのため、1面分のインクリボンの印刷範囲内で熱履歴補正パラメータを再設定もしくは調整するための構成はこれまで提案されていなかった。   To solve this problem, a new thermal history correction parameter should be set at the start of printing the second sheet. Conventionally, the print density when printing a plurality of images using one side of the ink ribbon is used. The occurrence of this variation was not expected. Therefore, a configuration for resetting or adjusting the thermal history correction parameter within the printing range of the ink ribbon for one side has not been proposed so far.

例えば特許文献1のように印刷する複数の画像を連結して1枚の画像のように印刷する構成では、画像の切り替わり時点で印刷媒体の搬送を停止し、次の画像の印刷に対する熱履歴補正パラメータ設定する方法が考えられる。しかしながら、サーマルヘッドは発熱駆動処理によって熱を有しているため、印刷中に印刷媒体の搬送を停止した場合、当該停止位置において過度の熱が印刷媒体に与えられ、変色するなど所望の印刷結果を得られない可能性がある。このため、他の方法が必要である。   For example, in a configuration in which a plurality of images to be printed are connected and printed as a single image as in Patent Document 1, the conveyance of the print medium is stopped at the time of image switching, and thermal history correction is performed for printing of the next image. A method of setting parameters is conceivable. However, since the thermal head has heat due to the heat generation driving process, when the conveyance of the printing medium is stopped during printing, excessive heat is given to the printing medium at the stop position and the desired printing result is changed. You may not get For this reason, other methods are necessary.

本発明は、上述の問題点に鑑みてなされたものであり、1面分のインクリボンを用いて複数の画像を印刷する場合でも画像間の印刷濃度のバラツキを抑制可能なサーマルプリンタ及びその制御方法、プログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and a thermal printer capable of suppressing variations in print density between images even when printing a plurality of images using an ink ribbon for one surface and its control. The object is to provide a method and a program.

前述の目的を達成するために、本発明のサーマルプリンタは、以下の構成を備える。
複数の画像データを、1面分のインクリボンで印刷可能な大きさの印刷媒体に印刷可能なサーマルプリンタであって、印刷媒体を搬送する搬送手段と、複数の発熱抵抗体を備え、複数の発熱抵抗体を駆動させることによりインクリボンのインクを印刷媒体に転写させて印刷を行うサーマルヘッドと、複数の画像データを1面分のインクリボンを用いて印刷する場合に、複数の画像データ間に余白領域を設定し、設定した余白領域および複数の画像データに基づいて、発熱抵抗体を駆動するための印刷データを生成する生成手段と、サーマルヘッドのヘッド温度、及びサーマルプリンタの環境温度を取得する温度取得手段と、サーマルヘッドによる印刷開始前に、温度取得手段によりヘッド温度及び環境温度を取得し、取得したヘッド温度及び環境温度に応じて熱履歴補正パラメータを決定する決定手段と、生成手段により生成された印刷データを熱履歴補正パラメータに応じて補正し、補正した印刷データに基づいて発熱抵抗体を駆動することにより印刷を実行する印刷制御手段と、を有し、搬送手段が印刷媒体のうちの余白領域を搬送中に、温度取得手段はヘッド温度及び環境温度を取得し、決定手段は余白領域を搬送中に取得したヘッド温度及び環境温度に応じて、熱履歴補正パラメータを再決定し、複数の画像データが主走査方向に配置され、生成手段により主走査方向に延びる余白領域が生成されない場合には、決定手段による熱履歴補正パラメータの再決定を行わないことを特徴とする。
In order to achieve the above object, a thermal printer of the present invention comprises the following arrangement.
A thermal printer capable of printing a plurality of image data on a print medium of a size that can be printed with an ink ribbon for one side, comprising a transport means for transporting the print medium, a plurality of heating resistors, When printing a plurality of image data using one side of the ink ribbon, the thermal head that prints by transferring the ink ribbon ink to the print medium by driving the heating resistor, and between the plurality of image data A margin means is set, and a generating means for generating print data for driving the heating resistor based on the set margin area and a plurality of image data, a head temperature of the thermal head, and an environmental temperature of the thermal printer are set. The temperature acquisition means to acquire, and before starting printing by the thermal head, the head temperature and the environmental temperature are acquired by the temperature acquisition means, and the acquired head temperature and By determining the thermal history correction parameter according to the boundary temperature, correcting the print data generated by the generation unit according to the thermal history correction parameter, and driving the heating resistor based on the corrected print data Printing control means for executing printing, while the transport means is transporting the blank area of the print medium, the temperature acquisition means acquires the head temperature and the environmental temperature, and the determination means is transporting the blank area. The thermal history correction parameter is re-determined according to the acquired head temperature and environmental temperature, and is determined when a plurality of image data are arranged in the main scanning direction and a blank area extending in the main scanning direction is not generated by the generating unit. The heat history correction parameter is not redetermined by the means .

このような構成により本発明によれば、1面分のインクリボンを用いて複数の画像を印刷する場合でも画像間の印刷濃度のバラツキを抑制可能なサーマルプリンタ及びその制御方法、プログラムを提供できる。   With such a configuration, according to the present invention, it is possible to provide a thermal printer, a control method therefor, and a program capable of suppressing variations in print density between images even when printing a plurality of images using an ink ribbon for one side. .

本発明の実施形態に係るサーマルプリンタ100の機能構成を示したブロック図1 is a block diagram showing a functional configuration of a thermal printer 100 according to an embodiment of the present invention. 本発明の実施形態に係るプリンタエンジン120の構成を示した図The figure which showed the structure of the printer engine 120 which concerns on embodiment of this invention. 一般的なサーマルプリンタに使用される、インクリボンの構成を説明するための図Diagram for explaining the configuration of an ink ribbon used in a general thermal printer インクリボンを用いて、単一あるいは複数の画像データを印刷する際のインクリボンと印刷物との関係を示した図The figure which showed the relation between the ink ribbon and printed matter when printing one or plural image data using the ink ribbon 本発明の実施形態に係る操作部106の構成を示した図The figure which showed the structure of the operation part 106 which concerns on embodiment of this invention. 本発明の実施形態1に係る印刷処理を示したフローチャート1 is a flowchart showing print processing according to the first embodiment of the present invention. 本発明の実施形態に係る、サーマルプリンタ100に入力される、1面分のインクリボンを用いて印刷する複数の画像データが連結された画像データImage data in which a plurality of image data to be printed using an ink ribbon for one surface is input to the thermal printer 100 according to the embodiment of the present invention. 本発明の実施形態2に係る印刷処理のうち、1番目の印刷対象の画像データに係る印刷処理を示したフローチャートThe flowchart which showed the printing process which concerns on the image data of the 1st printing object among the printing processes which concern on Embodiment 2 of this invention. 本発明の実施形態2に係る印刷処理のうち、2番目以降の印刷対象の画像データに係る印刷処理を示したフローチャートThe flowchart which showed the printing process which concerns on the image data of the 2nd after printing among the printing processes which concern on Embodiment 2 of this invention.

[実施形態1]
以下、本発明の例示的な実施形態について、図面を参照して詳細に説明する。なお、以下に説明する実施形態は、1面分のインクリボンを用いて複数の画像データを印刷可能な昇華型のサーマルプリンタ100に、本発明を適用した例を説明する。
[Embodiment 1]
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings. In the embodiment described below, an example in which the present invention is applied to a sublimation thermal printer 100 capable of printing a plurality of image data using an ink ribbon for one surface will be described.

<サーマルプリンタ100の機能構成>
図1は、本発明の実施形態に係るサーマルプリンタ100の機能構成を示すブロック図である。
<Functional Configuration of Thermal Printer 100>
FIG. 1 is a block diagram showing a functional configuration of a thermal printer 100 according to an embodiment of the present invention.

CPU101は、サーマルプリンタ100が備える各ブロックの動作を制御する。具体的にはCPU101は、後述する印刷処理の動作プログラムをフラッシュROM102より読み出し、RAM103に展開して実行することにより、サーマルプリンタ100が備える各ブロックの動作を制御する。   The CPU 101 controls the operation of each block provided in the thermal printer 100. Specifically, the CPU 101 controls the operation of each block included in the thermal printer 100 by reading an operation program for printing processing, which will be described later, from the flash ROM 102 and developing it in the RAM 103 for execution.

フラッシュROM102は、書き換え可能な不揮発性メモリであり、印刷処理の動作プログラムに加え、各ブロックの動作に必要なパラメータを記憶する。また、本実施形態ではフラッシュROM102は、サーマルヘッドのヘッド温度及びサーマルプリンタ100の環境温度と、当該温度条件において印刷を行う場合にサーマルヘッドに与える電力との関係を示すルックアップテーブル(LUT)を記憶する。なお、フラッシュROM102には、印刷対象である画像データに対して適用する、色調補正処理やリサイズ処理等の種々の画像処理の情報が記憶されているものとする。   The flash ROM 102 is a rewritable nonvolatile memory, and stores parameters necessary for the operation of each block in addition to an operation program for print processing. Further, in this embodiment, the flash ROM 102 has a look-up table (LUT) indicating the relationship between the head temperature of the thermal head and the environmental temperature of the thermal printer 100 and the power applied to the thermal head when printing is performed under the temperature conditions. Remember. The flash ROM 102 stores various image processing information such as color tone correction processing and resizing processing that are applied to image data to be printed.

RAM103は、揮発性メモリであり、印刷処理のプログラムの展開領域としてだけでなく、各ブロックの動作において出力される中間データ等を記憶する領域として用いられる。   The RAM 103 is a volatile memory, and is used not only as a development area for a print processing program but also as an area for storing intermediate data output in the operation of each block.

内部記憶部104は、例えばHDDやフラッシュメモリ等の記録装置であり、後述する入出力I/F105、あるいは記録媒体400より受信した画像データやファイル等の記録に用いられる。   The internal storage unit 104 is a recording device such as an HDD or a flash memory, and is used for recording image data and files received from the input / output I / F 105 described later or the recording medium 400.

入出力I/F105は、例えば赤外線通信、無線LAN、あるいはUSB等の所定の接続方式で印刷対象の印刷データの送受信を行うブロックである。入出力I/F105は、印刷データを受信した場合、当該データをRAM103あるいは内部記憶部104に転送し記録させる。   The input / output I / F 105 is a block that transmits and receives print data to be printed by a predetermined connection method such as infrared communication, wireless LAN, or USB. When receiving the print data, the input / output I / F 105 transfers the data to the RAM 103 or the internal storage unit 104 to record it.

表示部110は、例えば小型LCD等の、サーマルプリンタ100が備える表示装置であり、印刷対象の確認や設定等をユーザに可能ならしめるGUI表示を行う。表示部110に表示する内容は、CPU101の指示を受け、表示制御部109が制御する。   The display unit 110 is a display device provided in the thermal printer 100, such as a small LCD, for example, and performs a GUI display that enables a user to check and set a print target. The content displayed on the display unit 110 is controlled by the display control unit 109 in response to an instruction from the CPU 101.

記録媒体400は、例えばメモリカードやHDD等のサーマルプリンタ100に着脱可能に接続される記録装置である。記録媒体I/F111は、サーマルプリンタ100に接続された記録媒体400からの印刷データの読み出し、あるいはデータの書き込みを行う。記録媒体I/F111に読み出された印刷データは、入出力I/F105と同様に、RAMあるいは内部記憶部104に転送されて記録される。   The recording medium 400 is a recording device that is detachably connected to the thermal printer 100 such as a memory card or HDD. The recording medium I / F 111 reads print data from the recording medium 400 connected to the thermal printer 100 or writes data. The print data read to the recording medium I / F 111 is transferred to the RAM or the internal storage unit 104 and recorded, like the input / output I / F 105.

温度センサ112は、サーマルプリンタ100の周囲の環境温度を計測するためのセンサであり、取得した環境温度の情報をCPU101に出力する(温度取得)。   The temperature sensor 112 is a sensor for measuring the ambient temperature around the thermal printer 100, and outputs the acquired ambient temperature information to the CPU 101 (temperature acquisition).

プリンタエンジン120は、印刷データに基づいて印刷を行う、サーマルヘッドを備える印刷部である。プリンタエンジン120は、カートリッジ検出部107を備え、サーマルプリンタ100に装着されているインクリボンを内包したカートリッジ108を検出し、インクリボンの種別を認識する。   The printer engine 120 is a printing unit including a thermal head that performs printing based on print data. The printer engine 120 includes a cartridge detection unit 107, detects the cartridge 108 containing the ink ribbon attached to the thermal printer 100, and recognizes the type of the ink ribbon.

(プリンタエンジン120の内部構成及び動作)
ここで、プリンタエンジン120の内部構成及び動作について、図2を用いて以下に説明する。
(Internal configuration and operation of the printer engine 120)
Here, the internal configuration and operation of the printer engine 120 will be described below with reference to FIG.

印刷対象を印刷する用紙(印刷媒体)214として、ロール状に巻回されたロール用紙201が用いられる。1回の印刷に用いる用紙214は、CPU101からの制御信号を受けて回転する給紙ローラ202から引き出され、同じくCPU101により制御されるグリップローラ204まで用紙214の先端部分が送られる。給紙ローラ202及びグリップローラ204は、例えばステッピングモータであってよい。   A roll paper 201 wound in a roll shape is used as a paper (print medium) 214 for printing a printing target. The paper 214 used for one printing is pulled out from the rotating paper feed roller 202 in response to a control signal from the CPU 101, and the leading end portion of the paper 214 is sent to the grip roller 204 which is also controlled by the CPU 101. The paper feed roller 202 and the grip roller 204 may be stepping motors, for example.

用紙214を介してグリップローラ204と対向する側にはピンチローラ205が設けられており、用紙214はさらにプラテンローラ209、排紙ローラ213に搬送される。   A pinch roller 205 is provided on the side facing the grip roller 204 through the paper 214, and the paper 214 is further conveyed to the platen roller 209 and the paper discharge roller 213.

プラテンローラ209と対向して配置されたサーマルヘッド208は、第1ロールボビン206から供給されたインクリボン210を介して用紙214に接触され、印刷データに基づいた電圧制御により、インクリボンに塗布された染料を昇華させて印刷を行う。   A thermal head 208 disposed opposite to the platen roller 209 is brought into contact with the paper 214 via the ink ribbon 210 supplied from the first roll bobbin 206, and is applied to the ink ribbon by voltage control based on print data. The dye is sublimated and printed.

またサーマルヘッド208は、複数の発熱抵抗体が配列されたライン型のサーマルヘッドである。発熱抵抗体は、サーマルヘッド208の長手方向(主走査方向)に配列されており、少なくとも用紙214の幅に相当する長さを有している。用紙214は、このサーマルヘッド208の長手方向に直交する副走査方向に搬送されるとともに、印刷データに基づいて発熱駆動された発熱抵抗体により画像が転写(印刷)される。また、サーマルヘッド208には、サーマルヘッド208のヘッド温度を取得するための不図示のヘッド温度センサが設けられている。   The thermal head 208 is a line type thermal head in which a plurality of heating resistors are arranged. The heating resistors are arranged in the longitudinal direction (main scanning direction) of the thermal head 208 and have a length corresponding to at least the width of the paper 214. The sheet 214 is conveyed in the sub-scanning direction orthogonal to the longitudinal direction of the thermal head 208, and an image is transferred (printed) by a heating resistor that is driven to generate heat based on the print data. The thermal head 208 is provided with a head temperature sensor (not shown) for acquiring the head temperature of the thermal head 208.

搬送された用紙に印刷データを転写する場合、プラテンローラ209の圧着動作により、用紙214がインクリボン210とともにサーマルヘッド208に押し付けられる。このとき、インクリボン210はサーマルヘッド208の発熱抵抗体と用紙214に接する状態となる。この状態で、CPU101によってサーマルヘッド208の発熱抵抗体は印刷データに応じて発熱駆動される。この発熱抵抗体の発熱駆動により、昇華したインクリボンの昇華性染料はプラテンローラ209により圧接されている用紙214の受容層へ転写されて定着することにより印刷データに対応する画像が形成される。   When printing data is transferred onto the conveyed paper, the paper 214 is pressed against the thermal head 208 together with the ink ribbon 210 by the pressure-bonding operation of the platen roller 209. At this time, the ink ribbon 210 is in contact with the heating resistor of the thermal head 208 and the paper 214. In this state, the heating resistor of the thermal head 208 is driven by the CPU 101 according to the print data. By the heat generation driving of the heating resistor, the sublimable dye of the sublimated ink ribbon is transferred and fixed to the receiving layer of the paper 214 pressed by the platen roller 209, whereby an image corresponding to the print data is formed.

印刷データの転写時、グリップローラ204及びピンチローラ205は用紙214を挟み込んでおり、1ライン(一主走査)の画像の転写にあわせて、CPU101の制御のもとグリップローラ204が回転し、用紙214を所定の距離分搬送する。また同時に、インクリボン210も1搬送される。   When transferring the print data, the grip roller 204 and the pinch roller 205 sandwich the paper 214, and the grip roller 204 rotates under the control of the CPU 101 in accordance with the transfer of the image of one line (one main scan). 214 is conveyed by a predetermined distance. At the same time, one ink ribbon 210 is also conveyed.

インクリボン210は、インクリボン供給側の第1ロールボビン206から供給され、サーマルヘッド208と用紙214の間を通過して、第2ロールボビン207により巻き取られる。図2では、インクリボン210の搬送を円滑にするために、インクリボンガイドローラ211が配置されている。   The ink ribbon 210 is supplied from the first roll bobbin 206 on the ink ribbon supply side, passes between the thermal head 208 and the paper 214, and is taken up by the second roll bobbin 207. In FIG. 2, an ink ribbon guide roller 211 is disposed in order to smoothly transport the ink ribbon 210.

インクリボン210は、図3に示すように、長手方向(搬送方向)にイエロー(Y)301、マゼンタ(M)302、及びシアン(C)303である昇華性染料部分、及びオーバーコート(OP)部分304である熱溶融性の樹脂製材料クリア部分の順で構成される。オーバーコート(OP)部分304は、であり、インクリボンの1面分の印刷は、上述した3色の染料部301〜303を用いて印刷を行い、オーバーコート(OP)部分304を用いて用紙に転写された画像形成層を保護することで完了する。   As shown in FIG. 3, the ink ribbon 210 includes a sublimation dye portion that is yellow (Y) 301, magenta (M) 302, and cyan (C) 303 in the longitudinal direction (conveyance direction), and an overcoat (OP). The portion 304 is configured in the order of the heat-meltable resin material clear portion. The overcoat (OP) portion 304 is, and printing of one surface of the ink ribbon is performed using the above-described three-color dye portions 301 to 303, and the overcoat (OP) portion 304 is used for paper. It is completed by protecting the image forming layer transferred to the film.

インクリボンの1面分に相当する4つの部分間の境界には、インクリボンの頭出し位置検出用のマーカ305が設けられている。なお、イエロー(Y)301の頭出し位置検出用のマーカは、インクリボンの1面分が開始することを示す、マーカ305とは異なるマーカ306が設けられている。インクリボンの送りは、マーカ検出センサ212がこのようにインクリボン上に配置された頭出し位置検出用のマーカを検出することにより実行される。   A marker 305 for detecting the cueing position of the ink ribbon is provided at the boundary between the four portions corresponding to one surface of the ink ribbon. Note that the marker for detecting the cueing position of yellow (Y) 301 is provided with a marker 306 different from the marker 305 indicating that one surface of the ink ribbon starts. The ink ribbon is fed when the marker detection sensor 212 detects the cueing position detection marker arranged on the ink ribbon in this way.

通常は、印刷媒体である用紙214の搬送方向のサイズは、図4(a)に示すように、1面分のインクリボン上の各染料面と同じ大きさを有する。しかしながら本実施形態では、印刷媒体としてロール用紙201を使用し、カッタ203により任意の大きさにカットし、さまざまな大きさの印刷物を印刷できるものとする。このため、本実施形態のサーマルプリンタ100では、図4(b)に示すように1面分のインクリボンを用いて、画像401及び402を印刷することが可能である。なお、1面分のインクリボンを用いて複数の印刷物の印刷を行う場合、本実施形態では、印刷物間の印刷範囲からのはみ出し量を考慮するために、それぞれの印刷物間に用紙カット用の余白部分403を設ける。即ち、本実施形態のサーマルプリンタ100では当該余白部分403を切り落とし、2つの画像を印刷物として出力するものとする。   Normally, the size of the paper 214 as a printing medium in the transport direction has the same size as each dye surface on the ink ribbon for one surface, as shown in FIG. However, in the present embodiment, it is assumed that a roll paper 201 is used as a print medium, and a printed material having various sizes can be printed by being cut into an arbitrary size by a cutter 203. For this reason, in the thermal printer 100 of this embodiment, as shown in FIG. 4B, it is possible to print the images 401 and 402 by using the ink ribbon for one surface. When printing a plurality of printed materials using an ink ribbon for one side, in this embodiment, in order to consider the amount of protrusion from the printing range between printed materials, a margin for cutting paper between each printed material. A portion 403 is provided. That is, in the thermal printer 100 of this embodiment, the margin portion 403 is cut off and two images are output as printed matter.

なお、本実施形態では2つの画像を1面分のインクリボンを用いて印刷する場合について説明するが、本発明の実施はこれに限らず、1面分のインクリボンを用いて複数の印刷対象を印刷する場合に適用可能である。   In the present embodiment, a case where two images are printed using an ink ribbon for one surface will be described. However, the present invention is not limited to this, and a plurality of print targets can be printed using an ink ribbon for one surface. This is applicable when printing.

1枚の印刷物の印刷が完了すると、カッタ203により排紙ローラ213は適切な大きさにカットされ、用紙214として排紙ローラ213により排紙される。   When printing of one printed matter is completed, the paper discharge roller 213 is cut into an appropriate size by the cutter 203 and discharged as paper 214 by the paper discharge roller 213.

(サーマルプリンタ100のユーザインタフェース)
また、図1のサーマルプリンタ100のブロック図において、操作部106は電源ボタンやメニューボタン等のサーマルプリンタ100が備えるユーザインタフェースを管理するブロックである。本実施形態では、サーマルプリンタ100のユーザインタフェースとして、図5に示すような操作パネル500が備えられているものとする。
(User interface of thermal printer 100)
In the block diagram of the thermal printer 100 in FIG. 1, an operation unit 106 is a block for managing a user interface provided in the thermal printer 100 such as a power button and a menu button. In the present embodiment, it is assumed that an operation panel 500 as shown in FIG. 5 is provided as a user interface of the thermal printer 100.

操作パネル500には、サーマルプリンタ100の電源ON/OFFを指示するための電源ボタン501、印刷の実行/注視を指示するための印刷/中止ボタン506、及び表示部110が配置されている。その他、操作パネル500には、おたのしみボタン502、メニューボタン503、十字キー504、SETボタン505、パンボタン507、ズームボタン508、表示ボタン509、及び編集ボタン510が配置されている。   On the operation panel 500, a power button 501 for instructing power ON / OFF of the thermal printer 100, a print / cancel button 506 for instructing execution / gaze printing, and a display unit 110 are arranged. In addition, a fun button 502, a menu button 503, a cross key 504, a SET button 505, a pan button 507, a zoom button 508, a display button 509, and an edit button 510 are arranged on the operation panel 500.

例えばサーマルプリンタ100に接続された記録媒体400から画像データを選択して印刷を行う場合、電源投入後は記録媒体400に記録されている画像データが読み出され、表示部110に表示される。このとき、ユーザは十字キー504及びSETボタン505を使用して、印刷対象の画像データの選択及び印刷設定を行うことができる。ユーザは、例えばメニューボタン503を押下することにより印刷枚数や用紙設定を設定可能な画面に遷移することができる。   For example, when printing is performed by selecting image data from the recording medium 400 connected to the thermal printer 100, the image data recorded on the recording medium 400 is read and displayed on the display unit 110 after the power is turned on. At this time, the user can use the cross key 504 and the SET button 505 to select image data to be printed and print settings. For example, when the user presses a menu button 503, the user can transition to a screen on which the number of prints and paper settings can be set.

同様に、編集ボタン510を操作することにより、画像データのトリミングを編集する画面に遷移し、ユーザはズームボタン508及びパンボタン507を操作することにより画像のトリミング領域を決定することができる。またユーザは、表示ボタン509を操作することにより、選択した画像データのファイル名やデータサイズ等の情報を確認することも可能である。   Similarly, by operating the edit button 510, the screen transitions to a screen for editing image data trimming, and the user can determine the image trimming region by operating the zoom button 508 and the pan button 507. The user can also check information such as the file name and data size of the selected image data by operating the display button 509.

さらに、おたのしみボタン502を押下することにより、カレンダ印刷、マルチレイアウト印刷(複数の画像データを配置した画像を印刷する)、パノラマ画像印刷等の特殊印刷機能を利用することもできる。   Further, by pressing the enjoyment button 502, special printing functions such as calendar printing, multi-layout printing (printing an image in which a plurality of image data are arranged), panoramic image printing, and the like can be used.

このようにして所望の印刷対象の選択、及び印刷設定等が完了した後、ユーザは印刷/中止ボタン506を操作することにより印刷開始を指示し、サーマルプリンタ100に印刷処理を実行させることができる。   In this way, after selection of a desired print target, print setting, and the like are completed, the user can instruct the start of printing by operating the print / cancel button 506, and can cause the thermal printer 100 to execute print processing. .

操作部106は、このようにユーザによって操作パネル500に配置された各種操作部材を操作されたことを検出すると、当該操作に対応した制御信号を発生させ、CPU101に伝送する。このようにして、CPU101はユーザによりなされた操作を把握することができる。   When the operation unit 106 detects that various operation members arranged on the operation panel 500 are operated by the user as described above, the operation unit 106 generates a control signal corresponding to the operation and transmits the control signal to the CPU 101. In this way, the CPU 101 can grasp the operation performed by the user.

<印刷処理>
このような構成をもつ本実施形態のサーマルプリンタ100の印刷処理について、図6のフローチャートを用いて具体的な処理を説明する。当該フローチャートに対応する処理は、CPU101が、例えばフラッシュROM102に記憶されている対応する処理プログラムを読み出し、RAM103に展開して実行することにより実現することができる。なお、本印刷処理は、例えばユーザにより記録媒体400に記録されている画像データのうち、印刷対象の画像データが選択され、印刷開始の指示がなされた際に開始されるものとして説明する。
<Print processing>
A specific process of the printing process of the thermal printer 100 of the present embodiment having such a configuration will be described with reference to the flowchart of FIG. The processing corresponding to the flowchart can be realized by the CPU 101 reading, for example, a corresponding processing program stored in the flash ROM 102, developing it in the RAM 103, and executing it. Note that this print processing will be described as being started when, for example, image data to be printed is selected from image data recorded on the recording medium 400 by a user and an instruction to start printing is given.

なお、本実施形態において、複数の画像を1枚の用紙に1面分のインクリボンで印刷を行う画像データは、図7に示すような複数の印刷対象の画像データ(701及び702)が連結された1つの印刷データの形式でプリンタエンジン120に入力されるものとする。この、画像の連結処理は、ユーザにより選択された複数の印刷対象の画像データが、記録媒体I/F111を介して記録媒体400から読み出された後、例えばRAM103に復号されて展開された際に例えばCPU101が行う。なお、複数の印刷対象の画像データが連結された印刷データには、各々の画像データの境界を特定可能な情報が含まれるものとし、CPU101は、該情報をもとに各々の画像データを分離することが可能である。   In this embodiment, image data for printing a plurality of images on one sheet of paper with one ink ribbon is connected to a plurality of print target image data (701 and 702) as shown in FIG. It is assumed that a single print data format is input to the printer engine 120. This image linking process is performed when a plurality of print target image data selected by the user is read from the recording medium 400 via the recording medium I / F 111 and then decoded and expanded, for example, in the RAM 103. For example, the CPU 101 performs. Note that print data in which a plurality of image data to be printed is connected includes information that can specify the boundary of each image data, and the CPU 101 separates each image data based on the information. Is possible.

後述するように、本実施形態では、2つの印刷対象の画像データを副走査方向に並べて配置し、この2つの画像データの間に余白領域を設けて連結している。このように、複数の印刷対象の画像データを連結する際には、画像間に主走査方向に延びる余白領域が存在するようにして連結して印刷データを生成し印刷を行う。   As will be described later, in this embodiment, two image data to be printed are arranged side by side in the sub-scanning direction, and a blank area is provided between the two image data to connect them. In this way, when connecting a plurality of image data to be printed, the print data is generated and printed so that there is a blank area extending in the main scanning direction between the images.

S601で、CPU101は、現在の印刷設定が、1面分のインクリボンで複数の画像データの印刷を行う設定がなされているか否かを判断する。具体的にはCPU101は、例えばフラッシュROM102に記憶されている現在の印刷設定の情報を読み出し、当該情報が1面分のインクリボンで複数の画像データの印刷を行う設定であるか否かを判断する。CPU101は、現在の印刷設定が1面分のインクリボンで複数の画像データの印刷を行う設定であると判断した場合は処理をS603に移し、1面分のインクリボンで単一の画像データの印刷を行う設定であると判断した場合は処理をS602に移す。   In step S <b> 601, the CPU 101 determines whether the current print setting is set to print a plurality of image data with an ink ribbon for one page. Specifically, the CPU 101 reads out information on the current print settings stored in the flash ROM 102, for example, and determines whether or not the information is a setting for printing a plurality of image data with an ink ribbon for one surface. To do. If the CPU 101 determines that the current print setting is a setting for printing a plurality of image data with an ink ribbon for one surface, the CPU 101 moves the process to S603, and transfers a single image data with an ink ribbon for one surface. If it is determined that the setting is for printing, the process proceeds to S602.

S602で、CPU101は、1面分のインクリボン全面を使用して印刷を行うため、1面分のインクリボンに相当する印刷サイズ、即ち使用するインクリボンの副走査方向の印刷ライン数を設定する。なお、1面分のインクリボン全面を使用して印刷する場合であっても、副走査方向の印刷ライン数は、1面分のインクリボンの副走査方向の長さに対応していないライン数であってもよい。   In step S602, since the CPU 101 performs printing using the entire surface of the ink ribbon for one surface, the print size corresponding to the ink ribbon for one surface, that is, the number of print lines in the sub-scanning direction of the ink ribbon to be used is set. . Even when printing is performed using the entire surface of the ink ribbon for one surface, the number of print lines in the sub-scanning direction is the number of lines that do not correspond to the length of the ink ribbon for one surface in the sub-scanning direction. It may be.

S603で、CPU101は、1面分のインクリボンを使用して複数の画像の印刷を行うため、まず1番目の印刷対象である画像データの印刷サイズ、即ち1番目の印刷対象に使用するインクリボンの副走査方向の印刷ライン数を設定する。なお、このとき1面分のインクリボンを使用して印刷する印刷対象の数及び各印刷対象の印刷サイズから、CPU101は当該印刷対象との間に設ける余白部分に相当する印刷ライン数についても設定するものとする。なお、上述のように印刷サイズが固定されている場合には、印刷対象の数だけからこれらの設定を行うことができる。なお、余白部分に相当する印刷ライン数の決め方に特に制限はないが、本実施形態では印刷媒体の搬送速度と、熱履歴補正パラメータの調整、設定に通常要する時間との関係から、余白部分の搬送時間内に熱履歴補正パラメータの調整、設定が終了するように決定する。なお、印刷媒体の搬送速度が可変であれば、余白部分の搬送速度についてもここで決定することができる。   In step S <b> 603, since the CPU 101 prints a plurality of images using the ink ribbon for one side, first, the print size of the image data that is the first print target, that is, the ink ribbon used for the first print target. The number of print lines in the sub-scanning direction is set. At this time, the CPU 101 also sets the number of print lines corresponding to the blank portion provided between the print target and the number of print targets to be printed using the ink ribbon for one side and the print size of each print target. It shall be. If the print size is fixed as described above, these settings can be made only from the number of print targets. Although there is no particular limitation on how to determine the number of print lines corresponding to the blank portion, in this embodiment, the margin portion is determined based on the relationship between the printing medium conveyance speed and the time normally required for adjustment and setting of the thermal history correction parameter. It is determined that the adjustment and setting of the heat history correction parameter are completed within the conveyance time. If the conveyance speed of the print medium is variable, the conveyance speed of the blank portion can also be determined here.

S604で、CPU101は、温度センサ112よりサーマルプリンタ100の環境温度を取得し、RAM103に格納する。またS605でCPU101は、不図示のヘッド温度センサよりサーマルヘッド208のヘッド温度を取得し、RAM103に格納する。   In step S <b> 604, the CPU 101 acquires the environmental temperature of the thermal printer 100 from the temperature sensor 112 and stores it in the RAM 103. In step S <b> 605, the CPU 101 acquires the head temperature of the thermal head 208 from a head temperature sensor (not shown) and stores it in the RAM 103.

S606で、CPU101は、フラッシュROM102に格納されている、ヘッド温度及び環境温度と、サーマルヘッド208に与える電力との関係を示すLUTを参照し、現在の温度条件において、単位印刷ラインの印刷により発生する熱量の情報を取得する。なお、本実施形態では単位印刷ラインの印刷において発生する熱量の情報を用いて熱履歴補正を行うものとして説明するが、他の方法によって熱履歴補正を行ってもよい。例えば、ヘッド温度及び環境温度に基づいて決定する単位印刷ラインの印刷により発生する熱量の情報だけでなく、印刷開始からの経過時間とに応じてサーマルヘッド208に蓄積する熱量の情報を算出して、これらの情報をもとに熱履歴補正を行ってもよい。   In step S <b> 606, the CPU 101 refers to the LUT stored in the flash ROM 102 and indicating the relationship between the head temperature and the environmental temperature and the power supplied to the thermal head 208, and is generated by printing the unit print line at the current temperature condition. Get information on the amount of heat to be used. In the present embodiment, description is made on the assumption that heat history correction is performed using information on the amount of heat generated during printing of the unit print line, but heat history correction may be performed by other methods. For example, not only information on the amount of heat generated by printing on the unit print line determined based on the head temperature and environmental temperature, but also information on the amount of heat accumulated in the thermal head 208 according to the elapsed time from the start of printing. The heat history correction may be performed based on the information.

S607で、CPU101は、サーマルヘッド208に蓄積した熱量に応じた補正パラメータを決定する。具体的にはCPU101は、S606で取得した単位印刷ラインの印刷により発生する熱量の情報と、これから印刷する印刷対象の画像データの印刷サイズとに応じてサーマルヘッド208に蓄積する熱量(熱履歴)を算出する。そしてCPU101は、当該熱量に合わせて印刷の濃度むらが発生しないように、サーマルヘッド208に与える電力を補正する熱履歴補正パラメータを決定する。なお、ヘッド温度は印刷の継続時間と共に変化するため、熱履歴補正パラメータを印刷ライン数の関数としてもよい。   In step S <b> 607, the CPU 101 determines a correction parameter corresponding to the amount of heat accumulated in the thermal head 208. Specifically, the CPU 101 stores the amount of heat (heat history) accumulated in the thermal head 208 in accordance with information on the amount of heat generated by printing the unit print line acquired in S606 and the print size of image data to be printed from now on. Is calculated. Then, the CPU 101 determines a thermal history correction parameter for correcting the electric power applied to the thermal head 208 so that uneven printing density does not occur in accordance with the amount of heat. Since the head temperature changes with the duration of printing, the thermal history correction parameter may be a function of the number of print lines.

S608で、CPU101は、S607で決定された熱履歴補正パラメータで、印刷する印刷ラインに対応する画像データに応じて決定された電力を補正し、サーマルヘッド208の発熱駆動処理を実行する(印刷制御)。即ち、当該発熱駆動処理により、サーマルヘッド208が備える発熱抵抗体のそれぞれは選択的に通電され、印刷する印刷ラインに対応する画像データの印刷を行うことができる。   In step S <b> 608, the CPU 101 corrects the power determined according to the image data corresponding to the print line to be printed with the thermal history correction parameter determined in step S <b> 607 and executes the heat generation driving process of the thermal head 208 (print control). ). That is, by the heat generation driving process, each of the heat generating resistors provided in the thermal head 208 is selectively energized, and image data corresponding to the print line to be printed can be printed.

S609で、CPU101は、現在の印刷対象(画像データ701)について設定された印刷ライン数分の印刷が完了したか否かを判断する。CPU101は、設定された印刷ライン数分の印刷が完了していないと判断した場合は、処理をS608に移して次の印刷ラインについての発熱駆動処理を実行する。またCPU101は、設定された印刷ライン数分の印刷が完了したと判断した場合は、処理をS610に移す。   In step S <b> 609, the CPU 101 determines whether printing for the number of print lines set for the current print target (image data 701) has been completed. If the CPU 101 determines that printing for the set number of print lines has not been completed, it moves the process to S608 and executes heat generation drive processing for the next print line. If the CPU 101 determines that printing for the set number of printing lines has been completed, the process proceeds to S610.

S610で、CPU101は、サーマルヘッド208に対して、発熱駆動処理に係る電力供給を一時停止する。なお、このときグリップローラ204は、用紙214の搬送を停止することなく継続しているものとする。即ち、本実施形態では、1面分のインクリボンを用いて複数の画像データの印刷を行う場合に、印刷物間に印刷濃度のバラツキが生じないよう、余白部分に相当する印刷ラインの搬送中に、用紙の搬送を止めずに、次の画像データを印刷するためのサーマルヘッド208の設定を行う。つまり、次の画像データを印刷するために、ヘッド温度及び環境温度を計測し、当該温度条件で単位印刷ラインの印刷によりサーマルヘッド208に発生する熱量の情報から、熱履歴補正パラメータを再決定する。本実施形態では、余白部分の搬送中に、サーマルヘッド208に対して、発熱駆動処理に係る電力供給を一時停止するとしたが、電力供給を一時停止せずに、サーマルヘッド208を駆動し続け、発熱抵抗体をインクが転写されない程度通電させてもよい。この場合、用紙の搬送もサーマルヘッドの駆動も止めずに、通常と同じ印刷処理をしながら、次の画像での熱履歴補正パラメータを決定することができる。   In step S <b> 610, the CPU 101 temporarily stops power supply related to the heat generation driving process with respect to the thermal head 208. At this time, it is assumed that the grip roller 204 continues without stopping the conveyance of the sheet 214. In other words, in the present embodiment, when printing a plurality of image data using an ink ribbon for one side, a printing line corresponding to a blank portion is being conveyed so that there is no variation in print density between printed materials. The thermal head 208 is set for printing the next image data without stopping the conveyance of the paper. That is, in order to print the next image data, the head temperature and the environmental temperature are measured, and the thermal history correction parameter is re-determined from information on the amount of heat generated in the thermal head 208 by printing the unit print line under the temperature condition. . In the present embodiment, the power supply related to the heat generation driving process is temporarily stopped with respect to the thermal head 208 during the conveyance of the blank portion, but the thermal head 208 is continuously driven without temporarily stopping the power supply. The heating resistor may be energized to the extent that ink is not transferred. In this case, the thermal history correction parameter for the next image can be determined while performing the same printing process as usual without stopping the conveyance of the paper and the driving of the thermal head.

S611で、CPU101は、現在の印刷設定が、1面分のインクリボンで複数の画像データの印刷を行う設定がなされているか否か、及び当該設定がなされている場合には全ての印刷対象の画像データの印刷が完了しているか否かを判断する。CPU101は、現在の印刷設定が1面分のインクリボンで複数の画像データの印刷を行う設定であり、全ての印刷対象の画像データの印刷が完了していないと判断した場合は処理をS612に移し、それ以外の場合は発熱駆動処理を停止して本印刷処理を完了する。   In step S <b> 611, the CPU 101 determines whether or not the current print setting is set to print a plurality of image data with an ink ribbon for one page, and if the setting is made, It is determined whether printing of image data has been completed. If the CPU 101 determines that the current print setting is to print a plurality of image data with an ink ribbon for one page, and if it is determined that printing of all image data to be printed has not been completed, the process proceeds to S612. Otherwise, the heat generation driving process is stopped and the printing process is completed.

S612で、CPU101は、次の印刷対象(画像データ702)に使用するインクリボンの副走査方向の印刷ライン数を設定し、処理をS604に移す。なお、次の印刷対象の印刷についてのサーマルヘッドの設定であるS604乃至S607の処理は、上述したように、余白部分に相当する印刷ラインの搬送中に実行するものとする。そして、余白部分に相当する印刷ラインの搬送が完了した後、発熱駆動処理を再開するものとする。   In step S612, the CPU 101 sets the number of print lines in the sub-scanning direction of the ink ribbon used for the next print target (image data 702), and the process proceeds to step S604. Note that the processing of S604 to S607, which is the setting of the thermal head for the next printing to be printed, is executed during the conveyance of the printing line corresponding to the blank portion as described above. Then, after the conveyance of the printing line corresponding to the blank portion is completed, the heat generation driving process is resumed.

なお、本実施形態では、1面分のインクリボンを用いて印刷する複数の印刷対象の画像データについてS604乃至S610の処理を印刷対象分繰り返せば印刷が完了するものとして説明した。しかしながら実際は、インクリボン210は上述したようにイエロー(Y)301、マゼンタ(M)302、シアン(C)303、及びオーバーコート(OP)部分304で構成されるため、S604乃至S610の処理は、印刷対象数×4回実行される。即ち、各印刷対象について、各色あるいはOPについての発熱駆動処理を実行する前に都度、サーマルヘッドの熱履歴補正パラメータは設定される。なお、OPについては印刷濃度に与える影響が少ないと考えられるため、上述したような熱履歴補正を行わなくてもよい。   In the present embodiment, it has been described that the printing is completed by repeating the processes of S604 to S610 for a plurality of print target image data to be printed using the ink ribbon for one surface. However, since the ink ribbon 210 is actually composed of yellow (Y) 301, magenta (M) 302, cyan (C) 303, and overcoat (OP) portion 304 as described above, the processing from S604 to S610 is performed. This is executed 4 times the number of objects to be printed. That is, the thermal history correction parameter of the thermal head is set for each print target before executing the heat generation driving process for each color or OP. Since OP is considered to have little influence on the print density, it is not necessary to perform the thermal history correction as described above.

また、S604及びS605で説明したように、本実施形態では環境温度を先に取得した後にヘッド温度を取得している。これは、発熱駆動処理によって上昇したヘッド温度が余白領域の搬送中に下降するため、安定後のヘッド温度を取得するためである。即ち、1面分のインクリボンを用いて印刷する2番目以降の印刷対象については、前の印刷対象についての発熱駆動処理の完了後は、環境温度を先に計測してからヘッド温度の計測を行うことで、より安定したヘッド温度による良好な補正結果が得られる。   Further, as described in S604 and S605, in this embodiment, the head temperature is acquired after the environmental temperature is acquired first. This is because the head temperature that has been raised by the heat generation driving process falls during the conveyance of the blank area, so that the head temperature after stabilization is acquired. That is, for the second and subsequent print objects that are printed using the ink ribbon for one side, after the heat generation driving process for the previous print object is completed, the environmental temperature is measured first, and then the head temperature is measured. By doing so, a good correction result with a more stable head temperature can be obtained.

このように、本実施形態のサーマルプリンタ100は、1面分のインクリボンを用いて複数の印刷対象を印刷する際に、各印刷対象の印刷の開始前にヘッド温度及び環境温度を取得することで、印刷時にサーマルヘッドに与える電力を適切に補正することができる。また、温度条件の取得は、複数の印刷対象が印刷された際に当該印刷対象間に設けられる余白領域の印刷媒体を搬送中に実行されるため、従来印刷に要していた時間内で、得られた印刷物における印刷濃度のバラツキの発生を低減することができる。   As described above, the thermal printer 100 according to the present embodiment acquires the head temperature and the environmental temperature before starting the printing of each print target when printing a plurality of print targets using the ink ribbon for one surface. Thus, it is possible to appropriately correct the power applied to the thermal head during printing. In addition, the acquisition of the temperature condition is performed while transporting the print medium in the blank area provided between the print targets when a plurality of print targets are printed. It is possible to reduce the occurrence of variations in printing density in the obtained printed matter.

以上説明したように、本実施形態のサーマルプリンタは、1面分のインクリボンを用いて複数の画像を印刷する場合でも画像間の印刷濃度のバラツキを抑制することができる。具体的にはサーマルプリンタは、複数の画像データを印刷媒体に印刷する際に、当該画像データ間に余白領域を設定し、当該余白領域の搬送中に、サーマルヘッドのヘッド温度、及びサーマルプリンタの環境温度を取得する。当該ヘッド温度及び環境温度においてサーマルヘッドで発生する熱量の情報と、余白領域の後に印刷する画像データの印刷サイズの情報とに応じて、当該画像データを印刷するために発熱抵抗体に与える電圧を補正する熱履歴補正パラメータを決定する。   As described above, the thermal printer of this embodiment can suppress variations in print density between images even when printing a plurality of images using an ink ribbon for one surface. Specifically, when printing a plurality of image data on a print medium, the thermal printer sets a blank area between the image data, and during the transfer of the blank area, the head temperature of the thermal head and the thermal printer Get environmental temperature. In accordance with the information on the amount of heat generated by the thermal head at the head temperature and the environmental temperature, and the information on the print size of the image data to be printed after the margin area, the voltage applied to the heating resistor for printing the image data is determined. The thermal history correction parameter to be corrected is determined.

このようにすることで、適切に設定された熱履歴補正パラメータで、印刷対象の画像データに応じてサーマルヘッドに印加する電圧を補正し、補正後の電圧でサーマルヘッドに発熱駆動処理を実行させることができる。
本実施形態では、1面分のインクリボンを用いて複数の画像を印刷する場合に、熱履歴補正パラメータの再設定を行った。しかし、1面分のインクリボンを用いて複数の画像を印刷する場合であっても、画像の配置によっては、熱履歴補正パラメータの再設定を行わないようにしてもよい。本実施形態では、複数の画像が副走査方向に並んで配置され、主走査方向にのびる余白領域を設定可能な場合は熱履歴補正パラメータの再設定を行った。しかし、例えば、複数の画像が主走査方向に並んで配置されており、主走査方向にのびる余白領域を設定不可能な場合は、熱履歴補正パラメータの再設定を行わないようにしてもよい。主走査方向に延びる余白領域が設定される場合は、余白領域において、サーマルヘッドによるインクの転写がないため、熱履歴パラメータを再設定しても画像への影響はない。しかし、主走査方向に延びる余白領域が設定できない場合は、連続してインクが転写されているため、途中で熱履歴パラメータが変更されると画像の連続性が失われる恐れがあるためである。
In this way, the voltage applied to the thermal head is corrected according to the image data to be printed with the heat history correction parameters set appropriately, and the thermal head is caused to execute heat generation driving processing with the corrected voltage. be able to.
In the present embodiment, when a plurality of images are printed using the ink ribbon for one surface, the thermal history correction parameter is reset. However, even when a plurality of images are printed using the ink ribbon for one side, the thermal history correction parameter may not be reset depending on the arrangement of the images. In this embodiment, when a plurality of images are arranged in the sub-scanning direction and a blank area extending in the main scanning direction can be set, the thermal history correction parameter is reset. However, for example, when a plurality of images are arranged side by side in the main scanning direction and a blank area extending in the main scanning direction cannot be set, the thermal history correction parameter may not be reset. When a blank area extending in the main scanning direction is set, since there is no ink transfer by the thermal head in the blank area, resetting the thermal history parameter has no effect on the image. However, when the blank area extending in the main scanning direction cannot be set, the ink is continuously transferred, and therefore the continuity of the image may be lost if the heat history parameter is changed in the middle.

[実施形態2]
上述した実施形態1では、1面分のインクリボンを用いて複数の印刷対象を印刷する際に、印刷媒体の余白領域の搬送時間中に環境温度及びヘッド温度の計測、及び発熱駆動処理の一時停止及び再開の実行ができるように余白領域の大きさや搬送速度を決定した。これに対し、本実施形態では、印刷媒体の余白領域の大きさに合わせて、温度条件の取得の有無、及び発熱駆動処理の一時停止及び再開の実行の有無を切り替えて印刷を行う方法について説明する。
[Embodiment 2]
In the above-described first embodiment, when printing a plurality of print targets using the ink ribbon for one surface, the environmental temperature and the head temperature are measured and the heat generation driving process is temporarily performed during the conveyance time of the blank area of the print medium. The size of the blank area and the conveyance speed were determined so that the stop and restart could be executed. In contrast, in the present embodiment, a method for performing printing by switching whether or not to acquire temperature conditions and whether or not to execute pause and restart of heat generation drive processing according to the size of the blank area of the print medium will be described. To do.

なお、本実施形態のサーマルプリンタ100の構成は、上述した実施形態1のサーマルプリンタ100と同様であるものとして説明を省略する。   Note that the configuration of the thermal printer 100 of the present embodiment is the same as that of the thermal printer 100 of the first embodiment described above, and a description thereof is omitted.

<印刷処理>
本実施形態のサーマルプリンタ100の印刷処理について、図8及び図9のフローチャートを用いて具体的な処理を説明する。当該フローチャートに対応する処理は、CPU101が、例えばフラッシュROM102に記憶されている対応する処理プログラムを読み出し、RAM103に展開して実行することにより実現することができる。なお、本印刷処理は、例えば記録媒体400に記録されている画像データのうち、複数の画像データが印刷対象として選択され、1面分のインクリボンを用いて複数の画像データを印刷可能なサイズで1枚の印刷媒体に割り付けて当該印刷対象の画像データを印刷する指示がユーザによりなされた際に開始されるものとして説明する。また、本実施形態の印刷処理において、上述した実施形態1の印刷処理と同様の処理を行うステップについては同一の参照番号を付し、説明を省略するものとする。
<Print processing>
A specific process of the printing process of the thermal printer 100 according to the present embodiment will be described with reference to the flowcharts of FIGS. The processing corresponding to the flowchart can be realized by the CPU 101 reading, for example, a corresponding processing program stored in the flash ROM 102, developing it in the RAM 103, and executing it. In this printing process, for example, among image data recorded on the recording medium 400, a plurality of image data is selected as a print target, and a plurality of image data can be printed using an ink ribbon for one side. In the following description, it is assumed that the process is started when the user gives an instruction to print the image data to be printed by allocating to one print medium. Further, in the printing process of the present embodiment, the same reference numerals are assigned to the steps for performing the same process as the printing process of the first embodiment described above, and the description thereof will be omitted.

(1番目の印刷対象である画像データの印刷処理)
S801で、CPU101は、1面分のインクリボンを使用して複数の画像データの印刷を行う際に、印刷対象間に設ける余白部分に相当する用紙の搬送に要する時間が、第1の閾値より小さいか否かを判断する。具体的にはCPU101は、1面分のインクリボンを使用して印刷する印刷対象の画像データの数及び各印刷対象の印刷サイズから、印刷対象間に設ける余白部分に相当する印刷ライン数を決定する。そしてCPU101は当該余白部分に相当する印刷ライン数の搬送に要する時間を算出し、第1の閾値と比較する。
(Print processing of image data that is the first print target)
In step S <b> 801, when the CPU 101 performs printing of a plurality of image data using the ink ribbon for one surface, the time required to transport the paper corresponding to the blank portion provided between the print targets is less than the first threshold value. Judge whether it is small or not. Specifically, the CPU 101 determines the number of print lines corresponding to the blank portion provided between the print targets from the number of image data to be printed using the ink ribbon for one page and the print size of each print target. To do. Then, the CPU 101 calculates the time required for transporting the number of print lines corresponding to the margin portion and compares it with the first threshold value.

なお、第1の閾値は、サーマルヘッド208の発熱駆動処理を一時停止してから再開する際に、最低限必要とする処理時間を示す閾値である。即ち、余白部分の搬送時間が第1の閾値より小さい場合、発熱駆動処理を一時停止してしまうと、次の印刷対象の印刷時までに発熱駆動処理の再開ができないため、用紙の搬送を一時停止する必要があり、印刷時間を余計に要することになる。本実施形態では、少なくとも1面分のインクリボンを用いた印刷処理に要する時間を変えることなく熱履歴補正を行うため、本ステップにおいて余白部分の搬送中に発熱駆動処理を一時停止してヘッド温度の上昇を低減できるか否かを判断する。   The first threshold value is a threshold value that indicates the minimum processing time required when the heat generation driving process of the thermal head 208 is temporarily stopped and then restarted. That is, if the conveyance time of the blank portion is smaller than the first threshold, if the heat generation driving process is temporarily stopped, the heat generation driving process cannot be resumed until the next printing of the target print, so the paper conveyance is temporarily stopped. It is necessary to stop the printing, and extra printing time is required. In this embodiment, in order to perform the thermal history correction without changing the time required for the printing process using the ink ribbon for at least one surface, in this step, the heat generation driving process is temporarily stopped during the transfer of the blank portion, and the head temperature is It is determined whether or not the increase in the amount can be reduced.

なお、本実施形態では第1の閾値は発熱駆動処理の一時停止及び再開に要する時間を示すものとして説明するが、第1の閾値は印刷ライン数に換算された値であってもよいことは言うまでもない。また当該閾値は、例えばサーマルヘッド208の通電仕様、用紙搬送速度等の関連仕様により算出される値、あるいは実験的に設定される値である。   In the present embodiment, the first threshold value is described as indicating the time required for temporarily stopping and resuming the heat generation driving process. However, the first threshold value may be a value converted into the number of print lines. Needless to say. Further, the threshold value is a value calculated based on related specifications such as the energization specification of the thermal head 208 and the sheet conveyance speed, or a value set experimentally.

CPU101は、余白部分の搬送時間が第1の閾値より小さいと判断した場合は処理をS802に移し、第1の閾値以上であると判断した場合は処理をS603に移す。   If the CPU 101 determines that the conveyance time of the blank portion is smaller than the first threshold, the process proceeds to S802. If it is determined that the margin time is greater than or equal to the first threshold, the process proceeds to S603.

S802で、CPU101は、余白部分の搬送時間中に発熱駆動処理の一時停止及び再開を行うことができないため、印刷対象の複数の画像データを余白部分も含めた1つの画像データとして、1面分のインクリボンを用いて印刷するものとして決定する。具体的にはCPU101は、1面分のインクリボンを使用して印刷する、1番目の印刷対象の画像データの印刷サイズを、1番目の印刷対象の画像データの印刷サイズではなく、インクリボン1面分のサイズとして設定する。このとき、実際に1番目の印刷対象の画像データの印刷のために発熱駆動処理を実行する印刷ライン数については、1番目の印刷対象の画像データの印刷に使用するインクリボンの印刷ライン数が設定される。   In step S <b> 802, the CPU 101 cannot temporarily stop and restart the heat generation driving process during the blank portion conveyance time, and therefore, a plurality of pieces of image data to be printed are displayed as one piece of image data including the blank portion. The ink ribbon is used for printing. Specifically, the CPU 101 prints using the ink ribbon for one side, and the print size of the first print target image data is not the print size of the first print target image data, but the ink ribbon 1 Set as the size of the face. At this time, the number of print lines of the ink ribbon used for printing the first print target image data is the number of print lines for actually executing the heat generation driving process for printing the first print target image data. Is set.

なお、余白部分の搬送時間中に発熱駆動処理の一時停止及び再開が可能な場合は、S603でCPU101は、1番目の印刷対象である画像データの印刷サイズ、即ち1番目の印刷対象に使用するインクリボンの印刷ライン数を設定する。   If the heat generation driving process can be paused and resumed during the margin conveyance time, the CPU 101 uses the print size of the image data that is the first print target, that is, the first print target in S603. Sets the number of ink ribbon print lines.

このように印刷サイズ及び印刷ライン数が設定された1番目の印刷対象の画像データについて、S04乃至S609の処理を実行し、用紙214への印刷を行う。   As described above, the processing of S04 to S609 is performed on the first image data to be printed on which the print size and the number of print lines are set, and printing on the paper 214 is performed.

(2番目以降の印刷対象である画像データの印刷処理)
次に、1番目の印刷対象の画像データの印刷が完了した後に印刷が行われる、2番目以降の印刷対象の画像データの印刷について以下に図9のフローチャートを参照して説明する。
(Print processing of image data to be printed after the second)
Next, the printing of the second and subsequent printing target image data, which is performed after the printing of the first printing target image data is completed, will be described below with reference to the flowchart of FIG.

S901で、CPU101は、S801の判断結果を参照し、印刷対象間に設ける余白部分に相当する用紙の搬送に要する時間が、第1の閾値より小さいか否かを判断する。CPU101は、余白部分の搬送時間が第1の閾値より小さいと判断した場合は処理をSS906に移し、第1の閾値以上であると判断した場合は処理をS610に移す。   In step S <b> 901, the CPU 101 refers to the determination result in step S <b> 801 and determines whether or not the time required for transporting the paper corresponding to the blank portion provided between the print targets is smaller than the first threshold value. If the CPU 101 determines that the conveyance time of the blank portion is smaller than the first threshold, the process proceeds to SS906, and if it is determined that the margin time is greater than or equal to the first threshold, the process proceeds to S610.

まず、余白部分の搬送時間が第1の閾値以上であると判断した場合の処理について、以下に説明する。なお、以下で説明するS610乃至S607の処理は、余白部分の搬送時間中に全ての処理が行われるものとする。   First, processing when it is determined that the conveyance time of the blank portion is equal to or greater than the first threshold will be described below. Note that the processing of S610 to S607 described below is all performed during the conveyance time of the blank portion.

S610でサーマルヘッド208への発熱駆動処理に係る電力供給を一時停止した後、CPU101はS902で、用紙214に印刷する次の印刷対象の画像データの印刷サイズ及び印刷ライン数の情報を設定する。   In step S <b> 610, after temporarily stopping the power supply related to the heat generation driving process to the thermal head 208, the CPU 101 sets information on the print size and the number of print lines of the next image data to be printed on the paper 214 in step S <b> 902.

S903で、CPU101は、余白部分の搬送時間が第2の閾値より小さいか否かを判断する。第2の閾値は、少なくとも現在のヘッド温度を取得し、当該ヘッド温度の温度条件で単位印刷ラインの印刷によりサーマルヘッド208に発生する熱量の情報を用いて熱履歴補正パラメータを更新した上で発熱駆動処理が再開可能であるか否かを判断する閾値である。CPU101は、余白部分の搬送時間が第2の閾値より小さいと判断した場合は処理をS607に移し、第2の閾値以上であると判断した場合は処理をS904に移す。   In step S <b> 903, the CPU 101 determines whether the conveyance time of the blank portion is smaller than the second threshold value. The second threshold value is obtained by acquiring at least the current head temperature, updating heat history correction parameters using information on the amount of heat generated in the thermal head 208 by printing a unit print line under the temperature condition of the head temperature, and generating heat. This is a threshold value for determining whether or not the driving process can be resumed. If the CPU 101 determines that the conveyance time of the blank portion is smaller than the second threshold, the process proceeds to S607. If the CPU 101 determines that the margin time is greater than or equal to the second threshold, the process proceeds to S904.

S904で、CPU101は、余白部分の搬送時間が第3の閾値より小さいか否かを判断する。第3の閾値は、ヘッド温度及び環境温度の両方の情報を取得し、当該温度条件で単位印刷ラインの印刷によりサーマルヘッド208に発生する熱量の情報を用いて熱履歴補正パラメータを更新した上で、発熱駆動処理の再開が可能であるか否かを判断する閾値である。   In step S <b> 904, the CPU 101 determines whether the conveyance time of the blank portion is smaller than the third threshold value. The third threshold is obtained by acquiring information on both the head temperature and the environmental temperature, and updating the thermal history correction parameter using information on the amount of heat generated in the thermal head 208 by printing the unit print line under the temperature condition. The threshold value for determining whether or not the heat generation driving process can be restarted.

即ち、本実施形態では、
・発熱駆動処理の一時停止
・サーマルヘッド208のヘッド温度の取得
・サーマルプリンタ100の環境温度の取得
のそれぞれを行うか否かを、余白部分の搬送時間に対して閾値を設けることにより判断している。このようにすることで、1面分のインクリボンを用いた印刷に要する時間内で、最適なサーマルヘッド208の温度補正を実行して印刷を行うことができる。なお、環境温度の取得を行うか否かを第3の閾値を用いて判断し、第3の閾値以上である場合にのみ環境温度の変化を反映した熱履歴補正パラメータを決定するものとした。これは環境温度がヘッド温度に比べて変化しにくいため、環境温度の変化による熱履歴補正パラメータへの影響は少ないと考えられるからである。
That is, in this embodiment,
-Temporary suspension of heat generation drive processing-Acquisition of head temperature of thermal head 208-Determination of whether or not to acquire environmental temperature of thermal printer 100 by determining a threshold for the conveyance time of the blank portion. Yes. By doing so, it is possible to perform printing by executing the optimum temperature correction of the thermal head 208 within the time required for printing using the ink ribbon for one side. Whether or not to acquire the environmental temperature is determined using the third threshold value, and the thermal history correction parameter reflecting the change in the environmental temperature is determined only when it is equal to or higher than the third threshold value. This is because the environmental temperature is less likely to change compared to the head temperature, and thus it is considered that the change in the environmental temperature has little influence on the heat history correction parameter.

CPU101は、余白部分の搬送時間が第3の閾値より小さいと判断した場合は処理をS605に移し、余白部分の搬送時間が第3の閾値以上であると判断した場合は処理をS604に移す。   If the CPU 101 determines that the conveyance time of the blank portion is smaller than the third threshold, the process proceeds to S605. If the CPU 101 determines that the conveyance time of the blank portion is equal to or greater than the third threshold, the process proceeds to S604.

また、余白部分の搬送時間が第1の閾値より小さい場合は、余白部分の搬送中も発熱駆動処理が継続されるため、CPU101はS905で、余白部分の印刷ライン数を有する余白部分の画像データを生成する。そしてCPU101はS906で、当該余白部分の画像データについてS907及びS908で行われる発熱駆動処理のライン数を用いて、余白部分の印刷サイズ及び印刷ライン数を設定する。なお、生成される余白部分の画像データは、当該画像データに従って発熱駆動処理が実行されても、用紙214に何も印刷されないデータで構成されているものとする。   If the conveyance time of the margin portion is smaller than the first threshold value, the heat generation driving process is continued even during the conveyance of the margin portion. Therefore, in S905, the CPU 101 performs image data of the margin portion having the number of print lines of the margin portion. Is generated. In step S <b> 906, the CPU 101 sets the print size and the number of print lines for the margin portion using the number of lines of the heat generation driving process performed in steps S <b> 907 and S <b> 908 for the image data of the margin portion. It is assumed that the generated image data of the margin part is composed of data on which nothing is printed on the sheet 214 even when the heat generation driving process is executed according to the image data.

S907及びS908の余白部分の発熱駆動処理が完了した後、S909でCPU101は、用紙214に印刷する次の印刷対象の画像データの印刷サイズ及び印刷ライン数の情報を設定し、処理をS607に移す。   After the heat generation driving process of the margin part in S907 and S908 is completed, in S909, the CPU 101 sets information on the print size and the number of print lines of the next print target image data to be printed on the sheet 214, and the process proceeds to S607. .

S604乃至S607の処理は、実施形態1の印刷処理と同様に行うが、S607で決定される、サーマルヘッド208に蓄積した熱量に応じた熱履歴補正パラメータは、余白部分の搬送時間によって具体的には以下のように異なる。
(1)搬送時間が第1の閾値より小さい場合
1番目の画像データについて決定されたもの
(2)搬送時間が第1の閾値以上、かつ第2の閾値より小さい場合
1番目の画像データについて取得した印刷開始前の温度条件において、LUTより得られた単位印刷ラインの印刷によりサーマルヘッド208に発生する熱量の情報と、これから印刷する印刷対象の画像データの印刷サイズの情報とに応じて決定
(3)搬送時間が第2の閾値以上、かつ第3の閾値より小さい場合
現在の印刷対象の画像データについて取得したヘッド温度及び1番目の画像データについて取得した環境温度とに応じて、LUTより得られた単位印刷ラインの印刷によりサーマルヘッド208に発生する熱量の情報と、これから印刷する印刷対象の画像データの印刷サイズの情報とに応じて決定
(4)搬送時間が第3の閾値以上である場合
現在の印刷対象の画像データについて取得した温度条件において、LUTより得られた単位印刷ラインの印刷によりサーマルヘッド208に発生する熱量の情報と、これから印刷する印刷対象の画像データの印刷サイズの情報とに応じて決定
The processes of S604 to S607 are performed in the same manner as the printing process of the first embodiment. However, the heat history correction parameter according to the amount of heat accumulated in the thermal head 208, which is determined in S607, is specifically determined according to the conveyance time of the blank portion. Are different as follows.
(1) When transport time is smaller than first threshold value Determined for first image data (2) When transport time is greater than or equal to first threshold value and smaller than second threshold value Acquired for first image data Under the temperature condition before the start of printing, it is determined according to the information on the amount of heat generated in the thermal head 208 by printing of the unit print line obtained from the LUT and the information on the print size of the image data to be printed from now on ( 3) When the transport time is equal to or greater than the second threshold and smaller than the third threshold, obtained from the LUT according to the head temperature acquired for the current image data to be printed and the environmental temperature acquired for the first image data. Information on the amount of heat generated in the thermal head 208 by printing of the unit print line and the print cycle of the image data to be printed from now on. (4) When the conveyance time is equal to or greater than the third threshold value The thermal head 208 is printed by the unit print line obtained from the LUT under the temperature condition acquired for the current image data to be printed. Determined according to information on the amount of heat generated and information on the print size of the image data to be printed

そしてCPU101は、現在の印刷対象の画像データについて決定された熱履歴補正パラメータに応じて、S608及びS609で、当該画像データについての発熱駆動処理を実行し、印刷を行う。なお、余白部分の搬送時間が第1の閾値以上であった場合、CPU101は、余白部分の搬送が完了した後、発熱駆動処理の再開を行い、当該ステップの処理を行うものとする。   In step S608 and S609, the CPU 101 executes heat generation driving processing for the image data in accordance with the thermal history correction parameter determined for the current image data to be printed, and performs printing. Note that when the conveyance time of the blank portion is equal to or greater than the first threshold, the CPU 101 resumes the heat generation driving process after the completion of the conveyance of the blank portion, and performs the process of the step.

S611で、CPU101は、全ての印刷対象の画像データの印刷が完了しているか否かを判断する。CPU101は、全ての印刷対象の画像データの印刷が完了していないと判断した場合は処理をS901に移し、完了していると判断した場合は発熱駆動処理を終了して本印刷処理を完了する。   In step S <b> 611, the CPU 101 determines whether printing of all image data to be printed has been completed. If the CPU 101 determines that printing of all image data to be printed has not been completed, the process proceeds to step S901. If it is determined that printing has been completed, the CPU 101 ends the heat generation driving process and completes the printing process. .

このようにすることで、1面分のインクリボンを用いた印刷に要する時間内で、最適なサーマルヘッド208の温度補正を実行して印刷を行うことができる。   By doing so, it is possible to perform printing by executing the optimum temperature correction of the thermal head 208 within the time required for printing using the ink ribbon for one side.

[その他の実施形態]
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
[Other Embodiments]
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (12)

複数の画像データを、1面分のインクリボンで印刷可能な大きさの印刷媒体に印刷可能なサーマルプリンタであって、
前記印刷媒体を搬送する搬送手段と、
複数の発熱抵抗体を備え、前記複数の発熱抵抗体を駆動させることにより前記インクリボンのインクを前記印刷媒体に転写させて印刷を行うサーマルヘッドと、
複数の画像データを1面分のインクリボンを用いて印刷する場合に、前記複数の画像データ間に余白領域を設定し、設定した余白領域および複数の画像データに基づいて、前記発熱抵抗体を駆動するための印刷データを生成する生成手段と、
前記サーマルヘッドのヘッド温度、及び前記サーマルプリンタの環境温度を取得する温度取得手段と、
前記サーマルヘッドによる印刷開始前に、前記温度取得手段によりヘッド温度及び環境温度を取得し、取得したヘッド温度及び環境温度に応じて熱履歴補正パラメータを決定する決定手段と、
前記生成手段により生成された印刷データを前記熱履歴補正パラメータに応じて補正し、補正した印刷データに基づいて前記発熱抵抗体を駆動することにより印刷を実行する印刷制御手段と、を有し、
前記搬送手段が前記印刷媒体のうちの前記余白領域を搬送中に、前記温度取得手段はヘッド温度及び環境温度を取得し、前記決定手段は前記余白領域を搬送中に取得したヘッド温度及び環境温度に応じて、前記熱履歴補正パラメータを再決定し、
前記複数の画像データが主走査方向に配置され、前記生成手段により主走査方向に延びる余白領域が生成されない場合には、前記決定手段による前記熱履歴補正パラメータの再決定を行わない
ことを特徴とするサーマルプリンタ。
A thermal printer capable of printing a plurality of image data on a print medium of a size that can be printed with an ink ribbon for one side,
Conveying means for conveying the print medium;
A thermal head comprising a plurality of heating resistors, and printing by transferring the ink of the ink ribbon to the printing medium by driving the plurality of heating resistors;
When printing a plurality of image data using an ink ribbon for one surface, a margin area is set between the plurality of image data, and the heating resistor is set based on the set margin area and the plurality of image data. Generating means for generating print data for driving;
Temperature acquisition means for acquiring a head temperature of the thermal head and an environmental temperature of the thermal printer;
A determination unit that acquires a head temperature and an environmental temperature by the temperature acquisition unit before starting printing by the thermal head, and determines a thermal history correction parameter according to the acquired head temperature and the environmental temperature;
Print data generated by the generating unit is corrected according to the thermal history correction parameter, and the print control unit executes printing by driving the heating resistor based on the corrected print data,
While the transport unit transports the blank area of the print medium, the temperature acquisition unit acquires a head temperature and an environmental temperature, and the determination unit acquires the head temperature and the environmental temperature acquired during the transport of the blank area. And re-determining the thermal history correction parameter ,
When the plurality of image data are arranged in the main scanning direction and no blank area extending in the main scanning direction is generated by the generation unit, the determination unit does not re-determine the thermal history correction parameter. A thermal printer characterized by that.
前記複数の画像データが副走査方向に配置され、前記生成手段により主走査方向に延びる余白領域が生成される場合に、前記決定手段は、前記熱履歴補正パラメータを再決定することを特徴とする請求項1に記載のサーマルプリンタ。   When the plurality of image data are arranged in the sub-scanning direction and a blank area extending in the main scanning direction is generated by the generating unit, the determining unit re-determines the thermal history correction parameter. The thermal printer according to claim 1. 前記印刷制御手段は、前記余白領域の搬送中は前記発熱抵抗体に電圧を与えないことにより、前記発熱抵抗体の駆動を一時停止することを特徴とする請求項1または2に記載のサーマルプリンタ。 3. The thermal printer according to claim 1, wherein the printing control unit temporarily stops driving the heating resistor by not applying a voltage to the heating resistor during conveyance of the blank area. . 前記生成手段は、前記余白領域の搬送中に前記温度取得手段がヘッド温度及び環境温度を取得し、前記決定手段が前記熱履歴補正パラメータを決定した後に、前記印刷制御手段が前記発熱抵抗体を再び駆動できるように、前記余白領域の大きさを決定することを特徴とする請求項に記載のサーマルプリンタ。 The generating means acquires the head temperature and the environmental temperature during conveyance of the blank area, and after the determining means determines the thermal history correction parameter, the printing control means detects the heating resistor. The thermal printer according to claim 3 , wherein the size of the margin area is determined so that it can be driven again. 前記搬送手段は、前記余白領域の搬送中に前記温度取得手段がヘッド温度及び環境温度を取得し、前記決定手段が前記熱履歴補正パラメータを決定した後に、前記印刷制御手段が前記発熱抵抗体を再び駆動できるように、前記余白領域の搬送速度を決定することを特徴とする請求項に記載のサーマルプリンタ。 The conveying means is configured to acquire the head temperature and the environmental temperature during the conveyance of the blank area, and after the determining means determines the thermal history correction parameter, the printing control means removes the heating resistor. The thermal printer according to claim 3 , wherein a conveyance speed of the blank area is determined so as to be driven again. 前記温度取得手段は、前記余白領域の搬送中は、環境温度を取得した後にヘッド温度を取得することを特徴とする請求項1乃至のいずれか1項に記載のサーマルプリンタ。 The temperature acquiring unit, during the transport of the blank area, the thermal printer according to any one of claims 1 to 5, characterized in that to obtain the head temperature after obtaining the environmental temperature. 前記印刷制御手段は、前記余白領域の搬送に要する時間が、
前記発熱抵抗体を再び駆動できる第1の閾値以上である場合は、前記余白領域の搬送中に前記発熱抵抗体の駆動を一時停止し、
前記第1の閾値より小さい場合は、前記余白領域の搬送中に前記サーマルヘッドの駆動を一時停止しない
ことを特徴とする請求項に記載のサーマルプリンタ。
The printing control means is configured to take time required for transporting the margin area.
If it is equal to or higher than the first threshold value that can drive the heating resistor again, the driving of the heating resistor is temporarily stopped during conveyance of the blank area,
4. The thermal printer according to claim 3 , wherein, when smaller than the first threshold, driving of the thermal head is not temporarily stopped during conveyance of the blank area. 5.
前記印刷制御手段は、前記余白領域の搬送に要する時間が、前記決定手段が少なくとも現在のヘッド温度に対応する熱履歴補正パラメータを決定した後に当該印刷制御手段が前記発熱抵抗体を再び駆動できる、前記第1の閾値以上の第2の閾値より小さい場合は、前記複数の印刷対象の画像データの印刷開始前に決定した熱履歴補正パラメータで、前記発熱抵抗体に与える電圧を補正することを特徴とする請求項に記載のサーマルプリンタ。 The print control unit can drive the heating resistor again after the determination unit determines the thermal history correction parameter corresponding to at least the current head temperature, as the time required for transporting the blank area. The voltage applied to the heating resistor is corrected with the thermal history correction parameter determined before the printing of the plurality of image data to be printed is smaller than the second threshold equal to or greater than the first threshold. A thermal printer according to claim 7 . 前記印刷制御手段は、前記余白領域の搬送に要する時間が、
前記決定手段が少なくとも現在のヘッド温度及び環境温度に対応する熱履歴補正パラメータを再決定した後に当該印刷制御手段が前記発熱抵抗体を再び駆動できる前記第2の閾値よりも大きい第3の閾値以上である場合は、前記温度取得手段が取得した前記現在のヘッド温度及び環境温度において前記発熱抵抗体で発生する熱量の情報と、当該余白領域の後に印刷する印刷対象の画像データの印刷サイズの情報とに応じて前記決定手段が再決定した熱履歴補正パラメータで、前記発熱抵抗体に与える電圧を補正し、
前記第3の閾値より小さい場合は、前記温度取得手段が取得した前記現在のヘッド温度と、前記複数の印刷対象の画像データの印刷開始前に取得した環境温度とにおいて前記発熱抵抗体で発生する熱量の情報と、当該余白領域の後に印刷する印刷対象の画像データの印刷サイズの情報とに応じて前記決定手段が再決定した熱履歴補正パラメータで、前記発熱抵抗体に与える電圧を補正する
ことを特徴とする請求項に記載のサーマルプリンタ。
The printing control means is configured to take time required for transporting the margin area.
After the determination unit re-determines the thermal history correction parameter corresponding to at least the current head temperature and the environmental temperature, the print control unit is not less than a third threshold value that is greater than the second threshold value that can drive the heating resistor again. If so, information on the amount of heat generated by the heating resistor at the current head temperature and environmental temperature acquired by the temperature acquisition means, and information on the print size of the image data to be printed to be printed after the margin area The voltage applied to the heating resistor is corrected with the thermal history correction parameter re-determined by the determining means according to
When the temperature is smaller than the third threshold value, the heat generation resistor generates the current head temperature acquired by the temperature acquisition unit and the environmental temperature acquired before the printing of the image data to be printed is started. Correcting the voltage applied to the heating resistor with the heat history correction parameter re-determined by the determining means according to the information on the amount of heat and the information on the print size of the image data to be printed to be printed after the margin area. The thermal printer according to claim 8 .
前記複数の画像データは、各々の画像データが連結された1つの画像データの形式で取得され、当該連結された1つの画像データには前記各々の画像データの境界を特定可能な情報が含まれることを特徴とする請求項1乃至のいずれか1項に記載のサーマルプリンタ。 The plurality of image data are acquired in the form of one image data in which the respective image data are connected, and the connected one image data includes information that can specify the boundary of each of the image data. The thermal printer according to any one of claims 1 to 9 , wherein: 複数の発熱抵抗体を備え、前記複数の発熱抵抗体を駆動させることによりインクリボンのインクを印刷媒体に転写させて印刷を行うサーマルヘッドと、前記印刷媒体を搬送する搬送手段とを有し、複数の画像データを、1面分のインクリボンで印刷可能な大きさの印刷媒体に印刷可能なサーマルプリンタの制御方法であって、
前記サーマルプリンタの生成手段が、複数の画像データを1面分のインクリボンを用いて印刷する場合に、前記複数の画像データ間に余白領域を設定し、設定した余白領域および複数の画像データに基づいて、前記発熱抵抗体を駆動するための印刷データを生成する生成工程と、
前記サーマルプリンタの温度取得手段が、前記サーマルヘッドのヘッド温度、及び前記サーマルプリンタの環境温度を取得する温度取得工程と、
前記サーマルプリンタの決定手段が、前記サーマルヘッドによる印刷開始前に、前記温度取得工程においてヘッド温度及び環境温度を取得し、取得したヘッド温度及び環境温度に応じて熱履歴補正パラメータを決定する決定工程と、
前記サーマルプリンタの印刷制御手段が、前記生成工程において生成された印刷データを前記熱履歴補正パラメータに応じて補正し、補正した印刷データに基づいて前記発熱抵抗体を駆動することにより印刷を実行する印刷制御工程と、を有し、
前記搬送手段が前記印刷媒体のうちの前記余白領域を搬送中に、前記温度取得工程において前記温度取得手段はヘッド温度及び環境温度を取得し、前記決定工程において前記決定手段は前記余白領域を搬送中に取得したヘッド温度及び環境温度に応じて前記熱履歴補正パラメータを再決定し、
前記複数の画像データが主走査方向に配置され、前記生成工程において主走査方向に延びる余白領域が生成されない場合には、前記決定工程において前記決定手段は前記熱履歴補正パラメータの再決定を行わない
ことを特徴とするサーマルプリンタの制御方法。
A thermal head that includes a plurality of heating resistors, drives the plurality of heating resistors to transfer ink on the ink ribbon to a print medium, and has a transport unit that transports the print medium; A method for controlling a thermal printer capable of printing a plurality of image data on a print medium of a size that can be printed with an ink ribbon for one side,
When the generation unit of the thermal printer prints a plurality of image data using an ink ribbon for one side, a margin area is set between the plurality of image data, and the set margin area and the plurality of image data are set. A generating step for generating print data for driving the heating resistor,
A temperature acquisition step in which the temperature acquisition means of the thermal printer acquires the head temperature of the thermal head and the environmental temperature of the thermal printer;
A determination step in which the determination unit of the thermal printer acquires the head temperature and the environmental temperature in the temperature acquisition step before starting printing by the thermal head, and determines the thermal history correction parameter according to the acquired head temperature and the environmental temperature. When,
Print control means of the thermal printer corrects the print data generated in the generating step according to the thermal history correction parameter, and executes printing by driving the heating resistor based on the corrected print data. A printing control process,
While the transport unit is transporting the blank area of the print medium, the temperature acquisition unit acquires the head temperature and the environmental temperature in the temperature acquisition step, and the determination unit transports the blank region in the determination step. Re-determining the thermal history correction parameter according to the head temperature and environmental temperature acquired during ,
When the plurality of image data are arranged in the main scanning direction and a blank area extending in the main scanning direction is not generated in the generation step, the determination unit does not redetermine the thermal history correction parameter in the determination step. <br/> A method for controlling a thermal printer.
コンピュータに、請求項1に記載のサーマルプリンタの制御方法の各工程を実行させるためのプログラム。 The computer program for executing the steps of the method of controlling a thermal printer according to claim 1 1.
JP2011183078A 2011-08-24 2011-08-24 Thermal printer, control method therefor, and program Expired - Fee Related JP5793024B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011183078A JP5793024B2 (en) 2011-08-24 2011-08-24 Thermal printer, control method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011183078A JP5793024B2 (en) 2011-08-24 2011-08-24 Thermal printer, control method therefor, and program

Publications (2)

Publication Number Publication Date
JP2013043380A JP2013043380A (en) 2013-03-04
JP5793024B2 true JP5793024B2 (en) 2015-10-14

Family

ID=48007664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011183078A Expired - Fee Related JP5793024B2 (en) 2011-08-24 2011-08-24 Thermal printer, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP5793024B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10183500B2 (en) * 2016-06-01 2019-01-22 Datamax-O'neil Corporation Thermal printhead temperature control

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04319450A (en) * 1991-04-18 1992-11-10 Canon Inc Recording method and device
JP4267047B2 (en) * 1997-07-30 2009-05-27 キヤノン株式会社 Information processing apparatus, control method, and storage medium
JP2007038607A (en) * 2005-08-05 2007-02-15 Shinko Electric Co Ltd Printer, thermal control method of printer and thermal control program of printer
DE102006009334A1 (en) * 2006-03-01 2007-09-20 Francotyp-Postalia Gmbh A process for improving the quality of printing with a thermal transfer printhead and apparatus for carrying out the process
JP2008302563A (en) * 2007-06-06 2008-12-18 Sony Corp Image printing apparatus and image printing method

Also Published As

Publication number Publication date
JP2013043380A (en) 2013-03-04

Similar Documents

Publication Publication Date Title
US6831683B2 (en) Methods and apparatus for print control of moving a position of a non-print area
JP5208474B2 (en) Image display device, image display method, and image display program
JP5324133B2 (en) Printing apparatus and control method thereof
US8040366B2 (en) Thermal printer and control method thereof
JP4898488B2 (en) Printing system, printing apparatus, control method thereof, program, and storage medium
US20070153310A1 (en) Image forming method and apparatus for borderless printing
US8976213B2 (en) Image forming apparatus and control method thereof
WO2008008188A2 (en) Producing standard format and wide-format prints
JP5793024B2 (en) Thermal printer, control method therefor, and program
JP2009078385A (en) Printer, printing method and program
JP3689666B2 (en) Printing control apparatus and method, thermal transfer recording medium
JP5665403B2 (en) Printer, control method thereof, and program
JP2002326404A (en) Print system, printing method, digital camera, storage medium, program, print controller
JP5361252B2 (en) Printing apparatus, control method therefor, program, and recording medium
JP2013116605A (en) Print control device
JP6021425B2 (en) Printing apparatus, printing method, program
JP4921393B2 (en) Image processing apparatus, control method therefor, program, and recording medium
JP5995550B2 (en) Thermal printer
JP2004358694A (en) Print system with automatic density control function
JP2003237170A (en) Imaging apparatus, imaging method, control program, storage medium, and imaging system
JP4599946B2 (en) Sublimation type thermal transfer printer
JP2011104854A (en) Printer
JP4788886B2 (en) Print processing system
JP2008265305A (en) Printing processor and printing processing method
JP2004120416A (en) Image processing system and its controlling method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140819

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150410

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150609

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150807

LAPS Cancellation because of no payment of annual fees