Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3873545B2 - Printer host and storage medium storing its operation program - Google Patents
[go: Go Back, main page]

JP3873545B2 - Printer host and storage medium storing its operation program - Google Patents

Printer host and storage medium storing its operation program Download PDF

Info

Publication number
JP3873545B2
JP3873545B2 JP28474199A JP28474199A JP3873545B2 JP 3873545 B2 JP3873545 B2 JP 3873545B2 JP 28474199 A JP28474199 A JP 28474199A JP 28474199 A JP28474199 A JP 28474199A JP 3873545 B2 JP3873545 B2 JP 3873545B2
Authority
JP
Japan
Prior art keywords
page
margin
printing
mode
print command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP28474199A
Other languages
Japanese (ja)
Other versions
JP2001109608A (en
Inventor
久典 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Priority to JP28474199A priority Critical patent/JP3873545B2/en
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to DE60036444T priority patent/DE60036444T2/en
Priority to EP00308713A priority patent/EP1096421B1/en
Priority to EP05077153A priority patent/EP1607903A3/en
Priority to AT00308713T priority patent/ATE373851T1/en
Priority to EP05077154A priority patent/EP1610260A3/en
Publication of JP2001109608A publication Critical patent/JP2001109608A/en
Priority to US11/184,896 priority patent/US7576875B2/en
Application granted granted Critical
Publication of JP3873545B2 publication Critical patent/JP3873545B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、両面印刷に好適なプリンタホスト、及びその動作プログラムが記憶されている記憶媒体に関する。
【0002】
【従来の技術】
従来、両面印刷可能なインクジェットプリンタとしては、例えば、特開平5−147208号公報等に記載されたものがある。このインクジェットプリンタのホストは、両面印刷が指示されると、奇数ページと偶数ページのイメージが上下反転するように、奇数ページ用及び偶数ページ用の印刷コマンドを作成し、ページ順に印刷コマンドを作成し、これをプリンタへ送信している。
【0003】
ところで、両面印刷可能なインクジェットプリンタは、現実的には、ほとんど市販されていないのが現状である。このように、両面印刷機能を持たないインクジェットプリンタで、両面印刷をする場合、ユーザは、まず、奇数ページのみの印刷を指定し、これを実行させ、次に、この奇数ページのみが印刷された用紙を裏返して、これをプリンタにセットしてから、偶数ページのみの印刷を指定し、この用紙の裏に、偶数ページを印刷させている。すなわち、両面印刷機能を持たないインクジェットプリンタのホストは、まず、奇数ページの印刷コマンドのみをプリンタへ送信し、その後、偶数ページの印刷コマンドのみをプリンタへ送信している。
【0004】
【発明が解決しようとする課題】
従来技術において、仮に、両面印刷可能なプリンタ用のプリンタホストに対して、両面印刷機能を備えていないプリンタが接続されている場合、プリンタホストで両面印刷指示すると、1枚毎に上下が逆転して印刷されてしまうという問題点がある。
【0005】
また、逆に、両面印刷機能を持たないプリンタ用のプリンタホストに対して、両面印刷機能を持つインクジェットプリンタが接続されている場合には、プリンタ自身は両面印刷機能を備えているものの、ホスト側で両面印刷指示できないために、ユーザは、わざわざ、奇数ページ印刷をホストに指示した後、偶数ページ印刷を指示しなければならず、甚だ不便であるという問題点がある。
【0006】
本発明は、このような従来の問題点に着目してなされたもので、両面印刷機能を持つインクジェットプリンタが接続されている場合でも、両面印刷機能を持たないインクジェットプリンタが接続されている場合でも、ユーザにあまり負担をかけずに、両面印刷を行うことができるインクジェットプリンタ用ホスト、及びその動作プログラムが記憶されている記憶媒体を提供することを目的とする。
【0008】
【課題を解決するための手段】
前記目的を達成するためのプリンタホストは、
両面印刷モードか片面印刷モードかを指定するモード指定手段と、
前記印刷コマンドを送信すると共に、前記モード指定手段で両面印刷モードが指定されると、前記インクジェットプリンタに対して、両面印刷可能であるか否かの問い合わせを行い、該インクジェットプリンタから両面印刷可能であるか否かの旨を受信する送受信手段と、
前記モード指定手段で両面印刷モードが指示され、且つ前記送受信手段が両面印刷可能である旨を受信すると、両面印刷モード用の印刷コマンドを作成し、前記モード指定手段で両面印刷モードが指定され、且つ前記送受信手段が両面印刷可能である旨を受信しないと、片面印刷モード用の印刷コマンドであって、奇数ページと偶数ページとのうちのいずれか一方のページに関する印刷コマンドのみを順次作成し、該一方のページに関する印刷コマンドの送信が終了してから、片面印刷モード用の印刷コマンドであって他方のページに関する印刷コマンドを順次作成する印刷コマンド作成手段と、
奇数ページと偶数ページとのうち、少なくとも一方のページの余白領域を設定する余白設定手段と、
前記モード指定手段で両面印刷モードが指定され、且つ前記余白設定手段で前記一方のページの余白領域が設定されると、該一方のページの左余白を他方のページの右余白として設定し、該一方のページの右余白を該他方のページの左余白に設定する残り余白自動設定手段と、
奇数ページの用紙と偶数ページの用紙とを表示すると共に、前記余白設定手段及び前記残り余白自動設定手段で設定された余白領域を表示する表示手段と、
を備えていることを特徴とするものである。
【0024】
前記目的を達成するための第一の記憶媒体は、
インクジェットプリンタへ印刷コマンドを送信する送受信手段を有するプリンタホストの動作プログラムが記憶されている記憶媒体において、
両面印刷モードか片面印刷モードかを指定するモード指定手順と、
前記送受信手段に、前記印刷コマンドを送信させると共に、前記モード指定手順で両面印刷モードが指定されると、前記インクジェットプリンタに対して、両面印刷可能であるか否かの問い合わせを行わせ、該インクジェットプリンタから両面印刷可能であるか否かの旨の受信を制御する送受信制御手順と、
前記モード指定手順で両面印刷モードが指示され、且つ前記送受手段で両面印刷可能である旨が受信されると、両面印刷モード用の印刷コマンドを作成し、前記モード指定手順で両面印刷モードが指定され、且つ前記送受信手段で両面印刷可能である旨が受信されないと、片面印刷モード用の印刷コマンドであって、奇数ページと偶数ページとのうちのいずれか一方のページに関する印刷コマンドのみを順次作成し、該一方のページに関する印刷コマンドの送信が終了してから、片面印刷モード用の印刷コマンドであって他方のページに関する印刷コマンドを順次作成する印刷コマンド作成手順と、
奇数ページと偶数ページとのうち、少なくとも一方のページの余白領域を設定する余白設定手順と、
前記モード指定手順で両面印刷モードが指定され、且つ前記余白設定手順で前記一方のページの余白領域が設定されると、該一方のページの左余白を他方のページの右余白として設定し、該一方のページの右余白を該他方のページの左余白に設定する残り余白自動設定手順と、
奇数ページの用紙と偶数ページの用紙とを表示させると共に、前記余白指定手順及び前記残り余白自動設定手順で設定された余白領域を表示させる表示制御手順と、
を有していることを特徴とするプログラムが記憶されているものである。
【0025】
前記目的を達成するための第二の記憶媒体は、
前記第一の記憶媒体において、
前記モード指定手順で両面印刷モードが指定され、且つ前記送受信手段で両面印刷可能である旨が受信されない場合、前記送受信制御手順が、該送受信手段に、前記一方のページに関する印刷コマンドを送信させた後に、前記インクジェットプリンタに対して、該一方のページに関する印刷を終了したか否かを問い合わせを行わせ、
前記送受信手段で、前記インクジェットプリンタから前記一方のページに関する印刷が終了した旨が受信されると、該一方のページに関する印刷が終了した旨を表示させ、前記他方のページの印刷実行指示を促す表示制御手順を有している、
ことを特徴とするプログラムが記憶されているものである。
【0028】
前記目的を達成するための第三の記憶媒体は、
前記第一又は第二の記憶媒体において、
前記印刷コマンド作成手順で前記印刷コマンドを作成するための元になる描画コマンドを作成し、該描画コマンドに基づく印刷における用紙中の印刷領域を指定する描画コマンド作成手順を有するプログラムと共に使用されるプログラムが記憶され、
前記印刷コマンドに基づく印刷における用紙中の余白領域を設定する余白設定手順を有し、
前記印刷コマンド作成手順は、
前記描画コマンドをイメージ展開する描画手順と、
前記余白設定手順で余白領域が設定された結果、前記描画コマンド作成手順で指定された印刷領域の一部が該余白領域と重なると、該印刷領域であって、該余白領域と重なった部分を除く領域内に、1ページ分のイメージが収まるよう、前記描画手順に、1ページ分の前記描画コマンドを縮小してイメージ展開させる描画制御手順と、
を有している、ことを特徴とするプログラムが記憶されているものである。
【0030】
前記目的を達成するための第四の記憶媒体は、
前記第一から三のいずれかの記憶媒体において、
前記インクジェットプリンタが前記両面印刷モードを実行する際、印刷用紙の一方の面に印刷してから、該印刷用紙を反転させて、該印刷用紙の他方の面に印刷し始めるまでの反転時間を設定する反転時間設定手順を有している、ことを特徴とするプログラムが記憶されているものである。
【0031】
【発明の実施の形態】
以下、本発明に係るプリンタシステムの実施形態について、図面を用いて説明する。
【0032】
本実施形態のプリンタシステムは、図1に示すように、プリンタホスト10と、このプリンタホスト10から出力された印刷コマンドに基づいて印刷するプリンタ30と、を備えている。
【0033】
プリンタホスト10は、ホスト本体11と、ディスプレイ装置12と、キーボード13と、を備えている。ホスト本体11は、各種プログラムを実行するCPU20と、各種データや各種プログラムが記憶されているROM21と、各種データや各種プログラムが一時的に記憶されるRAM22と、ディスプレイ装置12を制御するディスプレイコントローラ23と、キーボード13を制御するキーボードコントローラ24と、フロッピーディスクドライブ25と、ハードディスクドライブ26と、CD−ROMドライブ27と、プリンタインタフェース28と、ネットワークインタフェース29と、を有している。
【0034】
プリンタ30は、モニタ37と、印刷機構40と、これらを制御する印刷制御器31と、を有している。印刷制御器31は、各種プログラムを実行するCPU32と、各種データや各種プログラムが記憶されているROM33と、各種データや各種プログラムが一時的に記憶されるRAM34と、モニタ37を制御するモニタコントローラ35と、インタフェース36と、を有している。
【0035】
印刷機構40は、図2に示すように、各種色のインクを噴射する印刷ヘッド41と、この印刷ヘッド42を移動させるヘッド移動機構42と、多数の印刷用紙1が収納されている給紙トレイ44と、この給紙トレイ44内の印刷用紙1を印刷ヘッド42とプラテン43との間に導く給紙機構45と、印刷された用紙1を排出する排紙機構46と、両面印刷のために用紙1を反転させる反転機構50と、反転機構50の取付の有無を検出する取付センサ(取付検出手段)49と、を備えている。なお、この実施形態において、反転機構50は、プリンタのオプションで、後から取り付けることも、予め取り付けておくことも可能である。取付センサ49は、オプションである反転機構50が取り付けられているか否かを検出するために用いられる。この反転機構50は、排紙機構46の排紙路47中から用紙1を反転路51に導くための第一の切替レバー54と、用紙1を反転位置52に押し込む一方で反転位置52から送り出す反転ローラ55と、用紙1が反転位置52に至ったことを検出する反転位置検出センサ56と、用紙1を反転位置52に導くと共に反転位置52から戻し路53へ導く第二の切替レバー57と、を有している。反転位置検出センサ56は、用紙1が反転位置52に至ったことの検出で、反転ローラ55の回転方向の逆転、及び第二の切替レバー57の向きの変更を行うために用いられる。
【0036】
プリンタホスト10は、機能的には、図3に示すように、アプリケーション(描画コマンド作成手段)61と、アプリケーション61が作成した描画コマンドをスプールファイルとして記憶しておくスプールファイル記憶部62と、印刷条件を記憶しておく印刷条件記憶部(記憶手段)63と、1ジョブ分の描画コマンドの束から印刷コマンドを作成する印刷コマンド作成部(印刷コマンド作成手段)64と、各種データ等を表示する表示部(表示手段)71と、ユーザの指示等を入力する入力部(モード指定手段、余白設定手段、用紙種指定手段)72と、表示部71及び入力部72を制御するユーザインタフェース制御部73(モード指定手段、表示手段、余白指定手段、余白自動設定手段、用紙種指定手段)と、用紙種に応じて両面印刷時の用紙反転時間を設定する反転時間設定部(反転時間設定手段)74と、プリンタ30との間のデータの送受信を制御する送受信制御部(送受信手段、送受信制御手順)75と、プリンタ30との間でデータの送受信を行う送受信部(送受信制御手段)76と、を有している。
【0037】
印刷コマンド作成部64は、描画コマンドをRGBイメージデータに変換するラスタライザ65と、ラスタライザ65を制御するラスタライズ制御部(描画制御手段)70と、RGBイメージデータが展開されるRGBイメージデータ展開領域66と、RGBイメージデータに対して色変換処理及びハーフトーン処理等を施してCMYK二値化イメージデータを作成する色変換・ハーフトーン処理部67と、CMYK二値化イメージデータが展開されるCMYK二値化イメージデータ展開部68と、CMYK二値化イメージデータをプリンタ30が解釈できる印刷コマンドに変換するコマンド化部69とを有している。
【0038】
また、インクジェットプリンタ30は、機能的には、図4に示すように、ホスト10からの印刷コマンドに従って印刷機構40を制御する印刷制御部81と、ホスト10との間でデータの送受信を行う送受信部(送受信手段)82と、を有している。
【0039】
なお、プリンタホスト10の各機能構成要素のうち、アプリケーション61、印刷コマンド作成部64、ユーザインタフェース制御部73、反転時間設定部74、送受信制御部75は、RAM22に記憶されたプログラムをCPU20が実行することで機能する。また、スプールファイル記憶部62及び印刷条件記憶部63は、RAM22を有して構成されている。表示部71は、ディスプレイ装置12、ディスプレイコントローラ23、CPU20、RAM22を有して構成され、入力部72は、キーボード13、キーボードコントローラ24、CPU20、RAM22を有して構成されている。送受信部76は、CPU20、RAM22、及びプリンタインタフェース28を有して構成されている。プリンタホスト10の機能を実行するためのプログラムは、これが記憶されているCD−ROM17(図1に示す)をCD−ROMドライブ27で再生し、これをRAM22にロードすることで得られる。
【0040】
また、インクジェットプリンタ30の各機能構成要素のうち、印刷制御部81は、各種プログラムが記憶されるROM33及びRAM34、プログラムを実行するCPU32を有して構成され、送受信部82は、CPU32、ROM33、RAM34、インタフェース36を有して構成されている。
【0041】
次に、図5に示すフローチャートに従って、本実施形態のプリンタシステムの動作について説明する。
【0042】
ホスト10は、ユーザの入力部72の操作により、各種印刷条件を受け付ける(ステップ1)。印刷条件としては、用紙サイズ、用紙種、印刷用紙中の余白領域、片面印刷/両面印刷等がある。両面印刷モード指定を受け付けた際には、表示部の画面に、「両面印刷用のインクがセットされていますか?」の確認メッセージが表示される。さらに、図6に示すように、奇数ページの用紙91a及び偶数ページの用紙91bが表示部71の画面に表示される。表示された用紙91aには、用紙の縦寸法92及び横寸法93も併せて表示される。さらに、上部余白領域、下部余白領域、左部余白領域、右部余白領域の各寸法入力領域94a,94b,94c,94dが、それぞれ、上、下、左、右の位置に表示される。
【0043】
ユーザは、この画面を見ながら、印刷用紙中の余白領域を指定する。ユーザは、まず、偶数ページの余白領域指定か、奇数ページの余白領域指定かを指定する。これは、両面印刷の際、奇数ページと偶数ページとで、綴じ代の位置が異なり、奇数ページの左右余白領域と、偶数ページの左右余白領域とが異なるからである。続いて、ユーザは、上部余白領域、下部余白領域、左部余白領域、右部余白領域の寸法入力領域94a,94b,94c,94dに、寸法を入力する。例えば、ユーザが偶数ページの余白領域指定を指定した後、各余白領域の寸法を入力すると、表示されている偶数ページの用紙91b内に余白領域の境界線95bが表示される。さらに、偶数ページ91bの余白領域の設定に伴い、ユーザインタフェース制御部73により、奇数ページの余白領域も自動設定され、表示されている奇数ページの用紙91a内に余白領域の境界線95aが表示される。奇数ページの余白設定では、偶数ページの上余白寸法、下余白寸法、右余白寸法、左余白寸法が、それぞれ、奇数ページの上余白寸法、下余白寸法、左余白寸法、右余白寸法に自動設定される。すなわち、偶数ページの左余白寸法が奇数ページの右余白寸法に、偶数ページの右余白寸法が奇数ページの左余白寸法に、自動設定される。ユーザが、この自動設定された奇数ページの余白寸法を変えたい場合には、さらに、奇数ページの余白領域を指定して、各余白領域寸法を入力する。この入力結果は、自動設定された余白寸法に優先される。
【0044】
続いて、ホスト10は、ユーザの入力部72の操作により、印刷実行を受け付ける(ステップ2)。ホスト10は、この印刷が両面印刷モード指定か否かを判断し、両面印刷モード指定でなければ、片面印刷モード用、つまり、通常の印刷コマンドを作成して(ステップ4)、これをインクジェットプリンタ30へ送信する(ステップ5)。また、両面印刷モード指定であれば、送受信部76からプリンタ30に「両面印刷可能か」の問い合わせを行う(ステップ6)。
【0045】
プリンタ30は、この問い合わせに対して、取付センサ49で、反転機構50が取り付けられていることが検出されていれば、送受信部82からホスト10へ「両面印刷可能」の返答を行う。
【0046】
プリンタ30から「両面印刷可能」の返答があれば(ステップ7)、反転時間設定部74が、プリンタ30における両面印刷における用紙の反転時間を設定する。この反転時間は、送受信部76からプリンタ30へ送信される。インクジェットプリンタ30で両面印刷を行う場合、表面に印刷した後、表面のインクが乾かないうちに、用紙の表裏面を反転させると、表面のインクがローラ等に擦れて、表面の印刷品質が悪化してしまう。このため、本実施形態では、反転時間設定部74が、印刷条件設定(ステップ1)の際に設定した用紙種に応じた反転時間を設定する。印刷条件記憶部63には、用紙種と反転時間との関係が予め記憶されており、反転時間設定部63は、この関係を参照して反転時間を定める。なお、ここでは、用紙種のみに応じて反転時間を定めるようにしているが、用紙種及びインク種に応じて反転時間を定めるようにしてもよい。また、反転時間は、ユーザ入力で設定されるようにしてもよい。
【0047】
用紙の反転時間が設定されると(ステップ8)、両面印刷モード用の印刷コマンドを作成して(ステップ8)、これを送受信部76からプリンタ30へ送信する(ステップ9)。
【0048】
プリンタ30で両面印刷を行う場合、図7(a)に示すように、奇数ページ1aを印刷した後、プリンタ30の反転機構50で用紙1を反転させると、同図(b)に示すように、用紙1の上下が逆転するため、この用紙1の裏面、つまり、偶数ページ1bを印刷する際には、イメージを180°回転させる必要がある。なお、同図において、矢印は印刷ヘッドへの用紙供給方向を示し、同図(b)の()付の上下左右は、裏の奇数ページ1aの上下左右を示し、()無しの上下左右は、表の偶数ページ1bの上下左右を示している。そこで、両面印刷モード用の印刷コマンドの作成(ステップ9)では、奇数ページ1aのイメージに対して偶数ページ1bのイメージが180°回転した印刷コマンドを作成する。
【0049】
具体的には、まず、印刷コマンド作成部64のラスタライザ65がスプールファイル記憶部62に記憶されている描画コマンドをRGBイメージデータに変換し、これを展開領域66に展開する。次に、色変換・ハーフトーン処理部67がこのRGBイメージデータに対して色変換処理及びハーフトーン処理等を施して、CMYK二値化イメージデータに変換し、これを展開領域68に展開する。そして、コマンド化部69で、プリンタ30が解釈できる印刷コマンドに変換した後、送受信部76からこの印刷コマンドがプリンタ30へ送信される。1ページ分の印刷コマンドがプリンタ30へ送信されると、印刷コマンド作成部64は、次のページ、つまり、裏面の印刷コマンドを作成する。この際、ラスタライザ65は、ラスタライズ制御部70からの指示で、描画コマンドをRGBイメージデータに変換し、このイメージの上下を逆にして、展開領域66に展開する。次に、色変換・ハーフトーン処理部67がこのRGBイメージデータを展開領域66から読み取る際に、左右方向において通常とは逆の方向から読み取り、これをCMYK二値化イメージデータに変換して、展開領域68に展開する。この結果、裏面のイメージデータは、180°回転した状態で、展開領域68に展開される。そして、このCMYK二値化イメージデータがコマンド化部69でコマンド化されて、これが裏面の印刷コマンドとしてプリンタ30へ送信される。
【0050】
プリンタ30では、以上の印刷コマンドを受信すると、先に送られてきた奇数ページの印刷コマンドに基づいて、用紙の表面に印刷する。表面の印刷が終了すると、反転機構50へこの用紙が送られ、ここで、表裏が反転されて、再び、印刷ヘッドに向い合う位置に送られる。そして、この裏面に、後から送られてきた偶数ページの印刷コマンドに基づく印刷が行われ、表裏の両面に印刷が行われる。この際、表面が印刷されてから、裏面の印刷が開始されるまでの反転時間は、ステップ8でホスト10から送られてきた反転時間である。このように、本実施形態では、表面のインクが乾くまで、裏面には印刷させないので、表面がローラ等に擦れて印刷品質の悪化してしまうのを防ぐことができる。
【0051】
ステップ7において、プリンタ30から「両面印刷可能」の返答が無ければ、印刷コマンド作成部64は、奇数ページの印刷コマンドのみを順次作成し(ステップ11)、これを送受信部76がプリンタ30へ送信する(ステップ12)。奇数ページのみの印刷コマンドの作成に当たっては、印刷コマンド作成部64のラスタライズ制御部70が、ラスタライザ65に対して指示を与えて、ラスタライザ65に、スプールファイル記憶部62から奇数ページのみの描画コマンドを読み込ませる。プリンタ30は、奇数ページのみの印刷コマンドに基づいて、通常の片面印刷モードで印刷を実行する。
【0052】
奇数ページのみの印刷コマンドの送信が終了すると(ステップ12)、送受信部76がプリンタ30に対して奇数ページの印刷が終了したか否かを問い合わせる(ステップ13)。この問い合わせに対して、プリンタ30から「奇数ページ印刷終了」を受信すると(ステップ14)、ホスト10の表示部71は、メッセージとして「奇数ページの印刷が終了しました。偶数ページの印刷の準備をしてください」と表示されると共に、「OK」ボタンも表示される(ステップ15)。
【0053】
ユーザは、この表示を見て、プリンタ30の排紙トレイ48(図2に示す)上にある、奇数ページのみ印刷された用紙1を裏返して、給紙トレイ44にセットする。セットが終了すると、表示部71に表示されている「OK」ボタンをクリックする。
【0054】
ホスト10は、「OK」ボタンがクリックされると、今度は、偶数ページのみの印刷コマンドを作成し(ステップ17)、これを順次プリンタ30へ送信する(ステップ18)。プリンタ30は、この印刷コマンドを受信すると、奇数ページが印刷されている用紙の裏面に、偶数ページを印刷する。
【0055】
以上のように、本実施形態では、ホスト10に、両面印刷機能を持つインクジェットプリンタが接続されている場合でも、また、両面印刷機能を持たないインクジェットプリンタが接続されている場合でも、両面印刷を指示すれば、両面印刷を行うことができ、ユーザの負担を軽減することができる。
【0056】
しかも、両面印刷機能を持つインクジェットプリンタで両面印刷しても、先に印刷した側の面のインクが乾くまで、用紙反転されないので、先に印刷した側の面の印刷品質の悪化を防ぐことができる。
【0057】
さらに、本実施形態では、両面印刷時の用紙の綴じ代を考慮して、奇数ページと偶数ページとで、異なる左右の余白領域を設定することができる。なお、この余白領域の設定は、片面印刷モードにおいても可能である。
【0058】
ところで、アプリケーション61で、図8(a)に示すように印刷領域2を設定し、印刷条件を設定する際に(ステップ1)、同図(b)に示すように余白領域95を設定した場合、実際に印刷できる領域が余白領域の内側の領域になり、当初予定した領域2よりも狭まってしまう。このため、本実施形態では、アプリケーション61で設定された印刷領域2の一部に余白領域95が重なってしまう場合には、同図(c)(d)に示すように、印刷領域2内であって、重なった部分96を除く領域97内にページ全体のイメージが収まるように、縦横比を変えずに縮小してイメージ展開するようにしている。このように、縮小してイメージ展開する際には、ユーザが予定していたイメージサイズでは印刷されないので、縮小してよいか、又は縮小する旨の表示が行われる。なお、ここでは、印刷領域2内であって、重なった部分96を除く領域97内にページ全体のイメージが収まるようにしているが、領域97内に、当初設定した印刷領域内のイメージが収まるようにしてもよい。この縮小作業では、ラスタライズ制御部70が印刷条件記憶部63に記憶されている印刷領域及び余白領域を参照して縮小率を定め、ラスタライザ65が描画コマンドをイメージ展開する際に、ラスタライザ65に対してこの縮小率を知らせて、この縮小率でイメージ展開させる。
【0059】
なお、以上の実施形態は、印刷用紙の左右の綴じ代を考慮したものであるが、左右の綴じ代と上下の綴じ代の両方向を考慮するようにしてもよい。
【0060】
この場合、図6に示す余白設定画面中に、図9に示すように、綴じ代位置が用紙の左右か上下であるかを選択する綴じ代位置指定領域を表示し、綴じ代位置が用紙の左右か上下かを指定できるようにする。その上で、綴じ代位置が用紙の左右であれば、以上の実施形態と同様に、プリンタホストは、プリンタが両面印刷できる場合、奇数ページに関して正転印刷イメージの印刷コマンドを送信し、偶数ページに関しては反転印刷イメージ(正転印刷イメージを180°回転させたイメージ)の印刷コマンドを送信し、プリンタが両面印刷できない場合、奇数ページ及び偶数ページ共に正転印刷イメージの印刷コマンドを送信する。また、綴じ代位置が用紙の上下であれば、プリンタホストは、プリンタが両面印刷できる場合、奇数ページ及び偶数ページ共に正転印刷イメージの印刷コマンドを送信し、プリンタが両面印刷できない場合、奇数ページに関して正転印刷イメージの印刷コマンドを送信し、偶数ページに関しては反転印刷イメージの印刷コマンドを送信する。
【0061】
【発明の効果】
本発明によれば、プリンタホストに、両面印刷機能を持つインクジェットプリンタが接続されている場合でも、また、両面印刷機能を持たないインクジェットプリンタが接続されている場合でも、両面印刷を指示すれば、両面印刷を行うことができ、ユーザの負担を軽減することができる。
【図面の簡単な説明】
【図1】本発明に係る一実施形態におけるプリンタシステムの回路ブロック図である。
【図2】本発明に係る一実施形態におけるインクジェットプリンタの印刷機構の構成を示す説明図である。
【図3】本発明に係る一実施形態におけるプリンタホストの機能ブロック図である。
【図4】本発明に係る一実施形態におけるインクジェットプリンタの機能ブロック図である。
【図5】本発明に係る一実施形態におけるプリンタホストの動作を示すフローチャートである。
【図6】本発明に係る一実施形態における余白設定画面を示す説明図である。
【図7】本発明に係る一実施形態における両面印刷時における表面と裏面の上下関係を示す説明図である。
【図8】本発明に係る一実施形態における印刷領域の一部に余白領域が重なった場合の処理を示す説明図である。
【図9】本発明に係る一実施形態における余白設定画面中の綴じ代位置指定領域を示す説明図である。
【符号の説明】
1…用紙
10…プリンタホスト
17…CD−ROM
20,32…CPU
21,33…ROM
22,34…RAM
30…インクジェットプリンタ
40…印刷機構
41…印刷ヘッド
49…取付センサ
50…反転機構
61…アプリケーション
62…スプールファイル記憶部
63…印刷条件記憶部
64…印刷コマンド作成部
65…ラスタライザ
67…色変換・ハーフトーン処理部
69…コマンド化部
70…ラスタライズ制御部70
71…表示部
72…入力部
73…ユーザインタフェース制御部
74…反転時間設定部
75…送受信制御部
76,82…送受信部
81…印刷制御部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer host suitable for double-sided printing and a storage medium storing an operation program thereof.
[0002]
[Prior art]
Conventionally, as an ink jet printer capable of duplex printing, for example, there is one described in Japanese Patent Laid-Open No. 5-147208. When the host of this inkjet printer is instructed to perform double-sided printing, it creates print commands for odd pages and even pages, and creates print commands in page order so that the images of odd and even pages are flipped upside down. This is sent to the printer.
[0003]
By the way, in reality, there are practically no commercially available inkjet printers capable of duplex printing. In this way, when performing duplex printing with an inkjet printer that does not have a duplex printing function, the user first designates printing of odd-numbered pages and executes this, and then only the odd-numbered pages are printed. After the paper is turned over and set in the printer, printing of even-numbered pages is designated, and even-numbered pages are printed on the back of the paper. That is, a host of an inkjet printer that does not have a duplex printing function first transmits only odd-numbered page print commands to the printer, and then transmits only even-numbered page print commands to the printer.
[0004]
[Problems to be solved by the invention]
In the prior art, if a printer that does not have a duplex printing function is connected to a printer host for a printer capable of duplex printing, if the printer host issues a duplex printing instruction, the top and bottom are reversed for each page. There is a problem that it is printed.
[0005]
Conversely, when an inkjet printer having a duplex printing function is connected to a printer host for a printer that does not have a duplex printing function, the printer itself has a duplex printing function, but the host side Since the user cannot instruct both sides printing, the user has to instruct the host to print odd pages and then instruct to print even pages, which is very inconvenient.
[0006]
The present invention has been made paying attention to such a conventional problem, and even when an inkjet printer having a duplex printing function is connected or an inkjet printer not having a duplex printing function is connected. An object of the present invention is to provide an inkjet printer host capable of performing double-sided printing without burdening the user so much, and a storage medium storing an operation program thereof.
[0008]
[Means for Solving the Problems]
A printer host for achieving the above object is
Mode designation means for designating the duplex printing mode or the simplex printing mode;
When the print command is transmitted and the double-sided printing mode is specified by the mode specifying unit, the inkjet printer is inquired whether double-sided printing is possible, and double-sided printing is possible from the inkjet printer. A transmission / reception means for receiving whether or not there is,
When the duplex printing mode is instructed by the mode designating unit and the transmission / reception unit receives that double-sided printing is possible, a print command for the duplex printing mode is created, and the duplex printing mode is designated by the mode designating unit, And if the transmission / reception means does not receive that double-sided printing is possible, it is a print command for the single-sided printing mode, and sequentially creates only the print command for either one of the odd page and the even page, Print command creation means for sequentially creating a print command for the other page that is a print command for the single-sided print mode after transmission of the print command for the one page is completed;
Margin setting means for setting a margin area of at least one of the odd page and the even page;
When the double-sided printing mode is specified by the mode specifying means and the margin area of the one page is set by the margin setting means, the left margin of the one page is set as the right margin of the other page, Automatic remaining margin setting means for setting the right margin of one page to the left margin of the other page;
Display means for displaying odd-numbered sheets and even-numbered sheets, and displaying margin areas set by the margin setting means and the remaining margin automatic setting means;
It is characterized by having.
[0024]
The first storage medium for achieving the object is
In a storage medium in which an operation program of a printer host having transmission / reception means for transmitting a print command to an inkjet printer is stored,
A mode specification procedure for specifying whether the duplex printing mode or the simplex printing mode;
The transmission / reception means transmits the print command, and when the duplex printing mode is designated by the mode designation procedure, the inkjet printer is inquired whether duplex printing is possible, and the inkjet A transmission / reception control procedure for controlling reception of whether double-sided printing is possible from the printer;
When the duplex printing mode is instructed in the mode designation procedure and the fact that duplex printing is possible is received by the transmission / reception means, a print command for the duplex printing mode is created, and the duplex printing mode is designated in the mode designation procedure. If the transmission / reception means does not receive that double-sided printing is possible, the print command for the single-sided printing mode, which is for only one of the odd-numbered page and the even-numbered page, is created sequentially. A print command creation procedure for sequentially creating a print command for the other page that is a print command for the single-sided print mode after transmission of the print command for the one page is completed;
A margin setting procedure for setting a margin area of at least one of an odd page and an even page;
When the duplex printing mode is specified in the mode specifying procedure and the margin area of the one page is set in the margin setting procedure, the left margin of the one page is set as the right margin of the other page, A remaining margin automatic setting procedure for setting the right margin of one page to the left margin of the other page;
A display control procedure for displaying odd-numbered paper and even-numbered paper and displaying a margin area set in the margin designating procedure and the remaining margin automatic setting procedure;
A program characterized by having the above is stored.
[0025]
The second storage medium for achieving the object is
In the first storage medium,
When the double-sided printing mode is specified in the mode specifying procedure and the fact that duplex printing is possible is not received by the transmission / reception unit, the transmission / reception control procedure causes the transmission / reception unit to transmit a print command related to the one page. Later, the inkjet printer is inquired as to whether or not printing on the one page is finished,
When the transmission / reception means receives from the ink jet printer that printing for the one page has been completed, a message is displayed to indicate that printing for the one page has been completed, and to prompt a print execution instruction for the other page. Have control procedures,
The program characterized by this is stored.
[0028]
The third storage medium for achieving the object is:
In the first or second storage medium,
A program used together with a program having a drawing command creation procedure for creating a drawing command as a base for creating the print command in the print command creation procedure and designating a print area in a sheet in printing based on the drawing command Is remembered,
A margin setting procedure for setting a margin area in the paper in printing based on the print command;
The print command creation procedure includes:
A drawing procedure for developing the drawing command into an image;
As a result of setting the margin area in the margin setting procedure, if a part of the print area specified in the drawing command creation procedure overlaps with the margin area, the print area, which overlaps the margin area, A drawing control procedure for reducing the drawing command for one page and developing the image so that the image for one page fits in the excluded area;
A program characterized by having the above is stored.
[0030]
The fourth storage medium for achieving the object is:
In any one of the first to third storage media,
When the inkjet printer executes the double-sided printing mode, the reversal time from when printing is performed on one side of the printing paper to when the printing paper is reversed and printing is started on the other side of the printing paper is set. A program characterized by having an inversion time setting procedure is stored.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of a printer system according to the present invention will be described below with reference to the drawings.
[0032]
As shown in FIG. 1, the printer system of this embodiment includes a printer host 10 and a printer 30 that performs printing based on a print command output from the printer host 10.
[0033]
The printer host 10 includes a host main body 11, a display device 12, and a keyboard 13. The host body 11 includes a CPU 20 that executes various programs, a ROM 21 that stores various data and various programs, a RAM 22 that temporarily stores various data and various programs, and a display controller 23 that controls the display device 12. A keyboard controller 24 for controlling the keyboard 13, a floppy disk drive 25, a hard disk drive 26, a CD-ROM drive 27, a printer interface 28, and a network interface 29.
[0034]
The printer 30 includes a monitor 37, a printing mechanism 40, and a print controller 31 that controls them. The print controller 31 includes a CPU 32 that executes various programs, a ROM 33 that stores various data and various programs, a RAM 34 that temporarily stores various data and various programs, and a monitor controller 35 that controls a monitor 37. And an interface 36.
[0035]
As shown in FIG. 2, the printing mechanism 40 includes a printing head 41 that ejects ink of various colors, a head moving mechanism 42 that moves the printing head 42, and a paper feed tray that stores a large number of printing paper 1. 44, a paper feed mechanism 45 for guiding the print paper 1 in the paper feed tray 44 between the print head 42 and the platen 43, a paper discharge mechanism 46 for discharging the printed paper 1, and for duplex printing. A reversing mechanism 50 for reversing the paper 1 and a mounting sensor (mounting detecting means) 49 for detecting whether or not the reversing mechanism 50 is mounted are provided. In this embodiment, the reversing mechanism 50 is an option of the printer and can be attached later or attached in advance. The attachment sensor 49 is used to detect whether or not the optional reversing mechanism 50 is attached. The reversing mechanism 50 includes a first switching lever 54 for guiding the paper 1 from the paper discharge path 47 of the paper discharge mechanism 46 to the reversing path 51, and pushes the paper 1 into the reversal position 52 while feeding it from the reversal position 52. A reversing roller 55, a reversing position detection sensor 56 for detecting that the paper 1 has reached the reversing position 52, and a second switching lever 57 for guiding the paper 1 to the reversing position 52 and leading from the reversing position 52 to the return path 53. ,have. The reverse position detection sensor 56 is used to detect that the paper 1 has reached the reverse position 52 and to reverse the rotation direction of the reverse roller 55 and change the direction of the second switching lever 57.
[0036]
As shown in FIG. 3, the printer host 10 functionally includes an application (drawing command creation means) 61, a spool file storage unit 62 for storing the drawing commands created by the application 61 as a spool file, and printing. A print condition storage unit (storage unit) 63 that stores conditions, a print command creation unit (print command creation unit) 64 that creates a print command from a bundle of drawing commands for one job, and various data are displayed. A display unit (display unit) 71, an input unit (mode designation unit, margin setting unit, paper type designation unit) 72 for inputting user instructions and the like, and a user interface control unit 73 for controlling the display unit 71 and the input unit 72 (Mode designation means, display means, margin designation means, margin automatic setting means, paper type designation means) and double-sided printing according to the paper type A reversing time setting unit (reversing time setting unit) 74 for setting the paper reversing time at the time, a transmission / reception control unit (transmission / reception unit, transmission / reception control procedure) 75 for controlling transmission / reception of data to / from the printer 30, And a transmission / reception unit (transmission / reception control means) 76 that transmits and receives data between them.
[0037]
The print command creation unit 64 includes a rasterizer 65 that converts a drawing command into RGB image data, a rasterization control unit (drawing control unit) 70 that controls the rasterizer 65, and an RGB image data development area 66 in which RGB image data is developed. A color conversion / halftone processing unit 67 for generating CMYK binarized image data by performing color conversion processing, halftone processing, etc. on RGB image data, and CMYK binary on which CMYK binarized image data is expanded And a command conversion unit 69 for converting the CMYK binarized image data into a print command that can be interpreted by the printer 30.
[0038]
Further, as shown in FIG. 4, the inkjet printer 30 functionally transmits and receives data between the host 10 and a print control unit 81 that controls the printing mechanism 40 according to a print command from the host 10. Part (transmission / reception means) 82.
[0039]
Among the functional components of the printer host 10, the application 61, the print command creation unit 64, the user interface control unit 73, the inversion time setting unit 74, and the transmission / reception control unit 75 are executed by the CPU 20 with the programs stored in the RAM 22. To work. Further, the spool file storage unit 62 and the print condition storage unit 63 are configured to include the RAM 22. The display unit 71 includes the display device 12, the display controller 23, the CPU 20, and the RAM 22, and the input unit 72 includes the keyboard 13, the keyboard controller 24, the CPU 20, and the RAM 22. The transmission / reception unit 76 includes a CPU 20, a RAM 22, and a printer interface 28. A program for executing the functions of the printer host 10 is obtained by playing the CD-ROM 17 (shown in FIG. 1) in which it is stored with the CD-ROM drive 27 and loading it into the RAM 22.
[0040]
Of the functional components of the inkjet printer 30, the print control unit 81 includes a ROM 33 and a RAM 34 that store various programs, and a CPU 32 that executes the program. The transmission / reception unit 82 includes the CPU 32, the ROM 33, A RAM 34 and an interface 36 are included.
[0041]
Next, the operation of the printer system of this embodiment will be described with reference to the flowchart shown in FIG.
[0042]
The host 10 receives various printing conditions by the operation of the user input unit 72 (step 1). Printing conditions include paper size, paper type, margin area in printing paper, single-sided printing / double-sided printing, and the like. When the duplex printing mode designation is accepted, a confirmation message “Is duplex ink set?” Is displayed on the display screen. Further, as shown in FIG. 6, odd-numbered sheets 91 a and even-numbered sheets 91 b are displayed on the screen of the display unit 71. On the displayed sheet 91a, the vertical dimension 92 and the horizontal dimension 93 of the sheet are also displayed. Further, the dimension input areas 94a, 94b, 94c, and 94d of the upper margin area, the lower margin area, the left margin area, and the right margin area are displayed at the upper, lower, left, and right positions, respectively.
[0043]
The user designates a margin area in the printing paper while viewing this screen. First, the user specifies whether to specify the margin area for even pages or the margin area for odd pages. This is because during double-sided printing, the position of the binding margin is different between the odd and even pages, and the left and right margin areas of the odd pages are different from the left and right margin areas of the even pages. Subsequently, the user inputs dimensions in the dimension input areas 94a, 94b, 94c, and 94d of the upper margin area, the lower margin area, the left margin area, and the right margin area. For example, when the user designates the margin area specification of the even page and then inputs the size of each margin area, the margin area boundary line 95b is displayed in the paper 91b of the even page displayed. Further, in accordance with the setting of the margin area of the even-numbered page 91b, the margin area of the odd-numbered page is automatically set by the user interface control unit 73, and the border line 95a of the margin area is displayed in the displayed odd-numbered sheet 91a. The In the odd page margin setting, the top, bottom, right, and left margin dimensions of even pages are automatically set to the odd, top, bottom, left, and right margin dimensions, respectively. Is done. That is, the left margin dimension of even pages is automatically set to the right margin dimension of odd pages, and the right margin dimension of even pages is automatically set to the left margin dimension of odd pages. When the user wants to change the automatically set margin size of the odd page, the user further specifies the margin region of the odd page and inputs each margin region size. This input result has priority over the automatically set margin size.
[0044]
Subsequently, the host 10 accepts print execution by the operation of the user input unit 72 (step 2). The host 10 determines whether or not the double-sided printing mode is designated for this printing. If the double-sided printing mode is not designated, the host 10 creates a normal printing command for the single-sided printing mode, that is, a normal printing command (step 4). 30 (step 5). If the double-sided printing mode is designated, the transmission / reception unit 76 inquires of the printer 30 whether “double-sided printing is possible” (step 6).
[0045]
In response to this inquiry, if the attachment sensor 49 detects that the reversing mechanism 50 is attached, the printer 30 sends a response “duplex printing is possible” from the transmission / reception unit 82 to the host 10.
[0046]
If there is a response “printing on both sides” from the printer 30 (step 7), the inversion time setting unit 74 sets the inversion time of the paper in the duplex printing in the printer 30. This inversion time is transmitted from the transmission / reception unit 76 to the printer 30. When performing double-sided printing with the inkjet printer 30, after printing on the front surface, if the front and back surfaces of the paper are reversed before the ink on the front surface dries, the ink on the front surface rubs against the rollers and the surface print quality deteriorates. Resulting in. For this reason, in this embodiment, the inversion time setting unit 74 sets the inversion time according to the paper type set in the printing condition setting (step 1). The printing condition storage unit 63 stores in advance the relationship between the paper type and the inversion time, and the inversion time setting unit 63 determines the inversion time with reference to this relationship. Here, the inversion time is determined according to only the paper type, but the inversion time may be determined according to the paper type and the ink type. The inversion time may be set by user input.
[0047]
When the paper inversion time is set (step 8), a print command for the duplex printing mode is created (step 8), and this is transmitted from the transmission / reception unit 76 to the printer 30 (step 9).
[0048]
When duplex printing is performed by the printer 30, as shown in FIG. 7A, after the odd page 1a is printed and then the paper 1 is reversed by the reversing mechanism 50 of the printer 30, as shown in FIG. 7B. Since the upper and lower sides of the paper 1 are reversed, when printing the back surface of the paper 1, that is, the even page 1b, it is necessary to rotate the image by 180 °. In the same figure, the arrows indicate the paper supply direction to the print head, the upper, lower, left and right with () in FIG. 4B indicate the upper, lower, left and right of the odd page 1a on the back, and the up, down, left and right without () The top, bottom, left and right of the even page 1b of the table are shown. Therefore, in the creation of the print command for the duplex printing mode (step 9), the print command is created by rotating the image of the even page 1b by 180 ° with respect to the image of the odd page 1a.
[0049]
Specifically, first, the rasterizer 65 of the print command creation unit 64 converts the drawing command stored in the spool file storage unit 62 into RGB image data, which is developed in the development area 66. Next, the color conversion / halftone processing unit 67 performs color conversion processing, halftone processing, and the like on the RGB image data to convert it into CMYK binarized image data, which is developed in a development area 68. Then, after the command conversion unit 69 converts the print command into a print command that can be interpreted by the printer 30, the print command is transmitted from the transmission / reception unit 76 to the printer 30. When a print command for one page is transmitted to the printer 30, the print command creation unit 64 creates a print command for the next page, that is, the back side. At this time, the rasterizer 65 converts the drawing command into RGB image data according to an instruction from the rasterization control unit 70, and develops the image in the development area 66 with the image upside down. Next, when the color conversion / halftone processing unit 67 reads the RGB image data from the development area 66, the color conversion / halftone processing unit 67 reads the RGB image data from the opposite direction to the normal direction, converts this to CMYK binary image data, Expand in the expansion area 68. As a result, the back side image data is developed in the development area 68 in a state rotated by 180 °. The CMYK binarized image data is converted into a command by the commanding unit 69 and transmitted to the printer 30 as a print command for the back side.
[0050]
When the printer 30 receives the above print command, it prints on the surface of the paper based on the odd page print command sent earlier. When printing on the front side is completed, the sheet is sent to the reversing mechanism 50, where the front and back sides are reversed and sent again to the position facing the print head. Then, printing based on the print command of the even page sent later is performed on this back surface, and printing is performed on both the front and back surfaces. At this time, the reversal time from when the front surface is printed to when printing of the back surface is started is the reversal time sent from the host 10 in step 8. As described above, in this embodiment, printing on the back surface is not performed until the ink on the front surface is dried, so that it is possible to prevent the surface from rubbing against a roller or the like to deteriorate print quality.
[0051]
In step 7, if there is no response “printing on both sides” from the printer 30, the print command creation unit 64 sequentially creates only odd page print commands (step 11), and the transmission / reception unit 76 transmits this to the printer 30. (Step 12). In creating a print command for only odd pages, the rasterization control unit 70 of the print command creation unit 64 gives an instruction to the rasterizer 65 and sends a drawing command for only odd pages from the spool file storage unit 62 to the rasterizer 65. Read it. The printer 30 performs printing in the normal single-sided printing mode based on the print command for only odd pages.
[0052]
When the transmission of the print command for only odd pages is completed (step 12), the transmission / reception unit 76 inquires of the printer 30 whether printing of odd pages has been completed (step 13). In response to this inquiry, when “odd page printing end” is received from the printer 30 (step 14), the display unit 71 of the host 10 sends a message “Odd page printing has been completed. Please "and an" OK "button are also displayed (step 15).
[0053]
The user sees this display and turns over the paper 1 on which only odd pages are printed on the paper discharge tray 48 (shown in FIG. 2) of the printer 30 and sets it on the paper feed tray 44. When the setting is completed, an “OK” button displayed on the display unit 71 is clicked.
[0054]
When the “OK” button is clicked, the host 10 creates a print command for only even pages (step 17), and sequentially transmits this to the printer 30 (step 18). Upon receiving this print command, the printer 30 prints even pages on the back side of the paper on which odd pages are printed.
[0055]
As described above, in this embodiment, even when an inkjet printer having a duplex printing function is connected to the host 10 or an inkjet printer not having a duplex printing function is connected, duplex printing is performed. If indicated, double-sided printing can be performed, and the burden on the user can be reduced.
[0056]
Moreover, even if duplex printing is performed with an inkjet printer having a duplex printing function, the paper is not reversed until the ink on the first printed side is dry, thus preventing deterioration in print quality on the first printed side. it can.
[0057]
Furthermore, in the present embodiment, the left and right margin areas that are different between the odd-numbered pages and the even-numbered pages can be set in consideration of the binding margin of the paper during double-sided printing. This margin area can also be set in the single-sided printing mode.
[0058]
When the application 61 sets the print area 2 as shown in FIG. 8A and sets the printing conditions (step 1), the margin area 95 as shown in FIG. 8B is set. The area that can be actually printed becomes the area inside the margin area, which is narrower than the initially planned area 2. For this reason, in this embodiment, when the blank area 95 overlaps a part of the print area 2 set by the application 61, as shown in FIGS. Thus, the image is developed in a reduced size without changing the aspect ratio so that the image of the entire page fits in the region 97 excluding the overlapping portion 96. As described above, when the image is reduced and developed, the image is not printed with the image size planned by the user, so that the image may be reduced or displayed to be reduced. Here, the image of the entire page is accommodated in the area 97 excluding the overlapping portion 96 in the print area 2, but the image in the initially set print area is accommodated in the area 97. You may do it. In this reduction operation, the rasterization control unit 70 determines the reduction ratio with reference to the print area and the blank area stored in the print condition storage unit 63, and when the rasterizer 65 expands the drawing command, the rasterizer 65 The reduction ratio is informed and the image is developed at the reduction ratio.
[0059]
In the above embodiment, the left and right binding margins of the printing paper are considered, but both directions of the left and right binding margins and the upper and lower binding margins may be considered.
[0060]
In this case, in the margin setting screen shown in FIG. 6, as shown in FIG. 9, a binding margin position designation area for selecting whether the binding margin position is the left or right or top and bottom of the sheet is displayed. Enable to specify left / right or top / bottom. In addition, if the binding margin position is on the left and right sides of the paper, as in the above embodiment, if the printer can perform double-sided printing, the printer host transmits a normal rotation print image print command for odd pages and even pages. With respect to, a print command of a reverse print image (an image obtained by rotating a normal print image by 180 °) is transmitted, and when the printer cannot perform double-sided printing, a print command for a normal print image is transmitted for both odd and even pages. If the binding margin position is above and below the paper, the printer host sends a print command for a normal print image for both odd-numbered pages and even-numbered pages when the printer can print on both sides, and odd-numbered pages when the printer cannot print on both sides. A normal print image print command is transmitted with respect to, and a reverse print image print command is transmitted with respect to even pages.
[0061]
【The invention's effect】
According to the present invention, even when an inkjet printer having a double-sided printing function is connected to the printer host or when an inkjet printer having no double-sided printing function is connected, if double-sided printing is instructed, Double-sided printing can be performed, and the burden on the user can be reduced.
[Brief description of the drawings]
FIG. 1 is a circuit block diagram of a printer system according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram illustrating a configuration of a printing mechanism of an ink jet printer according to an embodiment of the present invention.
FIG. 3 is a functional block diagram of a printer host according to an embodiment of the present invention.
FIG. 4 is a functional block diagram of an ink jet printer according to an embodiment of the present invention.
FIG. 5 is a flowchart showing an operation of a printer host according to an embodiment of the present invention.
FIG. 6 is an explanatory diagram showing a margin setting screen according to an embodiment of the present invention.
FIG. 7 is an explanatory diagram showing a vertical relationship between a front surface and a back surface during double-sided printing according to an embodiment of the present invention.
FIG. 8 is an explanatory diagram illustrating processing when a blank area overlaps a part of a print area according to an embodiment of the invention.
FIG. 9 is an explanatory diagram showing a binding margin position designation area in a margin setting screen according to an embodiment of the present invention.
[Explanation of symbols]
1 ... paper 10 ... printer host 17 ... CD-ROM
20, 32 ... CPU
21, 33 ... ROM
22, 34 ... RAM
DESCRIPTION OF SYMBOLS 30 ... Inkjet printer 40 ... Printing mechanism 41 ... Print head 49 ... Attachment sensor 50 ... Reversing mechanism 61 ... Application 62 ... Spool file storage part 63 ... Print condition storage part 64 ... Print command creation part 65 ... Rasterizer 67 ... Color conversion half Tone processing unit 69 ... command conversion unit 70 ... rasterization control unit 70
71 ... Display unit 72 ... Input unit 73 ... User interface control unit 74 ... Inversion time setting unit 75 ... Transmission / reception control unit 76, 82 ... Transmission / reception unit 81 ... Print control unit

Claims (5)

インクジェットプリンタへ印刷コマンドを送信するプリンタホストにおいて、
両面印刷モードか片面印刷モードかを指定するモード指定手段と、
前記印刷コマンドを送信すると共に、前記モード指定手段で両面印刷モードが指定されると、前記インクジェットプリンタに対して、両面印刷可能であるか否かの問い合わせを行い、該インクジェットプリンタから両面印刷可能であるか否かの旨を受信する送受信手段と、
前記モード指定手段で両面印刷モードが指示され、且つ前記送受信手段が両面印刷可能である旨を受信すると、両面印刷モード用の印刷コマンドを作成し、前記モード指定手段で両面印刷モードが指定され、且つ前記送受信手段が両面印刷可能である旨を受信しないと、片面印刷モード用の印刷コマンドであって、奇数ページと偶数ページとのうちのいずれか一方のページに関する印刷コマンドのみを順次作成し、該一方のページに関する印刷コマンドの送信が終了してから、片面印刷モード用の印刷コマンドであって他方のページに関する印刷コマンドを順次作成する印刷コマンド作成手段と、
奇数ページと偶数ページとのうち、少なくとも一方のページの余白領域を設定する余白設定手段と、
前記モード指定手段で両面印刷モードが指定され、且つ前記余白設定手段で前記一方のページの余白領域が設定されると、該一方のページの左余白を他方のページの右余白として設定し、該一方のページの右余白を該他方のページの左余白に設定する残り余白自動設定手段と、
奇数ページの用紙と偶数ページの用紙とを表示すると共に、前記余白設定手段及び前記残り余白自動設定手段で設定された余白領域を表示する表示手段と、
を備えていることを特徴とするプリンタホスト。
In the printer host that sends the print command to the inkjet printer,
Mode designation means for designating the duplex printing mode or the simplex printing mode;
When the print command is transmitted and the double-sided printing mode is specified by the mode specifying unit, the inkjet printer is inquired whether double-sided printing is possible, and double-sided printing is possible from the inkjet printer. A transmission / reception means for receiving whether or not there is,
When the duplex printing mode is instructed by the mode designating unit and the transmission / reception unit receives that double-sided printing is possible, a print command for the duplex printing mode is created, and the duplex printing mode is designated by the mode designating unit, And if the transmission / reception means does not receive that double-sided printing is possible, it is a print command for the single-sided printing mode, and sequentially creates only the print command for either one of the odd page and the even page, Print command creation means for sequentially creating a print command for the other page that is a print command for the single-sided print mode after transmission of the print command for the one page is completed;
Margin setting means for setting a margin area of at least one of the odd page and the even page;
When the double-sided printing mode is specified by the mode specifying means and the margin area of the one page is set by the margin setting means, the left margin of the one page is set as the right margin of the other page, Automatic remaining margin setting means for setting the right margin of one page to the left margin of the other page;
Display means for displaying odd-numbered sheets and even-numbered sheets, and displaying margin areas set by the margin setting means and the remaining margin automatic setting means;
A printer host comprising:
インクジェットプリンタへ印刷コマンドを送信する送受信手段を有するプリンタホストの動作プログラムが記憶されている記憶媒体において、
両面印刷モードか片面印刷モードかを指定するモード指定手順と、
前記送受信手段に、前記印刷コマンドを送信させると共に、前記モード指定手順で両面印刷モードが指定されると、前記インクジェットプリンタに対して、両面印刷可能であるか否かの問い合わせを行わせ、該インクジェットプリンタから両面印刷可能であるか否かの旨の受信を制御する送受信制御手順と、
前記モード指定手順で両面印刷モードが指示され、且つ前記送受手段で両面印刷可能である旨が受信されると、両面印刷モード用の印刷コマンドを作成し、前記モード指定手順で両面印刷モードが指定され、且つ前記送受信手段で両面印刷可能である旨が受信されないと、片面印刷モード用の印刷コマンドであって、奇数ページと偶数ページとのうちのいずれか一方のページに関する印刷コマンドのみを順次作成し、該一方のページに関する印刷コマンドの送信が終了してから、片面印刷モード用の印刷コマンドであって他方のページに関する印刷コマンドを順次作成する印刷コマンド作成手順と、
奇数ページと偶数ページとのうち、少なくとも一方のページの余白領域を設定する余白設定手順と、
前記モード指定手順で両面印刷モードが指定され、且つ前記余白設定手順で前記一方のページの余白領域が設定されると、該一方のページの左余白を他方のページの右余白として設定し、該一方のページの右余白を該他方のページの左余白に設定する残り余白自動設定手順と、
奇数ページの用紙と偶数ページの用紙とを表示させると共に、前記余白指定手順及び前記残り余白自動設定手順で設定された余白領域を表示させる表示制御手順と、
を有していることを特徴とするプログラムが記憶されている記憶媒体。
In a storage medium in which an operation program of a printer host having transmission / reception means for transmitting a print command to an inkjet printer is stored,
A mode specification procedure for specifying whether the duplex printing mode or the simplex printing mode;
The transmission / reception means transmits the print command, and when the duplex printing mode is designated by the mode designation procedure, the inkjet printer is inquired whether duplex printing is possible, and the inkjet A transmission / reception control procedure for controlling reception of whether double-sided printing is possible from the printer;
When the duplex printing mode is instructed in the mode designation procedure and the fact that duplex printing is possible is received by the transmission / reception means, a print command for the duplex printing mode is created, and the duplex printing mode is designated in the mode designation procedure. If the transmission / reception means does not receive that double-sided printing is possible, the print command for the single-sided printing mode, which is for only one of the odd-numbered page and the even-numbered page, is created sequentially. A print command creation procedure for sequentially creating a print command for the other page that is a print command for the single-sided print mode after transmission of the print command for the one page is completed;
A margin setting procedure for setting a margin area of at least one of an odd page and an even page;
When the duplex printing mode is specified in the mode specifying procedure and the margin area of the one page is set in the margin setting procedure, the left margin of the one page is set as the right margin of the other page, A remaining margin automatic setting procedure for setting the right margin of one page to the left margin of the other page;
A display control procedure for displaying odd-numbered paper and even-numbered paper and displaying a margin area set in the margin designating procedure and the remaining margin automatic setting procedure;
A storage medium storing a program characterized by comprising:
請求項2に記載の記憶媒体において、
前記モード指定手順で両面印刷モードが指定され、且つ前記送受信手段で両面印刷可能である旨が受信さない場合、前記送受信制御手順が、該送受信手段に、前記一方のページに関する印刷コマンドを送信させた後に、前記インクジェットプリンタに対して、該一方のページに関する印刷を終了したか否かを問い合わせを行わせ、
前記送受信手段で、前記インクジェットプリンタから前記一方のページに関する印刷が終了した旨が受信されると、該一方のページに関する印刷が終了した旨を表示させ、前記他方のページの印刷実行指示を促す表示制御手順を有している、
ことを特徴とするプログラムが記憶されている記憶媒体。
The storage medium according to claim 2,
When the duplex designation mode is designated in the mode designation procedure and the transmission / reception means does not receive that double-sided printing is possible, the transmission / reception control procedure causes the transmission / reception means to transmit a print command for the one page. After that, the ink-jet printer is inquired as to whether or not printing on the one page is finished,
When the transmission / reception means receives from the ink jet printer that printing for the one page has been completed, a message is displayed to indicate that printing for the one page has been completed, and to prompt a print execution instruction for the other page. Have control procedures,
A storage medium storing a program characterized by the above.
請求項2及び3のいずれか一項に記載の記憶媒体において、
前記印刷コマンド作成手順で前記印刷コマンドを作成するための元になる描画コマンドを作成し、該描画コマンドに基づく印刷における用紙中の印刷領域を指定する描画コマンド作成手順を有するプログラムと共に使用されるプログラムが記憶され、
前記印刷コマンドに基づく印刷における用紙中の余白領域を設定する余白設定手順を有し、
前記印刷コマンド作成手順は、
前記描画コマンドをイメージ展開する描画手順と、
前記余白設定手順で余白領域が設定された結果、前記描画コマンド作成手順で指定された印刷領域の一部が該余白領域と重なると、該印刷領域であって、該余白領域と重なった部分を除く領域内に、1ページ分のイメージが収まるよう、前記描画手順に、1ページ分の前記描画コマンドを縮小してイメージ展開させる描画制御手順と、
を有している、
ことを特徴とするプログラムが記憶されている記憶媒体。
The storage medium according to any one of claims 2 and 3,
A program used together with a program having a drawing command creation procedure for creating a drawing command as a base for creating the print command in the print command creation procedure and designating a print area in a sheet in printing based on the drawing command Is remembered,
A margin setting procedure for setting a margin area in the paper in printing based on the print command;
The print command creation procedure includes:
A drawing procedure for developing the drawing command into an image;
As a result of setting the margin area in the margin setting procedure, if a part of the print area specified in the drawing command creation procedure overlaps with the margin area, the print area, which overlaps the margin area, A drawing control procedure for reducing the drawing command for one page and developing the image so that the image for one page fits in the excluded area;
have,
A storage medium storing a program characterized by the above.
請求項2から4のいずれか一項に記載の記憶媒体において、
前記インクジェットプリンタが前記両面印刷モードを実行する際、印刷用紙の一方の面に印刷してから、該印刷用紙を反転させて、該印刷用紙の他方の面に印刷し始めるまでの反転時間を設定する反転時間設定手順を有している、
ことを特徴とするプログラムが記憶されている記憶媒体。
The storage medium according to any one of claims 2 to 4,
When the inkjet printer executes the double-sided printing mode, the reversal time from when printing is performed on one side of the printing paper to when the printing paper is reversed and printing is started on the other side of the printing paper is set. Has a reversing time setting procedure to
A storage medium storing a program characterized by the above.
JP28474199A 1999-10-05 1999-10-05 Printer host and storage medium storing its operation program Expired - Fee Related JP3873545B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP28474199A JP3873545B2 (en) 1999-10-05 1999-10-05 Printer host and storage medium storing its operation program
EP00308713A EP1096421B1 (en) 1999-10-05 2000-10-04 Double-sided printing in an ink jet printer
EP05077153A EP1607903A3 (en) 1999-10-05 2000-10-04 Double-sided printing in an ink jet printer
AT00308713T ATE373851T1 (en) 1999-10-05 2000-10-04 TWO-SIDED PRINTING IN AN INKJET PRINTER
DE60036444T DE60036444T2 (en) 1999-10-05 2000-10-04 Two-sided printing in an inkjet printer
EP05077154A EP1610260A3 (en) 1999-10-05 2000-10-04 Double-sided printing in an ink jet printer
US11/184,896 US7576875B2 (en) 1999-10-05 2005-07-20 Ink jet printer, printer control unit, printer system including the same, and storage medium with the operation program of the printer control unit stored for controlling double-side printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28474199A JP3873545B2 (en) 1999-10-05 1999-10-05 Printer host and storage medium storing its operation program

Publications (2)

Publication Number Publication Date
JP2001109608A JP2001109608A (en) 2001-04-20
JP3873545B2 true JP3873545B2 (en) 2007-01-24

Family

ID=17682404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28474199A Expired - Fee Related JP3873545B2 (en) 1999-10-05 1999-10-05 Printer host and storage medium storing its operation program

Country Status (1)

Country Link
JP (1) JP3873545B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006030978A1 (en) 2004-09-17 2006-03-23 Ricoh Company, Ltd. Recording ink, ink cartridge, ink record, inkjet recording apparatus, and inkjet recording method
JP2019177583A (en) * 2018-03-30 2019-10-17 キヤノン株式会社 Printing apparatus, control method for printing apparatus, and printing system
JP7009285B2 (en) * 2018-03-30 2022-01-25 キヤノン株式会社 Printing device, control method of printing device, and printing system

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0710604B2 (en) * 1986-02-06 1995-02-08 キヤノン株式会社 Print control device
JPH05147208A (en) * 1991-11-30 1993-06-15 Mita Ind Co Ltd Ink jet printer
JPH061051A (en) * 1992-06-19 1994-01-11 Sharp Corp Document printing method
JP2879872B2 (en) * 1992-10-22 1999-04-05 キヤノン株式会社 Ink jet recording device
JP3434543B2 (en) * 1993-08-27 2003-08-11 株式会社リコー Image forming device
JPH07256975A (en) * 1994-03-25 1995-10-09 Fuji Xerox Co Ltd Printing processing device
JPH07273969A (en) * 1994-03-30 1995-10-20 Toshiba Corp Image information processing device
JPH08192553A (en) * 1995-01-18 1996-07-30 Canon Inc Printer
JP3558238B2 (en) * 1995-05-30 2004-08-25 富士ゼロックス株式会社 Printing condition specification device
JPH09185606A (en) * 1995-12-28 1997-07-15 Fuji Xerox Co Ltd Printing display device
JPH1067127A (en) * 1996-04-23 1998-03-10 Canon Inc Ink jet recording apparatus and image processing method
JPH1097395A (en) * 1996-09-19 1998-04-14 Canon Inc Print control apparatus, print control method for print apparatus, and storage medium storing computer-readable program
JPH10205625A (en) * 1997-01-23 1998-08-04 Nok Corp Sealing device
JP3593834B2 (en) * 1997-02-12 2004-11-24 富士ゼロックス株式会社 Printing condition specification device
JP3774562B2 (en) * 1997-03-07 2006-05-17 キヤノン株式会社 Printing control apparatus and method
JPH10324038A (en) * 1997-05-26 1998-12-08 Fuji Xerox Co Ltd Ink jet recorder and ink jet recording controller
JP3673643B2 (en) * 1997-07-30 2005-07-20 キヤノン株式会社 Print layout apparatus, print layout method, and storage medium

Also Published As

Publication number Publication date
JP2001109608A (en) 2001-04-20

Similar Documents

Publication Publication Date Title
EP1096421B1 (en) Double-sided printing in an ink jet printer
JP3894150B2 (en) Display control device
US20140078547A1 (en) Print control apparatus and method for printing images on a continuous sheet
JP2004199292A (en) Print control method and apparatus
US8194276B2 (en) Data processing apparatus, control method therefor, and program
US7808679B2 (en) Printing system for operating marginless printing on roll paper
JP3873545B2 (en) Printer host and storage medium storing its operation program
US6821037B2 (en) Printing device provided with cutter to cut recording paper
JP2005115528A (en) Printing system, printer host, printing support program, and printing method
JP2010284821A (en) Printing device
JP2002023991A (en) Printer, printer host, storage medium storing printer host operation program
US20130329248A1 (en) Image processing apparatus, method of controlling the same, and storage medium
JP2002036679A (en) Image forming system and image forming method
JP2000151977A (en) Image forming device, image forming controller and image forming system
JP2023026242A (en) Image formation device, method, and program
JP2008216986A (en) Image forming apparatus and image forming method
JP4940043B2 (en) Image forming apparatus and image forming program
JP2005088375A (en) Printing device
JP2026025446A (en) Recording device and control method for recording device
JP2006089147A (en) Printing system, printing control device, printer driver
JP2006164106A (en) Printer driver
JP2007253528A (en) Image forming apparatus and printing method
JP2007080090A (en) Image recording system, image recording apparatus setting method, setting program, and storage medium
JP2008107978A (en) Information processing device capable of print preview display
JP2015005836A (en) Image editing device and image forming apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060331

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060912

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061016

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111102

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111102

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121102

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121102

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131102

Year of fee payment: 7

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