JP4000659B2 - Printer device, printer controller, and computer-readable recording medium recording printer control program - Google Patents

Printer device, printer controller, and computer-readable recording medium recording printer control program Download PDF

Info

Publication number
JP4000659B2
JP4000659B2 JP05775398A JP5775398A JP4000659B2 JP 4000659 B2 JP4000659 B2 JP 4000659B2 JP 05775398 A JP05775398 A JP 05775398A JP 5775398 A JP5775398 A JP 5775398A JP 4000659 B2 JP4000659 B2 JP 4000659B2
Authority
JP
Japan
Prior art keywords
image
print
drawing data
data
dimension
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP05775398A
Other languages
Japanese (ja)
Other versions
JPH11254779A (en
Inventor
博幸 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP05775398A priority Critical patent/JP4000659B2/en
Publication of JPH11254779A publication Critical patent/JPH11254779A/en
Application granted granted Critical
Publication of JP4000659B2 publication Critical patent/JP4000659B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、コンピュータ等の上位装置によって作成された印刷データに基づいて文字や図形の印刷を行うプリンタ装置に関する。
【0002】
【従来の技術】
コンピュータ等の上位装置によって作成された印刷データに基づいて文字や図形の印刷を行うプリンタ装置は、一般に普及している。このようなプリンタ装置の中には、印刷データを拡大または縮小して印刷する機能を備えたものがある。例えば、特開平2−147260号公報、特開平3−83673号公報、または特開平4−290064号公報等には、複数ページの印刷データを縮小して1ページ内に配置して印刷するプリンタ装置が記載されている。さらに、特開平2−277677号公報等には、給紙される印刷用紙の大きさに従って印刷データを拡大または縮小するプリンタ装置が記載されている。
【0003】
【発明が解決しようとする課題】
ところで、上述したようなプリンタ装置を用いて、画像が印刷された印刷用紙を多量に作り出した場合、これら多量の印刷用紙は、通常、積み重ねられた状態で取り扱われ、収納される。ここで、印刷用紙に印刷された画像を確認するとき、作業者は、積み重ねられた印刷用紙を一枚ずつ捲って、印刷用紙に印刷された画像を見なければならない。通常、画像は印刷用紙の中央部分に印刷されているため、作業者は、画像を確認するために、印刷用紙を大きく捲らなければならない。
【0004】
また、用紙サイズがA0を越えるような印刷用紙、例えば、縦横の寸法が1m×数mにも及ぶような印刷用紙に画像を印刷する場合がある。このように印刷用紙の用紙サイズが大きい場合、通常、印刷用紙は巻き取られた状態で収納される。このような場合に、印刷用紙に印刷された画像を確認するときには、作業者は、巻き取られた印刷用紙の全体を広げなければならない。
【0005】
以上のように、上述したようなプリンタ装置では、印刷用紙に印刷された画像を確認するのが容易でないという問題がある。例えば、上述したようなプリンタ装置では、積み重ねられた複数の印刷用紙、または、巻き取られた複数の印刷用紙の中から、所望の画像が印刷された印刷用紙を素早く見つけることが難しいという問題がある。
【0006】
本発明は、上述した問題に鑑みなされたものであり、印刷媒体に印刷された画像の確認を容易に行うことができるプリンタ装置およびプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体を提供することを目的としている。
【0007】
【課題を解決するための手段】
上記課題を解決するために、請求項1の発明は、印刷媒体を所定の送り方向に移動させながら印刷を行うプリンタ装置であって、前記印刷媒体の印刷領域に画像を印刷するための画像データと前記画像データによって印刷される前記画像の印刷結果としての大きさを示すサイズデータとを少なくとも含む印刷データに基づいて、前記印刷媒体上に実際に印刷される前記画像の各ドットに対応した第1描画データを作成する第1描画データ作成手段と、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する画像寸法判定手段と、前記画像寸法判定手段により、前記画像の前記送り方向における寸法が前記送り方向と直交する方向における寸法よりも長いときには、前記画像を90度回転させると共に当該画像を所定の縮小率をもって縮小させ、これにより得られる回転縮小画像の各ドットに対応する第2描画データを作成する第2描画データ作成手段と、前記第1描画データに対応する画像を前記印刷媒体の印刷領域に印刷し、前記第2描画データに対応する前記回転縮小画像を、前記印刷媒体の印刷領域の端部であって、かつ、前記印刷媒体の前記送り方向における上手領域および下手領域のうち少なくともいずれか一方の領域に印刷する印刷手段とを備えている。
【0008】
即ち、プリンタ装置は、紙、樹脂フィルム等の印刷媒体を、プリンタ装置の送り機構の構造等によって決定される所定の送り方向に移動させる。そして、プリンタ装置は、印刷媒体を移動させながら、その印刷媒体上に画像を印刷する。画像は、印刷媒体の印刷領域に印刷される。印刷領域は、画像を印刷するための領域で、印刷媒体の表面全体、印刷媒体の表面全体のうち指定された一部分、または、印刷媒体の表面全体から印刷媒体の外縁部分を除いた部分である。
【0009】
さて、前記第1描画データ作成手段は、印刷データに基づいて、印刷媒体上に実際に印刷される画像の各ドットに対応した第1描画データを作成する。印刷データは、印刷媒体の印刷領域に画像を印刷するための画像データと、画像データによって印刷される画像の印刷結果としての大きさを示すサイズデータとを少なくとも含むものである。画像データは、文字または図形等の画像を印刷するためのデータである。サイズデータは、画像の大きさを指定するためのデータであり、例えば、画像の寸法やドット数等を直接示すデータ、または、印刷時の画像の縮小率または拡大率を示すデータである。そして、第1描画データは、印刷媒体上に実際に印刷される画像の各ドットに対応したデータである。ここで、印刷媒体上に実際に印刷される画像は、基本的には画像データに直接対応する画像と同一である。しかしながら、印刷媒体上に実際に印刷される画像の大きさ(ドット数)は、印刷の解像度およびサイズデータによって変化する場合がある。このような場合、第1描画データは、印刷の解像度およびサイズデータによって大きさ(ドット数)が変化した画像の各ドットに対応するデータである。
【0010】
画像寸法判定手段は、画像の送り方向における寸法と送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する。例えば、画像寸法判定手段は、プリンタ装置の送り方向が印刷媒体の縦方向である場合には、画像の縦方向の寸法と横方向の寸法のうち、どちらの寸法が長いかを判定する。
【0011】
第2描画データ作成手段は、画像の送り方向における寸法が送り方向と直交する方向における寸法よりも長いときに、画像を90度回転させると共に、当該画像を所定の縮小率をもって縮小させ、これにより得られる回転縮小画像の各ドットに対応する第2描画データを作成する。
【0012】
印刷手段は、第1描画データに対応する画像を印刷媒体の印刷領域に印刷し、第2描画データに対応する回転縮小画像を、印刷媒体の印刷領域の端部であって、かつ、印刷媒体の送り方向における上手領域および下手領域のうち少なくともいずれか一方の領域に印刷する。これにより、例えば、プリンタ装置の送り方向が印刷媒体の縦方向であり、印刷媒体が縦方向に長い場合には、印刷媒体の縦方向における一側端部または、その反対側の端部のうちいずれか一方に、回転縮小画像が印刷される。
【0013】
この回転縮小画像は、上述の記載から把握できるように、印刷媒体の印刷領域に印刷された画像を縮小したものである。そして、この回転縮小画像は、印刷媒体の送り方向における端部に印刷される。さらにまた、印刷媒体の印刷領域に印刷される画像の送り方向における寸法が送り方向と直交する方向における寸法よりも長いときには、回転縮小画像は、元の画像に対して90度回転させられて印刷される。これにより、以下のような作用効果を得ることができる。
【0014】
例えば、プリンタ装置の送り方向が印刷媒体の縦方向であり、印刷媒体が縦方向に長い場合には、これに伴って、印刷媒体上に印刷される画像自体も縦方向に長い。このような場合には、回転縮小画像が元の画像に対して90度回転させられて印刷媒体の端部に印刷されるため、回転縮小画像は、この印刷媒体の横方向に伸張する縁に沿って印刷されることになる。
【0015】
従って、画像が印刷された印刷媒体を収納するとき、回転縮小画像が印刷された端部とは反対側の端部を内側に丸め込むようにして、その印刷媒体を巻き取れば、回転縮小画像が印刷された印刷媒体の端部は、巻き取られて筒状になった印刷媒体の最外周側に位置することになる。この結果、巻き取られた印刷媒体に印刷された画像を確認するとき、作業者は、巻き取られた印刷媒体の最外周端部を少し捲るだけで、その端部に印刷された回転縮小画像を見ることができ、その印刷媒体に印刷された画像の内容を認識することができる。また、多数の印刷媒体が積み重ねられた状態で収納されている場合でも、各印刷媒体の端部を少し捲れば、回転縮小画像を見ることができ、各印刷媒体に印刷された画像を認識することができる。
【0016】
請求項2の発明によるプリンタ装置は、第2描画データに対応する前記回転縮小画像を印刷媒体の上手領域に印刷するか、下手領域に印刷するか、または上手領域および下手領域に印刷するかを設定する印刷位置設定手段を備えている。
【0017】
これにより、画像の確認作業の作業性等を考慮して、回転縮小画像を印刷する場所を自由に決めることができる。これにより、長尺な印刷媒体を巻き取って収納する場合、印刷媒体の巻き取り方向を自由に決めることができる。
【0018】
請求項3の発明によるプリンタ装置は、画像の前記送り方向における寸法と印刷媒体の印刷領域の送り方向と直交する方向における寸法とを比較することにより、所定の縮小率を算出する縮小率算出手段を備えている。
【0019】
例えば、プリンタ装置の送り方向が印刷媒体の縦方向であり、その印刷媒体が縦方向に長く、その印刷媒体に印刷される画像も縦方向に長い場合を想定する。このような場合には、その画像の縦寸法と、印刷媒体の横寸法を比較することによって縮小率を算出する。これにより、縦方向に長い画像を90度回転させて印刷媒体の端部に印刷するに際し、その画像が、印刷媒体からはみ出さずに、印刷媒体の横方向に納まるような縮小率を算出することができる。
【0020】
請求項4の発明によるプリンタ装置は、外部からの入力された縮小率を指定するための指定データによって所定の縮小率を設定する縮小率設定手段を備えている。
【0021】
外部からの入力によって縮小率を指定することによって、回転縮小画像の大きさや、回転縮小画像が占有する領域の大きさ等を任意に指定することができる。
【0022】
請求項5の発明によるプリンタ装置において、画像寸法判定手段は、印刷データに含まれるサイズデータを用いて、画像の送り方向における寸法と送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定するものである。これにより、画像の各寸法を容易に知ることができ、寸法判定を容易に行うことができる。
【0023】
また、請求項6の発明の如く、第1描画データを用いて、この第1描画データに対応する画像のドット数をカウントすることにより、画像の送り方向における寸法と送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定しても、同様に、画像の各寸法を容易に知ることができ、寸法判定を容易に行うことができる。
【0024】
請求項7の発明によるプリンタ装置において、第2描画データ作成手段は、印刷データに含まれる画像データを用いて、第2描画データを作成するものである。これにより、簡単な演算処理により第2描画データを作成することができる。
【0025】
請求項8の発明によるプリンタ装置において、第2描画データ作成手段は、第1描画データを用いて、第2描画データを作成するものである。
【0026】
第1描画データは、画像データを展開して作成される。従って、すでに展開された第1描画データを用いて第2描画データを作成すれば、第2描画データを展開する処理および第2描画データを展開するのに使用するメモリ等が不要となる。これにより、処理時間を短くでき、メモリ使用効率を高めることができる。
【0027】
請求項9ないし16の発明によるプリンタ制御プログラムは、それらをコンピュータに読み込ませることによって、コンピュータを、上述した請求項1ないし8の発明によるプリンタ装置として機能させるものである。
請求項17のプリンタコントローラは、プリントエンジンを備え、印刷媒体を所定の送り方向に移動させながら印刷を行うプリンタ装置のためのプリンタコントローラであって、前記印刷媒体の印刷領域に画像を印刷するための画像データと前記画像データによって印刷される前記画像の印刷結果としての大きさを示すサイズデータとを少なくとも含む印刷データに基づいて、前記印刷媒体上に実際に印刷される前記画像の各ドットに対応した第1描画データを作成する第1描画データ作成手段と、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する画像寸法判定手段と、前記画像寸法判定手段により、前記画像の前記送り方向における寸法が前記送り方向と直交する方向における寸法よりも長いときには、前記画像を90度回転させると共に当該画像を所定の縮小率をもって縮小させ、これにより得られる回転縮小画像の各ドットに対応する第2描画データを作成する第2描画データ作成手段と、前記第1描画データに対応する画像を前記印刷媒体の印刷領域に印刷し、前記第2描画データに対応する前記回転縮小画像を、前記印刷媒体の印刷領域の端部であって、かつ、前記印刷媒体の前記送り方向における上手領域および下手領域のうち少なくともいずれか一方の領域に印刷するように前記プリントエンジンを駆動させる印刷処理手段とを備える。
請求項18のプリンタコントローラは、請求項17に記載のプリンタコントローラにおいて、前記第2描画データに対応する前記回転縮小画像を前記印刷媒体の上手領域に印刷するか、下手領域に印刷するか、または上手領域および下手領域に印刷するかを設定する印刷位置設定手段を備える。
請求項19のプリンタコントローラは、請求項17または18に記載のプリンタコントローラにおいて、前記画像の前記送り方向における寸法と前記印刷媒体の印刷領域の前記送り方向と直交する方向における寸法とを比較することにより、前記所定の縮小率を算出する縮小率算出手段を備える。
請求項20のプリンタコントローラは、請求項17または18に記載のプリンタコントローラにおいて、外部からの入力された縮小率を指定するための指定データによって前記所定の縮小率を設定する縮小率設定手段を備える。
請求項21のプリンタコントローラは、請求項17ないし20のいずれかに記載のプリンタコントローラにおいて、前記画像寸法判定手段は、前記印刷データに含まれる前記サイズデータを用いて、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する。
請求項22のプリンタコントローラは、請求項17ないし20のいずれかに記載のプリンタコントローラにおいて、前記画像寸法判定手段は、前記第1描画データを用いて、この第1描画データに対応する前記画像のドット数をカウントすることにより、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する。
請求項23のプリンタコントローラは、請求項17ないし22のいずれかに記載のプリンタコントローラにおいて、前記第2描画データ作成手段は、前記印刷データを用いて前記第2描画データを作成する。
請求項24のプリンタコントローラは、請求項17ないし22のいずれかに記載のプリンタコントローラにおいて、前記第2描画データ作成手段は、前記第1描画データを用いて前記第2描画データを作成する。
請求項25ないし32に記載のプリンタ制御プログラムを記録した記録媒体は、それらをプリンタコントローラのコンピュータに読み込ませることによって、コンピュータを、上述した請求項17ないし24の発明によるプリンタコントローラとして機能させるものである。
【0028】
【発明の実施の形態】
以下、本発明の実施の形態を添付図面に従って説明する。
【0029】
まず、本発明の第1の実施形態によるプリンタ装置を図1ないし図8に従って説明する。
【0030】
図1は、本発明の第1の実施形態によるプリンタ装置の全体的な構成を示している。図1において、プリンタ装置は、プリンタ装置の制御を行うプリンタコントローラ100と、画像等を印刷用紙に印刷する処理を行うプリントエンジン300と、印刷データ等を記憶するハードディスク208とを備えている。そして、プリンタコントローラ100は、コンピュータ等の上位装置に、通信ネットワーク209を介して接続されている。
【0031】
プリンタコントローラ100は、CPU201と、ROM202と、RAM203と、入力部205と、通信インターフェース101と、プリントエンジンインターフェース105と、ハードディスクインターフェース206とを備えており、これらはバス204を介して相互に接続されている。
【0032】
CPU201は、プリンタ装置を全体的な制御を行う。また、後述するプリンタ制御プログラムを実行することにより、印刷データを印刷用紙に印刷するための印刷制御を行う。
【0033】
ROM202には、プリンタ装置を全体的に制御するための制御プログラムおよび後述のプリンタ制御プログラムが記憶されている。RAM203は、コンピュータ等の上位装置から通信ネットワーク209を介して送られる印刷データを記憶する領域、後述するプリンタ制御プログラムを実行するときに用いられるデータやパラメータを記憶する領域、このプリンタ制御プロラムの実行中に作成される主画像描画データおよび確認用画像描画データを記憶する領域等として用いられる。
【0034】
入力部205は、後述する確認用画像を印刷する位置、確認用画像の縮小率、確認用画像を回転させるか否か等のデータを外部から入力するためもので、キーボードまたはスイッチ等により構成されている。
【0035】
通信ネットワークインターフェース101はプリンタコントローラ100と通信ネットワーク209との間のデータの入出力を制御するものである。プリントエンジンインターフェース105は、プリンタコントローラ100とプリントエンジン300との間のデータの入出力を制御するものである。ハードディスクインターフェース208は、プリンタコントローラ100とハードディスク208とのデータの入出力を制御するものである。
【0036】
ハードディスク208は、RAM203と同様に、コンピュータ等の上位装置から通信ネットワーク209を介して送られる印刷データを記憶する領域、後述するプリンタ制御プログラムを実行するときに用いられるデータやパラメータを記憶する領域、このプリンタ制御プロラムの実行中に作成される主画像描画データおよび確認用画像描画データを記憶する領域等として用いられる。即ち、データサイズまたはそのデータを処理する速度等に基づいて、データをRAM203に記憶するか、ハードディスク208に記憶するか選択される。また、ハードディスク208には、他の印刷データやフォントデータ等も記憶されている。
【0037】
次に、プリンタ装置による基本的な印刷動作について説明する。まず、印刷データが、コンピュータ等の上位装置から通信ネットワーク209を介してプリンタコントローラ100に送られる。そして、この印刷データは、プリンタコントローラ100のRAM203に記憶される。
【0038】
ここで、印刷データは、画像データとサイズデータとを少なくとも含んでいる。画像データは、図3に示すように、文字、図形等からなる画像J1を印刷用紙Pの印刷領域Rに印刷するためのデータであり、例えば、ページ記述言語等により構成されている。また、サイズデータは、主画像J1のサイズを指定するためのデータであり、例えば、主画像J1の縦横の寸法を示すデータ、または、印刷用紙のサイズ等を基準にした主画像J1の縮小率または拡大率を示すデータである。
【0039】
また、ページ記述言語の仕様によっては、サイズデータがページ記述言語で記述された画像データ内に含まれる場合がある。
【0040】
さて、印刷データがRAM203に記憶されると、CPU201によって後述するプリンタ制御プログラムが実行される。これにより、CPU201は、RAM203に記憶された印刷データを展開して主画像描画データを生成し、RAM203に記憶する。この主画像描画データは、図3に示す主画像J1の各ドットに対応するデータであり、そのデータ形式は、プリントエンジン300の印刷形式等に依存する。例えば、主画像描画データは、主画像J1の各ドットに対応するビットマップデータである。
【0041】
また、CPU201は、RAM203に記憶された印刷データに基づいて、確認用画像描画データを生成し、RAM203に記憶する。この確認用画像描画データは、図3に示す確認用画像J2の各ドットに対応するデータであり、主画像描画データと同様のデータ形式(例えばビットマップデータ)のデータである。また、図3に示すように、確認用画像J2は、主画像J1を縮小したものであり、かつ、主画像J1に対して90度回転させたものである。さらに確認用画像J2は、印刷用紙Pの上手端部E1(上手領域)に配置されている。確認用画像J2の縮小率、確認用画像J2を90度回転させるか否か、確認用画像J2の配置場所等は、後述するように、プリンタ制御プログラムによって決定される。
【0042】
CPU201は、主画像描画データおよび確認用画像描画データをRAM203に記憶した後、プリントエンジン300を駆動させる。これにより、プリントエンジン300内に設けられた送り機構(図示せず)が駆動され、この送り機構によって、予めプリントエンジン300の用紙挿入部(図示せず)にセットされた印刷用紙Pが、その上手領域E1から、プリントエンジン300の内部に引き込まれる。そして、印刷用紙Pは、プリントエンジン300の内部を図3中の矢示a方向に移動する。その間に、プリントエンジン300の内部に設けられたプリンタヘッド(図示せず)によって、RAM203に記憶された主画像描画データおよび確認用画像描画データが印刷用紙Pの上手端部E1から下手端部E2(下手領域)に向けて順次に印刷される。そして、印刷用紙Pの下手領域E2がプリントエンジン300の用紙排出部から外部に送り出され、印刷が完了する。
【0043】
これにより、主画像J1は、図3に示すように、印刷用紙Pの印刷領域Rに印刷され、確認用画像J2は、印刷用紙Pの印刷領域Rの上手端部E1に、主画像J1に対して90度回転した状態で印刷される。また、本実施形態によるプリンタ装置では、図4に示すように、印刷用紙Pの上手端部E1だけでなく、下手端部E2にも確認用画像J2を印刷することができる。さらに、確認用画像J2を90度回転させる方向を、正方向にするか、逆方向にするか選択することができるようにしてもよい。
【0044】
次に、プリンタ制御プログラムによって実行される処理内容について、図2に示すフローチャートに従って詳細に説明する。
【0045】
上述したように、コンピュータ等の上位装置から印刷データを受け取り、RAM203に記憶すると、CPU201は、図2に示すようなプリンタ制御プログラムを実行する。
【0046】
まず、図2中のステップS102では、RAM203に記憶された印刷データを読み出す。ステップ104では、この読み出した印刷データを展開して主画像描画データを生成し、この主画像描画データをRAM203に記憶する。
【0047】
ステップ106では、RAM203に記憶された印刷データを再び読み出す。ステップ108では、印刷データに含まれるサイズデータ等に基づいて、画像データ(主画像J1)の縦方向の寸法と横方向の寸法のと比を算出する。そして、ステップ110では、主画像J1の縦方向の寸法と横方向の寸法との比に基づいて、主画像J1の縦方向の寸法が横方向の寸法よりも長いか否かを判定する。
【0048】
ここで、図3に示すように、主画像J1の縦方向とは、印刷時に、印刷用紙Pがプリントエンジン300の送り機構によってプリントエンジン300内を移動する方向(図3中の矢示a)である。また、横方法とは、縦方向と直交する方向である。
【0049】
さて、ステップ110の判定の結果、主画像J1の縦方向の寸法が横方向の寸法よりも長いときには、ステップ112において、印刷データに回転命令を付加する。具体的には、回転命令を印刷データに関連付けるようにしてRAM203に記憶する。そして、ステップ114に移行する。
【0050】
一方、ステップ110の判定の結果、主画像J1の縦方向の寸法が横方向の寸法よりも長くないときには、印刷データに回転命令を付加せずに、ステップ114に移行する。
【0051】
ステップ114では、印刷データに縮小命令を付加する。また、ステップ114では、確認用画像J2の縮小率を算出する。
【0052】
ここで、縮小率を算出する方法に2つの方法がある。まず、第1の方法について述べる。主画像の縦方向の寸法と横方向の寸法との比が2以下のときには、確認用画像の短辺が数cm以内に納まるような縮小率を算出する。一方、主画像の縦方向の寸法と横方向の寸法との比が2よりも大きいときには、確認用画像の短辺が数cm以内に納まり、かつ、長辺が印刷用紙Pの横方向の寸法に納まるような縮小率を算出する。確認用画像の長辺が印刷用紙Pの横方向の寸法に納まるような縮小率を算出するには、まず、主画像の縦方向の寸法と、印刷用紙の横方向の寸法を認識し、主画像の縦方向の寸法と印刷用紙Pの印刷領域Rの横方向の寸法を比較すればよい。
【0053】
次に、第2の方法は、入力部205から入力された縮小率を指定するための指定データに基づいて縮小率を設定する方法である。
【0054】
なお、いずれの方法で縮小率を決定するかは、作業者が入力部205に、上記方法を切り換える命令(モード切換命令)を入力することにより選択することができる。また、この方法を切り換える命令を印刷データに含ませ、コンピュータ等の上位装置からプリンタコントローラ100に送る構成としてもよい。
【0055】
さて、縮小率を算出した後、処理は、ステップ116に移行する。そして、ステップ116では、ステップ106で読み出した印刷データを展開して確認用画像描画データを生成し、この確認用画像描画データをRAM203に記憶する。ここで、確認用画像描画データを生成するとき、印刷データに回転命令が付加されているか否かを判定し、付加されているときには、確認用画像J2が主画像J1に対して90度回転した状態で印刷されるように、確認用画像描画データを生成する。さらに、確認用画像描画データを生成するときには、印刷データに縮小命令が付加されているか否かを判定し、付加されているときには、確認用画像J2がステップ114にて算出された縮小率に基づいて縮小した状態で印刷されるように、確認用画像描画データを生成する。
【0056】
ステップ118では、(1)確認用画像J2を印刷用紙Pの上手端部E1のみに印刷するか、(2)下手端部E2のみに印刷するか、または、(3)上手端部E1と下手端部E2の両方に印刷するかを決定する。この確認用画像J2を印刷する位置は、作業者が入力部205を操作することによって上記(1)(3)のうちから選択することができる。作業者が(1)(3)のうちいずれを選択したかを示すデータは、例えばRAM203に記憶されており、CPU201はこのデータを参照して、確認用画像J2の印刷する位置を決定する。
【0057】
ステップ119では、プリントエンジン300を駆動させ、RAM203に記憶された主画像描画データと確認用画像描画データとを印刷用紙P上に印刷する。これにより、例えば、作業者が確認用画像を印刷する位置として(1)を選んだときには、図3に示すように、主画像J1が印刷領域Rのほぼ中央に印刷され、確認用画像J2が印刷用紙Pの上手端部E1に印刷される。また、作業者が確認用画像J2を印刷する位置として(2)を選んだときには、主画像J1が印刷領域Rのほぼ中央に印刷され、確認用画像J2が印刷用紙Pの下手端部に印刷される。一方、作業者が確認用画像J2を印刷する位置として(3)を選んだときには、図4に示すように、主画像J1が印刷領域Rのほぼ中央に印刷され、確認用画像J2が印刷用紙Pの上手端部E1および下手端部E2にそれぞれ印刷される。
【0058】
かくして、本実施形態によるプリンタ装置によれば、主画像J1を縮小した確認用画像J2を、印刷用紙Pの上手端部E1および下手端部E2のいずれか一方または両方に印刷する構成とした。従って、印刷用紙Pを収納するために、長尺な印刷用紙Pを、図8に示すように巻き取ったときでも、作業者は、巻き取られて筒状になった印刷用紙Pの最外周側の端部をわずかに捲るだけで、確認用画像J2を見ることができ、印刷用紙Pに印刷された主画像J1を容易に確認することができる。即ち、作業者は、印刷用紙Pに印刷された画像J1を確認するために、巻き取られた印刷用紙Pを広げる必要がない。また、画像が印刷された多数の印刷用紙Pが積み重ねられて収納されている場合には、作業者は、各印刷用紙Pの端部を少し捲るだけで、確認用画像を見ることができ、各印刷用紙Pに印刷された主画像を容易に確認することができる。
【0059】
特に、本実施形態によるプリンタ装置では、図3に示すように、印刷用紙Pがプリントエンジン300の送り方向aに長いときには、確認用画像J2を主画像J1に対して90度回転させて印刷する構成とした。これにより、印刷用紙P上に印刷された主画像J1の縦寸法(送る方向の寸法)が長い場合でも、確認用画像J2を長尺な印刷用紙Pの短辺に沿って配置することができる。
【0060】
例えば、図6に示すように、他のプリンタ装置によって印刷された確認用画像J4は、画像J1が縦方向に長いにも拘わらず、90度回転していない。このため、確認用画像J4は、印刷用紙Pの縦方向に沿って長く伸張している。これでは、巻き取られた印刷用紙Pに印刷された主画像J1を確認するために、巻き取られた印刷用紙Pの最外周側を少し捲っただけでは、確認用画像J4の一部分しか見ることができない。ところが、本実施形態によるプリンタ装置によって印刷された確認用画像J2は、図3または図4に示すように、90度回転している。このため、確認用画像J2は、印刷用紙Pの上手端部E1に沿って伸張している。これにより、上述したように、巻き取られた印刷用紙Pを少し捲るだけで、確認用画像J2の全体を見ることができる。
【0061】
また、図7に示すように、他のプリンタ装置によって印刷された確認用画像J5は、印刷用紙Pの上手端部E1に配置されている。しかしながら、確認用画像J5の大きさが小さすぎるため、確認用画像J5の内容を肉眼で把握することができない。即ち、主画像J1の縦方向の寸法が長い場合、確認用画像を回転させないで印刷用紙Pの上手端部E1に配置しようとすると、図7に示すように、確認用画像J5が非常に小さくなってしまう。ところが、本実施形態によるプリンタ装置により印刷された確認用画像J2は、図3または図4に示すように、90度回転しているため、たとえ主画像J1の縦方向の寸法が長くても、確認用画像J2を印刷用紙Pの上手端部E1にそって長く引き延ばすことができる。これにより、確認用画像J2を肉眼ではっきりと確認できる大きさにすることができる。
【0062】
また、本実施形態によるプリンタ装置では、印刷用紙Pの巻き取り方向に応じて、確認用画像J2の印刷位置を、印刷用紙Pの上手端部E1にするか、下手端部E2にするか決めることができる。さらに、確認用画像J2を印刷用紙Pの上手端部E1および下手端部E2の両方に印刷すれば、印刷用紙Pをどちらの方向から巻き取っても、巻き取られた印刷用紙Pの最外周側には常に確認用画像J2が印刷されている。従って、作業者は、印刷用紙Pがどちらの方向に巻き取られたかに拘わらず、巻き取られた印刷用紙Pの最外周側を少し捲れば確認用画像J2を常に見ることができる。
【0063】
さらに、確認用画像J2の縮小率は、主画像J1の縦方向の寸法(送り方向aの寸法)と印刷用紙Pの横方向の寸法(送り方向aと直交する寸法)との比較によって決定されるため、確認用画像J2が、印刷用紙Pからはみ出した状態で印刷されるのを防止することができる。
【0064】
また、確認用画像J2の縮小率を、入力部205から入力された指定データによって決定する場合には、確認用画像J2の大きさを作業者の希望通りの大きさにすることができる。
【0065】
さらに、本実施形態では、印刷データに含まれるサイズデータ等に基づいて、画像データ(主画像J1)の縦方向の寸法と横方向の寸法のと比を算出したから(図2中のステップ108)、主画像J1の各寸法を容易に算出することができる。
【0066】
次に、本発明の第2の実施形態によるプリンタ装置を図9に従って説明する。本実施形態の特徴は、すでに展開された主画像描画データを用いて、確認用画像描画データを作成する点にある。なお、本実施形態によるプリンタ装置のハードウェア構成は、上述した第1の実施形態によるプリンタ装置と同様である。従って、同様の構成要素に同様の符号を付し、その説明を省略する。
【0067】
コンピュータ等の上位装置から印刷データを受け取り、この印刷データをRAM203に記憶すると、CPU201は、図9に示すようなプリンタ制御プログラムを実行する。
【0068】
まず、図9中のステップS202では、RAM203に記憶された印刷データを読み出す。ステップ204では、この読み出した印刷データを展開して主画像描画データを生成し、この主画像描画データをRAM203に記憶する。
【0069】
ステップ206では、RAM203に記憶された主画像描画データに基づいて、画像データ(主画像J1)の縦方向の寸法と横方向の寸法のと比を算出する。具体的に説明すると、RAM203に記憶された主画像描画データを調べ、主画像J1の縦方向(プリントエンジン300の送り方向a)のドット数と、主画像J1の横方向(送り方向aと直交する方向)のドット数をカウントする。そして、カウント結果に基づいて、主画像J1の縦方向の寸法と横方向の寸法のと比を算出する。
【0070】
ステップ208では、主画像J1の縦方向の寸法と横方向の寸法との比に基づいて、主画像J1の縦方向の寸法が横方向の寸法よりも長いか否かを判定する。そして、判定の結果、主画像J1の縦方向の寸法が横方向の寸法よりも長いときには、ステップ210において、確認用画像J2が、主画像J1に対して90度回転した状態で印刷されるように、確認用画像描画データを生成する。このとき、確認用画像描画データは、すでに展開された主画像描画データを用いて生成する。また、確認用画像描画データを生成する際に用いる縮小率は、上述した第1の実施形態と同様の方法で算出する。具体的に説明すると、CPU201は、主画像描画データを90度回転させる演算を行いつつ、第1の実施形態と同様の方法で算出された縮小率に基づいて主画像描画データを一定間隔で間引くことにより、主画像描画データを縮小し、確認用画像描画データを生成する。そして、生成した確認用画像描画データをRAM203に記憶する。
【0071】
一方、ステップ208の判定の結果、主画像J1の縦方向の寸法が横方向の寸法よりも長くないときには、ステップ212において、確認用画像J2を回転させることなく、主画像J1と同様の向きで印刷されるように、確認用画像描画データを生成する。即ち、CPU201は、第1の実施形態と同様の方法で算出された縮小率に基づいて主画像描画データを一定間隔で間引くことにより、主画像描画データを縮小し、確認用画像描画データを生成する。そして、生成した確認用画像描画データをRAM203に記憶する。
【0072】
ステップ214では、第1の実施形態と同様に、(1)確認用画像J2を印刷用紙Pの上手端部E1のみに印刷するか、(2)下手端部E2のみに印刷するか、または、(3)上手端部E1と下手端部E2の両方に印刷するかを決定する。
【0073】
ステップ216では、プリントエンジン300を駆動させ、RAM203に記憶された主画像描画データと確認用画像描画データとを印刷用紙P上に印刷する。
【0074】
かくして、本実施形態によるプリンタ装置においても、上述した第1の実施形態によるプリンタ装置と同様の効果を得ることができる。
【0075】
特に、本実施形態によるプリンタ装置では、すでに展開された主画像描画データを用いて、確認用画像描画データを生成するため、印刷データを改めて展開する必要がなくなるだけでなく、確認用画像描画データの生成に使用するメモリ領域を減少させることができる。従って、処理時間を短くでき、メモリ使用効率を高めることができる。
【0076】
また、本実施形態では、主画像描画データのドット数をカウントして、画像データ(主画像J1)の縦方向の寸法と横方向の寸法のと比を算出したから(図2中のステップ206)、主画像J1の各寸法を算出することができる。
【0077】
なお、前記各実施形態では、プリンタ装置を図1に示すような構成とし、ROM202に予め記憶されたプリンタ制御プログラムをCPU201によって実行する構成としたが、本発明はこれに限るものではない。例えば、プリンタ制御プログラムをフロッピーディスクやCD−ROM等の記録媒体に記録し、この記録媒体をコンピュータに読み込ませることによって、コンピュータを上述したプリンタ装置と同様に機能させてもよい。
【0078】
また、前記各実施形態では、図3または図4に示すように、確認用画像J2を印刷用紙Pの印刷領域Rの内部に印刷する場合を例に挙げたが、本発明はこれに限らず、印刷領域Rの外部に印刷してもよい。
【0079】
なお、図2および図4において、ステップ104またはステップ204が第1描画データ作成手段の具体例であり、ステップ108またはステップ206が画像寸法判定手段の具体例であり、ステップ116またはステップ210が第2描画データ作成手段の具体例である。また、ステップ120またはステップ216が印刷手段の具体例であり、ステップ118またはステップ214が印刷位置設定手段の具体例であり、ステップ114が縮小率算出手段の具体例である。
【0080】
【発明の効果】
以上詳述したとおり、請求項1の発明のプリンタ装置によれば、画像の送り方向における寸法と送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定し、画像の送り方向における寸法が送り方向と直交する方向における寸法よりも長いときには、画像を90度回転させると共に当該画像を所定の縮小率をもって縮小させ、これにより得られる回転縮小画像の各ドットに対応する第2描画データを作成し、第2描画データに対応する回転縮小画像を、印刷媒体の印刷領域の端部であって、かつ、印刷媒体の前記送り方向における上手領域および下手領域のうち少なくともいずれか一方の領域に印刷する構成としたから、プリンタ装置の送り方向に長い寸法を有する画像を、90度回転させ、かつ、縮小して印刷媒体の端部に印刷することができる。
【0081】
これにより、巻き取られた印刷媒体に印刷された画像を確認するとき、作業者は、巻き取られた印刷媒体の最外周端部を少し捲るだけで、その端部に印刷された回転縮小画像を見ることができ、その印刷媒体に印刷された画像の内容を認識することができる。また、多数の印刷媒体が積み重ねられた状態で収納されている場合でも、各印刷媒体の端部を少し捲れば、回転縮小画像を見ることができ、各印刷媒体に印刷された画像を認識することができる。従って、印刷媒体に印刷された画像を容易に確認することができる。
【0082】
請求項2の発明のプリンタ装置によれば、第2描画データに対応する回転縮小画像を印刷媒体の上手領域に印刷するか、下手領域に印刷するか、または上手領域および下手領域に印刷するかを設定する構成としたから、画像の確認作業の作業性等を考慮して、回転縮小画像を印刷する場所を自由に決めることができる。これにより、長尺な印刷媒体を巻き取って収納する場合、印刷媒体の巻き取り方向を自由に決めることができる。
【0083】
請求項3の発明のプリンタ装置によれば、画像の送り方向における寸法と印刷媒体の印刷領域の送り方向と直交する方向における寸法とを比較することにより、所定の縮小率を算出する構成としたから、画像が印刷媒体からはみ出さずに、印刷媒体の横方向に納まるような縮小率を算出することができる。これにより、回転縮小画像を作業者にとって見やすいものとすることができる。
【0084】
請求項4の発明のプリンタ装置によれば、外部からの入力された縮小率を指定するための指定データによって所定の縮小率を設定する構成としたから、外部からの入力によって縮小率を指定することによって、回転縮小画像の大きさや、回転縮小画像が占有する領域の大きさ等を任意に指定することができる。
【0085】
請求項5の発明のプリンタ装置によれば、印刷データに含まれるサイズデータを用いて、画像の送り方向における寸法と送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する構成としたから、画像の各寸法を容易に知ることができ、寸法判定を容易に行うことができる。
【0086】
また、請求項6の発明のプリンタ装置によれば、第1描画データを用いて、この第1描画データに対応する画像のドット数をカウントすることにより、画像の送り方向における寸法と送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する構成としたから、画像の各寸法を容易に知ることができ、寸法判定を容易に行うことができる。
【0087】
請求項7の発明のプリンタ装置によれば、印刷データに含まれる画像データを用いて第2描画データを作成する構成としたから、簡単な演算処理により第2描画データを作成することができる。
【0088】
請求項8の発明のプリンタ装置によれば、第1描画データを用いて第2描画データを作成する構成としたから、すでに展開された第1描画データを用いて第2描画データを作成することによって、第2描画データを展開する処理および第2描画データを展開するのに使用するメモリ等が不要にでき、処理時間を短くでき、メモリ使用効率を高めることができる。
【0089】
請求項9ないし16の発明によるプリンタ制御プログラムをコンピュータに読み取らせ、実行すれば、コンピュータを、前記請求項1ないし8の発明によるプリンタ装置として機能させることができ、前記請求項1ないし8の発明と同様の効果を得ることができる。
【0090】
請求項17に記載のプリンタコントローラによれば、プリンタ装置の送り方向に長い寸法を有する画像を、90度回転させ、かつ、縮小して印刷媒体の端部に印刷するようにプリントエンジンを駆動させることができる。これにより、巻き取られた印刷媒体に印刷された画像を確認するとき、作業者は、巻き取られた印刷媒体の最外周端部を少し捲るだけで、その端部に印刷された回転縮小画像を見ることができ、その印刷媒体に印刷された画像の内容を認識することができる。また、多数の印刷媒体が積み重ねられた状態で収納されている場合でも、各印刷媒体の端部を少し捲れば、回転縮小画像を見ることができ、各印刷媒体に印刷された画像を認識することができる。従って、印刷媒体に印刷された画像を容易に確認することができる。
【0091】
請求項18に記載のプリンタコントローラによれば、画像の確認作業の作業性等を考慮して、回転縮小画像を印刷する場所を自由に決めることができる。これにより、長尺な印刷媒体を巻き取って収納する場合、印刷媒体の巻き取り方向を自由に決めることができる。
【0092】
請求項19に記載のプリンタコントローラによれば、画像が印刷媒体からはみ出さずに、印刷媒体の横方向に納まるような縮小率を算出することができる。これにより、回転縮小画像を作業者にとって見やすいものとすることができる。
【0093】
請求項20に記載のプリンタコントローラによれば、外部からの入力によって縮小率を指定することによって、回転縮小画像の大きさや、回転縮小画像が占有する領域の大きさ等を任意に指定することができる。
【0094】
請求項21に記載のプリンタコントローラによれば、画像の各寸法を容易に知ることができ、寸法判定を容易に行うことができる。
【0095】
請求項22に記載のプリンタコントローラによれば、画像の各寸法を容易に知ることができ、寸法判定を容易に行うことができる。
【0096】
請求項23に記載のプリンタコントローラによれば、簡単な演算処理により第2描画データを作成することができる。
【0097】
請求項24に記載のプリンタコントローラによれば、すでに展開された第1描画データを用いて第2描画データを作成することによって、第2描画データを展開する処理および第2描画データを展開するのに使用するメモリ等が不要にでき、処理時間を短くでき、メモリ使用効率を高めることができる。
【0098】
請求項25ないし32に記載の記録媒体に記録されたプリンタ制御プログラムをコンピュータに読み取らせ、実行すれば、コンピュータを、前記請求項17ないし24の発明によるプリンタコントローラとして機能させることができ、前記請求項17ないし24の発明と同様の効果を得ることができる。
【図面の簡単な説明】
【図1】 本発明の第1の実施形態によるプリンタ装置の構成を示すブロック図である。
【図2】 本発明の第1の実施形態におけるプリンタ制御プログラムを示すフローチャートである。
【図3】 本発明の第1の実施形態において、画像と90度回転した確認用画像とがそれぞれ印刷された印刷用紙を示す平面図である。
【図4】 本発明の第1の実施形態において、確認用画像が両側にそれぞれ印刷された印刷用紙を示す平面図である。
【図5】 本発明の第1の実施形態において、確認用画像が印刷領域の外側に印刷された印刷用紙を示す平面図である。
【図6】 画像が印刷された印刷用紙であって、確認用画像の向きが縦向きの状態を示す平面図である。
【図7】 画像が印刷された印刷用紙であって、確認用画像の大きさが小さい状態を示す平面図である。
【図8】 本発明の第1の実施形態によるプリンタ装置によって印刷された印刷用紙Pを巻き取った状態を示す斜視図である。
【図9】 本発明の第2の実施形態におけるプリンタ制御プログラムを示すフローチャートである。
【符号の説明】
100 プリンタコントローラ
202 CPU
202 ROM
203 RAM
205 入力部
208 ハードディスク
300 プリントエンジン
P 印刷用紙(印刷媒体)
E1 上手端部(上手領域)
E2 下手端部(下手領域)
J1 主画像(画像)
J2 確認用画像(回転縮小画像)
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer device that prints characters and graphics based on print data created by a host device such as a computer.
[0002]
[Prior art]
2. Description of the Related Art Printer devices that print characters and graphics based on print data created by a host device such as a computer are widely used. Some of such printer apparatuses have a function of printing with print data enlarged or reduced. For example, JP-A-2-147260, JP-A-3-83673, or JP-A-4-290064 discloses a printer apparatus that reduces print data of a plurality of pages and arranges them in one page for printing. Is described. Further, JP-A-2-277777 discloses a printer device that enlarges or reduces print data in accordance with the size of printing paper fed.
[0003]
[Problems to be solved by the invention]
By the way, when a large amount of printing paper on which an image is printed is produced using the printer device as described above, the large amount of printing paper is usually handled and stored in a stacked state. Here, when confirming the image printed on the printing paper, the operator must turn over the stacked printing papers one by one and view the image printed on the printing paper. Usually, since the image is printed on the central portion of the printing paper, the operator has to swipe the printing paper large in order to confirm the image.
[0004]
In some cases, an image is printed on a printing paper having a paper size exceeding A0, for example, a printing paper having vertical and horizontal dimensions of 1 m × several m. Thus, when the paper size of the printing paper is large, the printing paper is usually stored in a wound state. In such a case, when confirming the image printed on the printing paper, the operator must widen the entire wound printing paper.
[0005]
As described above, the above-described printer apparatus has a problem that it is not easy to confirm an image printed on a printing paper. For example, the above-described printer apparatus has a problem that it is difficult to quickly find a printing sheet on which a desired image is printed from among a plurality of stacked printing sheets or a plurality of wound printing sheets. is there.
[0006]
The present invention has been made in view of the above-described problems, and has recorded a printer device and a printer control program capable of easily confirming an image printed on a print medium. Computer readable The object is to provide a recording medium.
[0007]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the invention of claim 1 is a printer apparatus that performs printing while moving a printing medium in a predetermined feeding direction, and image data for printing an image on a printing area of the printing medium. And the image printed by the image data Size as a result of printing First drawing data creating means for creating first drawing data corresponding to each dot of the image actually printed on the print medium based on print data including at least size data indicating The dimension in the feeding direction of the image is determined by the image dimension determining means for determining which dimension is longer among the dimension in the feeding direction and the dimension in the direction orthogonal to the feeding direction, and the image dimension determining means. When it is longer than the dimension in the direction orthogonal to the feed direction, the image is rotated 90 degrees and the image is reduced at a predetermined reduction rate, and second drawing data corresponding to each dot of the rotation reduced image obtained thereby is obtained. A second drawing data generating means for generating, an image corresponding to the first drawing data is printed in a print area of the print medium, and the first Corresponding to the drawing data Said Printing means that prints the rotation-reduced image in an end portion of the print area of the print medium and in at least one of the upper area and the lower area in the feed direction of the print medium. Yes.
[0008]
That is, the printer apparatus moves a print medium such as paper or a resin film in a predetermined feeding direction determined by the structure of the feeding mechanism of the printer apparatus. Then, the printer device prints an image on the print medium while moving the print medium. The image is printed in the print area of the print medium. The print area is an area for printing an image, and is the entire surface of the print medium, a specified part of the entire surface of the print medium, or a part obtained by removing the outer edge portion of the print medium from the entire surface of the print medium. .
[0009]
The first drawing data creating means creates first drawing data corresponding to each dot of the image actually printed on the print medium based on the print data. The print data includes image data for printing an image on a print area of the print medium, and an image printed by the image data. Size as a result of printing And size data indicating at least. The image data is data for printing an image such as a character or a graphic. The size data is data for designating the size of the image, and is, for example, data that directly indicates the size of the image, the number of dots, or the like, or data that indicates the reduction rate or enlargement rate of the image during printing. The first drawing data is data corresponding to each dot of the image actually printed on the print medium. Here, the image actually printed on the print medium is basically the same as the image directly corresponding to the image data. However, the size (number of dots) of the image actually printed on the print medium may vary depending on the printing resolution and size data. In such a case, the first drawing data is data corresponding to each dot of the image whose size (number of dots) has changed according to the printing resolution and size data.
[0010]
The image size determination means determines which of the size in the image feed direction and the size in the direction orthogonal to the feed direction is longer. For example, when the feeding direction of the printer device is the vertical direction of the print medium, the image size determination unit determines which of the image size in the vertical direction and the horizontal direction is longer.
[0011]
The second drawing data creating means rotates the image by 90 degrees when the dimension in the image feed direction is longer than the dimension in the direction orthogonal to the feed direction, and reduces the image with a predetermined reduction ratio, thereby Second drawing data corresponding to each dot of the obtained rotation-reduced image is created.
[0012]
The printing unit prints an image corresponding to the first drawing data in a printing area of the printing medium, and a rotation reduced image corresponding to the second drawing data is an end of the printing area of the printing medium, and the printing medium Printing is performed in at least one of the upper area and the lower area in the feed direction. Thus, for example, when the feeding direction of the printer device is the vertical direction of the print medium and the print medium is long in the vertical direction, one of the end portions in the vertical direction of the print medium or the opposite end portion thereof Either one is printed with a rotation-reduced image.
[0013]
This rotationally reduced image is obtained by reducing an image printed in the print area of the print medium, as can be understood from the above description. And this rotation reduction image is printed in the edge part in the feed direction of a printing medium. Furthermore, when the dimension in the feed direction of the image printed in the print area of the print medium is longer than the dimension in the direction orthogonal to the feed direction, the rotation-reduced image is rotated 90 degrees with respect to the original image and printed. Is done. Thereby, the following effects can be obtained.
[0014]
For example, when the feeding direction of the printer device is the vertical direction of the print medium and the print medium is long in the vertical direction, the image printed on the print medium is accordingly long in the vertical direction. In such a case, since the rotated reduced image is rotated 90 degrees with respect to the original image and printed on the edge of the print medium, the rotated reduced image is printed on the edge of the print medium that extends in the horizontal direction. Will be printed along.
[0015]
Therefore, when storing the print medium on which the image is printed, if the end opposite to the end on which the rotation reduced image is printed is rolled inward and the print medium is wound up, the rotation reduced image is obtained. The end portion of the printed print medium is positioned on the outermost peripheral side of the print medium wound up into a cylindrical shape. As a result, when confirming the image printed on the wound print medium, the operator only slightly turns the outermost peripheral edge of the wound print medium, and the rotated reduced image printed on the edge. And the contents of the image printed on the print medium can be recognized. Further, even when a large number of print media are stored in a stacked state, if the end of each print medium is slightly touched, a rotated reduced image can be viewed, and an image printed on each print medium can be recognized. be able to.
[0016]
A printer device according to a second aspect of the invention corresponds to the second drawing data. Said Print position setting means is provided for setting whether the rotated reduced image is printed in the upper area, the lower area, or the upper area and the lower area.
[0017]
Accordingly, it is possible to freely determine a place for printing the rotation reduced image in consideration of the workability of the image checking operation. Thereby, when winding up and storing a long printing medium, the winding direction of a printing medium can be determined freely.
[0018]
According to a third aspect of the present invention, there is provided a printer apparatus for reducing a predetermined reduction ratio by comparing a dimension in the feeding direction of an image with a dimension in a direction orthogonal to the feeding direction of a print area of a print medium. It has.
[0019]
For example, assume that the feeding direction of the printer apparatus is the vertical direction of the print medium, the print medium is long in the vertical direction, and the image printed on the print medium is also long in the vertical direction. In such a case, the reduction ratio is calculated by comparing the vertical dimension of the image with the horizontal dimension of the print medium. As a result, when a longitudinally long image is rotated 90 degrees and printed on the edge of the print medium, a reduction ratio is calculated such that the image does not protrude from the print medium and fits in the horizontal direction of the print medium. be able to.
[0020]
According to a fourth aspect of the present invention, there is provided a printer apparatus comprising a reduction rate setting means for setting a predetermined reduction rate according to designation data for designating a reduction rate inputted from the outside.
[0021]
By designating the reduction ratio by external input, the size of the rotated reduced image, the size of the area occupied by the rotated reduced image, and the like can be arbitrarily designated.
[0022]
In the printer device according to the invention of claim 5, the image size determination means uses the size data included in the print data, and either of the size in the image feed direction and the size in the direction orthogonal to the feed direction is longer. This is a judgment. Thereby, each dimension of an image can be known easily and dimension determination can be performed easily.
[0023]
According to the invention of claim 6, by using the first drawing data and counting the number of dots of the image corresponding to the first drawing data, the size in the image feeding direction and the direction orthogonal to the feeding direction are counted. Even if it is determined which of the dimensions is longer, similarly, each dimension of the image can be easily known, and the dimension can be easily determined.
[0024]
According to a seventh aspect of the present invention, the second drawing data creating means creates the second drawing data using the image data included in the print data. As a result, the second drawing data can be created by simple arithmetic processing.
[0025]
In the printer device according to the eighth aspect of the invention, the second drawing data creating means creates the second drawing data using the first drawing data.
[0026]
The first drawing data is created by developing image data. Therefore, if the second drawing data is created using the already developed first drawing data, the processing for developing the second drawing data and the memory used for developing the second drawing data are not required. Thereby, processing time can be shortened and memory use efficiency can be improved.
[0027]
The printer control program according to the ninth to sixteenth aspects causes the computer to function as the printer apparatus according to the above-described first to eighth aspects of the invention by causing the computer to read them.
The printer controller according to claim 17 is a printer controller for a printer apparatus that includes a print engine and performs printing while moving the print medium in a predetermined feed direction, and prints an image on a print area of the print medium. Image data and the image printed by the image data Size as a result of printing First drawing data creating means for creating first drawing data corresponding to each dot of the image actually printed on the print medium based on print data including at least size data indicating The dimension in the feeding direction of the image is determined by the image dimension determining means for determining which dimension is longer among the dimension in the feeding direction and the dimension in the direction orthogonal to the feeding direction, and the image dimension determining means. When it is longer than the dimension in the direction orthogonal to the feed direction, the image is rotated 90 degrees and the image is reduced at a predetermined reduction rate, and second drawing data corresponding to each dot of the rotation reduced image obtained thereby is obtained. A second drawing data generating means for generating, an image corresponding to the first drawing data is printed in a print area of the print medium, and the first Corresponding to the drawing data Said The print engine is configured to print the rotation-reduced image at an end portion of a print area of the print medium and at least one of an upper area and a lower area in the feeding direction of the print medium. Printing processing means to be driven.
The printer controller according to claim 18 corresponds to the second drawing data in the printer controller according to claim 17. Said Print position setting means is provided for setting whether to print the rotated reduced image in the upper area, the lower area, or the upper area and the lower area.
The printer controller according to claim 19 is the printer controller according to claim 17 or 18, wherein the size of the image in the feed direction is compared with the size of the print area of the print medium in a direction perpendicular to the feed direction. Thus, a reduction rate calculating means for calculating the predetermined reduction rate is provided.
A printer controller according to a twentieth aspect is the printer controller according to the seventeenth or eighteenth aspect, further comprising a reduction ratio setting means for setting the predetermined reduction ratio by designating data for designating a reduction ratio inputted from the outside. .
The printer controller according to claim 21 is the printer controller according to any one of claims 17 to 20, wherein the image size determination means uses the size data included in the print data, in the feeding direction of the image. It is determined which of the dimension and the dimension in the direction orthogonal to the feed direction is longer.
A printer controller according to a twenty-second aspect is the printer controller according to any one of the seventeenth to twentieth aspects, wherein the image size determining means uses the first drawing data and stores the image corresponding to the first drawing data. By counting the number of dots, it is determined which of the dimension in the feed direction of the image and the dimension in the direction orthogonal to the feed direction is longer.
A printer controller according to a twenty-third aspect is the printer controller according to any one of the seventeenth to twenty-second aspects, wherein the second drawing data creating means creates the second drawing data using the print data.
A printer controller according to a twenty-fourth aspect is the printer controller according to any one of the seventeenth to twenty-second aspects, wherein the second drawing data creating means creates the second drawing data using the first drawing data.
A recording medium on which the printer control program according to claims 25 to 32 is recorded causes the computer to function as the printer controller according to the above-described inventions according to claims 17 to 24 by causing the computer of the printer controller to read them. is there.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0029]
First, a printer apparatus according to a first embodiment of the present invention will be described with reference to FIGS.
[0030]
FIG. 1 shows the overall configuration of a printer apparatus according to a first embodiment of the present invention. Referring to FIG. 1, the printer apparatus includes a printer controller 100 that controls the printer apparatus, a print engine 300 that performs processing for printing an image or the like on printing paper, and a hard disk 208 that stores print data or the like. The printer controller 100 is connected to a host device such as a computer via a communication network 209.
[0031]
The printer controller 100 includes a CPU 201, a ROM 202, a RAM 203, an input unit 205, a communication interface 101, a print engine interface 105, and a hard disk interface 206, which are connected to each other via a bus 204. ing.
[0032]
The CPU 201 performs overall control of the printer apparatus. Further, by executing a printer control program described later, print control for printing the print data on the printing paper is performed.
[0033]
The ROM 202 stores a control program for overall control of the printer apparatus and a printer control program described later. The RAM 203 stores an area for storing print data sent from a host device such as a computer via the communication network 209, an area for storing data and parameters used when executing a printer control program to be described later, and execution of the printer control program. It is used as an area for storing main image drawing data and confirmation image drawing data created therein.
[0034]
The input unit 205 is for inputting data such as a position for printing a confirmation image, which will be described later, a reduction ratio of the confirmation image, and whether or not to rotate the confirmation image, and is configured by a keyboard or a switch. ing.
[0035]
The communication network interface 101 controls data input / output between the printer controller 100 and the communication network 209. The print engine interface 105 controls data input / output between the printer controller 100 and the print engine 300. The hard disk interface 208 controls data input / output between the printer controller 100 and the hard disk 208.
[0036]
Similar to the RAM 203, the hard disk 208 stores an area for storing print data sent from a host device such as a computer via the communication network 209, an area for storing data and parameters used when executing a printer control program to be described later, It is used as an area for storing main image drawing data and confirmation image drawing data created during execution of this printer control program. That is, whether to store data in the RAM 203 or the hard disk 208 is selected based on the data size or the speed at which the data is processed. The hard disk 208 also stores other print data, font data, and the like.
[0037]
Next, a basic printing operation by the printer apparatus will be described. First, print data is sent from a host device such as a computer to the printer controller 100 via the communication network 209. This print data is stored in the RAM 203 of the printer controller 100.
[0038]
Here, the print data includes at least image data and size data. As shown in FIG. 3, the image data is data for printing an image J1 composed of characters, graphics, and the like on the print region R of the print paper P, and is configured by, for example, a page description language. The size data is data for designating the size of the main image J1, for example, data indicating the vertical and horizontal dimensions of the main image J1, or the reduction ratio of the main image J1 based on the size of the printing paper, etc. Or it is the data which shows the enlargement ratio.
[0039]
Depending on the specifications of the page description language, the size data may be included in the image data described in the page description language.
[0040]
When the print data is stored in the RAM 203, the CPU 201 executes a printer control program described later. As a result, the CPU 201 expands the print data stored in the RAM 203 to generate main image drawing data, and stores the main image drawing data in the RAM 203. The main image drawing data is data corresponding to each dot of the main image J1 shown in FIG. 3, and the data format depends on the print format of the print engine 300 and the like. For example, the main image drawing data is bitmap data corresponding to each dot of the main image J1.
[0041]
Further, the CPU 201 generates confirmation image drawing data based on the print data stored in the RAM 203, and stores it in the RAM 203. This confirmation image drawing data is data corresponding to each dot of the confirmation image J2 shown in FIG. 3, and has the same data format (eg, bitmap data) as the main image drawing data. As shown in FIG. 3, the confirmation image J2 is a reduced version of the main image J1 and is rotated 90 degrees with respect to the main image J1. Further, the confirmation image J2 is arranged at the upper edge E1 (upper region) of the printing paper P. The reduction rate of the confirmation image J2, whether or not to rotate the confirmation image J2 by 90 degrees, the arrangement location of the confirmation image J2, and the like are determined by a printer control program as will be described later.
[0042]
The CPU 201 drives the print engine 300 after storing the main image drawing data and the confirmation image drawing data in the RAM 203. Thereby, a feeding mechanism (not shown) provided in the print engine 300 is driven, and the printing paper P set in advance in a paper insertion portion (not shown) of the print engine 300 is driven by the feeding mechanism. It is drawn into the print engine 300 from the good area E1. Then, the printing paper P moves inside the print engine 300 in the direction of arrow a in FIG. Meanwhile, the main image drawing data and the confirmation image drawing data stored in the RAM 203 are transferred from the upper edge E1 to the lower edge E2 of the printing paper P by a printer head (not shown) provided inside the print engine 300. It is printed sequentially toward the (lower area). Then, the lower region E2 of the printing paper P is sent out from the paper discharge unit of the print engine 300, and printing is completed.
[0043]
As a result, as shown in FIG. 3, the main image J1 is printed on the print area R of the print paper P, and the confirmation image J2 is displayed on the upper end E1 of the print area R of the print paper P and on the main image J1. It is printed in a state rotated by 90 degrees. In the printer device according to the present embodiment, as shown in FIG. 4, the confirmation image J2 can be printed not only on the upper edge E1 of the printing paper P but also on the lower edge E2. Further, the direction in which the confirmation image J2 is rotated by 90 degrees may be selected to be the forward direction or the reverse direction.
[0044]
Next, the processing contents executed by the printer control program will be described in detail according to the flowchart shown in FIG.
[0045]
As described above, when print data is received from a host device such as a computer and stored in the RAM 203, the CPU 201 executes a printer control program as shown in FIG.
[0046]
First, in step S102 in FIG. 2, the print data stored in the RAM 203 is read. In step 104, the read print data is expanded to generate main image drawing data, and the main image drawing data is stored in the RAM 203.
[0047]
In step 106, the print data stored in the RAM 203 is read again. In step 108, a ratio between the vertical dimension and the horizontal dimension of the image data (main image J1) is calculated based on the size data included in the print data. In step 110, based on the ratio between the vertical dimension and the horizontal dimension of the main image J1, it is determined whether or not the vertical dimension of the main image J1 is longer than the horizontal dimension.
[0048]
Here, as shown in FIG. 3, the vertical direction of the main image J1 is a direction in which the printing paper P moves in the print engine 300 by the feed mechanism of the print engine 300 during printing (arrow a in FIG. 3). It is. The horizontal method is a direction orthogonal to the vertical direction.
[0049]
As a result of the determination in step 110, when the vertical dimension of the main image J1 is longer than the horizontal dimension, a rotation command is added to the print data in step 112. Specifically, the rotation command is stored in the RAM 203 so as to be associated with the print data. Then, the process proceeds to step 114.
[0050]
On the other hand, if the result of determination in step 110 is that the vertical dimension of the main image J1 is not longer than the horizontal dimension, the process proceeds to step 114 without adding a rotation command to the print data.
[0051]
In step 114, a reduction command is added to the print data. In step 114, the reduction ratio of the confirmation image J2 is calculated.
[0052]
Here, there are two methods for calculating the reduction ratio. First, the first method will be described. When the ratio between the vertical dimension and the horizontal dimension of the main image is 2 or less, a reduction ratio is calculated so that the short side of the confirmation image is within several centimeters. On the other hand, when the ratio between the vertical dimension and the horizontal dimension of the main image is larger than 2, the short side of the confirmation image is within several centimeters, and the long side is the horizontal dimension of the printing paper P. The reduction rate that fits in is calculated. To calculate the reduction ratio so that the long side of the confirmation image fits in the horizontal dimension of the printing paper P, first, the vertical dimension of the main image and the horizontal dimension of the printing paper are recognized, What is necessary is just to compare the vertical dimension of the image with the horizontal dimension of the printing region R of the printing paper P.
[0053]
Next, the second method is a method for setting a reduction ratio based on designation data for designating a reduction ratio input from the input unit 205.
[0054]
It should be noted that which method is used to determine the reduction ratio can be selected by inputting an instruction (mode switching instruction) for switching the method to the input unit 205 by the operator. Alternatively, a command for switching the method may be included in the print data and sent to the printer controller 100 from a host device such as a computer.
[0055]
Now, after calculating the reduction ratio, the process proceeds to step 116. In step 116, the print data read in step 106 is expanded to generate confirmation image drawing data, and the confirmation image drawing data is stored in the RAM 203. Here, when the confirmation image drawing data is generated, it is determined whether or not a rotation command is added to the print data. When the rotation instruction is added, the confirmation image J2 is rotated by 90 degrees with respect to the main image J1. The image drawing data for confirmation is generated so that it is printed in a state. Further, when the confirmation image drawing data is generated, it is determined whether or not a reduction command is added to the print data. If it is added, the confirmation image J2 is based on the reduction ratio calculated in step 114. The image drawing data for confirmation is generated so as to be printed in a reduced state.
[0056]
In step 118, (1) Printing the confirmation image J2 only on the upper edge E1 of the printing paper P, (2) Print only on the lower edge E2, or (3) It is determined whether to print on both the upper edge E1 and the lower edge E2. The position for printing the confirmation image J2 is determined by the operator operating the input unit 205 as described above. (1) ~ (3) You can choose from. The worker (1) ~ (3) Data indicating which one of them has been selected is stored in, for example, the RAM 203, and the CPU 201 refers to this data to determine the printing position of the confirmation image J2.
[0057]
In step 119, the print engine 300 is driven to print the main image drawing data and the confirmation image drawing data stored in the RAM 203 on the printing paper P. As a result, for example, the position where the operator prints the confirmation image (1) 3, the main image J1 is printed in the approximate center of the printing area R, and the confirmation image J2 is printed on the upper edge E1 of the printing paper P, as shown in FIG. In addition, the position where the worker prints the confirmation image J2 (2) Is selected, the main image J1 is printed almost at the center of the print region R, and the confirmation image J2 is printed on the lower edge of the printing paper P. On the other hand, the position where the operator prints the confirmation image J2 (3) 4, the main image J1 is printed almost at the center of the printing region R, and the confirmation image J2 is printed on the upper edge E1 and the lower edge E2 of the printing paper P, respectively, as shown in FIG.
[0058]
Thus, according to the printer device of the present embodiment, the confirmation image J2 obtained by reducing the main image J1 is printed on one or both of the upper edge E1 and the lower edge E2 of the printing paper P. Therefore, even when the long print paper P is wound up as shown in FIG. 8 in order to store the print paper P, the operator can take up the outermost periphery of the print paper P wound up into a cylindrical shape. The confirmation image J2 can be viewed by slightly turning the side end, and the main image J1 printed on the printing paper P can be easily confirmed. That is, the operator does not need to widen the wound printing paper P in order to confirm the image J1 printed on the printing paper P. In addition, when a large number of printing papers P on which images are printed are stacked and stored, the operator can view the confirmation image by only slightly turning the end of each printing paper P. The main image printed on each printing paper P can be easily confirmed.
[0059]
In particular, in the printer device according to the present embodiment, as shown in FIG. 3, when the printing paper P is long in the feed direction a of the print engine 300, the confirmation image J2 is rotated 90 degrees with respect to the main image J1 and printed. The configuration. Thus, even when the main image J1 printed on the printing paper P has a long vertical dimension (a dimension in the feeding direction), the confirmation image J2 can be arranged along the short side of the long printing paper P. .
[0060]
For example, as shown in FIG. 6, the confirmation image J4 printed by another printer device is not rotated by 90 degrees even though the image J1 is long in the vertical direction. For this reason, the confirmation image J4 extends long along the longitudinal direction of the printing paper P. In this case, in order to confirm the main image J1 printed on the wound printing paper P, only a part of the confirmation image J4 is seen only by slightly turning the outermost peripheral side of the wound printing paper P. I can't. However, the confirmation image J2 printed by the printer device according to the present embodiment is rotated 90 degrees as shown in FIG. 3 or FIG. For this reason, the confirmation image J2 extends along the upper edge E1 of the printing paper P. As a result, as described above, the entire confirmation image J2 can be viewed with only a slight roll of the wound printing paper P.
[0061]
Further, as shown in FIG. 7, the confirmation image J5 printed by another printer device is disposed at the upper end E1 of the printing paper P. However, since the size of the confirmation image J5 is too small, the contents of the confirmation image J5 cannot be grasped with the naked eye. That is, if the main image J1 has a long vertical dimension, the confirmation image J5 is very small as shown in FIG. 7 if the confirmation image is not rotated and is arranged on the upper edge E1 of the printing paper P. turn into. However, since the confirmation image J2 printed by the printer device according to the present embodiment is rotated by 90 degrees as shown in FIG. 3 or FIG. 4, even if the longitudinal dimension of the main image J1 is long, The confirmation image J2 can be elongated along the upper edge E1 of the printing paper P. As a result, the confirmation image J2 can be made large enough to be clearly confirmed with the naked eye.
[0062]
In the printer device according to the present embodiment, the printing position of the confirmation image J2 is determined to be the upper edge E1 or the lower edge E2 of the printing paper P according to the winding direction of the printing paper P. be able to. Further, if the confirmation image J2 is printed on both the upper edge E1 and the lower edge E2 of the printing paper P, the outermost circumference of the wound printing paper P is taken regardless of the direction of winding the printing paper P. The confirmation image J2 is always printed on the side. Therefore, the operator can always see the confirmation image J2 if he or she slightly touches the outermost peripheral side of the wound print paper P, regardless of which direction the print paper P is wound.
[0063]
Further, the reduction ratio of the confirmation image J2 is determined by comparing the vertical dimension of the main image J1 (the dimension in the feeding direction a) and the horizontal dimension of the printing paper P (the dimension perpendicular to the feeding direction a). Therefore, it is possible to prevent the confirmation image J2 from being printed out of the printing paper P.
[0064]
Further, when the reduction rate of the confirmation image J2 is determined by the designation data input from the input unit 205, the size of the confirmation image J2 can be set as desired by the operator.
[0065]
Further, in the present embodiment, the ratio between the vertical dimension and the horizontal dimension of the image data (main image J1) is calculated based on the size data included in the print data (step 108 in FIG. 2). ), Each dimension of the main image J1 can be easily calculated.
[0066]
Next, a printer apparatus according to a second embodiment of the present invention will be described with reference to FIG. A feature of the present embodiment is that confirmation image drawing data is created using already developed main image drawing data. The hardware configuration of the printer apparatus according to the present embodiment is the same as that of the printer apparatus according to the first embodiment described above. Therefore, the same reference numerals are given to the same components, and the description thereof is omitted.
[0067]
When print data is received from a host device such as a computer and stored in the RAM 203, the CPU 201 executes a printer control program as shown in FIG.
[0068]
First, in step S202 in FIG. 9, the print data stored in the RAM 203 is read. In step 204, the read print data is expanded to generate main image drawing data, and the main image drawing data is stored in the RAM 203.
[0069]
In step 206, based on the main image drawing data stored in the RAM 203, the ratio between the vertical dimension and the horizontal dimension of the image data (main image J1) is calculated. More specifically, the main image drawing data stored in the RAM 203 is examined, the number of dots in the vertical direction of the main image J1 (feed direction a of the print engine 300), and the horizontal direction of the main image J1 (perpendicular to the feed direction a). Count the number of dots). Based on the count result, the ratio of the vertical dimension and the horizontal dimension of the main image J1 is calculated.
[0070]
In step 208, based on the ratio between the vertical dimension and the horizontal dimension of the main image J1, it is determined whether or not the vertical dimension of the main image J1 is longer than the horizontal dimension. As a result of the determination, when the vertical dimension of the main image J1 is longer than the horizontal dimension, the confirmation image J2 is printed in a state rotated 90 degrees with respect to the main image J1 in step 210. Then, confirmation image drawing data is generated. At this time, the confirmation image drawing data is generated using the already developed main image drawing data. Further, the reduction ratio used when generating the confirmation image drawing data is calculated by the same method as in the first embodiment. More specifically, the CPU 201 thins out the main image drawing data at regular intervals based on the reduction rate calculated by the same method as in the first embodiment while performing the calculation of rotating the main image drawing data by 90 degrees. As a result, the main image drawing data is reduced, and confirmation image drawing data is generated. Then, the generated confirmation image drawing data is stored in the RAM 203.
[0071]
On the other hand, as a result of the determination in step 208, when the vertical dimension of the main image J1 is not longer than the horizontal dimension, in step 212, the confirmation image J2 is not rotated, but in the same direction as the main image J1. Confirmation image drawing data is generated so as to be printed. That is, the CPU 201 generates the confirmation image drawing data by reducing the main image drawing data by thinning out the main image drawing data at regular intervals based on the reduction ratio calculated by the same method as in the first embodiment. To do. Then, the generated confirmation image drawing data is stored in the RAM 203.
[0072]
In step 214, as in the first embodiment, (1) Printing the confirmation image J2 only on the upper edge E1 of the printing paper P, (2) Print only on the lower edge E2, or (3) It is determined whether to print on both the upper edge E1 and the lower edge E2.
[0073]
In step 216, the print engine 300 is driven to print the main image drawing data and the confirmation image drawing data stored in the RAM 203 on the printing paper P.
[0074]
Thus, also in the printer device according to the present embodiment, the same effects as those of the printer device according to the first embodiment described above can be obtained.
[0075]
In particular, in the printer apparatus according to the present embodiment, the confirmation image drawing data is generated by using the already developed main image drawing data, so that it is not necessary to develop the print data again. It is possible to reduce the memory area used for generating the. Therefore, the processing time can be shortened and the memory usage efficiency can be increased.
[0076]
In the present embodiment, the number of dots in the main image drawing data is counted, and the ratio between the vertical dimension and the horizontal dimension of the image data (main image J1) is calculated (step 206 in FIG. 2). ), Each dimension of the main image J1 can be calculated.
[0077]
In each of the above-described embodiments, the printer apparatus is configured as shown in FIG. 1, and the printer control program stored in advance in the ROM 202 is executed by the CPU 201. However, the present invention is not limited to this. For example, the computer may be caused to function in the same manner as the above-described printer device by recording the printer control program on a recording medium such as a floppy disk or a CD-ROM and causing the computer to read the recording medium.
[0078]
In each of the above embodiments, as shown in FIG. 3 or FIG. 4, the case where the confirmation image J2 is printed inside the printing region R of the printing paper P is taken as an example. However, the present invention is not limited to this. Alternatively, printing may be performed outside the printing region R.
[0079]
2 and 4, step 104 or step 204 is a specific example of the first drawing data creation means, step 108 or step 206 is a specific example of the image size determination means, and step 116 or step 210 is the first. It is a specific example of 2 drawing data creation means. Step 120 or step 216 is a specific example of the printing unit, step 118 or step 214 is a specific example of the print position setting unit, and step 114 is a specific example of the reduction ratio calculation unit.
[0080]
【The invention's effect】
As described in detail above, according to the printer device of the first aspect of the present invention, it is determined which of the dimension in the image feeding direction and the dimension in the direction orthogonal to the feeding direction is longer, and the image feeding direction When the dimension at is longer than the dimension in the direction orthogonal to the feed direction, the image is rotated by 90 degrees and the image is reduced at a predetermined reduction ratio, and the second drawing corresponding to each dot of the rotation reduced image obtained thereby The data is created, and the rotation reduced image corresponding to the second drawing data is an end portion of the print area of the print medium, and at least one of the upper area and the lower area in the feeding direction of the print medium. Since it is configured to print in the area, an image having a long dimension in the feeding direction of the printer device is rotated by 90 degrees and is reduced to the edge of the print medium. It can be printed.
[0081]
As a result, when confirming the image printed on the wound print medium, the operator only slightly turns the outermost peripheral edge of the wound print medium, and the rotated reduced image printed on the edge. And the contents of the image printed on the print medium can be recognized. Further, even when a large number of print media are stored in a stacked state, if the end of each print medium is slightly touched, a rotated reduced image can be viewed, and an image printed on each print medium can be recognized. be able to. Therefore, the image printed on the print medium can be easily confirmed.
[0082]
According to the printer device of the second aspect, whether the rotation reduced image corresponding to the second drawing data is printed in the upper area of the print medium, the lower area, or the upper area and the lower area. Therefore, it is possible to freely determine a place for printing the rotated reduced image in consideration of the workability of the image checking operation. Thereby, when winding up and storing a long printing medium, the winding direction of a printing medium can be determined freely.
[0083]
According to the printer device of the third aspect of the present invention, the predetermined reduction ratio is calculated by comparing the dimension in the image feeding direction with the dimension in the direction orthogonal to the feeding direction of the print area of the print medium. Therefore, it is possible to calculate a reduction ratio such that the image does not protrude from the print medium and fits in the horizontal direction of the print medium. As a result, the rotation reduced image can be easily viewed by the operator.
[0084]
According to the printer device of the fourth aspect of the present invention, since the predetermined reduction ratio is set by the designation data for designating the input reduction ratio from the outside, the reduction ratio is designated by the input from the outside. Thus, the size of the rotation reduced image, the size of the area occupied by the rotation reduced image, and the like can be arbitrarily designated.
[0085]
According to the printer device of the fifth aspect of the present invention, the size data included in the print data is used to determine which one of the dimension in the image feed direction and the dimension in the direction orthogonal to the feed direction is longer. Since the configuration is adopted, each dimension of the image can be easily known, and the dimension can be easily determined.
[0086]
According to the printer device of the sixth aspect of the invention, by using the first drawing data and counting the number of dots of the image corresponding to the first drawing data, the size and the feeding direction in the image feeding direction can be determined. Since it is configured to determine which dimension is longer among the dimensions in the orthogonal direction, each dimension of the image can be easily known, and the dimension can be easily determined.
[0087]
According to the printer device of the seventh aspect of the invention, since the second drawing data is created using the image data included in the print data, the second drawing data can be created by a simple arithmetic process.
[0088]
According to the printer device of the eighth aspect of the invention, since the second drawing data is created using the first drawing data, the second drawing data is created using the already developed first drawing data. Thus, the processing for expanding the second drawing data and the memory used for expanding the second drawing data can be eliminated, the processing time can be shortened, and the memory usage efficiency can be increased.
[0089]
By causing a computer to read and execute the printer control program according to the ninth to sixteenth aspects of the invention, the computer can function as the printer apparatus according to the first to eighth aspects of the invention. The same effect can be obtained.
[0090]
According to the printer controller of claim 17, the print engine is driven so that an image having a long dimension in the feeding direction of the printer device is rotated by 90 degrees and reduced and printed on the edge of the print medium. be able to. As a result, when confirming the image printed on the wound print medium, the operator only slightly turns the outermost peripheral edge of the wound print medium, and the rotated reduced image printed on the edge. And the contents of the image printed on the print medium can be recognized. Further, even when a large number of print media are stored in a stacked state, if the end of each print medium is slightly touched, a rotated reduced image can be viewed, and an image printed on each print medium can be recognized. be able to. Therefore, the image printed on the print medium can be easily confirmed.
[0091]
According to the printer controller of the eighteenth aspect, it is possible to freely determine a place to print the rotation reduced image in consideration of the workability of the image confirmation work. Thereby, when winding up and storing a long printing medium, the winding direction of a printing medium can be determined freely.
[0092]
According to the printer controller of the nineteenth aspect, it is possible to calculate the reduction ratio so that the image does not protrude from the print medium and can be accommodated in the horizontal direction of the print medium. As a result, the rotation reduced image can be easily viewed by the operator.
[0093]
According to the printer controller of claim 20, by specifying the reduction ratio by an external input, it is possible to arbitrarily specify the size of the rotated reduced image, the size of the area occupied by the rotated reduced image, and the like. it can.
[0094]
According to the printer controller of the twenty-first aspect, each dimension of the image can be easily known, and the dimension can be easily determined.
[0095]
According to the printer controller of the twenty-second aspect, each dimension of the image can be easily known, and the dimension can be easily determined.
[0096]
According to the printer controller of the twenty-third aspect, the second drawing data can be created by a simple calculation process.
[0097]
According to the printer controller of the twenty-fourth aspect, the second drawing data is developed by using the already drawn first drawing data to develop the second drawing data and the second drawing data. This eliminates the need for a memory or the like used for the processing, shortens the processing time, and increases the memory usage efficiency.
[0098]
If the computer controls the printer control program recorded on the recording medium according to claims 25 to 32 to be read and executed, the computer can function as the printer controller according to the inventions of claims 17 to 24. The same effects as those of the inventions of items 17 to 24 can be obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a printer device according to a first embodiment of the present invention.
FIG. 2 is a flowchart illustrating a printer control program according to the first embodiment of the present invention.
FIG. 3 is a plan view showing a printing paper on which an image and a confirmation image rotated 90 degrees are printed in the first embodiment of the present invention.
FIG. 4 is a plan view showing a printing paper on which confirmation images are printed on both sides in the first embodiment of the present invention.
FIG. 5 is a plan view showing a printing paper on which a confirmation image is printed outside a printing area in the first embodiment of the present invention.
FIG. 6 is a plan view showing a printing sheet on which an image is printed, and the confirmation image is in a portrait orientation.
FIG. 7 is a plan view showing a state in which the size of a confirmation image is small on a printing sheet on which an image is printed.
FIG. 8 is a perspective view showing a state in which the printing paper P printed by the printer device according to the first embodiment of the present invention is wound up.
FIG. 9 is a flowchart illustrating a printer control program according to the second embodiment of the present invention.
[Explanation of symbols]
100 Printer controller
202 CPU
202 ROM
203 RAM
205 Input section
208 hard disk
300 print engine
P Printing paper (printing medium)
E1 Upper edge (upper area)
E2 Lower edge (lower area)
J1 Main image (image)
J2 Confirmation image (Rotation reduced image)

Claims (32)

印刷媒体を所定の送り方向に移動させながら印刷を行うプリンタ装置であって、
前記印刷媒体の印刷領域に画像を印刷するための画像データと前記画像データによって印刷される前記画像の印刷結果としての大きさを示すサイズデータとを少なくとも含む印刷データに基づいて、前記印刷媒体上に実際に印刷される前記画像の各ドットに対応した第1描画データを作成する第1描画データ作成手段と、
前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する画像寸法判定手段と、
前記画像寸法判定手段により、前記画像の前記送り方向における寸法が前記送り方向と直交する方向における寸法よりも長いときには、前記画像を90度回転させると共に当該画像を所定の縮小率をもって縮小させ、これにより得られる回転縮小画像の各ドットに対応する第2描画データを作成する第2描画データ作成手段と、
前記第1描画データに対応する画像を前記印刷媒体の印刷領域に印刷し、前記第2描画データに対応する前記回転縮小画像を、前記印刷媒体の印刷領域の端部であって、かつ、前記印刷媒体の前記送り方向における上手領域および下手領域のうち少なくともいずれか一方の領域に印刷する印刷手段とを備えてなるプリンタ装置。
A printer device that performs printing while moving a print medium in a predetermined feeding direction,
On the print medium, based on print data including at least image data for printing an image on a print area of the print medium and size data indicating the size of the image printed by the image data as a print result First drawing data creating means for creating first drawing data corresponding to each dot of the image that is actually printed;
Image size determination means for determining which dimension is longer among the dimension in the feed direction of the image and the dimension in a direction orthogonal to the feed direction;
When the dimension in the feeding direction of the image is longer than the dimension in the direction orthogonal to the feeding direction, the image size determining means rotates the image by 90 degrees and reduces the image with a predetermined reduction ratio. Second drawing data creation means for creating second drawing data corresponding to each dot of the rotation reduced image obtained by
Wherein an image corresponding to the first drawing data is printed on the printing area of the printing medium, the rotation reduced image corresponding to the second drawing data, an end portion of the printing area of the printing medium, and wherein A printer apparatus comprising: a printing unit that prints in at least one of an upper area and a lower area in the feeding direction of the print medium.
前記第2描画データに対応する前記回転縮小画像を前記印刷媒体の上手領域に印刷するか、下手領域に印刷するか、または上手領域および下手領域に印刷するかを設定する印刷位置設定手段を備えてなる請求項1に記載のプリンタ装置。Or to print the rotation reduced image corresponding to the second drawing data to the well area of the print medium, comprising a print position setting means for setting whether to print or not to print a poor region or well region and poor regions The printer device according to claim 1. 前記画像の前記送り方向における寸法と前記印刷媒体の印刷領域の前記送り方向と直交する方向における寸法とを比較することにより、前記所定の縮小率を算出する縮小率算出手段を備えてなる請求項1または2に記載のプリンタ装置。 2. A reduction ratio calculating unit that calculates the predetermined reduction ratio by comparing a dimension of the image in the feeding direction with a dimension of a print area of the print medium in a direction orthogonal to the feeding direction. The printer apparatus according to 1 or 2. 外部からの入力された縮小率を指定するための指定データによって前記所定の縮小率を設定する縮小率設定手段を備えてなる請求項1または2に記載のプリンタ装置。 The printer apparatus according to claim 1, further comprising a reduction rate setting unit that sets the predetermined reduction rate according to designation data for designating a reduction rate inputted from the outside. 前記画像寸法判定手段は、前記印刷データに含まれる前記サイズデータを用いて、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定するものである請求項1ないし4のいずれかに記載のプリンタ装置。 The image size determination means determines which of the size in the feed direction of the image and the size in the direction orthogonal to the feed direction is longer using the size data included in the print data. The printer device according to claim 1, wherein the printer device is a printer. 前記画像寸法判定手段は、前記第1描画データを用いて、この第1描画データに対応する前記画像のドット数をカウントすることにより、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定するものである請求項1ないし4のいずれかに記載のプリンタ装置。 The image size determination means uses the first drawing data and counts the number of dots of the image corresponding to the first drawing data, so that the size of the image in the feeding direction is orthogonal to the feeding direction. 5. The printer apparatus according to claim 1, wherein which of the dimensions in the direction is determined is longer. 前記第2描画データ作成手段は、前記印刷データに含まれる前記画像データを用いて、前記第2描画データを作成するものである請求項1ないし6のいずれかに記載のプリンタ装置。 The printer apparatus according to claim 1, wherein the second drawing data creation unit creates the second drawing data using the image data included in the print data. 前記第2描画データ作成手段は、前記第1描画データを用いて、前記第2描画データを作成するものである請求項1ないし6のいずれかに記載のプリンタ装置。 The printer apparatus according to claim 1, wherein the second drawing data creation unit creates the second drawing data using the first drawing data. 印刷取手段を備え、印刷媒体を所定の送り方向に移動させながら印刷を行うプリンタ装置に含まれるコンピュータを、
前記印刷媒体の印刷領域に画像を印刷するための画像データと前記画像データによって印刷される前記画像の印刷結果としての大きさを示すサイズデータとを少なくとも含む印刷データに基づいて、前記印刷媒体上に実際に印刷される前記画像の各ドットに対応した第1描画データを作成する第1描画データ作成手段
前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する画像寸法判定手段
前記画像寸法判定手段により、前記画像の前記送り方向における寸法が前記送り方向と直交する方向における寸法よりも長いときには、前記画像を90度回転させると共に当該画像を所定の縮小率をもって縮小させ、これにより得られる回転縮小画像の各ドットに対応する第2描画データを作成する第2描画データ作成手段
前記第1描画データに対応する画像を前記印刷媒体の印刷領域に印刷し、前記第2描画データに対応する前記回転縮小画像を、前記印刷媒体の印刷領域の端部であって、かつ、前記印刷媒体の前記送り方向における上手領域および下手領域のうち少なくともいずれか一方の領域に印刷するように前記印刷手段を制御する印刷制御手段、
として機能させることを特徴とするプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。
A computer included in a printer apparatus that includes a printing device and performs printing while moving a printing medium in a predetermined feeding direction .
On the print medium, based on print data including at least image data for printing an image on a print area of the print medium and size data indicating the size of the image printed by the image data as a print result the first rendering data generation means for generating a first drawing data corresponding to each dot of the image to be actually printed on,
An image dimension determining means for determining which dimension is longer among the dimension in the feeding direction of the image and the dimension in a direction orthogonal to the feeding direction ;
When the dimension in the feeding direction of the image is longer than the dimension in the direction orthogonal to the feeding direction, the image size determining means rotates the image by 90 degrees and reduces the image with a predetermined reduction ratio. the second drawing data generation means for generating a second drawing data corresponding to each dot of the rotation reduced image obtained by,
Wherein an image corresponding to the first drawing data is printed on the printing area of the printing medium, the rotation reduced image corresponding to the second drawing data, an end portion of the printing area of the printing medium, and wherein print control means for controlling said printing means to print on one area at least one of the good areas and poor regions in the feed direction of the print medium,
A computer-readable recording medium on which a printer control program is recorded.
前記コンピュータを、前記第2描画データに対応する前記回転縮小画像を前記印刷媒体の上手領域に印刷するか、下手領域に印刷するか、または上手領域および下手領域に印刷するかを設定する印刷位置設定手段として更に機能させることを特徴とする請求項9に記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。 The computer, the second or the rotation reduced image corresponding to the drawing data for printing the well region of the print medium, or print to a poor area, or print position for setting whether to print in good areas and bad areas The computer-readable recording medium having the printer control program recorded thereon according to claim 9, further functioning as a setting unit. 前記コンピュータを、前記画像の前記送り方向における寸法と前記印刷媒体の印刷領域の前記送り方向と直交する方向における寸法とを比較することにより、前記所定の縮小率を算出する縮小率算出手段として更に機能させることを特徴とする請求項9または10に記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。 Further, as the reduction ratio calculation means for calculating the predetermined reduction ratio by comparing the computer with a dimension in the feeding direction of the image and a dimension in a direction orthogonal to the feeding direction of the print area of the print medium. computer readable recording medium recording the printer control program according to claim 9 or 10, characterized in that to function. 前記コンピュータを、外部からの入力された縮小率を指定するための指定データによって前記所定の縮小率を設定する縮小率設定手段として更に機能させることを特徴とする請求項9または10に記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。 11. The printer according to claim 9 or 10, further causing the computer to function as a reduction ratio setting means for setting the predetermined reduction ratio based on designation data for designating a reduction ratio inputted from the outside. A computer-readable recording medium on which a control program is recorded. 前記画像寸法判定手段は、前記印刷データに含まれる前記サイズデータを用いて、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定するものである請求項9ないし12のいずれかに記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。The image size determination means determines which of the size in the feed direction of the image and the size in the direction orthogonal to the feed direction is longer using the size data included in the print data. 13. A computer-readable recording medium on which the printer control program according to claim 9 is recorded. 前記画像寸法判定手段は、前記第1描画データを用いて、この第1描画データに対応する前記画像のドット数をカウントすることにより、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定するものである請求項9ないし12のいずれかに記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。The image size determination means uses the first drawing data and counts the number of dots of the image corresponding to the first drawing data, so that the size of the image in the feeding direction is orthogonal to the feeding direction. The computer-readable recording medium on which the printer control program according to any one of claims 9 to 12 is recorded, which determines which of the dimensions in the direction is longer. 前記第2描画データ作成手段は、前記印刷データに含まれる前記画像データを用いて、前記第2描画データを作成するものである請求項9ないし14のいずれかに記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。15. The printer control program according to claim 9, wherein the second drawing data creating unit creates the second drawing data by using the image data included in the print data. Computer-readable recording medium. 前記第2描画データ作成手段は、前記第1描画データを用いて、前記第2描画データを作成するものである請求項9ないし14のいずれかに記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。15. The computer-readable computer readable recording the printer control program according to claim 9, wherein the second drawing data creating means creates the second drawing data using the first drawing data. recoding media. プリントエンジンを備え、印刷媒体を所定の送り方向に移動させながら印刷を行うプリンタ装置のためのプリンタコントローラであって、
前記印刷媒体の印刷領域に画像を印刷するための画像データと前記画像データによって印刷される前記画像の印刷結果としての大きさを示すサイズデータとを少なくとも含む印刷データに基づいて、前記印刷媒体上に実際に印刷される前記画像の各ドットに対応した第1描画データを作成する第1描画データ作成手段と、
前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する画像寸法判定手段と、
前記画像寸法判定手段により、前記画像の前記送り方向における寸法が前記送り方向と直交する方向における寸法よりも長いときには、前記画像を90度回転させると共に当該画像を所定の縮小率をもって縮小させ、これにより得られる回転縮小画像の各ドットに対応する第2描画データを作成する第2描画データ作成手段と、
前記第1描画データに対応する画像を前記印刷媒体の印刷領域に印刷し、前記第2描画データに対応する前記回転縮小画像を、前記印刷媒体の印刷領域の端部であって、かつ、前記印刷媒体の前記送り方向における上手領域および下手領域のうち少なくともいずれか一方の領域に印刷するように前記プリントエンジンを駆動させる印刷処理手段とを備えてなるプリンタコントローラ。
A printer controller for a printer apparatus that includes a print engine and performs printing while moving a print medium in a predetermined feeding direction,
On the print medium, based on print data including at least image data for printing an image on a print area of the print medium and size data indicating the size of the image printed by the image data as a print result First drawing data creating means for creating first drawing data corresponding to each dot of the image that is actually printed;
Image size determination means for determining which dimension is longer among the dimension in the feed direction of the image and the dimension in a direction orthogonal to the feed direction;
When the dimension in the feeding direction of the image is longer than the dimension in the direction orthogonal to the feeding direction, the image size determining means rotates the image by 90 degrees and reduces the image with a predetermined reduction ratio. Second drawing data creation means for creating second drawing data corresponding to each dot of the rotation reduced image obtained by
Wherein an image corresponding to the first drawing data is printed on the printing area of the printing medium, the rotation reduced image corresponding to the second drawing data, an end portion of the printing area of the printing medium, and wherein A printer controller comprising: a print processing unit that drives the print engine to print in at least one of an upper area and a lower area in the feeding direction of the print medium.
前記第2描画データに対応する前記回転縮小画像を前記印刷媒体の上手領域に印刷するか、下手領域に印刷するか、または上手領域および下手領域に印刷するかを設定する印刷位置設定手段を備えてなる請求項17に記載のプリンタコントローラ。Or to print the rotation reduced image corresponding to the second drawing data to the well area of the print medium, comprising a print position setting means for setting whether to print or not to print a poor region or well region and poor regions The printer controller according to claim 17. 前記画像の前記送り方向における寸法と前記印刷媒体の印刷領域の前記送り方向と直交する方向における寸法とを比較することにより、前記所定の縮小率を算出する縮小率算出手段を備えてなる請求項17または18に記載のプリンタコントローラ。 2. A reduction ratio calculating unit that calculates the predetermined reduction ratio by comparing a dimension of the image in the feeding direction with a dimension of a print area of the print medium in a direction orthogonal to the feeding direction. The printer controller according to 17 or 18. 外部からの入力された縮小率を指定するための指定データによって前記所定の縮小率を設定する縮小率設定手段を備えてなる請求項17または18に記載のプリンタコントローラ。 19. The printer controller according to claim 17, further comprising a reduction rate setting unit that sets the predetermined reduction rate according to designation data for designating a reduction rate inputted from outside. 前記画像寸法判定手段は、前記印刷データに含まれる前記サイズデータを用いて、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定するものである請求項17ないし20のいずれかに記載のプリンタコントローラ。 The image size determination means determines which of the size in the feed direction of the image and the size in the direction orthogonal to the feed direction is longer using the size data included in the print data. 21. The printer controller according to claim 17, wherein the printer controller is a printer controller. 前記画像寸法判定手段は、前記第1描画データを用いて、この第1描画データに対応する前記画像のドット数をカウントすることにより、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定するものである請求項17ないし20のいずれかに記載のプリンタコントローラ。 The image size determination means uses the first drawing data and counts the number of dots of the image corresponding to the first drawing data, so that the size of the image in the feeding direction is orthogonal to the feeding direction. 21. The printer controller according to claim 17, wherein which of the dimensions in the direction is longer is determined. 前記第2描画データ作成手段は、前記印刷データを用いて前記第2描画データを作成するものである請求項17ないし22のいずれかに記載のプリンタコントローラ。 23. The printer controller according to claim 17, wherein the second drawing data creating unit creates the second drawing data using the print data. 前記第2描画データ作成手段は、前記第1描画データを用いて前記第2描画データを作成するものである請求項17ないし22のいずれかに記載のプリンタコントローラ。 23. The printer controller according to claim 17, wherein the second drawing data creation unit creates the second drawing data using the first drawing data. プリンタエンジンを備え、印刷媒体を所定の送り方向に移動させながら印刷を行うプリンタ装置のためのプリンタコントローラのコンピュータを、
前記印刷媒体の印刷領域に画像を印刷するための画像データと前記画像データによって印刷される前記画像の印刷結果としての大きさを示すサイズデータとを少なくとも含む印刷データに基づいて、前記印刷媒体上に実際に印刷される前記画像の各ドットに対応した第1描画データを作成する第1描画データ作成手段、
前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定する画像寸法判定手段、
前記画像寸法判定手段により、前記画像の前記送り方向における寸法が前記送り方向と直交する方向における寸法よりも長いときには、前記画像を90度回転させると共に当該画像を所定の縮小率をもって縮小させ、これにより得られる回転縮小画像の各ドットに対応する第2描画データを作成する第2描画データ作成手段、
及び前記第1描画データに対応する画像を前記印刷媒体の印刷領域に印刷し、前記第2描画データに対応する前記回転縮小画像を、前記印刷媒体の印刷領域の端部であって、かつ、前記印刷媒体の前記送り方向における上手領域および下手領域のうち少なくともいずれか一方の領域に印刷するように前記プリンタエンジンを駆動させる印刷処理手段として機能させるプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。
A printer controller computer for a printer apparatus having a printer engine and performing printing while moving a print medium in a predetermined feeding direction,
On the print medium, based on print data including at least image data for printing an image on a print area of the print medium and size data indicating the size of the image printed by the image data as a print result First drawing data creating means for creating first drawing data corresponding to each dot of the image actually printed on
An image dimension determining means for determining which dimension is longer among the dimension in the feeding direction of the image and the dimension in a direction orthogonal to the feeding direction;
When the dimension in the feeding direction of the image is longer than the dimension in the direction orthogonal to the feeding direction, the image size determining means rotates the image by 90 degrees and reduces the image with a predetermined reduction ratio. Second drawing data creating means for creating second drawing data corresponding to each dot of the rotated reduced image obtained by
And prints an image corresponding to the first drawing data to the print area of the print medium, the rotation reduced image corresponding to the second drawing data, an end portion of the printing area of the print medium, and, A computer-readable recording medium having recorded thereon a printer control program for functioning as a print processing means for driving the printer engine so as to print in at least one of an upper area and a lower area in the feeding direction of the print medium .
前記コンピュータを、前記第2描画データに対応する前記回転縮小画像を前記印刷媒体の上手領域に印刷するか、下手領域に印刷するか、または上手領域および下手領域に印刷するかを設定する印刷位置設定手段として更に機能させることを特徴とする請求項25に記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。The computer, the second or the rotation reduced image corresponding to the drawing data for printing the well region of the print medium, or print to a poor area, or print position for setting whether to print in good areas and bad areas 26. The computer-readable recording medium having the printer control program recorded thereon according to claim 25, further functioning as setting means. 前記コンピュータを、前記画像の前記送り方向における寸法と前記印刷媒体の印刷領域の前記送り方向と直交する方向における寸法とを比較することにより、前記所定の縮小率を算出する縮小率算出手段として更に機能させることを特徴とする請求項25または26に記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。Further, as the reduction ratio calculation means for calculating the predetermined reduction ratio by comparing the computer with a dimension in the feeding direction of the image and a dimension in a direction orthogonal to the feeding direction of the print area of the print medium. 27. A computer-readable recording medium on which the printer control program according to claim 25 or 26 is recorded. 前記コンピュータを、外部からの入力された縮小率を指定するための指定データによって前記所定の縮小率を設定する縮小率設定手段として更に機能させることを特徴とする請求項25または26に記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。27. The printer according to claim 25 or 26, further causing the computer to function as a reduction rate setting means for setting the predetermined reduction rate according to designation data for designating a reduction rate inputted from outside. A computer-readable recording medium on which a control program is recorded. 前記画像寸法判定手段は、前記印刷データに含まれる前記サイズデータを用いて、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定するものである請求項25ないし28のいずれかに記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。The image size determination means determines which of the size in the feed direction of the image and the size in the direction orthogonal to the feed direction is longer using the size data included in the print data. 29. A computer-readable recording medium on which the printer control program according to any one of claims 25 to 28 is recorded. 前記画像寸法判定手段は、前記第1描画データを用いて、この第1描画データに対応する前記画像のドット数をカウントすることにより、前記画像の前記送り方向における寸法と前記送り方向と直交する方向における寸法のうち、どちらの寸法が長いかを判定するものである請求項25ないし28のいずれかに記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。The image size determination means uses the first drawing data and counts the number of dots of the image corresponding to the first drawing data, so that the size of the image in the feeding direction is orthogonal to the feeding direction. 29. A computer-readable recording medium having a printer control program recorded thereon according to claim 25, wherein which of the dimensions in the direction is determined is longer. 前記第2描画データ作成手段は、前記印刷データに含まれる前記画像データを用いて、前記第2描画データを作成するものである請求項25ないし30のいずれかに記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。31. The printer control program according to claim 25, wherein the second drawing data creating unit creates the second drawing data using the image data included in the print data. Computer-readable recording medium. 前記第2描画データ作成手段は、前記第1描画データを用いて、前記第2描画データを作成するものである請求項25ないし30のいずれかに記載のプリンタ制御プログラムを記録したコンピュータ読み取り可能な記録媒体。31. A computer-readable recording medium having a printer control program recorded thereon according to claim 25, wherein the second drawing data creating means creates the second drawing data using the first drawing data. recoding media.
JP05775398A 1998-03-10 1998-03-10 Printer device, printer controller, and computer-readable recording medium recording printer control program Expired - Fee Related JP4000659B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05775398A JP4000659B2 (en) 1998-03-10 1998-03-10 Printer device, printer controller, and computer-readable recording medium recording printer control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05775398A JP4000659B2 (en) 1998-03-10 1998-03-10 Printer device, printer controller, and computer-readable recording medium recording printer control program

Publications (2)

Publication Number Publication Date
JPH11254779A JPH11254779A (en) 1999-09-21
JP4000659B2 true JP4000659B2 (en) 2007-10-31

Family

ID=13064652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05775398A Expired - Fee Related JP4000659B2 (en) 1998-03-10 1998-03-10 Printer device, printer controller, and computer-readable recording medium recording printer control program

Country Status (1)

Country Link
JP (1) JP4000659B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5783226B2 (en) * 2009-11-09 2015-09-24 セイコーエプソン株式会社 Printing apparatus and printing method
JP6299972B2 (en) * 2014-06-24 2018-03-28 ブラザー工業株式会社 Tape printing apparatus and tape printing program
JP7301718B2 (en) * 2019-10-31 2023-07-03 株式会社ミマキエンジニアリング Rolled print media and printing device

Also Published As

Publication number Publication date
JPH11254779A (en) 1999-09-21

Similar Documents

Publication Publication Date Title
EP1089163B1 (en) Data processing for arranging text and image data on a substrate
JP2023157920A (en) Program, image processing method, and image processing device
JP3573175B2 (en) Image processing device
JP4000659B2 (en) Printer device, printer controller, and computer-readable recording medium recording printer control program
JP2741800B2 (en) Document processing device
JP2003320740A5 (en)
JP4665806B2 (en) Printing apparatus, printing method, and printing program
JP2008009652A (en) Printing processing method and printer driver
JP3852728B2 (en) Printing apparatus and information processing apparatus
JP4612231B2 (en) Printing system
JP3248811B2 (en) Print control device and print control method
JP2005182694A (en) Layout printing system
JP4457246B2 (en) Image forming apparatus and image forming method
JP3366771B2 (en) Printing equipment
JP2001101179A (en) Device and method for data processing and recording medium
JP2000148429A (en) Printer driver
JP2002240403A (en) Imaging apparatus
JPS60159077A (en) Printer controller
JP2650982B2 (en) Printer control device
JPH07114543A (en) Document processor
JP3640123B2 (en) Image forming apparatus, image forming method, and computer readable recording medium recording image forming apparatus control program
JP2009116596A (en) Print processing system
JPS63250727A (en) Printer controller
JP2007136702A (en) Printer
JPH051492B2 (en)

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060530

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060726

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070806

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

Free format text: PAYMENT UNTIL: 20100824

Year of fee payment: 3

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120824

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120824

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130824

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees