JP3581704B2 - Print control apparatus and method - Google Patents

Print control apparatus and method Download PDF

Info

Publication number
JP3581704B2
JP3581704B2 JP2002261981A JP2002261981A JP3581704B2 JP 3581704 B2 JP3581704 B2 JP 3581704B2 JP 2002261981 A JP2002261981 A JP 2002261981A JP 2002261981 A JP2002261981 A JP 2002261981A JP 3581704 B2 JP3581704 B2 JP 3581704B2
Authority
JP
Japan
Prior art keywords
pages
unit
print
sheets
last
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
JP2002261981A
Other languages
Japanese (ja)
Other versions
JP2003162385A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002261981A priority Critical patent/JP3581704B2/en
Publication of JP2003162385A publication Critical patent/JP2003162385A/en
Application granted granted Critical
Publication of JP3581704B2 publication Critical patent/JP3581704B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、印刷制御装置および方法に関するもので、特にパーソナルコンピュータ等の情報処理とプリンタなどの出力装置からなるシステムにおいて、製本できる状態の印刷物を出力する印刷制御装置および方法に関するものである。
【0002】
【従来の技術】
両面印刷ユニットを持つプリンタを用いて製本印刷を行う場合、すなわち、印刷出力された用紙を2つに折ればページ順序が整列されるように印刷する場合、従来の技術によれば、プリンタのメモリ内に印刷されるページを貯え、プリンタにおいてページの配置を行って出力している。この方式では、連続する4ページを、それが印刷された用紙を2つ折りにするとページが連続するように配置して印刷している。
【0003】
【発明が解決しようとする課題】
このような従来のプリンタでの印刷においては、出力された印刷物を1枚ずつ2つ折りにし、2つ折りにされた印刷物を書類全体についてページ順となるようにそろえてからでなければ製本できない。そのためユーザは1枚ずつ用紙を2つ折りすることになり、ページ数の多い場合にはその作業が増加してしまう。このようにユーザに大変な労力の負担を強いるという欠点があった。
【0004】
さらに、2つ折りにする単位を所定枚数の分冊とし、分冊を綴じ合わせて製本するよう印刷すると、最後の分冊においては多くの白紙ページが生じ、記録用紙が無駄に消費される場合がある。これは単に用紙の浪費につながるのみならず、白紙を出力するための時間も印刷処理時間に含まれることとなる。
【0005】
本発明は上記従来例に鑑みてなされたもので、記録用紙を無駄にせず、また、記録面数も減らして印刷出力に要する時間も短縮することができる印刷制御装置及び方法を提供する事を目的とする。
【0006】
【課題を解決するための手段】
上記目的を達成するために本発明はつぎのような構成からなる。
すなわち、プリンタ制御コマンドを含む印刷ジョブを生成するホストコンピュータとしての印刷制御装置であって、
アプリケーションから入力される印刷すべきデータに対して、所定枚数の印刷用紙を1冊子ブロックとした複数の冊子ブロックに分けて製本する分冊製本において、所定枚数の印刷用紙を2つ折りにした場合にページ順を揃わせる印刷用紙の枚数単位の設定を含む製本設定を入力する入力手段と、
前記印刷すべきデータを、ページ単位に所望の順序で読み出し可能に格納手段にスプールするスプール手段と、
前記入力手段により入力される分冊製本時の1冊子ブロックの印刷用紙の枚数単位を取得する取得手段と、
前記取得手段により取得される印刷用紙の枚数単位に基づき得られる最後の冊子ブロックに配置可能な最大ページ数より、該最後の冊子ブロックに配置される前記印刷すべきデータの残りのページ数が少ない場合に、残りのページ数が収まる枚数単位を導出する導出手段と、
前記取得手段により取得される印刷用紙の枚数単位で、各冊子ブロックを綴じるようにページの配置を決定する配置手段と、
前記印刷装置に印刷データを出力するために、前記配置手段により決定された配置にしたがった順序で前記格納手段から印刷データを読み出す読み出し手段とを備え、
前記配置手段は、前記取得手段により取得される印刷用紙の枚数単位に基づき得られる最後の冊子ブロックに配置可能な最大ページ数より、該最後の冊子ブロックに配置される前記印刷すべきデータの残りのページ数が少ない場合に、前記導出手段で導出された枚数単位で最後の冊子ブロックが綴じられるように、最後の冊子ブロックのページの配置を決定する。
【0007】
更に好ましくは、前記配置手段は、所定枚数N毎に分冊製本する場合に、最後の冊子に配置可能なページ数4Nより4αページ(αは整数、少数切り捨て)少ない場合に、最後の冊子ブロックを(N−α)枚で綴じるべくページの配置を決定する。
【0008】
更に好ましくは、 最後の冊子を所定枚数(N)で綴じるか、減らした枚数(N−α)で綴じるかをユーザの指定により判断する判断手段をさらに備える。
【0009】
【発明の実施の形態】
以下、本発明を適用するに好適である実施の形態について説明を行う。
【0010】
[第1の実施の形態]
図1は本発明の実施の形態を示すプリンタ制御システムのブロック図である。なお、本発明の機能が実行されるのであれば、単体の機器であっても、複数の機器からなるシステムであっても、LAN、WAN等のネットワークを介して接続が為され処理が行われるシステムであっても本発明を適用できる。
【0011】
<印刷システムの構成>
図において、ホストコンピュータ3000は、ROM3のプログラム用ROMあるいは外部メモリ11に記憶された文書処理プログラム等に基づいて図形、イメージ、文字、表(表計算等を含む)等が混在した文書処理を実行するCPU1を備え、システムバス4に接続される各デバイスをCPU1が統括的に制御する。また、このROM3のプログラム用ROMあるいは外部メモリ11には、CPU1の制御プログラムであるオペレーティングシステムプログラム(以下OS)等を記憶し、ROM3のフォント用ROMあるいは外部メモリ11には上記文書処理の際に使用するフォントデータ等を記憶し、ROM3のデータ用ROMあるいは外部メモリ11には上記文書処理等を行う際に使用する各種データを記憶する。RAM2は、CPU1の主メモリ、ワークエリア等として機能する。
【0012】
キーボードコントローラ(KBC)5は、キーボード9や不図示のポインティングデバイスからのキー入力を制御する。CRTコントローラ(CRTC)6は、CRTディスプレイ(CRT)10の表示を制御する。ディスクコントローラ(DKC)7は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、プリンタ制御コマンド生成プログラム(以下プリンタドライバ)等を記憶するハードディスク(HD)、フロッピー(登録商標)ディスク(FD)等の外部メモリ11とのアクセスを制御する。プリンタコントローラ(PRTC)8は、所定の双方向性インターフェース(インタフェース)21を介してプリンタ1500に接続されて、プリンタ1500との通信制御処理を実行する。
【0013】
なお、CPU1は、例えばRAM2上に設定された表示情報RAMへのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT10上でのWYSIWYGを可能としている。また、CPU1はCRT10上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のウインドウを開き、種々のデータ処理を実行する。ユーザは印刷を実行する際、印刷の設定に関するウインドウを開き、プリンタの設定や、印刷モードの選択を含むプリンタドライバに対する印刷処理方法の設定を行える。
【0014】
プリンタ1500においては、プリンタCPU12は、ROM13のプログラム用ROMに記憶された制御プログラム等あるいは外部メモリ14に記憶された制御プログラム等に基づいてシステムバス15に接続される印刷部(プリンタエンジン)17に出力情報としての画像信号を出力する。また、このROM13のプログラムROMには、CPU12の制御プログラム等を記憶する。ROM13のフォント用ROMには、上記出力情報を生成する際に使用するフォントデータ等を記憶し、ROM13のデータ用ROMにはハードディスク等の外部メモリ14がないプリンタの場合には、ホストコンピュータ上で利用される情報等を記憶している。
【0015】
CPU12は入力部18を介してホストコンピュータとの通信処理が可能となっており、プリンタ内の情報等をホストコンピュータ3000に通知可能に構成されている。RAM19は、CPU12の主メモリ、ワークエリア等として機能するRAMで、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。なお、RAM19は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。前述したハードディスク(HD)、ICカード等の外部メモリ14は、メモリコントローラ(MC)20によりアクセスを制御される。外部メモリ14は、オプションとして接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。また、操作部1501には、操作のためのスイッチおよびLED表示器等が配されている。
【0016】
また、前述した外部メモリは1個に限らず、少なくとも1個以上備え、内蔵フォントに加えてオプションカード、言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成されていてもよい。更に、図示しないNVRAMを有し、操作部1501からのプリンタモード設定情報を記憶するようにしてもよい。
【0017】
図2は、プリンタ等の印刷装置が直接接続されているか、あるいはネットワーク経由で接続されているホストコンピュータにおける典型的な印刷処理の構成図である。アプリケーション201、グラフィックエンジン202、プリンタドライバ203、およびシステムスプーラ204は、外部メモリ11に保存されたファイルとして存在し、実行される場合にOSやそのモジュールを利用するモジュールによってRAM2にロードされ実行されるプログラムモジュールである。また、アプリケーション201およびプリンタドライバ203は、外部メモリ11のFDや不図示のCD−ROM、あるいは不図示のネットワークを経由して外部ディスク11のHDに追加することが可能となっている。
【0018】
外部メモリ11に保存されているアプリケーション201はRAM2にロードされて実行されるが、このアプリケーション201からプリンタ1500に対して印刷を行う際には、同様にRAM2にロードされ実行可能となっているグラフィックエンジン202を利用して出力(描画)を行う。グラフィックエンジン202は印刷装置ごとに用意されたプリンタドライバ203を同様に外部メモリ11からRAM2にロードし、アプリケーション210の出力をプリンタドライバ203を用いてプリンタの制御コマンドに変換する。変換されたプリンタ制御コマンドはOSによってRAM2にロードされたシステムスプーラ204を経てインターフェース21経由でプリンタ1500へ出力される仕組みとなっている。
【0019】
本実施の形態のシステムは、図2で示すプリンタとホストコンピュータからなる印刷システムに加えて、更に図3に示すように、アプリケーションからの印刷データを一旦中間コードデータでスプールするシステムを前提としている。
【0020】
<印刷制御システムの構成>
図3は、図2のシステムを拡張したもので、グラフィックエンジン202からプリンタドライバ203へ印刷命令を送る際に、一旦中間コードからなるスプールファイル303を生成する。図2のシステムでは、アプリケーション201が印刷処理から開放されるのはプリンタドライバ203がグラフィックエンジン202からのすべての印刷命令をプリンタの制御コマンドへ変換し終わった時点である。これに対して、図3のシステムでは、スプーラ302が全ての印刷命令を中間コードデータに変換してスプールファイル303に出力した時点である。通常、後者の方が短時間で済む。また、図3で示すシステムにおいては、スプールファイル303の内容に対して加工することができる。これにより、アプリケーションからの印刷データに対して、拡大縮小や、複数ページを1ページに縮小して印刷する等、アプリケーションの持たない機能を実現することができる。
【0021】
これらの目的のために、図2のシステムに対し、図3の様に中間コードデータでスプールする様、システムの拡張がなされてきている。なお、印刷データの加工を行うためには、通常プリンタドライバ203が提供する設定画面からオペレータが設定を行い、プリンタドライバ203がその設定内容をRAM2あるいは外部メモリ11上に保管する。
【0022】
以下、図3の詳細を説明する。図に示す通り、この拡張された処理方式では、グラフィックエンジン202からの印刷命令をディスパッチャ301が受け取る。ディスパッチャ301がグラフィックエンジン202から受け取った印刷命令が、アプリケーション201からグラフィックエンジン202へ発行された印刷命令の場合には、ディスパッチャ301は外部メモリ11に格納されているスプーラ302をRAM2にロードし、プリンタドライバ203ではなくスプーラ302へ印刷命令を送付する。
【0023】
スプーラ302は受け取った印刷命令を中間コードに変換してスプールファイル303に出力する。また、スプーラ302は、プリンタドライバ203に対して設定されている印刷データに関する加工設定をプリンタドライバ203から取得してスプールファイル303に保存する。なお、スプールファイル303は外部メモリ11上にファイルとして生成されるが、RAM2上に生成されても構わない。更にスプーラ302は、外部メモリ11に格納されているスプールファイルマネージャ304をRAM2上にロードし、スプールファイルマネージャ304に対してスプールファイル303の生成状況を通知する。その後、スプールファイルマネージャ304は、スプールファイル303に保存された印刷データに関する加工設定の内容に従って印刷を行えるか判断する。スプールファイルマネージャ304がグラフィックエンジン202を利用して印刷を行えると判断した際には、外部メモリ11に格納されているデスプーラ305をRAM2にロードし、デスプーラ305に対してスプールファイル303に記述された中間コードの印刷処理を行うように指示する。
【0024】
デスプーラ305はスプールファイル303に含まれる中間コードをスプールファイル303に含まれる加工設定の内容に従って加工し、もう一度グラフィックエンジン202経由で出力する。
【0025】
ディスパッチャ301がグラフィックエンジン202から受け取った印刷命令が、デスプーラ305からグラフィックエンジン202へ発行された印刷命令の場合には、ディスパッチャ301はスプーラ302ではなく、プリンタドライバ203に印刷命令を送る。
【0026】
プリンタドライバ203は受け取った印刷命令に応じてプリンタ制御コマンドを生成し、それをシステムスプーラ204,双方向インターフェース21経由でプリンタ1500に出力する。
【0027】
<プリンタの構成>
図12は、プリンタ1500の一例である両面印刷機能を有するカラーレーザビームプリンタの断面図である。
【0028】
このプリンタはホストコンピュータ3000より入力した印刷データに基づいて得られる各色毎の画像データで変調されたレーザ光をポリゴンミラー31により感光ドラム15を走査して静電潜像を形成する。そして、この静電潜像をトナー現像して可視画像を得、これを中間転写体9へ全色について多重転写してカラー可視画像を形成する。そして更に、このカラー可視画像を転写材2へ転写し、転写材2上にカラー可視画像を定着させる。以上の制御を行う画像形成部は、感光ドラム15を有するドラムユニット、接触帯電ローラ17を有する一次帯電部、クリーニング部、現像部、中間転写体9、用紙カセット1や各種ローラ3、4、5、7を含む給紙部、転写ローラ10を含む転写部及び定着部25によって構成されている。
【0029】
ドラムユニット13は、感光ドラム(感光体)15と感光ドラム15のホルダを兼ねたクリーニング機構を有するクリーナ容器14とを一体に構成したものである。このドラムユニット13はプリンタ本体に対して着脱自在に支持され、感光ドラム15の寿命に合わせて容易にユニット交換可能に構成されている。上記感光ドラム15はアルミシリンダの外周に有機光導電体層を塗布して構成し、クリーナ容器14に回転可能に支持されている。感光ドラム15は、図示しない駆動モータの駆動力が伝達されて回転するもので、駆動モータは感光ドラム15を画像形成動作に応じて反時計回り方向に回転させる。感光ドラム15への露光は、スキャナ部30から送られるレーザ光を感光ドラム15の表面を選択的に露光させることにより静電潜像が形成されるように構成されている。スキャナ部30では、変調されたレーザ光を、モータ31aにより画像信号の水平同期信号を同期して回転するポリゴンミラーにより反射し、レンズ32、反射鏡33を介して感光ドラムを照射する。
【0030】
現像部は、上記静電潜像を可視画像化するために、イエロー(Y)、マゼンタ(M)、シアン(C)の現像を行う3個のカラー現像器20Y,20M,20Cと、ブラック(B)の現像を行う1個のブラック現像器21Bとを備えた構成を有する。カラー現像器20Y,20M,20C及びブラック現像器21Bには、スリーブ20YS,20MS,20CS及び21BSと、これらスリーブ20YS,20MS,20CS,20BSそれぞれの外周に圧接する塗布ブレード20YB,20MB,20CB及び21BBとがそれぞれ設けられる。また3個のカラー現像器20Y,20M,20Cには塗布ローラ20YR,20MR,20CRが設けられている。
【0031】
また、ブラック現像器21Bはプリンタ本体に対して着脱可能に取り付けられており、カラー現像器20Y,20M,20Cは回転軸22を中心に回転する現像ロータリー23にそれぞれ着脱可能に取り付けられている。
【0032】
ブラック現像器21Bのスリーブ21BSは感光ドラム15に対して例えば300μm程度の微小間隔を持って配置されている。ブラック現像器21Bは、器内に内蔵された送り込み部材によってトナーを搬送すると共に、時計回り方向に回転するスリーブ21BSの外周に塗布ブレード21BBによって塗布するように摩擦帯電によってトナーへ電荷を付与する。また、スリーブ21BSに現像バイアスを印加することにより、静電潜像に応じて感光ドラム15に対して現像を行って感光ドラム15にブラックトナーによる可視画像を形成する。
【0033】
3個のカラー現像器20Y,20M,20Cは、画像形成に際して現像ロータリー23の回転に伴って回転し、所定のスリーブ20YS,20MS,20CSが感光ドラム15に対して300μm程度の微小間隔を持って対向することになる。これにより所定のカラー現像器20Y,20M,20Cが感光ドラム15に対向する現像位置に停止し、感光ドラム15に可視画像が作成される。
【0034】
カラー画像形成時には、中間転写体9の1回転毎に現像ロータリー23が回転し、イエロー現像器20Y、マゼンタ現像器20M、シアン現像器20C、次いでブラック現像器20Bの順で現像工程がなされ、中間転写体9が4回転してイエロー、マゼンタ、シアン、ブラックのそれぞれのトナーによる可視画像を順次形成し、その結果フルカラー可視画像を中間転写体9上に形成する。
【0035】
中間転写体9は、感光ドラム15に接触して感光ドラム15の回転に伴って回転するように構成されたもので、カラー画像形成時に時計回り方向に回転し、感光ドラム15から4回の可視画像の多重転写を受ける。また、中間転写体9は画像形成時に後述する転写ローラ10が接触して転写材2を挟持搬送することにより転写材2に中間転写体9上のカラー可視画像を同時に多重転写する。中間転写体の外周部には、中間転写体2の回転方向に関する位置を検知するためのTOPセンサ9a及びRSセンサ9bと、中間転写体に転写されたトナー像の濃度を検知するための濃度センサ9cが配置されている。
【0036】
転写ローラ10は、感光ドラム15に対して接離可能に支承された転写帯電器を備えたもので、金属軸を中抵抗発泡弾性体により巻回することによって構成されている。
【0037】
転写ローラ10は、図12に実線で示すように中間転写体9上にカラー可視画像を多重転写している間は、カラー可視画像を乱さぬように下方に離開している。そして、上記中間転写体9上に4色のカラー可視画像が形成された後は、このカラー可視画像を転写材2に転写するタイミングにあわせてカム部材(不図示)により転写ローラ10を図示点線で示す上方に位置させる。これにより転写ローラ10は転写材2を介して中間転写体9に所定の押圧力で圧接すると共に、バイアス電圧が印加され、中間転写体9上のカラー可視画像が転写材2に転写される。
【0038】
定着部25は、転写材2を搬送させながら、転写されたカラー可視画像を定着させるものであり、転写材2を加熱する定着ローラ26と転写材2を定着ローラ26に圧接させるための加圧ローラ27とを備えている。定着ローラ26と加圧ローラ27とは中空状に形成され、内部にそれぞれヒータ28,29が内蔵されている。即ち、カラー可視画像を保持した転写材2は定着ローラ26と加圧ローラ27とにより搬送されると共に、熱及び圧力を加えることによりトナーが表面に定着される。
【0039】
可視画像定着後の転写材2は、その後排紙ローラ34,35,36によって排紙部37へ排出して画像形成動作を終了する。
【0040】
クリーニング手段は、感光ドラム15上及び中間転写体9上に残ったトナーをクリーニングするものであり、感光ドラム15上に形成されたトナーによる可視画像を中間転写体9に転写した後の廃トナーあるいは、中間転写体9上に作成された4色のカラー可視画像を転写材2に転写した後の廃トナーは、クリーナ容器14に蓄えられる。
【0041】
印刷される転写材(記録用紙)2は、給紙トレイ1から給紙ローラ3により取り出されて中間転写体9と転写ローラ10との間に挟まれるように搬送されてカラートナー画像が記録され、定着部25を通過してトナー像が定着される。片面印刷の場合には、案内38が上方の排紙部に記録用紙を導くように搬送径路を形成するが、両面印刷の用紙に対しては、下方の両面ユニットに導くように径路を形成する。
【0042】
両面ユニットに導かれた記録用紙は、搬送ローラ40によりトレイ1の下部(ニ点鎖線で示す搬送径路)に一旦送り込まれた後に逆方向に搬送され、両面トレイ39に送られる。両面トレイ39上では、用紙は給紙トレイ1に載置された状態とは表裏が逆になり、また搬送方向について前後が逆になっている。この状態で再びトナー像の転写・定着を再度行うことで、両面印刷ができる。
【0043】
<製本印刷のしかた>
図4は、製本印刷とその実現結果について説明したものである。
【0044】
製本印刷とは、紙の両面に出力された印刷結果を2つ折りにした結果、ページ順序があうように印刷するものであり、次の2つのやり方がある。
【0045】
1.印刷される全ページを製本の枚数単位とする場合この場合には図4の印刷物41のような出力を得て、それをまとめて2つ折りにして本とする。
【0046】
2.任意のページを製本の枚数単位とする場合この場合には図4の印刷物42のような出力を得て、それを枚数単位ごとに2つ折りにし、更にそれを並べて本とする。
【0047】
ここでいう製本の枚数単位とは、出力された用紙を何枚単位でまとめて2つ折りにして製本印刷をすればよいかを現わす。
【0048】
また、図5に示すように、製本印刷によって出力される製本の体裁には以下の場合がある。
1.左から昇順にページ配置(左開き)。
2.右から昇順にページ配置(右開き)。
【0049】
また、印刷されるページが横向きの場合も、ページの回転を行うだけで、ページの順序は変わらない。
【0050】
本実施形態の印刷システムでは、以上のような製本印刷の種々のやり方に応じて印刷出力を行う。
【0051】
<印刷制御手順>
以下、図6以降を用いて、製本印刷の処理について詳しく述べる。図6〜図11は、スプールファイルマネージャ304により実行される制御手順である。スプールファイルマネージャ304が印刷を開始できると判定すると、図6の処理が開始される。
【0052】
ステップ601において、ユーザが製本印刷の設定をしていればステップ602へ進み、していなければ通常の印刷を行うとしてステップ607へ進む。
【0053】
ステップ602において、製本印刷の枚数単位に関する設定と印刷体裁に関する設定を取得する。
【0054】
印刷枚数単位の設定には以下の選択肢がある。
1.印刷するページ全てをひとまとめにして製本印刷。
2.指定された任意ページ単位をひとまとめにして製本印刷。
【0055】
また、印刷体裁の設定には以下の選択肢がある。
1.左開き。
2.右開き。
【0056】
ステップ603において、製本印刷の枚数単位に全ページが選択されていればステップ604へ進み、選択されていなければステップ605へ進む。
【0057】
ステップ604において、製本の枚数単位を印刷ページ全体に設定し、製本印刷を行う。この処理の詳細については後述する。
【0058】
ステップ605において、製本印刷の枚数単位に特定の枚数が選択されていればステップ606へ進み、選択されていなければステップ607へ進む。
【0059】
ステップ606において、指定された枚数単位で製本印刷を行う。この処理の詳細については後述する。
【0060】
ステップ607において、通常の印刷処理を行う。
【0061】
なお、製本印刷の設定や枚数単位の設定は、ホストコンピュータ3000からのオペレータによる入力などで行われる。
【0062】
以下に図6におけるステップ604に関する処理を図7,図8を用いて詳しく説明する。
【0063】
ステップ701において、印刷体裁を取得する。ステップ702において、印刷ページ数を取得する。この印刷ページはアプリケーションからの印刷データが全てスプール終了した時点で取得可能である。
【0064】
ステップ703において、製本印刷の進捗カウンタを0にセットする。このカウンタが偶数のときに印刷されるページは折り込まれたときに内側になるように印刷され、奇数のときに印刷されるページは折り込まれたときに外側になるように印刷される。
【0065】
ステップ704において、使用する紙の枚数を以下の式によって計算する。
用紙枚数=ページ数÷4(小数点以下切り上げ)。
【0066】
ステップ705において、2つ折りにしたとき一番内側になる用紙の内側に印刷されるページ2ページ分を以下の式を用いて計算する。この2ページを元に以降印刷されるページを算出する。
基本ページ1=用紙枚数×2。
基本ページ2=用紙枚数×2−1。
【0067】
例えば、アプリケーションから50ページの印刷データが送られてきた場合は、製本印刷のために使用する用紙枚数は50÷4=13枚となり、2つ折りにした時に折り込まれる用紙に印刷される基本ページは、基本ページ1=13×2=26ページと、基本ページ2=3×2−1=25ページとなる。図4の例では、印刷物41の最も内側に折り込まれる面である第11ページと第10ページとがこれらに相当する。
【0068】
ステップ706において、製本印刷処理が終了したなら処理を終え、終わっていなかったらステップ707へ進む。
【0069】
ステップ707において、記録用紙の片面に並べて印刷される2ページを以下の式で計算する。
印刷ページ1=基本ページ1+進捗カウンタ。
印刷ページ2=基本ページ2−進捗カウンタ。
【0070】
例えば上の50ページ製本印刷の場合は、2回目の印刷面に含まれるのは、26+1=27ページと25−1=24ページとなる。以降、進捗カウンタが増加する度に28ページと23ページ、29ページと22ページ…となっていく。また、初めは進捗カウンタが0なので基本ページが最初の印刷面となる。
【0071】
ステップ708において、計算された印刷ページ1がアプリケーションからの印刷ページ数より大きいかどうか判定し、大きくなった場合は余白扱いとなり、ステップ709へ進む。大きくなければステップ710へスキップする。
【0072】
ステップ709において、印刷ページ1は余白が配置されるので、例えば余白をあらわすページ番号0を代入する。
【0073】
ステップ710およびステップ711において、印刷体裁(左開きか右開きか)および進捗カウンタから(折り込んだ際に内側にくるか外側にくるか)から計算された2ページの配置を決定する。
【0074】
具体的には、内側/外側の判定は、それまでに出された印刷要求の回数が偶数の場合内側、奇数の場合外側となる。ステップ710,711による判定の結果、次のように処理がすすむ。
【0075】
左開きで折り込み内側になるページの場合ステップ712へ進む。左開きで折り込み外側になるページの場合ステップ713へ進む。右開きで折り込み外側になるページの場合ステップ712へ進む。左開きで折り込み内側になるページの場合ステップ713へ進む。
【0076】
ステップ712において、印刷ページ1を左側に、印刷ページ2を右側に配置する。
【0077】
ステップ713において、印刷ページ1を右側に、印刷ページ2を左側に配置する。ただし、ステップ712,ステップ713において、印刷ページ1=0ならばそこには余白を配置する。
【0078】
ステップ710からステップ713の処理は、例えば25ページの裏面には24ページを、26ページの裏側には27ページを印刷するための処理である。
【0079】
ステップ714において、印刷進捗カウンタを1増加させる。
【0080】
ステップ715において、デスプーラ305に対して次の印刷要求が可能かどうかを判定し、可能ならばステップ716へ進み、不可能ならステップ717へ進み、次の印刷要求が可能になるまで待つ。
【0081】
ステップ716において、配置完了した印刷ページに対して記録用紙1面分の印刷要求を行う。
【0082】
ステップ717において、次のページの出力要求が可能かどうか判定し、可能ならばステップ706へ進み、可能でないならば可能になるまで待つ。
【0083】
以上のようにして印刷出力された印刷物は、重ねた状態で2つ折りにするだけで製本することができる。
【0084】
以下に図6におけるステップ606に関する処理を図9,図10を用いて詳しく説明する。
【0085】
ここでいう枚数単位とは、何枚ごとに折り込んで製本印刷を行うかを表している。この単位をブロックと称する。例えば、アプリケーションからの40ページの印刷データを2枚単位で製本印刷する場合、2つ折りされた2枚の用紙を1つのブロックとして、1ブロックには8ページ分のデータが配置されることになる。よって、印刷データ全体を5ブロックに分けて製本印刷することになる。
【0086】
ステップ801において、印刷体裁および枚数単位を取得する。ステップ802において、印刷終了ページを0にセットする。
【0087】
ステップ803において、製本印刷処理が終わりかどうか判定し、終了ならば処理を終え、終了でなければステップ804ヘ進む。
【0088】
ステップ804において、製本印刷処理可能になる印刷ページ(製本印刷可能判定ページ)を取得する。ステップS804で求められる製本印刷可能判定ページ数は、ブロック内の最大ページ数となる。
【0089】
初めのブロックにおける製本印刷可能判定ページ数は以下によって求められる。
製本印刷可能判定ページ=枚数単位×4。
【0090】
第2ブロック以降については、製本印刷可能判定ページは以下によって求められる。
製本印刷可能判定ページ=前のブロックの製本印刷可能判定ページ+枚数単位×4。
【0091】
例えば、40ページ2枚単位の製本印刷の場合、最初のブロックにおける製本印刷可能判定ページは2×4=8となり、次のブロックは8+2×4=16ページとなる。以降24ページ、32ページ、40ページとなっていく。
【0092】
ステップ805において、スプールが終了しているページ数を取得する。
【0093】
ステップ806において、製本印刷処理が可能になる印刷ページ(製本印刷可能判定ページ)までスプール終了しているかあるいは全ページのスプールが終了しているかどうかを判定し、処理可能ならばステップ807へ進み、可能でなければステップ805ヘ戻る。
【0094】
ステップ807において、進捗カウンタを0にセットする。
【0095】
ステップ808において、2つ折りにしたとき一番内側になる用紙の内側に印刷される基本ページ2ページ分を以下の式を用いて計算する。この2ページを元に以降印刷されるページを算出する。
基本ページ1=製本印刷可能判定ページ−枚数単位×2+1。
基本ページ2=製本印刷可能判定ページ−枚数単位×2。
【0096】
ステップ809において、現在のブロックの印刷要求が終了したか判定し、終了ならばステップ803へ進み、終了していなければステップ810へ進む。具体的には、進捗カウンタが枚数単位に等しくなった場合に印刷要求が終了したと判定する。
【0097】
ステップ810において、印刷要求を行う2ページを以下の式で計算する。
印刷ページ1=基本ページ1+進捗カウンタ。
印刷ページ2=基本ページ2−進捗カウンタ。
【0098】
始めは進捗カウンタが0なので基本ページが最初の印刷ページとなる。
【0099】
ステップ811において、計算された印刷ページ1がアプリケーションからの印刷ページ数より大きいかどうか判定し、大きくなった場合は余白扱いとなり、ステップ812へ進む。大きくなければステップ813へスキップする。
【0100】
ステップ812において、印刷ページ1は余白が配置されるので、例えば余白をあらわすページ番号0を代入する。
【0101】
ステップ813およびステップ814において、印刷体裁(左開きか右開きか)および進捗カウンタから(折り込んだ際に内側にくるか外側にくるか)から計算された2ページの配置を決定する。
【0102】
具体的には、内側外側の判定は印刷要求回数が偶数の場合内側、奇数の場合外側となる。
【0103】
左開きで折り込み内側になるページの場合ステップ815へ進む。左開きで折り込み外側になるページの場合ステップ816へ進む。右開きで折り込み外側になるページの場合ステップ815へ進む。左開きで折り込み内側になるページの場合ステップ816へ進む。
【0104】
ステップ815において、印刷ページ1を左側に、印刷ページ2を右側に配置する。
【0105】
ステップ816において、印刷ページ1を右側に、印刷ページ2を左側に配置する。ただし、ステップ815,ステップ816において、印刷ページ1=0ならばそこには余白を配置する。
【0106】
ステップ817において、印刷進捗カウンタを1増加させる。
【0107】
ステップ818において、次の印刷要求が可能かどうかを判定し、可能ならばステップ819へ進み、不可能なら次の印刷要求が可能になるまで待つ。
【0108】
ステップ820おいて、配置完了した印刷ページに対して紙1面分の印刷要求を行う。
【0109】
以上の手順により発行された印刷要求に対して、プリンタ1500により両面印刷を行えば、印刷出力された用紙を所望の枚数単位ごとに二つ折りにして並べるだけで、製本された印刷物を作成することができる。
【0110】
[第2の実施の形態]
アプリケーションからの全ページをスプール終了してから任意枚数単位の製本印刷処理を行う場合において、その最終ブロックに印刷されるページ数が少ない場合、最終ブロックに限り指定枚数より少ない枚数単位で製本印刷を行うことによって、使用する用紙を少なくすることが可能である。
【0111】
例えば、残りページ数が3ページに対して枚数単位が2の場合、5ページ分が余白になってしまうが、これを1枚単位に変更した場合、余白は1ページ分で済み、用紙の枚数が1枚少なくて済む。
【0112】
以降、図11によって最終ブロックの枚数調整処理について詳しく説明する。これは印刷ページに対して必要以上に大きい枚数単位が指定された場合にも適用される。例えば、アプリケーションからの30ページの印刷データに対して10枚単位での製本印刷が指定された場合、実際に必要な用紙枚数は8枚なので、枚数単位は10枚から8枚へ調整される。これはページ全体で製本印刷した場合と同じ出力結果になる。
【0113】
以下の処理は図8におけるステップ806とステップ807の間において、ステップ806での判定がYESとなった場合に処理することによって上述の用紙の枚数の削減が達成される。
【0114】
ステップ901において、全ページのスプールが終了したかどうか判定し、終了していればステップ902に進み、進んでいなければ処理を抜ける。
【0115】
ステップ902において、残りページ数を以下の式で計算する。
残りページ数=アプリケーションからの印刷ページ−現在の製本印刷可能判定。
【0116】
ページステップ903において、現在設定されている枚数単位におけるブロックに収まるページ数と残りページ数とを比較して、残りページ数の方が少なければステップ904へ進み、そうでなければ調整処理は必要としないとして処理を抜ける。
【0117】
ステップ904において、残りページが収まるもっとも小さい製本の枚数単位を以下の式によって求める。
新しい製本枚数単位=残りページ÷4(小数点以下切り上げ)。
【0118】
こうして得られた新しい製本枚数単位を用いて、ステップ807以降で最後のブロックを印刷すれば、白紙のページはせいぜい1ページで済み、記録用紙を無駄にせず、また、記録面数も減るため、印刷出力に要する時間も短くなる。
【0119】
[第3の実施の形態]
任意毎数単位の製本印刷処理を行う場合において、前述の第2の実施の形態のように最終ブロックの用紙節約を行う場合は、アプリケーションから全ページをスプール終了してから印刷要求を行う必要がある。これに対して最終ブロックの用紙節約を行わない場合は、ブロック中の全ページのスプール終了を待たなくても印刷要求を開始可能であり、これにより1枚目の記録媒体出力までの印刷時間が短縮できる。また、印刷処理を早く開始することにより、印刷より全体のスループット向上も期待できる。第2の実施の形態においては、全ページのスプールが終了しているか否かに応じて、白紙ページの節約を行うことを決定していたが、本実施の形態では、節約を行うことが指示されていたなら白紙ページの節約を行う。
【0120】
図13にその手順のフローチャートを示す。この処理は、最終ブロックの用紙節約を行うかどうかによってブロック中の全ページのスプール終了を待つ必要があるか決定する。最終ブロックの用紙節約を行わない場合、ブロック中の全ページのスプール終了を待たずに印刷要求を開始するものとする。図13は、図9におけるステップS806(−YES)とステップS807との間に挿入される。これは、第2の実施の形態において図11に示した手順の先頭に、用紙を節約するか否かの判定であるステップ1301を付加したものである。すなわち、用紙を節約する場合には第2の実施の形態と同様の処理を行い、そうでなければ第1の実施の形態と同様の処理を行うことになる。なお、ステップ1301におけるこの判定基準は、たとえば、ホストコンピュータ3000のキーボード9などからオペレータに指定させ、それをRAM2に記憶しておけばよい。
【0121】
ただし、用紙を節約しない場合には、ブロックの全ページのスプール終了を待たずに印刷要求を開始することができるため、第1及び第2の実施の形態においては、図9のステップS804で、最初のブロックの製本印刷可能判定ページを、「枚数単位×4」で求めていたのを、「枚数単位×2+1」に置き換えることができる。
【0122】
例えば、40ページ2枚単位の製本印刷の場合、ブロックの全ページのスプールを待つとすれば、4×2=8ページのスプールの完了を待つことになるのに対して、用紙を節約しないならば、最初のブロックにおける製本印刷可能判定ページは、2×2+1=5ページとなる。すなわち、3ページ分早く印刷を開始できる。これ以降のブロックは、いずれの場合にも「前のブロックの製本印刷可能判定ページ+枚数単位×4」となるため、3ページ分早く印刷が完了する。
【0123】
図14は、図9のステップ804を置き換える手順のフローチャートである。用紙を節約しなくともよいのであれば、ステップ1403において印刷可能ページ数を次のように求める。
・最初のブロック:
製本印刷可能判定ページ=枚数単位×2+1。
・2番目以降のブロック:
製本印刷可能判定ページ=前の製本印刷可能判定ページ+枚数単位×4。
【0124】
図14は、図9のステップ804を置き換える手順のフローチャートである。用紙を節約するのであれば、ステップ1402において印刷可能ページ数を次のように求める。
・最初のブロック:
製本印刷可能判定ページ=枚数単位×4。
・2番目以降のブロック:
製本印刷可能判定ページ=前の製本印刷可能判定ページ+枚数単位×4。
【0125】
以上の処理により、最終ブロックの用紙節約を行わない場合には、ブロック中の全ページのスプールを待たなくとも印刷要求の開始が可能であり、これにより1枚目の記録媒体出力までの印刷時間が短縮する。この効果は製本印刷の1ブロック当たりの枚数が多ければ多いほどその効果が大きい。又、印刷要求を早く開始することにより、印刷処理全体のスループットの向上も期待できる。
【0126】
【他の実施形態】
なお、本発明は、複数の機器(例えばホストコンピュータ,インタフェイス機器,リーダ,プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機,ファクシミリ装置など)に適用してもよい。
【0127】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成される。
【0128】
この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0129】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。
【0130】
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0131】
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0132】
【発明の効果】
以上説明したように、請求項1,2,4,5,7,8記載の発明によれば、製本設定が分冊製本の場合に、取得される印刷用紙の枚数単位に基づき得られる最後の冊子ブロックに配置可能な最大ページ数より、該最後の冊子ブロックに配置される前記印刷すべきデータの残りのページ数が少ない場合に、最後の冊子ブロックの印刷用紙の枚数を、最後の冊子ブロックに配置される残りのページ数が収まる枚数を導出し、導出した枚数で最後の冊子ブロックが綴じられるように最後の冊子ブロックのページ配置を決定することで、記録用紙を無駄にせず、また、記録面数も減らして印刷出力に要する時間も短縮することができる。
【0133】
また請求項3,6,9記載の発明によれば、最後の冊子を所定枚数で綴じるか、減らした枚数で綴じるかをユーザの指定により判断することで、ユーザの意思を尊重することができる。
【図面の簡単な説明】
【図1】実施形態の印刷システムのブロック図である。
【図2】ホストコンピュータにおける典型的な印刷データ生成を示す図である。
【図3】中間コードを生成する図2を拡張した印刷データ生成を示す図である。
【図4】製本印刷とその実現結果について説明した図である。
【図5】製本印刷によって出力される製本の体裁を説明した図である。
【図6】複数の製本印刷制御手順のフローチャートである。
【図7】全ページを一まとめにして製本印刷を行う方法を説明したフローチャートである。
【図8】全ページを一まとめにして製本印刷を行う方法を説明したフローチャートである。
【図9】任意の用紙枚数を1ブロックとして製本印刷を行う方法を説明したフローチャートである。
【図10】任意の用紙枚数を1ブロックとして製本印刷を行う方法を説明したフローチャートである。
【図11】用紙節約の方法について説明したフローチャートである。
【図12】両面ユニットを有するレーザビームプリンタの断面図である。
【図13】第3の実施の形態において用紙節約の有無を選択する手順のフローチャートである。
【図14】第3の実施の形態において製本印刷可能判定ページを設定する手順のフローチャートである。
【符号の説明】
1 CPU
2 RAM
3 ROM
4 システムバス
12 CPU
13 ROM
19 RAM
3000 ホストコンピュータ
1500 プリンタ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a print control apparatus and method, and more particularly, to a print control apparatus and method for outputting a printed matter ready for bookbinding in a system including information processing such as a personal computer and an output device such as a printer.
[0002]
[Prior art]
According to the related art, when bookbinding printing is performed using a printer having a double-sided printing unit, that is, when printing is performed so that the page order is aligned by folding the printed output paper into two, the memory of the printer is used. The pages to be printed are stored in the printer, and the pages are arranged and output by a printer. In this method, four continuous pages are arranged and printed so that when the paper on which the four pages are printed is folded in two, the pages are continuous.
[0003]
[Problems to be solved by the invention]
In printing with such a conventional printer, the output printed matter is folded in two sheets one by one, and the folded printed matter must be arranged in the page order with respect to the entire document. Therefore, the user folds the sheet into two sheets one by one, and the work increases when the number of pages is large. As described above, there is a disadvantage that the user is burdened with a great deal of labor.
[0004]
Further, if the unit to be folded is set to a predetermined number of separate volumes and printing is performed so as to bind and bind the separate volumes, many blank pages are generated in the last separate volume, and recording paper may be wasted. This not only leads to waste of paper, but also includes a time for outputting a blank paper in the print processing time.
[0005]
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described conventional example, and provides a print control apparatus and method which can reduce the number of recording surfaces and the time required for print output without wasting recording paper. Aim.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, the present invention has the following configuration.
That is, a print control device as a host computer that generates a print job including a printer control command,
In the case of bookbinding , in which a predetermined number of print sheets are divided into a plurality of booklet blocks into one booklet block for data to be printed input from an application , when a predetermined number of print sheets are folded in two, An input unit for inputting bookbinding settings including a setting of a unit of the number of print sheets to be arranged ;
Spooling means for spooling the data to be printed in the storage means so as to be readable in a desired order in page units;
Acquiring means for acquiring a unit of the number of sheets of printing paper of one booklet block at the time of bookbinding input by the input means;
The number of remaining pages of the data to be printed arranged in the last booklet block is smaller than the maximum number of pages that can be arranged in the last booklet block obtained based on the unit of the number of print sheets acquired by the acquiring unit. In such a case, a deriving unit that derives a sheet unit in which the number of remaining pages fits,
An arrangement unit that determines the arrangement of pages so as to bind each booklet block in units of the number of print sheets acquired by the acquisition unit ,
Reading means for reading print data from the storage means in an order according to the arrangement determined by the arrangement means, for outputting print data to the printing apparatus,
The arrangement unit is configured to calculate a remaining amount of the data to be printed arranged in the last booklet block from a maximum number of pages that can be arranged in the last booklet block obtained based on the unit of the number of print sheets acquired by the acquisition unit. When the number of pages is small, the arrangement of the pages of the last booklet block is determined so that the last booklet block is bound in units of the number derived by the deriving means .
[0007]
More preferably, the arrangement means, when performing separate bookbinding for every predetermined number N, when the number of pages that can be arranged in the last booklet is smaller than 4N pages by 4α pages (α is an integer, truncated to a small number), the last booklet block is deleted. The layout of pages is determined so as to bind with (N-α) sheets.
[0008]
More preferably, there is further provided a determination means for determining whether to bind the last booklet with a predetermined number (N) or with a reduced number (N-α) according to a user's designation.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment suitable for applying the present invention will be described.
[0010]
[First Embodiment]
FIG. 1 is a block diagram of a printer control system according to an embodiment of the present invention. As long as the functions of the present invention are executed, connection and processing are performed via a network such as a LAN or a WAN, whether a single device or a system including a plurality of devices. The present invention can be applied to a system.
[0011]
<Configuration of printing system>
In the figure, a host computer 3000 executes document processing in which graphics, images, characters, tables (including spreadsheets, etc.) are mixed based on a document processing program or the like stored in a program ROM of the ROM 3 or the external memory 11. The CPU 1 controls the devices connected to the system bus 4. An operating system program (hereinafter referred to as OS), which is a control program of the CPU 1, is stored in the program ROM or the external memory 11 of the ROM 3, and the font ROM or the external memory 11 of the ROM 3 is used for the above-described document processing. Font data and the like to be used are stored, and various data used when performing the above-described document processing and the like are stored in the data ROM of the ROM 3 or the external memory 11. The RAM 2 functions as a main memory, a work area, and the like for the CPU 1.
[0012]
A keyboard controller (KBC) 5 controls a key input from a keyboard 9 or a pointing device (not shown). A CRT controller (CRTC) 6 controls display on a CRT display (CRT) 10. The disk controller (DKC) 7 includes a hard disk (HD) that stores a boot program, various applications, font data, user files, edit files, a printer control command generation program (hereinafter, printer driver), a floppy (registered trademark) disk ( Access to the external memory 11 such as FD) is controlled. The printer controller (PRTC) 8 is connected to the printer 1500 via a predetermined bidirectional interface (interface) 21, and executes a communication control process with the printer 1500.
[0013]
The CPU 1 executes, for example, a process of developing (rasterizing) the outline font on the display information RAM set on the RAM 2 to enable WYSIWYG on the CRT 10. Further, the CPU 1 opens various registered windows based on commands specified by a mouse cursor or the like (not shown) on the CRT 10, and executes various data processing. When executing printing, the user opens a window related to print settings, and can set a printer and a print processing method for a printer driver including selection of a print mode.
[0014]
In the printer 1500, the printer CPU 12 sends a print program (printer engine) 17 connected to the system bus 15 based on a control program or the like stored in the program ROM of the ROM 13 or a control program or the like stored in the external memory 14. An image signal is output as output information. The program ROM of the ROM 13 stores a control program of the CPU 12 and the like. The font ROM of the ROM 13 stores font data and the like used when generating the output information. In the case of a printer having no external memory 14 such as a hard disk in the data ROM of the ROM 13, the font ROM is stored on the host computer. The information used is stored.
[0015]
The CPU 12 can perform communication processing with the host computer via the input unit 18 and can notify the host computer 3000 of information in the printer and the like. The RAM 19 is a RAM that functions as a main memory, a work area, and the like for the CPU 12, and is configured so that the memory capacity can be expanded by an optional RAM connected to an extension port (not shown). The RAM 19 is used for an output information development area, an environment data storage area, an NVRAM, and the like. The access to the external memory 14 such as a hard disk (HD) and an IC card is controlled by a memory controller (MC) 20. The external memory 14 is connected as an option, and stores font data, an emulation program, form data, and the like. The operation unit 1501 is provided with a switch for operation, an LED display, and the like.
[0016]
The above-mentioned external memory is not limited to one, and at least one external memory is provided. In addition to the built-in fonts, an option card and a plurality of external memories storing programs for interpreting printer control languages of different language systems can be connected. It may be. Further, an NVRAM (not shown) may be provided to store printer mode setting information from the operation unit 1501.
[0017]
FIG. 2 is a configuration diagram of a typical printing process in a host computer to which a printing device such as a printer is directly connected or connected via a network. The application 201, the graphic engine 202, the printer driver 203, and the system spooler 204 exist as files stored in the external memory 11, and when executed, are loaded into the RAM 2 by the OS or a module using the module and executed. It is a program module. Further, the application 201 and the printer driver 203 can be added to the FD of the external memory 11, a CD-ROM (not shown), or the HD of the external disk 11 via a network (not shown).
[0018]
The application 201 stored in the external memory 11 is loaded into the RAM 2 and executed. When printing from the application 201 to the printer 1500, the graphic 201 which is also loaded into the RAM 2 and is executable. Output (drawing) is performed using the engine 202. The graphic engine 202 similarly loads a printer driver 203 prepared for each printing device from the external memory 11 to the RAM 2, and converts the output of the application 210 into a printer control command using the printer driver 203. The converted printer control command is output to the printer 1500 via the interface 21 via the system spooler 204 loaded into the RAM 2 by the OS.
[0019]
The system according to the present embodiment is based on the premise that, in addition to the printing system including the printer and the host computer shown in FIG. 2, the print data from the application is temporarily spooled as intermediate code data as shown in FIG. .
[0020]
<Configuration of print control system>
FIG. 3 is an extension of the system of FIG. 2, and when a print command is sent from the graphic engine 202 to the printer driver 203, a spool file 303 composed of intermediate codes is once generated. In the system shown in FIG. 2, the application 201 is released from the printing process when the printer driver 203 finishes converting all print commands from the graphic engine 202 into printer control commands. On the other hand, in the system shown in FIG. 3, the spooler 302 converts all the print commands into intermediate code data and outputs them to the spool file 303. Usually, the latter requires less time. Further, in the system shown in FIG. 3, the contents of the spool file 303 can be processed. As a result, it is possible to realize functions that the application does not have, such as enlargement / reduction of print data from the application, reduction of a plurality of pages to one page, and printing.
[0021]
For these purposes, the system of FIG. 2 has been expanded to spool the intermediate code data as shown in FIG. In order to process the print data, the operator normally makes settings on a setting screen provided by the printer driver 203, and the printer driver 203 stores the set contents in the RAM 2 or the external memory 11.
[0022]
Hereinafter, details of FIG. 3 will be described. As shown in the figure, in this extended processing method, the dispatcher 301 receives a print command from the graphic engine 202. When the print command received by the dispatcher 301 from the graphic engine 202 is a print command issued from the application 201 to the graphic engine 202, the dispatcher 301 loads the spooler 302 stored in the external memory 11 into the RAM 2 and The print command is sent to the spooler 302 instead of the driver 203.
[0023]
The spooler 302 converts the received print command into an intermediate code and outputs it to the spool file 303. Further, the spooler 302 acquires processing settings related to print data set for the printer driver 203 from the printer driver 203 and stores the processing settings in the spool file 303. Although the spool file 303 is generated as a file on the external memory 11, it may be generated on the RAM 2. Further, the spooler 302 loads the spool file manager 304 stored in the external memory 11 onto the RAM 2 and notifies the spool file manager 304 of the status of generation of the spool file 303. After that, the spool file manager 304 determines whether or not printing can be performed in accordance with the contents of the processing settings relating to the print data stored in the spool file 303. When the spool file manager 304 determines that printing can be performed using the graphic engine 202, the despooler 305 stored in the external memory 11 is loaded into the RAM 2, and the despooler 305 is described in the spool file 303. An instruction is issued to perform an intermediate code printing process.
[0024]
The despooler 305 processes the intermediate code included in the spool file 303 in accordance with the processing settings included in the spool file 303, and outputs the processed intermediate code via the graphic engine 202 again.
[0025]
If the print command received by the dispatcher 301 from the graphic engine 202 is a print command issued from the despooler 305 to the graphic engine 202, the dispatcher 301 sends the print command to the printer driver 203 instead of the spooler 302.
[0026]
The printer driver 203 generates a printer control command according to the received print command, and outputs it to the printer 1500 via the system spooler 204 and the bidirectional interface 21.
[0027]
<Configuration of Printer>
FIG. 12 is a cross-sectional view of a color laser beam printer having a duplex printing function, which is an example of the printer 1500.
[0028]
This printer forms an electrostatic latent image by scanning the photosensitive drum 15 with the polygon mirror 31 using laser light modulated with image data for each color obtained based on print data input from the host computer 3000. Then, a visible image is obtained by developing the electrostatic latent image with toner, and the visible image is multiplex-transferred to the intermediate transfer member 9 for all colors to form a color visible image. Further, the color visible image is transferred to the transfer material 2, and the color visible image is fixed on the transfer material 2. The image forming unit that performs the above control includes a drum unit having a photosensitive drum 15, a primary charging unit having a contact charging roller 17, a cleaning unit, a developing unit, an intermediate transfer body 9, a paper cassette 1 and various rollers 3, 4, 5, 7, a transfer unit including the transfer roller 10, and a fixing unit 25.
[0029]
The drum unit 13 is configured by integrally forming a photosensitive drum (photoconductor) 15 and a cleaner container 14 having a cleaning mechanism also serving as a holder for the photosensitive drum 15. The drum unit 13 is detachably supported by the printer main body, and is configured so that the unit can be easily replaced according to the life of the photosensitive drum 15. The photosensitive drum 15 is formed by applying an organic photoconductor layer on the outer periphery of an aluminum cylinder, and is rotatably supported by the cleaner container 14. The photosensitive drum 15 rotates when a driving force of a drive motor (not shown) is transmitted. The drive motor rotates the photosensitive drum 15 in a counterclockwise direction according to an image forming operation. Exposure to the photosensitive drum 15 is configured so that an electrostatic latent image is formed by selectively exposing the surface of the photosensitive drum 15 to laser light transmitted from the scanner unit 30. In the scanner section 30, the modulated laser light is reflected by a polygon mirror that rotates in synchronization with a horizontal synchronization signal of an image signal by a motor 31a, and irradiates the photosensitive drum via a lens 32 and a reflection mirror 33.
[0030]
The developing unit includes three color developing units 20Y, 20M, and 20C for developing yellow (Y), magenta (M), and cyan (C), and a black ( And a single black developing unit 21B for performing the development of B). The color developing units 20Y, 20M, 20C and the black developing unit 21B include sleeves 20YS, 20MS, 20CS, and 21BS, and coating blades 20YB, 20MB, 20CB, and 21BB that press against the outer circumferences of the sleeves 20YS, 20MS, 20CS, and 20BS, respectively. Are respectively provided. The three color developing units 20Y, 20M, and 20C are provided with coating rollers 20YR, 20MR, and 20CR.
[0031]
The black developing device 21B is detachably attached to the printer main body, and the color developing devices 20Y, 20M, and 20C are detachably attached to a developing rotary 23 that rotates around a rotation shaft 22.
[0032]
The sleeve 21BS of the black developing device 21B is arranged at a minute interval of, for example, about 300 μm with respect to the photosensitive drum 15. The black developing device 21B conveys the toner by a feeding member built in the device, and applies electric charge to the toner by frictional charging so that the toner is applied to the outer periphery of the sleeve 21BS that rotates clockwise by the application blade 21BB. Further, by applying a developing bias to the sleeve 21BS, the photosensitive drum 15 is developed in accordance with the electrostatic latent image, and a visible image is formed on the photosensitive drum 15 using black toner.
[0033]
The three color developing units 20Y, 20M, and 20C rotate with the rotation of the developing rotary 23 during image formation, and the predetermined sleeves 20YS, 20MS, and 20CS are spaced from the photosensitive drum 15 at a minute interval of about 300 μm. Will face each other. As a result, the predetermined color developing units 20Y, 20M, and 20C are stopped at the developing position facing the photosensitive drum 15, and a visible image is created on the photosensitive drum 15.
[0034]
At the time of forming a color image, the developing rotary 23 rotates every rotation of the intermediate transfer body 9, and the developing process is performed in the order of a yellow developing device 20Y, a magenta developing device 20M, a cyan developing device 20C, and then a black developing device 20B. The transfer member 9 rotates four times to sequentially form visible images using the respective toners of yellow, magenta, cyan, and black. As a result, a full-color visible image is formed on the intermediate transfer member 9.
[0035]
The intermediate transfer body 9 is configured to rotate in accordance with the rotation of the photosensitive drum 15 in contact with the photosensitive drum 15 and rotate clockwise at the time of forming a color image. The image undergoes multiple transfer. Further, the intermediate transfer member 9 simultaneously transfers the visible color image on the intermediate transfer member 9 to the transfer material 2 by multiple transfer by sandwiching and transferring the transfer material 2 by contacting a transfer roller 10 described later during image formation. TOP sensor 9a and RS sensor 9b for detecting the position of the intermediate transfer member 2 in the rotation direction, and density sensors for detecting the density of the toner image transferred to the intermediate transfer member are provided on the outer peripheral portion of the intermediate transfer member. 9c is arranged.
[0036]
The transfer roller 10 includes a transfer charger that is supported so as to be able to contact and separate from the photosensitive drum 15, and is configured by winding a metal shaft with a medium-resistance foam elastic body.
[0037]
The transfer roller 10 is separated downward so as not to disturb the color visible image during the multiple transfer of the color visible image onto the intermediate transfer body 9 as shown by a solid line in FIG. After the four color visible images are formed on the intermediate transfer member 9, the transfer roller 10 is moved by a cam member (not shown) in accordance with the timing at which the color visible images are transferred to the transfer material 2. It is located above indicated by. As a result, the transfer roller 10 is pressed against the intermediate transfer body 9 via the transfer material 2 with a predetermined pressing force, and a bias voltage is applied to transfer the color visible image on the intermediate transfer body 9 to the transfer material 2.
[0038]
The fixing unit 25 fixes the transferred color visible image while conveying the transfer material 2. The fixing unit 25 heats the transfer material 2 and pressurizes the transfer material 2 against the fixing roller 26. And a roller 27. The fixing roller 26 and the pressure roller 27 are formed in a hollow shape, and have heaters 28 and 29 therein, respectively. That is, the transfer material 2 holding the color visible image is conveyed by the fixing roller 26 and the pressure roller 27, and the toner is fixed on the surface by applying heat and pressure.
[0039]
The transfer material 2 after the fixing of the visible image is thereafter discharged to the paper discharge unit 37 by the paper discharge rollers 34, 35, 36, and the image forming operation is completed.
[0040]
The cleaning unit is for cleaning the toner remaining on the photosensitive drum 15 and the intermediate transfer member 9. The cleaning unit removes waste toner after transferring the visible image formed by the toner formed on the photosensitive drum 15 to the intermediate transfer member 9. After transferring the four color visible images formed on the intermediate transfer member 9 to the transfer material 2, the waste toner is stored in the cleaner container 14.
[0041]
The transfer material (recording paper) 2 to be printed is taken out from the paper feed tray 1 by the paper feed roller 3 and is conveyed so as to be sandwiched between the intermediate transfer body 9 and the transfer roller 10 to record a color toner image. Then, the toner image passes through the fixing unit 25 and is fixed. In the case of single-sided printing, the conveyance path is formed so that the guide 38 guides the recording sheet to the upper discharge section, but the path is formed so that the sheet for double-sided printing is guided to the lower double-sided unit. .
[0042]
The recording paper guided to the double-sided unit is once fed into the lower portion of the tray 1 (the conveyance path indicated by the two-dot chain line) by the conveyance rollers 40, is conveyed in the opposite direction, and is sent to the double-sided tray 39. On the double-sided tray 39, the sheet is upside down from the state of being placed on the sheet feed tray 1, and the sheet is upside down in the transport direction. By transferring and fixing the toner image again in this state, double-sided printing can be performed.
[0043]
<How to perform bookbinding printing>
FIG. 4 illustrates bookbinding printing and its implementation results.
[0044]
Bookbinding printing is printing in which the page order is matched as a result of folding the print result output on both sides of the paper into two, and there are the following two methods.
[0045]
1. In a case where all pages to be printed are in the unit of the number of sheets for bookbinding In this case, an output like the printed matter 41 in FIG. 4 is obtained, and the output is folded in two to form a book.
[0046]
2. In the case where an arbitrary page is set as a unit of bookbinding In this case, an output such as the printed matter 42 in FIG. 4 is obtained, which is folded in two for each sheet unit, and further arranged to form a book.
[0047]
The unit of bookbinding here indicates how many sheets of output paper should be bundled and folded in two for bookbinding printing.
[0048]
In addition, as shown in FIG. 5, the format of bookbinding output by bookbinding printing includes the following cases.
1. Pages are arranged in ascending order from the left (left opening).
2. Pages are arranged in ascending order from right (open right).
[0049]
Also, when the page to be printed is in the horizontal direction, the page order is not changed only by rotating the page.
[0050]
In the printing system of the present embodiment, print output is performed in accordance with the various bookbinding printing methods described above.
[0051]
<Print control procedure>
Hereinafter, the bookbinding printing process will be described in detail with reference to FIGS. 6 to 11 show control procedures executed by the spool file manager 304. When the spool file manager 304 determines that printing can be started, the processing in FIG. 6 is started.
[0052]
In step 601, if the user has set bookbinding printing, the process proceeds to step 602; otherwise, normal printing is performed and the process proceeds to step 607.
[0053]
In step 602, a setting relating to the number of sheets for bookbinding printing and a setting relating to the print style are acquired.
[0054]
The following options are available for setting the number of prints.
1. Bookbinding printing for all pages to be printed.
2. Bookbinding printing for specified arbitrary page units.
[0055]
The following options are available for setting the print style.
1. Open left.
2. Open right.
[0056]
In step 603, if all pages have been selected in the unit of bookbinding printing, the process proceeds to step 604. If not, the process proceeds to step 605.
[0057]
In step 604, the unit of bookbinding is set to the entire print page, and bookbinding printing is performed. Details of this processing will be described later.
[0058]
In step 605, if a specific number of sheets has been selected for bookbinding printing, the process proceeds to step 606, and if not, the process proceeds to step 607.
[0059]
In step 606, bookbinding printing is performed in the designated number of sheets. Details of this processing will be described later.
[0060]
In step 607, normal print processing is performed.
[0061]
Note that the setting of bookbinding printing and the setting of the number of sheets are performed by input from the host computer 3000 by an operator or the like.
[0062]
Hereinafter, the processing related to step 604 in FIG. 6 will be described in detail with reference to FIGS.
[0063]
In step 701, a print format is obtained. In step 702, the number of print pages is obtained. This print page can be acquired when all the print data from the application has been spooled.
[0064]
In step 703, a bookbinding printing progress counter is set to zero. Pages printed when this counter is an even number are printed so as to be inside when folded, and pages printed when an odd number are printed are outside when folded.
[0065]
In step 704, the number of sheets to be used is calculated by the following equation.
Number of sheets = number of pages / 4 (rounded up to the nearest decimal point).
[0066]
In step 705, two pages to be printed inside the innermost sheet when folded in half are calculated using the following formula. Based on these two pages, pages to be printed thereafter are calculated.
Basic page 1 = number of sheets × 2.
Basic page 2 = number of sheets × 2-1.
[0067]
For example, if 50 pages of print data are sent from the application, the number of sheets used for bookbinding printing is 50/4 = 13, and the basic page printed on the folded sheet when folded in half is , Basic page 1 = 13 × 2 = 26 pages and basic page 2 = 3 × 2-1 = 25 pages. In the example of FIG. 4, the eleventh page and the tenth page, which are the innermost surfaces of the printed material 41, correspond to these.
[0068]
In step 706, if the bookbinding printing process has been completed, the process is terminated. If not, the process proceeds to step 707.
[0069]
In step 707, two pages to be printed side by side on one side of the recording paper are calculated by the following formula.
Print page 1 = basic page 1 + progress counter.
Print page 2 = basic page 2-progress counter.
[0070]
For example, in the case of the above-mentioned 50-page bookbinding printing, 26 + 1 = 27 pages and 25-1 = 24 pages are included in the second printing surface. Thereafter, each time the progress counter is incremented, pages 28 and 23, 29 and 22... Since the progress counter is initially 0, the basic page is the first printing surface.
[0071]
In step 708, it is determined whether or not the calculated print page 1 is larger than the number of print pages from the application. If not, the process skips to step 710.
[0072]
In step 709, since a margin is arranged on the print page 1, for example, a page number 0 representing the margin is substituted.
[0073]
In steps 710 and 711, the layout of the two pages calculated from the print format (left or right) and the progress counter (inward or outward when folded) is determined.
[0074]
Specifically, the inside / outside determination is made inside when the number of print requests issued so far is even, and outside when the number of print requests is odd. As a result of the determination in steps 710 and 711, the processing proceeds as follows.
[0075]
In the case of a page that is opened leftward and is inside the folding, the process proceeds to step 712. In the case of a page that is opened leftward and is outside the fold, the process proceeds to step 713. In the case of a page that opens rightward and is outside the folding, the process proceeds to step 712. In the case of a page that is opened leftward and is inside the folding, the process proceeds to step 713.
[0076]
In step 712, print page 1 is arranged on the left and print page 2 is arranged on the right.
[0077]
In step 713, print page 1 is arranged on the right side, and print page 2 is arranged on the left side. However, in step 712 and step 713, if print page 1 = 0, a margin is arranged there.
[0078]
The processing from step 710 to step 713 is processing for printing, for example, page 24 on the back side of page 25 and page 27 on the back side of page 26.
[0079]
In step 714, the printing progress counter is incremented by one.
[0080]
In step 715, it is determined whether the next print request can be made to the despooler 305. If so, the process proceeds to step 716. If not, the process proceeds to step 717 to wait until the next print request becomes possible.
[0081]
In step 716, a print request for one recording sheet is made for the printed pages that have been arranged.
[0082]
In step 717, it is determined whether the output request for the next page is possible. If possible, the process proceeds to step 706. If not, the process waits until it becomes possible.
[0083]
The printed matter printed and output as described above can be bound simply by folding it in two in an overlapping state.
[0084]
Hereinafter, the processing related to step 606 in FIG. 6 will be described in detail with reference to FIGS.
[0085]
The number of sheets here indicates how many sheets are folded and bound and printed. This unit is called a block. For example, in the case where bookbinding printing of 40 pages of print data from an application is performed in units of two sheets, two sheets of folded paper are regarded as one block, and eight pages of data are arranged in one block. . Therefore, bookbinding printing is performed by dividing the entire print data into five blocks.
[0086]
In step 801, a print format and a number unit are obtained. In step 802, the print end page is set to 0.
[0087]
In step 803, it is determined whether the bookbinding printing process is completed. If the process is completed, the process is completed. If not, the process proceeds to step 804.
[0088]
In step 804, a print page (bookbinding printability determination page) that enables bookbinding print processing is acquired. The number of bookbinding print determination pages determined in step S804 is the maximum number of pages in the block.
[0089]
The number of bookbinding printable pages in the first block is obtained as follows.
Bookbinding printable page = number of sheets × 4.
[0090]
For the second and subsequent blocks, the bookbinding printability determination page is obtained as follows.
Bookbinding printability determination page = bookbinding printability determination page of previous block + number of sheets × 4.
[0091]
For example, in the case of bookbinding printing in units of 40 pages, the binding printability determination page in the first block is 2 × 4 = 8, and the next block is 8 + 2 × 4 = 16 pages. Thereafter, the number of pages becomes 24, 32, and 40.
[0092]
In step 805, the number of pages for which spooling has been completed is obtained.
[0093]
In step 806, it is determined whether spooling has been completed up to a print page (bookbinding printable determination page) in which bookbinding print processing can be performed, or whether spooling of all pages has been completed. If not, the process returns to step 805.
[0094]
In step 807, the progress counter is set to 0.
[0095]
In step 808, two basic pages to be printed inside the innermost sheet when folded in half are calculated using the following equation. Based on these two pages, pages to be printed thereafter are calculated.
Basic page 1 = bookbinding printability determination page−number of sheets × 2 + 1.
Basic page 2 = bookbinding printability determination page−number of sheets × 2.
[0096]
In step 809, it is determined whether the print request for the current block has been completed. If the request has been completed, the process proceeds to step 803; Specifically, when the progress counter becomes equal to the number of sheets, it is determined that the print request has been completed.
[0097]
In step 810, two pages for which a print request is made are calculated by the following equation.
Print page 1 = basic page 1 + progress counter.
Print page 2 = basic page 2-progress counter.
[0098]
Since the progress counter is initially 0, the basic page is the first print page.
[0099]
In step 811, it is determined whether or not the calculated print page 1 is larger than the number of print pages from the application. If not larger, the process skips to step 813.
[0100]
In step 812, the print page 1 is provided with a blank space, and therefore, for example, a page number 0 representing the blank space is substituted.
[0101]
In steps 813 and 814, the layout of the two pages calculated from the print format (left or right) and the progress counter (inward or outward when folded) is determined.
[0102]
More specifically, the inside / outside determination is made inside when the number of print requests is even, and outside when the number of print requests is odd.
[0103]
In the case of a page that is opened leftward and is inside the folding, the process proceeds to step 815. In the case of a page that is opened leftward and is outside the fold, the process proceeds to step 816. In the case of a page that opens rightward and is outside the folding, the process proceeds to step 815. In the case of a page that is opened leftward and is inside the folding, the process proceeds to step 816.
[0104]
In step 815, print page 1 is arranged on the left and print page 2 is arranged on the right.
[0105]
At step 816, print page 1 is placed on the right and print page 2 is placed on the left. However, in step 815 and step 816, if print page 1 = 0, a margin is arranged there.
[0106]
In step 817, the printing progress counter is incremented by one.
[0107]
In step 818, it is determined whether the next print request is possible. If so, the process proceeds to step 819. If not, the process waits until the next print request becomes possible.
[0108]
In step 820, a print request for one sheet of paper is made for the printed pages that have been arranged.
[0109]
If the printer 1500 performs double-sided printing in response to the print request issued according to the above-described procedure, it is possible to create a bound printed matter only by folding and arranging the printed output paper in units of a desired number of sheets. Can be.
[0110]
[Second embodiment]
When performing bookbinding print processing in arbitrary number units after spooling all pages from the application, if the number of pages to be printed in the last block is small, only the last block should be bound in a smaller number of pages than the specified number. By doing so, it is possible to reduce the number of sheets used.
[0111]
For example, when the number of remaining pages is 3 and the unit of number is 2 for 5 pages, the margin for 5 pages becomes a margin. However, when this is changed to the unit of 1 page, the margin is 1 page and the margin is only 1 page. One less.
[0112]
Hereinafter, the number adjustment process of the last block will be described in detail with reference to FIG. This is also applied to a case where an unnecessarily large number of sheets is designated for a print page. For example, if bookbinding printing in units of 10 sheets is specified for 30 pages of print data from the application, the number of sheets actually required is 8, so the unit of sheets is adjusted from 10 to 8 sheets. This is the same output result as when bookbinding printing is performed on the entire page.
[0113]
The following processing is performed between step 806 and step 807 in FIG. 8 when the determination in step 806 is YES, thereby achieving the above-described reduction in the number of sheets.
[0114]
In step 901, it is determined whether or not spooling of all pages has been completed. If it has been completed, the process proceeds to step 902, and if not, the process exits.
[0115]
In step 902, the number of remaining pages is calculated by the following equation.
Remaining page number = printed page from application−current bookbinding printability determination.
[0116]
In the page step 903, the number of pages that can be accommodated in the block in the currently set number of units is compared with the number of remaining pages. If the number of remaining pages is smaller, the process proceeds to step 904; It exits as no.
[0117]
In step 904, the unit of the smallest number of bookbindings that can accommodate the remaining pages is determined by the following equation.
New bookbinding unit = remaining pages / 4 (rounded up to the nearest decimal).
[0118]
If the last block is printed after step 807 using the new bookbinding unit obtained in this way, only one blank page can be used, so that the recording paper is not wasted and the number of recording surfaces is reduced. The time required for print output is also reduced.
[0119]
[Third Embodiment]
In the case of performing bookbinding printing processing in arbitrary number units, when paper saving of the last block is performed as in the above-described second embodiment, it is necessary to issue a print request after spooling all pages from the application. is there. On the other hand, when the paper saving of the last block is not performed, the print request can be started without waiting for the end of the spooling of all the pages in the block. Can be shortened. Also, by starting the print processing earlier, an improvement in the overall throughput can be expected compared to printing. In the second embodiment, saving of blank pages is determined depending on whether spooling of all pages has been completed. However, in the present embodiment, saving is instructed to be performed. If so, save a blank page.
[0120]
FIG. 13 shows a flowchart of the procedure. In this process, it is determined whether or not it is necessary to wait for the end of spooling of all pages in the block depending on whether or not to save the paper of the last block. If the paper saving of the last block is not performed, the print request is started without waiting for the end of the spooling of all the pages in the block. FIG. 13 is inserted between step S806 (-YES) and step S807 in FIG. This is obtained by adding a step 1301 for determining whether or not to save paper to the head of the procedure shown in FIG. 11 in the second embodiment. That is, when saving paper, the same processing as in the second embodiment is performed, and otherwise, the same processing as in the first embodiment is performed. It should be noted that this determination criterion in step 1301 may be specified by the operator from the keyboard 9 of the host computer 3000, for example, and may be stored in the RAM 2.
[0121]
However, if the paper is not saved, the print request can be started without waiting for the end of spooling of all pages of the block. Therefore, in the first and second embodiments, in step S804 in FIG. The binding printability determination page of the first block, which is obtained by “number of sheets × 4”, can be replaced with “number of sheets × 2 + 1”.
[0122]
For example, in the case of bookbinding printing in units of 40 pages, if spooling of all pages in a block is to be waited, completion of spooling of 4 × 2 = 8 pages is to be waited. For example, the number of bookbinding print determination pages in the first block is 2 × 2 + 1 = 5 pages. That is, printing can be started three pages earlier. In any case, the subsequent blocks are “bookbinding printable determination page of previous block + number of sheets × 4”, so printing is completed three pages earlier.
[0123]
FIG. 14 is a flowchart of a procedure for replacing step 804 in FIG. If it is not necessary to save paper, the number of printable pages is obtained in step 1403 as follows.
・ First block:
Bookbinding printable page = number of sheets × 2 + 1.
・ Second and subsequent blocks:
Bookbinding printability determination page = previous bookbinding printability determination page + number of sheets × 4.
[0124]
FIG. 14 is a flowchart of a procedure for replacing step 804 in FIG. If paper is to be saved, the number of printable pages is determined in step 1402 as follows.
・ First block:
Bookbinding printable page = number of sheets × 4.
・ Second and subsequent blocks:
Bookbinding printability determination page = previous bookbinding printability determination page + number of sheets × 4.
[0125]
If the last block does not save paper in the last block, a print request can be started without waiting for spooling of all pages in the block. Is shortened. This effect increases as the number of sheets per block in bookbinding printing increases. Also, by starting the print request early, it is expected that the throughput of the entire print processing will be improved.
[0126]
[Other embodiments]
The present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but it can be applied to a device including one device (for example, a copier, a facsimile device, etc.) May be applied.
[0127]
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and a computer (or CPU or MPU) of the system or apparatus to store the storage medium. This is also achieved by reading and executing the program code stored in the.
[0128]
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
[0129]
As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like is used. be able to.
[0130]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. This also includes a case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0131]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. This includes the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0132]
【The invention's effect】
As described above, according to the first, second, fourth, fifth, seventh, and eighth aspects of the present invention, when the bookbinding setting is separate bookbinding, the last booklet obtained based on the unit of the number of print sheets to be obtained. When the number of remaining pages of the data to be printed arranged in the last booklet block is smaller than the maximum number of pages that can be arranged in the block, the number of print sheets of the last booklet block is set to the last booklet block. By deriving the number of sheets to accommodate the remaining number of pages to be arranged, and by deciding the page arrangement of the last booklet block so that the last booklet block is bound by the derived number , recording paper is not wasted and recording is performed. the time required to print out also reduces the number of surfaces may be shortened.
[0133]
According to the third, sixth, and ninth aspects of the present invention, the user's intention can be respected by determining whether to bind the last booklet with a predetermined number or with a reduced number according to the user's specification. .
[Brief description of the drawings]
FIG. 1 is a block diagram of a printing system according to an embodiment.
FIG. 2 is a diagram showing typical print data generation in a host computer.
FIG. 3 is a diagram illustrating print data generation that is an extension of FIG. 2 for generating an intermediate code.
FIG. 4 is a diagram for explaining bookbinding printing and its realization result.
FIG. 5 is a diagram illustrating a bookbinding format output by bookbinding printing.
FIG. 6 is a flowchart of a plurality of bookbinding printing control procedures.
FIG. 7 is a flowchart illustrating a method of binding and printing all pages collectively.
FIG. 8 is a flowchart illustrating a method of binding and printing all pages collectively.
FIG. 9 is a flowchart illustrating a method of performing bookbinding printing with an arbitrary number of sheets as one block.
FIG. 10 is a flowchart illustrating a method of performing bookbinding printing with an arbitrary number of sheets as one block.
FIG. 11 is a flowchart illustrating a paper saving method.
FIG. 12 is a sectional view of a laser beam printer having a duplex unit.
FIG. 13 is a flowchart of a procedure for selecting whether to save paper in the third embodiment.
FIG. 14 is a flowchart of a procedure for setting a bookbinding printability determination page in the third embodiment.
[Explanation of symbols]
1 CPU
2 RAM
3 ROM
4 System bus 12 CPU
13 ROM
19 RAM
3000 Host computer 1500 Printer

Claims (9)

プリンタ制御コマンドを含む印刷ジョブを生成するホストコンピュータとしての印刷制御装置であって、
アプリケーションから入力される印刷すべきデータに対して、所定枚数の印刷用紙を1冊子ブロックとした複数の冊子ブロックに分けて製本する分冊製本において、所定枚数の印刷用紙を2つ折りにした場合にページ順を揃わせる印刷用紙の枚数単位の設定を含む製本設定を入力する入力手段と、
前記印刷すべきデータを、ページ単位に所望の順序で読み出し可能に格納手段にスプールするスプール手段と、
前記入力手段により入力される分冊製本時の1冊子ブロックの印刷用紙の枚数単位を取得する取得手段と、
前記取得手段により取得される印刷用紙の枚数単位に基づき得られる最後の冊子ブロックに配置可能な最大ページ数より、該最後の冊子ブロックに配置される前記印刷すべきデータの残りのページ数が少ない場合に、残りのページ数が収まる枚数単位を導出する導出手段と、
前記取得手段により取得される印刷用紙の枚数単位で、各冊子ブロックを綴じるようにページの配置を決定する配置手段と、
前記印刷装置に印刷データを出力するために、前記配置手段により決定された配置にしたがった順序で前記格納手段から印刷データを読み出す読み出し手段とを備え、
前記配置手段は、前記取得手段により取得される印刷用紙の枚数単位に基づき得られる最後の冊子ブロックに配置可能な最大ページ数より、該最後の冊子ブロックに配置される前記印刷すべきデータの残りのページ数が少ない場合に、前記導出手段で導出された枚数単位で最後の冊子ブロックが綴じられるように、最後の冊子ブロックのページの配置を決定することを特徴とする印刷制御装置。
A print control device as a host computer that generates a print job including a printer control command,
In the case of bookbinding , in which a predetermined number of print sheets are divided into a plurality of booklet blocks into one booklet block for data to be printed input from an application , when a predetermined number of print sheets are folded in two, An input unit for inputting bookbinding settings including a setting of a unit of the number of sheets of printing paper to be arranged ;
Spooling means for spooling the data to be printed in the storage means so as to be readable in a desired order in page units;
Acquiring means for acquiring a unit of the number of sheets of printing paper of one booklet block at the time of bookbinding input by the input means;
The number of remaining pages of the data to be printed arranged in the last booklet block is smaller than the maximum number of pages that can be arranged in the last booklet block obtained based on the unit of the number of print sheets acquired by the acquiring unit. In such a case, a deriving unit that derives a sheet unit in which the number of remaining pages fits,
An arrangement unit that determines the arrangement of pages so as to bind each booklet block in units of the number of print sheets acquired by the acquisition unit ,
Reading means for reading print data from the storage means in an order according to the arrangement determined by the arrangement means, for outputting print data to the printing apparatus,
The arrangement unit is configured to calculate a remaining amount of the data to be printed arranged in the last booklet block from a maximum number of pages that can be arranged in the last booklet block obtained based on the unit of the number of print sheets acquired by the acquisition unit. A print control device for arranging the pages of the last booklet block so that the last booklet block is bound in the number of sheets derived by the deriving means when the number of pages is small .
前記配置手段は、所定枚数N毎に分冊製本する場合に、最後の冊子に配置可能なページ数4Nより4αページ(αは整数、少数切り捨て)少ない場合に、最後の冊子ブロックを(N−α)枚で綴じるべくページの配置を決定することを特徴とする請求項1に記載の印刷制御装置。The arrangement means, when performing separate bookbinding for every predetermined number N, when the number of pages that can be arranged in the last booklet is 4α pages (α is an integer, rounded down to the nearest number), the last booklet block is set to (N−α 2. The print control apparatus according to claim 1, wherein the arrangement of the pages is determined so as to bind the sheets. 最後の冊子を所定枚数(N)で綴じるか、減らした枚数(N−α)で綴じるかをユーザの指定により判断する判断手段をさらに備えることを特徴とする請求項1に記載の印刷制御装置。2. The print control apparatus according to claim 1, further comprising a determination unit configured to determine whether to bind the last booklet with a predetermined number (N) or with a reduced number (N-α) according to a user's designation. . プリンタ制御コマンドを含む印刷ジョブを生成するホストコンピュータにおける情報処理方法であって、
アプリケーションから入力される印刷すべきデータに対して、所定枚数の印刷用紙を1冊子ブロックとした複数の冊子ブロックに分けて製本する分冊製本において、所定枚数の印刷用紙を2つ折りにした場合にページ順を揃わせる印刷用紙の枚数単位の設定を含む製本設定を入力する入力工程と、
前記印刷すべきデータを、ページ単位に所望の順序で読み出し可能に格納手段にスプールするスプール工程と、
前記入力工程により入力される分冊製本時の1冊子ブロックの印刷用紙の枚数単位を取得する取得工程と、
前記取得工程により取得される印刷用紙の枚数単位に基づき得られる最後の冊子ブロックに配置可能な最大ページ数より、該最後の冊子ブロックに配置される前記印刷すべきデータの残りのページ数が少ない場合に、残りのページ数が収まる枚数単位を導出する導出工程と、
前記取得工程により取得される印刷用紙の枚数単位で、各冊子ブロックを綴じるようにページの配置を決定する配置工程と、
前記印刷装置に印刷データを出力するために、前記配置工程により決定された配置にしたがった順序で前記格納手段から印刷データを読み出す読み出し工程とを備え、
前記配置工程は、前記取得工程により取得される印刷用紙の枚数単位に基づき得られる最後の冊子ブロックに配置可能な最大ページ数より、該最後の冊子ブロックに配置される前記印刷すべきデータの残りのページ数が少ない場合に、前記導出手段で導出された枚数単位で最後の冊子ブロックが綴じられるように、最後の冊子ブロックのページの配置を決定することを特徴とする印刷制御方法。
An information processing method in a host computer for generating a print job including a printer control command, comprising:
In the case of bookbinding , in which a predetermined number of print sheets are divided into a plurality of booklet blocks into one booklet block for data to be printed input from an application , when a predetermined number of print sheets are folded in two, An input step of inputting a bookbinding setting including a setting of a unit of the number of printing papers to be arranged in order ,
A spooling step of spooling the data to be printed in a storage unit so as to be readable in a desired order in page units;
An acquisition step of acquiring a unit of the number of sheets of printing paper of one booklet block at the time of bookbinding input in the input step;
The number of remaining pages of the data to be printed arranged in the last booklet block is smaller than the maximum number of pages that can be arranged in the last booklet block obtained based on the unit of the number of print sheets acquired in the acquiring step. In the case, a derivation step of deriving a unit of number in which the number of remaining pages can be accommodated,
An arrangement step of determining the arrangement of pages so as to bind each booklet block in units of the number of print sheets acquired in the acquisition step ,
A read step of reading print data from the storage unit in an order according to the arrangement determined by the arrangement step, in order to output print data to the printing apparatus,
The arranging step includes: calculating a remaining amount of the data to be printed arranged in the last booklet block from a maximum number of pages that can be arranged in the last booklet block obtained based on the unit of the number of print sheets acquired in the acquiring step. And determining the layout of the pages of the last booklet block so that the last booklet block is bound by the number of sheets derived by the deriving means when the number of pages is small .
前記配置工程は、所定枚数N毎に分冊製本する場合に、最後の冊子に配置可能なページ数4Nより4αページ(αは整数、少数切り捨て)少ない場合に、最後の冊子ブロックを(N−α)枚で綴じるべくページの配置を決定することを特徴とする請求項4に記載の印刷制御方法。In the arrangement step, when bookbinding is performed for each predetermined number N, if the number of pages that can be arranged in the last booklet is 4α pages (α is an integer, rounded down to the nearest number), the last booklet block is set to (N−α). 5. The print control method according to claim 4, wherein the arrangement of the pages is determined so as to bind the sheets. 最後の冊子を所定枚数(N)で綴じるか、減らした枚数(N−α)で綴じるかをユーザの指定により判断する判断工程をさらに備えることを特徴とする請求項4に記載の印刷制御方法。5. The print control method according to claim 4, further comprising a determination step of determining whether to bind the last booklet with a predetermined number (N) or with a reduced number (N-α) according to a user's designation. . プリンタ制御コマンドを含む印刷ジョブを生成するホストコンピュータを、
アプリケーションから入力される印刷すべきデータに対して、所定枚数の印刷用紙を1冊子ブロックとした複数の冊子ブロックに分けて製本する分冊製本において、所定枚数の印刷用紙を2つ折りにした場合にページ順を揃わせる印刷用紙の枚数単位の設定を含む製本設定を入力する入力手段と、
前記印刷すべきデータを、ページ単位に所望の順序で読み出し可能に格納手段にスプールするスプール手段と、
前記入力手段により入力される分冊製本時の1冊子ブロックの印刷用紙の枚数単位を取得する取得手段と、
前記取得手段により取得される印刷用紙の枚数単位に基づき得られる最後の冊子ブロックに配置可能な最大ページ数より、該最後の冊子ブロックに配置される前記印刷すべきデータの残りのページ数が少ない場合に、残りのページ数が収まる枚数単位を導出する導出手段と、
前記取得手段により取得される印刷用紙の枚数単位で、各冊子ブロックを綴じるようにページの配置を決定する配置手段と、
前記印刷装置に印刷データを出力するために、前記配置手段により決定された配置にしたがった順序で前記格納手段から印刷データを読み出す読み出し手段として機能させ、
前記配置手段は、前記取得手段により取得される印刷用紙の枚数単位に基づき得られる最後の冊子ブロックに配置可能な最大ページ数より、該最後の冊子ブロックに配置される前記印刷すべきデータの残りのページ数が少ない場合に、前記導出手段で導出された枚数単位で最後の冊子ブロックが綴じられるように、最後の冊子ブロックのページの配置を決定するコンピュータプログラムを記録したことを特徴とするコンピュータ可読記憶媒体。
A host computer that generates a print job including a printer control command,
In the case of bookbinding , in which a predetermined number of print sheets are divided into a plurality of booklet blocks into one booklet block for data to be printed input from an application , when a predetermined number of print sheets are folded in two, An input unit for inputting bookbinding settings including a setting of a unit of the number of sheets of printing paper to be arranged ;
Spooling means for spooling the data to be printed in the storage means so as to be readable in a desired order in page units;
Acquiring means for acquiring a unit of the number of sheets of printing paper of one booklet block at the time of bookbinding input by the input means;
The number of remaining pages of the data to be printed arranged in the last booklet block is smaller than the maximum number of pages that can be arranged in the last booklet block obtained based on the unit of the number of print sheets acquired by the acquiring unit. In such a case, a deriving unit that derives a sheet unit in which the number of remaining pages fits,
An arrangement unit that determines the arrangement of pages so as to bind each booklet block in units of the number of print sheets acquired by the acquisition unit ,
In order to output print data to the printing apparatus, function as read means for reading print data from the storage means in an order according to the arrangement determined by the arrangement means,
The arrangement unit is configured to calculate a remaining amount of the data to be printed arranged in the last booklet block from a maximum number of pages that can be arranged in the last booklet block obtained based on the unit of the number of print sheets acquired by the acquisition unit. A computer program for determining the arrangement of pages of the last booklet block so that the last booklet block is bound in the number of sheets derived by the deriving means when the number of pages is small. A readable storage medium.
前記配置手段は、所定枚数N毎に分冊製本する場合に、最後の冊子に配置可能なページ数4Nより4αページ(αは整数、少数切り捨て)少ない場合に、最後の冊子ブロックを(N−α)枚で綴じるべくページの配置を決定することを特徴とする請求項7に記載のコンピュータ可読記録媒体。The arrangement means, when performing separate bookbinding for every predetermined number N, when the number of pages that can be arranged in the last booklet is 4α pages (α is an integer, rounded down to the nearest number), the last booklet block is set to (N−α The computer-readable recording medium according to claim 7, wherein the arrangement of the pages is determined so as to bind the sheets. 最後の冊子を所定枚数(N)で綴じるか、減らした枚数(N−α)で綴じるかをユーザの指定により判断する判断手段をさらに備えることを特徴とする請求項7に記載のコンピュータ可読記録媒体。8. The computer-readable recording according to claim 7, further comprising a determination unit configured to determine whether to bind the last booklet with a predetermined number (N) or with a reduced number (N-α) according to a user's designation. Medium.
JP2002261981A 1997-03-13 2002-09-06 Print control apparatus and method Expired - Fee Related JP3581704B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002261981A JP3581704B2 (en) 1997-03-13 2002-09-06 Print control apparatus and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP5946397 1997-03-13
JP9-59463 1997-03-13
JP2002261981A JP3581704B2 (en) 1997-03-13 2002-09-06 Print control apparatus and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP17727697A Division JP3368175B2 (en) 1996-02-07 1997-07-02 Print control apparatus and method

Publications (2)

Publication Number Publication Date
JP2003162385A JP2003162385A (en) 2003-06-06
JP3581704B2 true JP3581704B2 (en) 2004-10-27

Family

ID=26400510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002261981A Expired - Fee Related JP3581704B2 (en) 1997-03-13 2002-09-06 Print control apparatus and method

Country Status (1)

Country Link
JP (1) JP3581704B2 (en)

Also Published As

Publication number Publication date
JP2003162385A (en) 2003-06-06

Similar Documents

Publication Publication Date Title
US6313919B1 (en) Printing control apparatus and method
US7385712B2 (en) Print control method and apparatus
US7161691B2 (en) Method and apparatus for multiple media printing
JP3392057B2 (en) Print control method and apparatus
JP2001134407A (en) Information processor and information processing method and storage medium with computer readable program stored thereon
JP3733288B2 (en) Information processing apparatus, print control method, and storage medium
JP2001067347A (en) Information processor, information processing method and storage medium storing computer-readable program
JP2002063000A (en) Information processor generating print data and its method
JP3363793B2 (en) Print control method and apparatus
JP2002163085A (en) Information processing device, print data forming method, print control program, and storage medium
JP3880307B2 (en) Information processing apparatus and method
JP2001134408A (en) Method and device for controlling print
JP2001130082A (en) Information-processing apparatus, method for processing information and memory medium with computer readable program stored thereon
JP2004164106A (en) Information processor, print data generation method, and print control program
US7362465B2 (en) Information processing apparatus and control method therefor
JP2001134394A (en) Information processor information processing method and computer readable storage medium in which program is stored
US6307637B1 (en) Printing control apparatus and method
JP2001134395A (en) Information processor information processing method and computer readable storage medium in which program is stored
JP3814410B2 (en) Printing control apparatus and method
JP3368175B2 (en) Print control apparatus and method
JP2008269324A (en) Printer driver
JP3581703B2 (en) Print control apparatus and method
JP3581704B2 (en) Print control apparatus and method
JP3720771B2 (en) Bookbinding printing control apparatus, bookbinding printing control method, storage medium, and program
JP4475619B2 (en) Information processing apparatus, information processing apparatus control method, and storage medium

Legal Events

Date Code Title Description
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20031205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20031215

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040723

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110730

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120730

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120730

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130730

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees