Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5693244B2 - Printing device and printing method - Google Patents
[go: Go Back, main page]

JP5693244B2 - Printing device and printing method - Google Patents

Printing device and printing method Download PDF

Info

Publication number
JP5693244B2
JP5693244B2 JP2011000162A JP2011000162A JP5693244B2 JP 5693244 B2 JP5693244 B2 JP 5693244B2 JP 2011000162 A JP2011000162 A JP 2011000162A JP 2011000162 A JP2011000162 A JP 2011000162A JP 5693244 B2 JP5693244 B2 JP 5693244B2
Authority
JP
Japan
Prior art keywords
energization
time
heating elements
line
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011000162A
Other languages
Japanese (ja)
Other versions
JP2012139941A (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.)
FCL Components Ltd
Original Assignee
Fujitsu Component Ltd
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 Fujitsu Component Ltd filed Critical Fujitsu Component Ltd
Priority to JP2011000162A priority Critical patent/JP5693244B2/en
Publication of JP2012139941A publication Critical patent/JP2012139941A/en
Application granted granted Critical
Publication of JP5693244B2 publication Critical patent/JP5693244B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Description

本発明は、印字装置、印字方法に関する。   The present invention relates to a printing apparatus and a printing method.

近年、サーマルヘッドを備えた多くのプリンタが提案されている。例えば、特許文献1記載のプリンタでは、印字環境(用紙の種類など)から、サーマルヘッドへ通電するのに要する通電時間を算出する。そして、算出された通電時間を制御することで、設定された印字速度を保ちつつ、用紙に対して印字を行う。   In recent years, many printers equipped with a thermal head have been proposed. For example, in the printer described in Patent Document 1, the energization time required to energize the thermal head is calculated from the printing environment (such as paper type). Then, by controlling the calculated energization time, printing is performed on the paper while maintaining the set printing speed.

特開2008−284846号公報JP 2008-284846 A

しかし、特許文献1記載の技術では、印字環境の変化などにより、印字速度が変動する場合があるという問題がある。   However, the technique described in Patent Document 1 has a problem that the printing speed may fluctuate due to changes in the printing environment.

そこで、本発明では上記のような問題を鑑みて、設定された印字速度を変動させることなく、かつ、印字品質を低下させることなく、印字処理を行う印字装置、印字方法を提供することを目的とする。   Accordingly, in view of the above problems, the present invention has an object to provide a printing apparatus and a printing method that perform printing processing without changing the set printing speed and without reducing printing quality. And

上記目的を達成するため、用紙に印字する複数の発熱体と、前記複数の発熱体へ通電する通電部と、設定された印字速度に基づいて、1ライン印字するために用紙を搬送するのに要する搬送時間を算出する搬送時間算出部と、前記複数の発熱体の1つへの通電時間を算出する通電時間算出部と、前記複数の発熱体へ通電する通電回数を調整することで、1ライン印字するために前記複数の発熱体へ通電するのに要する1ライン通電時間を調整する1ライン通電時間調整部と、を有し、前記1ライン通電時間調整部は、前記搬送時間及び前記通電時間から、最大通電回数を算出する通電回数算出部と、前記最大通電回数から求められる通電パターンの候補から、入力された通電回数に基づいて通電パターンを決定する決定部と、を有し、前記通電部は、前記決定部により決定された通電パターンに基づいて、前記複数の発熱体へ通電することを特徴とする印字装置を提供する。

To achieve the above object, carrying a plurality of heating elements for printing on paper, a conductive portion for energizing the plurality of heating elements, based on Printout speed that has been set, the paper in order to print one line by adjusting the transport time calculation unit for calculating a transport time required for the energization time calculation unit for calculating a current time to the one of the plurality of heating elements, the number of times of energization for energizing the plurality of heating elements the plurality of the one line energization time adjustment unit that adjusts a line energization time required for passing electricity to the heating element, have a, the 1-line energization time adjustment unit, the transfer time for printing one line And an energization frequency calculation unit that calculates the maximum energization frequency from the energization time, and a determination unit that determines an energization pattern based on the input energization frequency from the energization pattern candidates obtained from the maximum energization frequency. And Parts, based on the energization pattern determined by the determination unit, to provide a printing apparatus characterized by energizing the plurality of heating elements.

本願の印字装置、印字方法であれば、設定された印字速度を変動させることなく、かつ、印字品質を低下させることなく、印字処理を行うことができる。   With the printing apparatus and the printing method of the present application, it is possible to perform the printing process without changing the set printing speed and without reducing the printing quality.

本実施例の印字装置の機能構成例を示した図である。It is a figure showing an example of functional composition of a printer of a present example. 本実施例のMCUの機能構成例を示した図である。It is the figure which showed the function structural example of MCU of a present Example. 本実施例のタイムチャートを示した図である。It is the figure which showed the time chart of a present Example. 本実施例のフローチャートを示した図である。It is the figure which showed the flowchart of a present Example. 別の実施形態のタイムチャートを示した図である(その1)。It is the figure which showed the time chart of another embodiment (the 1). 別の実施形態のタイムチャートを示した図である(その2)。It is the figure which showed the time chart of another embodiment (the 2). 別の実施形態のタイムチャートを示した図である(その3)。It is the figure which showed the time chart of another embodiment (the 3). 別の実施形態のフローチャートを示した図である(その2)。It is the figure which showed the flowchart of another embodiment (the 2). 別の実施形態のタイムチャートを示した図である(その4)。It is the figure which showed the time chart of another embodiment (the 4). 別の実施形態のフローチャートを示した図である(その3)。It is the figure which showed the flowchart of another embodiment (the 3). 印字率と補正値とを対応させたテーブル表を示す。The table which matched the printing rate and the correction value is shown. 別の実施形態のフローチャートを示した図である(その4)。It is the figure which showed the flowchart of another embodiment (the 4). 別の実施形態のタイムチャートを示した図である(その5)。It is the figure which showed the time chart of another embodiment (the 5). 別の実施形態のフローチャートを示した図である(その6)。It is the figure which showed the flowchart of another embodiment (the 6). 別の実施形態のフローチャート描画データを示した図である(その7)。It is the figure which showed the flowchart drawing data of another embodiment (the 7). 1ラインを説明するための図。The figure for demonstrating 1 line. 別の実施形態のタイムチャートを示した図である(その6)。It is the figure which showed the time chart of another embodiment (the 6). 別の実施形態のタイムチャートを示した図である(その7)。It is the figure which showed the time chart of another embodiment (the 7).

以下、図面を参照して、本発明を実施するための形態の説明を行う。なお、同じ機能を持つ構成部には同じ番号を付し、重複説明を省略する。また、本実施例の印字装置は、「プリンタ」や「サーマルプリンタ」とも呼ばれる。本実施例の印字装置を「プリンタ」として説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In addition, the same number is attached | subjected to the structure part which has the same function, and duplication description is abbreviate | omitted. The printing apparatus of this embodiment is also called a “printer” or a “thermal printer”. The printing apparatus of this embodiment will be described as “printer”.

[実施形態1]
図1に本実施例のプリンタの機能構成例を示す。本実施例のプリンタは、大略して、制御部100、サーマルヘッド200、用紙搬送部300、入力部400に分けられる。
[Embodiment 1]
FIG. 1 shows a functional configuration example of the printer of this embodiment. The printer of the present embodiment is roughly divided into a control unit 100, a thermal head 200, a paper transport unit 300, and an input unit 400.

制御部100は、MCU(Micro Control Unit)101、第1記憶部102とを有する。該第1記憶部102は、例えば、RAMを用いればよく、図1の記載および以下の説明では、第1記憶部102をRAM102とする。また、サーマルヘッド200は、複数の発熱体(この例では、発熱体221〜224の4つ)と、第2記憶部201と第3記憶部202と、を有する。図1の記載および以下の説明では、第2記憶部201をシフトレジスタ201とし、第3記憶部202をラッチレジスタ202とする。また、各発熱体221〜224各々は複数(例えば64個)の発熱素子から構成される。また、用紙搬送部300は、用紙を搬送させるためのモータ301を有する。入力部400は、印字速度設定部401と通電回数設定部402を有する。本実施例のプリンタは、ホストPC(Personal Computer)500に接続されている。   The control unit 100 includes an MCU (Micro Control Unit) 101 and a first storage unit 102. For example, a RAM may be used as the first storage unit 102. In the description of FIG. 1 and the following description, the first storage unit 102 is a RAM 102. The thermal head 200 includes a plurality of heating elements (in this example, four heating elements 221 to 224), a second storage unit 201, and a third storage unit 202. In the description of FIG. 1 and the following description, the second storage unit 201 is the shift register 201 and the third storage unit 202 is the latch register 202. Each of the heating elements 221 to 224 is composed of a plurality (for example, 64) of heating elements. The paper transport unit 300 includes a motor 301 for transporting paper. The input unit 400 includes a printing speed setting unit 401 and an energization number setting unit 402. The printer of this embodiment is connected to a host PC (Personal Computer) 500.

また、ユーザが、入力部400の印字速度設定部401から、所望の印字速度vを設定する。また、ユーザが印字速度vの設定を行わなくとも、デフォルトで、印字速度vを設定するようにしてもよい。本実施例のプリンタは、該設定された印字速度vを維持して(変動させずに)、印字を行うものである。   In addition, the user sets a desired printing speed v from the printing speed setting unit 401 of the input unit 400. Further, the printing speed v may be set by default without the user setting the printing speed v. The printer of this embodiment performs printing while maintaining (without changing) the set printing speed v.

また、ユーザは、入力部400の通電回数設定部402から通電回数Lを設定する。通電回数Lについては後述する。   In addition, the user sets the energization count L from the energization count setting unit 402 of the input unit 400. The number L of energization will be described later.

図2にMCU101の機能構成例を示す。図2の例では、MCU101は、通電部1011などを含む。MCU101には、ホストPC500から印字する文字コードデータが転送される。MCU101は、文字コードデータをパターンデータに変換し、該パターンデータS101をRAM102に保持させる。パターンデータは、例えば、発熱体221〜224を発色させるドット(印刷するドット)に対応するビットが「1」であり、非発色のドット(非印刷のドット)に対応するビットが「0」のデータである。RAM102は、1ライン分のパターンデータを保持する。ここで、「ドット」とは発熱素子と同義である。ここで、図16を用いて、1ライン印字について説明する。図16Aは、横書きに印字した文字を示す。図16Bは、縦書きに印字した文字を示す。「1ライン印字する」とは、印字する方向に沿った一列の発熱体が行う印字である。つまり、図16Aのように、横方向に印字する場合には、該横方向に沿った一列の発熱体が行う印字である。また、図16Bのように、縦方向に印字する場合には、該縦方向に沿った一列の発熱体が行う印字である。   FIG. 2 shows a functional configuration example of the MCU 101. In the example of FIG. 2, the MCU 101 includes an energization unit 1011 and the like. Character code data to be printed is transferred from the host PC 500 to the MCU 101. The MCU 101 converts the character code data into pattern data, and causes the RAM 102 to store the pattern data S101. In the pattern data, for example, a bit corresponding to a dot (dot to be printed) for coloring the heating elements 221 to 224 is “1”, and a bit corresponding to a non-colored dot (non-printed dot) is “0”. It is data. The RAM 102 holds pattern data for one line. Here, “dot” is synonymous with a heating element. Here, one-line printing will be described with reference to FIG. FIG. 16A shows characters printed in horizontal writing. FIG. 16B shows characters printed vertically. “One line printing” is printing performed by a row of heating elements along the printing direction. That is, as shown in FIG. 16A, when printing is performed in the horizontal direction, the printing is performed by a row of heating elements along the horizontal direction. Further, as shown in FIG. 16B, when printing is performed in the vertical direction, printing is performed by a row of heating elements along the vertical direction.

また、1行とは、図16Aに示す文字の行、または図16Bに示す文字の列を示す。   One line indicates the character line shown in FIG. 16A or the character string shown in FIG. 16B.

用紙への印字時に、転送部1017は、クロック同期シリアル通信信号S111を用いて、シフトレジスタ201に、変換された1ライン分のパターンデータ(印字データ)を転送する。そして、MCUからのラッチ信号S121によりシフトレジスタ201のデータS201が、ラッチレジスタ202に転送される。該転送により、通電期間中にも、転送部1107は、シフトレジスタ201に次の通電期間に対応するパターンデータを転送できる。これに伴い、パターンデータの各ビットに対応した発熱体221〜224の各発熱素子へも、ラッチレジスタ202からパターンデータS211〜S214が、転送される。また、図1では、パターンデータS211〜S214を送信するための導線は、発熱素子分、存在する。つまり、発熱体221が64個の発熱素子により構成されている場合には、パターンデータS211を送信するための導線は、64本存在する。そして各発熱素子は、MCU101からの通電信号(S131〜S134)により通電(発熱)され、ラッチレジスタ202内のパターンデータ(S211〜S214)の発色を行い、用紙に印字する。そして、1ライン分の印字が終了すると、MCU101は、用紙搬送部300に用紙搬送信号S141を送信することで、モータ301を駆動して、1ライン分、用紙を搬送する。   At the time of printing on paper, the transfer unit 1017 transfers the converted pattern data (print data) for one line to the shift register 201 using the clock synchronous serial communication signal S111. Then, the data S201 of the shift register 201 is transferred to the latch register 202 by the latch signal S121 from the MCU. By the transfer, the transfer unit 1107 can transfer the pattern data corresponding to the next energization period to the shift register 201 even during the energization period. Accordingly, the pattern data S211 to S214 are transferred from the latch register 202 to the heating elements of the heating elements 221 to 224 corresponding to each bit of the pattern data. Moreover, in FIG. 1, the conducting wire for transmitting pattern data S211 to S214 exists for the heating element. That is, when the heating element 221 is configured by 64 heating elements, there are 64 conductors for transmitting the pattern data S211. Each heating element is energized (heated) by energization signals (S131 to S134) from the MCU 101, and the pattern data (S211 to S214) in the latch register 202 is colored and printed on paper. When printing for one line is completed, the MCU 101 transmits a paper transport signal S141 to the paper transport unit 300 to drive the motor 301 and transport the paper for one line.

図3に、発熱体221、発熱体222、発熱体223、発熱体224の順番で通電信号を送信した場合のタイムチャートを示す。図3中のS111はクロック同期シリアル通信信号を示し、S121は、ラッチ信号を示し、S131、S132、S133、S134は、通電信号を示し、S141は用紙搬送信号を示す。また、S121において、「0」の場合には、シフトレジスタ201からラッチレジスタ202へデータを送信している状態を示し、「1」の場合には、シフトレジスタ201からラッチレジスタ202へデータを送信していない状態を示す。また、S131、S132、S133、S134において、「1」の場合には、発熱体221〜224へ通電(発熱)されている状態(通電がON状態)であることを示し、「0」の場合には、発熱体221〜224へ通電されていない状態(通電がOFF状態)であることを示す。   FIG. 3 shows a time chart when the energization signals are transmitted in the order of the heating element 221, the heating element 222, the heating element 223, and the heating element 224. 3, S111 indicates a clock synchronous serial communication signal, S121 indicates a latch signal, S131, S132, S133, and S134 indicate energization signals, and S141 indicates a paper conveyance signal. In S121, “0” indicates that data is being transmitted from the shift register 201 to the latch register 202. If “1”, data is transmitted from the shift register 201 to the latch register 202. Indicates a state that is not. In S131, S132, S133, and S134, “1” indicates that the heating elements 221 to 224 are energized (heated) (energization is ON), and “0”. Indicates that the heating elements 221 to 224 are not energized (the energization is OFF).

図3を用いて、以下で用いる用語について説明する。転送部1017が、クロック同期シリアル通信信号S111を用いて、1ライン分のデータをシフトレジスタ201に転送するのに要する時間を「転送時間ts」という。また、通電部1011が、1つの発熱体に通電するのに要する時間を「通電時間th」という。また、4つの発熱体221〜224に通電するのに要する合計時間(つまり、1ライン印字するために、発熱体221〜224に通電するのに要する時間)を「1ライン通電時間tp」という。図3の例では、tp=4thとなる。また、用紙搬送部300が、用紙を1ライン分、搬送するのに要する時間を「搬送時間tm」という。換言すれば、搬送時間tmは、1ライン印字するために用紙を搬送するのに要する時間である。また、通電部1011が、発熱体221〜224に対して通電する回数を「通電回数L」という。図3の例では、通電回数Lは4回である。また、1ラインの通電は、直近に転送された印字データAについて行われる。   The terms used below will be described with reference to FIG. The time required for the transfer unit 1017 to transfer one line of data to the shift register 201 using the clock synchronous serial communication signal S111 is referred to as “transfer time ts”. The time required for the energization unit 1011 to energize one heating element is referred to as “energization time th”. The total time required to energize the four heating elements 221 to 224 (that is, the time required to energize the heating elements 221 to 224 for printing one line) is referred to as “one line energization time tp”. In the example of FIG. 3, tp = 4th. In addition, the time required for the paper transport unit 300 to transport the paper for one line is referred to as “transport time tm”. In other words, the transport time tm is the time required to transport the paper for printing one line. In addition, the number of times the energization unit 1011 energizes the heating elements 221 to 224 is referred to as “the number L of energizations”. In the example of FIG. 3, the energization count L is 4 times. Further, energization of one line is performed for the print data A transferred most recently.

また、「設定された通電回数」について説明する。一般的に、一度の多くの発熱体に通電を行うと、消費電力のピークが高くなる。プリンタごとに、消費電力のピーク(最大値)が決められている。つまり、プリンタごとに、一度で通電できる発熱体の最大数は決められており、通電回数の最小値が決められている。   Further, the “set number of energizations” will be described. Generally, when a large number of heating elements are energized at once, the peak of power consumption increases. The peak (maximum value) of power consumption is determined for each printer. That is, the maximum number of heating elements that can be energized at once is determined for each printer, and the minimum value of the number of energizations is determined.

一方、1ラインの印字ごとに、通電回数を多くすると、印字品質が下がる場合がある。従って、通電回数の最大値が定められている。つまり、「消費電力のピーク値」と「印字品質」とはトレードオフの関係にある。つまり、通電回数は、発熱体での「消費電力でのピーク値」および「印字品質」などにより定められる。   On the other hand, if the number of energizations is increased for each printing of one line, the printing quality may be lowered. Therefore, the maximum value of the number of energizations is determined. That is, “peak value of power consumption” and “print quality” are in a trade-off relationship. That is, the number of energizations is determined by “peak value of power consumption” and “print quality” of the heating element.

次に、本実施形態1のプリンタの処理について説明する。上述のように、ユーザにより、または、デフォルトとして、印字速度vが設定されている。搬送時間算出部1012は、設定された印字速度vから、搬送時間tmを算出する。ここで、印字速度vを維持しつつ、発熱体221〜224が印字を行うためには、以下の式(1)を満たす必要がある。   Next, processing of the printer according to the first embodiment will be described. As described above, the printing speed v is set by the user or as a default. The conveyance time calculation unit 1012 calculates a conveyance time tm from the set printing speed v. Here, in order for the heating elements 221 to 224 to perform printing while maintaining the printing speed v, it is necessary to satisfy the following formula (1).

1ライン通電時間tp≦搬送時間tm (1)   1 line energizing time tp ≦ conveying time tm (1)

上記式(1)を満たすように、1ライン通電時間調整部1013は、搬送時間tmと通電時間thとに基づいて、1ライン通電時間tpを調整する。ここで、「1ライン通電時間tpを調整する」とは、「1ライン通電時間tpを増加させる。」または「1ライン通電時間tpを減少させる。」ことである。また、上記式(1)を満たせば、印字速度vを維持しつつ、印字を行えることから、1ライン通電時間tpを減少させることが好ましい。1ライン通電時間調整部1013は、例えば、(i)通電回数Lを調整することや、(ii)通電時間thを調整することで、1ライン通電時間tpを調整する。   The 1-line energization time adjustment unit 1013 adjusts the 1-line energization time tp based on the transport time tm and the energization time th so as to satisfy the above formula (1). Here, “adjusting the one-line energization time tp” means “increasing the one-line energization time tp” or “decreasing the one-line energization time tp”. Further, if the above formula (1) is satisfied, printing can be performed while maintaining the printing speed v. Therefore, it is preferable to reduce the one-line energization time tp. The 1-line energization time adjustment unit 1013 adjusts the 1-line energization time tp by, for example, (i) adjusting the energization frequency L or (ii) adjusting the energization time th.

本実施形態1のプリンタでは、上記式(1)を満たすように、1ライン通電時間tpを調整する。従って、本実施形態1のプリンタは、設定された印字速度vを変動させることなく、かつ、印字品質を低下させることなく、用紙に対して印字を行うことができる。また、以下の実施形態では、1ライン通電時間tpを調整する具体的な手法について説明する。   In the printer of the first embodiment, the one-line energization time tp is adjusted so as to satisfy the above formula (1). Therefore, the printer of the first embodiment can perform printing on the paper without changing the set printing speed v and without reducing the printing quality. Moreover, the following embodiment demonstrates the specific method of adjusting 1 line energization time tp.

[実施形態2]
次に、実施形態2のプリンタについて説明する。図2に示すように、実施形態2の1ライン通電時間調整部1013は、通電回数算出部1015と、決定部1016と、候補算出部1021を有する。
[Embodiment 2]
Next, the printer according to the second embodiment will be described. As illustrated in FIG. 2, the one-line energization time adjustment unit 1013 according to the second embodiment includes an energization frequency calculation unit 1015, a determination unit 1016, and a candidate calculation unit 1021.

図4に、実施形態2のプリンタの処理フローを示す。図4の処理フローは、1ラインの印字ごとに行われる処理である。まず、通電時間算出部1014は、印字環境に基づいて、通電時間thを求める(ステップS2)。ここで、印字環境とは、例えば、印字する用紙の種類、発熱体221〜224が発熱した場合の温度、発熱体221〜224に印加される電圧、印字速度vなどのうち、少なくとも1つである。そして、各印字環境と、通電時間thとを対応付けたテーブル表をRAM102などの記憶手段に記憶させておく。そして、通電時間算出部1014が、該テーブル表を参照して、現在の各印字環境と対応する通電時間thを求める。   FIG. 4 shows a processing flow of the printer of the second embodiment. The process flow of FIG. 4 is a process performed for each printing of one line. First, the energization time calculation unit 1014 obtains the energization time th based on the printing environment (step S2). Here, the printing environment is, for example, at least one of the type of paper to be printed, the temperature when the heating elements 221 to 224 generate heat, the voltage applied to the heating elements 221 to 224, the printing speed v, and the like. is there. A table that associates each printing environment with the energization time th is stored in a storage unit such as the RAM 102. Then, the energization time calculation unit 1014 obtains the energization time th corresponding to each current printing environment with reference to the table.

次に、搬送時間算出部1012が、搬送時間tmを求める(ステップS4)。搬送時間tmの求め方は、上記[実施形態1]と同様である。次に、通電回数算出部1015が、通電時間thと搬送時間tmとから、最大通電回数LMを求める(ステップS6)。ここで、最大通電回数LMとは、1ライン通電時間tpが搬送時間tmを超えない通電回数のうち、最大の通電回数をいう。最大通電回数LMは以下の式(2)で求めることができる。
LM=tm/th (2)
LMの値の、小数点以下は切り捨てとなる。
Next, the conveyance time calculation part 1012 calculates | requires conveyance time tm (step S4). The method for obtaining the conveyance time tm is the same as in [Embodiment 1]. Next, the energization frequency calculation unit 1015 obtains the maximum energization frequency LM from the energization time th and the conveyance time tm (step S6). Here, the maximum energization count LM is the maximum energization count among the energization counts in which the one-line energization time tp does not exceed the transport time tm. The maximum energization frequency LM can be obtained by the following equation (2).
LM = tm / th (2)
The LM value is rounded down.

次に、候補算出部1021が、最大通電回数LMから、通電のパターンの候補を算出する(ステップS8)。ここで、通電のパターンの候補として、本実施例のように発熱体が4つの場合(つまり、図1のように、発熱体221、222、223、224)には、以下の通電のパターン1〜パターン4が算出される。   Next, the candidate calculation unit 1021 calculates an energization pattern candidate from the maximum energization count LM (step S8). Here, as energization pattern candidates, when there are four heating elements as in this embodiment (that is, heating elements 221, 222, 223, and 224 as in FIG. 1), the following energization pattern 1 ~ Pattern 4 is calculated.

パターン1とは、発熱体221、発熱体222、発熱体223、発熱体224、それぞれに1回ずつ通電する(つまり、通電回数Lが4回である)パターンである。パターン2とは、発熱体221および発熱体222に同時に1回の通電をし、発熱体223および発熱体224に同時に1回の通電をする(つまり、通電回数Lが2回である)パターンである。パターン3とは、発熱体221〜224に同時に1回の通電をする(つまり、通電回数Lが1回である)パターンである。パターン4とは、発熱体221および発熱体222に同時に1回の通電、発熱体223に1回の通電、発熱体224に1回の通電をする(つまり、通電回数Lが3回である)パターンである。   The pattern 1 is a pattern in which the heating element 221, the heating element 222, the heating element 223, and the heating element 224 are energized once (that is, the energization frequency L is 4). The pattern 2 is a pattern in which the heating element 221 and the heating element 222 are energized once at the same time, and the heating element 223 and the heating element 224 are energized once at the same time (that is, the energization frequency L is 2 times). is there. The pattern 3 is a pattern in which the heating elements 221 to 224 are energized once at the same time (that is, the energization frequency L is 1). The pattern 4 means that the heating element 221 and the heating element 222 are energized once, the heating element 223 is energized once, and the heating element 224 is energized once (that is, the energization frequency L is 3 times). It is a pattern.

なお、パターン4の他のパターンとして、発熱体221に1回の通電、発熱体222および発熱体223に同時に1回の通電、発熱体224に1回の通電を行うパターンと、発熱体221に1回の通電、発熱体222に1回の通電、発熱体223および発熱体224に同時に1回の通電を行うパターンと、がある。以下の説明では、パターン4は、発熱体221および発熱体222に同時に1回の通電、発熱体223に1回の通電、発熱体224に1回の通電をするパターンとする。   In addition, as another pattern 4, the heating element 221 is energized once, the heating element 222 and the heating element 223 are energized once, the heating element 224 is energized once, and the heating element 221 is energized. There is a pattern of energizing once, energizing the heating element 222 once, and energizing the heating element 223 and the heating element 224 once at the same time. In the following description, the pattern 4 is a pattern in which the heating element 221 and the heating element 222 are energized once, the heating element 223 is energized once, and the heating element 224 is energized once.

図3は、通電回数が4回の場合の、タイムチャートである。また、図5にパターン2(通電回数Lが2回の通電パターン)のタイムチャートを示し、図6にパターン3(通電回数Lが1回の通電パターン)のタイムチャートを示す。図17にパターン4(通電回数Lが3回の通電パターン)のタイムチャートを示す。なお、発熱体221、222、223に1回の通電を行い、発熱体224に1回の通電を行うパターン(つまり、2回の通電)も考えられるが、1回の多くの発熱体に通電すると、消費電力のピークが高くなる。従って、2回の通電を行う場合には、パターン2で行うことが好ましい。   FIG. 3 is a time chart when the number of energizations is four. FIG. 5 shows a time chart of pattern 2 (energization pattern with two energization times L), and FIG. 6 shows a time chart of pattern 3 (energization pattern with one energization number L). FIG. 17 shows a time chart of pattern 4 (an energization pattern in which the energization frequency L is 3). A pattern in which the heating elements 221, 222, and 223 are energized once and the heating element 224 is energized once (that is, energized twice) is also conceivable. Then, the peak of power consumption increases. Therefore, when energizing twice, it is preferable to use pattern 2.

次に、決定部1016が、通電のパターンの候補から、通電回数設定部402で設定された通電回数に基づいて、通電のパターンを決定する(ステップS10)。例えば、設定された通電回数が「4回」である場合には、決定部1016は、パターン3を決定する。そして、通電部1011は、決定された通電パターンに基づいて、通電時間算出部1014で算出された通電時間thで発熱体221〜224に対して通電を行う(ステップS16)。   Next, the determination unit 1016 determines an energization pattern from the energization pattern candidates based on the energization count set by the energization count setting unit 402 (step S10). For example, when the set number of energizations is “4 times”, the determination unit 1016 determines the pattern 3. The energization unit 1011 energizes the heating elements 221 to 224 with the energization time th calculated by the energization time calculation unit 1014 based on the determined energization pattern (step S16).

決定部1016による、別の通電パターンの決定について、図7を用いて説明する。図7に破線で示すように、設定された通電回数が4回の場合には、1ライン通電時間tp(=4th)は、搬送時間tmを超えてしまう。上述のように、1ライン通電時間tpが搬送時間tmを超えると、設定された印字速度vで印字できなくなる。従って、通電回数が4回のパターン1は、除外される。そして、決定部1016は、残りの通電パターンの候補のうち、設定された通電回数と最も近い回数の通電パターンを決定する。図7の例では、決定部1016は、残りの通電パターン(パターン2、パターン3、パターン4)のうち、設定された通電回数(4回)と最も近い回数の通電パターンを決定する。つまり、この例では、設定された通電回数(4回)と最も近い回数とは、「3回」であることから、パターン4が決定される。そして、通電部1011は、ステップS16の処理を行う。   The determination of another energization pattern by the determination unit 1016 will be described with reference to FIG. As indicated by a broken line in FIG. 7, when the set number of energizations is 4, the 1-line energization time tp (= 4th) exceeds the transport time tm. As described above, when the 1-line energization time tp exceeds the transport time tm, printing cannot be performed at the set printing speed v. Therefore, the pattern 1 in which the number of energizations is four is excluded. Then, the determination unit 1016 determines the number of energization patterns closest to the set energization number among the remaining energization pattern candidates. In the example of FIG. 7, the determination unit 1016 determines the number of energization patterns closest to the set energization number (4 times) among the remaining energization patterns (pattern 2, pattern 3, pattern 4). That is, in this example, since the set number of energizations (4 times) and the closest number are “3 times”, the pattern 4 is determined. And the electricity supply part 1011 performs the process of step S16.

プリンタの印字手法として、ユーザなどにより設定された通電回数で、通電をすることが理想的である。しかし、設定された通電回数で、通電を行うと、1ライン通電時間tpが、搬送時間tmを超え、設定された印字速度vを維持できない場合がある。そこで、本実施形態2のプリンタのように、1ライン通電時間tpが搬送時間tmを超えない、通電のパターンの候補を算出する。そして、算出された通電のパターンの候補から、設定された通電回数の最も近い通電回数の通電パターンを決定する。従って、設定された通電回数に最も近く、かつ、設定された印字速度vを維持しつつ、印字を行うことができる。   As a printing method of the printer, it is ideal to energize with the number of energizations set by the user or the like. However, if energization is performed with the set energization count, the 1-line energization time tp may exceed the transport time tm, and the set print speed v may not be maintained. Therefore, as in the printer of the second embodiment, energization pattern candidates are calculated such that the one-line energization time tp does not exceed the conveyance time tm. Then, from the calculated energization pattern candidates, the energization pattern having the energization frequency closest to the set energization frequency is determined. Therefore, printing can be performed while being closest to the set number of energizations and maintaining the set printing speed v.

[実施形態3]
次に実施形態3のプリンタについて説明する。図8に実施形態3のプリンタの処理フローを示し、図9に、実施形態3のプリンタのタイムチャートを示す。まず、実施形態3のプリンタの前提について説明する。実施形態2のプリンタでは、図7に示すように、MCU101は、1ラインの印字につき、クロック同期シリアル通信信号S111を用いて、一度にパターンデータを送信し、通電信号(S131〜S134)を各発熱体221〜224に送信していた。しかし、発熱体の数が少ない場合には、各発熱素子の制御を行うことが困難な場合がある。
[Embodiment 3]
Next, a printer according to the third embodiment will be described. FIG. 8 shows a processing flow of the printer of the third embodiment, and FIG. 9 shows a time chart of the printer of the third embodiment. First, the premise of the printer of Embodiment 3 will be described. In the printer of the second embodiment, as shown in FIG. 7, the MCU 101 transmits pattern data at a time using the clock synchronous serial communication signal S111 for each line of printing, and sends energization signals (S131 to S134). It was transmitted to the heating elements 221 to 224. However, when the number of heating elements is small, it may be difficult to control each heating element.

そこで、本実施形態3のMCU101は、図9に示すように、パターンデータを複数回(図9の例では、2回)に分けて、転送する。また、パターンデータの送信中は、通電信号S131〜S134が送信されている状態である。この実施形態3の制御を行うことで、発熱体の数が少ない場合でも、発熱素子の細やかな制御を行うことができる。本実施形態3のプリンタは、この制御のもと、印刷を行う。   Therefore, as shown in FIG. 9, the MCU 101 according to the third embodiment transfers the pattern data divided into a plurality of times (in the example of FIG. 9, twice). During transmission of the pattern data, the energization signals S131 to S134 are being transmitted. By performing the control of the third embodiment, fine control of the heating elements can be performed even when the number of heating elements is small. The printer of the third embodiment performs printing under this control.

ステップS2で、通電時間算出部1014は、通電時間thを求める。そして、第1判定部1023は、通電時間thと転送時間tsとの大小を比較する。ここで、転送時間tsは、プリンタごとに予め定められている値である。第1判定部1023により、通電時間th<転送時間tsと判定された場合には(ステップS52のYes)、ステップS53に移行する。ステップS53では、th=tsとする。そして、ステップS4に移行する。   In step S2, the energization time calculation unit 1014 determines the energization time th. The first determination unit 1023 compares the energization time th with the transfer time ts. Here, the transfer time ts is a value predetermined for each printer. When the first determination unit 1023 determines that energization time th <transfer time ts (Yes in step S52), the process proceeds to step S53. In step S53, th = ts. Then, the process proceeds to step S4.

また、第1判定部1023により、通電時間th≧転送時間tsと判定された場合には(ステップS52のNo)ステップS4に移行する。   If the first determination unit 1023 determines that energization time th ≧ transfer time ts (No in step S52), the process proceeds to step S4.

ステップS4では、搬送時間算出部1012が、搬送時間tmを算出する。そして、ステップS6では、通電回数算出部1015は、最大通電回数LMを算出する。具体的には、th<tsの場合には、最大通電回数LM=tm/tsとなり、th≧tsの場合には、最大通電回数LM=tm/thとなる。   In step S4, the conveyance time calculation unit 1012 calculates the conveyance time tm. In step S6, the energization count calculation unit 1015 calculates the maximum energization count LM. Specifically, when th <ts, the maximum energization count LM = tm / ts, and when th ≧ ts, the maximum energization count LM = tm / th.

図9は、th>tsの場合のタイムチャートであり、図18は、th<tsの場合のタイムチャートである。ここで、通電部1011による1回の通電に対して、シフトレジスタ201への1回のパターンデータの転送が必要である。従って、通電回数Lと転送回数は同値であり、最大通電回数と、最大転送回数は同値である。   FIG. 9 is a time chart when th> ts, and FIG. 18 is a time chart when th <ts. Here, for one energization by the energization unit 1011, one pattern data transfer to the shift register 201 is necessary. Therefore, the energization count L and the transfer count are the same value, and the maximum energization count and the maximum transfer count are the same value.

その後の処理は実施形態2と同様なので説明を省略する。   Since the subsequent processing is the same as that of the second embodiment, the description thereof is omitted.

この実施形態3であっても、実施形態2と同様の効果を得ることができる。   Even in the third embodiment, the same effect as in the second embodiment can be obtained.

[実施形態4]
次に実施形態4のプリンタについて説明する。通常、発色ドット数が多い通電では、通電時間を長くする必要がある。また、一般的に、1回の通電で発色させるドット数(発熱素子)が多くなるほど、発色に必要な電力(エネルギー)が大きくなる。従って、発色ドット数が少ない通電では、電力(エネルギー)削減のため、通電時間を短くする必要がある。従来のプリンタでは、発色ドット数が度々変更されると、印字品質を一定に保つことができない場合がある。そこで、実施形態4のプリンタであれば、発色ドット数が度々変更される場合であっても、印字品質を一定に保つことができる。
[Embodiment 4]
Next, a printer according to the fourth embodiment will be described. Usually, energization with a large number of colored dots requires a longer energization time. In general, the power (energy) required for color development increases as the number of dots (heat-generating elements) that develop color by one energization increases. Therefore, in energization with a small number of colored dots, it is necessary to shorten the energization time in order to reduce power (energy). In a conventional printer, if the number of color dots is changed frequently, the print quality may not be kept constant. Therefore, with the printer of the fourth embodiment, the print quality can be kept constant even when the number of color dots is changed frequently.

図10に実施形態4のプリンタの処理フローを示す。図10に示す処理フローでは、ステップS2とステップS4との間に、ステップS19が介在され、ステップS10とステップS16との間にステップS20とステップS22が介在される。   FIG. 10 shows a processing flow of the printer of the fourth embodiment. In the processing flow shown in FIG. 10, step S19 is interposed between step S2 and step S4, and step S20 and step S22 are interposed between step S10 and step S16.

ステップS2で、通電時間thが算出されると、通電時間調整部1019は、見込み印字率Q’から、見込み補正値R’を算出する。印字率は、1回の通電ごとに定められるものであり、以下の式(3)により定義される。
印字率=1回の通電の発色ドット数/全ドット数 (3)
When the energization time th is calculated in step S2, the energization time adjustment unit 1019 calculates an expected correction value R ′ from the expected printing rate Q ′. The printing rate is determined for each energization, and is defined by the following equation (3).
Printing rate = Number of colored dots per energization / total number of dots (3)

しかし、印字率は、1回の通電ごとに定められるものであるから、通電パターンが定められないと、印字率を求めることができない。   However, since the printing rate is determined for each energization, the printing rate cannot be obtained unless the energization pattern is determined.

そこで、印字率Qを見込み印字率Q’として見込み補正値R’を算出する。見込み印字率Q’は、各プリンタのデフォルトして定められているものであり、また、ユーザが設定できるようにしてもよい。見込み補正値R’は、図11に示すテーブル表を用いて、求められる。図11に示すテーブル表は、N個(Nは自然数)印字率とN個の補正値をそれぞれ対応付けたものである。図11の例では、印字率Qと補正値Rとが対応付けられている。図11に示すテーブル表は予め、実験的に作成されるものである。通電時間調整部1019は、図11に示すテーブル表を用いて、定められた見込み印字率Q’と対応する見込み補正率R’を求める。そして、通電時間調整部1019は、求められた見込み補正率R’を、ステップS2で算出された通電時間thに反映させる(ステップS19)。ここで、「通電時間thに、見込み補正率R’を反映させる」とは、「通電時間thに見込み補正率R’を加算することや乗算すること」などである。 Therefore, the expected correction value R ′ is calculated with the printing rate Q as the expected printing rate Q ′. The expected printing rate Q ′ is determined as a default of each printer, and may be set by the user. The prospective correction value R ′ is obtained using the table shown in FIG. The table shown in FIG. 11 associates N (N is a natural number) printing rates with N correction values. In the example of FIG. 11, the printing rate Q 1, the correction value R 1 is associated. The table shown in FIG. 11 is experimentally created in advance. The energization time adjustment unit 1019 obtains the expected correction rate R ′ corresponding to the determined expected printing rate Q ′ using the table shown in FIG. Then, the energization time adjustment unit 1019 reflects the calculated expected correction rate R ′ in the energization time th calculated in step S2 (step S19). Here, “reflect the expected correction rate R ′ on the energization time th” means “adding or multiplying the expected correction rate R ′ to the energization time th”.

そして、ステップS4、S6、S8、S10の処理を行う。印字率算出部1022は、印字率を算出する(ステップS20)。ここで、印字率算出部1022は、1回の通電ごとの発色ドット数を認識している。また、全ドット数とは、発熱素子の総数であり、印字率算出部1022は認識している。従って、印字率算出部1022は、上記式(3)に基づいて、1回の通電ごとの印字率Qを求める。次に、通電時間調整部1019は、算出された印字率Qから、補正値Rを求める。補正値Rを求める手法の一例として、図11に示すテーブル表を用いる。印字率算出部1022が、印字率Qを算出すると、通電時間調整部1019が、図11に示すテーブル表を参照して、該算出された印字率Qに対応する補正値Rを求める。印字率Qが、テーブル表に存在しない場合には、テーブル表にある印字率のうち、最も近い印字率に対応する補正値を算出すればよい。   And the process of step S4, S6, S8, and S10 is performed. The printing rate calculation unit 1022 calculates the printing rate (step S20). Here, the printing rate calculation unit 1022 recognizes the number of colored dots for each energization. The total number of dots is the total number of heating elements, and is recognized by the printing rate calculation unit 1022. Therefore, the printing rate calculation unit 1022 obtains the printing rate Q for each energization based on the above equation (3). Next, the energization time adjustment unit 1019 obtains a correction value R from the calculated printing rate Q. As an example of a method for obtaining the correction value R, a table shown in FIG. 11 is used. When the printing rate calculation unit 1022 calculates the printing rate Q, the energization time adjustment unit 1019 obtains a correction value R corresponding to the calculated printing rate Q with reference to the table shown in FIG. If the printing rate Q does not exist in the table, a correction value corresponding to the closest printing rate among the printing rates in the table may be calculated.

通電時間調整部1019が、補正値Rを算出すると、通電時間thに、該補正値Rを反映させる(例えば、通電時間thに補正値Rを加算する)ことで、1通電ごとの通電時間thを調整する(ステップS22)。   When the energization time adjustment unit 1019 calculates the correction value R, the energization time th for each energization is reflected by reflecting the correction value R in the energization time th (for example, adding the correction value R to the energization time th). Is adjusted (step S22).

また、図10の例では、実施形態2の処理フロー(図4参照)に対して、ステップS20、ステップS22を付加した例を説明したが、実施形態3の処理フロー(図8参照)に付加しても良い。また、図10の例では、ステップS10の処理後に、ステップS20、S22を付加しているが、適切に、通電時間を調整できるのであれば、どのタイミングでステップS20、ステップS22の処理を行っても良い。   In the example of FIG. 10, the example in which Step S20 and Step S22 are added to the processing flow of Embodiment 2 (see FIG. 4) has been described, but the processing flow of Embodiment 3 (see FIG. 8) is added. You may do it. In the example of FIG. 10, steps S20 and S22 are added after the process of step S10. However, if the energization time can be appropriately adjusted, the process of steps S20 and S22 is performed at any timing. Also good.

本実施形態4のプリンタの通電時間調整部1019は、発熱体221〜224の発色ドット数に応じて、通電時間算出部1012により算出された通電時間を調整する。従って、印字率の異なる通電においても、各通電ごとに、通電時間を調整することから、印字品質を一定に保つことができる。   The energization time adjustment unit 1019 of the printer according to the fourth embodiment adjusts the energization time calculated by the energization time calculation unit 1012 according to the number of color dots of the heating elements 221 to 224. Therefore, even in energization with different printing rates, the energization time is adjusted for each energization, so that the print quality can be kept constant.

また、上記では、実施形態4は、実施形態2のプリンタに適用した例を説明したが、実施形態3のプリンタに適用してもよい。   In the above description, the example in which the fourth embodiment is applied to the printer in the second embodiment has been described. However, the fourth embodiment may be applied to the printer in the third embodiment.

[実施形態5]
次に、実施形態5のプリンタについて説明する。一般的に、印字ラインごとに、通電回数を変動させると、印字ラインごとに、通電タイミングの相違が生じることから、各印字ライン間に白スジが形成される場合がある。そこで、本実施形態5では、この白スジが入らないようにするプリンタを説明する。
[Embodiment 5]
Next, a printer according to the fifth embodiment will be described. In general, when the number of energizations is changed for each print line, a difference in energization timing occurs for each print line, so white stripes may be formed between the print lines. Therefore, in the fifth embodiment, a printer that prevents the white stripes from entering will be described.

図12に、実施形態5のプリンタの処理フローを示し、図13に、本実施形態5のタイムチャートを示す。   FIG. 12 shows a processing flow of the printer of the fifth embodiment, and FIG. 13 shows a time chart of the fifth embodiment.

図13に示すように、ステップS2、ステップS4、ステップS6の処理後に、オーバーラップ部1020は、オーバーラップさせる際の重複時間tkを求める(ステップS30)。オーバーラップの重複時間tkは、通電時間thと通電時間tmに基づいて求められる。   As illustrated in FIG. 13, after the processing of step S2, step S4, and step S6, the overlap unit 1020 obtains an overlap time tk for overlapping (step S30). The overlapping overlap time tk is obtained based on the energization time th and the energization time tm.

ここで、重複時間tkとは、以下の式(4)により求める。   Here, the overlap time tk is obtained by the following equation (4).

tk=(tm−th)/LM (4)   tk = (tm−th) / LM (4)

上述の通り、式(4)中のthは、ステップS2で、通電時間算出部1014により求められる通電時間である。tmは、ステップS4で、搬送時間算出部1012により求められる搬送時間である。LMは、ステップS6で、通電回数算出部により求められる最大通電回数である。   As described above, th in equation (4) is the energization time obtained by the energization time calculation unit 1014 in step S2. tm is the transport time obtained by the transport time calculation unit 1012 in step S4. LM is the maximum number of energizations obtained by the energization number calculating unit in step S6.

また、式(4)中の分子は「tm−th」は、図13に示すように、搬送時間tmと通電時間thとの差分tdである。重複時間tkは、差分tdを最大通電回数LMで除算することで求められる。   Further, in the numerator in the formula (4), “tm−th” is a difference td between the transport time tm and the energization time th as shown in FIG. The overlap time tk is obtained by dividing the difference td by the maximum energization count LM.

次に、候補算出部1021は、求められた重複時間tkについてオーバーラップさせた状態での通電パターンの候補を算出する(ステップS32)。決定部1016は、算出された通電パターンの候補から、設定された通電回数に基づいて、通電パターンを決定する(ステップS10)。そして、オーバーラップ部1020が、各通電が重複時間tk分、オーバーラップがされるように、決定された通電パターンで、通電部1011に対して通電を行わせる(ステップS16)。図13の例では、オーバーラップ部1020は、4回の通電を通電部1011に行わせる。オーバーラップ部1020が、各通電をオーバーラップさせることで、異なる印字ライン間毎の通電タイミングの相違を緩和できる。従って、印字ラインごとに、通電回数が変動されても、白スジがライン間に形成されることなく、印字を行うことができる。   Next, the candidate calculation unit 1021 calculates energization pattern candidates in an overlapped state for the obtained overlap time tk (step S32). The determination unit 1016 determines an energization pattern from the calculated energization pattern candidates based on the set energization count (step S10). Then, the overlap unit 1020 energizes the energization unit 1011 with the determined energization pattern so that each energization is overlapped for the overlap time tk (step S16). In the example of FIG. 13, the overlap unit 1020 causes the energization unit 1011 to perform energization four times. The overlap portion 1020 overlaps each energization, so that the difference in energization timing between different print lines can be alleviated. Therefore, even if the number of energizations varies for each print line, printing can be performed without white stripes being formed between the lines.

[実施形態6]
次に、実施形態6のプリンタについて説明する。通電回数算出部1015で、算出された最大通電回数が1回の場合に、通電時間thが搬送時間tmより大きい場合がある。この場合には、設定された印字速度で印字すると、用紙に適切に印字できなくなる。実施形態6のプリンタでは、この場合であっても、印字速度を変動させることなく、印字することができる。
[Embodiment 6]
Next, a printer according to the sixth embodiment will be described. When the maximum number of energizations calculated by the energization frequency calculation unit 1015 is 1, the energization time th may be longer than the transport time tm. In this case, if printing is performed at the set printing speed, printing on the paper cannot be performed properly. Even in this case, the printer of the sixth embodiment can perform printing without changing the printing speed.

図14に実施形態6のプリンタの処理フローを示す。図14の処理フローでは、図4の処理フローのステップS4とステップS6との間に、ステップS42、ステップS44を介在させたものである。   FIG. 14 shows a processing flow of the printer of the sixth embodiment. In the processing flow of FIG. 14, steps S42 and S44 are interposed between steps S4 and S6 of the processing flow of FIG.

ステップS4の処理終了後、第2判定部1026は、通電時間thと搬送時間tmとを比較する(ステップS42)。第2判定部1026が、通電時間th>搬送時間tmと判定した場合には、ステップS44に進む。通電時間th>搬送時間tmということは、通電回数が1回ということである。   After the process of step S4 is completed, the second determination unit 1026 compares the energization time th with the transport time tm (step S42). When the second determination unit 1026 determines that energization time th> conveyance time tm, the process proceeds to step S44. Energization time th> conveyance time tm means that the energization frequency is one.

ステップS42でYesであると、通電部1011は、通電時間thを搬送時間tmとする(ステップS44)。つまり、通電時間th>搬送時間tmであることから、ステップS44では、通電時間thを搬送時間tmまで減少させることになる。そして、通電部1011は、通電時間th(=tm)で通電を行う(ステップS16)。なお、ステップS42で通電回数は1回であると判定されているため、全ての発熱体221〜224に対して、一度に通電する。   If Yes in step S42, the energization unit 1011 sets the energization time th to the conveyance time tm (step S44). That is, since energization time th> conveyance time tm, in step S44, energization time th is reduced to conveyance time tm. The energization unit 1011 energizes the energization time th (= tm) (step S16). In addition, since it determines with the energization frequency | count being 1 time in step S42, it energizes all the heat generating bodies 221-224 at once.

また、ステップS42で、th≦tmであると判定されると、ステップS8以降の処理を行う。また、図14では、ステップS44の処理後に、ステップS8に移行しているが、ステップS44の処理後は、ステップS16に移行してもよい。   If it is determined in step S42 that th ≦ tm, the processes in and after step S8 are performed. In FIG. 14, the process proceeds to step S8 after the process of step S44. However, after the process of step S44, the process may proceed to step S16.

この実施形態6のように、最大通電回数が1回であり、通電時間th>搬送時間tmであっても、通電時間thを搬送時間tmまで減少させることで、設定された印字速度を維持できる。   As in the sixth embodiment, even when the maximum energization count is 1 and the energization time th> the conveyance time tm, the set printing speed can be maintained by reducing the energization time th to the conveyance time tm. .

[実施形態7]
一般的に、印字ラインごとに、通電回数を大きく変動させると、印字品質の低下を招く場合がある。そこで、本実施形態7のプリンタでは、予め、通電回数の最大値Sを定めておく。そして、最大値Sを超えないように、通電回数を調整する。
[Embodiment 7]
Generally, if the number of energizations is greatly changed for each print line, the print quality may be deteriorated. Therefore, in the printer of the seventh embodiment, a maximum value S of energization times is determined in advance. Then, the number of energizations is adjusted so that the maximum value S is not exceeded.

図15に実施形態7のプリンタの処理フローを示す。図15の処理フローは図4の処理フローのステップS6、ステップS8との間に、ステップS50とステップS60とを介在させたものである。   FIG. 15 shows a processing flow of the printer of the seventh embodiment. The processing flow of FIG. 15 is obtained by interposing steps S50 and S60 between steps S6 and S8 of the processing flow of FIG.

予め、通電回数Lの最大値SをRAM102に記憶させておく。最大値Sは実験的に求められる。そして、ステップS6での最大通電回数LM算出処理終了後、第3判定部1027は、最大通電回数LMと最大値Sの大小を判定する。第3判定部1027が、最大通電回数LM>最大値Sであると判定すると(ステップS50のYes)、ステップS60に進む。   The maximum value S of the energization count L is stored in the RAM 102 in advance. The maximum value S is obtained experimentally. After the maximum energization count LM calculation process in step S6, the third determination unit 1027 determines whether the maximum energization count LM and the maximum value S are large or small. If the third determination unit 1027 determines that the maximum number of energizations LM> the maximum value S (Yes in step S50), the process proceeds to step S60.

そして、1ライン通電時間調整部1013は、最大通電回数LMを最大値Sとする(ステップS60)。LM>Sであることから、最大通電回数LMを最大値Sまで減少させる。そして、候補算出部1021が、ステップS8の処理である通電パターンの算出を行う。   Then, the one-line energization time adjustment unit 1013 sets the maximum energization count LM to the maximum value S (step S60). Since LM> S, the maximum energization count LM is decreased to the maximum value S. And the candidate calculation part 1021 calculates the electricity supply pattern which is a process of step S8.

また、LM≦Sの場合には、ステップS8に移動し、ステップS8以降の処理を行う。   If LM ≦ S, the process moves to step S8, and the processes after step S8 are performed.

この実施形態7のプリンタであれば、最大通電回数LMが最大値Sより大である場合には、最大通電回数LMを最大値Sとし、通電パターンの算出を行う。従って、通電回数の大きな変動を防ぐことができ、印字品質の低下を防ぐことができる。   In the printer of the seventh embodiment, when the maximum energization count LM is greater than the maximum value S, the energization pattern is calculated with the maximum energization count LM as the maximum value S. Therefore, large fluctuations in the number of energizations can be prevented, and deterioration in print quality can be prevented.

また、上述した各実施形態の構成は、可能な範囲において、組み合わせて実施してもよい。   Further, the configurations of the respective embodiments described above may be implemented in combination within a possible range.

例えば、図10のステップS20、ステップS22の処理は、図8、図12、図14のステップS10とステップS16との間に介在させてもよい。また、図14のステップS42、S44の処理は、図8、図10のステップS6とステップS8との間に介在させてもよい。また、図15のステップS50とステップS60の処理は、図8、図10のステップS6とステップS8の間に介在させてもよく、図14のステップS6とステップS42との間に介在させてもよい。   For example, the processes in steps S20 and S22 in FIG. 10 may be interposed between steps S10 and S16 in FIGS. Further, the processes in steps S42 and S44 in FIG. 14 may be interposed between steps S6 and S8 in FIGS. 15 may be interposed between step S6 and step S8 in FIGS. 8 and 10, or may be interposed between step S6 and step S42 in FIG. Good.

制御部・・・100
MCU・・・101
RAM・・・102
サーマルヘッド・・・200
シフトレジスタ・・・201
ラッチレジスタ・・・202
Control unit ... 100
MCU ... 101
RAM ... 102
Thermal head ... 200
Shift register ... 201
Latch register ... 202

Claims (14)

用紙に印字する複数の発熱体と、
前記複数の発熱体へ通電する通電部と、
設定された印字速度に基づいて、1ライン印字するために用紙を搬送するのに要する搬送時間を算出する搬送時間算出部と、
前記複数の発熱体の1つへの通電時間を算出する通電時間算出部と、
前記複数の発熱体へ通電する通電回数を調整することで、1ライン印字するために前記複数の発熱体へ通電するのに要する1ライン通電時間を調整する1ライン通電時間調整部と、を有し、
前記1ライン通電時間調整部は、
前記搬送時間及び前記通電時間から、最大通電回数を算出する通電回数算出部と、
前記最大通電回数から求められる電パターンの候補から、入力された通電回数に基づいて通電パターンを決定する決定部と、を有し、
前記通電部は、前記決定部により決定された通電パターンに基づいて、前記複数の発熱体へ通電する
ことを特徴とする印字装置。
A plurality of heating elements for printing on paper;
An energization section for energizing the plurality of heating elements;
A transport time calculating unit that calculates a transport time required to transport a sheet to perform one-line printing based on the set print speed;
An energization time calculation unit that calculates an energization time to one of the plurality of heating elements;
A one-line energization time adjustment unit that adjusts one-line energization time required to energize the plurality of heating elements in order to print one line by adjusting the number of energizations to energize the plurality of heating elements. And
The one-line energization time adjustment unit is
Energizing frequency calculation unit that calculates the transfer time and the current time or during et al, the maximum number of times of energization,
Wherein the maximum from the energization times of the determined Me is passing radio-turn candidates, anda determination unit that determines the energization pattern on the basis of the current number entered,
The energizing unit, based on the energization pattern determined by the determination unit, Printout device you characterized by energizing the plurality of heating elements.
用紙に印字する複数の発熱体と、
前記複数の発熱体へ通電する通電部と、
設定された印字速度に基づいて、1ライン印字するために用紙を搬送するのに要する搬送時間を算出する搬送時間算出部と、
前記複数の発熱体の1つへの通電時間を算出する通電時間算出部と、
前記複数の発熱体へ通電する通電回数を調整することで、1ライン印字するために前記複数の発熱体へ通電するのに要する1ライン通電時間を調整する1ライン通電時間調整部と、
印字データを記憶するシフトレジスタ部と、
前記シフトレジスタ部へ前記印字データを転送する転送部と、有し、
前記1ライン通電時間調整部は、
前記シフトレジスタ部へ前記印字データを転送するのに要する転送時間、前記搬送時間、及び前記通電時間から、最大通電回数を算出する通電回数算出部と、
前記最大通電回数から求められる電パターンの候補から、入力された通電回数に基づいて通電パターンを決定する決定部と、を有し、
前記通電部は、前記決定部により決定された通電パターンに基づいて、前記複数の発熱体へ通電する
ことを特徴とする印字装置。
A plurality of heating elements for printing on paper;
An energization section for energizing the plurality of heating elements;
A transport time calculating unit that calculates a transport time required to transport a sheet to perform one-line printing based on the set print speed;
An energization time calculation unit that calculates an energization time to one of the plurality of heating elements;
A one-line energization time adjustment unit that adjusts the one-line energization time required to energize the plurality of heating elements to perform one-line printing by adjusting the number of energizations to energize the plurality of heating elements;
A shift register for storing print data;
A transfer unit that transfers the print data to the shift register unit;
The one-line energization time adjustment unit is
And during said time transfer to the shift register unit takes to transfer the print data, while during the transport, and the energization time or during et al, energizing frequency calculation unit for calculating a maximum number of times of energization,
Wherein the maximum from the energization times of the determined Me is passing radio-turn candidates, anda determination unit that determines the energization pattern on the basis of the current number entered,
The energizing unit, based on the energization pattern determined by the determination unit, Printout device you characterized by energizing the plurality of heating elements.
前記1ライン通電時間調整部は、
前記複数の発熱体の発色ドット数に応じて、前記通電時間算出部により算出された前記通電時間を調整する通電時間調整部を有することを特徴とする請求項1又は2に記載の印字装置。
The one-line energization time adjustment unit is
In response to said color number of dots of a plurality of heating elements, printing apparatus according to claim 1 or 2, characterized in that it has a conduction time adjuster for adjusting the energizing the energization time calculated by the time calculation unit.
記1ライン通電時間調整部は、
前記複数の発熱体へのそれぞれの通電を、オーバーラップさせるオーバーラップ部を有することを特徴とする請求項1〜何れか1項に記載の印字装置。
Before Symbol 1 line energization time adjustment unit,
Wherein each of the power supply to the plurality of heating elements, printing apparatus according to claim 1 to 3 any one characterized by having an overlap portion to overlap.
前記オーバーラップの重複時間は、前記通電時間及び前記搬送時間に基づいて定められることを特徴とする請求項記載の印字装置。 The printing apparatus according to claim 4 , wherein the overlap time of the overlap is determined based on the energization time and the transport time. 前記1ライン通電時間調整部は、前記通電時間が、前記搬送時間より大きい場合には、該通電時間を該搬送時間にして、前記通電部に前記複数の発熱体へ通電させることを特徴とする請求項1〜何れかに1項に記載の印字装置。 The one-line energization time adjustment unit, when the energization time is greater than the transport time, causes the energization unit to energize the plurality of heating elements using the energization time as the transport time. The printing apparatus according to any one of claims 1 to 5 . 予め定められた前記通電回数の最大値を記憶する記憶部を有し、
前記1ライン通電時間調整部は、前記通電回数が前記最大値を超えないように前記通電回数を調整することを特徴とする請求項1〜6何れか1項に記載の印字装置。
A storage unit that stores a predetermined maximum number of energization times;
The one-line energization time adjustment unit, the printing apparatus according to any one of claims 1 to 6, characterized in that the number of times of energization is to adjust the number of times of energization so as not to exceed the maximum value.
用紙に印字する複数の発熱体を含む印字装置を用いた印字方法において、
前記複数の発熱体へ通電する通電工程と、
設定された印字速度に基づいて、1ライン印字するために用紙を搬送するのに要する搬送時間を算出する搬送時間算出工程と、
前記複数の発熱体の1つへの通電時間を算出する通電時間算出工程と、
前記複数の発熱体へ通電する通電回数を調整することで、1ライン印字するために前記複数の発熱体へ通電するのに要する1ライン通電時間を調整する1ライン通電時間調整工程と、を有し、
前記1ライン通電時間調整工程は、
前記搬送時間及び前記通電時間から、最大通電回数を算出する通電回数算出工程と、
前記最大通電回数から求められる電パターンの候補から、入力された通電回数に基づいて通電パターンを決定する決定工程と、を有し、
前記通電工程は、前記決定工程により決定された通電パターンに基づいて、前記複数の発熱体へ通電する
ことを特徴とする印字方法。
In a printing method using a printing apparatus including a plurality of heating elements for printing on paper,
An energization step of energizing the plurality of heating elements;
A transport time calculating step for calculating a transport time required for transporting the sheet to perform one-line printing based on the set print speed;
An energization time calculating step of calculating an energization time to one of the plurality of heating elements;
A one-line energization time adjustment step for adjusting a one-line energization time required for energizing the plurality of heating elements to perform one-line printing by adjusting the number of energizations to energize the plurality of heating elements. And
The one-line energization time adjustment step includes:
The transfer time and the current time or during et al, energizing number calculation step of calculating the maximum number of times of energization,
Wherein the maximum from the energization times of the determined Me is passing radio-turn candidates, anda determination step of determining the energization pattern on the basis of the current number entered,
The energizing step, based on the energization pattern determined by the determining step, Printout how to, characterized in that energizing the plurality of heating elements.
用紙に印字する複数の発熱体及び印字データを記憶するシフトレジスタ部を含む印字装置を用いた印字方法において、
前記複数の発熱体へ通電する通電工程と、
設定された印字速度に基づいて、1ライン印字するために用紙を搬送するのに要する搬送時間を算出する搬送時間算出工程と、
前記複数の発熱体の1つへの通電時間を算出する通電時間算出工程と、
前記複数の発熱体へ通電する通電回数を調整することで、1ライン印字するために前記複数の発熱体へ通電するのに要する1ライン通電時間を調整する1ライン通電時間調整工程と、を有し、
前記1ライン通電時間調整工程は、
前記シフトレジスタ部へ前記印字データを転送する転送工程と、
前記シフトレジスタ部へ前記印字データを転送するのに要する転送時間、前記搬送時間、及び前記通電時間から、最大通電回数を算出する通電回数算出工程と、
前記最大通電回数から求められる通電パターンの候補から、入力された通電回数に基づいて通電パターンを決定する決定工程と、を有し、
前記通電工程は、前記決定工程により決定された通電パターンに基づいて、前記複数の発熱体へ通電する
ことを特徴とする印字方法。
In a printing method using a printing device including a plurality of heating elements to be printed on paper and a shift register unit for storing printing data,
An energization step of energizing the plurality of heating elements;
A transport time calculating step for calculating a transport time required for transporting the sheet to perform one-line printing based on the set print speed;
An energization time calculating step of calculating an energization time to one of the plurality of heating elements;
A one-line energization time adjustment step for adjusting a one-line energization time required for energizing the plurality of heating elements to perform one-line printing by adjusting the number of energizations to energize the plurality of heating elements. And
The one-line energization time adjustment step includes:
A transfer step of transferring the indicia didecyl over data to the shift register unit,
During the time of transfer required to transfer the indicia didecyl over data to the shift register unit, while during the transport, and the energization time or during et al, energizing number calculation step of calculating the maximum number of times of energization,
Wherein the maximum from the energization times of energization patterns demanded Me candidates, anda determination step of determining the energization pattern on the basis of the current number entered,
The energizing process is based on the energization pattern determined by said determining step, Printout how to, characterized in that energizing the plurality of heating elements.
前記1ライン通電時間調整工程は、
前記複数の発熱体の発色ドット数に応じて、前記通電時間算出工程により算出された前記通電時間を調整する通電時間調整工程を有することを特徴とする請求項8又は9に記載の印字方法。
The one-line energization time adjustment step includes:
10. The printing method according to claim 8 , further comprising an energization time adjustment step of adjusting the energization time calculated by the energization time calculation step according to the number of colored dots of the plurality of heating elements.
記1ライン通電時間調整工程は、
前記複数の発熱体へのそれぞれの通電を、オーバーラップさせるオーバーラップ工程を有することを特徴とする請求項8〜10何れか1項に記載の印字方法。
Before Symbol 1 line energization time adjustment process,
The printing method according to claim 8 , further comprising an overlapping step of overlapping the energization of the plurality of heating elements.
前記オーバーラップの重複時間は、前記通電時間及び前記搬送時間に基づいて定められることを特徴とする請求項1記載の印字方法。 The overlap overlap time of the method of printing according to claim 1 1, wherein the determined based on the energization time and the transfer time. 前記1ライン通電時間調整工程は、前記通電時間が、前記搬送時間より大きい場合には、該通電時間を該搬送時間にして、前記通電工程に前記複数の発熱体へ通電させることを特徴とする請求項8〜12何れかに1項に記載の印字方法。 In the one-line energization time adjustment step, when the energization time is longer than the transport time, the energization time is set as the transport time, and the energization step is energized to the plurality of heating elements. The printing method according to any one of claims 8 to 12 . 前記1ライン通電時間調整工程は、前記通電回数が、予め定められた最大値を超えないように前記通電回数を調整することを特徴とする請求項8〜13何れか1項に記載の印字方法。 The printing method according to any one of claims 8 to 13, wherein in the one-line energization time adjustment step, the energization count is adjusted so that the energization count does not exceed a predetermined maximum value. .
JP2011000162A 2011-01-04 2011-01-04 Printing device and printing method Expired - Fee Related JP5693244B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011000162A JP5693244B2 (en) 2011-01-04 2011-01-04 Printing device and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011000162A JP5693244B2 (en) 2011-01-04 2011-01-04 Printing device and printing method

Publications (2)

Publication Number Publication Date
JP2012139941A JP2012139941A (en) 2012-07-26
JP5693244B2 true JP5693244B2 (en) 2015-04-01

Family

ID=46676719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011000162A Expired - Fee Related JP5693244B2 (en) 2011-01-04 2011-01-04 Printing device and printing method

Country Status (1)

Country Link
JP (1) JP5693244B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2592170B2 (en) * 1990-05-31 1997-03-19 三菱電機株式会社 Image recording device
JPH04357051A (en) * 1991-06-04 1992-12-10 Canon Inc Recording method and device
JP2836662B2 (en) * 1992-08-12 1998-12-14 松下電送システム株式会社 Recording device
JPH06286196A (en) * 1993-03-30 1994-10-11 Tokyo Electric Co Ltd Thermal line printer

Also Published As

Publication number Publication date
JP2012139941A (en) 2012-07-26

Similar Documents

Publication Publication Date Title
JP6806844B2 (en) Image forming apparatus and its control method, and program
JP4841616B2 (en) Thermal printer
US20120213540A1 (en) Image Forming Apparatus, Method, Software Program, And Carrier Medium
CN103722907A (en) Printer, control method for printer and device
JP2010162810A (en) Line printer, thermal printer, element number detecting method for thermal head, and element arrangement density deciding method for thermal head
JP5778918B2 (en) Bar code printer
JP5693244B2 (en) Printing device and printing method
EP2623326A1 (en) Printer
WO2014094560A1 (en) Printer control method and printer
US20080266585A1 (en) Printing apparatus and control method thereof
JP5482349B2 (en) Image forming apparatus, image forming system, fixing control method, program, and recording medium
US20250083456A1 (en) Thermal printer and control method thereof
JP2008030253A (en) Printing device
JP2014166724A (en) Thermal printer
EP4292826B1 (en) Printer, printing control method, and storage medium
JP2016198955A (en) Thermal printer
JP5699513B2 (en) Printing device
EP4353484B1 (en) Printer, printing method for printer, and program
JP5579806B2 (en) Printing device and program
JP5648031B2 (en) Printing device and control program
US20200039237A1 (en) Thermal printer and computer-readable storage medium
JP4079958B2 (en) Thermal history control device, operation method thereof, and thermal printer
JP6874347B2 (en) Printing equipment
JP4282647B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND THERMAL PRINTER
JP6904728B2 (en) Head drive, thermal printer, and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140916

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141110

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150203

R150 Certificate of patent or registration of utility model

Ref document number: 5693244

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees