JP2003114771A - Printer driver program - Google Patents

Printer driver program

Info

Publication number
JP2003114771A
JP2003114771A JP2001308729A JP2001308729A JP2003114771A JP 2003114771 A JP2003114771 A JP 2003114771A JP 2001308729 A JP2001308729 A JP 2001308729A JP 2001308729 A JP2001308729 A JP 2001308729A JP 2003114771 A JP2003114771 A JP 2003114771A
Authority
JP
Japan
Prior art keywords
paper
printer
size
image
print
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.)
Granted
Application number
JP2001308729A
Other languages
Japanese (ja)
Other versions
JP3613220B2 (en
Inventor
Masahiro Someno
正博 染野
Kiyotaka Nishimura
精高 西村
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 JP2001308729A priority Critical patent/JP3613220B2/en
Publication of JP2003114771A publication Critical patent/JP2003114771A/en
Application granted granted Critical
Publication of JP3613220B2 publication Critical patent/JP3613220B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable marginless printing to be executed even in case of use with an application program in which size of subject paper to be printed is limited. SOLUTION: A printer driver 55 sets an enlarged image range as enlargement to paper size corresponding to width of roll paper R by prescribed quantity. Enlargement magnification of the enlarged image range to the paper size is determined, and resolution of a printer is multiplied by the enlargement magnification. The printer driver 55 notifies the paper size and resolution after multiplication to an application 50. Picture data expressing an image by picture elements of the notified resolution and having corresponding size to the notified paper size are received from the application 50. After the received picture data are enlarged to the enlarged magnification, commands are provided for execution of printing by a printer.

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、コンピュータに対
して、そのコンピュータに接続されているプリンタを制
御させて縁なし印刷を実行させるプリンタドライバプロ
グラムに、関する。 【0002】 【従来の技術】近年、インクジェットプリンタによって
縁なし印刷を実現するための技術開発が、進められてい
る。このような技術の一つとして、インクジェットプリ
ンタのプラテンに、インク受け開口穴を形成し、このイ
ンク受け開口穴上に印刷用紙の端が位置しているとき
に、印刷ヘッドからインクを噴射して、印刷用紙の端に
インク滴を当てる一方で、印刷用紙の端にあたらなかっ
たインク滴をインク受け開口穴で受けることで、プラテ
ン上を汚さずに印刷用紙の端を印刷する技術が、実用化
されている。この縁なし印刷を実行する際、プリンタ
は、印刷ヘッダの走査方向に対する用紙の傾き(スキュ
ー)に因る三角形状余白の発生を避けるべく、印刷用紙
サイズよりも僅かに大きなサイズの仮想の領域(拡大イ
メージ領域)に対して、インクを噴射する必要がある。 【0003】従来、この拡張印刷領域の設定は、プリン
タドライバプログラムに従ってディスプレイ上に表示さ
れたプロパティダイアログ中において、ユーザによって
用紙サイズと縁なし印刷を実行すべき旨が選択された場
合に、このプリンタドライバプログラムに従ってなされ
ていた。具体的には、プリンタドライバプログラムは、
縁なし印刷を実行すべき旨が選択されると、選択された
用紙サイズの前後縁及び左右縁との間に所定幅を有する
ととも選択された用紙と相似な形状を有する拡大イメー
ジ領域を設定し、この拡大イメージ領域のサイズを、用
紙サイズとして、描画データを編集するアプリケーショ
ンプログラムに通知する。この通知を受けたアプリケー
ションプログラムは、通知された用紙サイズ(拡大イメ
ージ領域サイズ)と同じサイズの描画データを生成し
て、プリンタドライバプログラムに渡す。このように用
紙サイズよりも拡大された描画データを受け取ったプリ
ンタドライバプログラムは、その描画データに対して所
定の処理を施すことによって、上記イメージ領域に対し
て印刷を行うためのコマンドを生成し、そのコマンドを
プリンタへ送信する。このコマンドを受け取ったプリン
タは、用紙の移動に同期して、コマンドに従った印刷
(仮想の拡大イメージ領域に対する印刷)を実行するこ
とにより、上述したように、用紙外縁から外れたインク
をインク受け開口穴へ飛ばしつつ、用紙上に縁なし印刷
を行うのである。 【0004】 【発明が解決しようとする課題】しかしながら、アプリ
ケーションプログラムのなかには、所定サイズの用紙上
にのみ印刷を行うために、描画データを編集するものが
ある。例えば、ハガキ印刷用のアプリケーションプログ
ラムは、ハガキサイズ(148mm×100mm)の用紙し
か受け付けない。このようなアプリケーションプログラ
ムに対して、それが受付可能な用紙サイズよりも一回り
大きい拡大イメージ領域サイズを用紙サイズとして通知
しても、このアプリケーションプログラムは、その拡大
イメージ領域サイズが自己の受付可能な用紙に対応する
ものであると認識することができない。その結果、アプ
リケーションプログラムが描画データの生成を拒否して
しまうため、印刷が行い得ないという問題が生じてい
た。 【0005】本発明は、このような問題点に鑑みてなさ
れたものであり、その課題は、印刷対象用紙のサイズを
限定しているアプリケーションプログラムから描画デー
タを受け取って印刷処理を実行させる場合であっても、
コンピュータに対して、そのコンピュータに接続されて
いるプリンタを制御させて縁なし印刷を実行させること
ができるプリンタドライバプログラムを、提供すること
である。 【0006】 【課題を解決するための手段】本発明は、上記課題を解
決するために、以下の手段を採用した。即ち、本発明に
よるプリンタドライバプログラムは、それを実行してい
るコンピュータが、受信した印刷コマンドによって指定
されたイメージを用紙上に印刷するプリンタに接続され
ている状態において、解像度及びサイズを受け取ること
によって当該解像度にて所望のイメージを当該サイズで
表現した描画データを作成するアプリケーションプログ
ラムを実行している時に、その効力を発揮する。即ち、
このプリンタドライバプログラムは、コンピュータに対
して、前記用紙としてロール紙が選択され且つ当該ロー
ル紙における所定長さの定型サイズの範囲に対して縁な
し印刷すべき旨の指示が入力された場合には、前記定型
サイズを所定倍率にて拡大したイメージ領域を設定さ
せ、前記プリンタが印刷可能な解像度に前記所定倍率を
乗じる演算を実行させ、前記定型サイズ及び前記演算に
よって得られた解像度を前記アプリケーションに通知さ
せる。更に、通知されたサイズ及び解像度に応じて前記
アプリケーションが作成した描画データによって表現さ
れるイメージを、前記所定倍率に従って拡大させ、前記
用紙を内包する前記イメージ領域内に前記拡大後のイメ
ージを印刷することを前記プリンタに指示する印刷コマ
ンドを作成させ、生成された印刷コマンドを前記プリン
タへ送信させる。 【0007】プリンタドライバプログラムに従ったコン
ピュータによって送信された印刷コマンドを受信したプ
リンタは、この印刷コマンドに従って、用紙を内包する
仮想のイメージ領域に対してイメージの印刷を実行す
る。これによって、用紙上に縁なし印刷がなされる。 【0008】本発明によると、アプリケーションプログ
ラムは、実際の印刷対象の用紙のサイズを通知されるの
で、仮にこのアプリケーションプログラムが特定サイズ
の用紙のみを対象としている場合であっても、この用紙
のサイズそのものをプリンタドライバプログラムから通
知されるので、後の処理を続行することができる。しか
も、その場合にアプリケーションプログラムが作成する
描画データは、実際の用紙に対応したサイズのイメージ
を表すものであるにも拘わらず、その解像度は、プリン
タが印刷可能な解像度に対して所定倍率(即ち、実際の
用紙サイズに対するイメージ領域サイズの倍率)を乗じ
て細密化したものである。従って、この描画データを受
信したプリンタドライバが、当該所定倍率に従って描画
データによって表されるイメージを拡大しても、イメー
ジの解像度がプリンタによる解像度よりも劣化すること
はない。即ち、従来技術においてアプリケーションプロ
グラムが拡大して生成していたイメージを、プリンタド
ライバプログラム自身が得ることができるのである。 【0009】なお、プリンタが上記コマンドに従ってロ
ール紙上にイメージを印刷すると、ロール紙の長手方向
においては、所定用紙サイズよりも長い領域(イメージ
領域と同じ長さの領域)に、イメージが印刷されること
となる。この場合であっても、プリンタが、所定用紙サ
イズとなるようにロール紙をカットするオートカッタが
備えていれば、問題はない。また、オペレータが手作業
でロール紙をカットしても良い。さらに、プリンタドラ
イバが印刷コマンドを作成する際に、拡大後におけるイ
メージにおける用紙サイズよりもロール紙の長手方向に
対応する方向にはみ出している部分をクリップした後
に、クリップ後のイメージを印刷させるように印刷コマ
ンドを作成するようにしても良い。 【0010】 【発明の実施の形態】以下、本発明に従ったプリンタド
ライバプログラムを用いて、アプリケーションプログラ
ムに従って編集された画像を用紙上に印刷させるコンピ
ュータシステムの実施の形態を、図面を参照して、説明
する。 (コンピュータシステムの構成)図1は、本実施形態に
よるコンピュータシステムの概略構成を示すブロック図
である。この図1に示すように、本実施形態によるコン
ピュータシステムは、プリンタホスト10と、このプリ
ンタホスト10から出力された印刷コマンドに基づいて
用紙上に印刷を行うインクジェットプリンタ30とか
ら、構成されている。 プリンタホスト10は、ホスト
本体11と、このホスト本体1に対して夫々接続された
ディスプレイ装置12及びキーボード13とから、構成
されている。ホスト本体11は、一般的なパーソナルコ
ンピュータであり、バスBを介して互いに接続されたC
PU20,ROM21,RAM22,ディスプレイコン
トローラ23,キーボードコントローラ24,フレキシ
ブルディスクドライブ25,ハードディスクドライブ2
6,CD−ROMドライブ27,プリンタインタフェー
ス28及びネットワークインタフェース29から、構成
されている。 【0011】CPU20は、各種プログラムを実行して
ホスト本体1の各部の制御やデータ処理を実行する中央
処理装置である。ROM21は、各種データや各種プロ
グラムを記憶しているメモリである。RAM22は、各
種データや各種プログラムが一時的に記憶されるメモリ
である。ディスプレイコントローラ23は、ディスプレ
イ装置12を制御する機能を有する。キーボードコント
ローラ24は、キーボード13を制御する機能を有す
る。フレキシブルディスクドライブ25は、フレキシブ
ルディスク16に対してデータの書き込み及び読み出し
を行う装置である。ハードディスクドライブ26は、各
種データや各種プログラムを記憶している固体記憶装置
である。CD−ROMドライブ27は、CD−ROM1
7からデータやプログラムを読み出す装置である。プリ
ンタインタフェース28は、プリンタに繋がるケーブル
に対するデータの送出及び受信を司る入出力装置であ
り、具体的には、セントロニクスインタフェースやUS
Bインタフェース等である。ネットワークインタフェー
ス29は、公衆回線やLANに対するデータ送受信を司
る通信装置であり、具体的には、MODEMやLANカ
ード等である。 【0012】プリンタ30は、モニタ37と、印刷機構
40と、これらを制御する印刷制御器31とから、構成
されている。印刷制御器31は、各種プログラムを実行
するCPU32と、各種データや各葎プログラムが記憶
されているROM33と、各種データや各種プログラム
が一時的に記憶されるRAM34と、モニタ37を制御
するモニタコントローラ35と、インタフェース36
と、を有している。 【0013】印刷機構40は、印刷ヘッド41と、この
印刷ヘッド41を移動させるキャリッジ42と、印刷ヘ
ッド41と対向する位置に配置されているプラテン43
と、ロール紙Rを引き出し可能に保持しているロール紙
ホルダ44と、このロール紙ホルダ44に保持されてい
るロール紙Rを引き出してプラテン43上へ送る給紙ロ
ーラ45a,45bと、印刷された印刷用紙を排紙する
排紙ロ一ラ46a,46bと、排紙されたロール紙Rを
受ける排紙トレイ47と、給紙ローラ45a,45bの
駆動量を検知するセンサ48と、を有している。 【0014】プラテン43には、図2に示すように、給
紙方向Fと平行な方向に伸びている複数のインク受け縦
開口43c,43d,43e,43fと、給紙方向Fに
対して垂直な方向(走査方向)に伸びている複数のイン
ク受け横開口43a,43bとが、形成されている。イ
ンク受け縦開口43c,43d,43e,43fとして
は、B4サイズの印刷ロール紙Rの左右端がそれぞれ真
上を通過するように配置されている一対のインク受け開
口43cと、A4サイズの印刷ロール紙Rの左右端がそ
れぞれ真上を通過するように配置されている一対のイン
ク受け開口43dと、B5サイズの印刷用概の両端がそ
れぞれ真上を通過するように配置されている一対のイン
ク受け開口43eと、ハガキサイズ(幅:100mm)
の印刷ロール紙Rの両端がそれぞれ真上を通過するよう
に配置されている一対のインク受け開口43fと、があ
る。また、複数のインク受け横開口43a,43bとし
ては、給紙側に配置されている給紙側インク受け開口4
3aと、排紙側に配置されている排紙側インク受け開口
43bと、がある。これらの関口内には、いずれもイン
ク吸着材が入れられている。 【0015】印刷ヘッド41には、各色、具体的には、
C(シアン),M(マゼンタ),Y(イエロー),K
(ブラック),c(ライトシアン),m(ライトマゼン
タ)の各色のインクを夫々噴出する6列のノズル41a
が、走査方向に並んで設けられている。また、同色のノ
ズル41aは、給紙方向に、64個並んで設けられてい
る。 【0016】図5における上記ホスト本体11を示す枠
内には、ハードディスクドライブ26に格納されている
各種プログラム(アプリケーションプログラム,オペレ
ーティングシステムプログラム,プリンタドライバプロ
グラム)をCPU20が順次RAM22上に読み出して
実行することによって実現される各機能の相関関係が、
ブロック図として表されている。以下、便宜上、アプリ
ケーションプログラムに従って実現される機能を「アプ
リケーション50」と記述し、オペレーティングシステ
ムプログラムに従って実現される機能を「OS52」と
記述し、プリンタドライバプログラムに従って実現され
る機能を「プリンタドライバ55」と記述する。以下、
これらの機能について、説明する。 【0017】OS52上で実行されるアプリケーション
50には、各種のものがあるが、ここでは、葉書の裏面
に印刷されるべきイメージ(写真,絵,文字等)をドキ
ュメントとして編集してハガキサイズ(148×100mm)の
用紙上に印刷させる機能を有するもの、及び、同一のイ
メージを複数ページに分割して印刷させる機能を有する
ものが、問題となる。 【0018】プリンタドライバ55は、更に、アプリケ
ーション50で作成されたドキュメント51を受け取っ
てこれをスプールファイル62に展開するスプーラ61
や、スプールファイル62に記憶されているドキュメン
トを形成している描画データをRGBイメージデータに
展開するレンダラ63や、RGBイメージデータをCM
YKcm二値化イメージデータに変換すると共にこれに
ハーフトーン処理を施すハーフトーン処理部64や、C
MYKcm二値化イメージデータをプリンタ30が解釈
できる印刷コマンドに変換するコマンド化部65や、こ
の印刷コマンドをプリンタ30へ送信する送受信部66
や、印刷時におけるディスプレイ装置12やキーボード
13との間のインタフェースとなるユーザインタフェー
ス58や、縁なし印刷時の印刷条件を設定する縁なし印
刷条件設定部56や、これらを統合的に管理する統合管
理部60や、印刷条件等が記憶される印刷条件ファイル
59等の各機能から、構成されている。 【0019】また、図5における上記印刷制御器31を
示す枠内には、印刷制御装置31内のROM33に格納
されているプログラムをCPU32が読み取って実行す
ることによって実現される各機能(具体的には、送受信
部76及び印刷制御部70の各機能)が、ブロック図と
して表されている。送受信部76は、プリンタホスト1
0からの印刷コマンド等を受け付ける機能である。ま
た、印刷制御部70は、送受信部76が受け付けた印刷
コマンド等に基づいて印刷機構40を制御する機能であ
る。 (コンピュータシステムの動作)次に、本実施形態によ
るコンピュータシステムがロール紙R上にハガキサイズ
のイメージを縁なし印刷をする場合,及び、ロール紙R
上に一連のイメージを連続して印刷する場合の動作を、
説明する。 【0020】印刷を開始するに先立って、オペレータ
は、アプリケーション50を用いて、ハガキサイズの用
紙上に印刷すべきイメージ、又は、長尺な用紙(複数ペ
ージの定型用紙を連続させたのと等価な用紙)上に印刷
すべきイメージを、編集する。 【0021】このイメージの作成を終了すると、オペレ
ータは、ディスプレイ12上に表示されているアプリケ
ーション50用イメージ編集ウィンドウ(図示略)内の
「印刷」ボタンを操作する。すると、OS52を介し
て、プリンタドライバ55が起動される(CPU20に
よって実行開始される)。 【0022】図6及び図7のフローチャートに示される
ように、起動されたプリンタドライバ55は、最初のS
001において、ユーザインタフェース58の機能を利
用して、図10に示すプロパティダイアログ(印刷設定
画面)を、ディスプレイ12上に表示する。ユーザイン
タフェース58は、オペレータによるキーボード13に
対する操作に従って、プロパティダイアログ内の各アイ
テムを設定する。具体的には、例えば、プロパティダイ
アログ内の「給紙方法」テキストボックス100内に、
プルダウンメニューから選択された用紙種類(ロール
紙,A4用紙,B4用紙,等)を設定する。また、「左
右フチなし」チェックボックス101内に、左右縁なし
が選択されていることを示すチェックマークを設定又は
解除する。また、「給紙方法」テキストボックス100
内において「ロール紙」Rが設定されている場合には、
「ロール紙オプション」欄102内で選択されているオ
プションボタン(「長尺モード」ボタン103又は「定
型モード」ボタン104)に、選択されている旨を示す
黒点を設定し、現在ロール紙ホルダ44に保持されてい
るロール紙Rから切り出され得る用紙サイズ(ハガキサ
イズ幅のロール紙Rが保持されている場合にはハガキサ
イズ:148×100mm)を用紙サイズテキストボックス10
6内に設定する。 【0023】次のS002において、プリンタドライバ
55は、ユーザインタフェース58の機能を利用して、
プロパティダイアログ内の「OK」ボタン105が操作
されるのを待つ。そして、「OK」ボタン105が操作
された時には、その時点においてプロパティダイアログ
内に設定されている内容を調べ、「給紙方法」テキスト
ボックス100内において「ロール紙」Rが設定されて
おり且つ「左右フチなし」チェックボックス101内に
チェックマークが設定されており且つ「定型モード」ボ
タン104に黒点が設定されている場合には、処理をS
003へ進め、「給紙方法」テキストボックス100内
において「ロール紙」Rが設定されており且つ「左右フ
チなし」チェックボックス101内にチェックマークが
設定されており且つ「長尺モード」ボタン103に黒点
が設定されている場合には、処理をS104へ進め、そ
れ以外の場合には、処理をS013へ進める。 【0024】S003では、プリンタドライバ55は、
縁なし印刷条件設定部56の機能を利用して、拡張印刷
領域(用紙サイズの周囲に最小限確保すべき所定の拡大
量を加えてなる領域)を設定する。例えば、用紙サイズ
テキストボックス106内にハガキサイズ(148×100m
m)が設定されている場合には、図12に示すように、
給紙方向Fにおける前端側の拡大量が3mm、後端側の拡
大量が5mm、左右各端側の拡大量が各々2.5mmとな
る。これら拡大量は、図11の表に示すように、用紙サ
イズ毎に、予め定められている。図11において、「Pa
perH」欄が用紙サイズにおける縦幅を示し、「PaperW」
欄が用紙サイズにおける横幅を示し、「Ttrim'」欄が前
端拡大量を示し、「Btrim'」欄が後端拡大量を示し、
「Ltrim'」欄が左端拡大量を示し、「Rtrim'」欄が右端
拡大量を示す。この図11から明らかなように、縁なし
印刷時に最小限確保すべき拡大量は、拡大方向(前方,
後方,左右方向)に依って異なった量となる。図11の
表は、印刷条件ファイル59内に予め登録されており、
縁なし印刷条件設定部56は、この印刷条件ファイル5
9を参照して、拡張印刷領域を設定する。 【0025】次のS004では、プリンタドライバ55
は、用紙サイズテキストボックス106内に設定されて
いた用紙サイズに対する拡張印刷領域の拡大倍率を算出
する。具体的には、用紙サイズの縦幅(図11の「Pape
rH」)に対する拡張印刷領域の横幅(図11の「Paper
H'」)の百分率(図11の「Hrate」)を算出するとと
もに用紙サイズの横幅(図11の「PaperW」)に対する
拡張印刷領域の横幅(図11の「PaperW'」)の百分率
(図11の「Wrate」)を算出し、大きい方の小数点以
下を四捨五入したものを、拡大倍率(図11の「Rat
e」)として採用する。また、プリンタドライバ55
は、算出した拡大倍率を、プリンタ30の印刷機構40
が印字する時の解像度に乗ずることにより、アプリケー
ション50に通知すべき解像度を算出する。例えば、印
刷機構40の本来の解像度が360dpiである場合に、拡大
倍率が105%であると算出されれば、アプリケーション
50に通知すべき解像度は360×1.05=378dpiとなる。 【0026】次のS005では、プリンタドライバ55
は、図12に示すように、用紙サイズテキストボックス
106内に設定されていた用紙サイズの縦横各幅をS0
04にて算出した拡大倍率に従って拡大したサイズを有
する拡大イメージ領域を、S003にて設定した拡張印
刷領域に外接するように、且つ、左右及び上下に夫々対
称となるように、設定する。 【0027】次のS006では、プリンタドライバ55
は、キーボード13を介してオペレータによって印刷実
行指示が入力されるのを待つ。そして、印刷実行指示が
入力されると、S007において、用紙サイズテキスト
ボックス106内に設定されていた用紙サイズ及びS0
04にて通知すべきものとして算出した解像度(細密化
された解像度)を、アプリケーション50へ通知する。
アプリケーション50は、編集中のイメージを、通知さ
れた解像度に相当する画素で表現されているとともに通
知されたサイズに相当する大きさを有する印刷用ドキュ
メントに変換し、このドキュメントをプリンタドライバ
55に渡す。アプリケーション50から印刷対象ドキュ
メントを受け取ったプリンタドライバ55は、スプーラ
61の機能を利用して、受け取ったドキュメントをスプ
ールファイル62に展開する。 【0028】次のS008では、プリンタドライバ55
は、レンダラ63の機能を用いて、スプールファイル6
2に展開されている印刷対象ドキュメントを形成する描
画データを、RGBイメージデータに変換し、S004
にて算出した拡大倍率に従ってこのRGBイメージデー
タを拡大し、拡大したRGBイメージデータをS005
にて設定した拡大イメージ領域に展開する。 【0029】次のS009では、プリンタドライバ55
は、ハーフトーン処理部64の機能を利用して、RGB
イメージデータをCMYKcm二値化イメージデータに
変換するとともに、変換後のCMYKcm二値化イメー
ジデータに対してハーフトーン処理を施す。 【0030】次のS010では、プリンタドライバ55
は、コマンド化部65の機能を利用して、CMYKcm
二値化イメージデータを、プリンタ30が解釈可能な印
刷コマンドに変換する。 【0031】図8は、このコマンド化部65の機能によ
って実行されるコマンド化処理を示すフローチャートで
ある。このコマンド化処理において最初のS101で
は、コマンド化部65は、各種印刷条件のコマンド化を
行う。 【0032】次のS102では、コマンド化部65は、
CMYKcm二値化イメージデータから、ロール紙Rの
長手方向に相当する方向において本来の用紙サイズの前
後にはみ出した部分(通常、前端側拡大量に相当する部
分及び後端側拡大量に相当する部分)を、クリッピング
(削除)する。これは、ロール紙Rに本来の用紙サイズ
のイメージをフチ無しようとする場合には、拡大したイ
メージにおける当該用紙サイズから外れた部分に相当す
るインクを、インク受け横開口43a,43bに逃がす
ことができないからである。ロール紙Rの場合にこのよ
うなクリッピングが可能である理由は、ロール紙Rの場
合にはスキューが生じても、前に印刷したイメージと次
に印刷したイメージは、お互いにスキューが生じた分だ
け同様に傾くため、問題が発生しないからである。 【0033】次のS103では、コマンド化部65は、
クリッピング後におけるイメージデータの前端部を、給
紙方向Fに並んだ複数のノズル41aのうち給紙側の所
定数のノズルのみで印刷させるための印刷コマンドを、
作成する。 【0034】次のS104では、コマンド化部65は、
イメージデータの中間部分を所定幅のラインに分割し
て、各ラインを夫々全ノズル41aによって印刷させる
ための印刷コマンドを、作成する。 【0035】次のS105では、コマンド化部66は、
クリッピング後におけるイメージデータの後端部を、給
紙方向Fに並んだ複数のノズル41aのうち排紙側の所
定数のノズルのみで印刷させるための印刷コマンドを、
作成する。 【0036】以上のコマンド化が完了すると、プリンタ
ドライバ55は、図6におけるS011において、送受
信部66の機能を利用して、作成された一連の印刷コマ
ンドをプリンタ30へ送信して、一連の処理を終了す
る。 【0037】S011にてプリンタドライバ55から送
信された印刷コマンドを受信したプリンタ30は、この
印刷コマンドに従って、以下のような印刷処理を実行す
る。即ち、プリンタ30の印刷制御部70は、給紙ロー
ラ46a,46b及び46a,46bを駆動させつつ、
印刷ヘッド41を駆動させて、印刷を開始させる。本実
施形態によると、印刷コマンドを作成する際に、S10
2において、イメージデータにおける用紙サイズよりも
前端側にはみ出した部分についてはクリッピングされて
いるので、S103にて作成された前端部分を印刷する
ための先頭の印刷コマンドに従って印刷をすれば、印刷
対象イメージの先端部分を、ロール紙R上に直ちに印刷
することができる。この際、ロール紙R上に前のページ
の印刷対象イメージが既に印刷されていることもある
が、前ページの後端部分は、S105にて作成されたコ
マンドに従って排紙側のノズル41aのみによって印刷
されている一方、印刷中のページの先端部分は、S10
3にて作成されたコマンドに従って給紙側のノズル41
aのみによって印刷されているので、両イメージが重な
ることはない。印刷対象イメージの中間部分(前端部及
ぴ後端部を除く部分)は、ステップ104にて作成され
た印刷コマンドに基づいて、印刷ヘッド41の全てのノ
ズル41aによって印刷される。ロール紙Rの左右方向
に対しては、印刷対象イメージの全域にわたって、ロー
ル紙Rの左右端よりもさらに側方に広げられた仮想の拡
大イメージ領域に対して行われるので、ロール紙Rの左
右端部は、縁なしで確実に印刷される。なお、各コマン
ドによって印刷される左右方向の印刷範囲を、インク節
約のために、拡張印刷領域の範囲に制限しても良い。そ
の場合には、印刷コマンドにおける拡張印刷領域の外側
に対応する部分には、null値が設定される。そして、最
後に、S105にて作成された後端部分を印刷するため
の印刷コマンドに従って印刷をすれば、印刷対象イメー
ジの後端部分がロール紙R上に印刷される。上述したク
リッピングにより、その後には当該印刷対象イメージを
印刷するための印刷コマンドは続かないので、プリンタ
はその時点で印刷を完了する。 【0038】その後、次のページの印刷対象イメージを
印刷する場合には、新たに受信した印刷コマンドに従っ
て、ロール紙Rにおけるその位置から印刷を続行する。
これに対して、次のページの印刷対象イメージがない場
合には、給紙ローラ46a,46b及び46a,46b
を更に駆動して、ロール紙Rにおける印刷済み部分を排
紙トレー47まで搬送する。そして、図示せぬオートカ
ッタ又はオペレータの手作業によって、印刷済みイメー
ジの前端及び後端を切断すれば、縁なし印刷されたハガ
キサイズのプリント結果を得ることができる。 【0039】一方、S014(図7)では、プリンタド
ライバ55は、縁なし印刷条件設定部56の機能を利用
して、S003の場合と全く同様にして、拡張印刷領域
を設定する。 【0040】次のS015では、プリンタドライバ55
は、図12に示すように、S003にて設定した拡張印
刷領域に外接し且つ左右及び上下に夫々対称となるよう
に、用紙サイズテキストボックス106内に設定されて
いた用紙サイズと相似形状の拡大イメージ領域を、設定
する。 【0041】次のS016では、プリンタドライバ55
は、キーボード13を介してオペレータによって印刷実
行指示が入力されるのを待つ。そして、印刷実行指示が
入力されると、S017において、S015にて設定さ
れた拡大イメージ領域のサイズを用紙サイズとして、プ
リンタ30の印刷機構40の本来の解像度を付して、ア
プリケーション50へ通知する。アプリケーション50
は、編集中のイメージを、通知された解像度に相当する
画素で表現されているとともに通知されたサイズに相当
する大きさを有する印刷用ドキュメントに変換し、この
ドキュメントをプリンタドライバ55に渡す。アプリケ
ーション50から印刷対象ドキュメントを受け取ったプ
リンタドライバ55は、スプーラ61の機能を利用し
て、受け取ったドキュメントをスプールファイル62に
展開する。 【0042】次のS018では、プリンタドライバ55
は、レンダラ63の機能を用いて、スプールファイル6
2に展開されている印刷対象ドキュメントを形成する描
画データを、RGBイメージデータに変換し、変換後の
RGBイメージデータを、S015にて設定した拡大イ
メージ領域に展開する。但し、この場合にアプリケーシ
ョン50から受け取っているイメージデータは、アプリ
ケーション50によって既に拡大済みであるので、この
S018においては、S008の場合とは異なり、イメ
ージデータの拡大は行わない。 【0043】次のS109では、プリンタドライバ55
は、ハーフトーン処理部64の機能を利用して、RGB
イメージデータをCMYKcm二値化イメージデータに
変換するとともに、変換後のCMYKcm二値化イメー
ジデータに対してハーフトーン処理を施す。 【0044】次のS110では、プリンタドライバ55
は、コマンド化部65の機能を利用して、CMYKcm
二値化イメージデータを、プリンタ30が解釈可能な印
刷コマンドに変換する。 【0045】図9は、このコマンド化部65の機能によ
って実行されるコマンド化処理を示すフローチャートで
ある。このコマンド化処理において最初のS201で
は、コマンド化部65は、各種印刷条件のコマンド化を
行う。 【0046】次のS202では、コマンド化部65は、
イメージデータの前端部を、給紙方向Fに並んだ複数の
ノズル41aのうち給紙側の所定数のノズルのみで印刷
させるための印刷コマンドを、作成する。 【0047】次のS104では、コマンド化部65は、
イメージデータの中間部分を所定幅のラインに分割し
て、各ラインを夫々全ノズル41aによって印刷させる
ための印刷コマンドを、作成する。 【0048】次のS105では、コマンド化部66は、
イメージデータの後端部を、給紙方向Fに並んだ複数の
ノズル41aのうち排紙側の所定数のノズルのみで印刷
させるための印刷コマンドを、作成する。 【0049】以上のコマンド化が完了すると、プリンタ
ドライバ55は、図7におけるS021において、送受
信部66の機能を利用して、作成された一連の印刷コマ
ンドをプリンタ30へ送信して、一連の処理を終了す
る。 【0050】S021にてプリンタドライバ55から送
信された印刷コマンドを受信したプリンタ30は、この
印刷コマンドに従って、以下のような印刷処理を実行す
る。即ち、プリンタ30の印刷制御部70は、給紙ロー
ラ46a,46b及び46a,46bを駆動させつつ、
印刷ヘッド41を駆動させて、印刷を開始させる。この
場合には、S202にて作成されたイメージ前端部分を
印刷するための先頭の印刷コマンドに従って印刷をすれ
ば、拡大された印刷対象イメージの先端部分(本来の用
紙サイズよりも前端側にはみだした部分の先端部分)
が、ロール紙R上に直ちに印刷される。この際、ロール
紙R上に前のページの印刷対象イメージが既に印刷され
ていることもあるが、前ページの後端部分は、S204
にて作成されたコマンドに従って排紙側のノズル41a
のみによって印刷されている一方、印刷中のページの先
端部分は、S202にて作成されたコマンドに従って給
紙側のノズル41aのみによって印刷されているので、
両イメージは互いに重なりあうことなく連続する。印刷
対象イメージの中間部分(前端部及ぴ後端部を除く部
分)は、ステップ203にて作成された印刷コマンドに
基づいて、印刷ヘッド41の全てのノズル41aによっ
て印刷される。その結果、ロール紙Rの左右方向に対し
ては、印刷対象イメージの全域にわたって、ロール紙R
の左右端よりもさらに側方に広げられた仮想の拡大イメ
ージ領域に対して行われるので、ロール紙Rの左右端部
は、縁なしで確実に印刷される。そして、最後に、S2
04にて作成された後端部分を印刷するための印刷コマ
ンドに従って印刷をすれば、印刷対象イメージの後端部
分(本来の用紙サイズよりも後端側にはみだした部分の
後端部分)がロール紙R上に印刷される。次のページに
ついては、上述したように、印刷済みのイメージに連続
して印刷される。従って、同一のイメージが複数ページ
に分割されてドキュメント化されている場合でも、ペー
ジ間で画像が欠落することなく、一枚のロール紙R上に
一連のイメージが、連続して縁なし印刷される。 【0051】以上のように、本実施形態によると、アプ
リケーション50が所定サイズの用紙しか印刷対象とし
ていない場合であっても、アプリケーションに対してイ
メージサイズの拡大を意識させることなく、プリンタド
ライバ55側において、解像度を落とすことなく、縁な
し印刷のためのイメージ拡大を行うことができる。しか
も、ロール紙に印刷する場合には、プリンタドライバ5
5において拡大後のイメージの前後端をクリッピングす
ることができるので、同一のロール紙R上に、定型サイ
ズの複数ページ分のイメージを、連続して縁なし印刷す
ることができる。 【0052】また、アプリケーション50が所定サイズ
の用紙以外でも受け付ける場合であって、しかも、同一
イメージを複数ページに分割して印刷させる機能を有し
ている場合には、プリンタドライバ55は、アプリケー
ション50に対して拡大後のイメージサイズを通知する
ことによって、アプリケーション50側でイメージを拡
大させることができる。この場合には、プリンタドライ
バ50側ではイメージを更に拡大することをせず、しか
も、クリッピングも行わない。その結果、同一イメージ
に関する複数のページの印刷を同一ロール紙R上で連続
して実行することにより、ロール紙R上に元の長尺なイ
メージを印刷することができる。 【0053】 【発明の効果】本発明によれば、印刷対象用紙のサイズ
を限定しているアプリケーションプログラムをコンピュ
ータが実行している場合であっても、プリンタドライバ
は、コンピュータに対して、そのコンピュータに接続さ
れているプリンタを制御させて縁なし印刷を実行させる
ことができる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer.
To control the printer connected to that computer.
Printer Driver Pro to execute borderless printing
About gram. [0002] In recent years, ink jet printers
Technological development to achieve borderless printing is ongoing.
You. One such technology is inkjet pre-printing.
An ink receiving hole is formed in the platen of the printer.
When the edge of the printing paper is positioned on the ink receiving hole
At the edge of the printing paper
Apply ink drops but do not touch the edge of the printing paper
Platelets are received by receiving ink drops
Technology to print the edges of printing paper without polluting the surface
Have been. When performing this borderless printing, the printer
Is the inclination of the paper with respect to the scan direction of the print header (skew).
-) To avoid triangular margins caused by
A virtual area slightly larger than the size
Image area). Conventionally, the setting of this extended print area has been
Displayed on the display according to the data driver program.
In the properties dialog
If you have selected to execute paper size and borderless printing,
If this is done according to this printer driver program
I was Specifically, the printer driver program
If you select to perform borderless printing, the selected
Have a certain width between the front and rear edges and the left and right edges of the paper size
Enlarged image having a shape similar to the selected paper
Image area, and use the size of this enlarged image area
Application to edit drawing data as paper size
Notify the program. The application that received this notification
The application program sends the notified paper size (enlarged image).
Image data of the same size as the
And pass it to the printer driver program. Like this
The printer receives the drawing data that is larger than the paper size.
The driver program is required for the drawing data.
By performing certain processing, the above image area
Command for printing with
Send to printer. The pudding that received this command
Prints according to commands in synchronization with paper movement.
(Printing on the virtual enlarged image area)
As described above, as described above, the ink deviated from the outer edge of the paper
Borderless printing on paper while flying the ink into the ink receiving hole
It does. [0004] However, the application
Some application programs use a certain size paper.
To edit drawing data to print only on
is there. For example, an application program for postcard printing
Lamb is a postcard size (148mm x 100mm) paper
Or do not accept. Such application programs
One size larger than the acceptable paper size
Notify large enlarged image area size as paper size
Even this application program expands
The image area size corresponds to the paper that you can accept
Cannot be recognized as something. As a result,
Application program refuses to generate drawing data
The problem that printing cannot be performed.
Was. [0005] The present invention has been made in view of such problems.
The challenge is to reduce the size of the print target paper.
Drawing data from a limited application program
Even if you receive the data and execute the printing process,
Connected to the computer against the computer
To control the printer to perform borderless printing
To provide a printer driver program that can
It is. [0006] The present invention solves the above problems.
In order to decide, the following measures were adopted. That is, in the present invention
According to the printer driver program that it is running
Computer specified by the received print command
Connected to a printer that prints the resulting image on paper.
Receiving resolution and size when
The desired image at the resolution at the resolution
An application program that creates the rendered drawing data
It is effective when running a ram. That is,
This printer driver program is compatible with the computer.
Then, roll paper is selected as the paper and the
Edge of the standard size range
If an instruction to print is input,
Set an image area where the size is enlarged at a predetermined magnification.
The predetermined magnification to a resolution at which the printer can print.
Execute the multiplication operation, and
The obtained resolution is notified to the application.
Let Further, according to the notified size and resolution,
Represented by drawing data created by the application
The image to be enlarged according to the predetermined magnification,
The enlarged image is placed in the image area including the paper.
Print frame that instructs the printer to print a page
Command and create a print command
Data. A computer according to a printer driver program
Computer receives the print command sent by the computer.
The linter encloses the paper according to this print command
Perform image printing on the virtual image area
You. As a result, borderless printing is performed on the sheet. According to the present invention, an application program
The ram is notified of the actual paper size to be printed.
So, if this application program has a specific size
Even if you are targeting only this paper,
The size of the printer itself from the printer driver program.
Since the user is notified, the subsequent processing can be continued. Only
Even in that case the application program creates
Drawing data is an image of the size corresponding to the actual paper
Despite that, the resolution is
To the resolution at which the data can be printed (ie, the actual magnification).
Multiplied by the image area size to the paper size)
It is a detailed one. Therefore, this drawing data is received.
The received printer driver draws according to the specified magnification.
Enlarging the image represented by the data
The resolution of the image is lower than that of the printer
There is no. That is, in the prior art, the application
Image generated by the program
The driver program itself can get it. [0009] The printer operates in accordance with the above command.
When printing an image on roll paper, the length of the roll
In the area longer than the specified paper size (image
Area is the same length as the area)
It becomes. Even in this case, the printer may
Auto cutter that cuts roll paper so that
If you have it, there is no problem. In addition, the operator
May be used to cut the roll paper. In addition, the printer driver
When Eva creates a print command,
In the longitudinal direction of the roll paper rather than the paper size in the image
After clipping the protruding part in the corresponding direction
To print the image after clipping.
May be created. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a printer according to the present invention will be described.
Application program using the driver program.
A computer that prints an image edited on paper
An embodiment of a computer system will be described with reference to the drawings.
I do. (Configuration of Computer System) FIG.
Block diagram showing a schematic configuration of a computer system according to
It is. As shown in FIG.
The computer system includes a printer host 10 and this printer.
Based on the print command output from the
Inkjet printer 30 that prints on paper
It is composed. The printer host 10 is a host
The main body 11 is connected to the host main body 1 respectively.
A display device 12 and a keyboard 13
Have been. The host body 11 is a general personal computer.
Computers connected to each other via a bus B
PU20, ROM21, RAM22, display controller
Troller 23, keyboard controller 24, flexi
Bull disk drive 25, hard disk drive 2
6, CD-ROM drive 27, printer interface
Configuration from the network 28 and the network interface 29
Have been. The CPU 20 executes various programs to execute
Central for executing control and data processing of each part of host body 1
Processing device. The ROM 21 stores various data and various programs.
This is the memory that stores the gram. The RAM 22 stores
Memory for temporarily storing seed data and various programs
It is. The display controller 23 is a display
A function of controlling the device 12; Keyboard control
The roller 24 has a function of controlling the keyboard 13.
You. Flexible disk drive 25 is flexible
Write and read data to and from disk 16
It is a device for performing. The hard disk drive 26
Solid-state storage device that stores seed data and various programs
It is. The CD-ROM drive 27 is a CD-ROM 1
7 is a device for reading data and programs from the memory 7. Pre
Interface 28 is a cable connected to the printer
I / O device that sends and receives data to and from
Specifically, Centronics interface and US
B interface. Network interface
The network 29 manages data transmission / reception to / from public lines and LAN.
Communication device, specifically a MODEM or LAN
And the like. The printer 30 includes a monitor 37 and a printing mechanism.
40 and a print controller 31 for controlling these components.
Have been. The print controller 31 executes various programs
CPU 32 and various data and programs are stored
ROM33, various data and various programs
Controls the RAM 34 and the monitor 37, which are temporarily stored.
Monitor controller 35 and interface 36
And The printing mechanism 40 includes a print head 41 and the print head 41.
A carriage 42 for moving the print head 41;
Platen 43 disposed at a position opposite to pad 41
And a roll paper holding the roll paper R so that it can be pulled out.
Holder 44 and the roll paper holder 44
Paper roll to pull out the roll paper R and feed it onto the platen 43.
Rollers 45a and 45b and the printed printing paper are discharged.
The discharge rollers 46a and 46b and the discharged roll paper R are
Receiving tray 47 and feed rollers 45a and 45b.
And a sensor 48 for detecting the driving amount. As shown in FIG. 2, the platen 43
A plurality of ink receivers extending in a direction parallel to the paper direction F
The openings 43c, 43d, 43e, 43f and the sheet feeding direction F
A plurality of inputs extending in a direction (scanning direction)
The horizontal receiving openings 43a and 43b are formed. I
Link receiving vertical openings 43c, 43d, 43e, 43f
Indicates that the right and left ends of the B4 size print roll paper R are true.
A pair of ink receivers arranged to pass over
The left and right ends of the opening 43c and the A4 size print roll paper R
A pair of inns arranged to pass directly above
43d and the both ends of the B5 size printing
A pair of inns arranged to pass directly above
Post opening 43e and postcard size (width: 100mm)
So that both ends of the printing roll paper R pass right above each other.
And a pair of ink receiving openings 43f arranged in
You. A plurality of ink receiving lateral openings 43a and 43b are provided.
The paper-feeding-side ink-receiving opening 4 arranged on the paper-feeding side
3a and a discharge side ink receiving opening arranged on the discharge side
43b. Within these Sekiguchi,
Sorbent is contained. The print head 41 has each color, specifically,
C (cyan), M (magenta), Y (yellow), K
(Black), c (light cyan), m (light magenta)
6) Nozzles 41a that eject each color ink
Are provided side by side in the scanning direction. In addition, the same color
The 64 knurls 41a are provided side by side in the paper feeding direction.
You. A frame showing the host body 11 in FIG.
Is stored in the hard disk drive 26
Various programs (application programs, operating
Printing system program, printer driver pro
CPU 20 sequentially reads out the
The correlation of each function realized by executing
It is represented as a block diagram. Below, for convenience, the application
Function realized according to the application program
Application 50 "and the operating system
The function realized according to the program is called "OS52".
Described and realized according to the printer driver program
This function is described as “printer driver 55”. Less than,
These functions will be described. An application executed on the OS 52
There are various types in 50, but here, the back of the postcard
Images (photos, pictures, characters, etc.) to be printed on
And edit it as a postcard size (148 x 100 mm)
One having the function of printing on paper and the same
It has a function to print an image by dividing it into multiple pages
Things matter. The printer driver 55 further includes an application
The document 51 created in the application 50
Spooler 61 that expands this into spool file 62
Or the document stored in the spool file 62
The drawing data forming the image into RGB image data
Render renderer 63 and RGB image data in CM
Convert to YKcm binarized image data
A halftone processing unit 64 for performing halftone processing;
Printer 30 interprets MYKcm binary image data
Command conversion unit 65 that converts the print command
Transmission / reception unit 66 for transmitting the print command to the printer 30
And the display device 12 and the keyboard at the time of printing
User interface that serves as an interface with
Border 58 for setting printing conditions for borderless printing
A printing condition setting unit 56 and an integrated pipe for managing them in an integrated manner.
Control unit 60 and a print condition file in which print conditions and the like are stored
It is composed of functions such as 59. The print controller 31 shown in FIG.
Stored in the ROM 33 in the print control device 31 in the frame shown
CPU 32 reads and executes the program
Functions (specifically,
Units 76) and the print control unit 70)
It is represented as The transmission / reception unit 76 is a printer host 1
This function accepts print commands from 0. Ma
In addition, the print control unit 70 controls the printing
A function for controlling the printing mechanism 40 based on a command or the like.
You. (Operation of Computer System) Next, according to the present embodiment,
Computer system has postcard size on roll paper R
The borderless printing of the image of
The operation when printing a series of images continuously on top,
explain. Prior to starting printing, an operator
Is for postcard size using application 50
Images to be printed on paper or long paper (multiple paper
On a sheet of paper equivalent to a series of standard paper sheets)
Edit the image to be done. When the creation of this image is completed, the operation
Data is displayed on the display 12
In the image editing window (not shown)
Operate the "Print" button. Then, through OS52
Then, the printer driver 55 is activated (the CPU 20
Therefore, execution is started). FIG. 6 and FIG. 7 show flowcharts.
As described above, the activated printer driver 55
In step 001, the function of the user interface 58 is used.
Using the properties dialog shown in FIG.
Screen) is displayed on the display 12. User in
Interface 58 is connected to the keyboard 13 by the operator.
Corresponding to each item in the properties dialog.
Set the system. Specifically, for example, the property die
In the “Paper Source” text box 100 in the alog,
The paper type (roll) selected from the pull-down menu
Paper, A4 paper, B4 paper, etc.). Also, "Left
Left and right borders are not included in the right borderless check box 101.
Set a check mark to indicate that is selected or
To release. Also, a “paper feeding method” text box 100
When "Roll paper" R is set in
The option selected in the “Roll paper option” column 102
Option button ("Long mode" button 103 or
"Mode" button 104) to indicate that it is selected
A black point is set and is currently held in the roll paper holder 44.
Paper size that can be cut from roll paper R
When the roll paper R of the size
Paper size text box 10
Set within 6. In the next step S002, the printer driver
55 utilizes the function of the user interface 58,
"OK" button 105 in property dialog is operated
Wait for it to be done. Then, the “OK” button 105 is operated.
When done, the properties dialog at that time
Check the contents set in the “Paper Source” text
"Roll paper" R is set in box 100
In the check box 101
Check mark is set and “Standard mode” button
If a black point is set in the button 104, the process proceeds to S
003, in the “paper feeding method” text box 100
“Roll paper” R is set and “Right and left
Check box in check box 101
A black dot is set on the “Long mode” button 103
If is set, the process proceeds to S104, and
Otherwise, the process proceeds to S013. In S003, the printer driver 55
Extended printing using the function of the borderless printing condition setting unit 56
Area (predetermined enlargement to be kept at a minimum around the paper size)
Area). For example, paper size
Postcard size (148 x 100m) in the text box 106
When m) is set, as shown in FIG.
The amount of expansion at the front end in the paper feeding direction F is 3 mm, and the amount of expansion at the rear end is
The large amount is 5 mm, and the expansion amount on each side is 2.5 mm.
You. As shown in the table of FIG.
It is predetermined for each size. In FIG. 11, "Pa
The "perH" column indicates the vertical width in paper size, and "PaperW"
Column indicates the width in paper size, and "Ttrim '" column is
Indicates the amount of edge enlargement, the "Btrim '" column indicates the amount of rear edge enlargement,
The "Ltrim '" column shows the left end enlargement amount, and the "Rtrim'" column shows the right end
Indicates the amount of enlargement. As is clear from FIG.
The minimum amount of enlargement to be secured during printing depends on the enlargement direction (front,
The amount differs depending on the direction (backward, left and right). In FIG.
The table is registered in advance in the print condition file 59,
The borderless printing condition setting unit 56 stores the printing condition file 5
9, an extended print area is set. In the next S004, the printer driver 55
Is set in the paper size text box 106
Calculates the enlargement magnification of the extended print area for the paper size
I do. Specifically, the vertical width of the paper size (“Pape
rH ”) of the expanded print area (“ Paper ”in FIG. 11).
H ′ ”) (“ Hrate ”in FIG. 11)
For the width of paper size ("PaperW" in Fig. 11)
Percentage of the width of the extended print area ("PaperW '" in Fig. 11)
(“Wrate” in FIG. 11) and calculate the larger decimal point
The value obtained by rounding the bottom is the magnification (see “Rat
e)). Also, the printer driver 55
Represents the calculated enlargement ratio with the printing mechanism 40 of the printer 30.
By multiplying the printing resolution by
The resolution to be notified to the application 50 is calculated. For example, sign
Enlarges when the original resolution of the printing mechanism 40 is 360 dpi
If the magnification is calculated to be 105%, the application
The resolution to be notified to 50 is 360 × 1.05 = 378 dpi. In the next S005, the printer driver 55
Is a paper size text box as shown in FIG.
The width and height of the paper size set in 106 are set to S0
With the size enlarged according to the enlargement magnification calculated in 04
The enlarged image area to be set is the extension mark set in S003.
Circumscribe the printing area, and
Make settings so that the In the next S006, the printer driver 55
Is printed by the operator via the keyboard 13.
Wait for line instructions to be entered. Then, the print execution instruction
When input, in S007, the paper size text
Paper size and S0 set in box 106
The resolution calculated as the one to be notified in 04
) Is notified to the application 50.
The application 50 is notified of the image being edited.
Pixels are represented by pixels corresponding to the
A printing document having a size corresponding to the known size
And convert this document to a printer driver
Pass to 55. Document to be printed from application 50
The printer driver 55 that has received the
Using the functions of 61, you can sp
To a rule file 62. In the next step S008, the printer driver 55
Uses the function of the renderer 63 to store the spool file 6
Drawing that forms the document to be printed, which is expanded to 2.
The image data is converted into RGB image data, and S004
RGB image data according to the magnification calculated in
Data of the enlarged RGB image data in S005.
Expands to the enlarged image area set in. In the next S009, the printer driver 55
Uses the function of the halftone processing unit 64 to convert RGB
Convert image data to CMYKcm binarized image data
Convert and convert CMYKcm binarized image
The halftone processing is performed on the data. In the next step S010, the printer driver 55
Uses the function of the command conversion unit 65 to generate CMYKcm
The binarized image data is printed on a mark that can be interpreted by the printer 30.
Convert to printing command. FIG. 8 shows the function of this command conversion unit 65.
Is a flowchart showing a command conversion process executed by
is there. In this command conversion process, in the first S101
The command conversion unit 65 converts the various print conditions into commands.
Do. In the next step S102, the command conversion section 65
From the CMYKcm binarized image data, the roll paper R
Before the original paper size in the direction corresponding to the longitudinal direction
Protruding part (usually the part corresponding to the front end side enlargement amount
And the portion corresponding to the amount of expansion on the rear end side)
(delete. This is the original paper size for roll paper R.
If you want to make the image of the image borderless,
Corresponding to the part of the image
Ink to the ink receiving lateral openings 43a and 43b
Because they can't do that. This is the case for roll paper R.
The reason why clipping is possible is that roll paper R
If skew occurs, the previously printed image
The images printed on each other are skewed to each other
This is because no problem arises because of the inclination. In the next S103, the command conversion unit 65
Supply the front end of the image data after clipping.
The position on the paper feed side among the plurality of nozzles 41a arranged in the paper direction F
The print command for printing only with a fixed number of nozzles is
create. In the next step S104, the command conversion section 65
Divide the middle part of the image data into lines of a certain width
Then, each line is printed by all the nozzles 41a.
Create a print command for In the next step S105, the command conversion unit 66
Supply the rear end of the image data after clipping.
A portion on the paper discharge side of the plurality of nozzles 41a arranged in the paper direction F
The print command for printing only with a fixed number of nozzles is
create. When the above command conversion is completed, the printer
The driver 55 transmits and receives data in S011 in FIG.
A series of print frames created using the function of the
Command to the printer 30 to end a series of processes.
You. In S011, sent from printer driver 55
The printer 30 that has received the received print command
Execute the following print processing according to the print command.
You. That is, the print control unit 70 of the printer 30
While driving the rollers 46a, 46b and 46a, 46b,
The print head 41 is driven to start printing. Real truth
According to the embodiment, when creating a print command, S10
2 is smaller than the paper size in the image data
The part protruding to the front end side is clipped
Prints the front end created in S103
Print according to the first print command for printing
Immediately print the leading edge of the target image on roll paper R
can do. At this time, the previous page is placed on the roll paper R.
The image to be printed may already be printed
However, the trailing end of the previous page is the copy created in S105.
Print only with the nozzle 41a on the paper discharge side according to the command
On the other hand, the leading end of the page being printed is S10
Nozzle 41 on the paper feed side according to the command created in step 3
a), both images overlap.
Never. The middle part of the image to be printed
(Excluding the rear end) is created in step 104
All the print head 41 based on the print command
It is printed by the chisel 41a. Right and left direction of roll paper R
For the entire image to be printed.
Virtual R that extends further to the side than the left and right ends of the paper R
Since it is performed for the large image area, the left side of the roll paper R
The right edge is reliably printed without borders. In addition, each command
The horizontal print area printed by the
For simplicity, it may be limited to the range of the extended print area. So
In the case of, outside the extended print area in the print command
A null value is set in the portion corresponding to. And the most
Later, to print the trailing edge created in S105
If you print according to the print command of
The rear end portion of the print is printed on the roll paper R. The above
After that, the image to be printed is
Since the print command for printing does not follow, the printer
Completes printing at that point. Then, the image to be printed on the next page is
When printing, follow the newly received print command.
Then, printing is continued from that position on the roll paper R.
On the other hand, if there is no image to print on the next page,
In this case, the paper feed rollers 46a, 46b and 46a, 46b
Is further driven to eject the printed portion of the roll paper R.
The sheet is transported to the paper tray 47. Then, an auto car (not shown)
Printer or manual operation of the printed image
By cutting the front and rear edges of the
A print result of the size can be obtained. On the other hand, in S014 (FIG. 7), the printer
The driver 55 uses the function of the borderless printing condition setting unit 56
Then, in exactly the same manner as in S003, the extended print area
Set. In the next step S015, the printer driver 55
Is the extension mark set in S003 as shown in FIG.
Circumscribe the printing area and be symmetrical to the left, right, up and down
Is set in the paper size text box 106
Set an enlarged image area similar to the paper size
I do. In the next step S016, the printer driver 55
Is printed by the operator via the keyboard 13.
Wait for line instructions to be entered. Then, the print execution instruction
When input, in S017, it is set in S015.
The size of the enlarged image area
Attaching the original resolution of the printing mechanism 40 of the printer 30,
The application 50 is notified. Application 50
Is equivalent to the resolution being notified
Represented in pixels and equivalent to the notified size
Into a print document with the size
The document is passed to the printer driver 55. Apriquet
Receiving the document to be printed from
The linter driver 55 utilizes the function of the spooler 61.
The received document to the spool file 62
expand. In the next S018, the printer driver 55
Uses the function of the renderer 63 to store the spool file 6
Drawing that forms the document to be printed, which is expanded to 2.
The image data is converted to RGB image data, and the converted
The RGB image data is stored in the enlarged image set in S015.
Expand to image area. However, in this case,
The image data received from the application 50
This has already been expanded by application 50
In S018, unlike the case of S008, the image
No enlargement of page data. In the next step S109, the printer driver 55
Uses the function of the halftone processing unit 64 to convert RGB
Convert image data to CMYKcm binarized image data
Convert and convert CMYKcm binarized image
The halftone processing is performed on the data. In the next S110, the printer driver 55
Uses the function of the command conversion unit 65 to generate CMYKcm
The binarized image data is printed on a mark that can be interpreted by the printer 30.
Convert to printing command. FIG. 9 shows the function of this command conversion section 65.
Is a flowchart showing a command conversion process executed by
is there. In the first S201 in this command processing,
The command conversion unit 65 converts the various print conditions into commands.
Do. In the next S202, the command conversion unit 65
The front end of the image data is
Printing with only a predetermined number of nozzles on the paper feed side among the nozzles 41a
Create a print command to cause In the next step S104, the command conversion section 65
Divide the middle part of the image data into lines of a certain width
Then, each line is printed by all the nozzles 41a.
Create a print command for In the next step S105, the command conversion unit 66
The rear end of the image data is
Printing is performed with only a predetermined number of nozzles on the paper discharge side among the nozzles 41a
Create a print command to cause When the above command conversion is completed, the printer
In step S021 in FIG. 7, the driver 55
A series of print frames created using the function of the
Command to the printer 30 to end a series of processes.
You. In S021, sent from printer driver 55
The printer 30 that has received the received print command
Execute the following print processing according to the print command.
You. That is, the print control unit 70 of the printer 30
While driving the rollers 46a, 46b and 46a, 46b,
The print head 41 is driven to start printing. this
In this case, the front end of the image created in S202 is
Print according to the first print command for printing.
For example, the top part of the enlarged print target image (the original
(The leading edge of the portion protruding to the front end side from the paper size)
Is immediately printed on the roll paper R. At this time, roll
The print target image of the previous page has already been printed on paper R.
However, at the end of the previous page,
Nozzle 41a on the discharge side according to the command created in
Only the end of the page being printed while being printed by
The end portion is supplied according to the command created in S202.
Since it is printed only by the paper side nozzle 41a,
Both images are continuous without overlapping each other. printing
Middle part of target image (part excluding front end and rear end)
Minute) is the print command created in step 203.
On the basis of all the nozzles 41a of the print head 41.
Printed. As a result, with respect to the horizontal direction of the roll paper R,
Roll paper R over the entire area of the image to be printed.
A virtual enlarged image that extends further to the side than the left and right edges of
The right and left edges of the roll paper R
Are reliably printed without borders. And finally, S2
Print frame for printing the trailing edge created in 04
If you print according to the
Minute (the part of the paper that protrudes
The rear end portion) is printed on the roll paper R. On the next page
As described above, the continuous
Is printed. Therefore, the same image has multiple pages
Even if the document is divided into
Images on a single roll of paper R without loss of image
A series of images are continuously printed borderless. As described above, according to the present embodiment, the application
Application 50 prints only paper of the specified size.
The application, even if it is not
Printed without being aware of the increase in image size
On the driver 55 side, without reducing the resolution,
The image can be enlarged for printing. Only
When printing on roll paper, the printer driver 5
Clip the front and rear edges of the enlarged image in step 5
Can be fixed on the same roll paper R.
Prints images of multiple pages continuously without borders.
Can be The application 50 has a predetermined size.
If you accept paper other than
It has a function to print an image divided into multiple pages
Printer driver 55, the application
Notify the image size after enlargement to the application 50
As a result, the image can be expanded on the application 50 side.
Can be great. In this case, the printer
On the bar 50 side, the image is not further enlarged,
No clipping. As a result, the same image
Printing of multiple pages on the same roll paper R
And then execute, the original long image on the roll paper R
Images can be printed. According to the present invention, the size of the printing target paper
Application programs that restrict
Printer driver, even if the printer is running
Connected to the computer
To control the printer to perform borderless printing
be able to.

【図面の簡単な説明】 【図1】 本発明の実施の形態であるコンピュータシス
テムの構成を示すブロック図 【図2】 プリンタのプラテン周辺の構成を示す平面図 【図3】 プリンタのプラテン周辺の構成を示す側面図 【図4】 プリンタのプラテン周辺の構成を示す側面図 【図5】 ホスト本体及びプリンタ制御装置内で実現さ
れる機能の相関関係を示すブロック図 【図6】 プリンタドライバによる制御内容を示すフロ
ーチャート 【図7】 プリンタドライバによる制御内容を示すフロ
ーチャート 【図8】 図6のS010にて実行されるコマンド化処
理の内容を示すフローチャート 【図9】 図7のS020にて実行されるコマンド化処
理の内容を示すフローチャート 【図10】 図6のS001にて表示されるプロパティ
ダイアログを示す図 【図11】 各用紙サイズ毎の拡張量及び拡張倍率を一
覧した表 【図12】 印刷用紙サイズ,拡張印刷領域及び拡大イ
メージ領域の関係を示す説明図 【符号の説明】 10…プリンタホスト 11…ホスト本体 20…CPU 21…ROM 22…RAM 30…プリンタ 40…印刷機構 41…印刷ヘッド 41a…ノズル 43…プラテン 50…アプリケーション 51…ドキュメント 55…プリンタドライバ
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating a configuration of a computer system according to an embodiment of the present invention. FIG. 2 is a plan view illustrating a configuration around a platen of a printer. FIG. FIG. 4 is a side view showing the configuration around the platen of the printer. FIG. 5 is a block diagram showing the correlation between functions realized in the host body and the printer control device. FIG. 6 is controlled by a printer driver. FIG. 7 is a flowchart showing the contents of control by the printer driver. FIG. 8 is a flowchart showing the contents of the command conversion process executed in S010 of FIG. 6. FIG. 9 is executed in S020 of FIG. FIG. 10 is a flowchart showing the contents of the command conversion process. FIG. 10 is a diagram showing a property dialog displayed in S001 of FIG. 1 A table listing expansion amounts and expansion ratios for each paper size. [FIG. 12] An explanatory diagram showing a relationship between a printing paper size, an expanded printing area, and an enlarged image area. [Description of reference numerals] 10 ... Printer host 11 ... Host body 20 CPU 21 ROM 22 RAM 30 Printer 40 Printing mechanism 41 Print head 41a Nozzle 43 Platen 50 Application 51 Document 55 Printer driver

Claims (1)

【特許請求の範囲】 【請求項1】受信した印刷コマンドによって指定された
イメージを用紙上に印刷するプリンタに接続可能なコン
ピュータに対して、 このコンピュータが、解像度及びサイズを受け取ること
によって当該解像度にて所望のイメージを当該サイズで
表現した描画データを作成するアプリケーションプログ
ラムを実行している時に、前記用紙としてロール紙が選
択され且つ当該ロール紙における所定長さの定型サイズ
の範囲に対して縁なし印刷すべき旨の指示が入力された
場合には、 前記定型サイズを所定倍率にて拡大したイメージ領域を
設定させ、 前記プリンタが印刷可能な解像度に前記所定倍率を乗じ
る演算を実行させ、 前記定型サイズ及び前記演算によって得られた解像度を
前記アプリケーションに通知させ、 通知されたサイズ及び解像度に応じて前記アプリケーシ
ョンが作成した描画データによって表現されるイメージ
を、前記所定倍率に従って拡大させ、 前記用紙を内包する前記イメージ領域内に前記拡大後の
イメージを印刷することを前記プリンタに指示する印刷
コマンドを作成させ、 生成された印刷コマンドを前記プリンタへ送信させるこ
とを特徴とするプリンタドライバプログラム。
Claims: 1. A computer which can be connected to a printer which prints an image specified by a received print command on a sheet of paper. When executing an application program for creating drawing data expressing a desired image in the size in question, roll paper is selected as the paper and no border is provided for a predetermined size range of the roll paper in a predetermined length. When an instruction to print is input, an image area obtained by enlarging the standard size at a predetermined magnification is set, and an operation of multiplying the resolution printable by the printer by the predetermined magnification is performed. Notifying the application of the size and the resolution obtained by the calculation, Printing the image represented by the drawing data created by the application according to the size and resolution according to the predetermined magnification, and printing the enlarged image in the image area including the paper. A print command to instruct the printer, and send the generated print command to the printer.
JP2001308729A 2001-10-04 2001-10-04 Printer driver program Expired - Fee Related JP3613220B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001308729A JP3613220B2 (en) 2001-10-04 2001-10-04 Printer driver program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001308729A JP3613220B2 (en) 2001-10-04 2001-10-04 Printer driver program

Publications (2)

Publication Number Publication Date
JP2003114771A true JP2003114771A (en) 2003-04-18
JP3613220B2 JP3613220B2 (en) 2005-01-26

Family

ID=19127990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001308729A Expired - Fee Related JP3613220B2 (en) 2001-10-04 2001-10-04 Printer driver program

Country Status (1)

Country Link
JP (1) JP3613220B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7646496B2 (en) 2003-10-06 2010-01-12 Seiko Epson Corporation Print system, printer host, print support program and print method
US8395808B2 (en) 2001-04-25 2013-03-12 Seiko Epson Corporation Divisional print control
JP2016081437A (en) * 2014-10-21 2016-05-16 京セラドキュメントソリューションズ株式会社 Printer driver
JP2019204322A (en) * 2018-05-24 2019-11-28 キヤノン株式会社 Print control method, program, and information processing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8395808B2 (en) 2001-04-25 2013-03-12 Seiko Epson Corporation Divisional print control
US7646496B2 (en) 2003-10-06 2010-01-12 Seiko Epson Corporation Print system, printer host, print support program and print method
JP2016081437A (en) * 2014-10-21 2016-05-16 京セラドキュメントソリューションズ株式会社 Printer driver
JP2019204322A (en) * 2018-05-24 2019-11-28 キヤノン株式会社 Print control method, program, and information processing device
JP7250436B2 (en) 2018-05-24 2023-04-03 キヤノン株式会社 PRINT CONTROL METHOD, PROGRAM, AND INFORMATION PROCESSING APPARATUS

Also Published As

Publication number Publication date
JP3613220B2 (en) 2005-01-26

Similar Documents

Publication Publication Date Title
JP3788219B2 (en) Storage medium storing printer host operation program
JP3630127B2 (en) Printing system, printer host and printer driver
JP5932377B2 (en) Recording system, information processing apparatus, recording control method, and recording apparatus
JPH1040045A (en) Printing preview method
US8194276B2 (en) Data processing apparatus, control method therefor, and program
JPH1052960A (en) Method for scaling of drawing
JP2007290221A (en) Nozzle flushing assistance system, nozzle flushing assistance program, and method for assisting flushing of nozzle
JP2003114771A (en) Printer driver program
US6821037B2 (en) Printing device provided with cutter to cut recording paper
JP6659108B2 (en) Image forming apparatus, image forming method, and program
JP2003335010A (en) Printing system, printer host, printer driver and printing method
JP2005115528A (en) Printing system, printer host, printing support program, and printing method
JP2008254330A (en) Ink-jet recording device and control method therefor
JP2003191538A (en) Printer driver program and printing method
JP7077838B2 (en) Programs, information processing equipment
JP2000043328A (en) Printing information-setting apparatus, method therefor and recording medium, and computer system
JP2003216371A (en) Printer driver program
US11816516B2 (en) Storage medium storing computer-readable instructions for generating processed image data representing processed image in which gap area is arranged within range including longitudinal center position thereof
JP6617819B2 (en) Printing system
JP3933000B2 (en) Printing system, printer host and program
JP4208023B2 (en) Printing apparatus, printing system, and printing method
JP2003256181A (en) Print system, printer host and printer driver
JP2004038778A (en) Printing system, printer host, program, and printer driver
JP2017071185A (en) Image forming apparatus and its control method
JP2016179617A (en) Printing data generation device, printer, printing data generation method and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040921

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041005

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041018

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20081105

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091105

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091105

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101105

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101105

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111105

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111105

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121105

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121105

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20131105

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees