JP2008279684A - Printer, control method of printer, and control program of printer - Google Patents
Printer, control method of printer, and control program of printer Download PDFInfo
- Publication number
- JP2008279684A JP2008279684A JP2007126663A JP2007126663A JP2008279684A JP 2008279684 A JP2008279684 A JP 2008279684A JP 2007126663 A JP2007126663 A JP 2007126663A JP 2007126663 A JP2007126663 A JP 2007126663A JP 2008279684 A JP2008279684 A JP 2008279684A
- Authority
- JP
- Japan
- Prior art keywords
- data
- clock
- thermal head
- printer
- heating resistor
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、昇華型プリンタ(単に、「昇華プリンタ」ともいう)に関し、特に、サーマルヘッドと、サーマルヘッド制御部と、それらの配線により生じる放射ノイズの影響を低減することができる、プリンタ、および該プリンタの制御方法、プリンタの制御プログラムに関する。 The present invention relates to a sublimation type printer (also simply referred to as “sublimation printer”), and in particular, a printer capable of reducing the influence of radiation noise generated by a thermal head, a thermal head control unit, and wiring thereof, and The present invention relates to a printer control method and a printer control program.
昇華プリンタは、染料または顔料が塗布されたインクリボンにサーマルヘッドを押し当て、サーマルヘッドの加熱により、インクリボンの染料または顔料を紙などの記録媒体に転写させ画像を形成するものであり、写真印刷の用途などで使用されている。 A dye sublimation printer presses a thermal head against an ink ribbon coated with a dye or pigment and heats the thermal head to transfer the ink ribbon dye or pigment onto a recording medium such as paper to form an image. It is used for printing purposes.
図9は、従来のプリンタの構成例を示す図であり、特に、サーマルヘッドの駆動回路の例を示した図である。図9において、主制御部111は、CPU(Central Processing Unit)等を含み、プリンタ101の全体を統括制御する。入力バッファ112は、外部のホストコンピュータ(PC(Personal Computer)等)102からプリント対象となる画像を、YMC(イエロー(Y)、マゼンタ(M)、シアン(C))等の入力画像データにより受信し記憶する。プリント用画像データ生成部113は、外部から受信したYMC入力画像データを、インクリボンに対応したプリント用画像データに変換する。
FIG. 9 is a diagram illustrating a configuration example of a conventional printer, and more particularly, a diagram illustrating an example of a driving circuit for a thermal head. In FIG. 9, a
また、サーマルヘッド駆動データ生成部114は、プリント用画像データ生成部113からプリント対象画像の画像データを受信し、該画像データを基に発熱抵抗体R1〜Rnをオン・オフ駆動するためのオン・オフデータを生成し、サーマルヘッド140に出力する。
The thermal head drive data generation unit 114 receives the image data of the image to be printed from the print image
サーマルヘッド制御部115は、サーマルヘッド140を加熱制御するための、ストローブ信号(STROBE)、ラッチ信号(LATCH)、データクロック信号(CLOCK)を生成する。
The
また、サーマルヘッド140内のR1〜Rnはn個並列接続された発熱抵抗体であり、Tr1〜Trnは、発熱抵抗体を駆動するドライバー用のトランジスタである。また、G1〜GnはANDゲートである。シフトレジスタ141は、サーマルヘッド駆動データ生成部114から送られるシリアルデータ(DATA)を、データクロック信号(CLOCK)により順次取り込み、シリアルデータをパラレルデータに変換し各発熱抵抗体R1〜Rnに対応した位置にオン・オフデータを保持するものである。
In addition, R1 to Rn in the
ラッチ用フリップフロップ142は、シフトレジスタ141に保持されたデータ(各発熱抵抗体に対応したオン・オフデータ)を、ラッチ信号(LATCH)により取り込み保持する。ラッチ用フリップフロップ142に保持されたデータは、ANDゲートG1〜Gnの一方の入力端子に向けて出力される。また、ANDゲートG1〜Gnの他方の入力端子には、ストローブ信号(STROBE)が入力される。 The latch flip-flop 142 captures and holds the data held in the shift register 141 (on / off data corresponding to each heating resistor) by a latch signal (LATCH). The data held in the latch flip-flop 142 is output toward one input terminal of the AND gates G1 to Gn. A strobe signal (STROBE) is input to the other input terminals of the AND gates G1 to Gn.
図9に示す従来のプリンタでは、ホストコンピュータ102からのYMC(イエロー(Y)、マゼンタ(M)、シアン(C))等の画像データは、主制御部111の管理の基に取り込まれ、入力バッファ112に一旦保存される。そして、入力バッファ112から1水平ライン分の画像データが読み出され、プリント用画像データ生成部113に送られる。プリント用画像データ生成部113により、インクリボンに対応したプリント用画像データが生成される。
In the conventional printer shown in FIG. 9, image data such as YMC (yellow (Y), magenta (M), cyan (C)) from the
プリント用画像データ生成部113からの1水平ライン分の画像データは、サーマルヘッド駆動データ生成部114に送られる。サーマルヘッド駆動データ生成部114で、オン・オフデータが形成される。
Image data for one horizontal line from the print image
すなわち、各発熱抵抗体R1〜Rnの通電時間を一定とした場合、発熱抵抗体R1〜Rnの発熱量は、通電回数により階調を制御できる。したがって、例えば画像データが10ビットであれば、1023回、発熱抵抗体R1〜Rnを繰り返して通電することで、10ビットの階調が表現できる。 That is, when the energization time of each of the heating resistors R1 to Rn is constant, the amount of heat generated by the heating resistors R1 to Rn can be controlled by the number of energizations. Therefore, for example, if the image data is 10 bits, a 10-bit gradation can be expressed by energizing the heating resistors R1 to Rn repeatedly 1023 times.
サーマルヘッド駆動データ生成部114からのオン・オフデータは、シフトレジスタ141に送られ、シフトレジスタ141でシリアル・パラレル変換されて、シフトレジスタ141に展開される。ラッチ信号(LATCH)がローレベルになるタイミングで、このオン・オフデータがラッチ用フリップフロップ142に取り込まれる。そして、ストローブ信号(STROBE)がローレベルになる。このストローブ信号(STROBE)がローレベルになると、ラッチ用フリップフロップ142の出力信号がトランジスタTr1〜Trnのベース入力信号となる。これにより、ラッチ用フリップフロップ142の出力端子のうち、出力データ「1」の端子に(ANDゲートを介して)接続されるトランジスタTr1〜Trnがオンし、該トランジスタTr1〜Trnに接続された発熱抵抗体R1〜Rnが電源V+により駆動される。これにより、ストローブ信号(STROBE)がローレベルの間を発熱期間として、オン・オフデータに応じて、発熱抵抗体R1〜Rnが発熱される。 On / off data from the thermal head drive data generation unit 114 is sent to the shift register 141, serial-parallel converted by the shift register 141, and developed in the shift register 141. This on / off data is taken into the latch flip-flop 142 at the timing when the latch signal (LATCH) becomes low level. Then, the strobe signal (STROBE) becomes low level. When this strobe signal (STROBE) becomes low level, the output signal of the latch flip-flop 142 becomes the base input signal of the transistors Tr1 to Trn. As a result, the transistors Tr1 to Trn connected to the output data “1” terminal (via the AND gate) among the output terminals of the latch flip-flop 142 are turned on, and the heat generated from the transistors Tr1 to Trn is connected. Resistors R1 to Rn are driven by a power supply V +. As a result, the heating resistors R1 to Rn are heated according to the on / off data while the strobe signal (STROBE) is in the low level as a heat generation period.
上述のように、1023回の通電処理を繰り返すと、1水平ラインのプリント処理が完了したことになる。1水平ラインのプリント処理が完了したら、1ドット用紙が送られ、上述と同様にした、次の水平ラインのプリント処理が行われる。YMCの各色について、上述の処理が行われて、1画面分のカラー画像のプリントが完了する。 As described above, when the energization process is repeated 1023 times, the printing process for one horizontal line is completed. When the printing process for one horizontal line is completed, 1-dot paper is sent, and the printing process for the next horizontal line is performed in the same manner as described above. The above-described processing is performed for each color of YMC, and printing of a color image for one screen is completed.
なお、階調の制御には、例えば、特許文献1に示されるように、パルス幅変調またはパルス数変調により、画像データ応じたパルス幅またはパルス数を持つパルスを発生し、このパルスを用いて個々の発熱抵抗体への発熱制御を行うようにしたものも知られている。
上述の従来のプリンタでは、サーマルヘッド140のユニットは、印字部の近傍に置かれる。このため、図10に示すように、サーマルヘッド140とサーマルヘッド制御部115との間は、長い配線で引き回される。この配線からは、放射ノイズが発生する。データクロック信号(CLOCK)の周波数が一定の場合には、この放射ノイズは、データクロック信号(CLOCK)の整数倍に集中し、ノイズのエネルギーが特定周波数に集中することから、そのレベルも大きくなる。
In the conventional printer described above, the unit of the
本発明は上記問題点を解決するためになされたものであり、その目的は、サーマルヘッドと、サーマルヘッド制御部と、それらの配線により生じる放射ノイズの影響を低減することができる、プリンタ、プリンの制御方法、プリンタの制御プログラムを提供することにある。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a printer, a printer, and a printer that can reduce the influence of radiation noise generated by a thermal head, a thermal head control unit, and their wiring. And a printer control program.
上述の課題を解決するために、本発明に係るプリンタは、発熱抵抗体を主走査方向にライン配列したサーマルヘッドを用いて印刷を行うプリンタであって、システムクロックに基づいて所定の単位周波数のクロックを生成し、前記単位周波数のクロックから互いに異なる周波数の複数のクロックを生成し、周波数の異なる複数のクロックを順次選択して、複数の周波数に変化するデータクロック信号を生成するデータクロック周波数制御手段と、入力画像データに基づいてサーマルヘッドの各発熱抵抗体のオン・オフデータを生成するサーマルヘッド駆動データ生成手段と、サーマルヘッド駆動データ生成手段により生成された各発熱抵抗体のオン・オフデータを受信し、データクロック信号により、オン・オフデータを各発熱抵抗体に対応した位置に転送するシフトレジスタ手段と、シフトレジスタ手段に保持されたオン・オフデータを取り込むラッチ手段と、ラッチ手段に取り込まれたオン・オフデータにより発熱抵抗体を所定の単位時間通電する発熱抵抗体駆動手段とを備えるようにしたことを特徴とする。 In order to solve the above-described problems, a printer according to the present invention is a printer that performs printing using a thermal head in which heating resistors are lined in the main scanning direction, and has a predetermined unit frequency based on a system clock. Data clock frequency control that generates a clock, generates a plurality of clocks having different frequencies from the clock of the unit frequency, and sequentially selects a plurality of clocks having different frequencies to generate a data clock signal that changes to a plurality of frequencies. Means, thermal head drive data generating means for generating on / off data of each heating resistor of the thermal head based on input image data, and on / off of each heating resistor generated by the thermal head drive data generating means Data is received, and on / off data is supported for each heating resistor by data clock signal Shift register means for transferring to a predetermined position, latch means for taking on / off data held in the shift register means, and heating resistor for energizing the heating resistor for a predetermined unit time by the on / off data fetched by the latch means It is characterized by comprising body driving means.
上記の発明において、データクロック周波数制御手段は、1ストローブ期間内で複数の周波数に変化するように、周波数の異なる複数のクロックを順次選択するようにしたことを特徴とする。 In the above invention, the data clock frequency control means sequentially selects a plurality of clocks having different frequencies so as to change to a plurality of frequencies within one strobe period.
上記の発明において、データクロック周波数制御手段は、システムクロックを逓倍して所定の単位周波数のクロックを生成する手段と、システムクロックを逓倍して生成した所定の単位周波数のクロックを分周して複数の周波数のクロックを生成する複数の分周器と、複数の分周器から出力される複数の周波数のクロックを順次選択するセレクタとを備えるようにしたことを特徴とする。 In the above invention, the data clock frequency control means includes a means for multiplying the system clock to generate a clock of a predetermined unit frequency, and a plurality of clocks by dividing the clock of the predetermined unit frequency generated by multiplying the system clock. A plurality of frequency dividers for generating clocks of a plurality of frequencies, and a selector for sequentially selecting clocks of a plurality of frequencies output from the plurality of frequency dividers.
本発明に係るプリンタの制御方法は、発熱抵抗体を主走査方向にライン配列したサーマルヘッドを用いて印刷を行うプリンタの制御方法であって、システムクロックに基づいて周波数の異なる複数のクロックを生成し、周波数の異なる複数のクロックを順次選択して、複数の周波数に変化するデータクロック信号を生成し、入力画像データに基づいてサーマルヘッドの各発熱抵抗体のオン・オフデータを生成し、生成された各発熱抵抗体のオン・オフデータを、データクロック信号によりシフトレジスタ手段の各発熱抵抗体に対応した位置に転送し、シフトレジスタ手段に保持されたオン・オフデータをラッチ手段に取り込み、ラッチ手段に取り込まれたオン・オフデータにより発熱抵抗体を所定の単位時間通電するようにしたことを特徴とする。 A printer control method according to the present invention is a printer control method that performs printing using a thermal head in which heating resistors are lined in the main scanning direction, and generates a plurality of clocks having different frequencies based on a system clock. Then, a plurality of clocks with different frequencies are sequentially selected to generate a data clock signal that changes to a plurality of frequencies, and on / off data of each heating resistor of the thermal head is generated and generated based on the input image data. The ON / OFF data of each heating resistor is transferred to a position corresponding to each heating resistor of the shift register means by a data clock signal, and the ON / OFF data held in the shift register means is taken into the latch means, The heating resistor is energized for a predetermined unit time based on the on / off data captured in the latch means. That.
本発明に係るプリンタの制御プログラムは、発熱抵抗体を主走査方向にライン配列したサーマルヘッドを用いて印刷を行うプリンタの制御プログラムであって、システムクロックに基づいて周波数の異なる複数のクロックを生成し、周波数の異なる複数のクロックを順次選択して、複数の周波数に変化するデータクロック信号を生成するステップと、入力画像データに基づいてサーマルヘッドの各発熱抵抗体のオン・オフデータを生成し、生成された各発熱抵抗体のオン・オフデータを、データクロック信号によりシフトレジスタ手段の各発熱抵抗体に対応した位置に転送するステップと、シフトレジスタに保持されたオン・オフデータをラッチ手段に取り込み、ラッチ手段に取り込まれたオン・オフデータにより発熱抵抗体を所定の単位時間通電するステップとを含むようにしたことを特徴とする。 A printer control program according to the present invention is a printer control program that performs printing using a thermal head in which heating resistors are lined in the main scanning direction, and generates a plurality of clocks having different frequencies based on a system clock. Then, a plurality of clocks having different frequencies are sequentially selected to generate a data clock signal that changes to a plurality of frequencies, and on / off data of each heating resistor of the thermal head is generated based on the input image data. Transferring the generated on / off data of each heating resistor to a position corresponding to each heating resistor of the shift register means by a data clock signal; and latching the on / off data held in the shift register And the heating resistor is set to the specified unit time by the ON / OFF data stored in the latch means. It characterized in that it has to include a step of energizing.
本発明によれば、システムクロックに基づいて周波数の異なる複数のクロックを生成し、周波数の異なる複数のクロックを順次選択して、複数の周波数に変化するデータクロック信号を生成している。このため、データクロック信号により発生する放射ノイズが、特定の周波数(データクロック周波数の倍数の周波数)の位置で連続して発生することがなくなり、放射ノイズの周波数が分散され、サーマルヘッドと、サーマルヘッド制御部と、それらの配線により生じる放射ノイズの影響を低減することができる。 According to the present invention, a plurality of clocks having different frequencies are generated based on the system clock, and a plurality of clocks having different frequencies are sequentially selected to generate a data clock signal that changes to a plurality of frequencies. For this reason, the radiation noise generated by the data clock signal is not continuously generated at a specific frequency (a multiple of the data clock frequency), the frequency of the radiation noise is dispersed, and the thermal head and thermal It is possible to reduce the influence of radiation noise generated by the head controller and their wiring.
以下、本発明の実施の形態について図面を参照しながら説明する。図1は、本発明の実施の形態のプリンタ1の構成例を示す図であり、特に、サーマルヘッドの駆動回路の例を示した図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of a
図1において、主制御部11は、CPU等を含み、入力バッファ12、プリント用画像データ生成部13、サーマルヘッド駆動データ生成部14、サーマルヘッド制御部15、データクロックジェネレータ16等に接続され、プリンタ1の全体を統括制御する。
In FIG. 1, a
入力バッファ12は、外部のホストコンピュータ(PC等)2からプリント対象となる画像を、YMC(イエロー(Y)、マゼンタ(M)、シアン(C))等の入力画像データにより受信し記憶する。
The
プリント用画像データ生成部13は、外部から受信したYMC入力画像データを、インクリボンに対応したプリント用画像データに変換する。
The print image
サーマルヘッド駆動データ生成部14は、プリント用画像データ生成部13からプリント対象画像の画像データを受信し、該画像データを基にサーマルヘッド40の発熱抵抗体R1〜Rnをオン・オフ駆動するためのオン・オフデータ(DATA)を生成し、サーマルヘッド40に出力する。本発明の実施形態においては、一例として、図2に示すように、画像データは10ビットとされており、この10ビットの画像データ(b0〜b9)を、下位3ビット(b0〜b3)と、上位7ビット(b3〜b9)とに分けて、オン・オフデータを形成している。
The thermal head drive
図1において、サーマルヘッド40は、シフトレジスタ41と、ラッチ用フリップフロップ42と、発熱抵抗体R1〜Rnと、ANDゲートG1〜Gnと、トランジスタTr1〜Trnとを含み、サーマルヘッド駆動データ生成部14から出力されるオン・オフデータに応じて、発熱抵抗R1〜Rnを発熱させる。
In FIG. 1, a thermal head 40 includes a
サーマルヘッド制御部15は、データクロックジェネレータ16からのクロックを用いて、サーマルヘッド40を加熱制御するための、ストローブ信号(STROBE)、ラッチ信号(LATCH)、データクロック信号(CLOCK)を生成する。
The thermal
データクロックジェネレータ16は、サーマルヘッド制御部15に対するクロックを生成している。本発明の実施形態において、データクロックジェネレータ16は、複数クロック周波数制御部17を備えており、この複数周波クロック周波数制御部17は、システムクロックに基づいて周波数の異なる複数のクロックを生成し、この周波数の異なる複数のクロックを順次選択して、複数の周波数に変化するデータクロック信号(CLOCK)を生成する。
The
ストローブ信号(STROBE)は、サーマルヘッド40の発熱抵抗体R1〜Rnの通電時間を設定するものであり、サーマルヘッド制御部15は、上位ビットの処理を行うときと、下位ビットの処理とを行うときとで、ストローブ信号(STROBE)のパルス幅を変えるようにしている。
The strobe signal (STROBE) sets the energization time of the heating resistors R1 to Rn of the thermal head 40, and the thermal
サーマルヘッド駆動データ生成部14からの1水平ラインのオン・オフデータ(DATA)は、サーマルヘッド40のシフトレジスタ41に送られる。このオン・オフデータ(DATA)は、データクロック信号(CLOCK)により、シフトレジスタ41を転送され、シフトレジスタ41には、1水平ライン分のオン・オフデータが各発熱抵抗体R1〜Rnに対応する位置に展開される。サーマルヘッド制御部15からのラッチ信号(LATCH)により、1水平ラインのオン・オフデータがシフトレジスタ41からラッチ用フリップフロップ42に取り込まれる。
On / off data (DATA) of one horizontal line from the thermal head drive
ラッチ用フリップフロップ42に保持されたデータは、ANDゲートG1〜Gnの一方の入力端子に向けて出力され、また、ANDゲートG1〜Gnの他方の入力端子には、ストローブ信号(STROBE)が入力される。
The data held in the latch flip-
前述したように、ストローブ信号(STROBE)は、発熱抵抗体R1〜Rnへの通電時間を設定するものである。ストローブ信号(STROBE)がローレベルの間では、ANDゲートG1〜Gnが開き、ラッチ用フリップフロップ42に保持されたオン・オフデータがANDゲートG1〜Gnを介して、トランジスタTr1〜Trnのベースに送られる。このとき、オン・オフデータが「1」なら、トランジスタTr1〜Trnがオンになり、トランジスタTr1〜Trnに接続された発熱抵抗体R1〜Rnが電源V+により駆動され、発熱抵抗体R1〜Rnが発熱する。オン・オフデータが「0」なら、トランジスタTr1〜Trnがオフになるため、発熱抵抗体R1〜Rnは発熱しない。ストローブ信号(STROBE)がハイレベルになると、ANDゲートG1〜Gnが閉じ、トランジスタTr1〜Trnがオフとなる。したがって、発熱抵抗体R1〜Rnは、ストローブ信号(STROBE)がローレベルの期間、ラッチ用フリップフロップ42に取り込まれたオン・オフデータがハイレベルかローレベルかに応じて駆動される。
As described above, the strobe signal (STROBE) sets the energization time to the heating resistors R1 to Rn. While the strobe signal (STROBE) is at the low level, the AND gates G1 to Gn are opened, and the ON / OFF data held in the latch flip-
次に、本発明の実施の形態の動作について説明する。図1において、ホストコンピュータ2からのYMC(イエロー(Y)、マゼンタ(M)、シアン(C))等の画像データは、主制御部11の管理の基に取り込まれ、入力バッファ12に一旦保存される。そして、入力バッファ12から1水平ライン分の画像データが読み出され、プリント用画像データ生成部13に送られる。プリント用画像データ生成部13により、インクリボンに対応したプリント用画像データが生成される。
Next, the operation of the embodiment of the present invention will be described. In FIG. 1, image data such as YMC (yellow (Y), magenta (M), cyan (C)) from the
プリント用画像データ生成部13からの1水平ライン分の画像データは、サーマルヘッド駆動データ生成部14に送られる。サーマルヘッド駆動データ生成部14で、オン・オフデータが形成される。このとき、各画像データから、下位ビットと上位ビットとに分けて、オン・オフデータが形成される。
Image data for one horizontal line from the print image
すなわち、各発熱抵抗体R1〜Rnの通電時間を一定とした場合、発熱抵抗体R1〜Rnの発熱量は、通電回数により階調を制御できる。しかしながら、この場合、10ビットの1024階調の処理を行うのに、(210−1=1023回)、発熱抵抗体R1〜Rnを繰り返して通電する処理が必要になる。 That is, when the energization time of each of the heating resistors R1 to Rn is constant, the amount of heat generated by the heating resistors R1 to Rn can be controlled by the number of energizations. However, in this case, in order to perform the 10-bit 1024 gradation processing (2 10 −1 = 1023 times), it is necessary to repeatedly energize the heating resistors R1 to Rn.
そこで、本発明の実施の形態では、図2に示したように、10ビットの画像データを、下位3ビットと、上位7ビットとに分けて、発熱抵抗体R1〜Rnを通電する処理を行うようにしている。このようにすると、同一の階調を表現するのに要する通電回数が減らせる。 Therefore, in the embodiment of the present invention, as shown in FIG. 2, the 10-bit image data is divided into the lower 3 bits and the upper 7 bits, and the process of energizing the heating resistors R1 to Rn is performed. I am doing so. In this way, the number of energizations required to express the same gradation can be reduced.
つまり、10ビットの画像データ(b0,b1,…,b9)を、下位3ビット(b0,b1,b2)と上位7ビット(b3,b4,…,b9)とに分けたとする。この場合、上位側の最下位となるビットb3が「1」になるのは、23(=8)階調目に当たる。したがって、上位7ビットでは、23階調毎に、階調を変化させる必要がある。 That is, assume that 10-bit image data (b0, b1,..., B9) is divided into lower 3 bits (b0, b1, b2) and upper 7 bits (b3, b4,..., B9). In this case, the least significant bit b3 on the upper side is “1”, which corresponds to the 2 3 (= 8) gradation. Therefore, in the upper 7 bits, it is necessary to change the gradation every 2 3 gradations.
そこで、下位3ビットの処理を行うときには、通電時間をTlsに設定し、上位7ビットの処理を行うときには、通電時間Tusを、通電時間をTlsの23倍の(Tus=23×Tls)に設定する。
Therefore, when performing low-
なお、ここでは、10ビットの画像データを下位3ビットと上位7ビットとに分けているが、一般的に、mビットの画像データを、下位nビット、上位(m−n)ビットに分けたときには、Tus=2n×Tlsの関係になるように、通電時間を設定すれば良い。 Here, 10-bit image data is divided into lower 3 bits and upper 7 bits, but in general, m-bit image data is divided into lower n bits and upper (mn) bits. In some cases, the energization time may be set so that Tus = 2 n × Tls.
図3は、10ビットの画像データを、上位7ビットと、下位3ビットとに分けた場合の、下位ビット処理でのオン・オフデータ、及び上位ビット処理でのオン・オフデータである。例えば、画像データが(0000001010)なら、下位ビットの処理で2回通電を行い、上位ビットの処理で1回通電を行えばよい。 FIG. 3 shows on / off data in lower bit processing and on / off data in upper bit processing when 10-bit image data is divided into upper 7 bits and lower 3 bits. For example, if the image data is (0000001010), the energization is performed twice in the lower bit processing and the energization is performed once in the upper bit processing.
以上のように、10ビットの画像データを、下位3ビットと、上位7ビットとに分けて処理を行うと、下位ビットの処理で(23−1=7回)、上位ビットの処理で(27−1=127回)との、合計134回で、1024階調の処理を行えることになる。 As described above, when the 10-bit image data is divided into the lower 3 bits and the upper 7 bits, the lower bit processing (2 3 -1 = 7 times) and the upper bit processing ( 2 7 −1 = 127 times), a total of 134 times can be processed for 1024 gradations.
図1において、サーマルヘッド駆動データ生成部14からのオン・オフデータ(DATA)は、シフトレジスタ41に送られ、シフトレジスタ41でシリアル・パラレル変換されて、シフトレジスタ41の各発熱抵抗体R1〜Rnに対応する位置に展開される。ラッチ信号(LATCH)がローレベルになるタイミングで、このオン・オフデータがラッチ用フリップフロップ42に取り込まれる。そして、ストローブ信号(STROBE)がローレベルの間に、ラッチ用フリップフロップ42からトランジスタTr1〜Trnのベースに、オン・オフデータが送られる。これにより、ストローブ信号(STROBE)がローレベルの間を発熱期間として、オン・オフデータに応じて、発熱抵抗体R1〜Rnが発熱される。
In FIG. 1, on / off data (DATA) from the thermal head drive
前述したように、10ビットの画像データは、下位3ビットと上位7ビットとに分けて処理が行われる。先ず、ストローブ信号(STROBE)がローレベルとなる期間がTlsに設定され、上述のようにして、下位ビットの処理が(23−1=7回)行われる。下位ビットの処理が終了すると、ストローブ信号(STROBE)がローレベルとなる期間がTus(Tus=23×Tls)に設定され、上位ビットの処理が(27−1=127回)行われる。 As described above, 10-bit image data is processed by dividing it into lower 3 bits and upper 7 bits. First, the period during which the strobe signal (STROBE) is at a low level is set to Tls, and the processing of the lower bits is performed (2 3 -1 = 7 times) as described above. When the processing of the lower bits is completed, the period during which the strobe signal (STROBE) is at the low level is set to Tus (Tus = 2 3 × Tls), and the processing of the upper bits is performed (2 7 −1 = 127 times).
また、本発明の実施形態では、複数クロック周波数制御部17により、システムクロックに基づいて周波数の異なる複数のクロックを生成し、この周波数の異なる複数のクロックを順次選択して、複数の周波数に変化するデータクロック信号(CLOCK)を生成している。サーマルヘッド駆動データ生成部14からのオン・オフデータ(DATA)は、この複数の周波数に変化するデータクロック信号(CLOCK)により、シフトレジスタ41に転送される。
In the embodiment of the present invention, the multiple clock
図4及び図5は、本発明の実施形態のプリンタでのデータ転送タイミングを示すタイミング図である。図4及び図5において、T0、T1、T2、…は、ストローブ期間を示し、1回の発熱抵抗体R1〜Rnの駆動期間の単位となるものである。 4 and 5 are timing charts showing data transfer timings in the printer according to the embodiment of the present invention. 4 and 5, T0, T1, T2,... Indicate strobe periods and are units of driving periods of one heating resistor R1 to Rn.
図4(A)に示すように、最初のストローブ期間T0で、サーマルヘッド駆動データ生成部14から、1水平ライン分の1階調目の下位ビット処理のオン・オフデータDL1がオン・オフデータ(DATA)として出力される。サーマルヘッド制御部15からは、図4(B)に示すようなデータクロック信号(CLOCK)が出力され、このデータクロック信号(CLOCK)により、1水平ライン分の1階調の下位ビット処理のオン・オフデータDL1がシフトレジスタ41に転送される。なお、このデータクロック信号(CLOCK)は、後に説明するように、複数の周波数に変化している。ストローブ期間内のデータクロック信号(CLOCK)のパルス数は、水平方向の画素数に対応している。ここでは、1水平ラインの画素数は「128」であり、1ストローブ期間でのデータクロック信号(CLOCK)のパルス数は「128」となる。
As shown in FIG. 4A, in the first strobe period T0, the thermal head drive
次のストローブ期間T1で、図4(C)に示すように、ラッチ信号(LATCH)がローレベルになるタイミングで、図4(D)に示すように、1水平ライン分の1階調目の下位ビット処理のオン・オフデータDL1がラッチ用フリップフロップ42に取り込まれる。そして、図4(E)に示すように、ストローブ信号(STROBE)がローレベルとなる期間で、発熱抵抗体R1〜Rnが通電される。このストローブ信号(STROBE)がローレベルとなる期間は、下位ビット処理の間では、Tlsに設定される。これにより、1水平ライン分の1階調の下位ビット処理のオン・オフデータDL1によるプリント処理が行われる。また、このとき、図4(A)に示すように、サーマルヘッド駆動データ生成部14から、1水平ライン分の2階調目の下位ビット処理のオン・オフデータDL2がデータ(DATA)として出力され、データクロック信号(CLOCK)(図4(B))により、サーマルヘッド駆動データ生成部14から、1水平ライン分の2階調目の下位ビット処理のオン・オフデータDL2がシフトレジスタ41に転送される。
In the next strobe period T1, as shown in FIG. 4C, when the latch signal (LATCH) becomes low level, as shown in FIG. Bit processing ON / OFF data DL1 is taken into the latch flip-
次のストローブ期間T2で、図4(C)に示すように、ラッチ信号(LATCH)がローレベルになるタイミングで、図4(D)に示すように、1水平ライン分の2階調目の下位ビット処理のオン・オフデータDL2がラッチ用フリップフロップ42に取り込まれる。そして、図4(E)に示すように、ストローブ信号(STROBE)がローレベルとなる期間で、発熱抵抗体R1〜Rnが通電される。このストローブ信号(STROBE)がローレベルとなる期間は、Tlsに設定される。これにより、1水平ライン分の2階調の下位ビット処理のオン・オフデータDL2によるプリント処理が行われる。また、このとき、図4(A)に示すように、サーマルヘッド駆動データ生成部14から、1水平ライン分の3階調目の下位ビット処理のオン・オフデータDL3がデータ(DATA)として出力され、データクロック信号(CLOCK)(図4(B))により、サーマルヘッド駆動データ生成部14から、1水平ライン分の3階調目の下位ビットオン・オフデータDL3がシフトレジスタ41に転送される。以下、同様の処理が下位ビットの階調処理分だけ繰り返して行われる。
In the next strobe period T2, as shown in FIG. 4C, when the latch signal (LATCH) becomes low level, as shown in FIG. Bit processing ON / OFF data DL2 is taken into the latch flip-
図5において、ストローブ期間T7になると、サーマルヘッド駆動データ生成部14から、1水平ライン分の1階調目の上位ビット処理のオン・オフデータDH1がデータ(DATA)として出力され、ストローブ期間T8では、図5(C)に示すように、ラッチ信号(LATCH)がローレベルになるタイミングで、図5(D)に示すように、1水平ライン分の1階調目の上位ビット処理のオン・オフデータDH1がラッチ用フリップフロップ42に取り込まれる。そして、図5(E)に示すように、ストローブ信号(STROBE)がローレベルとなる期間で、発熱抵抗体R1〜Rnが通電される。このストローブ信号(STROBE)がローレベルになる期間Tusは、下位ビット処理の時の期間Tlsの23倍の(Tus=23×Tls)に設定される。これにより、1水平ライン分の1階調の上位ビット処理のオン・オフデータDH1によるプリント処理が行われる。また、このとき、図5(A)に示すように、サーマルヘッド駆動データ生成部14から、1水平ライン分の2階調目の上位ビット処理のオン・オフデータDH2がデータ(DATA)として出力され、データクロック信号(CLOCK)(図5(B))により、サーマルヘッド駆動データ生成部14から、1水平ライン分の2階調目の上位ビット処理のオン・オフデータDH2がシフトレジスタ41に転送される。以下、同様の処理が上位ビットの階調数分だけ、繰り返して行われる。
In FIG. 5, when the strobe period T7 is reached, the thermal head drive
ここでは、10ビットの画像データが下位3ビットと上位7ビットとに分けられているので、下位ビットの処理では、7回の通電処理が行われ、上位ビットの処理では、127回の通電処理が行われ、合計、134回の通電処理が行われる。これにより、1水平ライン分の画像のプリントが終了する。1水平ライン分の画像のプリントが終了すると、1ドットだけ、垂直方向に紙が送られ、次ライン分の画像のプリント処理が同様に行われる。そして、1画面分の処理が終了すると、次の色の画像データにより、同様の処理が行われる。 Here, since the 10-bit image data is divided into the lower 3 bits and the upper 7 bits, the energization process is performed 7 times in the lower bit process, and the energization process is performed 127 times in the upper bit process. In total, 134 energization processes are performed. Thereby, the printing of the image for one horizontal line is completed. When the printing of the image for one horizontal line is completed, the paper is sent in the vertical direction by one dot, and the printing process for the image for the next line is similarly performed. When the processing for one screen is completed, the same processing is performed with the next color image data.
前述したように、本発明の実施形態では、データクロックジェネレータ16は、サーマルヘッド制御部15に対するクロックを生成している。本発明の実施形態においては、データクロックジェネレータ16に、複数クロック周波数制御部17が設けられており、クロックの周波数が変化するようになっている。
As described above, in the embodiment of the present invention, the
図6は、データクロックジェネレータ16の複数クロック周波数制御部17の一例である。図6において、PLL回路51には、例えば50MHzのシステムクロックが供給される。PLL回路51で、この50MHzのシステムクロックが2逓倍され、100MHzの単位周波数のクロックが生成される。PLL回路51からの100MHzの単位周波数のクロックは、1/4分周器52、1/5分周器53、1/6分周器54で分周され、1/4分周器52、1/5分周器53、1/6分周器54からは、それぞれ、25MHz、20MHz、16.7MHzの周波数のクロックが出力される。この25MHz、20MHz、16.7MHzの周波数のクロックは、セレクタ55で選択されて、出力される。セレクタ55からのクロックは、カウンタ56でカウントされる。このカウント値に応じて、セレクタ55が切り替えられる。
FIG. 6 is an example of the multiple clock
すなわち、図4(B)及び図5(B)に示したように、1ストローブ期間内のデータクロック信号(CLOCK)のパルス数は、水平方向の画素数に対応しており、ここでは、1水平ラインの画素数は「128」である。図7に示すように、この1ストローブ期間でのデータクロック信号(CLOCK)のパルス数がカウントされ、このカウント値に応じて、データクロック信号(CLOCK)の周波数が順次切り替えられる。例えば、データクロック信号(CLOCK)のカウント値が「0」〜「41」では、クロック周波数が16.7MHzに設定され、データクロック信号(CLOCK)のカウント値が「42」〜「83」では、クロック周波数が25MHzに設定され、データクロック信号(CLOCK)のカウント値が「84」〜「127」では、クロック周波数が20MHzに設定される。 That is, as shown in FIGS. 4B and 5B, the number of pulses of the data clock signal (CLOCK) within one strobe period corresponds to the number of pixels in the horizontal direction. The number of pixels in the horizontal line is “128”. As shown in FIG. 7, the number of pulses of the data clock signal (CLOCK) in this one strobe period is counted, and the frequency of the data clock signal (CLOCK) is sequentially switched according to this count value. For example, when the count value of the data clock signal (CLOCK) is “0” to “41”, the clock frequency is set to 16.7 MHz, and when the count value of the data clock signal (CLOCK) is “42” to “83”, When the clock frequency is set to 25 MHz and the count value of the data clock signal (CLOCK) is “84” to “127”, the clock frequency is set to 20 MHz.
本発明の実施形態では、上述のように、PLL回路51で、周波数50MHzのシステムクロックを2逓倍して100MHzの単位周波数のクロックを生成してから、分周器52〜54で分周して、複数の周波数のクロックを生成している。このように、システムクロックを2逓倍して単位周波数のクロックを生成すると、必要な周波数に変化するクロックを生成できる。
In the embodiment of the present invention, as described above, the
つまり、50MHzのシステムクロックを直接分周した結果できるクロックは、50/2=25MHz、50/3=16.7MHz、50/4=12.5MHz、…である。これに対して、50MHzのシステムクロックを2逓倍して100MHzの単位周波数のクロックを生成して分周すると、分周した結果できるクロックは、100/2=50MHz、100/3=33.3MHz、100/4=25MHz、100/5=20MHz、100/6=16.7MHz、100/8=12.5MHz…となり、33.3MHzのクロック、25MHzのクロック、20MHzのクロック、16.7MHzのクロック、12.5MHzのクロックが利用可能となる。 That is, clocks that can be obtained as a result of directly dividing the 50 MHz system clock are 50/2 = 25 MHz, 50/3 = 16.7 MHz, 50/4 = 12.5 MHz, and so on. On the other hand, when the system clock of 50 MHz is multiplied by 2 to generate and divide the clock of the unit frequency of 100 MHz, the clock that can be obtained as a result of the division is 100/2 = 50 MHz, 100/3 = 33.3 MHz, 100/4 = 25 MHz, 100/5 = 20 MHz, 100/6 = 16.7 MHz, 100/8 = 12.5 MHz, and so on, 33.3 MHz clock, 25 MHz clock, 20 MHz clock, 16.7 MHz clock, A 12.5 MHz clock is available.
なお、ここでは、データクロック信号(CLOCK)をカウンタ56でカウントして、データクロック信号(CLOCK)の周波数を順次切り替えているが、データクロック信号(CLOCK)の数を主制御部11でカウントし、主制御部11の指令の下に、データクロック信号(CLOCK)の周波数を順次切り替えるようにしても良い。
Here, the data clock signal (CLOCK) is counted by the
また、ここでは、データクロック信号(CLOCK)のパルス数をカウントして、データクロック信号(CLOCK)の周波数を順次切り替えているが、システムクロックをカウントして、データクロック信号(CLOCK)の周波数を順次切り替えるようにしても良い。 Here, the number of pulses of the data clock signal (CLOCK) is counted and the frequency of the data clock signal (CLOCK) is sequentially switched. However, the frequency of the data clock signal (CLOCK) is counted by counting the system clock. You may make it switch sequentially.
図8は、本発明の実施形態の処理をフローチャートで示したものである。図8において、主制御部11は、1水平ラインのデータの転送回数SCnを(Scn=0)に初期化し、プリントライン数PLnを(PLn=0)に初期化し、プリントカラーPCnを(PCn=0)に初期化して、サーマルヘッド駆動データ生成部14から、1水平ライン目のデータ転送を開始する(ステップS1)。なお、プリントカラーPCnは、Y、M、Cの各色を示す。
FIG. 8 is a flowchart showing the processing of the embodiment of the present invention. In FIG. 8, the
そして、主制御部11は、通電時間(ストローブ信号(STROBE)のローレベル期間をTlsに設定し(ステップS2)、データクロック信号(CLOCK)のカウント数PLSnを(PLSn=0)に初期化する(ステップS3)。そして、主制御部11は、データクロック信号(CLOCK)のカウント数PLSnが「41」以下であるかどうかを判定する(ステップS4)。主制御部11は、データクロック信号(CLOCK)のカウント数PLSnが「41」以下でないと判定した場合、データクロック信号(CLOCK)のカウント数PLSnが「42」〜「83」であるかどうかを判定する(ステップS5)。
Then, the
また、主制御部11は、ステップS4で、データクロック信号(CLOCK)のカウント数PLSnが「41」以下であると判定した場合、複数クロック周波数制御部17においてデータクロック信号(CLOCK)の周波数を16.7MHzに設定する(ステップS6)。そして、主制御部11は、ステップS5で、データクロック信号(CLOCK)のカウント数PLSnが「42」〜「83」であると判定した場合、複数クロック周波数制御部17においてデータクロック信号(CLOCK)の周波数を25MHzに設定し(ステップS7)、それ以外と判定すると、データクロック信号(CLOCK)の周波数を20MHzに設定する(ステップS8)。
When the
さらに、主制御部11は、設定されたデータクロック信号(CLOCK)により、サーマルヘッド駆動データ生成部14から、オン・オフデータをシフトレジスタ41に転送し(ステップS9)、データの転送が完了したら、データクロック信号(CLOCK)のカウント数PLSnをインクリメントする(ステップS10)。そして、主制御部11は、転送クロックのカウント数PLSnが、1水平ラインの画素数に相当する「127」以下であるかどうかを判定する(ステップS11)。主制御部11は、転送クロックのカウント数PLSnが「127」以下であると判定した場合、ステップS4にリターンする。
Further, the
以上の処理を繰り返すことにより、1水平ラインの画素数分のオン・オフデータがシフトレジスタ41に展開される。このとき、ステップS4〜S8の処理により、データクロック信号(CLOCK)のカウント数PLSnが「41」以下なら、データクロック信号(CLOCK)の周波数は16.7MHzに設定され、データクロック信号(CLOCK)のカウント数PLSnが「42」〜「83」なら、データクロック信号(CLOCK)の周波数は25MHzに設定され、それ以外なら、データクロック信号(CLOCK)の周波数が20MHzに設定される。これにより、1ストローブ期間の128パルスのデータクロック信号(CLOCK)のうち、最初の1/3では、クロック周波数が16.7MHzに設定され、次の1/3では、クロック周波数が25MHzに設定され、最後の1/3では、クロック周波数が20MHzに設定されて、データが転送され、1ストローブ期間内で、データクロック信号(CLOCK)の周波数が順次複数に変化する。
By repeating the above processing, ON / OFF data for the number of pixels of one horizontal line is developed in the
また、主制御部11は、ステップS11で、転送クロックのカウント数PLSnが1水平ラインの画素数である「PLSn=128」と判定した場合、ラッチ用フリップフロップ42に1水平ライン分のオン・オフデータを取り込み、ストローブ信号(STROBE)をローレベルとして、発熱抵抗体R1〜Rnを発熱させる処理を行う(ステップS12)。そして、主制御部11は、データの転送回数SCnをインクリメントし(ステップS13)、データの転送回数SCnが「7」以下かどうかを判定する(ステップS14)。
If the
主制御部11は、1水平ラインのデータの転送回数SCnが「7」以下であると判定した場合、ステップS2にリターンし、上述の処理を繰り返して行う。
If the
以上の処理により、下位ビットの通電処理が行われる。そして、下位3ビットの処理が終了すると、ステップS14で、1水平ラインのデータの転送回数SCnが「SCn≧8」と判定される。 With the above processing, the lower-bit energization processing is performed. When the processing of the lower 3 bits is completed, it is determined in step S14 that the number of transfers SCn of data for one horizontal line is “SCn ≧ 8”.
主制御部11は、ステップS14で、1水平ラインのデータの転送回数SCnが「SCn≧8」と判定した場合、さらにデータの転送回数SCnが「133」以下であるかを判定する(ステップS15)。そして、主制御部11は、データの転送回数SCnが「133」以下であると判定すると、通電時間(ストローブ信号(STROBE)のローレベル期間)をTusに設定して(ステップS16)、ステップS3にリターンする。
When the
ステップS3〜ステップS16の処理を繰り返すことにより、通電処理が行われる。下位ビットの処理では、7回の通電処理が行われ、上位ビットの処理では、127回の通電処理が行われるので、1水平ラインの処理が終了すると、データの転送回数が134回となる。 The energization process is performed by repeating the processes of steps S3 to S16. In the lower bit processing, the energization processing is performed seven times, and in the upper bit processing, the energization processing is performed 127 times. Therefore, when the processing for one horizontal line is completed, the number of times of data transfer is 134.
さらに、主制御部11は、ステップS15で、データの転送回数SCnが「SCn=134」と判定した場合、1水平ラインのデータの転送回数SCnを(SCn=0)とし、プリントライン数PLnをインクリメントして、サーマルヘッド駆動データ生成部14から、次の水平ラインのデータ転送を開始する(ステップS17)。
Further, when the
そして、主制御部11は、プリントライン数PLnが、垂直方向の画素数に相当する「1239)以下か」どうかを判定する(ステップS18)。主制御部11は、プリントライン数PLnが、「1239」以下であると判定すると、ステップS2にリターンして、前述と同様に、次ラインのプリント処理を行う。
Then, the
以上の処理を繰り返し、1画面のプリント処理が行われると、ステップS13で、プリントライン数PLnが「PLn=1240」と判定される。主制御部11は、プリントライン数PLnが「1240」と判定した場合、1水平ラインのデータの転送回数SCnを(Scn=0)にし、プリントライン数PLnを(PLn=0)にし、プリントカラーPCnをインクリメントして、次色の1水平ライン目のデータ転送を開始する(ステップS19)。
When the above process is repeated and one screen print process is performed, the number of print lines PLn is determined to be “PLn = 1240” in step S13. When determining that the number of print lines PLn is “1240”, the
そして、主制御部11は、プリントカラーPCnが「2」(Y、M、Cの各色の場合)以下かどうかを判定する(ステップS20)。主制御部11は、プリントカラーPCnが「2」以下であると判定すると、ステップS2にリターンして、前述と同様に、次ラインのプリント処理を行う。
Then, the
Y、M、Cの各色の画像のプリントが終了すると、ステップS20で、プリントカラーPCnが「PCn=3」と判定される。主制御部11は、プリントカラーPCnが「PCn=3」と判定すると、1画面分のプリントを終了する。
When the printing of the Y, M, and C color images is completed, the print color PCn is determined to be “PCn = 3” in step S20. When the
以上説明したように、本発明の実施形態では、1ストローブ期間の128パルスのデータクロック信号(CLOCK)のうち、最初の1/3では、クロック周波数が16.7MHzに設定され、次の1/3では、クロック周波数が25MHzに設定され、最後の1/3では、クロック周波数が20MHzに設定されて、データが転送される。 As described above, in the embodiment of the present invention, the clock frequency is set to 16.7 MHz in the first 1/3 out of 128 data clock signals (CLOCK) in one strobe period, and the next 1 / In 3, the clock frequency is set to 25 MHz, and in the last third, the clock frequency is set to 20 MHz and data is transferred.
サーマルヘッド40のユニットは印字部の近傍に置かれるため、サーマルヘッド駆動データ生成部14やサーマルヘッド制御部15からサーマルヘッド40に信号を送る信号線は長く引き回され、この信号線から放射ノイズが発生する。データクロック信号(CLOCK)の周波数が一定の場合には、この放射ノイズは、データクロック信号(CLOCK)の整数倍に集中し、そのレベルも大きくなる。
Since the unit of the thermal head 40 is placed in the vicinity of the printing unit, a signal line for sending a signal from the thermal head drive
これに対して、本発明の実施形態では、1ストローブ期間内で、複数個の周波数にデータクロック信号を変化させることによって、放射ノイズのエネルギーが分散される。放射ノイズエネルギーが分散されることから、特定の周波数に連続して発生することがなくなり、放射ノイズによる影響を低減できる。 On the other hand, in the embodiment of the present invention, the energy of the radiation noise is dispersed by changing the data clock signal to a plurality of frequencies within one strobe period. Since the radiation noise energy is dispersed, it is not generated continuously at a specific frequency, and the influence of the radiation noise can be reduced.
また、プリンタ1の上記機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、各種制御を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
In addition, a program for realizing the above functions of the
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
なお、本発明は、上述した実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内で様々な変形や応用が可能である。 Note that the present invention is not limited to the above-described embodiments, and various modifications and applications are possible without departing from the spirit of the present invention.
1: プリンタ
11: 主制御部
12:入力バッファ
13:プリント用画像データ生成部
14:サーマルヘッド駆動データ生成部
15:サーマルヘッド制御部
16:データクロックジェネレータ
17:複数クロック周波数制御部
40:サーマルヘッド
41:シフトレジスタ
42:ラッチ用フリップフロップ
51:PLL回路
52〜54:分周器
55:セレクタ
56:カウンタ
R1〜Rn:発熱抵抗体
Tr1〜Trn:トランジスタ
G1〜Gn:ANDゲート
1: Printer 11: Main controller 12: Input buffer 13: Print image data generator 14: Thermal head drive data generator 15: Thermal head controller 16: Data clock generator 17: Multiple clock frequency controller 40: Thermal head 41: shift register 42: latch flip-flop 51:
Claims (5)
システムクロックに基づいて所定の単位周波数のクロックを生成し、前記単位周波数のクロックから互いに異なる周波数の複数のクロックを生成し、前記周波数の異なる複数のクロックを順次選択して、複数の周波数に変化するデータクロック信号を生成するデータクロック周波数制御手段と、
入力画像データに基づいて前記サーマルヘッドの各発熱抵抗体のオン・オフデータを生成するサーマルヘッド駆動データ生成手段と、
前記サーマルヘッド駆動データ生成手段により生成された各発熱抵抗体のオン・オフデータを受信し、前記データクロック信号により、前記オン・オフデータを各発熱抵抗体に対応した位置に転送するシフトレジスタ手段と、
前記シフトレジスタ手段に保持されたオン・オフデータを取り込むラッチ手段と、
前記ラッチ手段に取り込まれたオン・オフデータにより前記発熱抵抗体を所定の単位時間通電する発熱抵抗体駆動手段とを備える
ようにしたことを特徴とするプリンタ。 A printer that performs printing using a thermal head in which heating resistors are arranged in a line in the main scanning direction,
Generates a clock with a predetermined unit frequency based on the system clock, generates a plurality of clocks with different frequencies from the clock with the unit frequency, sequentially selects the plurality of clocks with different frequencies, and changes to a plurality of frequencies Data clock frequency control means for generating a data clock signal to be
Thermal head drive data generating means for generating on / off data of each heating resistor of the thermal head based on input image data;
Shift register means for receiving on / off data of each heating resistor generated by the thermal head drive data generating means and transferring the on / off data to a position corresponding to each heating resistor by the data clock signal When,
Latch means for fetching on / off data held in the shift register means;
A printer comprising heating resistor driving means for energizing the heating resistor for a predetermined unit time based on ON / OFF data fetched by the latch means.
前記システムクロックを逓倍して生成した所定の単位周波数のクロックを分周して複数の周波数のクロックを生成する複数の分周器と、
前記複数の分周器から出力される複数の周波数のクロックを順次選択するセレクタとを備える
ようにしたことを特徴とする請求項1に記載のプリンタ。 The data clock frequency control means generates a clock having a predetermined unit frequency by multiplying a system clock; and
A plurality of frequency dividers for generating a clock of a plurality of frequencies by dividing a clock of a predetermined unit frequency generated by multiplying the system clock;
The printer according to claim 1, further comprising a selector that sequentially selects clocks having a plurality of frequencies output from the plurality of frequency dividers.
システムクロックに基づいて周波数の異なる複数のクロックを生成し、前記周波数の異なる複数のクロックを順次選択して、複数の周波数に変化するデータクロック信号を生成し、
入力画像データに基づいて前記サーマルヘッドの各発熱抵抗体のオン・オフデータを生成し、前記生成された各発熱抵抗体のオン・オフデータを、前記データクロック信号によりシフトレジスタ手段の各発熱抵抗体に対応した位置に転送し、
前記シフトレジスタ手段に保持されたオン・オフデータをラッチ手段に取り込み、
前記ラッチ手段に取り込まれたオン・オフデータにより前記発熱抵抗体を所定の単位時間通電する
ようにしたことを特徴とするプリンタの制御方法。 A control method for a printer that performs printing using a thermal head in which heating resistors are arranged in a line in the main scanning direction,
Generate a plurality of clocks having different frequencies based on the system clock, sequentially select the plurality of clocks having different frequencies, and generate a data clock signal that changes to a plurality of frequencies,
Based on the input image data, on / off data of each heating resistor of the thermal head is generated, and the generated on / off data of each heating resistor is generated by the data clock signal according to each heating resistor of the shift register means. Transfer to the position corresponding to the body,
On-off data held in the shift register means is taken into the latch means,
A printer control method, wherein the heating resistor is energized for a predetermined unit time based on on / off data fetched by the latch means.
システムクロックに基づいて周波数の異なる複数のクロックを生成し、前記周波数の異なる複数のクロックを順次選択して、複数の周波数に変化するデータクロック信号を生成するステップと、
入力画像データに基づいて前記サーマルヘッドの各発熱抵抗体のオン・オフデータを生成し、前記生成された各発熱抵抗体のオン・オフデータを、前記データクロック信号によりシフトレジスタ手段の各発熱抵抗体に対応した位置に転送するステップと、
前記シフトレジスタに保持されたオン・オフデータをラッチ手段に取り込み、前記ラッチ手段に取り込まれたオン・オフデータにより前記発熱抵抗体を所定の単位時間通電するステップと
を含むようにしたことを特徴とするプリンタの制御プログラム。 A control program for a printer that performs printing using a thermal head in which heating resistors are line-aligned in the main scanning direction,
Generating a plurality of clocks having different frequencies based on a system clock, sequentially selecting the plurality of clocks having different frequencies, and generating a data clock signal changing to a plurality of frequencies;
Based on the input image data, on / off data of each heating resistor of the thermal head is generated, and the generated on / off data of each heating resistor is generated by the data clock signal according to each heating resistor of the shift register means. Transferring to a position corresponding to the body;
Fetching on / off data held in the shift register into latch means, and energizing the heating resistor for a predetermined unit time by the on / off data fetched into the latch means. A printer control program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007126663A JP2008279684A (en) | 2007-05-11 | 2007-05-11 | Printer, control method of printer, and control program of printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007126663A JP2008279684A (en) | 2007-05-11 | 2007-05-11 | Printer, control method of printer, and control program of printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008279684A true JP2008279684A (en) | 2008-11-20 |
Family
ID=40140914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007126663A Pending JP2008279684A (en) | 2007-05-11 | 2007-05-11 | Printer, control method of printer, and control program of printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008279684A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012061772A (en) * | 2010-09-16 | 2012-03-29 | Ricoh Co Ltd | Image forming apparatus, electric apparatus, and signal transfer method |
CN111693808A (en) * | 2020-06-10 | 2020-09-22 | 珠海佳博网络有限公司 | Electrical characteristic testing method of thermal printing head |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01262155A (en) * | 1988-04-14 | 1989-10-19 | Ricoh Co Ltd | Method and apparatus for driving solid scanning type recording head |
JPH0442664A (en) * | 1990-06-07 | 1992-02-13 | Seiko Instr Inc | Line thermal printer |
JPH0497176A (en) * | 1990-08-09 | 1992-03-30 | Ricoh Co Ltd | Image writing device |
JP2000221431A (en) * | 1999-02-03 | 2000-08-11 | Canon Inc | Image forming device |
JP2002316436A (en) * | 2001-04-18 | 2002-10-29 | Casio Electronics Co Ltd | Imaging apparatus |
JP2003330654A (en) * | 2002-05-13 | 2003-11-21 | Canon Inc | Recording device |
JP2004148569A (en) * | 2002-10-29 | 2004-05-27 | Ricoh Co Ltd | Image forming apparatus |
JP2005167396A (en) * | 2003-11-28 | 2005-06-23 | Kyocera Mita Corp | Image reading apparatus |
JP2006088588A (en) * | 2004-09-24 | 2006-04-06 | Fuji Xerox Co Ltd | Image forming apparatus, lighting controller of printing head, and printing head |
-
2007
- 2007-05-11 JP JP2007126663A patent/JP2008279684A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01262155A (en) * | 1988-04-14 | 1989-10-19 | Ricoh Co Ltd | Method and apparatus for driving solid scanning type recording head |
JPH0442664A (en) * | 1990-06-07 | 1992-02-13 | Seiko Instr Inc | Line thermal printer |
JPH0497176A (en) * | 1990-08-09 | 1992-03-30 | Ricoh Co Ltd | Image writing device |
JP2000221431A (en) * | 1999-02-03 | 2000-08-11 | Canon Inc | Image forming device |
JP2002316436A (en) * | 2001-04-18 | 2002-10-29 | Casio Electronics Co Ltd | Imaging apparatus |
JP2003330654A (en) * | 2002-05-13 | 2003-11-21 | Canon Inc | Recording device |
JP2004148569A (en) * | 2002-10-29 | 2004-05-27 | Ricoh Co Ltd | Image forming apparatus |
JP2005167396A (en) * | 2003-11-28 | 2005-06-23 | Kyocera Mita Corp | Image reading apparatus |
JP2006088588A (en) * | 2004-09-24 | 2006-04-06 | Fuji Xerox Co Ltd | Image forming apparatus, lighting controller of printing head, and printing head |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012061772A (en) * | 2010-09-16 | 2012-03-29 | Ricoh Co Ltd | Image forming apparatus, electric apparatus, and signal transfer method |
CN111693808A (en) * | 2020-06-10 | 2020-09-22 | 珠海佳博网络有限公司 | Electrical characteristic testing method of thermal printing head |
CN111693808B (en) * | 2020-06-10 | 2023-03-07 | 珠海柏印自动化设备有限公司 | Electrical characteristic testing method of thermal printing head |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4848705B2 (en) | Thermal printer, thermal printer control method and control program | |
US4563693A (en) | Gradation recorder | |
JP2619890B2 (en) | Head drive for thermal transfer printer | |
US6476839B1 (en) | Thermal printer and heat history control method | |
JP2008279684A (en) | Printer, control method of printer, and control program of printer | |
JPS62164568A (en) | Temperature correction system for thermal head | |
JPH03193469A (en) | Gradation controller of thermal head | |
JP2008279683A (en) | Printer, control method of printer, and control program of printer | |
JP2008290299A (en) | Printer, control method of printer, and control program of printer | |
JP2016198955A (en) | Thermal printer | |
KR0138136B1 (en) | Thermal transfer head and thermal transfer printing appartus and method using the head | |
JP4046816B2 (en) | Thermal head drive device | |
JP5574347B2 (en) | Device having a unit for controlling a thermal head | |
JP7165503B2 (en) | Thermal printer and print control method | |
US9614997B2 (en) | Gradation data generation device and method | |
US7224377B1 (en) | Thermal print head modulation using additive complements | |
JP2001130042A (en) | Method and apparatus for controlling driving thermal head | |
JPH0550643A (en) | Printer device | |
JP5830759B2 (en) | Apparatus for supplying a signal for generating a multi-tone image | |
JPH032060A (en) | Drive control system for recording head | |
JP2001180030A (en) | Thermal head and thermal printer | |
JPH03268956A (en) | Gradation control circuit of thermal head | |
JPH1016272A (en) | Conduction control method for thermal recorder | |
JPH0615860A (en) | Recording device | |
JPS6212271A (en) | Driving circuit for thermal recording head |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100419 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20101201 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120821 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120828 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121029 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20121029 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130611 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20131022 |