JP3586324B2 - Thermal line printer and driving method of thermal line printer - Google Patents
Thermal line printer and driving method of thermal line printer Download PDFInfo
- Publication number
- JP3586324B2 JP3586324B2 JP29172995A JP29172995A JP3586324B2 JP 3586324 B2 JP3586324 B2 JP 3586324B2 JP 29172995 A JP29172995 A JP 29172995A JP 29172995 A JP29172995 A JP 29172995A JP 3586324 B2 JP3586324 B2 JP 3586324B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- storage means
- thermal line
- cycle
- bitmap
- 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
Links
Images
Landscapes
- Electronic Switches (AREA)
- Record Information Processing For Printing (AREA)
Description
【0001】
【産業上の利用分野】
この発明は、サーマルラインヘッドにより画像形成を行なうサーマルラインプリンタおよびその駆動方法に関する。
【0002】
【従来の技術】
従来より、画像情報をビットマップに展開し、展開されたビットマップの1行に対応する数の発熱抵抗体を線状に配置したサーマルラインヘッドを用いて、感熱紙に1行ずつ画像形成を行なうサーマルラインプリンタが知られている。通常、このようなプリンタにおいては、入力された画像情報をビットマップ展開してメモリに記憶させる。そして、メモリに記憶されたビットマップを出力用バッファに転送し、さらに、出力用バッファからサーマルラインヘッドのレジスタに、1行分ずつビットマップデータを転送し、印字を行う。通常、所定量の画像情報毎にメモリへのビットマップ展開が行われ、メモリに書き込まれたビットマップデータは随時バッファへと転送される。
【0003】
【発明が解決しようとする課題】
上述のようなプリンタにおいて、画像形成処理が進行すると、CPUの負担が増大し、画像形成の速度に比べてビットマップ展開の速度が遅くなる場合がある。すなわち、バッファからサーマルラインヘッドへのデータの転送量が、バッファに転送されてくるデータの量を上回るような場合が生ずることがある。この場合、一時的にバッファ内に画像データが無くなり、画像形成処理が継続できなくなる。
【0004】
通常、サーマルラインプリンタは、記録紙を搬送しつつ、1行毎に感熱紙を発色させて画像を形成していくが、バッファ内のデータが無くなると、印字動作が一時的に中断する。印字動作が中断してしまうと、次のデータがバッファに転送され、画像形成が再開された時に、停止前と停止後の印字行の行間のピッチがずれたり、印字が停止している間にサーマルラインヘッドの温度が下がるために印字濃度が変化するなど、画像の品質が低下するという問題があった。本発明は、上記のような画像の品質低下を防ぐことを課題としている。
【0005】
【課題を解決するための手段】
上記の目的を達成するため、本発明のサーマルラインプリンタは、線状に配置された複数の発熱抵抗体を有するサーマルラインヘッドを用いて、記録紙に画像形成を行なうものであって、画像情報をビットマップデータとして展開する展開手段と、前記ビットマップデータを格納する記憶手段と、前記記憶手段に格納されたビットマップデータを、前記複数の発熱抵抗体に対応した所定量毎に前記記憶手段から前記サーマルラインヘッドへ転送する第1のデータ転送手段と、前記記憶手段に格納されているデータの量を検知する検知手段と前記記憶手段に格納されているデータ量に応じて、前記第1のデータ転送手段によるデータ転送の周期を決定する周期決定手段と、前記展開手段が有した前記ビットマップデータを格納する格納手段と、前記格納手段に格納されている前記ビットマップデータを前記記憶手段に転送する第2のデータ転送手段とを有し、前記周期設定手段が、前記第1の転送手段により前記記憶手段から前記サーマルラインヘッドに転送される前記ビットマップデータの転送速度が、前記第2のデータ転送手段により前記格納手段から前記記憶手段へ転送される前記ビットマップデータの転送速度を越えないよう、前記周期を設定することを特徴としている。
【0006】
また、本発明のサーマルラインプリンタ駆動方法は、線状に配置された複数の発熱抵抗体を有するサーマルラインヘッドに転送して、記録紙に画像形成を行なうサーマルラインプリンタにおいて、画像情報をビットマップデータとして展開し、展開した前記ビットマップデータを記憶手段に転送して格納させ、前記データ転送手段によって、前記記憶手段に格納されたビットマップデータを、前記複数の発熱抵抗体に対応した所定量毎に前記記憶手段から前記サーマルラインヘッドへ転送し、前記記憶手段に格納されているデータの量を検知し、前記記憶手段に格納されているデータ量に応じて、前記データ転送手段によるデータ転送の周期を設定するものであって、前記記憶手段から前記サーマルラインヘッドに転送される前記ビットマップデータの転送速度が、前記格納手段から前記記憶手段へ転送される前記ビットマップデータの転送速度を越えないよう、前記データ転送の周期を設定することを特徴としている。
【0007】
【実施例】
以下、図面を参照して本発明の実施例について説明する。
【0008】
図1は本発明の実施例としての、サーマルラインプリンタ1の外観を示す斜視図である。本実施例のプリンタ1は、A4サイズの幅の感熱紙を記録紙Pとして用いるもので、ほぼ直方体の形状のハウジング3を有している。ハウジング3には、制御回路・駆動回路・駆動モータ・サーマルラインヘッド・プラテンなどが収納されている。
【0009】
ハウジング3には、カバー2が設けられている。カバー2は、ハウジング3の上面の2箇所2X、2Xで揺動可能に支持されている。図1中実線でカバー2を閉じた状態を、1点鎖線でカバー2を開いた状態を示す。
記録紙Pは、カバー2の支持部2X、2X間でカバー2とハウジング上面との間に形成された、記録紙挿入口4からプリンタ1内部へ導入され、画像形成が行なわれる。プリンタ1の内部に導入された記録紙Pは、その紙面に画像が形成されて、カバー2とハウジング前面との間に形成された記録紙排出口5から排紙される。
【0010】
カバー2には、プリンタ1の動作状態を示す表示器(LED)7、8、9が設けられている。表示器7は、電源のオン・オフ及びエラーが発生しているかどうかを点灯・消灯及び点滅により示す。表示器8は、データが受信可能であるかどうかを示す。表示器9は、内蔵バッテリに関する情報を表示する。
【0011】
また、ハウジング3の上面には、パワースイッチ6が設けられている。本実施例のプリンタ1においては、パワースイッチ6の操作方法(操作時間・回数)に応じて、プリンタ1の電源のオン・オフ、内蔵バッテリのリフレッシュ放電・充電といった動作モードの切換が行なわれるようになっている。CPU10は、ポートPort8に入力される信号SWにより、パワースイッチ6の操作状態を検知する。
【0012】
図2は、本実施例のプリンタ1の制御を説明するブロック図である。
プリンタ1の駆動を制御するCPU(中央処理装置)として、16メガバイトのアドレス空間を有する1チップCPU10が用いられている。
CPU10は、アドレスポート AB0〜AB23 および データポート DB0〜DB15 を介して、EPROM21、DRAM22、フォントROM23、G/A(ゲートアレイ)26と接続されている。
CPU10はアドレスポート AB0〜AB23 を介してアドレスバスABへアドレスを指定するアドレスデータを送出し、また、データポート DB0〜DB15 を介してデータをデータバスDBを介して送受信する。
【0013】
EPROM21にはプリンタ1の駆動を制御するプログラムや各種初期データが書き込まれている。DRAM22は、ホストコンピュータ等からプリンタ1に転送された印字データに基づいて画像出力のためのビットマップを展開するビットマップ領域BM、ビットマップ領域に展開されたデータをサーマルヘッドに転送する際のバッファとして用いられるバッファ領域BF、インターフェースからのデータを蓄える領域、その他各種処理の作業領域として使用されるダイナミックラムである。フォントROM23には、印字データをDRAM22上にビットマップ展開する際に使用する文字フォントデータが格納されている。
【0014】
また、CPU10は、ゲートアレイ(G/A)26を介して、インターフェイス(I/F)27とのデータのやりとりや、LED7、8、9の駆動などの処理を行う。
インターフェース(I/F)27は、ホストコンピュータなどから転送されてくる印字データを受信するためのプリンタインターフェース(セントロニクス社仕様準拠)で、8本のデータ線と3本の制御線を有している。
8本のデータ線PDATA1〜8は、ホストコンピュータからの印字データの転送に用いられ、3本の制御線は、印字データをプリンタに読み込ませる信号(/DATASTB)、プリンタがデータを受け取れないことを示す信号(BUSY)、プリンタがデータを読みとったことを示す信号(ACK)、の信号の転送にそれぞれ用いられる。なお、本明細書においては、ロー・アクティブの信号およびロー・アクティブの信号を受けるポートは、その信号あるいはポートを表す文字列の前に「/」を付して示している。
【0015】
CPU10のアナログポート AN2 には、バッテリ電圧(または外部電源電圧)の分圧 V_Batt が印加される。CPU10はポート AN2 に印加された電圧値のA/D変換値に基づきバッテリ電圧(外部電源電圧)を検知している。
【0016】
リセットIC24は、検知された電源電圧がある値以下になると、リセット信号(/RESET)をCPU10のポート/RESETに出力する。CPU10は、リセット信号を受けると、動作を停止する。従って、電源電圧が所定の電圧値以下になると、印字動作は停止することになる。
【0017】
カバー2には記録紙センサ25が設けられており、記録紙センサの出力信号が、CPU10のポートPTOPに入力される。記録紙センサ25は、カバー2を閉じた状態で記録紙搬送路に臨むように配置されており、記録紙搬送路の記録紙の有無を検知する。カバー2を開いた状態では、記録紙センサ25は常に記録紙を検出しないようになっている。従って、このセンサ25の出力信号をモニタすることにより、記録紙がセットされてプリント動作が可能な状態かどうかを知ることができる。
【0018】
X’tal15は水晶発振子で、CPU10のクロック入力端子に接続されて、CPU10内部の発振器と共に基準クロックの発生回路を構成する。基準クロックはCPU10のクロック出力端子φからゲートアレイG/A26に供給される。ゲートアレイG/A26で、基準クロックは分周されて、転送クロックCLKが生成される。CPU10は、基準クロックに基づいてEPROM21からプログラムを読み出し、DRAM22のビットマップ領域BMに印字データをビット展開する。
【0019】
本実施例のサーマルラインプリンタにおいては、一旦1ページ分の印字データを受信した後で、所定量ずつビット展開する構成となっている。ビットマップ領域BMにデータが展開されると、バッファ領域BFに転送される。バッファ領域BFのデータは、1ライン毎に所定量ずつ順次G/A26に内蔵されたパラレル・シリアル変換器に転送され、2分割された印字データDATA1およびDATA2として、転送クロックCLKに同期して、サーマルヘッド40に転送される。なお、ビットマップ領域BM、バッファ領域BFのサイズには特に制限はないが、本実施例においては、100印字行分のビットマップデータが格納できる容量に設定されている。
【0020】
なお、サーマルヘッド40の発熱抵抗体(図示せず)の発熱エネルギーは、CPU10の Port1〜Port4 から送出されるストローブ信号(詳しくは後述)により制御される。言い換えれば、印字データDATA1およびDATA2により駆動されるべき発熱抵抗体が特定され、印字データ転送後に印加されるストローブ信号によって当該発熱抵抗体が画像形成に必要なエネルギーを発生するよう駆動される。
【0021】
サーマルヘッド40には、温度検出のためのサーミスタ41が設けられている。サーミスタ41の出力電圧はCPU10のアナログ入力ポート AN1 に印加される。CPU10は、印加された値(アナログ値)のA/D変換値に基づいて、サーマルヘッド40の温度を検知している。
【0022】
また、CPU10はポート A・/A・B・/B からモータ駆動回路31へ、モータ32の駆動を制御するためのモータ駆動制御パルスを送出している。モータ駆動については後に詳述する。
【0023】
ポート PON1 は、スイッチ素子としてのFET52をオン・オフするための信号を送出する。ポート PON2 は、スイッチ素子としてのFET51をオン・オフするための信号を送出する。なお、外部電源(ACアダプタ)が接続されている時にはスイッチ素子としてのトランジスタ53がオンとなり、ポートPort7に入力される信号/ADPT.INが”L”となる。CPU10は、/ADPT.INのレベルに基づいて、外部電源が接続されている時にはFET51、外部電源が接続されていない時にはFET52を、選択的にオンする。
【0024】
パワースイッチ6がオンされると、FET51及びFET52がオンされ、DC−DCコンバータ50に外部電源またはバッテリから電圧が供給される。DC−DCコンバータ50は、CPU10、EPROM21、DRAM22、ROM23等の駆動電源Vcc(5ボルト)を出力する。
なお、一旦信号 PON1 および PON2 によってFET51・FET52が共にオフされると、DC−DCコンバータ50に電源が供給されなくなり、CPU10に駆動電圧Vccが供給されなくなる。従って、FET51・52がオフされた場合には、パワースイッチ6を再度操作して、再起動する。
【0025】
本プリンタ1は内蔵のニッケル−カドミウム電池100を駆動電源として、約 14.4 ボルトの電圧を得ている。また、本実施例のプリンタ1には電源コネクタ70が設けられており、ACアダプタ80が接続可能となっている。ACアダプタ80は、プリンタ1の駆動電圧を供給するための定電圧回路82に加えて、定電流回路81を有している。定電圧回路82は、コネクタ70、FET51を介して、DC−DCコンバータ50に接続される。
【0026】
定電流回路81は、コネクタ70を介して、充電制御回路60に接続される。プリンタ1側の制御によって、ACアダプタ80内部の定電流回路81により出力される電流を用いて内蔵バッテリ100の充電が行われる。
【0027】
本実施例のプリンタ1は、内蔵バッテリ(ニッケル−カドミウム電池)100のリフレッシュ・充電機能を有する。内蔵バッテリ100のリフレッシュ・充電制御は、充電制御回路60により行なわれる。CPU10のPort5より/CHARGE信号が充電制御回路60に出力されると、充電制御回路60は、定電流回路81からの電流により、バッテリ100の充電を開始する。充電の終了は、バッテリ100の電圧をモニタすることにより行なわれる。
【0028】
リフレッシュが行なわれる場合には、CPU10のPort6から/REFRESH信号が出力されて定電流回路81からの電流はバッテリ100には印加されなくなる。さらに、ACアダプタ80が接続されているにもかかわらず、FET51がオフFET52がオン状態とされ、バッテリ100のリフレッシュが実行される。
【0029】
本実施例のプリンタのサーマルヘッド40は図3に示すように2560ドット(2560個)の発熱抵抗体が横一列に並んだラインサーマルヘッドである。1番目から1280番目の発熱抵抗体に対応するビットマップデータ(オン・オフを示すデータ)はDATA1として、1281番目から2560番目の発熱抵抗体に対応するビットマップデータはDATA2として、CPU10によってバッファ領域BFからサーマルヘッド40へと送られる。なお、前述のように、サーマルヘッド40に送られるビットマップデータはシリアルデータとして、転送クロックCLKに同期して送られる。
【0030】
感熱紙への印字は、2560個の発熱抵抗体を4ブロックに分割し、タイミングをずらして2ブロックずつ同時に駆動している(2分割駆動)。発熱抵抗体の4つのブロックは、ストローブ信号/STB1〜/STB4を”L”にすることにより、印字データ(ドットデータ)に従って通電され発熱する。
【0031】
図3は、サーマルラインヘッド40の構成を表す概念図である。上述のように1番目から1280番目までの発熱抵抗体40Hに対応したデータDATA1がバッファ領域BFからサーマルラインヘッド40へ転送されてくると、データはサーマルラインヘッド40に設けられたシフトレジスタ40Aに転送クロックCLKに同期して格納される。1281番目から2560番目までの発熱抵抗体40Hに対応したデータDATA2がバッファ領域BFからサーマルラインヘッド40へ転送されてくると、データはシフトレジスタ40Bに格納される。サーマルヘッドの発熱抵抗体40Hとシフトレジスタ40Aおよび40Bの各ビットとは1対1に対応しており、シフトレジスタの内容が”1”ならば/STBnが”L”になったときに対応する発熱抵抗体が発熱し、内容が”0”ならば発熱抵抗体は発熱しない。
【0032】
図4は、サーマルヘッド40および駆動モータ32の制御を示すタイミングチャートである。なお、本実施例においては、モータ32の駆動制御パルス2パルスが、記録紙Pを画像1行分搬送するようになっている。すなわち、モータ駆動制御パルスAおよび/A、Bおよび/BのHとLの組み合わせが変わる毎にモータ32が記録紙を半ライン分搬送し、1行分の画像が形成される間に2種類の駆動制御パルスの組み合わせパターンが生成されるようになっている。
【0033】
ビットマップ領域BM上にビットマップが展開されると、バッファ領域BFへビットマップデータが転送され、さらにバッファ領域BFからサーマルヘッド40へ1行分の印字データがシリアルデータとして転送される。前述のように、まず、DATA1(発熱抵抗体の1個目から1280個目までに対応するデータ)をCLKに同期して転送する。
【0034】
DATA1の転送が完了すると、モータ32を駆動して記録紙の搬送を開始する。モータ32に印加されるパルスのパターンの変化に対応して、/STB1、/STB2を”L”にして発熱抵抗体(1〜1280個目)を所定時間TSTBの間駆動する。また、/STB1が”L”になると、シフトレジスタ40Bにデータを書き込んでもシフトレジスタ40Aの内容は書き換えられないよう構成されており、/STB1、/STB2が”L”になると、速やかにDATA2の転送が開始される。すなわち1個目から1280個目の発熱抵抗体を駆動している間にDATA2(発熱抵抗体1281個目〜2560個目に対応するデータ)をCLKに同期させて転送する。/STB1、/STB2による駆動が完了した時点ではすでにDATA2の転送も完了している。そこで、次のパターンびモータ32の駆動制御パルスが出力される。駆動制御パルスの印加に対応して、所定時間TSTBの間/STB3、/STB4を”L”にすることにより残りの発熱抵抗体(発熱抵抗体1281個目〜2560個目)を駆動する。こうして/STB1〜/STB4を所定時間TSTBずつ”L”とすることにより、サーマルラインヘッドの一列の発熱抵抗体の駆動が完了する(1行分の画像形成が終了する
)。
【0035】
モータ駆動制御パルス A・/A・B・/B は、詳しくは後述するが割り込み処理によってそのパターンが変化させられる。また、モータ駆動制御パルスのパターンの変更と同時にストローブパルス/STB1および/STB2(あるいは/STB3および/STB4)が”L”とされると共に、データDATA2(あるいはDATA1)の転送が実行される。図4においては、1個目から1280個目の発熱抵抗体が駆動されている間は、A=”H”、/A=”L”、B=”L”、/B=”H” というパターンであり、この間にDATA2の転送が行われる。次に、モータ駆動制御パルスは A=”H”、/A=”L”、B=”H”、/B=”L” というパターンに変わり、同時に1281個目から2560個目の発熱抵抗体が駆動される。この時DATA1の転送が行われる。以降、同様にして、モータ駆動制御パルスのパターンが更新され、同時に4分割された発熱抵抗体の2ブロックが駆動され、さらに、次に駆動される発熱抵抗体に対応したデータの転送が行われる。
【0036】
図5は、ビットマップデータの転送過程を示す図である。
前述の通り、プリンタ1に入力された画像データは、DRAM22のビットマップ領域BMにビット展開される。ビットマップ領域BMのデータは所定の順序でバッファ領域BFに転送される。本実施例のプリンタにおいては、ビットマップ領域BMは100行分のビットマップデータを記憶するようになっており、100行分のデータがすべてバッファ領域BFに転送された後に、次の100行分の画像データのビットマップ展開が実行される。
【0037】
CPU10は、ビットマップ領域BMのデータを書き込む際に、図示しないDRAM22のポインタ格納領域に格納されたバッファ領域BFのアドレスを示すライトポインタW.P.を参照し、ビットマップ領域BMから出力されるデータは、ライトポインタW.P.により指定されるアドレスに順次書き込まれる。ライトポインタW.P.の値は、指定したアドレスにデータが書き込まれると、次の書き込みアドレスへと更新される。また、CPU10は、バッファ領域BFからサーマルラインヘッド40(レジスタ40Aおよび40B)へビットマップデータを転送する際に、上述のポインタ格納領域に格納されたバッファ領域BFの読み出しアドレスを示すリードポインタR.P.を参照する。バッファ領域BFの、リードポインタR.P.により指定されるアドレスから読み出されたデータは、DATA1、DATA2としてサーマルラインヘッド40へ順次転送される。リードポインタR.P.の値は、指定したアドレスのデータが読み出されると、次の読み出しアドレスへと更新される。
【0038】
なお、ビットマップ領域BMはデータがすべて転送された後に次のデータが記録される。一方、バッファ領域BFはFIFO制御されており、先に書き込まれたデータから順に読み出され、読み出しの終了した領域には、新たなデータがビットマップ領域BMから転送される。
【0039】
図6は、本実施例のサーマルラインプリンタの制御を示すメインフローチャートである。本実施例においては、画像形成処理中にバッファ領域BFのデータが無くならないように、バッファ領域BFからサーマルラインヘッド40(レジスタ40Aおよび40B)データ転送のタイミングが制御される。バッファ領域BFからサーマルラインヘッド40(レジスタ40Aおよび40B)へのデータ転送は、上述のように、DATA1とDATA2が交互に転送される。そこで、バッファ領域BFのデータが少なくなると、DATA1およびDATA2の転送の間隔を引き延ばすことにより、バッファ領域BFからレジスタ40Aおよび40Bへのデータの転送量がビットマップメモリBMからバッファ領域BFへのデータ転送量を下回るように制御し、バッファ領域BFのデータ量がゼロにならないように制御している。
【0040】
電源が投入されると、イニシャライズ・メモリテストが行われる(S1〜S5)。この際、後述する記録紙頭出し処理において参照されるフラグFLAGに0をセットする(S4)。メモリエラーが発見されると(Y:S7)、印字動作を行わず、エラー表示を行って(S9)、動作を停止する。
【0041】
S11で記録紙センサ25が記録紙を検出していれば、S13で記録紙の頭出し(記録紙を印字位置まで搬送)を行い、インターフェースにデータが着信するまでは、S11〜S15の処理が繰り返される。なお、S13の記録紙の頭出しは、初めて記録紙が検出された場合にのみ記録紙を所定の印字位置まで搬送するものであり、一旦頭出しが行われれば、それ以降はこのステップ(S13)では何も行われず、次のS15へ処理は進む。記録紙頭出し処理については後に詳述する。
【0042】
データがインターフェースI/Fに着信すると(Y:S15)、再度記録紙の存在を調べる(S17)。ここで記録紙が検出されると、頭出し処理が行われる(S19)。なお、S13と同様、頭出し処理は、初めて記録紙が検出された場合にのみ記録紙を印字位置まで搬送するもので、既に頭出し処理が実行されており、記録紙が所定位置まで搬送されている場合には、何もせずに次のステップへ進む。
【0043】
1ページ分のデータの受信が終了するまでS11〜S23の処理が繰り返される。1ページ分のデータを受信すると、CPU70は印字データのビットマップメモリBMへのビットマップ展開を開始する(S24)。ビットマップメモリBMにビットマップが展開されると、データはバッファBFに転送され、さらにバッファBFから1行分のデータがレジスタ40Aに転送される。なお、ビットマップメモリBMへのビットマップ展開、ビットマップメモリBMからバッファBFへのデータ転送はS29以降、印字処理が実行されている間随時行われる。次いで、記録紙検出・頭出しが行われる(S25、S27)。ここでは、記録紙が検出されて印字位置に搬送された状態にならない限り処理は先へは進まない。なお、S27の頭出し処理も、上述のS13およびS19の頭出し処理と同様、初めて記録紙を検出した場合にのみ記録紙の搬送処理が行われる。
【0044】
1ページ分のデータが着信し、記録紙が印字位置まで搬送されると、まずDATA1がレジスタ40Aに転送される(S29)。次に、モータ34の駆動制御パルスのパターンを更新するモータ駆動割り込み処理を実行するためのタイマをスタートする(S39)。モータ駆動割り込み処理においては、モータ駆動制御パルスの更新、ストローブパルスの制御、データ転送の制御等が行われる(詳しくは後述)。
【0045】
印字が終了すると(YES:S41)、モータ駆動割り込み処理用のタイマを停止し、画像形成の終わった記録紙を排出して(S45)、次ページの印字処理に備える(S11)。
【0046】
図7は、図6のメインフローチャートのS13、S19およびS27でコールされる記録紙頭出し処理の詳細を示すフローチャートである。
記録紙頭出し処理は、記録紙センサ25が記録紙を検出しており、記録紙が印字位置まで搬送されていない場合にのみ、記録紙を搬送する処理である。まずS81にて記録紙が搬送されたか否かを表すフラグFLAGが1か0かを見る。FLAGは電源投入時(図6のS4)および記録紙排出後(S46)には0に設定され、その間の処理においては、記録紙の頭出しが行われた場合にのみ1に設定される。
【0047】
S81でFLAG=1と判定された場合には、既に記録紙の頭出しは行われており、なにも行われないままに処理を終える。FLAG=0と判定された場合には、印字領域の先端がプリンタの印字位置に到達するまで記録紙が搬送される(S82)。記録紙の搬送が終わると、FLAGを1にセットし、処理を終了する。
【0048】
図8はモータ駆動割り込み処理を示すフローチャートである。
S61にてモータ駆動制御パルスが出力される。モータ駆動制御パルスは本割り込み処理が実行される毎にそのパターンが更新される。言い換えれば、本割り込み処理が実行される度に記録紙が半ライン分ずつ搬送される。
【0049】
次に、ストローブパルスが出力される(S62)。本処理は記録紙が半ライン分搬送される毎に行われる処理であり、従って、S62においては4ブロックに分割された発熱抵抗体のうち2ブロックに対応するストローブパルスが出力される。他の2ブロックに対応するストローブパルスは、次に本割り込み処理が実行される際に出力される。
【0050】
ストローブパルスが出力されると、ストローブパルスを停止するための割り込み処理が実行されるまでの時間(所定時間:TSTB)をタイマにセットし、ストローブパルス用割り込み処理の割り込みを許可する。こうして全発熱素子の半分が駆動されている間に、他の発熱素子を駆動するためのデータをバッファBFからレジスタ40Aまたは40Bに転送する(S64)。データ転送後に、バッファBFにおけるデータの残量Xを検出し(S65)、残量Xに応じて、次に本処理(モータ駆動割り込み処理)が実行されるまでの時間間隔を決定する(S66)。すなわち、本処理が行われる度にデータがバッファBFからサーマルラインヘッド40へ転送されるため、本処理が実行される時間間隔を変更することにより、バッファBFから転出されるデータ量を調整している。決定された時間間隔をタイマにセットして(S67)、本処理を終了する。
【0051】
なお、バッファ領域BFのデータの残量は次のようにして計算される。
図5において、バッファ領域BFのスタートアドレスをS.A.とし、エンドアドレスをE.A.とする(S.A.<E.A.とする)。R.P.によって示される読み出しアドレスがW.P.によって示される書き込みアドレスより小さい場合には、データ残量Xは、次式(1)
X= W.P. − R.P. ・・・・・・(1)
により得られる。R.P.によって示される読み出しアドレスがW.P.によって示される書き込みアドレスより大きい場合には、データ残量Xは、次式(2)
X=( W.P.−S.A.)+( E.A.−R.P.) ・・・(2)
により求められる。
【0052】
次に、データ残量に応じて、次のモータ駆動割り込み処理が実行されるまでの時間間隔が決定される。時間間隔は、残量Xの関数として、
時間間隔 =f(X) ・・・・・・・・・(3)
と表される。関数fは、プリンタの仕様に応じて所定の関数が設定される。
【0053】
図9は、モータ駆動割り込み処理の時刻時間間隔を決定する関数の一例を、フローチャートの形式で示したものである。
データ残量Xが、バッファ領域BFの全容量の25%未満、25%以上50%未満、50%以上の場合に分け、それぞれの場合でパルス幅を異なる値としている。フローチャート中、1<K1<K2である。
また、式(3)は、次式(4)の定義を用いて、
R=X/バッファ領域BFの容量 ・・・・・・・・・(4)
次のようにRの関数として記述することもできる。これによれば、図9のフローチャートから求められる次のモータ駆動割り込み処理が実行されるまでの時間間隔f(R)は、基準時間間隔をSTIとすると、次式(5)のように表されることになる。
f(R)=STI (R<25%)
f(R)=STI×K1 (25≦R<50%)
f(R)=STI×K2 (50≦R) ・・・・・・(5)
【0054】
例えば、K1=2、K2=3とすることにより、データ残量X(すなわちその百分率R)が少なくなってきた場合に、CPU10の負担を相対的に減らすことができる。印字1行あたりの所要時間が増加し、かつCPU10の負担が減るため、その間のCPU10の処理能力にゆとりができ、バッファ領域BFからサーマルラインヘッド40へのデータの転送量に十分に対応できる速度でビットマップ展開の実行が可能となる。
【0055】
図10は、ストローブパルスを停止するための割り込み処理を示すフローチャートである。
図8のモータ駆動割り込み処理においてストローブパルスが出力され、同処理のS63で設定されたストローブパルス幅に対応する時間が経過すると、図10のストローブパルス用割り込み処理が実行されて、パルス出力を終了する(S71)。さらに、S72でストローブパルス用割り込み処理の割り込みを禁止する。本処理の割り込みは図8のS63で許可される。このように制御することにより、ストローブパルス用割り込み処理はストローブパルスが出力されている時にのみ実行可能となる。
【0056】
以上のように、本発明のサーマルラインヘッドプリンタおよびサーマルラインヘッド駆動方法によれば、画像形成処理が進行してCPUの負担が増えても、CPUの処理時間にゆとりをもたせるような制御が行われるため、印字処理を途中で中断することなく、かつ、形成画像の品質を低下させることなく、画像形成処理を実行することが可能である。
【図面の簡単な説明】
【図1】本発明の実施例であるサーマルラインヘッドプリンタの外観を示す斜視図である。
【図2】サーマルラインヘッドプリンタの制御を説明するためのブロック図である。
【図3】サーマルヘッドの構成を示す図である。
【図4】印字制御を説明するためのタイミングチャートである。
【図5】ビットマップデータの転送を説明する概念図である。
【図6】サーマルラインヘッドプリンタの駆動制御を示すフローチャートである。
【図7】サーマルラインヘッドプリンタの記録紙頭出し処理を示すフローチャートである。
【図8】モータ駆動割り込み処理を示すフローチャートである。
【図9】モータ駆動割り込み処理の実行間隔を決定する処理の一例を示すフローチャートである。
【図10】ストローブパルス用割り込み処理を示すフローチャートである。
【符号の説明】
1 プリンタ
2 カバー
3 ハウジング
10 CPU
22 DRAM
BM ビットマップ領域
BF バッファ領域
40 サーマルヘッド
40A、40B レジスタ[0001]
[Industrial applications]
The present invention relates to a thermal line printer that forms an image using a thermal line head and a driving method thereof.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, image information is developed into a bitmap, and image formation is performed line by line on a thermal paper using a thermal line head in which the number of heating resistors corresponding to one line of the developed bitmap are linearly arranged. Thermal line printers for performing such operations are known. Normally, in such a printer, input image information is developed into a bitmap and stored in a memory. Then, the bitmap stored in the memory is transferred to the output buffer, and the bitmap data for one line is transferred from the output buffer to the register of the thermal line head for printing. Normally, a bitmap is developed in a memory for each predetermined amount of image information, and the bitmap data written in the memory is transferred to a buffer as needed.
[0003]
[Problems to be solved by the invention]
In the printer as described above, as the image forming process progresses, the load on the CPU increases, and the speed of bitmap development may be slower than the speed of image formation. That is, the amount of data transferred from the buffer to the thermal line head may exceed the amount of data transferred to the buffer. In this case, the image data is temporarily lost in the buffer, and the image forming process cannot be continued.
[0004]
Normally, the thermal line printer forms an image by coloring the heat-sensitive paper line by line while conveying the recording paper. However, when the data in the buffer runs out, the printing operation is temporarily interrupted. If the printing operation is interrupted, the next data is transferred to the buffer, and when the image formation is restarted, the pitch between the printing lines before and after the stop is shifted or the printing is stopped. There has been a problem that the quality of an image is deteriorated, such as a change in print density due to a decrease in the temperature of the thermal line head. An object of the present invention is to prevent image quality degradation as described above.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, a thermal line printer of the present invention forms an image on recording paper using a thermal line head having a plurality of heating resistors arranged in a line, Expansion means for expanding the bitmap data, storage means for storing the bitmap data, and storage means for storing the bitmap data stored in the storage means for each predetermined amount corresponding to the plurality of heating resistors. To the thermal line head from First A data transfer unit, a detection unit that detects an amount of data stored in the storage unit, and a data amount stored in the storage unit. First Cycle determination means for determining a data transfer cycle by the data transfer means; Storage means for storing the bitmap data included in the expansion means, and second data transfer means for transferring the bitmap data stored in the storage means to the storage means; With The cycle setting means may determine that the transfer speed of the bitmap data transferred from the storage means to the thermal line head by the first transfer means is from the storage means to the storage means by the second data transfer means. The period is set so as not to exceed the transfer speed of the bitmap data transferred to the means. It is characterized by doing.
[0006]
Further, in a thermal line printer driving method according to the present invention, in a thermal line printer for transferring an image to a thermal line head having a plurality of heating resistors arranged linearly and forming an image on recording paper, the image information is bit-mapped. Expand as data, Expanded The bitmap data is stored in storage means. Transfer Storage Let , By the data transfer means, The bitmap data stored in the storage unit is transferred from the storage unit to the thermal line head at predetermined intervals corresponding to the plurality of heating resistors, and the amount of data stored in the storage unit is detected. And setting a data transfer cycle of the data transfer means according to the amount of data stored in the storage means. Wherein the transfer speed of the bitmap data transferred from the storage means to the thermal line head does not exceed the transfer speed of the bitmap data transferred from the storage means to the storage means. Set the data transfer cycle It is characterized by:
[0007]
【Example】
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0008]
FIG. 1 is a perspective view showing the appearance of a
[0009]
The
The recording paper P is introduced into the inside of the
[0010]
The
[0011]
A
[0012]
FIG. 2 is a block diagram illustrating control of the
As a CPU (central processing unit) for controlling the driving of the
The CPU 10 is connected to an
The CPU 10 sends address data specifying an address to the address bus AB via the address ports AB0 to AB23, and transmits and receives data via the data bus DB via the data ports DB0 to DB15.
[0013]
A program for controlling the driving of the
[0014]
Further, the CPU 10 exchanges data with the interface (I / F) 27 via the gate array (G / A) 26 and performs processing such as driving the
An interface (I / F) 27 is a printer interface (conforming to Centronics specifications) for receiving print data transferred from a host computer or the like, and has eight data lines and three control lines. .
Eight data lines PDATA1 to PDATA8 are used for transfer of print data from the host computer, and three control lines are used for a signal (/ DATASTB) for reading the print data to the printer and for not receiving the data. Signal (BUSY), and a signal (ACK) indicating that the printer has read data, respectively. In this specification, a low-active signal and a port that receives the low-active signal are indicated by adding “/” before a character string representing the signal or the port.
[0015]
The divided voltage V_Batt of the battery voltage (or the external power supply voltage) is applied to the analog port AN2 of the CPU 10. The CPU 10 detects the battery voltage (external power supply voltage) based on the A / D converted value of the voltage value applied to the port AN2.
[0016]
The
[0017]
The
[0018]
[0019]
The thermal line printer according to the present embodiment is configured such that, after print data for one page is received once, bits are developed by a predetermined amount. When data is expanded in the bitmap area BM, it is transferred to the buffer area BF. The data in the buffer area BF is sequentially transferred by a predetermined amount for each line to a parallel / serial converter incorporated in the G /
[0020]
The heating energy of the heating resistor (not shown) of the
[0021]
The
[0022]
Further, the CPU 10 sends a motor drive control pulse for controlling the drive of the
[0023]
The port PON1 sends out a signal for turning on / off the FET 52 as a switch element. The port PON2 sends out a signal for turning on / off the
[0024]
When the
Once the
[0025]
The
[0026]
The constant
[0027]
The
[0028]
When refreshing is performed, the / REFRESH signal is output from
[0029]
As shown in FIG. 3, the
[0030]
For printing on thermal paper, 2560 heating resistors are divided into four blocks, and two blocks are simultaneously driven at different timings (two-part drive). By setting the strobe signals / STB1 to / STB4 to "L", the four blocks of the heating resistor are energized according to the print data (dot data) and generate heat.
[0031]
FIG. 3 is a conceptual diagram illustrating the configuration of the
[0032]
FIG. 4 is a timing chart showing control of the
[0033]
When the bitmap is developed on the bitmap area BM, the bitmap data is transferred to the buffer area BF, and one line of print data is transferred from the buffer area BF to the
[0034]
When the transfer of DATA1 is completed, the
).
[0035]
The pattern of the motor drive control pulses A, / A, B, / B is changed by interrupt processing, as will be described in detail later. At the same time as changing the pattern of the motor drive control pulse, the strobe pulses / STB1 and / STB2 (or / STB3 and / STB4) are set to "L", and the transfer of data DATA2 (or DATA1) is executed. In FIG. 4, while the first to 1280 heating resistors are being driven, A = “H”, / A = “L”, B = “L”, and / B = “H”. This is a pattern during which DATA2 is transferred. Next, the motor drive control pulse changes to the following pattern: A = "H", / A = "L", B = "H", / B = "L", and at the same time, the 1281st to 2560th heating resistors Is driven. At this time, the transfer of DATA1 is performed. Thereafter, similarly, the pattern of the motor drive control pulse is updated, two blocks of the heating resistor divided into four parts are driven at the same time, and data transfer corresponding to the next driven heating resistor is performed. .
[0036]
FIG. 5 is a diagram illustrating a transfer process of the bitmap data.
As described above, the image data input to the
[0037]
When writing data in the bitmap area BM, the CPU 10 writes the write pointer W.A. indicating the address of the buffer area BF stored in the pointer storage area of the DRAM 22 (not shown). P. , And the data output from the bitmap area BM is the write pointer W. P. Are sequentially written to the address specified by. Write pointer W. P. Is updated to the next write address when data is written to the specified address. Further, when transferring the bitmap data from the buffer area BF to the thermal line head 40 (
[0038]
In the bitmap area BM, the next data is recorded after all the data is transferred. On the other hand, the buffer area BF is subjected to FIFO control, and is sequentially read from the data written first, and new data is transferred from the bitmap area BM to the area where the reading has been completed.
[0039]
FIG. 6 is a main flowchart showing control of the thermal line printer of the present embodiment. In this embodiment, the timing of data transfer from the buffer area BF to the thermal line head 40 (
[0040]
When the power is turned on, an initialization memory test is performed (S1 to S5). At this time, 0 is set to a flag FLAG which is referred to in a recording paper cueing process described later (S4). When a memory error is found (Y: S7), the printing operation is not performed, an error is displayed (S9), and the operation is stopped.
[0041]
If the
[0042]
When the data arrives at the interface I / F (Y: S15), the presence of the recording paper is checked again (S17). Here, when a recording sheet is detected, a cueing process is performed (S19). Note that, similarly to S13, the cueing processing is to convey the recording paper to the printing position only when the recording paper is detected for the first time. Since the cueing processing has already been executed, the recording paper is conveyed to the predetermined position. If not, proceed to the next step without doing anything.
[0043]
The processing of S11 to S23 is repeated until the reception of the data of one page is completed. When the data for one page is received, the
[0044]
When one page of data arrives and the recording paper is conveyed to the printing position, first, DATA1 is transferred to the
[0045]
When the printing is completed (YES: S41), the timer for the motor drive interrupt processing is stopped, and the recording paper on which the image formation has been completed is discharged (S45), and the printing process for the next page is prepared (S11).
[0046]
FIG. 7 is a flowchart showing details of the recording paper cueing process called in S13, S19 and S27 of the main flowchart of FIG.
The recording paper cueing process is a process of transporting the recording paper only when the
[0047]
If it is determined in step S81 that FLAG = 1, the cueing of the recording paper has already been performed, and the process ends without any further processing. If it is determined that FLAG = 0, the recording paper is transported until the leading end of the printing area reaches the printing position of the printer (S82). When the conveyance of the recording paper is completed, FLAG is set to 1 and the processing is terminated.
[0048]
FIG. 8 is a flowchart showing the motor drive interrupt processing.
At S61, a motor drive control pulse is output. The pattern of the motor drive control pulse is updated each time this interrupt processing is executed. In other words, each time this interrupt processing is executed, the recording paper is conveyed by half a line.
[0049]
Next, a strobe pulse is output (S62). This process is performed every time the recording paper is conveyed by a half line. Therefore, in S62, a strobe pulse corresponding to two blocks of the heating resistor divided into four blocks is output. The strobe pulse corresponding to the other two blocks is output when the next interrupt processing is executed.
[0050]
When the strobe pulse is output, the time until interrupt processing for stopping the strobe pulse is executed (predetermined time: TSTB) is set in the timer, and interruption of the strobe pulse interrupt processing is permitted. While half of all the heating elements are being driven in this way, data for driving the other heating elements is transferred from the buffer BF to the
[0051]
The remaining amount of data in the buffer area BF is calculated as follows.
In FIG. 5, the start address of the buffer area BF is S.P. A. And the end address is E. A. (S.A. <E.A.). R. P. The read address indicated by W. P. If the write address is smaller than the write address indicated by
X = W. P. -R .; P. ... (1)
Is obtained by R. P. The read address indicated by W. P. If the write address is larger than the write address indicated by
X = (WP-SA) + (EA-RP) (2)
Required by
[0052]
Next, a time interval until the next motor drive interruption process is executed is determined according to the remaining data amount. The time interval is a function of the remaining amount X,
Time interval = f (X) (3)
It is expressed as As the function f, a predetermined function is set according to the specifications of the printer.
[0053]
FIG. 9 is a flowchart illustrating an example of a function for determining the time interval of the motor drive interrupt processing.
The remaining data amount X is divided into cases where the remaining capacity is less than 25%, 25% or more and less than 50%, and 50% or more of the total capacity of the buffer area BF, and the pulse width is different in each case. In the flowchart, 1 <K1 <K2.
Equation (3) is obtained by using the definition of the following equation (4).
R = X / capacity of buffer area BF (4)
It can also be described as a function of R as follows: According to this, the time interval f (R) obtained from the flowchart of FIG. 9 until the next motor drive interrupt process is executed is represented by the following equation (5), where STI is the reference time interval. Will be.
f (R) = STI (R <25%)
f (R) = STI × K1 (25 ≦ R <50%)
f (R) = STI × K2 (50 ≦ R) (5)
[0054]
For example, by setting K1 = 2 and K2 = 3, the burden on the CPU 10 can be relatively reduced when the remaining data amount X (that is, the percentage R) decreases. Since the required time per line of printing increases and the load on the CPU 10 decreases, the processing capacity of the CPU 10 during that time can be increased, and the speed can sufficiently cope with the amount of data transferred from the buffer area BF to the
[0055]
FIG. 10 is a flowchart showing an interrupt process for stopping the strobe pulse.
When a strobe pulse is output in the motor drive interrupt processing of FIG. 8 and a time corresponding to the strobe pulse width set in S63 of the same processing elapses, the strobe pulse interrupt processing of FIG. 10 is executed, and the pulse output ends. (S71). Further, in S72, the interruption of the strobe pulse interruption processing is prohibited. The interruption of this process is permitted in S63 of FIG. By performing such control, the strobe pulse interrupt processing can be executed only when the strobe pulse is being output.
[0056]
As described above, according to the thermal line head printer and the thermal line head driving method of the present invention, even when the image forming process progresses and the load on the CPU increases, control is performed so as to allow the CPU processing time to relax. Therefore, the image forming process can be executed without interrupting the printing process and without deteriorating the quality of the formed image.
[Brief description of the drawings]
FIG. 1 is a perspective view showing the appearance of a thermal line head printer according to an embodiment of the present invention.
FIG. 2 is a block diagram for explaining control of a thermal line head printer.
FIG. 3 is a diagram illustrating a configuration of a thermal head.
FIG. 4 is a timing chart for explaining print control.
FIG. 5 is a conceptual diagram illustrating the transfer of bitmap data.
FIG. 6 is a flowchart illustrating drive control of the thermal line head printer.
FIG. 7 is a flowchart illustrating recording paper cueing processing of the thermal line head printer.
FIG. 8 is a flowchart showing a motor drive interruption process.
FIG. 9 is a flowchart illustrating an example of a process for determining an execution interval of a motor drive interrupt process.
FIG. 10 is a flowchart showing a strobe pulse interrupt process.
[Explanation of symbols]
1 Printer
2 Cover
3 Housing
10 CPU
22 DRAM
BM bitmap area
BF buffer area
40 thermal head
40A, 40B register
Claims (11)
画像情報をビットマップデータとして展開する展開手段と、
前記ビットマップデータを格納する記憶手段と、
前記記憶手段に格納されたビットマップデータを、前記複数の発熱抵抗体に対応した所定量毎に前記記憶手段から前記サーマルラインヘッドへ転送する第1のデータ転送手段と、
前記記憶手段に格納されているデータの量を検知する検知手段と、
前記記憶手段に格納されているデータ量に応じて前記第1のデータ転送手段による第1のデータ転送の周期を設定する周期設定手段と、
前記展開手段が有した前記ビットマップデータを格納する格納手段と、
前記格納手段に格納されている前記ビットマップデータを前記記憶手段に転送する第2のデータ転送手段と、を有し、
前記周期設定手段が、前記第1の転送手段によって前記記憶手段から前記サーマルラインヘッドに転送される前記ビットマップデータの転送速度が、前記第2のデータ転送手段によって前記格納手段から前記記憶手段へ転送される前記ビットマップデータの転送速度を越えないよう、前記周期を設定することを特徴とする、サーマルラインプリンタ。Using a thermal line head having a plurality of heating resistors arranged in a line, to form an image on recording paper,
Expanding means for expanding image information as bitmap data;
Storage means for storing the bitmap data;
First data transfer means for transferring the bitmap data stored in the storage means from the storage means to the thermal line head for each predetermined amount corresponding to the plurality of heating resistors;
Detecting means for detecting the amount of data stored in the storage means;
A period setting means for setting a first cycle of the data transfer by the first data transfer means in response to the amount of data stored in the storage means,
Storage means for storing the bitmap data possessed by the expansion means,
Have a, a second data transfer means for transferring said storage means the bit map data stored in said storage means,
The cycle setting means may determine that the transfer speed of the bitmap data transferred from the storage means to the thermal line head by the first transfer means is from the storage means to the storage means by the second data transfer means. A thermal line printer , wherein the period is set so as not to exceed a transfer speed of the bitmap data to be transferred .
画像情報をビットマップデータとして展開する展開手段と、 Expanding means for expanding image information as bitmap data;
前記ビットマップデータを格納する記憶手段と、 Storage means for storing the bitmap data;
前記記憶手段に格納されたビットマップデータを、前記複数の発熱抵抗体に対応した所定量毎に前記記憶手段から前記サーマルラインヘッドへ転送する第1のデータ転送手段と、 First data transfer means for transferring the bitmap data stored in the storage means from the storage means to the thermal line head for each predetermined amount corresponding to the plurality of heating resistors;
前記記憶手段に格納されているデータの量を検知する検知手段と、 Detecting means for detecting the amount of data stored in the storage means;
前記記憶手段に格納されているデータ量に応じて前記第1のデータ転送手段による第1のデータ転送の周期を設定する周期設定手段と、 Cycle setting means for setting a cycle of the first data transfer by the first data transfer means according to the amount of data stored in the storage means;
前記展開手段が有した前記ビットマップデータを格納する格納手段と、 Storage means for storing the bitmap data possessed by the expansion means,
前記格納手段に格納されている前記ビットマップデータを前記記憶手段に所定量ずつ転送する第2のデータ転送手段と、を有し、 A second data transfer unit for transferring the bitmap data stored in the storage unit to the storage unit by a predetermined amount,
前記周期設定手段が、前記記憶手段に格納される前記ビットマップデータが無くならないように前記周期を増減することを特徴とする、サーマルラインプリンタ。 The cycle setting means increases or decreases the cycle so that the bitmap data stored in the storage means is not lost.
前記周期設定手段は、前記駆動手段による前記感熱紙の駆動速度を設定することにより、前記第1のデータ転送の周期を設定することを特徴とする、請求項1から請求項3のいずれかに記載のサーマルラインプリンタ。The thermal line printer further includes a driving unit that drives the recording paper to be transported, and a heating control unit that drives the heating resistor based on the transferred bitmap data in synchronization with the operation of the driving unit. And
4. The apparatus according to claim 1 , wherein the cycle setting unit sets a cycle of the first data transfer by setting a driving speed of the thermal paper by the driving unit. 5. The thermal line printer as described.
画像情報をビットマップデータとして展開し、
展開した前記ビットマップデータを記憶手段に転送して格納させ、
データ転送手段によって、前記記憶手段に格納されたビットマップデータを、前記複数の発熱抵抗体に対応した所定量毎に前記記憶手段から前記サーマルラインヘッドへ転送し、
前記記憶手段に格納されているデータの量を検知し、
前記記憶手段に格納されているデータ量に応じて前記データ転送手段によるデータ転送の周期を設定するものであって、前記記憶手段から前記サーマルラインヘッドに転送される前記ビットマップデータの転送速度が、前記格納手段から前記記憶手段へ転送される前記ビットマップデータの転送速度を越えないよう、前記データ転送の周期を設定すること、を特徴とする、サーマルラインプリンタの駆動方法。In a thermal line printer which transfers an image to a thermal line head having a plurality of heating resistors arranged in a line and forms an image on recording paper,
Expand image information as bitmap data,
Is stored by transferring the bit map data developed in the storage means,
Data transfer means for transferring the bitmap data stored in the storage means from the storage means to the thermal line head for each predetermined amount corresponding to the plurality of heating resistors;
Detecting the amount of data stored in the storage means,
Setting a data transfer cycle of the data transfer means in accordance with an amount of data stored in the storage means, wherein a transfer speed of the bitmap data transferred from the storage means to the thermal line head is And setting a cycle of the data transfer so as not to exceed a transfer speed of the bitmap data transferred from the storage means to the storage means .
画像情報をビットマップデータとして展開し、 Expand image information as bitmap data,
展開した前記ビットマップデータを記憶手段に転送して格納させ、 The developed bitmap data is transferred to storage means and stored,
データ転送手段によって、前記記憶手段に格納されたビットマップデータを、前記複数の発熱抵抗体に対応した所定量毎に前記記憶手段から前記サーマルラインヘッドへ転送し、 Data transfer means for transferring the bitmap data stored in the storage means from the storage means to the thermal line head for each predetermined amount corresponding to the plurality of heating resistors;
前記記憶手段に格納されているデータの量を検知し、 Detecting the amount of data stored in the storage means,
前記記憶手段に格納されているデータ量に応じて前記データ転送手段によるデータ転送の周期を設定するものであって、前記記憶手段に格納される前記ビットマップデータが無くならないように前記周期を増減すること、を特徴とする、サーマルラインプリンタの駆動方法。 Setting a cycle of data transfer by the data transfer means in accordance with an amount of data stored in the storage means, and increasing or decreasing the cycle so that the bitmap data stored in the storage means is not lost; A method for driving a thermal line printer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29172995A JP3586324B2 (en) | 1994-10-14 | 1995-10-13 | Thermal line printer and driving method of thermal line printer |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6-276123 | 1994-10-14 | ||
JP27612394 | 1994-10-14 | ||
JP29172995A JP3586324B2 (en) | 1994-10-14 | 1995-10-13 | Thermal line printer and driving method of thermal line printer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08207344A JPH08207344A (en) | 1996-08-13 |
JP3586324B2 true JP3586324B2 (en) | 2004-11-10 |
Family
ID=26551759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29172995A Expired - Fee Related JP3586324B2 (en) | 1994-10-14 | 1995-10-13 | Thermal line printer and driving method of thermal line printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3586324B2 (en) |
-
1995
- 1995-10-13 JP JP29172995A patent/JP3586324B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH08207344A (en) | 1996-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4123739B2 (en) | Identification system and identification method for printing recording material container | |
KR100475847B1 (en) | Access to printing material container | |
US8164608B2 (en) | Thermal printer | |
JP4066980B2 (en) | Printing recording material container | |
JPH07329341A (en) | Method and apparatus for controlling printing and image forming apparatus | |
JPH07329338A (en) | Thermal printer and driving method therefor | |
JP3586324B2 (en) | Thermal line printer and driving method of thermal line printer | |
US5570464A (en) | Controller for a recording apparatus | |
JP3345176B2 (en) | Mode control device | |
US6404452B1 (en) | Auxiliary control device for managing printing in a thermal printer | |
JP3515640B2 (en) | Thermal printer and thermal printer driving method | |
JP3302146B2 (en) | Printer device and head drive circuit thereof | |
JP3357972B2 (en) | Data DMA transfer circuit for thermal transfer line printer | |
JPH0852894A (en) | Method and apparatus for driving thermal head | |
JP7165503B2 (en) | Thermal printer and print control method | |
JP2500136B2 (en) | Double memory type dot printer | |
JP2002137460A (en) | Print system and storage control method | |
JPH0343990B2 (en) | ||
JP4872996B2 (en) | Identification system and identification method for printing recording material container | |
JP4240139B2 (en) | Printing recording material container set | |
JP2767245B2 (en) | Printhead print control method | |
JPH0325115B2 (en) | ||
JPH04201467A (en) | Image forming apparatus | |
JPH0486063A (en) | Recording method for image forming device | |
JPH0858135A (en) | Thermal sensitive head-driving device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040428 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040506 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040624 |
|
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: 20040727 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040806 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080813 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090813 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090813 Year of fee payment: 5 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090813 Year of fee payment: 5 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090813 Year of fee payment: 5 |
|
R370 | Written measure of declining of transfer procedure |
Free format text: JAPANESE INTERMEDIATE CODE: R370 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090813 Year of fee payment: 5 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100813 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100813 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110813 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110813 Year of fee payment: 7 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110813 Year of fee payment: 7 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120813 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120813 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130813 Year of fee payment: 9 |
|
LAPS | Cancellation because of no payment of annual fees |