JP2004306392A - Printer, controller, printing method, control method and program - Google Patents

Printer, controller, printing method, control method and program Download PDF

Info

Publication number
JP2004306392A
JP2004306392A JP2003102044A JP2003102044A JP2004306392A JP 2004306392 A JP2004306392 A JP 2004306392A JP 2003102044 A JP2003102044 A JP 2003102044A JP 2003102044 A JP2003102044 A JP 2003102044A JP 2004306392 A JP2004306392 A JP 2004306392A
Authority
JP
Japan
Prior art keywords
dot
image
pixel
contour
medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003102044A
Other languages
Japanese (ja)
Inventor
Keigo Yamazaki
啓吾 山▲崎▼
Akihito Sato
彰人 佐藤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003102044A priority Critical patent/JP2004306392A/en
Publication of JP2004306392A publication Critical patent/JP2004306392A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a printed image from becoming thin even if outline processing is performed by solving a problem that an image printed on a medium becomes thin when the quantity of ink being ejected to the outline part is simply reduced, especially solving a problem that a printed image is blurred when an image including a small character or a thin line is printed. <P>SOLUTION: The printer has a head capable of forming a large dot and a small dot and prints an image on a sheet by forming a large dot or a small dot at a position on the sheet corresponding to a pixel constituting an image. A small dot is formed at a position on a medium corresponding to a contour pixel (a pixel on the outside of an outline pixel constituting the outline of the image). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、紙などの媒体に印刷を行う印刷装置及び制御装置に関する。また、本発明は、印刷方法、制御方法及びプログラムに関する。
【0002】
【従来の技術】
媒体(紙、布、フィルム等)にドットを形成して画像を印刷する印刷装置では、印刷を実行するためのアプリケーションプログラムの印刷命令等に応じて、媒体に画像を印刷している。そして、媒体に印刷される画像の輪郭部分を滑らかにするため、画像の輪郭部分に吐出するインク量を減らして媒体に印刷を行う輪郭処理が知られている。
【0003】
【特許文献1】
特開2002−292848号公報
【0004】
【発明が解決しようとする課題】
しかし、輪郭部分に吐出するインク量を単に減らしただけでは、媒体に印刷された画像が細くなってしまう。特に、小さい文字や細い線を含む画像を印刷する場合、この影響によって、印刷された画像が見えにくくなる。
【0005】
本発明は、輪郭処理を行っても印刷された画像が細くなることを防止することを目的とする。
【0006】
【課題を解決するための手段】
上記目的を達成するための主たる第1の発明は、第1ドット及び前記第1ドットよりも小さい第2ドットを媒体に形成可能なヘッドを有し、画像を構成する画素に対応する前記媒体上の位置に、前記第1ドット又は前記第2ドットを形成することによって、前記画像を前記媒体に印刷する印刷装置であって、前記画像の輪郭を構成する輪郭画素の外側の画素に対応する媒体上の位置に、前記第2ドットを形成する。
【0007】
上記目的を達成するための主たる第2の発明は、画像を構成する画素に、第1ドットに関する第1ドット情報又は前記第1ドットよりも小さい第2ドットに関する第2ドット情報を対応させ、前記第1ドット情報及び前記第2ドット情報を出力する制御装置であって、前記画像の輪郭を構成する輪郭画素の外側の画素に、前記第2ドット情報を対応させる。
本発明の他の特徴については、本明細書及び添付図面の記載により明らかにする。
【0008】
【発明の実施の形態】
===開示の概要===
本明細書及び添付図面の記載により少なくとも以下の事項が明らかとなる。
第1ドット及び前記第1ドットよりも小さい第2ドットを媒体に形成可能なヘッドを有し、
画像を構成する画素に対応する前記媒体上の位置に、前記第1ドット又は前記第2ドットを形成することによって、前記画像を前記媒体に印刷する印刷装置であって、
前記画像の輪郭を構成する輪郭画素の外側の画素に対応する媒体上の位置に、前記第2ドットを形成する。
このような印刷装置によれば、輪郭処理を行っても印刷された画像が細くなることを防止することができる。
【0009】
かかる印刷装置であって、前記輪郭画素に対応する媒体上の位置に形成される第1ドットと、前記外側の画素に対応する媒体上の位置に形成される第2ドットとは、接触していることが望ましい。このような印刷装置によれば、第1ドットから溢れるてくるインクを第2ドットに導くことができるので、輪郭部分が滑らかになる。
かかる印刷装置であって、前記印刷装置は前記ヘッドから吐出されるインク量を制御して前記第1ドット及び前記第2ドットを前記媒体に形成するものであり、前記印刷装置は前記輪郭画素に対応する前記媒体上の位置に吐出するインク量を減らすことが望ましい。このような印刷装置によれば、印刷された画像は、原画像に近い形状になる。また、前記印刷装置は、前記媒体に印刷される画像の大きさに応じて、前記輪郭画素に対応する前記媒体上の位置に吐出するインク量を減らすことが好ましい。このような印刷装置によれば、印刷される画像に適した印刷処理を行うことができる。
【0010】
かかる印刷装置であって、前記印刷装置は、前記媒体に印刷される画像が所定の大きさよりも小さい場合に、前記輪郭画素に対応する媒体上の位置に吐出するインク量を減らすことが望ましい。また、前記印刷装置は、前記印刷される画像に含まれる文字の大きさに基づいて、前記画像の大きさを判断することが好ましい。また、前記印刷される画像には、ドットを形成しない空間があることが良い。このような印刷装置によれば、例えば「A」のように内部に白抜きの空間のある小さい文字を印刷する場合であっても、その白抜きの空間を潰さずに印刷することができる。
かかる印刷装置であって、前記印刷装置は、前記媒体に印刷される画像が所定の大きさよりも大きい場合に、前記輪郭画素に対応する媒体上の位置に吐出するインク量を減らすことが望ましい。また、前記印刷装置は、前記印刷される画像の線の太さに基づいて、前記画像の大きさを判断することが好ましい。また、前記印刷装置は、前記画像の線が3画素分よりも太い場合に、前記輪郭画素に対応する媒体上の位置に吐出するインク量を減らすことが良い。このような印刷装置によれば、線を構成するドットが全て小ドットに置き換わることがないように、印刷処理を行うことができる。
【0011】
かかる印刷装置であって、前記ヘッドは前記第1ドットよりも小さく前記第2ドットよりも大きい中間ドットを形成可能であって、前記印刷装置は、前記輪郭画素の少なくとも一部の画素に対応する媒体上の位置に、前記中間ドットを形成することが望ましい。また、かかる印刷装置であって、前記印刷装置は、前記輪郭画素の少なくとも一部の画素に対応する媒体上の位置に、前記第1ドット及び前記第2ドットのいずれも形成しないことが望ましい。このような印刷装置によれば、輪郭画素に対応する媒体上の位置に吐出するインク量を減らすことができる。
【0012】
かかる印刷装置であって、前記媒体に印刷される画像は、前記第1ドット又は前記第2ドットによって所定の領域を塗りつぶすような画像であることが望ましい。このような印刷装置によれば、塗りつぶす領域の輪郭部分を滑らかにしつつ、塗りつぶす領域が細くなることを防止することができる。
【0013】
かかる印刷装置であって、前記媒体に印刷される画像は、文字であることが望ましい。このような印刷装置によれば、文字の輪郭部分を滑らかにしつつ、文字を構成する線が細くならないようにすることができる。
【0014】
画像を構成する画素に第1ドットに関する第1ドット情報又は前記第1ドットよりも小さい第2ドットに関する第2ドット情報を対応させ、前記第1ドット情報及び前記第2ドット情報を出力する制御装置であって、前記画像の輪郭を構成する輪郭画素の外側の画素に、前記第2ドット情報を対応させる。このような印刷装置によれば、輪郭処理を行っても印刷された画像が細くなることを防止することができる。
【0015】
画像を構成する画素に対応する前記媒体上の位置に、前記第1ドット又は前記第1ドットよりも小さい第2ドットを形成することによって、前記画像を前記媒体に印刷する印刷方法であって、前記画像の輪郭を構成する輪郭画素の外側の画素に対応する媒体上の位置に、前記第2ドットを形成する。 このような印刷装置によれば、輪郭処理を行っても印刷された画像が細くなることを防止することができる。
【0016】
画像を構成する画素に、第1ドットに関する第1ドット情報又は前記第1ドットよりも小さい第2ドットに関する第2ドット情報を対応させ、前記第1ドット情報及び前記第2ドット情報を出力する制御方法であって、前記画像の輪郭を構成する輪郭画素の外側の画素に、前記第2ドット情報を対応させる。 このような印刷装置によれば、輪郭処理を行っても印刷された画像が細くなることを防止することができる。
【0017】
第1ドット及び前記第1ドットよりも小さい第2ドットを媒体に形成可能なヘッドを有する印刷装置に、画像を構成する画素に対応する前記媒体上の位置に、前記第1ドット又は前記第2ドットを形成することによって、前記画像を前記媒体に印刷する機能を実現させるプログラムであって、前記画像の輪郭を構成する輪郭画素の外側の画素に対応する媒体上の位置に、前記第2ドットを形成する機能を前記印刷装置に実現させる。 このような印刷装置によれば、輪郭処理を行っても印刷された画像が細くなることを防止することができる。
【0018】
画像を構成する画素に、第1ドットに関する第1ドット情報又は前記第1ドットよりも小さい第2ドットに関する第2ドット情報を対応させる機能と、前記第1ドット情報及び前記第2ドット情報を出力する機能とを制御装置に実現させるプログラムであって、前記画像の輪郭を構成する輪郭画素の外側の画素に、前記第2ドット情報を対応させる機能を前記制御装置に実現させる。このような印刷装置によれば、輪郭処理を行っても印刷された画像が細くなることを防止することができる。
【0019】
===印刷システムの構成===
次に、印刷システム(コンピュータシステム)の実施形態について、図面を参照しながら説明する。ただし、以下の実施形態の記載には、コンピュータプログラム、及び、コンピュータプログラムを記録した記録媒体等に関する実施形態も含まれている。
【0020】
図1は、印刷システムの外観構成を示した説明図である。この印刷システム1000は、プリンタ1と、コンピュータ1100と、表示装置1200と、入力装置1300と、記録再生装置1400とを備えている。プリンタ1は、紙、布、フィルム等の媒体に画像を印刷する印刷装置である。コンピュータ1100は、プリンタ1と電気的に接続されており、プリンタ1に画像を印刷させるため、印刷させる画像に応じた印刷データをプリンタ1に出力する。表示装置1200は、ディスプレイを有し、アプリケーションプログラムやプリンタドライバ等のユーザインタフェースを表示する。入力装置1300は、例えばキーボード1300Aやマウス1300Bであり、表示装置1200に表示されたユーザインタフェースに沿って、アプリケーションプログラムの操作やプリンタドライバの設定等に用いられる。記録再生装置1400は、例えばフレキシブルディスクドライブ装置1400AやCD−ROMドライブ装置1400Bが用いられる。
【0021】
コンピュータ1100にはプリンタドライバがインストールされている。プリンタドライバは、表示装置1200にユーザインタフェースを表示させる機能を実現させるほか、アプリケーションプログラムから出力された画像データを印刷データに変換する機能を実現させるためのプログラムである。このプリンタドライバは、フレキシブルディスクFDやCD−ROMなどの記録媒体(コンピュータ読み取り可能な記録媒体)に記録されている。または、このプリンタドライバは、インターネットを介してコンピュータ1100にダウンロードすることも可能である。なお、このプログラムは、各種の機能を実現するためのコードから構成されている。
なお、「印刷装置」とは、狭義にはプリンタ1を意味するが、広義にはプリンタ1とコンピュータ1100とのシステムを意味する。
【0022】
===プリンタドライバ===
<プリンタドライバについて>
図2は、プリンタドライバが行う基本的な処理の概略的な説明図である。既に説明された構成要素については、同じ符号を付しているので説明を省略する。 コンピュータ1100では、コンピュータに搭載されたオペレーティングシステムの下、ビデオドライバ1102やアプリケーションプログラム1104やプリンタドライバ1110などのコンピュータプログラムが動作している。ビデオドライバ1102は、アプリケーションプログラム1104やプリンタドライバ1110からの表示命令に従って、例えばユーザインターフェース等を表示装置1200に表示する機能を有する。アプリケーションプログラム1104は、例えば、画像編集などを行う機能を有し、画像に関するデータ(画像データ)を作成する。ユーザは、アプリケーションプログラム1104のユーザインターフェースを介して、アプリケーションプログラム1104により編集した画像を印刷する指示を与えることができる。アプリケーションプログラム1104は、印刷の指示を受けると、プリンタドライバ1110に画像データを出力する。
【0023】
プリンタドライバ1110は、アプリケーションプログラム1104から画像データを受け取り、この画像データを印刷データに変換し、印刷データをプリンタに出力する。ここで、印刷データとは、プリンタ1が解釈できる形式のデータであって、各種のコマンドデータと画素データとを有するデータである。ここで、コマンドデータとは、プリンタに特定の動作の実行を指示するためのデータである。また、画素データとは、印刷される画像(印刷画像)を構成する画素に関するデータであり、例えば、ある画素に対応する紙上の位置に形成されるドットに関するデータ(ドットの色や大きさ等のデータ)である。
【0024】
プリンタドライバ1110は、アプリケーションプログラム1104から出力された画像データを印刷データに変換するため、解像度変換処理・色変換処理・ハーフトーン処理・ラスタライズ処理などを行う。以下に、プリンタドライバ1110が行う各種の処理について説明する。
【0025】
解像度変換処理は、アプリケーションプログラム1104から出力された画像データ(テキストデータ、イメージデータなど)を、紙に印刷する際の解像度に変換する処理である。例えば、紙に画像を印刷する際の解像度が720×720dpiに指定されている場合、アプリケーションプログラム1104から受け取った画像データを720×720dpiの解像度の画像データに変換する。なお、解像度変換処理後の画像データは、RGB色空間により表される多階調(例えば256階調)のRGBデータである。以下、画像データを解像度変換処理したRGBデータをRGB画像データと呼ぶ。
【0026】
色変換処理は、RGBデータをCMYK色空間により表されるCMYKデータに変換する処理である。なお、CMYKデータは、プリンタが有するインクの色に対応したデータである。この色変換処理は、RGB画像データの階調値とCMYK画像データの階調値とを対応づけたテーブル(色変換ルックアップテーブルLUT)をプリンタドライバ1110が参照することによって行われる。この色変換処理により、各画素についてのRGBデータが、インク色に対応するCMYKデータに変換される。なお、色変換処理後のデータは、CMYK色空間により表される256階調のCMYKデータである。以下、RGB画像データを色変換処理したCMYKデータをCMYK画像データと呼ぶ。
【0027】
ハーフトーン処理は、高階調数のデータを、プリンタが形成可能な階調数のデータに変換する処理である。例えば、ハーフトーン処理により、256階調を示すデータが、2階調を示す1ビットデータや4階調を示す2ビットデータに変換される。ハーフトーン処理では、ディザ法・γ補正・誤差拡散法などを利用して、プリンタがドットを分散して形成できるように画素データを作成する。プリンタドライバ1110は、ハーフトーン処理を行うとき、ディザ法を行う場合にはディザテーブル20を参照し、γ補正を行う場合にはガンマテーブル24を参照し、誤差拡散法を行う場合は拡散された誤差を記憶するための誤差メモリ22を参照する。ハーフトーン処理されたデータは、前述のRGBデータと同等の解像度(例えば720×720dpi)を有している。ハーフトーン処理されたデータは、例えば、各画素につき1ビット又は2ビットのデータから構成される。以下、ハーフトーン処理されたデータのうち、1ビットデータのものを2値データと呼び、2ビットデータのものを多値データと呼ぶ。
【0028】
ラスタライズ処理は、マトリクス状の画像データを、プリンタに転送すべきデータ順に変更する処理である。ラスタライズ処理されたデータは、印刷データに含まれる画素データとして、プリンタに出力される。
【0029】
<プリンタドライバの設定について>
図3は、プリンタドライバのユーザインターフェースの説明図である。このプリンタドライバのユーザインターフェースは、ビデオドライバ1102を介して、表示装置に表示される。ユーザーは、入力装置1300を用いて、プリンタドライバの各種の設定を行うことができる。
【0030】
ユーザーは、この画面上から、印刷モードを選択することができる。例えば、ユーザーは、印刷モードとして、高速印刷モード又はファイン印刷モードを選択することができる。そして、プリンタドライバは、選択された印刷モードに応じた形式になるように、画像データを印刷データに変換する。
また、ユーザーは、この画面上から、印刷の解像度(印刷するときのドットの間隔)を選択することができる。例えば、ユーザーは、この画面上から、印刷の解像度として720dpiや360dpiを選択することができる。そして、プリンタドライバは、選択された解像度に応じて解像度変換処理を行い、画像データを印刷データに変換する。
また、ユーザーは、この画面上から、印刷に用いられる印刷用紙を選択することができる。例えば、ユーザーは、印刷用紙として、普通紙や光沢紙を選択することができる。紙の種類(紙種)が異なれば、インクの滲み方や乾き方も異なるため、印刷に適したインク量も異なる。そのため、プリンタドライバは、選択された紙種に応じて、画像データを印刷データに変換する。
このように、プリンタドライバは、ユーザインターフェースを介して設定された条件に従って、画像データを印刷データに変換する。なお、ユーザーは、この画面上から、プリンタドライバの各種の設定を行うことができるほか、カートリッジ内のインクの残量を知ること等もできる。
【0031】
===プリンタの構成===
<インクジェットプリンタの構成について>
図4は、本実施形態のプリンタの全体構成のブロック図である。また、図5は、本実施形態のプリンタの全体構成の概略図である。また、図6は、本実施形態のプリンタの全体構成の横断面図である。以下、本実施形態のプリンタの基本的な構成について説明する。
【0032】
本実施形態のインクジェットプリンタは、搬送ユニット20、キャリッジユニット30、ヘッドユニット40、センサ50、およびコントローラ60を有する。外部装置であるコンピュータ1100から印刷データを受信したプリンタ1は、コントローラ60によって各ユニット(搬送ユニット20、キャリッジユニット30、ヘッドユニット40)を制御する。コントローラ60は、コンピュータ1100から受信した印刷データに基づいて、各ユニットを制御し、紙に画像を形成する。プリンタ1内の状況はセンサ50によって監視されており、センサ50は、検出結果をコントローラ60に出力する。センサから検出結果を受けたコントローラは、その検出結果に基づいて、各ユニットを制御する。
【0033】
搬送ユニット20は、媒体(例えば、紙Sなど)を印刷可能な位置に送り込み、印刷時に所定の方向(以下、搬送方向という)に所定の搬送量で紙を搬送させるためのものである。すなわち、搬送ユニット20は、紙を搬送する搬送機構(搬送手段)として機能する。搬送ユニット20は、給紙ローラ21と、搬送モータ22(PFモータとも言う)と、搬送ローラ23と、プラテン24と、排紙ローラ25とを有する。ただし、搬送ユニット20が搬送機構として機能するためには、必ずしもこれらの構成要素を全て必要とするわけではない。給紙ローラ21は、紙挿入口に挿入された紙をプリンタ内に自動的に給紙するためのローラである。給紙ローラ21は、D形の断面形状をしており、円周部分の長さは搬送ローラ23までの搬送距離よりも長く設定されているので、この円周部分を用いて紙を搬送ローラ23まで搬送できる。搬送モータ22は、紙を搬送方向に搬送するためのモータであり、DCモータにより構成される。搬送ローラ23は、給紙ローラ21によって給紙された紙Sを印刷可能な領域まで搬送するローラであり、搬送モータ22によって駆動される。プラテン24は、印刷中の紙Sを支持する。排紙ローラ25は、印刷が終了した紙Sをプリンタの外部に排出するローラである。この排紙ローラ25は、搬送ローラ23と同期して回転する。
【0034】
キャリッジユニット30は、ヘッドを所定の方向(以下、走査方向という)に移動(走査移動)させるためのものである。キャリッジユニット30は、キャリッジ31と、キャリッジモータ32(CRモータとも言う)とを有する。キャリッジ31は、走査方向に往復移動可能である。(これにより、ヘッドが走査方向に沿って移動する。)また、キャリッジ31は、インクを収容するインクカートリッジを着脱可能に保持している。キャリッジモータ32は、キャリッジ31を走査方向に移動させるためのモータであり、DCモータにより構成される。
【0035】
ヘッドユニット40は、紙にインクを吐出するためのものである。ヘッドユニット40は、ヘッド41を有する。ヘッド41は、インク吐出部であるノズルを複数有し、各ノズルから断続的にインクを吐出する。このヘッド41は、キャリッジ31に設けられている。そのため、キャリッジ31が走査方向に移動すると、ヘッド41も走査方向に移動する。そして、ヘッド41が走査方向に移動中にインクを断続的に吐出することによって、走査方向に沿ったドットライン(ラスタライン)が紙に形成される。
【0036】
センサ50には、リニア式エンコーダ51、ロータリー式エンコーダ52、紙検出センサ53、および紙幅センサ54等が含まれる。リニア式エンコーダ51は、キャリッジ31の走査方向の位置を検出するためのものである。ロータリー式エンコーダ52は、搬送ローラ23の回転量を検出するためのものである。紙検出センサ53は、印刷される紙の先端の位置を検出するためのものである。この紙検出センサ53は、給紙ローラ21が搬送ローラ23に向かって紙を給紙する途中で、紙の先端の位置を検出できる位置に設けられている。なお、紙検出センサ53は、機械的な機構によって紙の先端を検出するメカニカルセンサである。詳しく言うと、紙検出センサ53は紙搬送方向に回転可能なレバーを有し、このレバーは紙の搬送経路内に突出するように配置されている。そのため、紙の先端がレバーに接触し、レバーが回転させられるので、紙検出センサ53は、このレバーの動きを検出することによって、紙の先端の位置を検出する。紙幅センサ54は、キャリッジ31に取付けられている。紙幅センサ54は、光学センサであり、発光部から紙に照射された光の反射光を受光部が検出することにより、紙の有無を検出する。そして、紙幅センサ54は、キャリッジ41によって移動しながら紙の端部の位置を検出し、紙の幅を検出する。また、紙幅センサ54は、状況に応じて、紙の先端も検出できる。紙幅センサ54は、光学センサなので、紙検出センサ53よりも位置検出の精度が高い。
【0037】
コントローラ60は、プリンタの制御を行うための制御ユニット(制御手段)である。コントローラ60は、インターフェース部61と、CPU62と、メモリ63と、ユニット制御回路64とを有する。インターフェース部61は、外部装置であるコンピュータ1100とプリンタ1との間でデータの送受信を行うためのものである。CPU62は、プリンタ全体の制御を行うための演算処理装置である。メモリ63は、CPU62のプログラムを格納する領域や作業領域等を確保するためのものであり、RAM、EEPROM等の記憶手段を有する。CPU62は、メモリ63に格納されているプログラムに従って、ユニット制御回路64を介して各ユニットを制御する。
【0038】
<印刷動作について>
図7は、印刷時の処理のフロー図である。以下に説明される各処理は、コントローラ60が、メモリ63内に格納されたプログラムに従って、各ユニットを制御することにより実行される。このプログラムは、各処理を実行するためのコードを有する。
【0039】
印刷命令受信(S001):コントローラ60は、コンピュータ1100からインターフェース部61を介して、印刷命令を受信する。この印刷命令は、コンピュータ1100から送信される印刷データのヘッダに含まれている。そして、コントローラ60は、受信した印刷データに含まれる各種コマンドの内容を解析し、各ユニットを用いて、以下の給紙処理・搬送処理・インク吐出処理等を行う。
【0040】
給紙処理(S002):まず、コントローラ60は、給紙処理を行う。給紙処理とは、印刷すべき紙をプリンタ内に供給し、印刷開始位置(頭出し位置とも言う)に紙を位置決めする処理である。コントローラ60は、給紙ローラ21を回転させ、印刷すべき紙を搬送ローラ23まで送る。コントローラ60は、搬送ローラ23を回転させ、給紙ローラ21から送られてきた紙を印刷開始位置に位置決めする。紙が印刷開始位置に位置決めされたとき、ヘッド41の少なくとも一部のノズルは、紙と対向している。
【0041】
ドット形成処理(S003):次に、コントローラ60は、ドット形成処理を行う。ドット形成処理とは、走査方向に沿って移動するヘッドからインクを断続的に吐出させ、紙上にドットを形成する処理である。コントローラ60は、キャリッジモータ32を駆動し、キャリッジ31を走査方向に移動させる。そして、コントローラ60は、キャリッジ31が移動している間に、印刷データに基づいてヘッドからインクを吐出させる。ヘッドから吐出されたインク滴が紙上に着弾すれば、紙上にドットが形成される。
【0042】
搬送処理(S004):次に、コントローラ60は、搬送処理を行う。搬送処理とは、紙をヘッドに対して搬送方向に沿って相対的に移動させる処理である。コントローラ60は、搬送モータを駆動し、搬送ローラを回転させて紙を搬送方向に搬送する。この搬送処理により、ヘッド41は、先ほどのドット形成処理によって形成されたドットの位置とは異なる位置に、ドットを形成することが可能になる。
【0043】
排紙判断(S005):次に、コントローラ60は、印刷中の紙の排紙の判断を行う。印刷中の紙に印刷するためのデータが残っていれば、排紙は行われない。そして、コントローラ60は、印刷するためのデータがなくなるまでドット形成処理と搬送処理とを交互に繰り返し、ドットから構成される画像を徐々に紙に印刷する。印刷中の紙に印刷するためのデータがなくなれば、コントローラ60は、その紙を排紙する。コントローラ60は、排紙ローラを回転させることにより、印刷した紙を外部に排出する。なお、排紙を行うか否かの判断は、印刷データに含まれる排紙コマンドに基づいても良い。
【0044】
印刷終了判断(S006):次に、コントローラ60は、印刷を続行するか否かの判断を行う。次の紙に印刷を行うのであれば、印刷を続行し、次の紙の給紙処理を開始する。次の紙に印刷を行わないのであれば、印刷動作を終了する。
【0045】
<ヘッドの構成について>
図8は、ヘッド41の下面におけるノズルの配列を示す説明図である。ヘッド41の下面には、ブラックインクノズル群Kと、シアンインクノズル群Cと、マゼンタインクノズル群Mと、イエローインクノズル群Yが形成されている。各ノズル群は、各色のインクを吐出するための吐出口であるノズルを複数個(本実施形態では180個)備えている。
各ノズル群の複数のノズルは、搬送方向に沿って、一定の間隔(ノズルピッチ:k・D)でそれぞれ整列している。ここで、Dは、搬送方向における最小のドットピッチ(つまり、紙Sに形成されるドットの最高解像度での間隔)である。また、kは、1以上の整数である。例えば、ノズルピッチが180dpi(1/180インチ)であって、搬送方向のドットピッチが720dpi(1/720)である場合、k=4である。
【0046】
各ノズル群のノズルは、下流側のノズルほど若い番号が付されている(♯1〜♯180)。つまり、ノズル♯1は、ノズル♯180よりも搬送方向に下流側に位置している。また、紙幅センサ54は、紙搬送方向の位置に関して、一番上流側にあるノズル♯180とほぼ同じ位置にある。各ノズルには、各ノズルを駆動してインク滴を吐出させるための駆動素子としてピエゾ素子(不図示)が設けられている。
【0047】
<ヘッドの駆動について>
図9は、ヘッドユニット40の駆動回路の説明図である。この駆動回路は、前述のユニット制御回路64内に設けられており、同図に示すように、原駆動信号発生部644Aと、駆動信号整形部644Bとを備えている。本実施形態では、このようなノズル♯1〜♯180の駆動回路が、各ノズル群ごと、即ち、ブラック(K)、シアン(C)、マゼンタ(M)およびイエロ(Y)の各色のノズル群ごとに各々設けられ、ノズル群ごとに個別にピエゾ素子の駆動が行われるようになっている。図中に各信号名の最後に付されたかっこ内の数字は、その信号が供給されるノズルの番号を示している。
【0048】
ピエゾ素子は、その両端に設けられた電極間に所定時間幅の電圧を印加すると、電圧の印加時間に応じて伸張し、インクの流路の側壁を変形させる。これによって、インクの流路の体積がピエゾ素子の伸縮に応じて収縮し、この収縮分に相当するインク量が、インク滴となって各色の各ノズル♯1〜♯180から吐出される。
原駆動信号発生部644Aは、各ノズル♯1〜♯180に共通して用いられる原信号ODRVを生成する。この原信号ODRVは、一画素分の主走査期間内(キャリッジ41が一画素の間隔を横切る時間内)に複数のパルスを含む信号である。
駆動信号整形部644Bには、原信号発生部644Aから原信号ODRVが入力されるとともに、印刷信号PRT(i)が入力される。駆動信号整形部644Bは、印刷信号PRT(i)のレベルに応じて、原信号ODRVを整形し、駆動信号DRV(i)として各ノズル♯1〜♯180のピエゾ素子に向けて出力する。各ノズル♯1〜♯180のピエゾ素子は、駆動信号整形部644Bからの駆動信号DRVに基づき駆動される。
【0049】
<ヘッドの駆動信号について>
図10は、各信号の説明のためのタイミングチャートである。すなわち、同図には、原信号ODRVと、印刷信号PRT(i)と、駆動信号DRV(i)の各信号のタイミングチャートが示されている。
原信号ODRVは、原信号発生部644Aからノズル♯1〜♯180に共通に供給される信号である。本実施形態では、原信号ODRVは、一画素分の主走査期間内(キャリッジが一画素の間隔を横切る時間内)において、第1パルスW1と第2パルスW2の2つのパルスを含む。なお、この原信号ODRVは、原信号発生部644Aから駆動信号整形部644Bに出力される。
【0050】
印刷信号PRTは、一画素に対して割り当てられている画素データに対応した信号である。つまり、印刷信号PRTは、印刷データに含まれる画素データに応じた信号である。本実施形態では、印刷信号PRT(i)は、一画素に対して2ビットの情報を有する信号になる。なお、この印刷信号PRTの信号レベルに応じて、駆動信号整形部644Bは、原信号ODRVを整形し、駆動信号DRVを出力する。
駆動信号DRVは、印刷信号PRTのレベルに応じて原信号ODRVを遮断することによって得られる信号である。すなわち、すなわち、印刷信号PRTが1レベルのとき、駆動信号整形部644Bは、原信号ODRVの対応するパルスをそのまま通過させて駆動信号DRVとする。一方、印刷信号PRTが0レベルのとき、駆動信号整形部644Bは、原信号ODRVのパルスを遮断する。なお、駆動信号整形部644Bは、ノズル毎に設けられているピエゾ素子に駆動信号DRVを出力する。そして、ピエゾ素子は、この駆動信号DRVに応じて駆動される。
【0051】
印刷信号PRT(i)が2ビットデータ『01』に対応しているとき、第1パルスW1のみが一画素区間の前半で出力される。これにより、ノズルから小さいインク滴が吐出され、紙には小さいドット(小ドット)が形成される。また、印刷信号PRT(i)が2ビットデータ『10』に対応しているとき、第2パルスW2のみが一画素区間の後半で出力される。これにより、ノズルから中サイズのインク滴が吐出され、紙には中サイズのドット(中ドット)が形成される。また、印刷信号PRT(i)が2ビットデータ『11』に対応しているとき、第1パルスW1と第2パルスW2とが一画素区間で出力される。これにより、ノズルから大きいインク滴が吐出され、紙には大きいドット(大ドット)が形成される。
以上説明したとおり、一画素区間における駆動信号DRV(i)は、印刷信号PRT(i)の3つの異なる値に応じて互いに異なる3種類の波形を有するように整形されている。
【0052】
===本実施形態の印刷方法(概略)===
<本実施形態の印刷方法の流れ>
図11は、本実施形態の印刷方法の概略を説明するためのフロー図である。以下に説明される各種の動作は、プリンタドライバにより行われる。すなわち、プログラムであるプリンタドライバは、以下に説明される各種の機能を実行するためのコードを有する。本実施形態の印刷方法は、輪郭処理(S105)の方法に特徴がある。なお、図12は、印刷の対象となる画像(原画像)の説明図である。印刷の対象となる原画像は、内部に空間を有する四角形の画像である。
【0053】
まず、プリンタドライバは、アプリケーションプログラムから印刷命令を受ける(S101)。この印刷命令は、ユーザがアプリケーション上で印刷を指令することにより発せられる。この印刷命令には、例えばアプリケーション上で編集された原画像の画像データが含まれている。プリンタドライバは、印刷命令の中に含まれている画像データを以下のように印刷データに変換し、プリンタに印刷データを出力する。
【0054】
次に、プリンタドライバは、画像データを720×720dpiの解像度のRGB画像データに変換する(S102:解像度変換処理)。後述するとおり本実施形態ではプリンタは720×720dpiの解像度にて印刷を行うので、プリンタドライバは、アプリケーションプログラムから受け取った画像データの解像度を、紙に印刷する際の解像度に等しい解像度のRGB画像データに変換している。なお、本実施形態における解像度変換処理後のRGB画像データは、256階調のRGBデータである。
次に、プリンタドライバは、RGB画像データをCMYK画像データに変換する(S103:色変換処理)。本実施形態では、RGB画像データが720×720dpiの解像度なので、色変換処理後のCMYK画像データも720×720dpiの解像度になる。なお、本実施形態における色変換処理後のCMYK画像データは、256階調のCMYKデータである。
次に、プリンタドライバは、256階調のCMYK画像データを720×720dpiの解像度の2値データに変換する(S104:ハーフトーン処理)。本実施形態では、ハーフトーン処理されたデータは、各画素につき2ビットのデータが割り当てられた多値データである。
【0055】
図13は、ハーフトーン処理された720×720dpiの多値データの説明図である。図中の桝目は、仮想的に定められた桝目であって、画像を構成する際の最小構成単位である画素を示すものである。同図では、説明の簡略化のため、13画素×13画素からなる画像を用いて説明を行う。
【0056】
各画素には、「00」、「01」、「10」又は「11」の2ビットデータが割り当てられている。画素に対応するデータ(画素データ)は、その画素の色(階調)を示す情報になる。そして、画素データが「00」である画素に対応する紙上の位置には、ドットは形成されない。また、画素データが「01」である画素に対応する紙上の位置には、小ドットが形成される。また、画素データが「10」である画素に対応する紙上の位置には、中ドットが形成される。また、画素データが「11」である画素に対応する紙上の位置には、大ドットが形成される。すなわち、画素データが2ビットデータであれば、一つの画素について4つの階調を表現することができる。
本実施形態のように所定の領域を塗りつぶす画像を構成する画素には、この画像を構成する画素には、画素データとして「11」が割り当てられている。つまり、画像を構成する画素に対応する紙上の位置には、大ドットが形成されることになっている。なお、同図において、画素データの示されていない画素には、「00」が割り当てられている。
ここで、(X,Y)に位置する画素の画素データをF(X,Y)と表すこととする。例えば、同図において左上の画素の位置を(X,Y)=(0,0)とすると、この画素の画素データは、F(0,0)=00である。なお、このルールに従えば、F(2,2)=11である。
【0057】
プリンタドライバは、ハーフトーン処理後、後述する輪郭処理を行う(S105)。
次に、プリンタドライバは、ラスタライズ処理を行い(S106)、印刷データをプリンタに出力する(S107)。プリンタは、受信した印刷データに基づいて、紙に画像を形成する。
【0058】
<輪郭処理を行わない場合について>
図14は、は、輪郭処理を行わない場合の印刷画像の説明図である。プリンタドライバが輪郭処理を行わずにラスタライズ処理(S106)を行い、印刷データをプリンタに出力し(S107)、プリンタが印刷データに基づいて印刷を行えば、このような印刷画像が紙に印刷される。
【0059】
輪郭処理を行わない場合、同図に示されるとおり、塗りつぶされる領域の輪郭部分が滑らかに印刷されない。これは、以下に説明するとおり、輪郭部分のインク量が多いためである。
図15Aは、輪郭処理を行わない場合のインクの流れ方の説明図である。図15Bは、輪郭処理を行わない場合輪郭部分の印刷画像の説明図である。図中の上下方向に沿って輪郭部分が形成され、図中の左方向が塗りつぶす領域の内方向であり、図中の右方向が塗りつぶす領域の外方向である。輪郭処理を行わない場合、印刷される画像の輪郭部分を構成するドットは大ドットであり、紙に吐出されるインク量は多い。さらに、印刷される画像の内部を構成するドットも大ドットであり、輪郭部分を構成するドットと隣接する位置にも多くのインク量が吐出される。インク量の多い大ドットと大ドットが隣接すると、ドットが形成されている位置の外側にインクが溢れ出る。そして、輪郭部分でインクが外側に溢れると、印刷される画像の輪郭部分が乱れる。特に、普通紙のように紙の繊維が粗い紙では、繊維が粗くなっている部分に周囲のインクが集まり、紙の繊維に沿ってインクが溢れ出るため、印刷される画像の輪郭部分が乱れやすい。
【0060】
<参考例の輪郭処理について>
図16Aは、参考例の輪郭処理を行った場合のドット形成の様子の説明図である。同図において、「大」と示されている画素の画素データは「11」であり、その画素に対応する紙上には大ドットが形成される。また、「小」と示されている画素の画素データは「01」であり、その画素に対応する紙上の位置には小ドットが形成される。
この参考例では、印刷される画像を構成する画素の輪郭の画素(輪郭画素)を抽出し、抽出された輪郭画素の画素データを「11」から「01」に置き換えている。この結果、画像を印刷するときに、印刷される画像の輪郭を構成するドットが、大ドットから小ドットに置き換わる。
【0061】
図16Bは、参考例の輪郭処理を行った場合の印刷画像の説明図である。プリンタドライバが参考例の輪郭処理を行い、ラスタライズ処理(S106)を行い、印刷データをプリンタに出力し(S107)、プリンタが印刷データに基づいて印刷を行えば、このような印刷画像が紙に印刷される。輪郭処理を行わない場合と比較すると、輪郭部分が滑らかに印刷されている。これは、輪郭画素の画素データが「11」から「01」に置き換えられたため、印刷される画像の輪郭を構成するドットが大ドットから小ドットに置き換わり、印刷される画像の輪郭部分のインク量が減ったので、輪郭部分でインクが溢れることが抑制されたからである。
しかし、参考例の輪郭処理を行うと、印刷画像は、全体として細くなる。すなわち、参考例の輪郭処理を行った場合、画像の内側の空間の輪郭部分を構成するドットが大ドットから小ドットに置き換わることによって、画像の内側の空間が広がってしまう。他方、画像の外側の輪郭部分を構成するドットも大ドットから小ドットに置き換わっているので、画像全体が小さくなってしまう。画像の内側の空間が広がり、画像の外側の輪郭小さくなる結果、印刷された画像の線が、細くなってしまうのである。
仮に、この参考例の輪郭処理を行って小さい文字を紙に印刷すると、小さい文字は細い線から構成されているにもかかわらず、更に線が細くなるように印刷されるので、印刷された文字は、非常に細く、読みにくいものになる。
【0062】
本実施形態では、印刷画像の輪郭部分が滑らかになるように輪郭処理を行っても線が細くならないようにするため、以下に説明するように、外郭画素を抽出し、抽出された外郭画素に対応する紙上の位置に小ドットを形成することにしている。
【0063】
===本実施形態の輪郭処理===
本実施形態では、外郭画素等の抽出処理を行い、抽出された外郭画素に対応する画素データの置き換え処理を行う。なお、以下に説明される処理は、プリンタドライバによって、実行される。ただし、プリンタ側のコントローラが、印刷データを受信した際に、プリンタ側のメモリに格納されているプログラムに基づいて、行っても良い。このようなプログラム(プリンタドライバを含む)は、以下の処理を実行するためのコードによって構成されている。
【0064】
<外郭画素等の抽出処理について>
以下、外郭画素等の抽出処理について説明するが、説明を簡略化させるため、1つの画素には、多値データではなく、「0」又は「1」の2値データが対応づけられている。ただし、1つの画素に多値データが対応づけられていても、外郭画素を抽出する処理は、以下の処理とほぼ同様である。また、同図では、説明を簡略化させるため、10画素×10画素からなる画像を用いて説明を行う。
【0065】
図17Aは、輪郭抽出の対象となる画像データの説明図である。図中の桝目は、仮想的に定められた桝目であって、画像を構成する際の最小構成単位である画素を示すものである。各画素には、0又は1の2値のデータが割り当てられている。0が割り当てられた画素に対応する紙上の位置にはドットが形成されない。一方、1が割り当てられた画素に対応する紙上の位置には、ドットが形成される。そのため、画素に対応するデータ(画素データ)は、その画素の色を示す情報になる。ここで、(X,Y)の位置の画素の画素データをF(X,Y)と表す。例えば、同図において左上の画素の位置を(X,Y)=(0,0)とすると、この画素データは、F(0,0)=0である。なお、このルールに従えば、F(2,2)=1である。
背景に物品が存在する場合、輪郭は、背景と物品の境界である。通常、背景の色と物品の色とは異なるため、輪郭は、画像の色(特に色の濃淡)が変化する場所として認識される。したがって、画像データから輪郭を抽出するためには、周囲の画素と比較して画像の色が変化している画素を検出すれば良い。画像の色の変化は、微分を利用して、次式を用いて表すことができる。
【0066】
F’(X,Y)=8×F(X,Y)−F(X+1,Y)−F(X+1,Y+1)−F(X,Y+1)−F(X−1,Y+1)−F(X−1,Y)−F(X−1,Y−1)−F(X,Y−1)−F(X+1,Y−1) (式1)
上式は、2次元の画像に関して、微分を利用して、ある画素の周囲の画素データに対する変化量を求めている。プリンタドライバは、上式を用いて、各画素の周囲の画素に対する変化量を求める。
【0067】
図17Bは、上記の式にて計算された各画素のデータF’(X,Y)の説明図である。つまり、図17Bは、周囲の画素と比較した変化量を表している。例えば、(X,Y)=(2,2)の位置では、その画素の周囲の8つの画素のデータと比較したときの変化量として、F’(2,2)=5となる。
【0068】
図17Cは、輪郭画素を示すための説明図である。図17Bの各画素データF’(X,Y)に対して、F’(X,Y)>1を閾値として2値化処理を施せば、輪郭画素を示すデータを取得できる(この2値化処理後のデータをf1(X,Y)とする)。プリンタドライバは、上記のF’(X,Y)を2値化処理することによって、周囲の画素と比較して変化量(色の変化量)の大きい画素を抽出できる。そして、変化量の大きい画素は、背景と物品の境界に対応する画素であると考えられる。したがって、プリンタドライバは、この2値化処理により、輪郭に対応する画素を抽出することができる。
【0069】
図17Dは、外郭画素を示すための説明図である。図17Bの各画素データF’(X,Y)に対して、F’(X,Y)<0を閾値として2値化処理を施せば、外郭画素を示すデータを取得できる(この2値化処理後のデータをf2(X,Y)とする)。なお、外郭画素とは、輪郭画素の外側の画素である。また、「外側」とは、塗りつぶす領域を内としたときの外方向のことである。
【0070】
なお、プリンタドライバは、外郭画素等を抽出する際に、上式を用いる前に、画像データに対してフィルタリング処理を施しても良い。画像データのフィルタリング処理を施せば、画像の特徴に合わせた外郭画素抽出処理を行うことができる。例えば、ノイズの多い画像データの輪郭画素を抽出する際には、プリンタドライバは、上式を用いる前に、画像の平滑化処理を施しても良い。画像の平滑化処理とは、ある画素データを周囲の画素データの平均値に置き換える処理であり、画像データに対するフィルタリング処理の一種である。画像の平滑化処理後に外郭画素抽出処理を行えば、ノイズの多い画像データであっても、プリンタドライバは、外郭に対応する画素を適切に抽出することができる。
【0071】
<第1の置き換え処理について>
図18Aは、本実施形態の第1の置き換え処理を行った場合のドット形成の様子の説明図である。第1の置き換え処理では、上記の処理によって抽出された外郭画素の画素データを「00」から「01」に置き換える処理を行っている。この結果、画像を印刷するときに、印刷される画像の輪郭を構成するドット(大ドット)の外側に、小ドットが形成される。
図18Bは、本実施形態の第1の置き換え処理を行った場合の印刷画像の説明図である。プリンタドライバが本実施形態の輪郭処理を行い(S105)、ラスタライズ処理(S106)を行い、印刷データをプリンタに出力し(S107)、プリンタが印刷データに基づいて印刷を行えば、このような印刷画像が紙に印刷される。輪郭処理を行わない場合と比較すると、輪郭部分が滑らかに印刷されている。この理由を以下に説明する。
【0072】
図19Aは、輪郭部分に吐出されるインク量の説明図である。図19Bは、輪郭部分の印刷画像の説明図である。図中の上下方向に沿って輪郭部分が形成され、図中の左方向が塗りつぶす領域の内方向であり、図中の右方向が塗りつぶす領域の外方向である。本実施形態では、輪郭画素及び輪郭画素よりも内側の画素に対応する紙上の位置に、大ドットが形成されている。輪郭画素及び輪郭画素よりも内側の画素に対応する紙上の位置には、多くのインク量が吐出されているので、大ドットが形成されている位置の外側にインクが溢れ出る。一方、本実施形態では、外郭画素に対応する紙上の位置に、小ドットが形成されている。大ドットの外側には小ドットが形成され、大ドットと小ドットとが接触しているので、大ドットから溢れ出るインクは、小ドットに向かって溢れ出るようになる(小ドットの方向に誘導される)。これにより、大ドットから溢れ出るインクは、外側の複数の小ドットに均等に分散される。この結果、印刷された画像の外側は、輪郭処理を行わない場合と比較して、輪郭部分が滑らかに印刷される。特に、普通紙のように紙の繊維が粗い紙であっても、大ドットから溢れ出るインクが外側の小ドットに分散されるので、輪郭部分が滑らかに印刷される。
【0073】
なお、小ドットを形成するインクは、大ドットを形成するインクが外側に溢れようとしたときに、せき止める作用をしているとも言える。そして、本実施形態では、輪郭部分に十分なインク量が供給された状態下で小ドットが外部への溢れ出ようとするインクをせき止めているので、文字の輪郭がはっきりし、読みやすい文字を印刷することができる。
【0074】
また、前述の参考例の輪郭処理を行った場合と比較すると、本実施形態では、印刷された画像の線が細くなっていない。そのため、本実施形態の印刷方法によれば、小さい文字や細い線を印刷する場合であっても、見やすい高品質な画像を印刷することができる。
【0075】
<第2の置き換え処理について>
図20Aは、本実施形態の第2の置き換え処理を行った場合のドット形成の様子の説明図である。第2の置き換え処理では、抽出された外郭画素の画素データを「00」から「01」に置き換える処理だけでなく、原画像を構成する画素の輪郭画素の画素データを「11」から「01」に置き換える処理を行っている。この結果、画像を印刷するときに、印刷される画像の輪郭を構成するドットが、大ドットから小ドットに置き換えられて形成される。
図20Bは、本実施形態の第2の置き換え処理を行った場合の印刷画像の説明図である。プリンタドライバが第2の置き換え処理を行い(S105)、ラスタライズ処理(S106)を行い、印刷データをプリンタに出力し(S107)、プリンタが印刷データに基づいて印刷を行えば、このような印刷画像が紙に印刷される。前述の第1の置き換え処理を行った場合と比較すると、印刷された画像の線の太さ(印刷画像全体に対する相対的な線の太さ)が、原画像の線の太さに近づいている。この理由を以下に説明する。
【0076】
前述の第1の置き換え処理では、輪郭画素に対応する紙上の位置に大ドットが形成されるため、外側に向かって溢れ出るインク量が比較的多くなる。一方、第2の置き換え処理では、輪郭画素に対応する紙上の位置に小ドットが形成されるため、インク量が減少し、外側に向かって溢れ出るインク量が比較的少なくなる。外側に向かって溢れ出るインク量が少なくなると、印刷された画像の輪郭部分が外側に広がらないので、印刷された画像の線の太さが、原画像の線の太さとほぼ等しくなる。
前述の第1の置き換え処理では、原画像が内側に空間を持つような画像の場合、その内側の空間が潰れやすくなる。例えば、「A」という文字を黒い線で印刷する場合、第1の置き換え処理を行うと、「A」の中央部にある白抜き部分が小さくなり、印刷された文字「A」は、読みにくくなる。特に、小さいフォントを用いて「A」という文字を黒い線で印刷する場合、「A」の中央部にある白抜き部分を構成する画素数が少ないため、第1の置き換え処理を行うと、印刷された文字「A」は読みにくいものになる。一方、第2の置き換え処理を行えば、「A」の中央部にある白抜き部分が潰れず、文字「A」を読みやすくなる。つまり、この第2の置き換え処理は、原画像に小さい文字が含まれている場合に特に有利である。
【0077】
===輪郭処理の選択===
図21は、本実施形態の輪郭処理を説明するためのフロー図である。以下に説明される処理は、プリンタドライバによって、実行される。ただし、プリンタ側のコントローラが、印刷データを受信した際に、プリンタ側のメモリに格納されているプログラムに基づいて、行っても良い。このようなプログラム(プリンタドライバを含む)は、以下の処理を実行するためのコードによって構成されている。
【0078】
まず、プリンタドライバは、原画像の大きさを判断する(S201)。本実施形態では、プリンタドライバは、原画像を構成する文字(フォント)のポイント数に基づいて、原画像の大きさを判断する。文字のポイント数が小さければ原画像は小さいと判断され、文字のポイント数が大きければ原画像は大きいと判断される。
次に、プリンタドライバは、原画像の大きさが所定の大きさであるか否かを判断する(S202)。本実施形態では、プリンタドライバは、原画像を構成する文字(フォント)のポイント数が所定のポイント数以上であるか否かを基準に判断する。例えば、プリンタドライバは、文字のポイント数が8ポイントより大きいか否かを判断する。
プリンタドライバは、原画像の大きさが所定の大きさであれば(S202でYES)、第1の輪郭処理を行う(S203)。例えば、原画像の文字のポイント数が10ポイントであれば、第1の輪郭処理を行う。なお、第1の輪郭処理とは、外郭画素を抽出し(外郭画素抽出処理)、抽出された外郭画素の画素データを「00」から「01」に置き換える(第1の置き換え処理)ことである。
【0079】
一方、プリンタドライバは、原画像の大きさが所定の大きさに満たなければ(S202でNO)、第2の輪郭処理を行う(S204)。例えば、原画像の文字のポイント数が6ポイントであれば、第2の輪郭処理を行う。なお、第2の輪郭処理とは、外郭画素と輪郭画素とを抽出し(外郭画素抽出処理・輪郭画素抽出処理)、抽出された外郭画素の画素データを「00」から「01」に置き換えると共に、抽出された輪郭画素の画素データを「11」から「01」に置き換える(第2の置き換え処理)ことである。
【0080】
本実施形態によれば、大きい文字を印刷する場合、第1の輪郭処理が行われる。これにより、印刷された文字の輪郭部分が滑らかになり、読みやすい文字を印刷することができる。また、外郭に形成された小ドットが外部への溢れ出ようとするインクをせき止めた結果、文字の輪郭がはっきりし、読みやすい文字を印刷することができる。
本実施形態によれば、小さい文字を印刷する場合、第2の輪郭処理が行われる。このため、例えば、小さいフォントにて「A」という文字を黒い線で印刷する場合であっても、中央部の白抜き部分が潰れずに、読みやすい文字を印刷することができる。
また、本実施形態によれば、文字の大きさに応じて異なる輪郭処理を行っているので、文字の大きさに適した印刷処理を行うことができる。
【0081】
===その他の実施の形態===
上記の実施形態は、主としてプリンタについて記載されているが、その中には、印刷装置、記録装置、液体の吐出装置、印刷方法、記録方法、液体の吐出方法、印刷システム、記録システム、コンピュータシステム、プログラム、プログラムを記憶した記憶媒体、表示画面、画面表示方法、印刷物の製造方法、等の開示が含まれていることは言うまでもない。
【0082】
また、一実施形態としてのプリンタ等を説明したが、上記の実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることは言うまでもない。特に、以下に述べる実施形態であっても、本発明に含まれるものである。
【0083】
<プリンタドライバについて>
前述の実施形態によれば、コンピュータ側のプリンタドライバが輪郭処理を行っていた。しかし、輪郭処理を行うのはプリンタドライバに限られるものではない。例えば、本実施形態の輪郭処理を行うのに必要な機能を実現するためのプログラムがプリンタのメモリに格納されているのであれば、プリンタ側のコントローラが前述の輪郭処理を行っても良い。
このようにしても、前述の実施形態とほぼ同様な効果を奏することができる。
【0084】
<輪郭画素の画素データについて>
前述の実施形態によれば、輪郭画素の画素データを「11」から「01」に置き換えて、輪郭部分に吐出されるインク量を減らしていた。しかし、輪郭部分に吐出されるインク量を減らす方法は、これに限られるものではない。
図22は、他の実施形態の置き換え処理を行った場合のドット形成の様子の説明図である。同図において、「中」と示されている画素の画素データは「10」であり、その画素に対応する紙上の位置には中ドットが形成される。本実施形態では、輪郭画素の画素データを「11」から「10」に置き換えている。輪郭画素の画素データが外郭画素の画素データと異なっていても、前述の第2の置き換え処理と同様の効果を奏することができる。なお、この場合、輪郭画素の画素データのドットは、画像の内部に形成されるドット(大ドット)よりも小さく、画像の外郭に形成されるドット(小ドット)よりも大きいことが望ましい。
【0085】
図23は、別の実施形態の置き換え処理を行った場合のドット形成の様子の説明図である。本実施形態では、輪郭画素の一部の画素の画素データを「11」から「00」に置き換えている。つまり、輪郭画素に対応する紙上の位置に形成されるドットを間引いている。本実施形態の置き換え処理であっても、前述の第2の置き換え処理と同様の効果を奏することができる。
なお、印刷される画像の大きさに応じて、前述の実施形態の第1・第2の輪郭処理や上記の置き換え処理等の複数の置き換え処理の中から適した置き換え処理を選択しても良い。
【0086】
<輪郭処理の選択について>
前述の実施形態によれば、原画像が大きければ第1の輪郭処理を行い、原画像が小さければ第2の輪郭処理を行っていたが、これに限られるものではない。また、前述の実施形態によれば、印刷される文字のポイント数に基づいて輪郭処理の選択が行われていたが、輪郭処理の選択の基準はこれに限られるものではない。
【0087】
図24は、他の実施形態の輪郭処理を説明するためのフロー図である。以下に説明される処理は、プリンタドライバによって、実行される。ただし、プリンタ側のコントローラが、印刷データを受信した際に、プリンタ側のメモリに格納されているプログラムに基づいて、以下に説明される処理を行っても良い。このようなプログラム(プリンタドライバを含む)は、以下の処理を実行するためのコードによって構成されている。
【0088】
まず、プリンタドライバは、原画像の大きさを判断する(S301)。本実施形態では、プリンタドライバは、原画像を構成する線の太さに基づいて、原画像の大きさを判断する。また、線の太さは、その線を構成する画素数に基づいて決定される。この場合、線を構成する画素数は、例えば、画素データが「11」である画素が何個連続して隣接しているかをプリンタドライバが計算することによって、求められる。線を構成する画素数が少なければ原画像は小さいと判断され、線を構成する画素数が多ければ原画像は大きいと判断される。
次に、プリンタドライバは、線の太さが所定の太さであるか否かを判断する(S302)。本実施形態では、プリンタドライバは、線の太さが3画素分以上であるか否かを基準に判断する。基準が3画素である理由は、後に明らかになる。
【0089】
プリンタドライバは、原画像の太さが3画素分よりも細ければ(S202でNO)、第1の輪郭処理を行う(S303)。一方、プリンタドライバは、原画像の太さが3画素分以上であれば(S202でYES)、第2の輪郭処理を行う(S204)。
仮に、原画像の太さが2画素であるにもかかわらず第2の輪郭処理を行えば、輪郭画素の画素データが「11」から「01」に置き換えられ、原画像を構成する画素を印刷するときに大ドットがなくなってしまう(全ての大ドットが小ドットになってしまう)。よって、本実施形態では、原画像の太さが3画素分よりも細ければ、第1の輪郭処理を行っている。
本実施形態によれば、画像の大きさに応じて異なる輪郭処理を行っているので、画像の大きさに適した印刷処理を行うことができる。
なお、原画像の太さが3画素分よりも細いとき(S202でNO)、輪郭処理を行わなくても良い。原画像の太さが3画素分よりも細いときは、外側に溢れるインク量も少ないため、輪郭処理を行う必要がなくなる場合があるからである。
【0090】
<外郭画素等の抽出処理について>
前述の実施形態によれば、プリンタドライバは、微分を利用して周囲の画素との変化量を求め、その変化量に基づいて外郭画素や輪郭画素を抽出していた。しかし、外郭画素等の抽出処理は、これに限られるものではない。
【0091】
図25Aは、他の実施形態の外郭画素等の抽出処理の検索の説明図である。図25B及び図25Cは、周囲の画素との比較の説明図である。図25Dは、本実施形態の輪郭画素抽出処理の結果の説明図である。図25Eは、本実施形態の外郭画素抽出処理の結果の説明図である。画素データ等の説明は、前述のものと同様なので、省略する。なお、以下に説明される処理は、プリンタドライバによって、実行される。ただし、プリンタ側のコントローラが、印刷データを受信した際に、プリンタ側のメモリに格納されているプログラムに基づいて、行っても良い。このようなプログラム(プリンタドライバを含む)は、以下の処理を実行するためのコードによって構成されている。
【0092】
まず、プリンタドライバは、第1ラスタラインの画素データを検索(スキャン)しながら、画素データが1になる画素を検索する(図25A)。同図では、(X,Y)=(2,2)の画素が検索される。そして、プリンタドライバは、この画素を輪郭画素として記憶する。
次に、プリンタドライバは、輪郭画素の周囲の8つの画素を時計回りに比較する。まず、プリンタドライバは(X,Y)=(2,2)の画素の周囲の8つの画素を時計回りに比較する(図25B)。そして、プリンタドライバは、画素データが0から1に変化する画素を検索する。同図では、(X,Y)=(3,1)の画素から(X,Y)=(3,2)の画素の間で画素データが0から1に変化する。そして、プリンタドライバは、(X,Y)=(3,1)を外郭画素として記憶する。また、プリンタドライバは、(X,Y)=(3,2)を新たに検索された輪郭画素として記憶する。
次に、プリンタドライバは、新たに検索された輪郭画素の周囲の8つの画素を時計回りに比較する。ここでは、プリンタドライバは(X,Y)=(3,2)の画素の周囲の8つの画素を時計回りに比較する(図25C)。そして、プリンタドライバは、画素データが0から1に変化する画素を検索する。同図では、(X,Y)=(4,1)の画素から(X,Y)=(4,2)の画素の間で画素データが0から1に変化する。そして、プリンタドライバは、(X,Y)=(4,1)を外郭画素として記憶する。また、プリンタドライバは、(X,Y)=(4,2)を新たに検索された輪郭画素として記憶する。
【0093】
この処理を繰り返すと、新たに検索された画素が、既に輪郭画素として記憶された画素と一致する。検索された画素が輪郭画素として記憶されていた場合、プリンタドライバは、上記の処理を終了する。そして、プリンタドライバは、検索処理の終了後、既に記憶されている輪郭画素を読み出せば、輪郭に対応する画素を抽出できる。図25Dは、上記の処理によって輪郭画素として検索される画素を示している。また、プリンタドライバは、検索処理の終了後、既に記憶されている外郭画素を読み出せば、外郭に対応する画素を抽出できる。図25Eは、上記の処理によって外郭画素として検索される画素を示している。
本実施形態の外郭画素等の抽出処理によっても、前述の実施形態と同様の効果を奏することができる。
【0094】
<プリンタについて>
前述の実施形態では、プリンタが説明されていたが、これに限られるものではない。例えば、カラーフィルタ製造装置、染色装置、微細加工装置、半導体製造装置、表面加工装置、三次元造形機、液体気化装置、有機EL製造装置(特に高分子EL製造装置)、ディスプレイ製造装置、成膜装置、DNAチップ製造装置などのインクジェット技術を応用した各種の記録装置に、本実施形態と同様の技術を適用しても良い。また、これらの方法や製造方法も応用範囲の範疇である。このような分野に本技術を適用しても、液体を対象物に向かって直接的に吐出(直描)することができるという特徴があるので、従来と比較して省材料、省工程、コストダウンを図ることができる。
【0095】
<インクについて>
前述の実施形態は、プリンタの実施形態だったので、染料インク又は顔料インクをノズルから吐出していた。しかし、ノズルから吐出する液体は、このようなインクに限られるものではない。例えば、金属材料、有機材料(特に高分子材料)、磁性材料、導電性材料、配線材料、成膜材料、電子インク、加工液、遺伝子溶液などを含む液体(水も含む)をノズルから吐出しても良い。このような液体を対象物に向かって直接的に吐出すれば、省材料、省工程、コストダウンを図ることができる。
【0096】
<ノズルについて>
前述の実施形態では、圧電素子を用いてインクを吐出していた。しかし、液体を吐出する方式は、これに限られるものではない。例えば、熱によりノズル内に泡を発生させる方式など、他の方式を用いてもよい。
【0097】
===まとめ===
<印刷装置について>
上記の説明は、大ドット及び小ドット(又は中ドット)を紙に形成可能なヘッドを有し、画像を構成する画素に対応する紙上の位置に、大ドット又は小ドットを形成することによって、画像を紙に印刷する印刷装置(コンピュータとプリンタとのシステム又はプリンタ単体)に関する。そして、この印刷装置は、外郭画素(画像の輪郭を構成する輪郭画素の外側の画素)に対応する紙上の位置に、小ドットを形成する。
【0098】
<制御装置について>
上記の説明は、画像を構成する画素に、大ドットに関する画素データ「11」又は小ドットに関する画素データ「01」を対応させ、画素データ「11」及び画素データ「01」を印刷データに含ませてプリンタに出力するコンピュータに関する。そして、このコンピュータは、外郭画素(画像の輪郭を構成する輪郭画素の外側の画素)に、小ドットに関する画素データ「01」を対応させる。
【0099】
<プログラムについて1>
上記の説明は、大ドット及び小ドットを紙に形成可能なヘッドを有する印刷装置(コンピュータとプリンタとのシステム又はプリンタ単体)に、画像を構成する画素に対応する前記媒体上の位置に大ドット又は小ドットを形成することによって、画像を紙に印刷する機能を実現させるプログラム(プリンタドライバ、又はプリンタ側のプログラム、又はプリンタドライバとプリンタ側のプログラムとのシステムとしてのプログラム)に関する。そして、このプログラムは、外郭画素(画像の輪郭を構成する輪郭画素の外側の画素)に対応する紙上の位置に、小ドットを形成する機能を印刷装置(コンピュータとプリンタとのシステム又はプリンタ単体)に実現させる。
【0100】
<プログラムについて2>
画像を構成する画素に大ドットに関する画素データ「11」又は小ドットに関する画素データ「01」を対応させる機能と、画素データ「11」及び画素データ「01」を印刷データに含ませてプリンタに出力する機能とをコンピュータに実現させるプログラム(プリンタドライバ)に関する。そして、このプログラムは、外郭画素(画像の輪郭を構成する輪郭画素の外側の画素)に、画素データ「01」を対応させる機能をコンピュータに実現させる。
【0101】
【発明の効果】
本発明の印刷装置等によれば、輪郭処理を行っても印刷された画像が細くなることを防止することができる。
【図面の簡単な説明】
【図1】印刷システムの全体構成の説明図である。
【図2】プリンタドライバが行う処理の説明図である。
【図3】プリンタドライバのユーザインターフェースの説明図である。
【図4】プリンタの全体構成のブロック図である。
【図5】プリンタの全体構成の概略図である。
【図6】プリンタの全体構成の横断面図である。
【図7】印刷時の処理のフロー図である。
【図8】ノズルの配列を示す説明図である。
【図9】ヘッドユニットの駆動回路の説明図である。
【図10】各信号の説明のためのタイミングチャートである。
【図11】本実施形態の印刷方法の概略のフロー図である。
【図12】印刷の対象となる画像(原画像)の説明図である。
【図13】ハーフトーン処理された多値データの説明図である。
【図14】輪郭処理を行わない場合の印刷画像の説明図である。
【図15】図15Aは、輪郭処理を行わない場合のインクの流れ方の説明図である。図15Bは、輪郭処理を行わない場合輪郭部分の印刷画像の説明図である。
【図16】図16Aは、参考例の輪郭処理を行った場合のドット形成の様子の説明図である。図16Bは、参考例の輪郭処理を行った場合の印刷画像の説明図である。
【図17】図17Aは、輪郭抽出の対象となる画像データの説明図である。図17Bは、データF’(X,Y)の説明図である。図17Cは、輪郭画素を示すための説明図である。図17Dは、外郭画素を示すための説明図である。
【図18】図18Aは、本実施形態の第1の置き換え処理を行った場合のドット形成の様子の説明図である。図18Bは、本実施形態の第1の置き換え処理を行った場合の印刷画像の説明図である。
【図19】図19Aは、輪郭部分に吐出されるインク量の説明図である。図19Bは、輪郭部分の印刷画像の説明図である。
【図20】図20Aは、本実施形態の第2の置き換え処理を行った場合のドット形成の様子の説明図である。図20Bは、本実施形態の第2の置き換え処理を行った場合の印刷画像の説明図である。
【図21】本実施形態の輪郭処理を説明するためのフロー図である。
【図22】他の実施形態の置き換え処理を行った場合のドット形成の様子の説明図である。
【図23】別の実施形態の置き換え処理を行った場合のドット形成の様子の説明図である。
【図24】他の実施形態の輪郭処理を説明するためのフロー図である。
【図25】図25Aは、他の実施形態の外郭画素等の抽出処理の検索の説明図である。図25B及び図25Cは、周囲の画素との比較の説明図である。図25Dは、本実施形態の輪郭画素抽出処理の結果の説明図である。図25Eは、本実施形態の外郭画素抽出処理の結果の説明図である。
【符号の説明】
1 プリンタ、
20 搬送ユニット、21 給紙ローラ、22 搬送モータ(PFモータ)、
23 搬送ローラ、24 プラテン、25 排紙ローラ、
30 キャリッジユニット、31 キャリッジ、
32 キャリッジモータ(CRモータ)、
40 ヘッドユニット、41 ヘッド、
50 センサ、51 リニア式エンコーダ、52 ロータリー式エンコーダ、
53 紙検出センサ、54 紙幅センサ、
60 コントローラ、61 インターフェース部、62 CPU、
63 メモリ、64 ユニット制御回路、644A 原駆動信号発生部、
644B 駆動信号整形部、
1100 コンピュータ、1200 表示装置、
1300 入力装置、1300A キーボード、1300B マウス、
1400 記録再生装置、1400A フレキシブルディスクドライブ装置、
1400B CD−ROMドライブ装置、
1000 印刷システム、1102 ビデオドライバ、
1104 アプリケーションプログラム、1110 プリンタドライバ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a printing device and a control device that print on a medium such as paper. Further, the present invention relates to a printing method, a control method, and a program.
[0002]
[Prior art]
2. Description of the Related Art In a printing apparatus that prints an image by forming dots on a medium (paper, cloth, film, or the like), the image is printed on the medium in accordance with a print instruction of an application program for executing printing. Then, in order to smooth the outline of the image printed on the medium, there is known an outline processing for printing on the medium by reducing the amount of ink ejected to the outline of the image.
[0003]
[Patent Document 1]
JP-A-2002-292848
[0004]
[Problems to be solved by the invention]
However, simply reducing the amount of ink to be ejected to the outline portion will make the image printed on the medium thin. In particular, when printing an image including small characters or thin lines, the printed image becomes difficult to see due to this effect.
[0005]
An object of the present invention is to prevent a printed image from becoming thin even when contour processing is performed.
[0006]
[Means for Solving the Problems]
A first aspect of the present invention for achieving the above object has a head capable of forming a first dot and a second dot smaller than the first dot on a medium, and a head on the medium corresponding to a pixel constituting an image. A printing apparatus that prints the image on the medium by forming the first dot or the second dot at a position of the medium, the medium corresponding to a pixel outside a contour pixel forming a contour of the image The second dot is formed at the upper position.
[0007]
A second aspect of the present invention for achieving the above object is to associate pixels constituting an image with first dot information on a first dot or second dot information on a second dot smaller than the first dot, A control device for outputting first dot information and second dot information, wherein the second dot information is made to correspond to a pixel outside a contour pixel forming a contour of the image.
Other features of the present invention will become apparent from the description of the present specification and the accompanying drawings.
[0008]
BEST MODE FOR CARRYING OUT THE INVENTION
=== Disclosure Overview ===
At least the following matters will become apparent from the description of the present specification and the accompanying drawings.
A head capable of forming a first dot and a second dot smaller than the first dot on a medium,
A printing apparatus that prints the image on the medium by forming the first dot or the second dot at a position on the medium corresponding to a pixel that forms an image,
The second dot is formed at a position on the medium corresponding to a pixel outside a contour pixel constituting the contour of the image.
According to such a printing apparatus, it is possible to prevent a printed image from becoming thin even when contour processing is performed.
[0009]
In such a printing apparatus, the first dot formed at a position on the medium corresponding to the outline pixel and the second dot formed at a position on the medium corresponding to the outer pixel are in contact with each other. Is desirable. According to such a printing apparatus, the ink overflowing from the first dot can be guided to the second dot, so that the contour portion becomes smooth.
In such a printing apparatus, the printing apparatus controls the amount of ink ejected from the head to form the first dots and the second dots on the medium, and the printing apparatus applies the contour pixels to the contour pixels. It is desirable to reduce the amount of ink ejected to the corresponding position on the medium. According to such a printing apparatus, the printed image has a shape close to the original image. Further, it is preferable that the printing apparatus reduces an amount of ink ejected to a position on the medium corresponding to the contour pixel according to a size of an image printed on the medium. According to such a printing apparatus, it is possible to perform a printing process suitable for an image to be printed.
[0010]
In the printing apparatus, it is preferable that the amount of ink ejected to a position on the medium corresponding to the contour pixel is reduced when an image printed on the medium is smaller than a predetermined size. Further, it is preferable that the printing device determines the size of the image based on the size of characters included in the image to be printed. Further, the printed image preferably has a space in which dots are not formed. According to such a printing apparatus, even when a small character having a white space inside such as “A” is printed, the printing can be performed without crushing the white space.
In the printing apparatus, it is preferable that the printing apparatus reduces an amount of ink ejected to a position on the medium corresponding to the outline pixel when an image printed on the medium is larger than a predetermined size. Further, it is preferable that the printing apparatus determines the size of the image based on a line thickness of the image to be printed. The printing apparatus may reduce the amount of ink ejected to a position on the medium corresponding to the contour pixel when the image line is thicker than three pixels. According to such a printing apparatus, it is possible to perform a printing process so that all the dots constituting the line are not replaced by small dots.
[0011]
In this printing device, the head can form an intermediate dot that is smaller than the first dot and larger than the second dot, and the printing device corresponds to at least some of the outline pixels. It is desirable to form the intermediate dot at a position on the medium. In the printing apparatus, it is preferable that the printing apparatus does not form any of the first dot and the second dot at a position on a medium corresponding to at least a part of the outline pixels. According to such a printing apparatus, it is possible to reduce the amount of ink ejected to the position on the medium corresponding to the contour pixel.
[0012]
In this printing apparatus, it is preferable that the image printed on the medium is an image in which a predetermined area is filled with the first dot or the second dot. According to such a printing apparatus, it is possible to prevent the area to be filled from becoming thinner while smoothing the outline of the area to be filled.
[0013]
In such a printing apparatus, the image printed on the medium is preferably a character. According to such a printing apparatus, it is possible to make the outline of the character smooth and prevent the line forming the character from becoming thin.
[0014]
A control device that associates pixels forming an image with first dot information regarding a first dot or second dot information regarding a second dot smaller than the first dot, and outputs the first dot information and the second dot information. And the second dot information is made to correspond to pixels outside the outline pixels constituting the outline of the image. According to such a printing apparatus, it is possible to prevent a printed image from becoming thin even when contour processing is performed.
[0015]
A printing method for printing the image on the medium by forming the first dot or a second dot smaller than the first dot at a position on the medium corresponding to a pixel forming an image, The second dot is formed at a position on the medium corresponding to a pixel outside a contour pixel constituting the contour of the image. According to such a printing apparatus, it is possible to prevent a printed image from becoming thin even when contour processing is performed.
[0016]
Control for outputting first dot information and second dot information by associating pixels forming an image with first dot information relating to a first dot or second dot information relating to a second dot smaller than the first dot. A method in which the second dot information is made to correspond to a pixel outside a contour pixel forming a contour of the image. According to such a printing apparatus, it is possible to prevent a printed image from becoming thin even when contour processing is performed.
[0017]
In a printing apparatus having a head capable of forming a first dot and a second dot smaller than the first dot on a medium, the first dot or the second dot is placed at a position on the medium corresponding to a pixel constituting an image. A program for realizing a function of printing the image on the medium by forming dots, wherein the second dot is provided at a position on the medium corresponding to a pixel outside a contour pixel constituting a contour of the image. Is realized by the printing apparatus. According to such a printing apparatus, it is possible to prevent a printed image from becoming thin even when contour processing is performed.
[0018]
A function for associating the first dot information relating to the first dot or the second dot information relating to the second dot smaller than the first dot with the pixels constituting the image, and outputting the first dot information and the second dot information And a function of causing the control device to realize the function of causing the control device to perform the function of causing the second dot information to correspond to pixels outside the outline pixels forming the outline of the image. According to such a printing apparatus, it is possible to prevent a printed image from becoming thin even when contour processing is performed.
[0019]
=== Configuration of Printing System ===
Next, an embodiment of a printing system (computer system) will be described with reference to the drawings. However, the description of the following embodiments includes embodiments related to a computer program and a recording medium on which the computer program is recorded.
[0020]
FIG. 1 is an explanatory diagram showing an external configuration of the printing system. The printing system 1000 includes a printer 1, a computer 1100, a display device 1200, an input device 1300, and a recording / reproducing device 1400. The printer 1 is a printing device that prints an image on a medium such as paper, cloth, or film. The computer 1100 is electrically connected to the printer 1, and outputs print data corresponding to the image to be printed to the printer 1 in order to cause the printer 1 to print an image. The display device 1200 has a display and displays a user interface such as an application program or a printer driver. The input device 1300 is, for example, a keyboard 1300A or a mouse 1300B, and is used for operation of an application program, setting of a printer driver, and the like along a user interface displayed on the display device 1200. As the recording / reproducing apparatus 1400, for example, a flexible disk drive 1400A or a CD-ROM drive 1400B is used.
[0021]
A printer driver is installed in the computer 1100. The printer driver is a program for realizing a function of displaying a user interface on the display device 1200 and realizing a function of converting image data output from an application program into print data. This printer driver is recorded on a recording medium (computer-readable recording medium) such as a flexible disk FD or a CD-ROM. Alternatively, the printer driver can be downloaded to the computer 1100 via the Internet. This program is composed of codes for realizing various functions.
The “printing device” means the printer 1 in a narrow sense, but means a system of the printer 1 and the computer 1100 in a broad sense.
[0022]
=== Printer driver ===
<About the printer driver>
FIG. 2 is a schematic explanatory diagram of the basic processing performed by the printer driver. The components already described are denoted by the same reference numerals and will not be described. In the computer 1100, a computer program such as a video driver 1102, an application program 1104, and a printer driver 1110 operates under an operating system mounted on the computer. The video driver 1102 has a function of displaying, for example, a user interface or the like on the display device 1200 in accordance with a display command from the application program 1104 or the printer driver 1110. The application program 1104 has, for example, a function of performing image editing and the like, and creates data relating to an image (image data). The user can give an instruction to print an image edited by the application program 1104 via the user interface of the application program 1104. Upon receiving the print instruction, the application program 1104 outputs image data to the printer driver 1110.
[0023]
The printer driver 1110 receives image data from the application program 1104, converts the image data into print data, and outputs the print data to a printer. Here, the print data is data in a format that can be interpreted by the printer 1, and is data having various types of command data and pixel data. Here, the command data is data for instructing the printer to execute a specific operation. Further, the pixel data is data relating to pixels constituting an image to be printed (printed image). For example, data relating to dots formed at a position on paper corresponding to a certain pixel (such as dot color and size) is used. Data).
[0024]
The printer driver 1110 performs resolution conversion processing, color conversion processing, halftone processing, rasterization processing, and the like in order to convert image data output from the application program 1104 into print data. Hereinafter, various processes performed by the printer driver 1110 will be described.
[0025]
The resolution conversion process is a process of converting image data (text data, image data, etc.) output from the application program 1104 to a resolution for printing on paper. For example, when the resolution for printing an image on paper is specified to be 720 × 720 dpi, the image data received from the application program 1104 is converted into image data having a resolution of 720 × 720 dpi. Note that the image data after the resolution conversion processing is RGB data of multiple gradations (for example, 256 gradations) represented by an RGB color space. Hereinafter, the RGB data obtained by subjecting the image data to the resolution conversion processing will be referred to as RGB image data.
[0026]
The color conversion process is a process of converting RGB data into CMYK data represented by a CMYK color space. The CMYK data is data corresponding to the color of the ink of the printer. This color conversion processing is performed by the printer driver 1110 referring to a table (color conversion lookup table LUT) in which the gradation values of the RGB image data and the gradation values of the CMYK image data are associated. By this color conversion process, the RGB data for each pixel is converted into CMYK data corresponding to the ink color. The data after the color conversion processing is CMYK data of 256 gradations represented by the CMYK color space. Hereinafter, CMYK data obtained by subjecting RGB image data to color conversion processing will be referred to as CMYK image data.
[0027]
The halftone process is a process of converting data having a high number of gradations into data having a number of gradations that can be formed by a printer. For example, data representing 256 gradations is converted into 1-bit data representing 2 gradations or 2-bit data representing 4 gradations by halftone processing. In the halftone processing, pixel data is created using a dither method, a γ correction, an error diffusion method, or the like so that the printer can form dots in a dispersed manner. When performing the halftone processing, the printer driver 1110 refers to the dither table 20 when performing the dither method, refers to the gamma table 24 when performing the γ correction, and performs the diffusion when performing the error diffusion method. Reference is made to an error memory 22 for storing the error. The halftone-processed data has the same resolution (for example, 720 × 720 dpi) as the RGB data. The halftone-processed data is composed of, for example, 1-bit or 2-bit data for each pixel. Hereinafter, of the halftone-processed data, one-bit data is referred to as binary data, and two-bit data is referred to as multi-valued data.
[0028]
The rasterizing process is a process of changing matrix image data in the order of data to be transferred to the printer. The rasterized data is output to the printer as pixel data included in the print data.
[0029]
<About printer driver settings>
FIG. 3 is an explanatory diagram of a user interface of the printer driver. The user interface of the printer driver is displayed on the display device via the video driver 1102. The user can use the input device 1300 to make various settings for the printer driver.
[0030]
The user can select a print mode from this screen. For example, the user can select a high-speed print mode or a fine print mode as the print mode. Then, the printer driver converts the image data into print data so as to have a format according to the selected print mode.
In addition, the user can select the printing resolution (dot interval when printing) from this screen. For example, the user can select 720 dpi or 360 dpi as the print resolution from this screen. Then, the printer driver performs a resolution conversion process according to the selected resolution, and converts the image data into print data.
Further, the user can select the printing paper used for printing from this screen. For example, the user can select plain paper or glossy paper as the printing paper. Different types of paper (paper types) have different ink bleeding and drying methods, and therefore have different amounts of ink suitable for printing. Therefore, the printer driver converts the image data into print data according to the selected paper type.
As described above, the printer driver converts image data into print data according to the conditions set via the user interface. From this screen, the user can make various settings of the printer driver, and can also know the remaining amount of ink in the cartridge.
[0031]
=== Printer configuration ===
<Configuration of inkjet printer>
FIG. 4 is a block diagram of the overall configuration of the printer according to the present embodiment. FIG. 5 is a schematic diagram of the overall configuration of the printer of the present embodiment. FIG. 6 is a cross-sectional view of the overall configuration of the printer according to the present embodiment. Hereinafter, a basic configuration of the printer of the present embodiment will be described.
[0032]
The inkjet printer according to the present embodiment includes a transport unit 20, a carriage unit 30, a head unit 40, a sensor 50, and a controller 60. The printer 1 that has received the print data from the computer 1100, which is an external device, controls each unit (the transport unit 20, the carriage unit 30, and the head unit 40) by the controller 60. The controller 60 controls each unit based on print data received from the computer 1100 and forms an image on paper. The state inside the printer 1 is monitored by the sensor 50, and the sensor 50 outputs a detection result to the controller 60. The controller receiving the detection result from the sensor controls each unit based on the detection result.
[0033]
The transport unit 20 is for feeding a medium (for example, paper S) to a printable position and transporting the paper by a predetermined transport amount in a predetermined direction (hereinafter, referred to as a transport direction) during printing. That is, the transport unit 20 functions as a transport mechanism (transport unit) that transports the paper. The transport unit 20 includes a paper feed roller 21, a transport motor 22 (also referred to as a PF motor), a transport roller 23, a platen 24, and a paper discharge roller 25. However, in order for the transport unit 20 to function as a transport mechanism, not all of these components are necessarily required. The paper feed roller 21 is a roller for automatically feeding the paper inserted into the paper insertion slot into the printer. The feed roller 21 has a D-shaped cross section, and the length of the circumferential portion is set to be longer than the transport distance to the transport roller 23. 23. The transport motor 22 is a motor for transporting the paper in the transport direction, and is configured by a DC motor. The transport roller 23 is a roller that transports the paper S fed by the paper feed roller 21 to a printable area, and is driven by the transport motor 22. The platen 24 supports the paper S being printed. The paper discharge roller 25 is a roller that discharges the paper S on which printing has been completed to the outside of the printer. This paper discharge roller 25 rotates in synchronization with the transport roller 23.
[0034]
The carriage unit 30 is for moving (scanning) the head in a predetermined direction (hereinafter, referred to as a scanning direction). The carriage unit 30 has a carriage 31 and a carriage motor 32 (also referred to as a CR motor). The carriage 31 can reciprocate in the scanning direction. (Thus, the head moves along the scanning direction.) The carriage 31 detachably holds an ink cartridge containing ink. The carriage motor 32 is a motor for moving the carriage 31 in the scanning direction, and is constituted by a DC motor.
[0035]
The head unit 40 is for discharging ink on paper. The head unit 40 has a head 41. The head 41 has a plurality of nozzles serving as ink discharge units, and discharges ink intermittently from each nozzle. The head 41 is provided on the carriage 31. Therefore, when the carriage 31 moves in the scanning direction, the head 41 also moves in the scanning direction. Then, by intermittently ejecting ink while the head 41 is moving in the scanning direction, dot lines (raster lines) along the scanning direction are formed on the paper.
[0036]
The sensor 50 includes a linear encoder 51, a rotary encoder 52, a paper detection sensor 53, a paper width sensor 54, and the like. The linear encoder 51 is for detecting the position of the carriage 31 in the scanning direction. The rotary encoder 52 is for detecting a rotation amount of the transport roller 23. The paper detection sensor 53 is for detecting the position of the leading edge of the paper to be printed. The paper detection sensor 53 is provided at a position where the position of the leading end of the paper can be detected while the paper supply roller 21 is feeding paper toward the transport roller 23. The paper detection sensor 53 is a mechanical sensor that detects the leading edge of the paper by a mechanical mechanism. More specifically, the paper detection sensor 53 has a lever rotatable in the paper transport direction, and this lever is arranged to protrude into the paper transport path. Therefore, the leading end of the paper comes into contact with the lever, and the lever is rotated. The paper detection sensor 53 detects the position of the leading end of the paper by detecting the movement of the lever. The paper width sensor 54 is attached to the carriage 31. The paper width sensor 54 is an optical sensor, and detects the presence or absence of the paper by detecting the reflected light of the light emitted from the light emitting unit to the paper by the light receiving unit. The paper width sensor 54 detects the position of the edge of the paper while being moved by the carriage 41, and detects the width of the paper. The paper width sensor 54 can also detect the leading edge of the paper according to the situation. Since the paper width sensor 54 is an optical sensor, the accuracy of position detection is higher than that of the paper detection sensor 53.
[0037]
The controller 60 is a control unit (control means) for controlling the printer. The controller 60 has an interface unit 61, a CPU 62, a memory 63, and a unit control circuit 64. The interface unit 61 is for transmitting and receiving data between the computer 1100, which is an external device, and the printer 1. The CPU 62 is an arithmetic processing unit for controlling the entire printer. The memory 63 is for securing an area for storing the program of the CPU 62, a work area, and the like, and has storage means such as a RAM and an EEPROM. The CPU 62 controls each unit via the unit control circuit 64 according to a program stored in the memory 63.
[0038]
<About printing operation>
FIG. 7 is a flowchart of the process at the time of printing. Each process described below is executed by the controller 60 controlling each unit according to a program stored in the memory 63. This program has codes for executing each process.
[0039]
Print command reception (S001): The controller 60 receives a print command from the computer 1100 via the interface unit 61. This print command is included in the header of the print data transmitted from the computer 1100. Then, the controller 60 analyzes the contents of various commands included in the received print data, and performs the following paper feed processing, transport processing, ink discharge processing, and the like using each unit.
[0040]
Feeding Process (S002): First, the controller 60 performs a feeding process. The paper feeding process is a process of supplying paper to be printed into the printer and positioning the paper at a printing start position (also referred to as a cueing position). The controller 60 rotates the paper feed roller 21 and sends the paper to be printed to the transport roller 23. The controller 60 rotates the transport roller 23 to position the paper sent from the paper feed roller 21 at the printing start position. When the paper is positioned at the printing start position, at least some of the nozzles of the head 41 face the paper.
[0041]
Dot forming process (S003): Next, the controller 60 performs a dot forming process. The dot forming process is a process of intermittently ejecting ink from a head that moves in the scanning direction to form dots on paper. The controller 60 drives the carriage motor 32 to move the carriage 31 in the scanning direction. Then, the controller 60 causes the head to eject ink based on the print data while the carriage 31 is moving. When the ink droplet ejected from the head lands on the paper, a dot is formed on the paper.
[0042]
Transport process (S004): Next, the controller 60 performs a transport process. The transport process is a process of moving the paper relative to the head along the transport direction. The controller 60 drives the transport motor, rotates the transport rollers, and transports the paper in the transport direction. By this transport processing, the head 41 can form dots at positions different from the positions of the dots formed by the previous dot forming processing.
[0043]
Discharge determination (S005): Next, the controller 60 determines discharge of the paper being printed. If data to be printed on the paper being printed remains, the paper is not discharged. Then, the controller 60 alternately repeats the dot forming process and the transporting process until there is no more data to print, and gradually prints an image composed of dots on paper. When there is no more data to be printed on the paper being printed, the controller 60 discharges the paper. The controller 60 discharges the printed paper to the outside by rotating the paper discharge roller. It should be noted that the determination as to whether or not to perform the discharge may be based on a discharge command included in the print data.
[0044]
Printing end determination (S006): Next, the controller 60 determines whether or not to continue printing. If the printing is to be performed on the next paper, the printing is continued and the paper feeding process for the next paper is started. If printing is not to be performed on the next sheet, the printing operation ends.
[0045]
<About the structure of the head>
FIG. 8 is an explanatory diagram showing the arrangement of nozzles on the lower surface of the head 41. On the lower surface of the head 41, a black ink nozzle group K, a cyan ink nozzle group C, a magenta ink nozzle group M, and a yellow ink nozzle group Y are formed. Each nozzle group includes a plurality of nozzles (180 nozzles in the present embodiment) which are ejection ports for ejecting ink of each color.
The plurality of nozzles of each nozzle group are arranged at regular intervals (nozzle pitch: kD) along the transport direction. Here, D is the minimum dot pitch in the transport direction (that is, the interval of the dots formed on the paper S at the highest resolution). K is an integer of 1 or more. For example, when the nozzle pitch is 180 dpi (1/180 inch) and the dot pitch in the transport direction is 720 dpi (1/720), k = 4.
[0046]
The nozzles of each nozzle group are assigned smaller numbers as the nozzles on the downstream side decrease (# 1 to # 180). That is, nozzle # 1 is located downstream of nozzle # 180 in the transport direction. The paper width sensor 54 is located at substantially the same position as the nozzle # 180 located at the most upstream side with respect to the position in the paper transport direction. Each nozzle is provided with a piezo element (not shown) as a drive element for driving each nozzle to eject ink droplets.
[0047]
<About driving the head>
FIG. 9 is an explanatory diagram of a drive circuit of the head unit 40. This drive circuit is provided in the above-described unit control circuit 64, and includes an original drive signal generation unit 644A and a drive signal shaping unit 644B as shown in FIG. In the present embodiment, such a drive circuit for the nozzles # 1 to # 180 is provided for each nozzle group, that is, for the nozzle groups of each color of black (K), cyan (C), magenta (M), and yellow (Y). The piezo element is individually driven for each nozzle group. In the figure, the numbers in parentheses at the end of each signal name indicate the number of the nozzle to which the signal is supplied.
[0048]
When a voltage having a predetermined time width is applied between electrodes provided at both ends of the piezo element, the piezo element expands in accordance with the voltage application time and deforms the side wall of the ink flow path. As a result, the volume of the ink flow path contracts in accordance with the expansion and contraction of the piezo element, and the amount of ink corresponding to the contraction is ejected from each nozzle # 1 to # 180 of each color as ink droplets.
The original drive signal generator 644A generates an original signal ODRV used commonly for each of the nozzles # 1 to # 180. The original signal ODRV is a signal including a plurality of pulses in a main scanning period for one pixel (within a time when the carriage 41 crosses an interval of one pixel).
The drive signal shaping section 644B receives the original signal ODRV from the original signal generation section 644A and the print signal PRT (i). The drive signal shaping unit 644B shapes the original signal ODRV according to the level of the print signal PRT (i), and outputs the original signal ODRV to the piezo elements of the nozzles # 1 to # 180 as the drive signal DRV (i). The piezo elements of each of the nozzles # 1 to # 180 are driven based on the drive signal DRV from the drive signal shaping unit 644B.
[0049]
<About the drive signal of the head>
FIG. 10 is a timing chart for explaining each signal. That is, FIG. 2 shows a timing chart of each signal of the original signal ODRV, the print signal PRT (i), and the drive signal DRV (i).
Original signal ODRV is a signal commonly supplied to nozzles # 1 to # 180 from original signal generating section 644A. In the present embodiment, the original signal ODRV includes two pulses of a first pulse W1 and a second pulse W2 within a main scanning period of one pixel (within a time when the carriage crosses an interval of one pixel). The original signal ODRV is output from the original signal generation section 644A to the drive signal shaping section 644B.
[0050]
The print signal PRT is a signal corresponding to pixel data assigned to one pixel. That is, the print signal PRT is a signal corresponding to the pixel data included in the print data. In the present embodiment, the print signal PRT (i) is a signal having two bits of information for one pixel. The drive signal shaping section 644B shapes the original signal ODRV according to the signal level of the print signal PRT and outputs the drive signal DRV.
The drive signal DRV is a signal obtained by cutting off the original signal ODRV according to the level of the print signal PRT. That is, when the print signal PRT is at the 1 level, the drive signal shaping unit 644B passes the corresponding pulse of the original signal ODRV as it is to make the drive signal DRV. On the other hand, when the print signal PRT is at the 0 level, the drive signal shaping unit 644B cuts off the pulse of the original signal ODRV. The drive signal shaping section 644B outputs the drive signal DRV to the piezo element provided for each nozzle. Then, the piezo element is driven according to the drive signal DRV.
[0051]
When the print signal PRT (i) corresponds to the 2-bit data “01”, only the first pulse W1 is output in the first half of one pixel section. Thus, small ink droplets are ejected from the nozzles, and small dots (small dots) are formed on the paper. When the print signal PRT (i) corresponds to the 2-bit data “10”, only the second pulse W2 is output in the latter half of one pixel section. Accordingly, a medium-sized ink droplet is ejected from the nozzle, and a medium-sized dot (medium dot) is formed on the paper. When the print signal PRT (i) corresponds to the 2-bit data “11”, the first pulse W1 and the second pulse W2 are output in one pixel section. As a result, large ink droplets are ejected from the nozzles, and large dots (large dots) are formed on the paper.
As described above, the drive signal DRV (i) in one pixel section is shaped so as to have three different waveforms depending on three different values of the print signal PRT (i).
[0052]
=== Printing Method of this Embodiment (Outline) ===
<Flow of the printing method according to the present embodiment>
FIG. 11 is a flowchart illustrating the outline of the printing method according to the present embodiment. Various operations described below are performed by a printer driver. That is, the printer driver, which is a program, has codes for executing various functions described below. The printing method of the present embodiment is characterized by the method of contour processing (S105). FIG. 12 is an explanatory diagram of an image (original image) to be printed. The original image to be printed is a square image having a space inside.
[0053]
First, the printer driver receives a print command from an application program (S101). This print command is issued when the user issues a print command on the application. This print command includes, for example, image data of the original image edited on the application. The printer driver converts the image data included in the print command into print data as follows, and outputs the print data to the printer.
[0054]
Next, the printer driver converts the image data into RGB image data having a resolution of 720 × 720 dpi (S102: resolution conversion processing). As will be described later, in the present embodiment, the printer performs printing at a resolution of 720 × 720 dpi. Therefore, the printer driver sets the resolution of the image data received from the application program to the RGB image data having a resolution equal to the resolution when printing on paper. Has been converted to. Note that the RGB image data after the resolution conversion processing in the present embodiment is 256-gradation RGB data.
Next, the printer driver converts the RGB image data into CMYK image data (S103: color conversion processing). In the present embodiment, since the RGB image data has a resolution of 720 × 720 dpi, the CMYK image data after the color conversion processing also has a resolution of 720 × 720 dpi. Note that the CMYK image data after the color conversion processing in the present embodiment is CMYK data of 256 gradations.
Next, the printer driver converts the CMYK image data of 256 gradations into binary data having a resolution of 720 × 720 dpi (S104: halftone processing). In the present embodiment, the halftone-processed data is multi-valued data in which 2-bit data is assigned to each pixel.
[0055]
FIG. 13 is an explanatory diagram of multivalued data of 720 × 720 dpi subjected to halftone processing. The cells in the drawing are virtually determined cells, and indicate pixels which are the minimum constituent units when forming an image. In the figure, for simplification of the description, the description will be made using an image composed of 13 pixels × 13 pixels.
[0056]
Each pixel is assigned 2-bit data of "00", "01", "10", or "11". Data (pixel data) corresponding to a pixel becomes information indicating the color (gradation) of the pixel. Then, no dot is formed at a position on the paper corresponding to the pixel whose pixel data is “00”. Also, small dots are formed at positions on the paper corresponding to the pixels whose pixel data is “01”. Also, a medium dot is formed at a position on the paper corresponding to the pixel whose pixel data is “10”. In addition, a large dot is formed at a position on the paper corresponding to a pixel whose pixel data is “11”. That is, if the pixel data is 2-bit data, four gradations can be expressed for one pixel.
As in the present embodiment, “11” is assigned as pixel data to pixels forming an image that fills a predetermined area, as pixels forming this image. That is, a large dot is to be formed at a position on the paper corresponding to a pixel constituting an image. In the figure, “00” is assigned to a pixel for which no pixel data is indicated.
Here, the pixel data of the pixel located at (X, Y) is represented as F (X, Y). For example, assuming that the position of the upper left pixel in the drawing is (X, Y) = (0, 0), the pixel data of this pixel is F (0, 0) = 00. According to this rule, F (2,2) = 11.
[0057]
After the halftone process, the printer driver performs a later-described contour process (S105).
Next, the printer driver performs a rasterizing process (S106), and outputs print data to the printer (S107). The printer forms an image on paper based on the received print data.
[0058]
<About not performing contour processing>
FIG. 14 is an explanatory diagram of a print image when no contour processing is performed. The printer driver performs rasterization processing (S106) without performing contour processing, outputs print data to the printer (S107), and if the printer performs printing based on the print data, such a print image is printed on paper. You.
[0059]
If the contour processing is not performed, the contour portion of the area to be painted is not printed smoothly as shown in FIG. This is because the contour portion has a large amount of ink as described below.
FIG. 15A is an explanatory diagram of how ink flows when no contour processing is performed. FIG. 15B is an explanatory diagram of a print image of a contour portion when contour processing is not performed. An outline portion is formed along the vertical direction in the figure, and the left direction in the figure is the inward direction of the area to be painted, and the right direction in the figure is the outward direction of the area to be painted. When the contour processing is not performed, the dots forming the contour portion of the image to be printed are large dots, and the amount of ink ejected on the paper is large. Further, the dots forming the inside of the image to be printed are also large dots, and a large amount of ink is ejected to a position adjacent to the dots forming the outline. When a large dot having a large amount of ink is adjacent to a large dot, the ink overflows outside the position where the dot is formed. When the ink overflows in the outline, the outline of the image to be printed is disturbed. In particular, in the case of paper with coarse paper fibers, such as plain paper, the surrounding ink gathers in the areas where the fibers are coarse, and the ink overflows along the fibers of the paper. Cheap.
[0060]
<About contour processing in reference example>
FIG. 16A is an explanatory diagram of how dots are formed when the contour processing of the reference example is performed. In the drawing, the pixel data of the pixel indicated as “large” is “11”, and a large dot is formed on the paper corresponding to the pixel. The pixel data of the pixel indicated as “small” is “01”, and a small dot is formed at a position on the paper corresponding to the pixel.
In this reference example, pixels (contour pixels) of the contours of the pixels constituting the image to be printed are extracted, and the pixel data of the extracted contour pixels is replaced with “11” from “01”. As a result, when printing an image, the dots that make up the outline of the image to be printed are replaced by large dots and small dots.
[0061]
FIG. 16B is an explanatory diagram of a print image when the contour processing according to the reference example is performed. The printer driver performs the contour processing of the reference example, performs the rasterization processing (S106), outputs the print data to the printer (S107), and if the printer performs printing based on the print data, such a print image is printed on paper. Printed. As compared to the case where the contour processing is not performed, the contour portion is printed more smoothly. This is because, since the pixel data of the outline pixel is changed from “11” to “01”, the dots forming the outline of the image to be printed are replaced with large dots to small dots, and the ink amount of the outline portion of the image to be printed is changed. Is reduced, so that the overflow of the ink in the outline portion is suppressed.
However, when the contour processing of the reference example is performed, the print image becomes thinner as a whole. That is, when the contour processing according to the reference example is performed, the dots forming the contour portion of the space inside the image are replaced with large dots and small dots, thereby expanding the space inside the image. On the other hand, the dots constituting the outer contour portion of the image are also replaced with small dots from large dots, so that the entire image becomes small. As a result, the space inside the image expands and the outline outside the image becomes smaller, so that the lines of the printed image become thinner.
If the small characters are printed on paper by performing the contour processing of this reference example, the small characters are printed so that the lines become thinner even though they are composed of thin lines. Is very thin and difficult to read.
[0062]
In the present embodiment, in order to prevent the line from becoming thin even if the outline processing is performed so that the outline part of the print image is smooth, as described below, the outline pixels are extracted, and the extracted outline pixels are extracted. Small dots are formed at corresponding positions on the paper.
[0063]
=== Contour Processing of the Present Embodiment ===
In the present embodiment, an extraction process of an outline pixel or the like is performed, and a replacement process of pixel data corresponding to the extracted outline pixel is performed. Note that the processing described below is executed by the printer driver. However, when the controller on the printer side receives the print data, the control may be performed based on a program stored in the memory on the printer side. Such a program (including a printer driver) is configured by codes for executing the following processing.
[0064]
<About extraction processing of outer pixels etc.>
Hereinafter, extraction processing of an outer pixel or the like will be described. For simplicity, binary data of “0” or “1” is associated with one pixel instead of multivalued data. However, even when the multi-value data is associated with one pixel, the process of extracting the outer pixels is almost the same as the following process. Also, in the same figure, the description will be made using an image composed of 10 pixels × 10 pixels in order to simplify the description.
[0065]
FIG. 17A is an explanatory diagram of image data to be subjected to contour extraction. The cells in the drawing are virtually determined cells, and indicate pixels which are the minimum constituent units when forming an image. Binary data of 0 or 1 is assigned to each pixel. No dot is formed at the position on the paper corresponding to the pixel to which 0 is assigned. On the other hand, a dot is formed at a position on the paper corresponding to the pixel to which 1 is assigned. Therefore, data (pixel data) corresponding to a pixel becomes information indicating the color of the pixel. Here, the pixel data of the pixel at the position of (X, Y) is represented as F (X, Y). For example, assuming that the position of the upper left pixel in the drawing is (X, Y) = (0, 0), this pixel data is F (0, 0) = 0. According to this rule, F (2, 2) = 1.
When an article is present in the background, the outline is the boundary between the background and the article. Usually, since the color of the background is different from the color of the article, the outline is recognized as a place where the color of the image (particularly the shading of the color) changes. Therefore, in order to extract the contour from the image data, it is sufficient to detect a pixel whose color of the image has changed compared to the surrounding pixels. The change in the color of the image can be expressed by using the following equation using the differentiation.
[0066]
F ′ (X, Y) = 8 × F (X, Y) −F (X + 1, Y) −F (X + 1, Y + 1) −F (X, Y + 1) −F (X−1, Y + 1) −F (X −1, Y) −F (X−1, Y−1) −F (X, Y−1) −F (X + 1, Y−1) (Formula 1)
In the above equation, the amount of change with respect to pixel data around a certain pixel is obtained by using differentiation with respect to a two-dimensional image. The printer driver calculates the amount of change of each pixel with respect to surrounding pixels using the above equation.
[0067]
FIG. 17B is an explanatory diagram of the data F ′ (X, Y) of each pixel calculated by the above equation. That is, FIG. 17B shows the amount of change compared with the surrounding pixels. For example, at the position of (X, Y) = (2, 2), F ′ (2, 2) = 5 as a change amount when compared with data of eight pixels around the pixel.
[0068]
FIG. 17C is an explanatory diagram showing contour pixels. If each pixel data F ′ (X, Y) in FIG. 17B is subjected to a binarization process using F ′ (X, Y)> 1 as a threshold, data indicating contour pixels can be obtained (this binarization). The processed data is assumed to be f1 (X, Y). The printer driver can extract a pixel having a large change amount (color change amount) as compared with surrounding pixels by binarizing the above F ′ (X, Y). Then, a pixel having a large change amount is considered to be a pixel corresponding to the boundary between the background and the article. Therefore, the printer driver can extract pixels corresponding to the outline by the binarization processing.
[0069]
FIG. 17D is an explanatory diagram for illustrating an outline pixel. By performing binarization processing on each pixel data F ′ (X, Y) in FIG. 17B with F ′ (X, Y) <0 as a threshold, data indicating an outer pixel can be obtained (this binarization). The processed data is denoted by f2 (X, Y). The outer pixels are pixels outside the outline pixels. The “outside” is an outward direction when the area to be painted is inside.
[0070]
The printer driver may perform a filtering process on the image data before using the above equation when extracting the outer pixels and the like. By performing the filtering process on the image data, it is possible to perform the outer pixel extraction process according to the characteristics of the image. For example, when extracting the contour pixels of the noisy image data, the printer driver may perform an image smoothing process before using the above equation. The image smoothing process is a process of replacing certain pixel data with an average value of surrounding pixel data, and is a type of filtering process for image data. If the contour pixel extraction processing is performed after the image smoothing processing, the printer driver can appropriately extract the pixels corresponding to the contour even if the image data has much noise.
[0071]
<About the first replacement process>
FIG. 18A is an explanatory diagram of how dots are formed when the first replacement processing according to the present embodiment is performed. In the first replacement process, a process of replacing the pixel data of the outer pixels extracted by the above process from “00” to “01” is performed. As a result, when printing an image, small dots are formed outside the dots (large dots) constituting the outline of the image to be printed.
FIG. 18B is an explanatory diagram of a print image when the first replacement processing according to the present embodiment has been performed. If the printer driver performs the outline processing of this embodiment (S105), performs the rasterization processing (S106), outputs print data to the printer (S107), and the printer performs printing based on the print data, such printing is performed. The image is printed on paper. As compared to the case where the contour processing is not performed, the contour portion is printed more smoothly. The reason will be described below.
[0072]
FIG. 19A is an explanatory diagram of the amount of ink ejected to the contour portion. FIG. 19B is an explanatory diagram of a print image of an outline portion. An outline portion is formed along the vertical direction in the figure, and the left direction in the figure is the inward direction of the area to be painted, and the right direction in the figure is the outward direction of the area to be painted. In the present embodiment, large dots are formed at positions on the paper corresponding to the contour pixels and the pixels inside the contour pixels. Since a large amount of ink is ejected at the position on the paper corresponding to the contour pixel and pixels inside the contour pixel, the ink overflows outside the position where the large dot is formed. On the other hand, in the present embodiment, small dots are formed at positions on the paper corresponding to the outer pixels. Small dots are formed outside the large dots, and the large dots and small dots are in contact with each other, so that the ink that overflows from the large dots overflows toward the small dots (in the direction of the small dots). Is done). As a result, the ink overflowing from the large dots is evenly distributed to a plurality of small dots on the outside. As a result, the outline portion outside the printed image is printed more smoothly than when the outline processing is not performed. In particular, even if the fiber of the paper is coarse, such as plain paper, the ink overflowing from the large dots is dispersed into the small dots on the outside, so that the outline portion is printed smoothly.
[0073]
In addition, it can be said that the ink that forms the small dots has an effect of damming the ink that forms the large dots when it overflows to the outside. In the present embodiment, small dots prevent the ink from overflowing to the outside while a sufficient amount of ink is supplied to the outline portion. Can be printed.
[0074]
Also, in the present embodiment, the lines of the printed image are not thin compared to the case where the contour processing of the aforementioned reference example is performed. Therefore, according to the printing method of the present embodiment, it is possible to print an easy-to-view high-quality image even when printing small characters or thin lines.
[0075]
<About the second replacement process>
FIG. 20A is an explanatory diagram of how dots are formed when the second replacement process according to the present embodiment is performed. In the second replacement process, not only the process of replacing the pixel data of the extracted outer pixels from “00” to “01”, but also the process of replacing the pixel data of the contour pixels of the pixels forming the original image with “11” to “01” Is being replaced. As a result, when printing an image, the dots forming the outline of the image to be printed are formed by replacing large dots with small dots.
FIG. 20B is an explanatory diagram of a print image when the second replacement process according to the embodiment is performed. The printer driver performs a second replacement process (S105), performs a rasterization process (S106), outputs print data to the printer (S107), and if the printer performs printing based on the print data, such a print image is generated. Is printed on paper. Compared with the case where the above-described first replacement processing is performed, the line thickness of the printed image (the line thickness relative to the entire printed image) is closer to the line thickness of the original image. . The reason will be described below.
[0076]
In the first replacement process described above, a large dot is formed at a position on the paper corresponding to the contour pixel, and thus the amount of ink overflowing outward becomes relatively large. On the other hand, in the second replacement process, since small dots are formed at positions on the paper corresponding to the contour pixels, the amount of ink is reduced, and the amount of ink overflowing outward is relatively small. When the amount of ink overflowing outward decreases, the outline of the printed image does not spread outward, so that the line thickness of the printed image is substantially equal to the line thickness of the original image.
In the first replacement process described above, if the original image has an inner space, the inner space is easily collapsed. For example, when the character "A" is printed with a black line, the first replacement process reduces the white portion in the center of "A", and the printed character "A" is difficult to read. Become. In particular, when the character "A" is printed with a black line using a small font, the number of pixels constituting the white portion at the center of "A" is small. The letter "A" becomes difficult to read. On the other hand, if the second replacement process is performed, the white portion at the center of “A” is not crushed, and the character “A” is easy to read. That is, the second replacement process is particularly advantageous when the original image contains small characters.
[0077]
=== Selection of contour processing ===
FIG. 21 is a flowchart for explaining the contour processing of the present embodiment. The processing described below is executed by the printer driver. However, when the controller on the printer side receives the print data, the control may be performed based on a program stored in the memory on the printer side. Such a program (including a printer driver) is configured by codes for executing the following processing.
[0078]
First, the printer driver determines the size of the original image (S201). In the present embodiment, the printer driver determines the size of the original image based on the number of points of characters (fonts) constituting the original image. If the number of characters is small, the original image is determined to be small, and if the number of characters is large, the original image is determined to be large.
Next, the printer driver determines whether the size of the original image is a predetermined size (S202). In the present embodiment, the printer driver determines whether or not the number of points of characters (fonts) constituting the original image is equal to or more than a predetermined number of points. For example, the printer driver determines whether the point number of the character is greater than 8 points.
If the size of the original image is a predetermined size (YES in S202), the printer driver performs a first contour process (S203). For example, if the number of characters in the original image is 10 points, the first contour processing is performed. Note that the first contour processing is to extract a contour pixel (contour pixel extraction processing) and replace the pixel data of the extracted contour pixel from “00” to “01” (first substitution processing). .
[0079]
On the other hand, if the size of the original image does not reach the predetermined size (NO in S202), the printer driver performs the second contour processing (S204). For example, if the number of points of the characters in the original image is 6, the second contour processing is performed. In the second contour processing, contour pixels and contour pixels are extracted (contour pixel extraction processing / contour pixel extraction processing), and the pixel data of the extracted contour pixels is replaced with “01” from “00”. , In which the pixel data of the extracted contour pixel is replaced with “01” from “11” (second replacement process).
[0080]
According to the present embodiment, when printing a large character, the first contour processing is performed. As a result, the outline portion of the printed character is smoothed, and the character which is easy to read can be printed. In addition, as a result of blocking the ink that causes the small dots formed on the outer spill to overflow to the outside, the outline of the character is clear and the character can be printed easily.
According to the present embodiment, when printing small characters, the second contour processing is performed. Therefore, for example, even when the character “A” is printed with a black line using a small font, it is possible to print a character that is easy to read without crushing the white portion at the center.
Further, according to the present embodiment, different outline processing is performed according to the size of the character, so that a printing process suitable for the size of the character can be performed.
[0081]
=== Other Embodiments ===
Although the above embodiment mainly describes a printer, it includes a printing device, a recording device, a liquid ejection device, a printing method, a recording method, a liquid ejection method, a printing system, a recording system, and a computer system. Needless to say, the disclosure includes a program, a storage medium storing the program, a display screen, a screen display method, a method of manufacturing a printed material, and the like.
[0082]
Although the printer and the like have been described as one embodiment, the above embodiment is for the purpose of facilitating the understanding of the present invention, and is not for limiting the present invention. The present invention can be modified and improved without departing from the spirit thereof, and it goes without saying that the present invention includes its equivalents. In particular, even the embodiments described below are included in the present invention.
[0083]
<About the printer driver>
According to the above-described embodiment, the printer driver on the computer side performs the contour processing. However, contour processing is not limited to the printer driver. For example, if a program for realizing the functions required to perform the contour processing of the present embodiment is stored in the memory of the printer, the controller on the printer side may perform the above-described contour processing.
Even in this case, substantially the same effects as in the above-described embodiment can be obtained.
[0084]
<About pixel data of contour pixels>
According to the above-described embodiment, the pixel data of the contour pixel is changed from “11” to “01” to reduce the amount of ink ejected to the contour portion. However, the method for reducing the amount of ink ejected to the contour is not limited to this.
FIG. 22 is an explanatory diagram of how dots are formed when the replacement process of another embodiment is performed. In the figure, the pixel data of the pixel indicated as "medium" is "10", and a medium dot is formed at a position on the paper corresponding to the pixel. In the present embodiment, the pixel data of the outline pixel is changed from “11” to “10”. Even if the pixel data of the outline pixel is different from the pixel data of the outline pixel, the same effect as the above-described second replacement process can be obtained. In this case, it is desirable that the dot of the pixel data of the outline pixel is smaller than the dot (large dot) formed inside the image and larger than the dot (small dot) formed outside the image.
[0085]
FIG. 23 is an explanatory diagram of how dots are formed when the replacement process of another embodiment is performed. In the present embodiment, the pixel data of some of the contour pixels is replaced with “00” from “11”. That is, dots formed at positions on the paper corresponding to the contour pixels are thinned out. Even in the replacement process of the present embodiment, the same effect as in the above-described second replacement process can be obtained.
Depending on the size of the image to be printed, an appropriate replacement process may be selected from a plurality of replacement processes such as the first and second contour processes of the above-described embodiment and the above-described replacement process. .
[0086]
<Selection of contour processing>
According to the above-described embodiment, the first contour processing is performed if the original image is large, and the second contour processing is performed if the original image is small. However, the present invention is not limited to this. Further, according to the above-described embodiment, the selection of the outline processing is performed based on the number of points of the character to be printed. However, the criterion for selecting the outline processing is not limited to this.
[0087]
FIG. 24 is a flowchart for explaining contour processing according to another embodiment. The processing described below is executed by the printer driver. However, when the controller on the printer side receives the print data, the processing described below may be performed based on the program stored in the memory on the printer side. Such a program (including a printer driver) is configured by codes for executing the following processing.
[0088]
First, the printer driver determines the size of the original image (S301). In the present embodiment, the printer driver determines the size of the original image based on the thickness of the lines constituting the original image. Further, the thickness of the line is determined based on the number of pixels forming the line. In this case, the number of pixels constituting the line is obtained, for example, by calculating how many consecutive pixels having pixel data “11” are adjacent to each other by the printer driver. If the number of pixels constituting the line is small, the original image is determined to be small, and if the number of pixels constituting the line is large, the original image is determined to be large.
Next, the printer driver determines whether or not the line thickness is a predetermined thickness (S302). In the present embodiment, the printer driver determines whether or not the line thickness is equal to or more than three pixels. The reason why the reference is three pixels will be clear later.
[0089]
If the thickness of the original image is smaller than three pixels (NO in S202), the printer driver performs the first contour processing (S303). On the other hand, if the thickness of the original image is equal to or more than three pixels (YES in S202), the printer driver performs the second contour processing (S204).
If the second contour processing is performed even though the thickness of the original image is 2 pixels, the pixel data of the contour pixels is replaced from “11” to “01”, and the pixels constituting the original image are printed. Large dots disappear (all large dots become small dots). Therefore, in the present embodiment, if the thickness of the original image is smaller than three pixels, the first contour processing is performed.
According to the present embodiment, different contour processing is performed according to the size of an image, so that print processing suitable for the size of the image can be performed.
When the thickness of the original image is smaller than three pixels (NO in S202), the contour processing need not be performed. This is because when the thickness of the original image is thinner than three pixels, the amount of ink overflowing outside is small, so that it may not be necessary to perform contour processing.
[0090]
<About extraction processing of outer pixels etc.>
According to the above-described embodiment, the printer driver obtains the amount of change from the surrounding pixels using the differentiation, and extracts the outline pixels and the outline pixels based on the amount of change. However, the extraction processing of the outer pixels and the like is not limited to this.
[0091]
FIG. 25A is an explanatory diagram of a search for an extraction process of an outer pixel or the like according to another embodiment. FIGS. 25B and 25C are explanatory diagrams of comparison with surrounding pixels. FIG. 25D is an explanatory diagram of the result of the contour pixel extraction processing according to the present embodiment. FIG. 25E is an explanatory diagram of the result of the peripheral pixel extraction processing according to the present embodiment. The description of the pixel data and the like is the same as that described above, and will not be repeated. Note that the processing described below is executed by the printer driver. However, when the controller on the printer side receives the print data, the control may be performed based on a program stored in the memory on the printer side. Such a program (including a printer driver) is configured by codes for executing the following processing.
[0092]
First, the printer driver searches for a pixel whose pixel data becomes 1 while searching (scanning) the pixel data of the first raster line (FIG. 25A). In the figure, the pixel of (X, Y) = (2, 2) is searched. Then, the printer driver stores this pixel as a contour pixel.
Next, the printer driver compares the eight pixels around the contour pixel clockwise. First, the printer driver compares eight pixels around the pixel of (X, Y) = (2, 2) clockwise (FIG. 25B). Then, the printer driver searches for a pixel whose pixel data changes from 0 to 1. In the figure, the pixel data changes from 0 to 1 between the pixel of (X, Y) = (3, 1) and the pixel of (X, Y) = (3, 2). Then, the printer driver stores (X, Y) = (3, 1) as an outer pixel. Further, the printer driver stores (X, Y) = (3, 2) as a newly searched contour pixel.
Next, the printer driver compares the eight pixels around the newly searched contour pixel clockwise. Here, the printer driver compares eight pixels around the pixel of (X, Y) = (3, 2) clockwise (FIG. 25C). Then, the printer driver searches for a pixel whose pixel data changes from 0 to 1. In the figure, the pixel data changes from 0 to 1 between the pixel of (X, Y) = (4, 1) and the pixel of (X, Y) = (4, 2). Then, the printer driver stores (X, Y) = (4, 1) as an outer pixel. Further, the printer driver stores (X, Y) = (4, 2) as a newly searched contour pixel.
[0093]
When this process is repeated, the newly searched pixel matches the pixel already stored as the outline pixel. If the searched pixel is stored as the outline pixel, the printer driver ends the above processing. Then, after the search processing is completed, the printer driver can extract the pixels corresponding to the outline by reading out the already stored outline pixels. FIG. 25D shows pixels searched as contour pixels by the above processing. In addition, the printer driver can extract the pixels corresponding to the outline by reading the outline pixels already stored after the search processing is completed. FIG. 25E illustrates a pixel searched for as an outer pixel by the above processing.
The same effect as in the above-described embodiment can be obtained by the extraction processing of the outer pixels and the like according to the present embodiment.
[0094]
<About the printer>
In the above embodiment, the printer has been described, but the present invention is not limited to this. For example, a color filter manufacturing device, a dyeing device, a fine processing device, a semiconductor manufacturing device, a surface processing device, a three-dimensional molding machine, a liquid vaporizer, an organic EL manufacturing device (especially a polymer EL manufacturing device), a display manufacturing device, and a film forming device The same technology as that of the present embodiment may be applied to various recording devices to which the inkjet technology is applied, such as a device and a DNA chip manufacturing device. These methods and manufacturing methods are also within the scope of application. Even if the present technology is applied to such a field, there is a feature that a liquid can be directly discharged (directly drawn) toward an object, so that material saving, process saving, and cost are reduced as compared with the related art. Down can be planned.
[0095]
<About ink>
Since the above-described embodiment is an embodiment of the printer, the dye ink or the pigment ink is ejected from the nozzle. However, the liquid ejected from the nozzle is not limited to such ink. For example, a liquid (including water) containing a metal material, an organic material (especially a polymer material), a magnetic material, a conductive material, a wiring material, a film forming material, an electronic ink, a processing liquid, a gene solution, etc. is discharged from the nozzle. May be. If such a liquid is directly discharged toward an object, material saving, process saving, and cost reduction can be achieved.
[0096]
<About the nozzle>
In the above-described embodiment, ink is ejected using the piezoelectric element. However, the method of discharging the liquid is not limited to this. For example, another method such as a method of generating bubbles in a nozzle by heat may be used.
[0097]
=== Summary ===
<About the printing device>
The above description has a head capable of forming a large dot and a small dot (or a medium dot) on paper, and forming a large dot or a small dot at a position on the paper corresponding to a pixel constituting an image. The present invention relates to a printing apparatus (a system including a computer and a printer or a single printer) for printing an image on paper. Then, the printing apparatus forms small dots at positions on the paper corresponding to the outer pixels (pixels outside the outline pixels forming the outline of the image).
[0098]
<About the control device>
In the above description, pixel data of a large dot or pixel data of a small dot “11” are associated with pixels forming an image, and pixel data “11” and pixel data “01” are included in print data. To a computer that outputs data to a printer. Then, the computer associates the pixel data “01” related to the small dot with the outer pixels (pixels outside the outline pixels constituting the outline of the image).
[0099]
<About the program 1>
The above description is based on the assumption that a printing apparatus having a head capable of forming large dots and small dots on paper (a computer-printer system or a single printer) has a large dot at a position on the medium corresponding to a pixel constituting an image. Alternatively, the present invention relates to a program (a printer driver or a program on the printer side, or a program as a system of a printer driver and a program on the printer side) for realizing a function of printing an image on paper by forming small dots. The program includes a function of forming a small dot at a position on paper corresponding to an outline pixel (a pixel outside an outline pixel constituting an outline of an image) by a printing apparatus (a computer-printer system or a printer alone). To be realized.
[0100]
<About the program 2>
A function of associating pixel data “11” relating to a large dot or pixel data “01” relating to a small dot with pixels constituting an image, and outputting the pixel data “11” and the pixel data “01” to the printer by including them in the print data And a program (printer driver) for causing a computer to implement the functions to be executed. Then, this program causes the computer to realize a function of associating the pixel data “01” with the outer pixels (pixels outside the outline pixels constituting the outline of the image).
[0101]
【The invention's effect】
According to the printing apparatus and the like of the present invention, it is possible to prevent a printed image from becoming thin even when contour processing is performed.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram of an overall configuration of a printing system.
FIG. 2 is an explanatory diagram of a process performed by a printer driver.
FIG. 3 is an explanatory diagram of a user interface of a printer driver.
FIG. 4 is a block diagram of the overall configuration of the printer.
FIG. 5 is a schematic diagram of an overall configuration of a printer.
FIG. 6 is a cross-sectional view of the overall configuration of the printer.
FIG. 7 is a flowchart of processing during printing.
FIG. 8 is an explanatory diagram showing an arrangement of nozzles.
FIG. 9 is an explanatory diagram of a drive circuit of the head unit.
FIG. 10 is a timing chart for explaining each signal.
FIG. 11 is a schematic flowchart of a printing method according to the embodiment.
FIG. 12 is an explanatory diagram of an image (original image) to be printed.
FIG. 13 is an explanatory diagram of multi-value data subjected to halftone processing.
FIG. 14 is an explanatory diagram of a print image when contour processing is not performed.
FIG. 15A is an explanatory diagram of the flow of ink when no contour processing is performed. FIG. 15B is an explanatory diagram of a print image of a contour portion when contour processing is not performed.
FIG. 16A is an explanatory diagram of how dots are formed when contour processing according to a reference example is performed. FIG. 16B is an explanatory diagram of a print image when the contour processing according to the reference example is performed.
FIG. 17A is an explanatory diagram of image data to be subjected to contour extraction; FIG. 17B is an explanatory diagram of the data F ′ (X, Y). FIG. 17C is an explanatory diagram showing contour pixels. FIG. 17D is an explanatory diagram for illustrating an outline pixel.
FIG. 18A is an explanatory diagram of a state of dot formation when the first replacement process according to the embodiment is performed. FIG. 18B is an explanatory diagram of a print image when the first replacement processing according to the present embodiment has been performed.
FIG. 19A is an explanatory diagram of an amount of ink ejected to an outline portion. FIG. 19B is an explanatory diagram of a print image of an outline portion.
FIG. 20A is an explanatory diagram of how dots are formed when the second replacement process of the embodiment is performed. FIG. 20B is an explanatory diagram of a print image when the second replacement process according to the embodiment is performed.
FIG. 21 is a flowchart for explaining contour processing according to the embodiment;
FIG. 22 is an explanatory diagram of how dots are formed when a replacement process according to another embodiment is performed.
FIG. 23 is an explanatory diagram of how dots are formed when a replacement process according to another embodiment is performed.
FIG. 24 is a flowchart for explaining contour processing according to another embodiment.
FIG. 25A is an explanatory diagram of a search for an extraction process of an outer pixel or the like according to another embodiment; FIGS. 25B and 25C are explanatory diagrams of comparison with surrounding pixels. FIG. 25D is an explanatory diagram of the result of the contour pixel extraction processing according to the present embodiment. FIG. 25E is an explanatory diagram of the result of the peripheral pixel extraction processing according to the present embodiment.
[Explanation of symbols]
1 printer,
20 transport unit, 21 paper feed roller, 22 transport motor (PF motor),
23 transport roller, 24 platen, 25 paper discharge roller,
30 carriage unit, 31 carriage,
32 carriage motor (CR motor),
40 head units, 41 heads,
50 sensors, 51 linear encoder, 52 rotary encoder,
53 paper detection sensor, 54 paper width sensor,
60 controller, 61 interface unit, 62 CPU,
63 memory, 64 unit control circuit, 644A original drive signal generator,
644B drive signal shaping unit,
1100 computer, 1200 display device,
1300 input device, 1300A keyboard, 1300B mouse,
1400 recording / reproducing device, 1400A flexible disk drive device,
1400B CD-ROM drive device,
1000 printing system, 1102 video driver,
1104 Application program, 1110 Printer driver

Claims (19)

第1ドット及び前記第1ドットよりも小さい第2ドットを媒体に形成可能なヘッドを有し、
画像を構成する画素に対応する前記媒体上の位置に、前記第1ドット又は前記第2ドットを形成することによって、前記画像を前記媒体に印刷する印刷装置であって、
前記画像の輪郭を構成する輪郭画素の外側の画素に対応する媒体上の位置に、前記第2ドットを形成する。
A head capable of forming a first dot and a second dot smaller than the first dot on a medium,
A printing apparatus that prints the image on the medium by forming the first dot or the second dot at a position on the medium corresponding to a pixel that forms an image,
The second dot is formed at a position on the medium corresponding to a pixel outside a contour pixel constituting the contour of the image.
請求項1に記載の印刷装置であって、
前記輪郭画素に対応する媒体上の位置に形成される第1ドットと、前記外側の画素に対応する媒体上の位置に形成される第2ドットとは、接触している。
The printing device according to claim 1,
A first dot formed at a position on the medium corresponding to the contour pixel is in contact with a second dot formed at a position on the medium corresponding to the outer pixel.
請求項1又は2に記載の印刷装置であって、
前記印刷装置は、前記ヘッドから吐出されるインク量を制御して前記第1ドット及び前記第2ドットを前記媒体に形成するものであり、
前記印刷装置は、前記輪郭画素に対応する前記媒体上の位置に吐出するインク量を減らす。
The printing device according to claim 1, wherein:
The printing device controls the amount of ink ejected from the head to form the first dots and the second dots on the medium,
The printing device reduces an amount of ink ejected to a position on the medium corresponding to the contour pixel.
請求項3に記載の印刷装置であって、
前記印刷装置は、前記媒体に印刷される画像の大きさに応じて、前記輪郭画素に対応する前記媒体上の位置に吐出するインク量を減らす。
The printing device according to claim 3, wherein
The printing device reduces an amount of ink ejected to a position on the medium corresponding to the contour pixel according to a size of an image printed on the medium.
請求項4に記載の印刷装置であって、
前記印刷装置は、前記媒体に印刷される画像が所定の大きさよりも小さい場合に、前記輪郭画素に対応する媒体上の位置に吐出するインク量を減らす。
The printing device according to claim 4, wherein
The printing device reduces an amount of ink ejected to a position on the medium corresponding to the contour pixel when an image printed on the medium is smaller than a predetermined size.
請求項5に記載の印刷装置であって、
前記印刷装置は、前記印刷される画像に含まれる文字の大きさに基づいて、前記画像の大きさを判断する。
The printing device according to claim 5, wherein
The printing device determines the size of the image based on the size of characters included in the image to be printed.
請求項5又は6に記載の印刷装置であって、
前記印刷される画像には、ドットを形成しない空間がある。
The printing device according to claim 5, wherein:
The printed image has a space in which no dots are formed.
請求項4に記載の印刷装置であって、
前記印刷装置は、前記媒体に印刷される画像が所定の大きさよりも大きい場合に、前記輪郭画素に対応する媒体上の位置に吐出するインク量を減らす。
The printing device according to claim 4, wherein
The printing device reduces an amount of ink ejected to a position on the medium corresponding to the contour pixel when an image printed on the medium is larger than a predetermined size.
請求項8に記載の印刷装置であって、
前記印刷装置は、前記印刷される画像の線の太さに基づいて、前記画像の大きさを判断する。
9. The printing device according to claim 8, wherein
The printing device determines a size of the image based on a line thickness of the image to be printed.
請求項9に記載の印刷装置であって、
前記印刷装置は、前記画像の線が3画素分よりも太い場合に、前記輪郭画素に対応する媒体上の位置に吐出するインク量を減らす。
The printing device according to claim 9,
The printing device reduces the amount of ink ejected to a position on the medium corresponding to the contour pixel when the line of the image is thicker than three pixels.
請求項1〜10のいずれかに記載の印刷装置であって、
前記ヘッドは、前記第1ドットよりも小さく前記第2ドットよりも大きい中間ドットを形成可能であって、
前記印刷装置は、前記輪郭画素の少なくとも一部の画素に対応する媒体上の位置に、前記中間ドットを形成する。
The printing device according to any one of claims 1 to 10,
The head is capable of forming an intermediate dot smaller than the first dot and larger than the second dot,
The printing device forms the intermediate dots at positions on the medium corresponding to at least some of the outline pixels.
請求項1〜11のいずれかに記載の印刷装置であって、
前記印刷装置は、前記輪郭画素の少なくとも一部の画素に対応する媒体上の位置に、前記第1ドット及び前記第2ドットのいずれも形成しない。
The printing apparatus according to any one of claims 1 to 11,
The printing device does not form any of the first dot and the second dot at a position on the medium corresponding to at least a part of the contour pixels.
請求項1〜12のいずれかに記載の印刷装置であって、
前記媒体に印刷される画像は、前記第1ドット又は前記第2ドットによって所定の領域を塗りつぶすような画像である。
The printing device according to claim 1,
The image printed on the medium is an image in which a predetermined area is filled with the first dot or the second dot.
請求項1〜13のいずれかに記載の印刷装置であって、
前記媒体に印刷される画像は、文字である。
The printing device according to any one of claims 1 to 13,
The image printed on the medium is a character.
画像を構成する画素に、第1ドットに関する第1ドット情報又は前記第1ドットよりも小さい第2ドットに関する第2ドット情報を対応させ、
前記第1ドット情報及び前記第2ドット情報を出力する制御装置であって、
前記画像の輪郭を構成する輪郭画素の外側の画素に、前記第2ドット情報を対応させる。
Pixels constituting an image are associated with first dot information relating to a first dot or second dot information relating to a second dot smaller than the first dot,
A control device that outputs the first dot information and the second dot information,
The second dot information is made to correspond to pixels outside the outline pixels constituting the outline of the image.
画像を構成する画素に対応する前記媒体上の位置に、前記第1ドット又は前記第1ドットよりも小さい第2ドットを形成することによって、前記画像を前記媒体に印刷する印刷方法であって、
前記画像の輪郭を構成する輪郭画素の外側の画素に対応する媒体上の位置に、前記第2ドットを形成する。
A printing method for printing the image on the medium by forming the first dot or a second dot smaller than the first dot at a position on the medium corresponding to a pixel forming an image,
The second dot is formed at a position on the medium corresponding to a pixel outside a contour pixel constituting the contour of the image.
画像を構成する画素に、第1ドットに関する第1ドット情報又は前記第1ドットよりも小さい第2ドットに関する第2ドット情報を対応させ、
前記第1ドット情報及び前記第2ドット情報を出力する制御方法であって、
前記画像の輪郭を構成する輪郭画素の外側の画素に、前記第2ドット情報を対応させる。
Pixels constituting an image are associated with first dot information relating to a first dot or second dot information relating to a second dot smaller than the first dot,
A control method for outputting the first dot information and the second dot information,
The second dot information is made to correspond to pixels outside the outline pixels constituting the outline of the image.
第1ドット及び前記第1ドットよりも小さい第2ドットを媒体に形成可能なヘッドを有する印刷装置に、
画像を構成する画素に対応する前記媒体上の位置に、前記第1ドット又は前記第2ドットを形成することによって、前記画像を前記媒体に印刷する機能を実現させるプログラムであって、
前記画像の輪郭を構成する輪郭画素の外側の画素に対応する媒体上の位置に、前記第2ドットを形成する機能を前記印刷装置に実現させる。
In a printing apparatus having a head capable of forming a first dot and a second dot smaller than the first dot on a medium,
A program for realizing a function of printing the image on the medium by forming the first dot or the second dot at a position on the medium corresponding to a pixel constituting an image,
The printing apparatus realizes a function of forming the second dot at a position on the medium corresponding to a pixel outside a contour pixel constituting the contour of the image.
画像を構成する画素に、第1ドットに関する第1ドット情報又は前記第1ドットよりも小さい第2ドットに関する第2ドット情報を対応させる機能と、
前記第1ドット情報及び前記第2ドット情報を出力する機能とを制御装置に実現させるプログラムであって、
前記画像の輪郭を構成する輪郭画素の外側の画素に、前記第2ドット情報を対応させる機能を前記制御装置に実現させる。
A function of associating the first dot information relating to the first dot or the second dot information relating to the second dot smaller than the first dot with the pixels constituting the image,
A program for causing a control device to realize the function of outputting the first dot information and the second dot information,
The control device realizes a function of associating the second dot information with a pixel outside a contour pixel forming the contour of the image.
JP2003102044A 2003-04-04 2003-04-04 Printer, controller, printing method, control method and program Pending JP2004306392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003102044A JP2004306392A (en) 2003-04-04 2003-04-04 Printer, controller, printing method, control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003102044A JP2004306392A (en) 2003-04-04 2003-04-04 Printer, controller, printing method, control method and program

Publications (1)

Publication Number Publication Date
JP2004306392A true JP2004306392A (en) 2004-11-04

Family

ID=33465647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003102044A Pending JP2004306392A (en) 2003-04-04 2003-04-04 Printer, controller, printing method, control method and program

Country Status (1)

Country Link
JP (1) JP2004306392A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006239964A (en) * 2005-03-01 2006-09-14 Seiko Epson Corp Printing device, printing system, printing control device, printing method and program
US7338145B2 (en) 2005-03-09 2008-03-04 Fujifilm Corporation Image processing method and apparatus, and image recording apparatus
JP2011136520A (en) * 2009-12-29 2011-07-14 Seiko Epson Corp Printer, printing method, and computer program
CN102689507A (en) * 2011-03-22 2012-09-26 精工爱普生株式会社 Printing apparatus, printing method, and program
JP2016107582A (en) * 2014-12-10 2016-06-20 セイコーエプソン株式会社 Three-dimensional formation apparatus, three-dimensional formation method, and computer program
JP2016107581A (en) * 2014-12-10 2016-06-20 セイコーエプソン株式会社 Three-dimensional formation apparatus, three-dimensional formation method, and computer program
CN111902285A (en) * 2018-04-25 2020-11-06 惠普发展公司,有限责任合伙企业 Print mode for printing outline and fill area

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006239964A (en) * 2005-03-01 2006-09-14 Seiko Epson Corp Printing device, printing system, printing control device, printing method and program
JP4661271B2 (en) * 2005-03-01 2011-03-30 セイコーエプソン株式会社 Printing apparatus, printing system, printing control apparatus, printing method, and program
US7338145B2 (en) 2005-03-09 2008-03-04 Fujifilm Corporation Image processing method and apparatus, and image recording apparatus
US7843598B2 (en) 2005-03-09 2010-11-30 Fujifilm Corporation Image processing method and apparatus, and image recording apparatus
JP2011136520A (en) * 2009-12-29 2011-07-14 Seiko Epson Corp Printer, printing method, and computer program
CN102689507A (en) * 2011-03-22 2012-09-26 精工爱普生株式会社 Printing apparatus, printing method, and program
JP2016107582A (en) * 2014-12-10 2016-06-20 セイコーエプソン株式会社 Three-dimensional formation apparatus, three-dimensional formation method, and computer program
JP2016107581A (en) * 2014-12-10 2016-06-20 セイコーエプソン株式会社 Three-dimensional formation apparatus, three-dimensional formation method, and computer program
CN111902285A (en) * 2018-04-25 2020-11-06 惠普发展公司,有限责任合伙企业 Print mode for printing outline and fill area
US11535029B2 (en) 2018-04-25 2022-12-27 Hewlett-Packard Development Company, L.P. Printing modes to print an outline and a fill area

Similar Documents

Publication Publication Date Title
JP2006192636A (en) Liquid delivering system, liquid delivering apparatus, liquid delivering method, program and liquid delivering controlling apparatus
US10963761B2 (en) Recording apparatus, recording method, and recording controlling device for printing code information
JP5381530B2 (en) Printing apparatus and printing apparatus control method
JP2007015269A (en) Recorder and method for controlling recording position
JP2009143135A (en) Liquid discharging method and liquid discharging device
US7249820B2 (en) Printing method, printing system, printing apparatus, print-control method, and storage medium
JP2004306392A (en) Printer, controller, printing method, control method and program
JP2006341519A (en) Image processing method and inkjet recording device
JP2005161615A (en) Inkjet recording method
JP4356404B2 (en) Printing apparatus, printing method, and program
JP5169189B2 (en) Liquid ejection method, liquid ejection apparatus and program
US7481514B2 (en) Printing method, control method, printing apparatus, control apparatus, and computer-readable storage medium
JP4148279B2 (en) Test dot recording method and printer
JP4661043B2 (en) Printing apparatus, printing control apparatus, printing method, and program
JP2011062828A (en) Printing apparatus and method of controlling the same
JP2005040994A (en) Printer, printing method and program
JP2007118444A (en) Inkjet recording method
JP2006305993A (en) Inkjet recorder, apparatus for supplying recorder with image data, and method for controlling recorder
JP2006027181A (en) Ink-jet recorder, ink-jet recording method and computer program
JP2005001189A (en) Printer and printing method
JP2007001269A (en) Printing system, program and printing device
JP2007118300A (en) Inkjet recording device
JP2005178145A (en) Printing device, printing method and program
JP4661271B2 (en) Printing apparatus, printing system, printing control apparatus, printing method, and program
JP2009137248A (en) Liquid delivering method, liquid delivering apparatus and program