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
JP4120143B2 - Printing system and computer-readable medium - Google Patents
[go: Go Back, main page]

JP4120143B2 - Printing system and computer-readable medium - Google Patents

Printing system and computer-readable medium Download PDF

Info

Publication number
JP4120143B2
JP4120143B2 JP2000267914A JP2000267914A JP4120143B2 JP 4120143 B2 JP4120143 B2 JP 4120143B2 JP 2000267914 A JP2000267914 A JP 2000267914A JP 2000267914 A JP2000267914 A JP 2000267914A JP 4120143 B2 JP4120143 B2 JP 4120143B2
Authority
JP
Japan
Prior art keywords
page
printing
document
print
horizontal
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 - Lifetime
Application number
JP2000267914A
Other languages
Japanese (ja)
Other versions
JP2002079717A (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
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2000267914A priority Critical patent/JP4120143B2/en
Publication of JP2002079717A publication Critical patent/JP2002079717A/en
Application granted granted Critical
Publication of JP4120143B2 publication Critical patent/JP4120143B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、印刷システム及びコンピュータ可読媒体に関する。
【0002】
【従来の技術】
近年のアプリケーションソフトには、1つの文書内に、ポートレート印刷を行なわせるページと、ランドスケープ印刷を行なわせるページとを混在させることができるもの(表計算ソフトやワープロソフト)がある。ここで、ポートレート印刷とは、印字行が用紙の短辺に平行となる印刷(用紙を縦長に置いて見る印刷結果が出力される印刷)のことである。また、ランドスケープ印刷とは、印字行が用紙の長辺に平行となる印刷(用紙を横長に置いて見る印刷結果が出力される印刷)のことである。以下、ポートレート印刷を行なわせるページを“縦ページ”と表記し、ランドスケープ印刷を行なわせるページを“横ページ”と表記する。
【0003】
また、縦ページと横ページとを、1枚の用紙の裏面と表面とにそれぞれ印刷することができる印刷システム(プリンタとそのプリンタ用のプリンタドライバがインストールされたコンピュータ)も存在している。
【0004】
【発明が解決しようとする課題】
そのような両面印刷を行なえる従来の印刷システムでは、あるタイプの印刷を行わせた場合、読みにくい見開きが形成されてしまう印刷物が得られるものとなっていた。
【0005】
具体的には、第1ないし第3ページが横ページであり、第4ないし第7ページが縦ページであり、第8ページが横ページである全8ページの文書の両面印刷が、左綴じを指定して行なわれた場合、従来の印刷システムでは、各面に、図17(a)〜(d)に示したような印刷がなされた4枚(8ページ分)の用紙が排出される。なお、各図において、左側に示した図形が表面の印刷結果を示したものであり、右側に示した図形が裏面の印刷結果を示したものである(両面印刷は、用紙を図の上下方向に裏返すことにより行われる)。また、網掛けを付してある部分が、左綴じが指定されているために設けられている綴じ代である。また、この図では、“第1ページ”、“第2ページ”等の文字列が、1ページ分の文書が用紙上にどのような向きで印刷されるかと、そのページが何ページであるかとを、示している。
【0006】
これらの4枚の用紙を綴じ代部分で綴じた書類の第2、第3ページの見開き部分は、図18(a)に示したように、第2ページが左にあり、第3ページが右にある状態で読めるものとなる。すなわち、この書類の第1ページ〜第3ページは、通常の左開きの本と同じように、その内容を読むことができる。
【0007】
しかしながら、この書類の第4,5ページの見開き部分は、図18(b)に示したように、先頭側のページである第4ページを下側にしないと読めないものとなる。第6、7ページの見開き部分(図18(c))についても、同様に、先頭側のページを下側にしないと読めないものとなる。
【0008】
従来のシステムは、第1ページが縦ページである、横ページが混在した文書の両面印刷を上綴じで行わせた場合と、第1ページが縦ページである、横ページが混在した文書の両面印刷を右綴じで行わせた場合とにも、同様の問題が生ずるものとなっている。
【0009】
そこで、本発明の課題は、縦ページと横ページとが混在した文書の両面印刷を、印刷結果を綴じたものが見にくい見開きが存在しないものとなるように行える印刷システムを提供することにある。
【0010】
また、本発明の他の課題は、そのような印刷システムを、印刷装置とそれに接続されたコンピュータとで実現するためのコンピュータ可読媒体を、提供することにある。
【0011】
【課題を解決するための手段】
上記課題を解決するために、本発明では、或るサイズの用紙に横書きでランドスケープ印刷を行うべきページである横ページと,当該サイズの用紙に横書きでポートレイト印刷を行うべきページである縦ページとを含む書類を表す書類データに関する両面印刷要求を受け付ける受付手段と、この受付手段で両面印刷要求が受け付られた書類データに基づき、所定位置で綴じられることにより、各見開きを構成することになる2ページのそれぞれが、先頭側のページを末尾側のページに対して左側或いは上側となるように配置した状態で読める書類が形成される複数枚の両面印刷物を得るための印刷方向をページ毎に決定する印刷方向決定手段と、書類データに基づく書類の各ページの印刷を、印刷方向決定手段によって決定された印刷方向に従って行う印刷手段とを用いて、印刷システムを構成する。
【0012】
換言すれば、本発明の印刷システムは、縦ページと横ページとが混在した書類の両面印刷が行われたときに、綴じた状態で読み易い両面印刷物を得ることを考慮した構成を有する。なお、上記のように機能する印刷方向決定手段としては、さまざまな構成のものが採用できるが、書類データが表す書類の第1ページが横ページ,縦ページのいずれであるかに基づき、各ページの印刷方向を、通常の印刷方向、通常の印刷方向を180度回転させた印刷方向のいずれかに決定するものとしておけば、印刷方向決定手段を極めて簡単に実現することができる。
【0013】
本発明の印刷システムを実現する際には、受付手段として、綴じ位置の指定要求も受け付ける手段を採用し、印刷方向決定手段として、受付手段でその指定要求が受け付けられた綴じ位置で綴じられることにより、各見開きを構成する2ページのそれぞれが、先頭側のページを末尾側のページに対して左側或いは上側となるように配置した状態で読める書類が形成される複数枚の両面印刷物を得るための印刷方向を決定する手段を採用しておくことが出来る。
【0014】
換言すれば、特定の位置で綴じるための両面印刷物のみを印刷できるように、印刷システムを構成しておいても良いが、綴じ位置をユーザが指定できるように、印刷システムを構成しておくことが望ましい。なお、本発明の印刷システムは、コンピュータと印刷装置とからなるシステムとして実現しても良く、いわゆる、印刷装置(書類データ等をコンピュータから受けとって印刷を行う装置)として実現しても良い。
【0015】
また、本発明のコンピュータ可読媒体は、両面印刷が可能な印刷装置に接続されたコンピュータを、或るサイズの用紙に横書きでランドスケープ印刷を行うべきページである横ページと,当該サイズの用紙に横書きでポートレイト印刷を行うべきページである縦ページとを含む書類を表す書類データに関する両面印刷要求を受け付ける受付手段と、この受付手段で両面印刷要求が受け付られた書類データに基づき、所定位置で綴じられることにより、各見開きを構成することになる2ページのそれぞれが、先頭側のページを末尾側のページに対して左側或いは上側となるように配置した状態で読める書類が形成される複数枚の両面印刷物を得るための印刷方向をページ毎に決定する印刷方向決定手段と、書類データに基づく書類の各ページの印刷が、印刷方向決定手段によって決定された印刷方向に従って行われることになる印刷ジョブデータを作成して印刷装置に供給する印刷ジョブデータ供給手段とを備える装置として動作させるためのプログラムを記録してなる。
【0016】
このコンピュータ可読媒体を用いれば、コンピュータと印刷装置とを、本発明の印刷システム相当のシステムとして動作させることができることになる。
【0017】
本発明のコンピュータ可読媒体を実現するに際しては、印刷方向決定手段が、書類データが表す書類の第1ページが横ページ,縦ページのいずれであるかに基づき、各ページの印刷方向を、通常の印刷方向、通常の印刷方向を180度回転させた印刷方向のいずれかに、決定する手段となるプログラムを記録しておいても良く、受付手段が、綴じ位置の指定要求も受け付ける手段として機能し、印刷方向決定手段が、受付手段でその指定要求が受け付けられた綴じ位置で綴じられることにより、各見開きを構成する2ページのそれぞれが、先頭側のページを末尾側のページに対して左側或いは上側となるように配置した状態で読める書類が形成される複数枚の両面印刷物を得るための印刷方向を決定する手段として機能するようなプログラムを記録しておいても良い。
【0018】
【発明の実施の形態】
以下、本発明の実施の形態を、図面を参照して詳細に説明する。
【0019】
まず、図1を用いて、本発明の一実施形態に係る印刷システムの概要を説明する。
【0020】
図示したように、本実施形態に係る印刷システムは、コンピュータ10と、コンピュータ10に接続されたプリンタ30とからなる。
【0021】
プリンタ30は、縦ページと横ページとを1枚の用紙の各面に印刷することが出来る機器(詳細は後述)である。
【0022】
コンピュータ10は、CPU21とその周辺機器(HDD26、CD−ROMドライブ27等)とからなるコンピュータ本体11,ディスプレイ12及び入力装置13を備える。コンピュータ10(HDD26)には、プリンタ30用のプリンタドライバ31が、CD−ROM32からインストールされている。
【0023】
なお、CD−ROM32に記録されたプリンタドライバ31は、Windows 95/98/NT/2000(米国Microsoft Corporationの米国及びその他の国における登録商標)上で動作するものとして作成されている。すなわち、CD−ROM32は、コンピュータ10が、CD−ROMドライブ27を備え、そのOSがWindows 95/98/NT/2000(以下、単に、Windowsと表記する)であることを想定したものとなっている。
【0024】
以下、本印刷システムの動作を説明する。
【0025】
まず、プリンタ30の動作(仕様)を説明する。なお、本実施形態に係るプリンタ30は、用紙サイズによっては、用紙を横向きに(短辺と平行な方向に)搬送しての両面印刷も可能な装置なのであるが、説明の便宜上、以下では、印刷時には、用紙が縦向きに(長辺と平行な方向に)搬送されるものとする。また、用紙が示された各図において、用紙は、図の上方に向けて搬送される(用紙は、両面印刷時、図における上下方向に裏返される)ものとする。
【0026】
両面印刷時、プリンタ30は、印刷方向、綴じ方向、表TO、表LO、裏TO、裏LOが、夫々、設定された状態で、各ページに関する印刷データの供給を受ける。
【0027】
印刷方向は、用紙上への印刷の仕方を規定する情報である。プリンタ30には、ポートレイト、ランドスケープ、リバースランドスケープ、リバースポートレイトと名付けられた4種の印刷方向(以下、それぞれ、“P”、“L”、“RP”、“RL”とも表示する)のいずれかが、印刷方向設定コマンドにより設定される。
【0028】
ポートレイトが設定されている場合、プリンタ30は、図2(a)に模式的に示したように、用紙の短辺に印字行(図では、“ABC”)が平行となる形で印刷を行なう。また、ランドスケープが指定されている場合、プリンタ30は、図2(b)に模式的に示したように、用紙の長辺に印字行が平行となる形で印刷を行なう。
【0029】
リバースポートレイトが指定されている場合、プリンタ30は、図2(c)に模式的に示したように、用紙の短辺に印字行が平行となる形ではあるが、印字方向(印字行において文字が並んだ方向)が、ポートレートによる印刷時とは180度異なるように、印刷を行う。そして、リバースランドスケープが指定されている場合、プリンタは、図2(d)に模式的に示したように、用紙の長辺に印字行が平行となり、印字方向がランドスケープとは180度異なるように、印刷を行なう。
【0030】
綴じ方向は、綴じ代を、用紙の短辺と長辺のいずれに設けるかを指定する情報である。換言すれば、綴じ方向は、綴じ代を設ける辺が短辺であるか長辺であるかを示す情報ではあるが、綴じ代を設ける辺が、用紙の2つの辺(2つの短辺あるいは2つの長辺)のいずれであるかを示さない情報となっている。
【0031】
綴じ方向として、綴じ代を長辺に設ける“LE”が指定されている場合、図3及び図4に示してあるように、プリンタ30では、印刷方向の指定が“P”、“L”、“RP”、“RL”のいずれであっても、用紙の裏面には、印字方向を、表面とは180度異なる向きとした印刷が行われる。また、綴じ方向として、綴じ代を短辺に設ける“SE”が指定されている場合、印刷方向の指定が“P”、“L”、“RP”、“RL”のいずれであっても、用紙の裏面には、印字方向を、表面と同じ向きとした印刷が行われる。なお、印字方向に関する上記説明が成立するのは、用紙が縦向きに搬送されるときだけである。用紙が横向きに搬送される場合には、逆に、綴じ方向が“SE”であるときに、用紙の裏面に、印字方向を表面とは180度異なる向きとした印刷が行われる。
【0032】
表TO(Top Offset)、表LO(Left Offset)は、それぞれ、表面印刷時における印刷開始位置のY方向、X方向のオフセットであり、裏TO、裏LOは、それぞれ、裏面印刷時における印刷開始位置のY方向、X方向のオフセットである。なお、本プリンタ30において、X方向とは、印字方向と一致する方向のことであり、Y方向とは、印字方向と直交する方向(印字方向を時計周りに90度回転させた方向)のことである。
【0033】
すなわち、ポートレート印刷が行なわれる場合には、図5(a)に示したように、X方向は、用紙の短辺と平行な方向となり、Y方向は、用紙の長辺と平行な方向となる。また、ランドスケープ印刷が行なわれる場合には、図5(b)に示したように、X方向は、用紙の長辺と平行な方向となり、Y方向は、用紙の短辺と平行な方向となる。
【0034】
そして、表面の印刷は、図6(a)〜(c)に示したように、表TO、表LOで指定される位置から行われる。すなわち、表LOがm(>0)、表TOが“0”とされている場合には、用紙に対する印刷開始位置を右側に“m”だけずらした形で印刷が行われる(図6(a))。表LOが“0”、表TOがmとされている場合には、用紙に対する印刷開始位置を下側に“m”だけずらした形で印刷が行われる(図6(b))。表LOが“−m”、表TOが“0”とされている場合には、用紙に対する印刷開始位置を左側に“m”だけずらした形で印刷が行われる(図6(c))。ランドスケープ印刷の場合も同様である。また、裏面の処理時には、その時点における裏LO、裏TOに基づき、同様の印刷が行われる。
【0035】
次に、コンピュータ10(プリンタドライバ31に従ったCPU21)の動作を説明する。
【0036】
図7に、ある書類の両面印刷が指示されたときに、プリンタドライバ31に従ったCPU21によって実行される処理の流れ図を示す。なお、この図に示した処理は、通常、綴じ代m(>0)と、綴じ位置(左、右、上のいずれに綴じ代を設けるかの指定)とが指定された状態で開始される。また、綴じ代mが指定されていない場合(m=0の場合;綴じ位置が明示的に指定されていない両面印刷の場合)、綴じ位置が“左”であるとして、この図に示した処理が実行される。
【0037】
図示したように、ある書類の両面印刷が指示された場合、まず、処理に用いられる変数の初期化が行われる(ステップS101)。このステップS101で初期化される変数には、旧ページ種類と旧用紙サイズとがある。旧ページ種類は、それまで印刷が行われていたページが縦ページであるか横ページであるかを記憶しておくための変数である。旧用紙サイズは、それまで印刷が行われていた用紙の用紙サイズを記憶しておくための変数である。このステップS101において、旧ページ種類、旧用紙サイズは、それぞれ、印刷が行われていないことを示す情報“未定”に初期化される。
【0038】
次いで、処理すべきページデータがあるか否か(アプリケーション/OSからの印刷要求の処理が完了していないか完了しているか)が判断される(ステップS102)。処理すべきページデータが残っている場合(ステップS102;YES)、そのページを印刷すべき用紙の用紙サイズ、そのページのページ種類が、それぞれ、新用紙サイズ、新ページ種類として認識される(ステップS103)。ページ種類は、ページが縦ページであるか横ページであるかを示す情報である。以下、ページが縦ページ、横ページであることを示すページ種類を、それぞれ、“縦”、“横”と表記する。
【0039】
その後、旧用紙サイズと新用紙サイズとが一致しているか否かが判断される(ステップS104)。
【0040】
両者が一致していなかった場合(ステップS104;NO)、すなわち、旧用紙サイズが“未定”である第1ページに関するページデータの処理開始時と実際に用紙サイズがそれまでとは用紙サイズとは異なるものとなったページデータの処理開始時には、新用紙サイズが、旧用紙サイズとして記憶される(ステップS105)。次いで、プリンタ30に対して、新用紙サイズの用紙の使用を指示する用紙サイズコマンドが送信される(ステップS106)。そして、綴じ方向設定処理(ステップS107)が実行される。
【0041】
図8に、綴じ方向設定処理の流れ図を示す。図示したように、この処理では、新ページ種類が“横”であり(ステップS201;横)、綴じ位置が“左”であった場合(ステップS202;左)には、変数CASEに“3”が設定されるとともに、変数MDRCに“SE”が設定される(ステップS204)。
【0042】
また、新ページ種類が“横”であり(ステップS201;横)、綴じ位置が“右”であった場合(ステップS202;右)、CASEに“5”が設定されるとともに、MDRCに“SE”が設定される(ステップS205)。新ページ種類が“横”であり(ステップS201;横)、綴じ位置が“上”であった場合(ステップS202;上)には、CASEに“1”が、MDRCに“LE”が設定される(ステップS206)。
【0043】
新ページ種類が“縦”であり(ステップS201;縦)、綴じ位置が“左”であった場合(ステップS203;左)にも、CASEに“1”が設定され、MDRCに“SE”が設定される(ステップS206)。新ページ種類が“縦”であり(ステップS201;縦)、綴じ位置が“右”であった場合(ステップS203;右)、CASEに“4”が設定され、MDRCに“LE”が設定される(ステップS207)。新ページ種類が“縦”であり(ステップS201;縦)、綴じ位置が“上”であった場合(ステップS203;上)には、CASEに“2”が設定され、MDRCに“SE”が設定される(ステップS208)。
【0044】
ステップS204〜S208のいずれかが実行された後、その時点における変数MDRCの値に応じた綴じ方向設定コマンドが、プリンタ30に送信され(ステップS210)、綴じ方向設定処理が終了される。なお、CASE値は、ステップS111にて実行される印刷方向・オフセット設定処理時に用いられる値である。CASE値は、綴じ代設定処理が再び実行されるまで、書き換えられることなくコンピュータ10内に保持される。
【0045】
このような綴じ方向設定処理の終了後には、新ページ種類と旧ページ種類とが一致しているか否かが判断される(図7:ステップS110)。なお、新用紙サイズと旧用紙サイズとが一致していた場合(ステップS104;YES)、ステップS105〜S107が実行されることなく、このステップS110が実行される。
【0046】
新ページ種類と旧ページ種類とが一致していなかった場合(ステップS110;NO)、印刷方向・オフセット設定処理(ステップS111)が実行される。
【0047】
印刷方向・オフセット設定処理では、その時点におけるCASE値と新ページ種類とに応じた印刷方向及びオフセットが、プリンタ30に設定される。
【0048】
具体的には、図9に示したように、CASE値が“1”であり(ステップS301;=1)、新ページ種類が“縦”であった場合(ステップS311;縦)、変数ORNTに“P”が設定されるとともに、変数OTYPに“A”が設定される(ステップS312)。後述するように、印刷方向・オフセット設定処理では、変数ORNTに設定された値が、プリンタ30に印刷方向として設定される。また、変数OTYPに設定された値に基づき、表LO、表TO、裏LO及び裏TOが決定され、決定された各オフセット値がプリンタ30に設定される。
【0049】
CASE値が“1”であり(ステップS301;=1)、新ページ種類が“横”であった場合(ステップS311;横)、ORNTに“L”が設定され、OTYPに“B”が設定される(ステップS312)。
【0050】
CASE値が“2”であり(ステップS301;=2)、新ページ種類が“縦”であった場合(ステップS321;縦)、ORNTに“P”が設定され、OTYPに“B”が設定される(ステップS322)。CASE値が“2”であり(ステップS301;=2)、新ページ種類が“横”であった場合(ステップS321;横)、ORNTに“RL”が、OTYPに“A”が設定される(ステップS323)。
【0051】
CASE値が“3”であり(ステップS301;=3)、新ページ種類が“縦”であった場合(ステップS331;縦)、ORNTに“RP”が設定され、OTYPに“A”が設定される(ステップS332)。CASE値が“3”であり(ステップS301;=3)、新ページ種類が“横”であった場合(ステップS331;横)、ORNTに“L”が設定され、OTYPに“B”が設定される(ステップS333)。
【0052】
CASE値が“4”であり(ステップS301;=4)、新ページ種類が“縦”であった場合(ステップS341;縦)、ORNTに“P”が、OTYPに“C”が設定される(ステップS342)。CASE値が“4”であり(ステップS301;=4)、新ページ種類が“横”であった場合(ステップS341;横)、ORNTに“RL”が、OTYPに“B”が設定される(ステップS343)。
【0053】
CASE値が“5”であり(ステップS301;=5)、新ページ種類が“縦”であった場合(ステップS311;縦)、ORNTに“P”が、OTYPに“B”が設定される(ステップS321)。CASE値が“5”であり(ステップS301;=5)、新ページ種類が“横”であった場合(ステップS351;横)、ORNTに“L”が、OTYPに“C”が設定される(ステップS353)。
【0054】
CASE値と新ページ種類に応じた値が、変数ORNTと変数OTYPとに設定された後には、変数OYTPの値と綴じ幅mとに基づき、プリンタ30に設定する4種のオフセット値が決定される(ステップS361〜S364)。
【0055】
具体的には、OTYPが“A”であった場合(ステップS361:=A)、表LO、表TO、裏LO及び裏TOが、それぞれ、“m”、“0”、“−m”及び“0”とされる(ステップS362)。OTYPが“B”であった場合(ステップS361:=B)、表LO、表TO、裏LO及び裏TOが、それぞれ、“0”、“m”、“0”、“−m”とされる(ステップS363)。OTYPが“C”であった場合(ステップS361:=B)には、表LO、表TO、裏LO及び裏TOが、それぞれ、“−m”、“0”、“m”、“0”とされる(ステップS364)。
【0056】
そして、変数ORNTに記憶された印刷方向で印刷を行わせるための印刷方向設定コマンドと、ステップS362〜S364のいずれかで設定された表LO、表TO、裏LO及び裏TOで印刷を行わせるためのオフセット設定コマンドとが、プリンタ30に対して送信され(ステップS365)、印刷方向・オフセット設定処理が終了される。
【0057】
印刷方向・オフセット設定処理の終了後には、新ページ種類が旧ページ種類として記憶される(図6:ステップS112)。次いで、ページデータを解釈してプリンタ30用の言語の印刷データを作成してプリンタ30に供給する処理(ステップS113)が実行される。すなわち、印刷ジョブデータの一部が作成されてプリンタ30に供給される。また、新ページ種類と旧ページ種類とが一致していた場合(ステップS110;YES)には、印刷方向・オフセット設定処理等が実行されることなく、このステップS113が実行される。
【0058】
そして、ステップS113が終了した際には、改ページコマンドがプリンタ30に送信される(ステップS114)。
【0059】
ステップS114の実行後には、ステップS102からの処理が再び実行され、次のページデータが存在した場合(ステップS102;YES)には、そのページデータに対して、ステップS103以降の処理が実行される。そして、処理すべきぺージデータが無くなったときに(ステップS102;NO)に、図示した処理が終了される。
【0060】
以下、図10、11を参照して、本印刷システムの動作をさらに具体的に説明する。なお、図10、11は、綴じ方向、印刷方向及びオフセットと、各面の印刷結果との対応関係を示した図である。
【0061】
流れ図を用いて説明したように、本印刷システムでは、第1ページが横ページの書類を左綴じで両面印刷することが指示された場合、第1ページに対する処理時に実行される綴じ方向設定処理において、CASE値が“3”とされ、綴じ方向“SE”がプリンタ30に通知される。そして、新、旧ページ種類が一致していないために実行される印刷方向・オフセット設定処理において、CASE値が“3”であり、新ページ種類が“横”であるため、印刷方向を“L”、表LO、表TO、裏LO及び裏TOを、それぞれ、“0”、“m”、“0”及び“−m”とすることが、プリンタ30に通知される。
【0062】
プリンタ30は、綴じ方向と印刷方向の組み合わせに対して、図3、4を用いて説明したように動作し、オフセットに対して、図5を用いて説明したように動作する。
【0063】
従って、綴じ方向等が上記のように設定された場合、プリンタ30は、表面、裏面の印刷を、それぞれ、図10に、F4、B4と符号を付して示してある形態で行う状態をとる。
【0064】
この状態で何ページ分かの印刷データがプリンタ30に供給された後に、印刷すべきページが縦ページに変わった場合、ステップS110で“NO”側への分岐が行われる。すなわち、CASE値が“3”、新ページ種類が“縦”の状態で、印刷方向・オフセット設定処理が実行される。その結果、印刷方向を“RP”、表LO、表TO、裏LO、裏TOを、それぞれ、“m”、“0”、“−m”、“0”とすることが、プリンタ30に通知される。
【0065】
従って、プリンタ30は、表面の印刷を、F6(図11)のような形態で行い、裏面の印刷を、B6のような形態で行う状態をとる。そして、ステップS113が実行される結果、横ページが、実際に、F6或いはB6のような形態で印刷されることになる。
【0066】
この後、横ページが再び現れた場合、CASE値が“3”であり、ページ種類が“横”である状態で印刷方向・オフセット設定処理が実行されるので、印刷方向を“L”、表LO、表TO、裏LO、表TOを、それぞれ、“0”、“m”、“0”、“−m”とすることが、再び、プリンタ30に通知される。従って、プリンタ30は、表面の印刷を、F4のような形態で行い、裏面の印刷を、B4のような形態で行う状態に戻る。
【0067】
すなわち、第1ページが横ページの書類を左綴じで両面印刷することが指示された場合、本印刷システムでは、表面に印刷すべき横ページは、F4のように印刷され、表面に印刷すべき縦ページは、F6のように印刷される。また、裏面に印刷すべき横ページは、B4のように印刷され、裏面に印刷すべき横ページは、B6のように印刷される。
【0068】
同様に流れ図を追えば、第1ページが縦ページの書類を左綴じで両面印刷することが指示された場合、及び、第1ページが横ページの書類を上綴じで両面印刷することが指示された場合(これらの場合には、CASE値が“1”となる)には、F1、F2、B1、B2の組み合わせで印刷が行われることが確認できる。
【0069】
また、第1ページが縦ページの書類を、上綴じで両面印刷することが指示された場合(この場合、CASE値が“2”となる)には、F3、F7、B3、B7の組み合わせで印刷が行われることが確認できる。さらに、第1ページが縦ページの書類を、右綴じで両面印刷することが指示された場合(この場合、CASE値が“4”となる)には、F5、F8、B5、B8の組み合わせで印刷が行われることが確認できる。そして、第1ページが横ページの書類を、右綴じで両面印刷することが指示された場合(この場合、CASE値が“5”となる)には、F3、F9、B3、B9の組み合わせで印刷が行われることが確認できる。
【0070】
従って、本印刷システムに、例えば、第1〜第3ページが縦ページであり、第4〜第7ページが横ページであり、第8ページが縦ページである文書の両面印刷を行わせたとき、綴じ位置が“左”であった場合には、図12に模式的に示したように、第1ないし第8ページの印刷が、それぞれ、F1、B1、F1、B2、F2、B2、F2、B1の形態で行われることになる。また、綴じ位置が“上”であった場合には、第1ないし第8ページの印刷が、それぞれ、F3、B3、F3、B7、F7、B7、F7、B3の形態で行われることになる。また、綴じ位置が“右”であった場合には、第1ないし第8ページの印刷が、それぞれ、F8、B8、F8、B6、F6、B6、F6、B8の形態で行われることになる。
【0071】
また、本印刷システムに、第1〜第3ページが横ページであり、第4〜第7ページが縦ページであり、第8ページが横ページである文書の両面印刷を行わせたときにおいて、綴じ位置が“左”であった場合には、図13に模式的に示したように、第1ないし第8ページの印刷が、それぞれ、F4、B4、F4、B6、F6、B6、F6、B4で行われる。また、綴じ位置が“上”であった場合には、第1ないし第8ページの印刷が、それぞれ、F2、B2、F2、B1、F1、B1、F1、B2で行われる。また、綴じ位置が“右”であった場合には、第1ないし第8ページの印刷が、それぞれ、F9、B9、F9、B9、F3、B3、F3、B9で行われる。
【0072】
これら6種の印刷物は、それぞれ、綴じ代が設けられた部分で綴じた場合、見にくい見開きがないものとなっている。例えば、従来の印刷システムにおいては図16、17に示した結果が得られる文書の両面印刷を行った場合(図12の“左”に相当)、本印刷システムでは、プリンタ30から、図14(a)〜(d)に示した4枚の印刷結果が排出される。これらの4枚の用紙を、綴じ代が設けられた部分で綴じれば、図15(a)〜(c)に示したように、各見開きを構成する2ページのそれぞれが、先頭側のページを末尾側のページに対して左或いは上に配置した状態で読める書類が形成されることになる。
【0073】
以上、縦向き搬送が行われることとして、本印刷システムの動作の説明を行ったが、プリンタ30にて横向き搬送が行われる場合のコンピュータ10側の動作は、上記したものと全く同じものである。ただし、この場合、プリンタ30側では、図16に模式的に示したように、綴じ方向“SE”が指定されているときに、用紙の裏面の印刷が、印字方向を表面とは180度異なる向きとした形で行われることになる。なお、図16は、図10に対応するものであり、図16における用紙の搬送方向は、図10等と同じく、上方向である。
【0074】
<変形形態>
実施形態に係る印刷システムは、各種の変形を行なうことが出来る。例えば、印刷方向等を決定する処理が、プリンタ30側で行われるように、印刷システムを変形することもできる。すなわち、プリンタ30側でCASE値が管理されるようにしておくとともに、ページ種類が変わった際に、印刷方向(P、L、RP、RL)ではなく、新ページ種類がプリンタ30に通知され、その通知内容に応じてプリンタ側で印刷方向が決定されるように、印刷システムを構成しておいても良い。また、プリンタ30を、コンピュータ10から、表TO、表LO等ではなく、綴じ代mの通知を受ける装置としても良い。
【0075】
また、プリンタドライバ31を、Windows以外のOS上で動作するものとしても良いことや、プリンタドライバ31が記録された記録媒体が、“CD−ROM”でなくても良いことは当然である。
【0076】
【発明の効果】
本発明によれば、縦ページと横ページとが混在した、綴じられた結果が読みにくい見開きを有しない両面印刷物を得ることが出来る。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る印刷システムの構成図である。
【図2】印刷方向の説明図である。
【図3】綴じ方向及び印刷方向と、各面の印刷結果との対応関係を示した図である。
【図4】綴じ方向及び印刷方向と、各面の印刷結果との対応関係を示した図である。
【図5】X、Y方向の説明図である。
【図6】オフセットの説明図である。
【図7】プリンタドライバがインストールされたコンピュータの両面印刷時の動作手順を示した流れ図である。
【図8】綴じ方向設定処理の流れ図である。
【図9】印刷方向・オフセット設定処理の流れ図である。
【図10】綴じ方向、印刷方向及びオフセットと、各面の印刷結果との対応関係を示した図である。
【図11】綴じ方向、印刷方向及びオフセットと、各面の印刷結果との対応関係を示した図である。
【図12】実施形態に係る印刷システムによる、第1ページが縦ページの書類の印刷手順の説明図である。
【図13】実施形態に係る印刷システムによる、第1ページが横ページの書類の印刷手順の説明図である。
【図14】実施形態に係る印刷システムによって生成される印刷物の説明図である。
【図15】実施形態に係る印刷システムによって生成された印刷物を綴じた結果の説明図である。
【図16】実施形態に係る印刷システムにおける、横向き搬送が行われたときのプリンタの動作の説明図である。
【図17】従来の印刷システムによって生成される印刷物の説明図である。
【図18】従来の印刷システムによって生成された印刷物を綴じた結果の説明図である。
【符号の説明】
10 コンピュータ
11 コンピュータ本体
12 ディスプレイ
13 入力装置
21 CPU
26 HDD
27 CD−ROMドライブ
30 プリンタ
31 プリンタドライバ
32 CD−ROM
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printing system and a computer-readable medium.
[0002]
[Prior art]
In recent application software, there is software (spreadsheet software or word processor software) in which a page for portrait printing and a page for landscape printing can be mixed in one document. Here, portrait printing refers to printing in which a print line is parallel to the short side of the paper (printing that outputs a print result viewed by placing the paper vertically). Landscape printing refers to printing in which a print line is parallel to the long side of the paper (printing that outputs a print result viewed by placing the paper horizontally long). Hereinafter, a page for which portrait printing is performed is referred to as “vertical page”, and a page for which landscape printing is performed is referred to as “horizontal page”.
[0003]
There is also a printing system (a computer in which a printer and a printer driver for the printer are installed) that can print a vertical page and a horizontal page respectively on the back and front of a sheet of paper.
[0004]
[Problems to be solved by the invention]
In the conventional printing system capable of performing such double-sided printing, when a certain type of printing is performed, a printed matter in which a spread that is difficult to read is formed is obtained.
[0005]
Specifically, double-sided printing of all 8-page documents in which the first to third pages are horizontal pages, the fourth to seventh pages are vertical pages, and the eighth page is horizontal pages is left-binding. When specified, the conventional printing system discharges four sheets (eight pages) of paper printed on each side as shown in FIGS. 17A to 17D. In each figure, the graphic shown on the left side shows the printing result on the front surface, and the graphic shown on the right side shows the printing result on the back side. Done by turning it over.) Further, the shaded portion is a binding margin provided because the left binding is designated. Further, in this figure, the character strings such as “first page” and “second page” indicate in what direction the document for one page is printed on the paper, and how many pages the page is. Is shown.
[0006]
As shown in FIG. 18 (a), the spread pages of the second and third pages of the document in which these four sheets are bound at the binding margin portion, the second page is on the left and the third page is on the right. It will be readable in a certain state. That is, the contents of pages 1 to 3 of this document can be read in the same way as a normal left-open book.
[0007]
However, as shown in FIG. 18B, the spread portion of the fourth and fifth pages of this document cannot be read unless the fourth page, which is the first page, is placed on the lower side. Similarly, the spread pages of the sixth and seventh pages (FIG. 18C) cannot be read unless the top page is placed on the lower side.
[0008]
In the conventional system, double-sided printing of a document in which the first page is a vertical page and a mixture of horizontal pages is performed by upper binding, and both sides of a document in which the first page is a vertical page and a mixture of horizontal pages are performed. The same problem occurs when printing is performed with right binding.
[0009]
SUMMARY OF THE INVENTION An object of the present invention is to provide a printing system capable of performing double-sided printing of a document in which vertical pages and horizontal pages are mixed so that there is no spread that makes it difficult to view the printed result.
[0010]
Another object of the present invention is to provide a computer-readable medium for realizing such a printing system with a printing apparatus and a computer connected thereto.
[0011]
[Means for Solving the Problems]
In order to solve the above-described problems, the present invention applies a certain size of paper. In horizontal writing For landscape pages that should be printed on landscape and paper of that size In horizontal writing A receiving unit that receives a double-sided print request for document data representing a document including a vertical page that is a page to be portrait printed, and binding at a predetermined position based on the document data for which the double-sided print request is received by the receiving unit As a result, each of the two pages constituting each spread is formed with a plurality of sheets on which a document that can be read can be formed in a state where the top page is arranged on the left side or the top side with respect to the last page. A printing direction determining unit that determines a printing direction for obtaining a double-sided printed product for each page, and a printing unit that performs printing of each page of the document based on the document data in accordance with the printing direction determined by the printing direction determining unit. Configure the printing system.
[0012]
In other words, the printing system of the present invention has a configuration in consideration of obtaining a double-sided printed material that is easy to read in a bound state when double-sided printing of a document in which vertical pages and horizontal pages are mixed is performed. The printing direction determining means that functions as described above can be of various configurations, but each page is based on whether the first page of the document represented by the document data is a horizontal page or a vertical page. If the printing direction is determined to be either a normal printing direction or a printing direction obtained by rotating the normal printing direction by 180 degrees, the printing direction determining means can be realized very simply.
[0013]
When realizing the printing system of the present invention, a means for accepting a binding position designation request is adopted as the accepting means, and the printing direction determining means is bound at the binding position at which the designation request is accepted by the accepting means. In order to obtain a plurality of double-sided printed materials on which a document that can be read can be formed in a state where each of the two pages constituting each spread is arranged such that the first page is on the left side or the upper side with respect to the last page A means for determining the printing direction can be employed.
[0014]
In other words, the printing system may be configured so that only double-sided printed materials for binding at a specific position can be printed. However, the printing system should be configured so that the user can specify the binding position. Is desirable. The printing system of the present invention may be realized as a system including a computer and a printing apparatus, or may be realized as a so-called printing apparatus (an apparatus that receives document data from a computer and performs printing).
[0015]
Further, the computer-readable medium of the present invention allows a computer connected to a printing apparatus capable of duplex printing to be printed on a certain size paper. In horizontal writing For landscape pages that should be printed on landscape and paper of that size In horizontal writing A receiving unit that receives a double-sided print request for document data representing a document including a vertical page that is a page to be portrait printed, and binding at a predetermined position based on the document data for which the double-sided print request is received by the receiving unit As a result, each of the two pages constituting each spread is formed with a plurality of sheets on which a document that can be read can be formed in a state where the top page is arranged on the left side or the top side with respect to the last page. A print direction determining unit that determines a print direction for obtaining a double-sided printed product for each page, and a print job in which printing of each page of the document based on the document data is performed according to the print direction determined by the print direction determining unit. A program for operating as a device having print job data supply means for creating data and supplying the data to the printing device is described. And composed.
[0016]
If this computer-readable medium is used, the computer and the printing apparatus can be operated as a system equivalent to the printing system of the present invention.
[0017]
In realizing the computer readable medium of the present invention, the printing direction determining means determines the printing direction of each page based on whether the first page of the document represented by the document data is a horizontal page or a vertical page. A program serving as a means for determining may be recorded in either the print direction or the print direction obtained by rotating the normal print direction by 180 degrees, and the accepting means functions as a means for accepting a binding position designation request. The printing direction determining means is bound at the binding position at which the designation request is accepted by the accepting means, so that each of the two pages constituting each spread has the first page on the left side or the last page. A program that functions as a means for determining a printing direction for obtaining a plurality of double-sided printed materials on which a document that can be read is arranged in an upper side. It may be previously recorded.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0019]
First, the outline of a printing system according to an embodiment of the present invention will be described with reference to FIG.
[0020]
As illustrated, the printing system according to the present embodiment includes a computer 10 and a printer 30 connected to the computer 10.
[0021]
The printer 30 is a device (details will be described later) that can print a vertical page and a horizontal page on each side of one sheet.
[0022]
The computer 10 includes a computer main body 11, a display 12, and an input device 13 including a CPU 21 and peripheral devices (HDD 26, CD-ROM drive 27, etc.). A printer driver 31 for the printer 30 is installed from the CD-ROM 32 in the computer 10 (HDD 26).
[0023]
The printer driver 31 recorded in the CD-ROM 32 is created to operate on Windows 95/98 / NT / 2000 (registered trademark of Microsoft Corporation in the United States and other countries). That is, the CD-ROM 32 assumes that the computer 10 includes the CD-ROM drive 27 and that the OS is Windows 95/98 / NT / 2000 (hereinafter simply referred to as Windows). Yes.
[0024]
The operation of this printing system will be described below.
[0025]
First, the operation (specification) of the printer 30 will be described. Note that the printer 30 according to the present embodiment is a device that can perform double-sided printing by conveying a sheet in a landscape direction (in a direction parallel to the short side) depending on the sheet size. It is assumed that the paper is conveyed vertically (in a direction parallel to the long side) during printing. In each figure in which paper is shown, it is assumed that the paper is conveyed upward in the figure (the paper is turned upside down in the figure during double-sided printing).
[0026]
During duplex printing, the printer 30 is supplied with print data for each page with the printing direction, binding direction, front TO, front LO, back TO, and back LO set.
[0027]
The print direction is information that defines how to print on the paper. The printer 30 has four types of printing directions named “Portrait”, “Landscape”, “Reverse Landscape”, and “Reverse Portrait” (hereinafter also referred to as “P”, “L”, “RP”, and “RL”, respectively). One of them is set by a print direction setting command.
[0028]
When the portrait is set, the printer 30 performs printing in such a manner that the print line ("ABC" in the figure) is parallel to the short side of the paper, as schematically shown in FIG. Do. When the landscape is designated, the printer 30 performs printing in such a way that the print lines are parallel to the long side of the paper, as schematically shown in FIG.
[0029]
When the reverse portrait is designated, the printer 30 is configured so that the print line is parallel to the short side of the paper as schematically shown in FIG. Printing is performed so that the direction in which the characters are arranged is 180 degrees different from the portrait printing. When the reverse landscape is designated, the printer is arranged so that the print lines are parallel to the long side of the paper and the print direction is 180 degrees different from the landscape, as schematically shown in FIG. , Print.
[0030]
The binding direction is information for designating whether the binding margin is provided on the short side or the long side of the sheet. In other words, the binding direction is information indicating whether the side where the binding margin is provided is the short side or the long side, but the side where the binding margin is provided is the two sides of the sheet (two short sides or two sides). It is information that does not indicate which of the two long sides).
[0031]
When “LE” that provides a binding margin on the long side is designated as the binding direction, as shown in FIGS. 3 and 4, in the printer 30, the designation of the print direction is “P”, “L”, Regardless of “RP” or “RL”, printing is performed on the back surface of the paper with the print direction different from the front surface by 180 degrees. In addition, when “SE” is specified as the binding direction and the binding margin is provided on the short side, the designation of the print direction is “P”, “L”, “RP”, or “RL”. Printing is performed on the back side of the paper with the printing direction in the same direction as the front side. Note that the above description regarding the printing direction is valid only when the paper is transported vertically. When the paper is conveyed sideways, conversely, when the binding direction is “SE”, printing is performed on the back surface of the paper with the print direction different from the front by 180 degrees.
[0032]
Table TO (Top Offset) and Table LO (Left Offset) are offsets in the Y direction and X direction of the print start position at the time of front side printing, respectively, and the back TO and back LO are the start of printing at the time of back side printing, respectively. This is the offset in the Y direction and X direction of the position. In the printer 30, the X direction is a direction that coincides with the printing direction, and the Y direction is a direction orthogonal to the printing direction (a direction in which the printing direction is rotated 90 degrees clockwise). It is.
[0033]
That is, when portrait printing is performed, as shown in FIG. 5A, the X direction is parallel to the short side of the paper, and the Y direction is parallel to the long side of the paper. Become. When landscape printing is performed, as shown in FIG. 5B, the X direction is a direction parallel to the long side of the paper, and the Y direction is a direction parallel to the short side of the paper. .
[0034]
Then, as shown in FIGS. 6A to 6C, the front surface is printed from the position specified by the table TO and the table LO. That is, when the table LO is m (> 0) and the table TO is “0”, printing is performed in such a manner that the print start position on the paper is shifted to the right by “m” (FIG. 6A). )). When the table LO is “0” and the table TO is m, printing is performed with the print start position on the paper shifted downward by “m” (FIG. 6B). When the table LO is “−m” and the table TO is “0”, printing is performed with the printing start position on the paper shifted to the left by “m” (FIG. 6C). The same applies to landscape printing. Further, when processing the back surface, the same printing is performed based on the back LO and the back TO at that time.
[0035]
Next, the operation of the computer 10 (CPU 21 according to the printer driver 31) will be described.
[0036]
FIG. 7 shows a flowchart of processing executed by the CPU 21 in accordance with the printer driver 31 when a double-sided printing of a certain document is instructed. Note that the processing shown in this figure is normally started in a state in which the binding margin m (> 0) and the binding position (designation of whether the binding margin is provided on the left, right, or top) are designated. . If the binding margin m is not specified (when m = 0; double-sided printing where the binding position is not explicitly specified), it is assumed that the binding position is “left” and the processing shown in FIG. Is executed.
[0037]
As shown in the figure, when a double-sided printing of a certain document is instructed, first, variables used for processing are initialized (step S101). The variables initialized in step S101 include an old page type and an old paper size. The old page type is a variable for storing whether the page that has been printed so far is a vertical page or a horizontal page. The old paper size is a variable for storing the paper size of the paper that has been printed so far. In step S101, the old page type and the old paper size are each initialized to information “undecided” indicating that printing has not been performed.
[0038]
Next, it is determined whether or not there is page data to be processed (whether or not the processing of the print request from the application / OS is completed or not) (step S102). If page data to be processed remains (step S102; YES), the paper size of the paper on which the page is to be printed and the page type of the page are recognized as the new paper size and the new page type, respectively (step S102). S103). The page type is information indicating whether the page is a vertical page or a horizontal page. Hereinafter, page types indicating that a page is a vertical page and a horizontal page are denoted as “vertical” and “horizontal”, respectively.
[0039]
Thereafter, it is determined whether or not the old paper size matches the new paper size (step S104).
[0040]
If the two do not match (step S104; NO), that is, when the processing of page data for the first page whose old paper size is “undecided” and when the paper size is actually up to that point, what is the paper size? At the start of processing the different page data, the new paper size is stored as the old paper size (step S105). Next, a paper size command for instructing use of a new paper size is transmitted to the printer 30 (step S106). Then, a binding direction setting process (step S107) is executed.
[0041]
FIG. 8 is a flowchart of the binding direction setting process. As illustrated, in this process, when the new page type is “horizontal” (step S201; horizontal) and the binding position is “left” (step S202; left), the variable CASE is set to “3”. Is set, and “SE” is set in the variable MDRC (step S204).
[0042]
When the new page type is “horizontal” (step S201; horizontal) and the binding position is “right” (step S202; right), “5” is set in CASE and “SE” is set in MDRC. "Is set (step S205). When the new page type is “horizontal” (step S201; horizontal) and the binding position is “up” (step S202; upper), “1” is set in CASE and “LE” is set in MDRC. (Step S206).
[0043]
When the new page type is “vertical” (step S201; vertical) and the binding position is “left” (step S203; left), “1” is set in CASE and “SE” is set in MDRC. It is set (step S206). When the new page type is “vertical” (step S201; vertical) and the binding position is “right” (step S203; right), “4” is set in CASE and “LE” is set in MDRC. (Step S207). When the new page type is “vertical” (step S201; vertical) and the binding position is “top” (step S203; top), “2” is set in CASE and “SE” is set in MDRC. It is set (step S208).
[0044]
After one of steps S204 to S208 is executed, a binding direction setting command corresponding to the value of the variable MDRC at that time is transmitted to the printer 30 (step S210), and the binding direction setting process is terminated. The CASE value is a value used during the print direction / offset setting process executed in step S111. The CASE value is held in the computer 10 without being rewritten until the binding margin setting process is executed again.
[0045]
After the binding direction setting process is completed, it is determined whether or not the new page type matches the old page type (FIG. 7: Step S110). If the new paper size matches the old paper size (step S104; YES), step S110 is executed without executing steps S105 to S107.
[0046]
If the new page type and the old page type do not match (step S110; NO), the print direction / offset setting process (step S111) is executed.
[0047]
In the print direction / offset setting process, the print direction and offset corresponding to the CASE value and the new page type at that time are set in the printer 30.
[0048]
Specifically, as shown in FIG. 9, when the CASE value is “1” (step S301; = 1) and the new page type is “vertical” (step S311; vertical), the variable ORNT is set. “P” is set and “A” is set to the variable OTYP (step S312). As will be described later, in the printing direction / offset setting process, the value set in the variable ORNT is set in the printer 30 as the printing direction. Further, based on the value set in the variable OTYP, the front LO, the front TO, the back LO, and the back TO are determined, and the determined offset values are set in the printer 30.
[0049]
When the CASE value is “1” (step S301; = 1) and the new page type is “horizontal” (step S311; horizontal), “L” is set to ORNT and “B” is set to OTYP. (Step S312).
[0050]
When the CASE value is “2” (step S301; = 2) and the new page type is “vertical” (step S321; vertical), “P” is set in ORNT and “B” is set in OTYP. (Step S322). When the CASE value is “2” (step S301; = 2) and the new page type is “horizontal” (step S321; horizontal), “RL” is set in ORNT and “A” is set in OTYP. (Step S323).
[0051]
When the CASE value is “3” (step S301; = 3) and the new page type is “vertical” (step S331; vertical), “RP” is set in ORNT and “A” is set in OTYP. (Step S332). When the CASE value is “3” (step S301; = 3) and the new page type is “horizontal” (step S331; horizontal), “L” is set in ORNT and “B” is set in OTYP. (Step S333).
[0052]
When the CASE value is “4” (step S301; = 4) and the new page type is “vertical” (step S341; vertical), “P” is set to ORNT and “C” is set to OTYP. (Step S342). When the CASE value is “4” (step S301; = 4) and the new page type is “horizontal” (step S341; horizontal), “RL” is set to ORNT and “B” is set to OTYP. (Step S343).
[0053]
When the CASE value is “5” (step S301; = 5) and the new page type is “vertical” (step S311; vertical), “P” is set to ORNT and “B” is set to OTYP. (Step S321). When the CASE value is “5” (step S301; = 5) and the new page type is “horizontal” (step S351; horizontal), “L” is set to ORNT and “C” is set to OTYP. (Step S353).
[0054]
After the CASE value and the value corresponding to the new page type are set in the variable ORNT and the variable OTYP, four types of offset values to be set in the printer 30 are determined based on the value of the variable OYTP and the binding width m. (Steps S361 to S364).
[0055]
Specifically, when OTYP is “A” (step S361: = A), the front LO, the front TO, the back LO, and the back TO are “m”, “0”, “−m”, and It is set to “0” (step S362). When OTYP is “B” (step S361: = B), the front LO, front TO, back LO, and back TO are set to “0”, “m”, “0”, “−m”, respectively. (Step S363). When OTYP is “C” (step S361: = B), the front LO, front TO, back LO, and back TO are “−m”, “0”, “m”, “0”, respectively. (Step S364).
[0056]
Then, the printing direction setting command for causing the printing to be performed in the printing direction stored in the variable ORNT, and the front LO, the front TO, the back LO, and the back TO set in any of steps S362 to S364 are performed. The offset setting command is transmitted to the printer 30 (step S365), and the printing direction / offset setting process is terminated.
[0057]
After the print direction / offset setting process is completed, the new page type is stored as the old page type (FIG. 6: Step S112). Next, a process of interpreting the page data, generating print data in the language for the printer 30 and supplying it to the printer 30 (step S113) is executed. That is, a part of the print job data is created and supplied to the printer 30. If the new page type matches the old page type (step S110; YES), this step S113 is executed without executing the print direction / offset setting process or the like.
[0058]
When step S113 is completed, a page break command is transmitted to the printer 30 (step S114).
[0059]
After the execution of step S114, the processing from step S102 is executed again. If the next page data exists (step S102; YES), the processing after step S103 is executed for the page data. . Then, when there is no page data to be processed (step S102; NO), the illustrated process is terminated.
[0060]
Hereinafter, the operation of the printing system will be described more specifically with reference to FIGS. 10 and 11 are diagrams showing the correspondence between the binding direction, the printing direction, and the offset, and the printing result of each surface.
[0061]
As described with reference to the flowchart, in the present printing system, when it is instructed to perform double-sided printing of a document with a horizontal page as a first page with left binding, , The CASE value is set to “3”, and the binding direction “SE” is notified to the printer 30. In the print direction / offset setting process executed because the new and old page types do not match, the CASE value is “3” and the new page type is “horizontal”. ", The front LO, the front TO, the back LO, and the back TO are notified to the printer 30 as" 0 "," m "," 0 ", and" -m ", respectively.
[0062]
The printer 30 operates as described with reference to FIGS. 3 and 4 for the combination of the binding direction and the printing direction, and operates as described with reference to FIG. 5 for the offset.
[0063]
Accordingly, when the binding direction and the like are set as described above, the printer 30 takes a state in which printing on the front surface and the back surface is performed in the form shown in FIG. 10 with the symbols F4 and B4. .
[0064]
In this state, after print data for several pages is supplied to the printer 30, if the page to be printed is changed to a vertical page, a branch to “NO” is performed in step S110. That is, the print direction / offset setting process is executed in a state where the CASE value is “3” and the new page type is “vertical”. As a result, the printer 30 is notified that the printing direction is “RP”, front LO, front TO, back LO, and back TO are “m”, “0”, “−m”, and “0”, respectively. Is done.
[0065]
Accordingly, the printer 30 takes a state in which the front side printing is performed in the form as shown in F6 (FIG. 11) and the back side printing is performed in the form as shown in B6. As a result of executing step S113, the horizontal page is actually printed in a form such as F6 or B6.
[0066]
Thereafter, when the horizontal page appears again, the print direction / offset setting process is executed in a state where the CASE value is “3” and the page type is “horizontal”. The printer 30 is again notified that the LO, front TO, back LO, and front TO are set to “0”, “m”, “0”, and “−m”, respectively. Therefore, the printer 30 returns to the state where the front side printing is performed in the form as F4 and the back side printing is performed in the form as B4.
[0067]
That is, when the first page is instructed to perform double-sided printing of a document with a horizontal page on the left side, in this printing system, the horizontal page to be printed on the front side is printed as F4 and should be printed on the front side. The vertical page is printed as in F6. Further, the horizontal page to be printed on the back side is printed as B4, and the horizontal page to be printed on the back side is printed as B6.
[0068]
Similarly, according to the flowchart, when the first page is instructed to print a double-sided document with a left page and the first page is instructed to perform double-sided printing with a top page of a document with a horizontal page. In this case (in these cases, the CASE value is “1”), it can be confirmed that printing is performed with a combination of F1, F2, B1, and B2.
[0069]
Also, when it is instructed to print a double-sided document with top-stitched first page (in this case, the CASE value is “2”), the combination of F3, F7, B3, and B7 is used. It can be confirmed that printing is performed. Furthermore, when it is instructed to print a double-sided document with the first page being a vertical page (in this case, the CASE value is “4”), the combination of F5, F8, B5, and B8 is used. It can be confirmed that printing is performed. Then, when it is instructed to print a double-sided document with right-side binding on the first page (in this case, the CASE value is “5”), the combination of F3, F9, B3, and B9 is used. It can be confirmed that printing is performed.
[0070]
Accordingly, when the printing system performs, for example, duplex printing of a document in which the first to third pages are vertical pages, the fourth to seventh pages are horizontal pages, and the eighth page is a vertical page. When the binding position is “left”, as schematically shown in FIG. 12, the first to eighth pages are printed as F1, B1, F1, B2, F2, B2, F2, respectively. , B1 is performed. When the binding position is “up”, the first to eighth pages are printed in the forms of F3, B3, F3, B7, F7, B7, F7, and B3, respectively. . When the binding position is “right”, the first to eighth pages are printed in the forms of F8, B8, F8, B6, F6, B6, F6, and B8, respectively. .
[0071]
In addition, when the printing system performs double-sided printing of a document in which the first to third pages are horizontal pages, the fourth to seventh pages are vertical pages, and the eighth page is a horizontal page, When the binding position is “left”, as schematically shown in FIG. 13, the first to eighth pages are printed as F4, B4, F4, B6, F6, B6, F6, respectively. Performed at B4. When the binding position is “up”, the first to eighth pages are printed at F2, B2, F2, B1, F1, B1, F1, and B2, respectively. When the binding position is “right”, the first to eighth pages are printed at F9, B9, F9, B9, F3, B3, F3, and B9, respectively.
[0072]
Each of these six types of printed matter has no spread that is difficult to see when bound at a portion where a binding margin is provided. For example, in the conventional printing system, when double-sided printing is performed on a document that can obtain the results shown in FIGS. 16 and 17 (corresponding to “left” in FIG. 12), The four printed results shown in a) to (d) are discharged. If these four sheets are bound at the portion where the binding margin is provided, as shown in FIGS. 15A to 15C, each of the two pages constituting each spread is the top page. A document that can be read is formed in a state where is placed on the left or top of the page on the end side.
[0073]
The operation of the present printing system has been described as performing vertical conveyance, but the operation on the computer 10 side when the printer 30 performs horizontal conveyance is exactly the same as described above. . However, in this case, as schematically shown in FIG. 16, on the printer 30 side, when the binding direction “SE” is designated, the printing on the back side of the paper is 180 degrees different from the front side in the printing direction. It will be done in an oriented manner. FIG. 16 corresponds to FIG. 10, and the paper conveyance direction in FIG. 16 is upward as in FIG.
[0074]
<Deformation>
The printing system according to the embodiment can perform various modifications. For example, the printing system can be modified so that the process for determining the printing direction and the like is performed on the printer 30 side. That is, the CASE value is managed on the printer 30 side, and when the page type is changed, not the printing direction (P, L, RP, RL) but the new page type is notified to the printer 30, The printing system may be configured so that the printing direction is determined on the printer side according to the notification content. The printer 30 may be a device that receives a notification of the binding margin m from the computer 10 instead of the table TO, the table LO, and the like.
[0075]
Of course, the printer driver 31 may be operated on an OS other than Windows, and the recording medium on which the printer driver 31 is recorded may not be a “CD-ROM”.
[0076]
【The invention's effect】
According to the present invention, it is possible to obtain a double-sided printed material in which vertical pages and horizontal pages are mixed and the bound result is difficult to read and has no spread.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a printing system according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram of a printing direction.
FIG. 3 is a diagram illustrating a correspondence relationship between a binding direction and a printing direction and a printing result of each surface.
FIG. 4 is a diagram illustrating a correspondence relationship between a binding direction and a printing direction and a printing result of each surface.
FIG. 5 is an explanatory diagram in the X and Y directions.
FIG. 6 is an explanatory diagram of offset.
FIG. 7 is a flowchart showing an operation procedure at the time of duplex printing of a computer in which a printer driver is installed.
FIG. 8 is a flowchart of a binding direction setting process.
FIG. 9 is a flowchart of a printing direction / offset setting process.
FIG. 10 is a diagram illustrating a correspondence relationship between a binding direction, a printing direction, and an offset, and a printing result of each surface.
FIG. 11 is a diagram illustrating a correspondence relationship between a binding direction, a printing direction, and an offset, and a printing result of each surface.
FIG. 12 is an explanatory diagram of a procedure for printing a document in which the first page is a vertical page by the printing system according to the embodiment.
FIG. 13 is an explanatory diagram of a procedure for printing a document in which the first page is a horizontal page by the printing system according to the embodiment.
FIG. 14 is an explanatory diagram of a printed matter generated by the printing system according to the embodiment.
FIG. 15 is an explanatory diagram of a result of binding a printed matter generated by the printing system according to the embodiment.
FIG. 16 is an explanatory diagram of the operation of the printer when horizontal conveyance is performed in the printing system according to the embodiment.
FIG. 17 is an explanatory diagram of a printed matter generated by a conventional printing system.
FIG. 18 is an explanatory diagram of a result of binding a printed matter generated by a conventional printing system.
[Explanation of symbols]
10 Computer
11 Computer body
12 display
13 Input device
21 CPU
26 HDD
27 CD-ROM drive
30 Printer
31 Printer driver
32 CD-ROM

Claims (6)

或るサイズの用紙に横書きでランドスケープ印刷を行うべきページである横ページと,当該サイズの用紙に横書きでポートレイト印刷を行うべきページである縦ページとを含む書類を表す書類データに関する両面印刷要求を受け付ける受付手段と、
この受付手段で両面印刷要求が受け付られた前記書類データに基づき、所定位置で綴じられることにより、各見開きを構成することになる2ページのそれぞれが、先頭側のページを末尾側のページに対して左側或いは上側となるように配置した状態で読める書類が形成される複数枚の両面印刷物を得るための印刷方向をページ毎に決定する印刷方向決定手段と、
前記書類データに基づく前記書類の各ページの印刷を、前記印刷方向決定手段によって決定された印刷方向に従って行う印刷手段
とを備えることを特徴とする印刷システム。
And horizontal page paper of a certain size is a page to be subjected to landscape printing with horizontal, two-sided printing requests for documents data representing a document that includes a vertical page is a page to be subjected to portrait printed in horizontal writing on paper of the size Accepting means for accepting,
Each of the two pages that constitute each spread by binding at a predetermined position based on the document data for which the double-sided print request has been received by the receiving unit is changed from the first page to the last page. A printing direction determining means for determining, for each page, a printing direction for obtaining a plurality of double-sided printed materials on which a document that can be read in a state of being arranged on the left side or the upper side is formed;
A printing system comprising: a printing unit configured to print each page of the document based on the document data according to the printing direction determined by the printing direction determination unit.
前記印刷方向決定手段は、前記書類データが表す書類の第1ページが横ページ,縦ページのいずれであるかに基づき、各ページの印刷方向を、通常の印刷方向、通常の印刷方向を180度回転させた印刷方向のいずれかに、決定する
ことを特徴とする請求項1記載の印刷システム。
The print direction determining means determines whether the first page of the document represented by the document data is a horizontal page or a vertical page, the print direction of each page is a normal print direction, and the normal print direction is 180 degrees. The printing system according to claim 1, wherein the printing system determines one of the rotated printing directions.
前記受付手段は、綴じ位置の指定要求も受け付け、
前記印刷方向決定手段は、前記受付手段でその指定要求が受け付けられた綴じ位置で綴じられることにより、各見開きを構成する2ページのそれぞれが、先頭側のページを末尾側のページに対して左側或いは上側となるように配置した状態で読める書類が形成される複数枚の両面印刷物を得るための印刷方向を決定する
ことを特徴とする請求項1又は請求項2記載の印刷システム。
The accepting means also accepts a binding position designation request;
The printing direction determining means is bound at the binding position at which the designation request is accepted by the accepting means, so that each of the two pages constituting each spread has a leading page on the left side with respect to the trailing page. The printing system according to claim 1 or 2, wherein a printing direction for obtaining a plurality of double-sided printed materials on which a document that can be read is arranged in a state of being arranged on the upper side is determined.
両面印刷が可能な印刷装置に接続されたコンピュータを、
或るサイズの用紙に横書きでランドスケープ印刷を行うべきページである横ページと,当該サイズの用紙に横書きでポートレイト印刷を行うべきページである縦ページとを含む書類を表す書類データに関する両面印刷要求を受け付ける受付手段と、
この受付手段で両面印刷要求が受け付られた前記書類データに基づき、所定位置で綴じられることにより、各見開きを構成することになる2ページのそれぞれが、先頭側のページを末尾側のページに対して左側或いは上側となるように配置した状態で読める書類が形成される複数枚の両面印刷物を得るための印刷方向をページ毎に決定する印刷方向決定手段と、
前記書類データに基づく前記書類の各ページの印刷が、前記印刷方向決定手段によって決定された印刷方向に従って行われることになる印刷ジョブデータを作成して前記印刷装置に供給する印刷ジョブデータ供給手段
とを備える装置として動作させるためのプログラムを記録したコンピュータ可読媒体。
A computer connected to a printer capable of duplex printing
And horizontal page paper of a certain size is a page to be subjected to landscape printing with horizontal, two-sided printing requests for documents data representing a document that includes a vertical page is a page to be subjected to portrait printed in horizontal writing on paper of the size Accepting means for accepting,
Each of the two pages that constitute each spread by binding at a predetermined position based on the document data for which the double-sided print request has been received by the receiving unit is changed from the first page to the last page. A printing direction determining means for determining, for each page, a printing direction for obtaining a plurality of double-sided printed materials on which a document that can be read in a state of being arranged on the left side or the upper side is formed;
Print job data supply means for generating print job data to be printed in accordance with the print direction determined by the print direction determination means and printing each page of the document based on the document data to the printing apparatus; A computer readable medium having recorded thereon a program for operating as an apparatus.
前記印刷方向決定手段は、前記書類データが表す書類の第1ページが横ページ,縦ページのいずれであるかに基づき、各ページの印刷方向を、通常の印刷方向、通常の印刷方向を180度回転させた印刷方向のいずれかに、決定する
ことを特徴とする請求項4記載のコンピュータ可読媒体。
The print direction determining means determines whether the first page of the document represented by the document data is a horizontal page or a vertical page, the print direction of each page is a normal print direction, and the normal print direction is 180 degrees. 5. The computer readable medium according to claim 4, wherein one of the rotated printing directions is determined.
前記受付手段は、綴じ位置の指定要求も受け付け、
前記印刷方向決定手段は、前記受付手段でその指定要求が受け付けられた綴じ位置で綴じられることにより、各見開きを構成する2ページのそれぞれが、先頭側のページを末尾側のページに対して左側或いは上側となるように配置した状態で読める書類が形成される複数枚の両面印刷物を得るための印刷方向を決定することを特徴とする請求項4又は請求項5記載のコンピュータ可読媒体。
The accepting means also accepts a binding position designation request;
The printing direction determining means is bound at the binding position at which the designation request is accepted by the accepting means, so that each of the two pages constituting each spread has a leading page on the left side with respect to the trailing page. 6. The computer-readable medium according to claim 4 or 5, wherein a printing direction for obtaining a plurality of double-sided printed materials on which a document that can be read is arranged so as to be on the upper side is determined.
JP2000267914A 2000-09-05 2000-09-05 Printing system and computer-readable medium Expired - Lifetime JP4120143B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000267914A JP4120143B2 (en) 2000-09-05 2000-09-05 Printing system and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000267914A JP4120143B2 (en) 2000-09-05 2000-09-05 Printing system and computer-readable medium

Publications (2)

Publication Number Publication Date
JP2002079717A JP2002079717A (en) 2002-03-19
JP4120143B2 true JP4120143B2 (en) 2008-07-16

Family

ID=18754753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000267914A Expired - Lifetime JP4120143B2 (en) 2000-09-05 2000-09-05 Printing system and computer-readable medium

Country Status (1)

Country Link
JP (1) JP4120143B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013037228A (en) * 2011-08-09 2013-02-21 Oki Data Corp Image forming apparatus

Also Published As

Publication number Publication date
JP2002079717A (en) 2002-03-19

Similar Documents

Publication Publication Date Title
JP2006018748A (en) Information processing apparatus, control method therefor, computer program, and computer-readable storage medium
JP2003280871A (en) Image recording device
JPH11314439A (en) PRINTING APPARATUS AND CONTROL METHOD THEREOF, PRINT CONTROL SYSTEM, AND STORAGE MEDIUM
JP2913928B2 (en) Document processing device
JP2015168109A (en) Image processing apparatus and image processing method
JP4120143B2 (en) Printing system and computer-readable medium
JP2009146442A (en) Information processing apparatus, control method therefor, and computer program
JP2001197286A (en) Image processor and image processing method
JP2001189853A (en) Image processor and method
JP7413814B2 (en) Programs and information processing equipment
JP6476670B2 (en) Image forming apparatus
JP3852728B2 (en) Printing apparatus and information processing apparatus
JP4045037B2 (en) Image forming apparatus
JP4661832B2 (en) Print control device and printer driver program
JPH11320845A (en) Printing control method
JP2007248775A (en) Display control program, data control program, removable media device, and image display system
JP2007253597A (en) Printer
JP6059488B2 (en) Print control device
JP2023176265A (en) Image forming device, image data generating device and program
JP2020009108A (en) Image forming system and information processing device
JP2007257584A (en) Printer
JP7250650B2 (en) image forming device
JP2011055267A (en) Image forming apparatus and alignment program
JP2005047137A (en) Image arrangement method, image arrangement device, and image arrangement program
JP4228528B2 (en) Electronic typesetting device and recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070227

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071128

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071129

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20071207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080414

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

Free format text: PAYMENT UNTIL: 20110509

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4120143

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120509

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120509

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130509

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140509

Year of fee payment: 6

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

EXPY Cancellation because of completion of term