JP4419316B2 - Data output device and recording medium - Google Patents
Data output device and recording medium Download PDFInfo
- Publication number
- JP4419316B2 JP4419316B2 JP2000342030A JP2000342030A JP4419316B2 JP 4419316 B2 JP4419316 B2 JP 4419316B2 JP 2000342030 A JP2000342030 A JP 2000342030A JP 2000342030 A JP2000342030 A JP 2000342030A JP 4419316 B2 JP4419316 B2 JP 4419316B2
- Authority
- JP
- Japan
- Prior art keywords
- page
- column
- flag
- constituent
- 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
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Editing Of Facsimile Originals (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、データ出力装置、及び記録媒体に係り、詳細には文書等のデータの段組出力に関する。
【0002】
【従来の技術】
従来より、複数頁にわたるドキュメントを印刷用紙に段組して配置し、出力するデータ出力装置がある。
この種のデータ出力装置では、1頁の印刷用紙を複数の出力領域に分割し、これら各出力領域にドキュメントの各頁データを各出力領域に応じたサイズに伸長または縮小し、その頁順に段組して配置して、出力する。
【0003】
【発明が解決しようとする課題】
しかしながら、従来のデータ出力装置では、複数の異なるドキュメントを段組して出力する場合には、出力する順に各ドキュメントの頁を夫々並べ替える編集作業をユーザが行う必要があった。
【0004】
図16を参照して、従来のデータ出力装置によって複数の異なるドキュメントを段組して出力する例を説明する。
図16に示すように、例えば、複数頁からなるドキュメントAの各頁と、複数頁からなるドキュメントBの各頁とを夫々対応付けて上下に段組して出力する場合、ユーザはドキュメントAをA−1頁目,A−2頁目,…、ドキュメントBをB−1頁目,B−2頁目,…のように頁単位に分割し、それらを出力順、即ち、A−1頁目→B−1頁目→A−2頁目→B−2頁目→…のように並び替えた上で、段組機能を実行する。すると、データ出力装置では並び替えられたデータの1頁目から順に、各頁データを印刷頁の上段と下段に夫々配置し、出力する。その結果、1頁目の印刷頁には上段にA−1頁目が配置され、下段にB−1頁目が配置され、2頁目の印刷頁には上段にA−2頁目が配置され、下段にB−2頁目が配置される。
【0005】
上述のように、複数のドキュメントを対応付けて段組して配置する場合は、ドキュメント内の頁の順番を出力順に並び替えてから段組機能を実行する必要があった。このため、ドキュメントの頁数が多い場合はその編集作業に多くの時間を要するばかりでなく、手間がかかり、ユーザの負担が大きかった。
【0006】
また、段組対象となる各頁の用紙方向が縦横混在している場合は、印刷用紙の出力領域のサイズや方向と合わない頁については出力領域内に段組して配置できず、印刷用紙の出力領域の一部を空白とし、次頁にそのままの大きさで出力していた。
【0007】
図17を参照して、段組対象となる各頁の用紙方向が縦横混在している場合に、従来のデータ出力装置によってそれらの頁を段組して出力する例を説明する。
図17に示すように、例えば、段組対象となる頁の1頁目(A−1頁目)が「横」、2頁目(B−1頁目)が「縦」、3頁目(A−2頁目)が「横」、4頁目(B−2頁目)が「縦」に設定されている場合に、各頁をその順番で「縦」の印刷用紙に段組して出力するよう段組機能を実行すると、データ出力装置は、まずA−1頁目(横)を1頁目の印刷頁の上領域に配置する。次に、B−1頁目が1頁目の印刷頁の下領域に配置可能か判別し、印刷頁の空き領域の縦横比がB−1頁目の縦横比と異なるため配置不可として、次印刷頁(2頁目)の全体にB−1頁目を配置する。同様に、A−2頁目は印刷頁の縦横比と同一であるので、印刷頁2頁目の上領域に配置され、B−2頁目は印刷頁の縦横比と異なるので次印刷頁(4頁目)の全体に配置される。
【0008】
このため、印刷頁の1頁目と3頁目の下領域は空白となり、段組して出力した際の外観がよくなかった。また、段組しても使用する印刷用紙数は段組する前と変わらないため、段組して出力する意味をなさなかった。
【0009】
本発明の課題は、複数の異なる種類のドキュメントを容易に段組配置して出力することが可能なデータ出力装置、及び記録媒体を提供することである。
また、本発明の課題は、段組対象となるドキュメントに縦横の頁が混在する場合にも、無駄な空白領域を作らずに段組配置して出力することが可能なデータ出力装置、及び記録媒体を提供することである。
【0010】
【課題を解決するための手段】
このような課題を解決するため、請求項1記載のデータ出力装置は、1頁内に形成される複数の出力領域に複数の頁単位データを夫々配置して出力するデータ出力装置であって、複数のアプリケーションプログラムとそれぞれのアプリケーションプログラムに対応したファイル及びそのファイルの頁番号を指定するための指定画面を表示する表示手段と、この表示手段により表示された指定画面で入力されたデータに従って、各アプリケーションプログラムを起動してその各アプリケーションプログラムに対応した各ファイルを読み出し、各アプリケーションプログラムに対応した各ファイル及びその各ファイルの頁番号を段組頁に対応付けて記憶する設定手段と、複数の異なる種類の前記設定手段により設定されたファイルから、夫々複数の頁単位データを読み出す読出手段と、この読出手段により読み出されたファイルの各頁単位データと、他のファイルの各頁単位データとを前記設定手段により設定された段組頁に対応付けて前記各出力領域に段組して配置する配置手段と、この配置手段により配置されたデータを出力する出力手段と、を備えることを特徴としている。
請求項2記載のプログラムを記録したコンピュータ読み取り可能な記録媒体は、1頁内に形成される複数の出力領域に複数の頁単位データを夫々配置して出力するためのデータ出力装置のコンピュータを、複数のアプリケーションプログラムとそれぞれのアプリケーションプログラムに対応したファイル及びそのファイルの頁番号を指定するための指定画面を表示する表示手段、この表示手段により表示された指定画面で入力されたデータに従って、各アプリケーションプログラムを起動してその各アプリケーションプログラムに対応した各ファイルを読み出し各アプリケーションプログラムに対応した各ファイル及びその各ファイルの頁番号を段組頁に対応付けて記憶する設定手段、複数の異なる種類の前記設定手段により設定されたファイルから、夫々複数の頁単位データを読み出す読出手段、この読出手段により読み出されたファイルの各頁単位データと、他のファイルの各頁単位データとを前記設定手段により設定された段組頁に対応付けて前記各出力領域に段組して配置する配置手段、この配置手段により配置されたデータを出力する出力手段、として機能させることを特徴としている。
【0012】
【発明の実施の形態】
以下、図を参照して本発明に係るデータ出力装置1の実施の形態を詳細に説明する。
【0013】
〔第1の実施の形態〕
まず構成を説明する。
図1は、本発明のデータ出力装置1の内部構成を示すブロック図である。
図1に示すように、データ出力装置1はCPU(Central Processing Unit)2、入力装置3、表示装置4、RAM(Random Access Memory)5、印刷装置6、記憶装置7、及び記録媒体8、及び伝送制御部9によって構成され、記録媒体8を除く各部はバス10によって接続されている。
【0014】
CPU2は、記憶装置7に記憶されている当該データ出力装置1に対応する各種アプリケーションプログラムの中から指定されたアプリケーションプログラム、入力装置3から入力される各種指示をRAM5内のワークメモリ5wに格納し、この入力指示及び入力データに応じてRAM5内に格納したアプリケーションプログラムに従って各種処理を実行し、その処理結果をRAM5内のワークメモリ5wに格納するとともに、表示装置4に表示する。そして、ワークメモリ5wに格納した処理結果を入力装置3から指示される記憶装置7内の保存先に保存する。
【0015】
また、CPU2は後述する全体処理(図6参照)を実行する。
全体処理において、CPU2は初期メニュー画面4a(図7参照)を記憶装置7から読み出して表示装置4に表示し、この初期メニュー画面4aにて、アプリケーションやドキュメントの指定、印刷用紙の方向及びサイズ、段組方式(段組数やモード)の指定を受付ける。そして、指定された複数の異なるアプリケーションや複数の異なるドキュメントについてファイル単位にデータを読込み、RAM5のファイル読込メモリ5aに格納するとともに、このファイル読込メモリ5aに格納されたファイルから各ドキュメントに関する情報を頁単位に管理するための情報(以下、構成頁情報という)を作成して、構成頁管理メモリ5bに格納する。ここで、「構成頁」とは各ドキュメント内の頁単位データを意味し、各ドキュメントの総頁数の合計分存在する。
【0016】
また、上記初期メニュー画面4aにおいて印刷用紙のサイズ、方向、段組方法、及び段組対象とする構成頁が指定されると、CPU2は指定された内容を段組頁管理メモリ5cに格納する。この際、同一印刷頁内に段組して配置する構成頁の頁番号情報を対応付けて記憶する。
以下、段組対象として指定された構成頁を「段組頁」といい、印刷用紙の各頁を「印刷頁」という。
【0017】
更に、段組印刷実行指示が入力されると、上記指定内容に従って、対応付けられた複数のドキュメントの各頁を印刷頁内に設けられた各出力領域に段組して配置した印刷頁を作成するため、後述する自動段組処理(図8参照)を実行する。
印刷頁に2つの出力領域が形成されている場合、以下の説明では、これらの出力領域のうち左側または上側の出力領域を左(上)領域といい、右側または下側の出力領域を右(下)領域という。
【0018】
自動段組処理において、CPU2は段組頁管理メモリ5cから左(上)領域に配置する頁番号情報と、右(下)領域に配置する頁番号情報とを、先頭頁から順に取り込み、まず左(上)領域に配置する段組頁(以下、左(上)段組頁という)についての配置位置を決定する。ここで、CPU2は、印刷頁と構成頁の向きが異なるか否かを判別し、向きが同じ場合は、印刷頁と構成頁の向きフラグ5gをONし、新規頁フラグ5hをONし、更に配置処理の左(上)配置フラグをONして、後述する配置処理(図10参照)を実行する。この場合、配置処理では各フラグの状態に従って、印刷頁管理メモリ5dに新規印刷頁を付加し、この左(上)段組頁を左(上)領域に配置し、印刷頁構成情報の配置フラグを「左(上)」セットする。
【0019】
また印刷頁と構成頁の向きが異なる場合は、印刷頁と構成頁の向きフラグ5gをOFFし、新規頁フラグ5hをONし、更に配置処理の左(上)配置フラグをONして、後述する配置処理を実行する。この場合、配置処理では印刷頁管理メモリ5dに新規印刷頁を付加して、この左(上)段組頁を印刷頁全体に配置するよう、配置フラグを「全体」にセットする。
また、全ての左(上)段組頁について配置が終了した場合は、左(上)段組頁終了フラグ5eをONする。
【0020】
次に、CPU2は右(下)領域に配置する段組頁(以下、右(下)段組頁という)について、配置位置を決定する。ここで、CPU2は対応付けられた左(上)段組頁の配置が全て終了しているか判別するため、左(上)段組頁終了フラグ5eがONになっているか否かを判別し、OFFの場合は、右(下)段組頁を右(下)領域に配置できるか判別するため、印刷頁と構成頁との向きが同じか否かを判別する。
【0021】
左(上)段組頁終了フラグ5eがOFFで、かつ、印刷頁と構成頁の向きが異なる場合は、印刷頁と構成頁の向きフラグ5gをOFFし、右(下)配置フラグをONして、配置処理を実行する。この場合、配置処理では印刷頁管理メモリ5dに、この右(下)段組頁を右(下)領域に配置するよう、配置フラグを「右(上)」にセットする。
【0022】
左(上)段組頁終了フラグ5eがOFFで、かつ、印刷頁と構成頁の向きが同じ場合は、印刷頁と構成頁の向きフラグ5gをONし、新規頁フラグ5hをONし、更に右(下)配置フラグをONして、配置処理を実行する。この場合、配置処理では印刷頁管理メモリ5dに新規印刷頁を付加して、この右(下)段組頁を印刷頁全体に配置するよう、配置フラグを「全体」にセットする。
【0023】
また、左(上)段組頁終了フラグ5eがONになっている場合についても同様に、次に印刷頁と構成頁との向きが同じか否かを判別する。
【0024】
左(上)段組頁終了フラグ5eがONで、かつ、印刷頁と構成頁の向きが異なる場合は、印刷頁と構成頁の向きフラグ5gをOFFし、新規頁フラグ5hをONし、更に右(下)配置フラグをONして配置処理を実行する。この場合、配置処理では印刷頁管理メモリ5dに新規印刷頁を付加して、この右(下)段組頁を新規印刷頁の右(下)領域に配置するよう、配置フラグを「右(下)」にセットする。
【0025】
左(上)段組頁終了フラグ5eがONで、かつ、印刷頁と構成頁の向きが同じ場合は、印刷頁と構成頁の向きフラグ5gをONし、新規頁フラグ5hをONし、更に右(下)配置フラグをONして配置処理を実行する。この場合、配置処理では印刷頁管理メモリ5dに新規印刷頁を付加して、この構成頁を新規印刷頁全体に配置するよう、配置フラグを「全体」にセットする。
また、全ての右(下)段組頁について処理が終了した場合は、右(下)段組頁終了フラグ5fをONする。
【0026】
また、配置処理においてCPU2は、段組頁を左(上)領域または右(下)領域に配置する場合、各段組頁が夫々各出力領域に納まるように縮小率を算出する。そしてCPU2は縮小率を判別し、縮小率を著しく大きく(出力サイズを小さく)しないと出力領域に納まらない場合には、この頁についての出力文字ポイント、書体、行送り、桁送り等の書式を変更し、この変更されたサイズ、書式で出力するよう、算出した縮小率や変更後の書式等を印刷頁管理メモリ5dに格納する。
【0027】
左(上)段組頁終了フラグ5e及び右(下)段組頁終了フラグ5fがともにONになると、CPU2は作成された印刷頁構成情報を印刷頁管理メモリ5dの印刷頁構成情報として格納する。その後、CPU2は印刷頁管理メモリ5dに格納された印刷頁情報に基づいて、印刷プレビュー画面(図示省略)を表示装置4に表示させ、確定指示が入力された場合は印刷装置6に印刷データを出力して印刷させる。
【0028】
入力装置3は、カーソルキー、数字入力キー及び各種機能キー等を備えたキーボード、及びマウスを含み、キーボードで押下された押下信号やマウスの位置信号をCPU2に出力する。
【0029】
表示装置4は、CRT(Cathode Ray Tube)、またはLCD(Liquid Crystal Display)等により構成され、CPU2から入力される表示指示に従って各種表示データの画面表示を行う。
【0030】
RAM5は、指定されたアプリケーションプログラム、入力指示、入力データ及び処理結果等を格納するメモリ領域を有する。
【0031】
図2に、RAM5のメモリ構成を示す。図2に示すように、RAM5はファイル読込メモリ5a、構成頁管理メモリ5b、段組頁管理メモリ5c、印刷頁管理メモリ5d、左(上)段組頁終了フラグ5e、右(下)段組頁終了フラグ5f、印刷頁と構成頁の向きフラグ5g、新規頁フラグ5h、スプールファイル5i、ワークメモリ5w等の各種メモリ領域及び各種フラグを有する。
【0032】
ファイル読込メモリ5aには、記録媒体に記憶されているドキュメントファイルから、指定された複数のドキュメントのデータがファイル単位で読込まれ、格納される。
【0033】
構成頁管理メモリ5bは、上記各ドキュメントのデータを構成頁情報として頁単位に管理するメモリである。
図3は構成頁管理メモリ5bのデータ構成を示す図である。構成頁管理メモリ5bには、図3(A)に示すように、各ドキュメントの総頁数、及びその先頭頁情報へのポインタが格納される。また、図3(B)に示すように、各ドキュメント内の複数の構成頁についての頁情報が先頭頁情報へのポインタに関連付けられて格納される。頁情報には、構成頁番号(ドキュメント内の頁番号)とそのアプリケーション名とそのドキュメント名、ドキュメントの用紙サイズ、用紙の向き、ファイル識別のためファイル別に割当てられているスプールファイルID、及び次頁情報へのポインタが含まれ、構成頁の総頁数分格納されている。
【0034】
段組頁管理メモリ5cは、ユーザにより指定された印刷用紙のサイズや向き、及び上記構成頁のうち段組対象として指定された頁(段組頁)についての情報を管理するメモリである。
図4は段組頁管理メモリ5cのデータ構成を示す図である。段組頁管理メモリ5cには図4(A)に示すように、指定された用紙サイズ、及び指定された用紙の向きが格納されるとともに、左(上)に配置される段組頁の先頭頁番号情報へのポインタ、及び右(下)に配置される段組頁の先頭頁番号情報へのポインタが対応付けて記憶される。即ち、一つの印刷頁に段組して配置する複数の異なるドキュメントを対応付けて記憶する。また、図4(B)に示すように左(上)に配置される各段組頁についての頁番号情報、及び右(下)に配置される各段組頁についての頁番号情報が夫々格納される。各頁番号情報には、頁番号(ドキュメント内の頁番号)、構成頁管理メモリ5b内の頁情報へのポインタ、次頁番号情報へのポインタが含まれる。また、図4(C)に示すように、頁番号情報内の頁情報へのポインタによって、構成頁管理メモリ5bの対応する頁情報と関連付けられる。
【0035】
印刷頁管理メモリ5dは、CPU2によって実行される自動段組処理等において作成された印刷頁情報を管理するメモリである。
図5は印刷頁管理メモリ5dのデータ構成を示す図である。印刷頁管理メモリ5dには図5(A)に示すように、実際に印刷する印刷用紙のサイズ、印刷用紙の方向、及び先頭印刷頁番号情報へのポインタが格納される。また、図5(B)に示すように、各印刷頁についての印刷頁番号情報が先頭印刷頁番号情報へのポインタによって関連付けられて格納される。印刷頁番号情報には、印刷頁番号、先頭頁構成情報へのポインタ、次印刷頁番号情報へのポインタが含まれる。
【0036】
また、図5(C)に示すように、印刷頁管理メモリ5dには各印刷頁の構成情報が格納される。印刷頁構成情報には、1印刷頁内に配置される各段組頁について、その配置位置を示す配置フラグ、各段組頁の縮小率や変更後の書式、頁情報へのポインタ、次印刷頁番号情報へのポインタが含まれ、印刷頁の頁数分記憶される。
【0037】
配置フラグとは、印刷頁に形成された出力領域のうち、いずれを配置位置とするかを設定するフラグであり、印刷頁が2つの出力領域を有する場合は、「左(上)」、「右(下)」、及び「全体」の何れかに設定される。
また、図5(D)に示すように、各印刷頁構成情報は、頁情報へのポインタによって、構成頁管理メモリ5bの対応する頁情報と関連付けられる。
【0038】
左(上)段組頁終了フラグ5eは、全ての左(上)段組頁について配置処理が終了した際にONにセットされるフラグである。
右(下)段組頁終了フラグ5fは、全ての右(下)段組頁について配置処理が終了した際にONにセットされるフラグである。
【0039】
印刷頁と構成頁の向きフラグ5gは、印刷頁と構成頁の向きが同一の場合にONされるフラグである。
新規頁フラグ5hは配置処理において、印刷頁管理メモリ5dの印刷頁番号情報に新規印刷頁を追加する場合にONされるフラグである。
これらの各フラグ5e〜5hは自動段組処理及び配置処理にて、設定され、参照される。
【0040】
スプールファイル5iは複数のアプリケーションの複数のドキュメントをファイル形式で記憶するメモリ領域であり、各ファイルには個別の識別番号として、スプールファイルIDが割当てられている。
【0041】
ワークメモリ5wは指定されたアプリケーションプログラム、入力指示、入力データ及び処理結果等を格納する。
【0042】
印刷装置6は、CPU2からの印刷指示に従って、作成された印刷データを印刷用紙に印刷する。
【0043】
記憶装置7は、プログラムやデータ等が予め記憶された記録媒体8を有し、記録媒体8は磁気的、光学的記録媒体、若しくは半導体等の不揮発性メモリで構成されている。記録媒体8は記憶装置7に固定的に設けたもの、若しくは着脱自在に装着するものであり、この記録媒体8には、データ出力装置1のシステムプログラム、及びこれに対応する各種処理プログラム、及びこれらのプログラムで処理されたデータ等を記憶する。
【0044】
また、記録媒体8に記憶されたプログラム、データ等は、その一部若しくは全部をサーバやクライアント等の外部機器から、ネットワーク回線等の伝送媒体を介して伝送制御部9から受信して記憶する構成にしてもよく、また、記録媒体8はネットワーク上に構築されたサーバの記録媒体であってもよい。更に、上記プログラムをネットワーク回線等の伝送媒体を介してサーバやクライアントへ伝送してこれらの機器にインストールする様に構成してもよい。
【0045】
伝送制御部9は、モデム(MODEM:MOdulator/DEModulator )またはターミナルアダプタ(TA:Terminal Adapter)等によって構成され、ネットワークを介して外部機器との通信を行うための制御を行う。モデムは、電話回線を介してパーソナルコンピュータ等の外部機器との通信を行うために、CPU2によって処理されたデジタルデータを電話回線の周波数帯域にあったアナログ信号に変調し、また、電話回線を介して入力されたアナログ信号をデジタル信号に復調する装置であり、ターミナルアダプタは、ISDN回線を介してパーソナルコンピュータ等の外部機器との通信を行うために、既存のインターフェイスをISDNに対応するインターフェイスに変換する装置である。
【0046】
次に動作を説明する。
ここで、以下に示す各フローチャートに記述されている各機能を実現するためのプログラムは、読み取り可能なプログラムコードの形態でデータ出力装置1の記録媒体8に格納されており、CPU2は該プログラムコードに従った動作を逐次実行する。また、CPU2は伝送媒体を介して伝送される上記プログラムコードに従った動作を逐次実行することもできる。すなわち、記録媒体の他、伝送媒体を介して外部供給されたプログラム/データを利用して本実施の形態特有の動作を実行することもできる。
【0047】
まず、アプリケーションで作成した複数の異なるドキュメントのデータを段組して出力する際に実行される処理の全体的な動作を、図6のフローチャートを参照して説明する。
図6は、全体処理の流れを説明するフローチャートである。
【0048】
まず、入力装置3から初期メニュー画面4aの表示指示が入力されると、CPU2は記録媒体8から初期メニュー画面4aを読み出して表示装置4に表示する(ステップS1)。
【0049】
図7は初期メニュー画面4aの一例を示す図である。
図7に示すように、初期メニュー画面4aにはアプリケーションを指定するアプリケーション指定欄41、ドキュメントを指定するドキュメント指定欄42、指定したドキュメントのうち段組対象とする頁(段組頁)を指定する頁指定欄43、印刷する用紙のサイズを指定する用紙サイズ指定欄44、印刷する用紙の方向を指定する用紙方向指定欄45、段組方法(段組数や自動段組モード/用紙方向変更段組モード)を指定する段組方法指定欄46等が設けられる。
【0050】
アプリケーション指定欄41、ドキュメント指定欄42、用紙サイズ指定欄44、用紙方向指定欄45、段組方法指定欄46は夫々プルダウンメニューであり、各指定欄41,42,44,45,46の右側に設けられたボタンをマウスでクリックすることにより、指定可能な選択肢が一覧表示される。例えば、用紙サイズ指定欄44であれば、「A4」の他、「B5」、「A3」、「B4」等の印刷可能な用紙サイズが一覧表示され、用紙方向指定欄45であれば、「縦」及び「横」等の用紙方向が一覧表示され、段組方法指定欄46であれば、「2段」及び「4段」等の段組数や、自動段組モード/用紙方向変更段組モード等の段組モードが一覧表示される。
【0051】
上記アプリケーション指定欄41及びドキュメント指定欄42において、アプリケーション名及びドキュメント名が指定されると、CPU2は指定されたアプリケーションを起動し、更に、指定されたドキュメントを記録媒体8から読出し、表示装置4に表示するとともにRAM5のファイル読込メモリ5aに格納する(ステップS2〜S6)。ドキュメントの指定がなく、解除指示が入力された場合は(ステップS5;Yes)、入力指示に従い、他の処理へ移行する。また、解除指示が入力されない場合は(ステップS5;No)、他のアプリケーションの指定入力を待機する。
【0052】
例えば、複数の異なるドキュメント(アプリケーション「アプリA」のドキュメント名「プレゼン.doc」、及びアプリケーション「アプリB」のドキュメント名「補足.xls」)を段組して配置した「企画」ドキュメントを作成し、出力したい場合は、まず、図7(A)に示すように、初期メニュー画面4aのアプリケーション指定欄41に、アプリケーション名「アプリA」を入力し、ドキュメント指定欄42にドキュメント名「プレゼン.doc」を入力すると、「アプリA」が起動されてドキュメント「プレゼン.doc」が読み出され、表示され、このドキュメントがファイル単位でファイル読込メモリ5aへ格納される。
【0053】
また、CPU2は入力装置3から確定指示が入力されるまで、他のアプリケーション及び他のドキュメントの指定を受付ける(ステップS7;No→ステップS2〜S6)。
【0054】
例えば、上述の「企画」ドキュメントを作成する例では、図7(B)に示すように、初期メニュー画面4aのアプリケーション指定欄41に、アプリケーション名「アプリB」を入力し、ドキュメント名「補足.xls」を入力すると、「アプリB」が起動されてドキュメント「補足.xls」が読み出され、表示され、ファイル読込メモリ5aへ格納される。
【0055】
その後、確定指示が入力されると(ステップS7;Yes)、CPU2はファイル読込メモリ5aに格納した全てのドキュメントの情報に基づいて、ドキュメントに関する情報を頁単位で管理する構成頁情報を作成し、構成頁情報管理目メモリ5bに格納する(ステップS8)。即ち、CPU2はファイル読込メモリ5aに格納された各ドキュメントの情報から、その総頁数を取得し、ドキュメントの先頭頁情報へのポインタを付加して構成頁情報とする。また、ドキュメント内の各頁の構成頁番号、用紙サイズ、用紙の向き、スプールファイルIDを抽出し、次頁情報へのポインタを付加して頁情報とする。
【0056】
次に、CPU2は初期メニュー画面4aの各指定欄43〜46において段組に関する情報(頁番号情報、用紙サイズ、用紙方向、及び段組方法)が指定され、段組印刷実行指示が入力されると(ステップS9;Yes)、指定された頁番号情報、用紙サイズ、用紙方向、及び段組方法を段組頁管理メモリ5cに格納する(ステップS10)。ここで、CPU2は段組頁のうち異なるドキュメントの各先頭頁を対応付けて管理する。即ち、各ドキュメントの段組頁の先頭頁番号情報へのポインタを対応付けて管理する。例えば、上述の「企画」ドキュメントを作成する例では、指定された2つのドキュメントの段組頁のうち、一方のドキュメント「プレゼン.doc」の先頭頁の番号「1頁目」と、他方のドキュメント「補足.xls」の先頭頁の番号「6頁目」を対応付けて記憶する。
【0057】
更に、CPU2は指定された各段組頁について、各段組頁の頁番号(ドキュメント内の頁番号)と構成頁管理メモリ5b内の対応する頁情報へのポインタ、次頁番号情報へのポインタを頁番号情報として、段組頁管理メモリ5cへ記憶する。頁番号情報はドキュメント別に夫々作成される。
【0058】
以上の処理によって、構成頁管理メモリ5bに構成頁情報や頁情報が作成され、段組頁管理メモリ5cに段組頁情報や頁番号情報が作成されると、次にCPU2は自動段組処理を実行する(ステップS11)。
【0059】
ステップS9において、段組印刷実行指示が入力されない場合は、通常の段組処理を実行する(ステップS12)。
【0060】
図8は自動段組処理の流れを説明するフローチャートである。
自動段組処理において、CPU2はまず、指定された段組方法が自動段組モードであるか、或いは用紙方向変更モードであるかを判別する(ステップS21)。用紙方向変更モードである場合は(ステップS21;Yes)、各段組頁の用紙の向きが縦横混在する場合に自動的に用紙の方向を変更して段組配置するための用紙方向変更段組処理を実行する(ステップS22)。この用紙方向変更段組処理については第2の実施の形態で詳述する。
【0061】
指定された段組方法が自動段組モードである場合は(ステップS22;No)、CPU2は段組頁管理メモリ5cから左(上)領域に配置する段組頁の頁番号情報と、右(下)領域に配置する段組頁の頁番号情報とを取得して(ステップS23)、取得した各頁番号情報に構成頁管理メモリ5bの頁情報を関連付けるため、対応する頁情報へのポインタを付加し、段組頁情報として段組頁管理メモリ5cに格納する(ステップS24)。そして、左(上)段組頁終了フラグ5e及び右(下)段組頁終了フラグ5fをともにOFFする(ステップS25)。
【0062】
次に、CPU2は2つの終了フラグ5e,5fが共にONにセットされた状態、即ち、左(上)段組頁及び右(下)段組頁についての配置処理が全て終了したか否かを判別する(ステップS26)。
【0063】
全ての段組頁について配置処理が終了していない場合は(ステップS26;No)、更に、左(上)側段組頁を1頁取り込み可能であるか、即ち、左(上)に配置する段組頁のうち配置していないものが残っているか否かを判別する(ステップS27)。配置していない左(上)側段組頁がある場合は(ステップS27;Yes)、取り込んだ左(上)側段組頁について、印刷頁と構成頁との向きが同じか否かを判別する(ステップS28)。
【0064】
印刷頁と構成頁との向きが異なる場合は(ステップS28;No)、印刷頁と構成頁の向きフラグ5gをOFFの状態のまま、新規頁フラグ5hをONし(ステップS29)、更に配置処理における左(上)配置フラグをONして(ステップS30)、配置処理を実行する(ステップS31)。配置処理の詳細については後述する。
【0065】
印刷頁と構成頁との向きが同じ場合は(ステップS28;Yes)、印刷頁と構成頁の向きフラグ5gをONし(ステップS32)、新規頁フラグ5hをONし(ステップS29)、更に左(上)配置フラグをONして(ステップS30)、配置処理を実行する(ステップS31)。
【0066】
次に、CPU2は右(下)段組頁についての処理を行う。まず、右(下)段組頁を1頁取り込み可能であるか、即ち、配置処理の終了していない右(下)段組頁が残っているか否かを判別する(ステップS33)。配置処理の終了していない右(下)段組頁がある場合は(ステップS33;Yes)、左(上)段組頁終了フラグ5eを確認し、ONになっているか否かを判別する(ステップS34)。
【0067】
ここで、CPU2は左(上)段組頁終了フラグ5eの状態、及び印刷頁と構成頁の向きの違いに応じて、印刷頁と構成頁の向きフラグ5g及び新規頁フラグ5hをセットする。
図9は、右(下)領域へ段組頁を配置する処理における、印刷頁と構成頁の向きの違い及び左(上)段組頁終了フラグ5eの状態に応じた印刷頁と構成頁の向きフラグ5gと新規頁フラグ5hの関係を示す図である。
【0068】
左(上)段組頁終了フラグ5eがOFFの場合は(ステップS34;No)、取り込んだ右(下)段組頁について、印刷頁と構成頁との向きが同じか否かを判別する(ステップS35)。
【0069】
左(上)段組頁終了フラグ5eがOFFで、かつ、印刷頁と構成頁との向きが異なる場合は(ステップS35;No)、印刷頁と構成頁の向きフラグ5gをOFFの状態のまま、右(下)配置フラグをONして(ステップS36)、配置処理を実行する(ステップS37)。
【0070】
左(上)段組頁終了フラグ5eがOFFで、かつ、印刷頁と構成頁との向きが同じ場合は(ステップS35;Yes)、印刷頁と構成頁の向きフラグ5gをONし(ステップS39)、新規頁フラグ5hをONし(ステップS40)、更に右(下)配置フラグをONして(ステップS36)、配置処理を実行する(ステップS37)。
【0071】
また、左(上)段組頁終了フラグ5eがONになっている場合(ステップS34;Yes)についても同様に、印刷頁と構成頁との向きが同じか否かを判別する(ステップS38)。
【0072】
左(上)段組頁終了フラグ5eがONで、かつ、印刷頁と構成頁との向きが同じ場合は(ステップS38;Yes)、印刷頁と構成頁の向きフラグ5gをONし(ステップS39)、新規頁フラグ5hをONし(ステップS40)、更に右(下)配置フラグをONして(ステップS36)、配置処理を実行する(ステップS37)。
【0073】
左(上)段組頁終了フラグ5eがONで、かつ、印刷頁と構成頁との向きが異なる場合(ステップS38;No)は、印刷頁と構成頁の向きフラグ5gをOFFの状態のまま、新規頁フラグ5hをONし(ステップS40)、更に右(下)配置フラグをONして(ステップS36)、配置処理を実行する(ステップS37)。
【0074】
図10は配置処理の流れを説明するフローチャートである。
図10に示すように、配置処理において、CPU2はまず、新規頁フラグ5hを確認し、ONにセットされている場合は(ステップS51;Yes)、印刷頁管理メモリ5dの印刷頁番号情報に新規印刷頁番号情報をセットし(ステップS52)、次に印刷頁と構成頁の向きフラグ5gを確認する。印刷頁と構成頁の向きフラグ5gがONの場合は(ステップS53;Yes)、当該印刷頁番号情報に関連付けられた印刷頁構成情報の配置フラグを「印刷頁全体」にセットして(ステップS54)、配置処理を終了する。
【0075】
印刷頁と構成頁の向きフラグ5gがOFFで(ステップS53;No)、かつ、左(上)配置フラグがONにセットされている場合は(ステップS55;Yes)、当該印刷頁番号情報に関連付けられた印刷頁構成情報の配置フラグを「左(上)」にセットする(ステップS56)。
【0076】
また、印刷頁と構成頁の向きフラグ5gがOFFで、かつ、左(上)配置フラグがOFFにセットされている場合は(ステップS53;No→ステップS55;No)、当該印刷頁番号情報に関連付けられた印刷頁構成情報の配置フラグを「右(下)」にセットする(ステップS57)。
【0077】
次に、CPU2は左(上)領域または右(下)領域に段組頁を配置する際に、各段組頁が夫々が左(上)領域または右(下)領域にともに納まるように配置するため、夫々縮小率を算出する(ステップS58)。縮小率が算出されると、更にCPU2は算出した縮小率が所定の縮小率(例えば、50%)以上になっているか否かを判別する。所定の縮小率以上の場合は(ステップS59;Yes)、その構成頁のデータの文字ポイントや書体、行送り及び桁送りの大きさ等の書式を変更し、出力サイズを小さくしても文字が見やすくなるように設定する(ステップS60)。
【0078】
その後、CPU2は算出した縮小率を印刷頁管理メモリ5dの印刷頁構成情報にセットする。また、構成頁の書式が変更されている場合は、その変更後の書式も印刷頁管理メモリ5dの印刷頁構成情報にセットして(ステップS61)、配置処理を終了する。また、縮小率が所定の縮小率より小さく、出力サイズが小さくなりすぎない場合は(ステップS59;No)、書式を変更せずに、算出した縮小率を印刷頁管理メモリ5dの印刷頁構成情報にセットして(ステップS61)、配置処理を終了する。
【0079】
左(上)段組頁と右(下)段組頁とについて夫々配置処理が終了すると、CPU2は、ステップS26に戻り、各段組頁を夫々取り込み可能であるか確認し、左(上)段組頁を取り込めない場合は(ステップS27;No)、左(上)段組頁終了フラグ5eをONし(ステップS41)、右(下)段組頁を取り込めない場合は(ステップS33;No)、右(下)段組頁終了フラグ5fをONする(ステップS42)。
【0080】
左(上)段組頁終了フラグ5e及び右(下)段組頁終了フラグ5fが共にONになった場合は、次の処理(図6の全体処理のステップS13)へ移行する。
【0081】
全体処理では、ステップS11の自動段組処理が終了すると、CPU2は指定された用紙サイズや用紙の向きを印刷頁情報として印刷頁管理メモリ5dに格納するとともに、上述の自動段組処理及び配置処理の結果から各印刷頁についての印刷頁番号情報、及び印刷頁構成情報を作成し、印刷頁管理メモリ5dに格納する(ステップS13)。
【0082】
その後、入力装置3から出力指示が入力されると、CPU2は作成された印刷頁情報をGDI(Graphical Device Interface)に投入して印刷プレビュー画面を表示装置4に表示する(ステップS14)。また、入力装置3から確定指示が入力されると(ステップS15;Yes)、印刷装置6に印刷頁情報を出力して、印刷させる(ステップS16)。また、確定指示が入力されない場合は(ステップS16;No)、ステップS2に戻り、アプリケーション及びドキュメントの指定、段組に関する指定、構成頁情報、段組頁情報、印刷頁情報の作成、表示出力等の処理を繰り返し実行し、その後確定指示が入力されると、印刷装置6に印刷頁情報を出力して、印刷させ、一連の全体処理を終了する。
【0083】
ここで、本第1の実施の形態による段組配置を具体例を挙げて説明する。図11は2つのアプリケーション(「アプリA」、「アプリB」)の各ドキュメント(「プレゼン.doc」、「補足.xls」)のうち、一方を本文とし、他方を補足文として、「A4縦」の印刷用紙に夫々対応付けて2段に段組して配置した段組ドキュメントを作成する例を示す。
【0084】
段組頁は「アプリA」のドキュメント「プレゼン.doc」の1頁目〜5頁目(各頁を識別するため、図11に示すように夫々頁a、頁b、頁c、頁d、頁eという。)と、「アプリB」のドキュメント「補足.xls」の6頁目〜10頁目(各頁を識別するため、図11に示すように夫々頁f、頁g、頁h、頁i、頁jという。)である。段組頁の用紙の向きは全て「横」である。
【0085】
自動段組処理では、ステップS23〜S24の処理によって、段組頁管理メモリ5cから上領域に配置する段組頁の頁番号情報、及び下領域に配置する段組頁の頁番号情報を夫々取得し、構成頁管理メモリ5bの対応する頁情報を取得して段組頁情報を作成し、段組頁管理メモリ5cに記憶する。次にステップS25の処理によって、左(上)段組頁終了フラグ5eと右(下)段組頁終了フラグ5fを夫々OFFする。ステップS26〜S27では、2つの段組頁終了フラグがともにOFFされており、上段組頁を1頁(この段階では先頭の頁a)取り込み可能であるので、ステップS28で印刷頁とこの頁aとの向きの違いを判別し、向きが異なるので、印刷頁と構成頁の向きフラグ5gをOFFのまま、ステップS29〜S30の処理によって新規頁フラグ5hをONするとともに左(上)配置フラグをONして、ステップS31の配置処理を行う。
【0086】
配置処理ではステップS51によって新規頁フラグ5hがONとなっていると判断されて、印刷頁番号情報に新規印刷頁番号情報が付加され、印刷頁と構成頁の向きフラグ5gがOFF、かつ左(上)配置フラグがONにセットされているので、ステップS52〜S55の処理によって新規に付加した印刷頁の左(上)に配置フラグがONされる。その後、ステップS58〜S61の処理によって、縮小率が算出され、縮小率が大きく書式を変更する場合は所定の書式に変更し、自動用紙方向変更配置処理を終了する。従って、頁aは1頁目の印刷頁の上領域に所定の大きさに縮小されて配置される。
【0087】
次に、自動段組処理のステップS33〜ステップS34の処理によって、下段組頁を1頁(この段階では先頭頁f)取り込み可能であり、左(上)段組頁終了フラグ5eがOFFであると判断され、次にステップS35で印刷頁とこの頁fとの向きの違いが判別され、向きが異なるので、印刷頁と構成頁の向きフラグ5gをOFFのまま、ステップS36の処理によって右(下)配置フラグがONにセットされてステップS37において配置処理が行われる。
【0088】
配置処理では、新規頁フラグ5hがOFF、印刷頁と構成頁の向きフラグ5gがOFF、左(上)段組頁終了フラグ5eがOFFにセットされているので、ステップS51〜S57の処理によって右(下)に配置フラグがONされる。その後、ステップS58〜S61の処理によって、縮小率が算出され、縮小率が大きく書式を変更する場合は所定の書式に変更し、自動用紙方向変更配置処理を終了する。従って、頁fは1頁目の印刷頁の下領域に所定の出力サイズに縮小されて配置される。
【0089】
次に、ステップS26へ戻り、2つの終了フラグ5e,5fが確認され、各終了フラグ5e,5fはともにOFFなので、ステップS27の処理によって上段組頁を1頁(ここでは、次の段組頁である頁b)取り込み可能か判別する。頁bを取り込めるので、次に、ステップS28において印刷頁とこの頁bとの向きの違いが判別され、向きが異なるので、印刷頁と構成頁の向きフラグ5gはOFFのまま、ステップS29〜S30の処理によって新規頁フラグ5hがONにセットされ、左(上)配置フラグがONにセットされて、ステップS31の配置処理が実行される。
【0090】
配置処理ではステップS51において新規頁フラグ5hがONであると判断されるため、ステップS52において印刷頁番号情報に新規印刷頁番号情報(2頁目)が付加され、印刷頁と構成頁の向きフラグ5gがOFF、かつ左(上)配置フラグがONにセットされているので、ステップS53〜S56の処理によって新規に付加した印刷頁の左(上)に配置フラグがONされる。その後、ステップS58〜S61の処理によって、縮小率が算出され、縮小率が大きく書式を変更する場合は所定の書式に変更し、自動用紙方向変更配置処理を終了する。
従って、頁bは2頁目の印刷頁の上領域に所定の出力サイズに縮小されて配置される。
【0091】
次に、自動段組処理のステップS33〜ステップS34の処理によって、下段組頁が1頁(この段階では先頭頁g)取り込み可能であり、左(上)段組頁終了フラグ5eがOFFであるので、次にステップS35で印刷頁とこの頁fとの向きの違いが判別され、向きが異なるので、印刷頁と構成頁の向きフラグ5gをOFFのまま、ステップS36の処理によって右(下)配置フラグがONされ、ステップS37の配置処理が実行される。
【0092】
配置処理では、新規頁フラグ5hがOFF、印刷頁と構成頁の向きフラグ5gがOFF、左(上)段組頁終了フラグ5eがOFFにセットされているので、ステップS51〜S57の処理によって右(下)に配置フラグがONされる。その後、ステップS58〜S61の処理によって、縮小率が算出され、縮小率が大きく書式を変更する場合は所定の書式に変更し、自動用紙方向変更配置処理を終了する。従って、頁fは2頁目の印刷頁の下領域に所定の出力サイズに縮小されて配置される。
【0093】
同様に、アプリAの頁c、頁d、頁e、アプリBの頁h、頁i、頁jについても同様の処理を行い、配置処理によって、3頁目の印刷頁には上段に頁c、下段に頁hが配置され、4頁目の印刷頁には上段に頁d、下段に頁iが配置され、3頁目の印刷頁には上段に頁e、下段に頁jが配置される。
【0094】
その後、ステップS27、ステップS33において、上段組頁、下段組頁を取り込めるか否かが確認されるが、続く段組頁が存在しないため、ステップS41、S42の処理によって左(上)段組頁終了フラグ5eと右(下)段組頁終了フラグ5fとが夫々ONされ、その後ステップS23において各終了フラグ5e,5fがともにONであると判別されて、自動段組処理が終了する。
【0095】
以上説明したように、第1の実施の形態のデータ出力装置1によれば、1頁の印刷頁を所定数の出力領域に分割し、複数の構成頁を配置し、出力する。この際、各出力領域に異なる種類のドキュメントを対応付けて夫々配置して出力するため、CPU2はファイルから読込んだ各ドキュメントのデータを頁単位に構成頁管理メモリ5bにて管理し、この頁単位に管理された構成頁情報のうち、同一の印刷頁に段組して配置する構成頁を対応付けて段組頁管理メモリ5cにて管理する。
【0096】
従って、ユーザは複数のドキュメントを指定し、この中から段組対象となる頁を指定するだけで、異なる種類の複数のドキュメントをひとつの印刷頁に対応付けて段組して出力できる。そのため、異なる種類の複数のドキュメントを段組する場合に、その出力順に各構成頁の順番を並び替える等の編集操作を行う必要がなくなるので、書類の作成が容易となり、また作業時間も短縮する。
【0097】
また、対応付けられた各構成頁がともに印刷頁の各出力領域に納まるよう各構成頁の出力サイズを縮小して配置するので、関連する各頁を複数頁に跨らずに1頁内に配置でき、見やすいドキュメントを作成できる。
【0098】
また、頁のサイズを縮小する際に、所定の縮小率以上となるか否かを判別し、所定の縮小率以上となる場合(出力サイズが極端に小さくなる場合)には、構成頁のデータの書式(文字のポイントや書体、行送り、桁送り等)を変更して出力するため、縮小のために出力サイズが小さくなる場合にもドキュメント内の文字が見えにくくなることがなく、見やすい書類を作成できる。
【0099】
なお、上述の実施の形態では、1印刷頁の出力領域を2つとし、上下または左右に構成頁を段組配置する例を示したが、これに限定されるものではなく、1頁に3つ以上の出力領域を設け、3段以上の段組を行うようにしてもよい。また、印刷頁の向きと構成頁の向きとが異なる場合に1印刷頁に構成頁を2頁分配置することとしたが、印刷頁の向きと構成頁の向きとが同じ場合にも複数の構成頁を配置するようにしてもよい。
【0100】
また、上述の実施の形態では、複数の異なるドキュメントの連続した複数の頁の先頭頁番号を対応付け、連続した各頁が夫々同一の印刷用紙内に配置される例を示したが、段組頁管理メモリ5cで連続しない複数の頁を夫々対応付けて管理することにより、複数のドキュメントの連続しない頁を夫々同一の印刷用紙内に配置するようにしてもよい。
【0101】
〔第2の実施の形態〕
次に図12〜図15を参照して本発明のデータ出力装置1の第2の実施の形態について説明する。
【0102】
第2の実施の形態において、データ出力装置1の構成は図1に示す第1の実施の形態のデータ処理装置1と同様であるので説明を省略し、同一の各部には同一の符号を付して説明する。
【0103】
また、RAM5のメモリ構成は図2に示す第1の実施の形態のRAM5のメモリ構成と同様であるが、印刷頁管理メモリ5dの印刷頁構成情報には、方向変更フラグが追加される。
【0104】
図12は第2の実施の形態における印刷頁管理メモリ5dのデータ構成を示す図である。この印刷頁管理メモリ5dは第1の実施の形態の印刷頁管理メモリ5dのデータ構成に加え、図5(C)に示すように、印刷頁構成情報として配置フラグ、縮小率・書式、頁情報へのポインタ、次印刷頁番号情報へのポインタに加え、方向変更フラグが格納される。
【0105】
方向変更フラグとは、印刷頁と構成頁の向きが異なる場合に後述する自動用紙方向変更配置処理(図14参照)においてONにセットされるフラグであり、この方向変更フラグがONにセットされると、表示または印刷出力時に構成頁の方向が「縦」の場合は「横」に変更し、「横」の場合は「縦」に変更して印刷頁の配置位置に配置されて出力される。
【0106】
第2の実施の形態においてデータ処理装置1は、第1の実施の形態において示したように、複数の異なる種類の構成頁を対応付けて一つの印刷頁に夫々段組して配置するばかりでなく、段組対象となる複数の構成頁(段組頁)の用紙方向が縦横混在している場合に自動的に向きを揃えて配置する。
即ち、CPU2は、印刷頁と構成頁との縦横比が異なる場合は、方向変更フラグをONにセットし、印刷出力する際に、この方向変更フラグがONの構成頁の方向を変更して配置し、出力する。
【0107】
以下、第2の実施の形態の用紙方向変更段組処理について図13〜図15を参照して説明する。なお、全体処理の詳細については、第1の実施の形態と同様であるので、説明を省略する。また、RAM5の構成頁管理メモリ5b、段組頁管理メモリ5cには夫々、構成頁に関する構成頁情報や各頁の頁情報、段組頁情報や各段組頁の頁番号情報等が格納されているものとする。
【0108】
図13は用紙方向変更段組処理の流れを説明するフローチャートである。
この用紙方向変更段組処理は、初期メニュー画面4aの段組方法指定欄46において、用紙方向変更段組モードが指定されている場合に実行される。即ち、図6に示す全体処理のステップS11において自動段組処理が実行されると、図8に示す自動段組処理のステップS21において、用紙方向変更の段組か否かが判別され、用紙方向変更段組モードが指定されている場合は、ステップS22で用紙方向変更段組処理へ移行する。
【0109】
用紙方向変更段組処理において、まずCPU2は、段組頁管理メモリ5cから左(上)領域に配置する段組頁の頁番号情報と、右(下)領域に配置する段組頁の頁番号情報とを取得して(ステップS71)、取得した各頁番号情報に構成頁管理メモリ5bの頁情報を関連付けて(対応する頁情報へのポインタを付加し)、段組頁情報として段組頁管理メモリ5cに格納する(ステップS72)。そして、左(上)段組頁終了フラグ5e及び右(下)段組頁終了フラグ5fをともにOFFする(ステップS73)。
【0110】
次に、CPU2は2つの終了フラグ5e,5fが共にONにセットされた状態、即ち、左(上)段組頁及び右(下)段組頁についての配置処理が全て終了したか否かを判別する(ステップS74)。
【0111】
全ての段組頁について配置処理が終了していない場合は(ステップS74;No)、更に、左(上)段組頁を1頁取り込み可能であるか、即ち、左(上)に配置する段組頁のうち配置していないものが残っているか否かを判別する(ステップS75)。配置していない左(上)側段組頁がある場合は(ステップS75;Yes)、取り込んだ左(上)側段組頁について、印刷頁と構成頁との向きが同じか否かを判別する(ステップS76)。
【0112】
印刷頁と構成頁との向きが異なる場合は(ステップS76;No)、印刷頁と構成頁の向きフラグ5gをOFFの状態のまま、新規頁フラグ5hをONし(ステップS77)、更に配置処理における左(上)配置フラグをONして(ステップS78)、自動用紙方向変更配置処理を実行する(ステップS79)。自動用紙方向変更配置処理の詳細については後述する。
【0113】
印刷頁と構成頁との向きが同じ場合は(ステップS76;Yes)、印刷頁と構成頁の向きフラグ5gをONし(ステップS80)、新規頁フラグ5hをONし(ステップS77)、更に左(上)配置フラグをONして(ステップS78)、自動用紙方向変更配置処理を実行する(ステップS79)。
【0114】
次に、CPU2は右(下)段組頁についての処理を行う。まず、右(下)段組頁を1頁取り込み可能であるか、即ち、自動用紙方向変更配置処理の終了していない右(下)段組頁が残っているか否かを判別する(ステップS81)。配置処理の終了していない右(下)段組頁がある場合は(ステップS81;Yes)、取り込んだ右(下)段組頁について、印刷頁と構成頁との向きが同じか否かを判別する(ステップS82)。
【0115】
印刷頁と構成頁との向きが異なる場合は(ステップS82;No)、印刷頁と構成頁の向きフラグ5gをOFFの状態のまま、右(下)配置フラグをONして(ステップS83)、自動用紙方向変更配置処理を実行する(ステップS84)。
【0116】
印刷頁と構成頁との向きが同じ場合は(ステップS82;Yes)、印刷頁と構成頁の向きフラグ5gをONし(ステップS85)更に右(下)配置フラグをONして(ステップS83)、自動用紙方向変更配置処理を実行する(ステップS84)。
【0117】
図14は自動用紙方向変更配置処理の流れを説明するフローチャートである。
図14に示すように、自動用紙方向変更配置処理において、CPU2はまず、新規頁フラグ5hを確認し、ONにセットされている場合は(ステップS91;Yes)、印刷頁管理メモリ5dの印刷頁番号情報に新規印刷頁番号情報をセットし(ステップS92)、この新規印刷頁の構成情報の左(上)配置フラグをONする(ステップS93)。新規頁フラグ5hがONにセットされていない場合は(ステップS91;No)、新規印刷頁の構成情報の右(下)配置フラグをONする(ステップS94)。
【0118】
次に、CPU2は印刷頁と構成頁の向きフラグ5gを確認する。印刷頁と構成頁の向きフラグ5gがONの場合は(ステップS95;Yes)、当該印刷頁番号情報に関連付けられた印刷頁構成情報の方向変更フラグをONにセットする(ステップS96)。また、印刷頁と構成頁の向きフラグ5gがOFFの場合は(ステップS95;No)、方向変更フラグをOFFとする。
【0119】
次に、CPUは印刷頁の各出力領域に段組頁を配置する際に、各段組頁が夫々が左(上)領域または右(下)領域にともに納まるように配置するため、夫々縮小率を算出する(ステップS97)。縮小率が算出されると、更にCPU2は算出した縮小率が所定の縮小率(例えば、50%)以上になっているか否かを判別する。所定の縮小率以上の場合は(ステップS98;Yes)、その構成頁のデータの文字ポイントや書体、行送り及び桁送りの大きさ等の書式を変更し、出力サイズを小さくしても、文字が見やすくなるように設定する(ステップS99)。
【0120】
その後、CPU2は算出した縮小率を印刷頁管理メモリ5dの印刷頁構成情報にセットする。また、構成頁の書式が変更されている場合は、その変更後の書式も印刷頁管理メモリ5dの印刷頁構成情報にセットして(ステップS100)、自動用紙方向変更配置処理を終了する。また、縮小率が所定の縮小率より小さく、出力サイズが小さくなりすぎない場合は(ステップS98;No)、書式を変更せずに、算出した縮小率を印刷頁管理メモリ5dの印刷頁構成情報にセットして(ステップS100)、自動用紙方向変更配置処理を終了する。
【0121】
左(上)段組頁と右(下)段組頁とについて夫々自動用紙方向変更配置処理が終了すると、CPU2は、ステップS74に戻り、各段組頁を夫々取り込み可能であるか確認し、左(上)段組頁を取り込めない場合は(ステップS75;No)、左(上)段組頁終了フラグ5eをONし(ステップS86)、右(下)段組頁を取り込めない場合は(ステップS81;No)、右(下)段組頁終了フラグ5fをONする(ステップS87)。
【0122】
このようにして、左(上)段組頁終了フラグ5e及び右(下)段組頁終了フラグ5fが共にONになった場合は(ステップS74;Yes)、次の処理(図6の全体処理のステップS13)へ移行する。以降の処理については第1の実施の形態における処理(ステップS13〜S16)と同様であるので説明を省略する。
【0123】
ここで、本第2の実施の形態による自動的に方向を変更する段組配置について具体例を挙げて説明する。図15は2つのアプリケーション(「アプリA」、「アプリB」)の各ドキュメント(「プレゼン.doc」、「補足.xls」)のうち、一方を本文とし、他方を補足文として、「A4縦」の印刷用紙に夫々対応付けて2段に段組して配置した段組ドキュメントを作成する例を示す。
【0124】
段組頁は「アプリA」のドキュメント「プレゼン.doc」の1頁目〜5頁目(各頁を識別するため、図15に示すように夫々頁a、頁b、頁c、頁d、頁eという。)と、「アプリB」のドキュメント「補足.xls」の6頁目〜10頁目(各頁を識別するため、図15に示すように夫々頁f、頁g、頁h、頁i、頁jという。)である。段組頁の用紙の向きは「縦」、「横」が混在している。
【0125】
用紙方向変更段組処理では、ステップS71〜S72の処理によって、段組頁管理メモリ5cから上領域に配置する段組頁の頁番号情報、及び下領域に配置する段組頁の頁番号情報を夫々取得し、構成頁管理メモリ5bの対応する頁情報を取得して段組頁情報を作成し、段組頁管理メモリ5cに記憶する。次にステップS63の処理によって、左(上)段組頁終了フラグ5eと右(下)段組頁終了フラグ5fを夫々OFFする。ステップS74〜S75では、2つの段組頁終了フラグがともにOFFされており、上段組頁を1頁(この段階では先頭の頁a)を取り込み可能であるので、ステップS76で印刷頁とこの頁aとの向きの違いを判別し、向きが異なるので、印刷頁と構成頁の向きフラグ5gをOFFのまま、ステップS77〜S78の処理によって新規頁フラグ5hをONし、左(上)配置フラグをONして、ステップS79の自動用紙方向変更配置処理を行う。
【0126】
自動用紙方向変更配置処理ではステップS91において新規頁フラグ5hがONとなっていると判断されて、印刷頁番号情報に新規印刷頁番号情報を付加し、印刷頁と構成頁の向きフラグ5gがOFF、かつ左(上)配置フラグがONにセットされているので、ステップS92〜S93の処理によって新規に付加した印刷頁の左(上)に配置フラグがONされる。また、印刷頁と構成頁の向きフラグ5gはOFFであるので、方向変更フラグがOFFに維持される。その後、ステップS97〜S100の処理によって、縮小率が算出され、縮小率が大きく書式を変更する場合は所定の書式に変更し、処理を終了する。従って、頁aは1頁目の印刷頁の上領域に方向が変更されずに(「横」のまま)配置される。
【0127】
次に、用紙方向変更段組処理のステップS81において、下段組頁を1頁(この段階では先頭頁f)取り込み可能であるか判別され、取り込み可能であるので、ステップS82で印刷頁とこの頁fとの向きの違いが判別され、向きが異なるので、印刷頁と構成頁の向きフラグ5gがOFFのまま、ステップS83の処理によって右(下)配置フラグがONにセットされて、ステップS84の自動用紙方向変更配置処理が実行される。
【0128】
自動用紙方向変更配置処理では、新規頁フラグ5hがOFFにセットされているので、ステップS91〜S94の処理によって右(下)の配置フラグがONされる。また、印刷頁と構成頁の向きフラグ5gはOFFであるので、方向変更フラグはOFFに維持される。その後、ステップS97〜S100の処置によって、縮小率が算出され、縮小率が大きく書式を変更する場合は所定の書式に変更し、処理を終了する。従って、頁fは1頁目の印刷頁の下領域に方向が変更されずに(「横」のまま)配置される。
【0129】
次に、ステップS74へ戻り、2つの終了フラグ5e,5fが確認され、各終了フラグ5e,5fはともにOFFなので、ステップS75の処理によって上段組頁を1頁(ここでは、次の段組頁である頁b)取り込み可能か判別する。頁bを取り込めるので、次に、ステップS76で印刷頁とこの頁bとの向きの違いが判別され、向きが同じなので、ステップS80において印刷頁と構成頁の向きフラグ5gがONにセットされ、ステップS77〜S78の処理によって新規頁フラグ5hがONにセットされ、左(上)配置フラグがONにセットされて、ステップS79の自動用紙方向変更配置処理が実行される。
【0130】
自動用紙方向変更配置処理ではステップS91によって新規頁フラグ5hがONとなっていると判断されて、印刷頁番号情報に新規印刷頁番号情報(2頁目)が付加され、左(上)配置フラグがONにセットされているので、ステップS92〜S93の処理によって新規に付加した印刷頁の左(上)の配置フラグがONされる。また、印刷頁と構成頁の向きフラグ5gはONにセットされているので、方向変更フラグがONにセットされる。その後、ステップS97〜S100の処置によって、縮小率が算出され、縮小率が大きく書式を変更する場合は所定の書式に変更し、自動用紙方向変更配置処理を終了する。従って、頁bは2頁目の印刷頁の上領域に方向が変更されて(「縦」から「横」に変更されて)配置される。
【0131】
次に、自動段組処理のステップS81において、下段組頁を1頁(この段階では先頭頁g)取り込み可能であるので、次にステップS82で印刷頁とこの頁gとの向きの違いが判別され、向きが異なるので、印刷頁と構成頁の向きフラグ5gをOFFのまま、ステップS83の処理によって右(下)配置フラグがONされ、ステップS84の自動用紙方向変更配置処理が実行される。
【0132】
自動用紙方向変更配置処理では、ステップS91において新規頁フラグ5hがOFFにセットされていると判別され、ステップS94の処理によって右(下)に配置フラグがONされる。また、印刷頁と構成頁の向きフラグ5gはOFFにセットされているので、方向変更フラグがOFFに維持される。その後、ステップS97〜S100の処置によって、縮小率が算出され、縮小率が大きく書式を変更する場合は所定の書式に変更し、自動用紙方向変更配置処理を終了する。従って、頁gは2頁目の印刷頁の下領域に方向が変更されずに(「横」のまま)配置される。
【0133】
同様に、アプリAの頁c、頁d、頁e、アプリBの頁h、頁i、頁jについても同様の処理を行う。自動用紙方向変更配置処理によって、3頁目の印刷頁には上段に頁cがそのままの方向で配置されるとともに、下段に頁hが方向が変更されて配置され、4頁目の印刷頁には上段に頁d、下段に頁hが共に方向が変更されて配置され、5頁目の印刷頁には上段に頁e、下段に頁jがそのままの方向で配置される。
【0134】
その後、ステップS75、ステップS81において、上段組頁、下段組頁を取り込めるか否かが確認されるが、続く段組頁が存在しないため、ステップS86、S77の処理によって左(上)段組頁終了フラグ5eと右(下)段組頁終了フラグ5fとが夫々ONされ、その後ステップS74において各終了フラグ5e,5fがともにONであると判別されて、自動段組処理が終了する。自動段組処理が終了する。
【0135】
以上説明したように、第2の実施の形態では、段組対象となる構成頁に用紙の方向が縦横混在する場合に、印刷頁と構成頁の用紙方向が同じ頁について、自動的に構成頁の方向を自動的に変更して、段組配置する。
【0136】
従って、用紙の方向が異なる頁が混在する場合においても、各頁の方向を揃えて印刷頁に段組して配置できるので、無駄な空白領域がなくなり、用紙を効率よく使用できる。
【0137】
また、第1の実施の形態の自動段組処理と同様に、異なるドキュメントの各頁を夫々同一の印刷頁に段組する際に適用できるので、本文と補足文とを異なるドキュメントで作成した後、それらを対応付けて段組して配置したい場合にも、ユーザは各ドキュメントで用紙方向を特に意識せずに各ドキュメントを作成できる。
【0138】
なお、上述の第1及び第2の実施の形態では、印刷頁に構成頁を配置する際に構成頁の出力サイズを縮小して配置する例を示したが、大きいサイズの出力領域に各構成頁の出力サイズを夫々拡大して配置するようにしてもよい。
【0139】
また、上述の第1及び第2の実施の形態では、段組配置した印刷頁について、そのまま出力する例を示したが、出力する際に更に袋綴じ印刷や両面印刷を適用してもよい。
その他、各段組頁の配置場所の決定の仕方、各構成頁のデータ内容、書式変更の際にどのような書式に変更するか等は任意であり、本発明の趣旨を逸脱しない範囲で適宜変更可能である。
【0140】
【発明の効果】
本発明によれば、複数のアプリケーションプログラムとそのファイルの頁番号を指定するための指定画面を表示し、この指定画面で入力されたデータに従って、各アプリケーションプログラムを起動して各ファイルを読み出し、各アプリケーションプログラムに対応した各ファイルの頁番号を段組頁に対応付けて記憶するので、各アプリケーションプログラムの起動から各アプリケーションプログラムに対応した各ファイルを段組頁に配置出力する処理を自動的に実行できる。
【図面の簡単な説明】
【図1】データ出力装置1の構成を示すブロック図である。
【図2】RAM5のメモリ構成を示す図である。
【図3】構成頁管理メモリ5bのデータ構成を示す図である。
【図4】段組頁管理メモリ5cのデータ構成を示す図である。
【図5】印刷頁管理メモリ5dのデータ構成を示す図である。
【図6】全体的な処理の流れを説明するフローチャートである。
【図7】初期メニュー画面4aの例を示す図である。
【図8】自動段組処理の流れを説明するフローチャートである。
【図9】自動段組処理において右(下)領域へ構成頁を配置する場合の、印刷頁と構成頁の向きの違い及び左(上)段組頁終了フラグ5eの状態に応じた印刷頁と構成頁の向きフラグ5gと新規頁フラグ5hの関係を示す図である。
【図10】配置処理の流れを説明するフローチャートである。
【図11】複数の異なるドキュメントを対応付けて印刷用紙に2段に段組して配置する例を説明する図である。
【図12】第2の実施の形態の印刷頁管理メモリ5dのデータ構成を示す図である。
【図13】用紙方向変更段組処理の流れを説明するフローチャートである。
【図14】自動用紙方向変更配置処理の流れを説明するフローチャートである。
【図15】用紙の向きが縦横混在した段組頁の方向を自動的に変更して段組配置する例を説明する図である。
【図16】従来の段組印刷において、複数の異なるドキュメントを段組して出力する例を説明する図である。
【図17】従来の段組印刷において、段組対象となる各頁の用紙方向が縦横混在している場合に、それらの各頁を段組して出力する例を説明する図である。
【符号の説明】
1 データ出力装置
2 CPU
3 入力装置
4 表示装置
5 RAM
5a ファイル読込メモリ
5b 構成頁管理メモリ
5c 段組頁管理メモリ
5d 印刷頁管理メモリ
6 印刷装置
7 記憶装置
8 記録媒体
9 伝送制御部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data output device and a recording medium, and more particularly to a column output of data such as a document.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, there is a data output device that arranges and outputs a document covering a plurality of pages in a stacked manner on a printing paper.
In this type of data output apparatus, one page of printing paper is divided into a plurality of output areas, and each page data of the document is expanded or reduced to a size corresponding to each output area in each of these output areas, and the pages are arranged in the order of the pages. Arrange and output.
[0003]
[Problems to be solved by the invention]
However, in the conventional data output apparatus, when a plurality of different documents are output in series, the user has to perform an editing operation to rearrange the pages of each document in the order of output.
[0004]
With reference to FIG. 16, an example in which a plurality of different documents are output in a group by a conventional data output apparatus will be described.
As shown in FIG. 16, for example, when each page of a document A composed of a plurality of pages and each page of a document B composed of a plurality of pages are associated with each other and output in a vertical arrangement, the user outputs the document A. A-1 page, A-2 page,..., Document B is divided into page units such as B-1 page, B-2 page,. The column function is executed after rearranging in the order of the first page, the B-1 page, the A-2 page, the B-2 page, and so on. Then, the data output device arranges and outputs each page data in the upper and lower stages of the printed page in order from the first page of the rearranged data. As a result, the A-1 page is arranged in the upper stage on the first printed page, the B-1 page is arranged in the lower stage, and the A-2 page is arranged in the upper stage on the second printed page. Then, the B-2 page is arranged in the lower row.
[0005]
As described above, when a plurality of documents are arranged in association with each other, it is necessary to execute the column function after rearranging the order of pages in the document in the output order. For this reason, when the number of pages of the document is large, not only a long time is required for the editing work, but also it takes time and burden on the user.
[0006]
Also, if the paper orientation of each page to be stacked is mixed vertically and horizontally, pages that do not match the size and direction of the output area of the print paper cannot be arranged in the output area, and the print paper A part of the output area was left blank, and it was output in the same size on the next page.
[0007]
With reference to FIG. 17, an example will be described in which, when the paper directions of the pages to be stacked are mixed vertically and horizontally, those pages are output in a column by a conventional data output device.
As shown in FIG. 17, for example, the first page (page A-1) of the pages to be arranged is “horizontal”, the second page (page B-1) is “vertical”, the third page ( When page A-2) is set to "Landscape" and page 4 (Page B-2) is set to "Portrait", the pages are arranged in the "Portrait" printing paper in that order. When the column function is executed to output, the data output apparatus first arranges the A-1 page (horizontal) in the upper area of the first printed page. Next, it is determined whether the B-1 page can be arranged in the lower area of the first printed page. Since the aspect ratio of the empty area of the printed page is different from the aspect ratio of the B-1 page, the arrangement is impossible. The B-1 page is arranged on the entire printed page (second page). Similarly, since page A-2 has the same aspect ratio as the printed page, it is arranged in the upper area of
[0008]
For this reason, the lower area of the first page and the third page of the printed page is blank, and the appearance when outputting in a column is not good. Further, since the number of printing sheets to be used is not different from that before the column setting, there is no point in outputting in a column setting.
[0009]
An object of the present invention is to provide a data output device and a recording medium capable of easily arranging and outputting a plurality of different types of documents.
Another object of the present invention is to provide a data output device capable of arranging and outputting a column without creating a useless blank area even when vertical and horizontal pages are mixed in a document to be columned, and a recording To provide a medium.
[0010]
[Means for Solving the Problems]
In order to solve such a problem, the data output device according to
A computer-readable recording medium on which the program according to
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of a
[0013]
[First Embodiment]
First, the configuration will be described.
FIG. 1 is a block diagram showing the internal configuration of the
As shown in FIG. 1, a
[0014]
The
[0015]
Further, the
In the overall processing, the
[0016]
Further, when the size, orientation, column setting method, and constituent page to be set are specified on the
Hereinafter, the constituent pages designated as the column target are referred to as “column pages”, and each page of the printing paper is referred to as “print page”.
[0017]
Furthermore, when a column print execution instruction is input, a print page is created in which pages of a plurality of associated documents are arranged in columns in output regions provided in the print page in accordance with the above-mentioned specified contents. Therefore, an automatic column processing (see FIG. 8) described later is executed.
When two output areas are formed on the printed page, in the following description, the left or upper output area of these output areas is referred to as the left (upper) area, and the right or lower output area is referred to as the right (upper). (Bottom) The area.
[0018]
In the automatic column processing, the
[0019]
If the orientations of the printed page and the constituent page are different, the
When the arrangement for all the left (upper) column pages is completed, the left (upper) column
[0020]
Next, the
[0021]
If the left (upper) column
[0022]
If the left (upper) column
[0023]
Similarly, when the left (upper) column
[0024]
If the left (upper) column
[0025]
When the left (upper) column
When the processing is completed for all the right (lower) column pages, the right (lower) column
[0026]
In the arrangement process, when arranging the column pages in the left (upper) region or the right (lower) region, the
[0027]
When the left (upper) column
[0028]
The
[0029]
The display device 4 is configured by a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display), or the like, and performs screen display of various display data according to display instructions input from the
[0030]
The RAM 5 has a memory area for storing designated application programs, input instructions, input data, processing results, and the like.
[0031]
FIG. 2 shows the memory configuration of the RAM 5. As shown in FIG. 2, the RAM 5 includes a
[0032]
In the
[0033]
The constituent
FIG. 3 is a diagram showing a data configuration of the configuration
[0034]
The column
FIG. 4 shows the data structure of the column
[0035]
The print
FIG. 5 shows the data structure of the print
[0036]
Further, as shown in FIG. 5C, the print
[0037]
The placement flag is a flag for setting which of the output areas formed on the print page is the placement position. When the print page has two output areas, “left (upper)”, “ “Right (lower)” and “whole” are set.
Further, as shown in FIG. 5D, each print page configuration information is associated with the corresponding page information in the configuration
[0038]
The left (upper) column
The right (lower) column
[0039]
The
The
Each of these
[0040]
The spool file 5i is a memory area for storing a plurality of documents of a plurality of applications in a file format, and a spool file ID is assigned to each file as an individual identification number.
[0041]
The
[0042]
The
[0043]
The
[0044]
The program, data, etc. stored in the
[0045]
The
[0046]
Next, the operation will be described.
Here, a program for realizing each function described in each flowchart shown below is stored in the
[0047]
First, an overall operation of processing executed when data of a plurality of different documents created by an application is output in a group will be described with reference to a flowchart of FIG.
FIG. 6 is a flowchart for explaining the overall processing flow.
[0048]
First, when a display instruction for the
[0049]
FIG. 7 is a diagram showing an example of the
As shown in FIG. 7, in the
[0050]
The
[0051]
When the application name and the document name are specified in the
[0052]
For example, a plurality of different documents (a document name “presentation.doc” of the application “application A” and a document name “of the application“ application B ”“Supplement.xls ") are arranged and arranged, and when it is desired to create and output the document, first, as shown in FIG. 7A, the application name" When "App A" is entered and the document name "Presentation.doc" is entered in the
[0053]
Further, the
[0054]
For example, in the above-described example of creating the “plan” document, as shown in FIG. 7B, the application name “application B” is input in the
[0055]
After that, when a confirmation instruction is input (step S7; Yes), the
[0056]
Next, the
[0057]
Further, the
[0058]
With the above processing, when the configuration page information and page information are created in the configuration
[0059]
In step S9, when a column printing execution instruction is not input, normal column processing is executed (step S12).
[0060]
FIG. 8 is a flowchart for explaining the flow of automatic column processing.
In the automatic column processing, the
[0061]
When the designated column method is the automatic column mode (step S22; No), the
[0062]
Next, the
[0063]
If the arrangement process has not been completed for all the column pages (step S26; No), it is possible to capture one page of the left (upper) side column page, that is, arrange it on the left (upper). It is determined whether or not there is any unplaced column page (step S27). If there is a left (upper) side column page that is not arranged (step S27; Yes), it is determined whether the orientation of the printed page and the constituent page is the same for the captured left (upper) side column page (Step S28).
[0064]
If the orientations of the printed page and the constituent page are different (step S28; No), the
[0065]
When the orientations of the printed page and the constituent page are the same (step S28; Yes), the
[0066]
Next, the
[0067]
Here, the
FIG. 9 shows the print page and component page according to the difference in orientation between the printed page and the component page and the state of the left (upper) column
[0068]
If the left (upper) column
[0069]
If the left (upper) column
[0070]
If the left (upper) column
[0071]
Similarly, when the left (upper) column
[0072]
If the left (upper) column
[0073]
When the left (upper) column
[0074]
FIG. 10 is a flowchart for explaining the flow of the arrangement process.
As shown in FIG. 10, in the layout process, the
[0075]
When the
[0076]
Further, when the
[0077]
Next, when the
[0078]
Thereafter, the
[0079]
When the arrangement processing for the left (upper) column page and the right (lower) column page is completed, the
[0080]
When both the left (upper) column
[0081]
In the overall processing, when the automatic column processing in step S11 is completed, the
[0082]
Thereafter, when an output instruction is input from the
[0083]
Here, the column arrangement according to the first embodiment will be described with a specific example. FIG. 11 shows each document (“presentation.doc”, “application B”) of two applications (“application A” and “application B”).Supplement.xls ”), one of which is a text and the other is a supplementary sentence. An example of creating a column document arranged in two columns in association with“ A4 portrait ”printing paper is shown.
[0084]
The column pages are the first to fifth pages of the document “Presentation.doc” of “App A” (in order to identify each page, page a, page b, page c, page d, Page e)) and the “App B” document “Supplement6th to 10th pages of “.xls” (in order to identify each page, they are referred to as page f, page g, page h, page i, and page j, respectively, as shown in FIG. 11). The orientation of the paper on the multi-column pages is all “horizontal”.
[0085]
In the automatic column processing, the page number information of the column pages arranged in the upper region and the page number information of the column pages arranged in the lower region are respectively acquired from the column
[0086]
In the layout processing, it is determined in step S51 that the
[0087]
Next, by the processing of steps S33 to S34 of the automatic column processing, one page of the lower column page (first page f at this stage) can be fetched, and the left (upper) column
[0088]
In the layout process, the
[0089]
Next, returning to step S26, the two
[0090]
In the layout process, since it is determined in step S51 that the
Accordingly, the page b is arranged with a reduced output size in the upper area of the second printed page.
[0091]
Next, by the processing of steps S33 to S34 of the automatic column processing, one page of the lower column page (first page g in this stage) can be fetched, and the left (upper) column
[0092]
In the layout process, the
[0093]
Similarly, page c, page d, page e of application A, page h, page i, and page j of application B are similarly processed. Page h is arranged at the bottom, page d is arranged at the top, page i is arranged at the bottom, page e is arranged at the bottom, page e is arranged at the top, and page j is arranged at the bottom. The
[0094]
Thereafter, in step S27 and step S33, it is confirmed whether or not the upper column page and the lower column page can be taken in. However, since there is no subsequent column page, the left (upper) column page is processed by the processing in steps S41 and S42. The
[0095]
As described above, according to the
[0096]
Therefore, the user can specify a plurality of documents, and specify a page to be set from among them, and can output a plurality of different types of documents in association with one print page. Therefore, when multiple documents of different types are arranged, it is not necessary to perform editing operations such as rearranging the order of each constituent page in the output order, so that document creation is facilitated and work time is shortened. .
[0097]
In addition, since the output size of each component page is reduced and arranged so that each associated component page can be accommodated in each output area of the printed page, the related pages are not included in a plurality of pages, but within one page. Can be placed and created easy-to-read documents.
[0098]
Further, when reducing the page size, it is determined whether or not the predetermined reduction ratio is exceeded. If the page size is higher than the predetermined reduction ratio (when the output size is extremely small), the data of the constituent pages is determined. The document format is easy to read without changing the format (character point, typeface, line feed, line feed, etc.) so that the characters in the document will not be difficult to see even if the output size is reduced due to reduction. Can be created.
[0099]
In the above-described embodiment, an example has been described in which the output area of one printed page is two, and the constituent pages are arranged in columns on the top and bottom or left and right. However, the present invention is not limited to this. Two or more output regions may be provided, and three or more columns may be performed. In addition, when the orientation of the printed page is different from the orientation of the constituent page, two constituent pages are arranged on one printed page. However, when the orientation of the printed page and the constituent page are the same, a plurality of constituent pages are arranged. You may make it arrange | position a structure page.
[0100]
In the above-described embodiment, an example in which the first page numbers of a plurality of consecutive pages of a plurality of different documents are associated with each other and each successive page is arranged on the same printing paper has been described. By managing a plurality of non-continuous pages in association with each other in the
[0101]
[Second Embodiment]
Next, a second embodiment of the
[0102]
In the second embodiment, since the configuration of the
[0103]
The memory configuration of the RAM 5 is the same as that of the RAM 5 of the first embodiment shown in FIG. 2, but a direction change flag is added to the print page configuration information in the print
[0104]
FIG. 12 is a diagram illustrating a data configuration of the print
[0105]
The direction change flag is a flag that is set to ON in an automatic paper direction change arrangement process (see FIG. 14), which will be described later, when the orientations of the printed page and the constituent pages are different, and this direction change flag is set to ON. If the orientation of the component page is “vertical” at the time of display or print output, it is changed to “horizontal”, and if it is “horizontal”, it is changed to “vertical” and placed at the print page layout position and output. .
[0106]
In the second embodiment, as shown in the first embodiment, the
In other words, the
[0107]
Hereinafter, the paper direction changing column processing according to the second embodiment will be described with reference to FIGS. Note that details of the entire process are the same as those in the first embodiment, and a description thereof will be omitted. The configuration
[0108]
FIG. 13 is a flowchart for explaining the flow of the paper direction changing column processing.
This paper orientation changing column processing is executed when the paper orientation changing column mode is designated in the column
[0109]
In the paper orientation changing column processing, first, the
[0110]
Next, the
[0111]
If the arrangement processing has not been completed for all the column pages (step S74; No), it is possible to further fetch one page of the left (upper) column page, that is, the column to be arranged on the left (upper). It is determined whether or not there are any remaining pages in the set page (step S75). If there is a left (upper) side column page that has not been arranged (step S75; Yes), it is determined whether the orientation of the printed page and the constituent page is the same for the captured left (upper) side column page (Step S76).
[0112]
If the orientation of the printed page is different from that of the constituent page (step S76; No), the
[0113]
When the orientations of the printed page and the constituent page are the same (step S76; Yes), the
[0114]
Next, the
[0115]
If the orientations of the printed page and the constituent page are different (step S82; No), the right (lower) arrangement flag is turned on with the
[0116]
When the orientation of the printed page and the constituent page is the same (step S82; Yes), the
[0117]
FIG. 14 is a flowchart for explaining the flow of the automatic paper direction changing arrangement process.
As shown in FIG. 14, in the automatic paper direction changing arrangement process, the
[0118]
Next, the
[0119]
Next, when the CPU arranges the column pages in each output area of the print page, the column pages are arranged so that each of the column pages fits in the left (upper) region or the right (lower) region. The rate is calculated (step S97). When the reduction rate is calculated, the
[0120]
Thereafter, the
[0121]
When the automatic paper direction changing and arranging process is completed for the left (upper) column page and the right (lower) column page, the
[0122]
When both the left (upper) column
[0123]
Here, the columnar arrangement for automatically changing the direction according to the second embodiment will be described with a specific example. FIG. 15 shows each document (“presentation.doc”, “application B”) of two applications (“application A” and “application B”).Supplement.xls ”), one of which is a text and the other is a supplementary sentence. An example of creating a column document arranged in two columns in association with“ A4 portrait ”printing paper is shown.
[0124]
The column pages are the first to fifth pages of the document “Presentation.doc” of “App A” (in order to identify each page, page a, page b, page c, page d, Page e)) and the “App B” document “Supplement6th to 10th pages of “.xls” (in order to identify each page, they are referred to as page f, page g, page h, page i, and page j, respectively, as shown in FIG. 15). The orientation of the paper on the multi-column page is a mixture of “vertical” and “horizontal”.
[0125]
In the paper direction changing column processing, the page number information of the column pages arranged in the upper region and the page number information of the column pages arranged in the lower region are obtained from the column
[0126]
In the automatic paper orientation changing arrangement process, it is determined in step S91 that the
[0127]
Next, in step S81 of the paper orientation changing column processing, it is determined whether or not one lower page can be taken in (the first page f in this stage). Since the difference in orientation from f is determined and the orientation is different, the right (lower) placement flag is set to ON by the processing in step S83 while the
[0128]
In the automatic paper direction changing arrangement process, the
[0129]
Next, returning to step S74, the two
[0130]
In the automatic paper direction changing arrangement process, it is determined in step S91 that the
[0131]
Next, in step S81 of the automatic column processing, one page (the first page g in this stage) can be fetched in the lower column page. Next, in step S82, the difference in orientation between the printed page and this page g is determined. Since the orientations are different, the right (lower) placement flag is turned on by the processing of step S83 while the
[0132]
In the automatic paper orientation changing arrangement process, it is determined in step S91 that the
[0133]
Similarly, the same processing is performed for page c, page d, and page e of application A, and page h, page i, and page j of application B. By the automatic paper direction changing arrangement process, the page c is arranged in the upper stage in the same direction on the third printed page, and the page h is arranged with the direction changed in the lower stage. The page d in the upper row and the page h in the lower row are arranged with their directions changed, and the page e is arranged in the upper row and the page j is arranged in the lower row on the fifth printed page.
[0134]
Thereafter, in step S75 and step S81, it is confirmed whether or not the upper column page and the lower column page can be taken in. However, since there is no subsequent column page, the left (upper) column page is processed by the processing in steps S86 and S77. The
[0135]
As described above, in the second embodiment, when the orientation of paper is mixed vertically and horizontally in the constituent pages to be stacked, the constituent pages are automatically set for pages having the same paper orientation as the printed pages. The direction of is automatically changed and arranged in columns.
[0136]
Therefore, even when pages with different paper orientations coexist, the orientation of each page can be aligned and arranged on the printed page, so that useless blank areas are eliminated and the paper can be used efficiently.
[0137]
Further, similar to the automatic column processing of the first embodiment, it can be applied when each page of different documents is grouped on the same print page. Even when it is desired to arrange them in a stacked manner, the user can create each document without being aware of the paper direction.
[0138]
In the above-described first and second embodiments, the example in which the output size of the constituent page is reduced when the constituent page is arranged on the printed page has been described. You may make it arrange | position by expanding the output size of a page, respectively.
[0139]
Further, in the first and second embodiments described above, an example in which the printed pages arranged in a column are output as they are, but bag binding printing or double-sided printing may be further applied when outputting.
In addition, the method of determining the layout location of each column page, the data content of each component page, the format to be changed when the format is changed, and the like are arbitrary, and are appropriately within the scope of the present invention. It can be changed.
[0140]
【The invention's effect】
According to the present invention, a designation screen for designating a plurality of application programs and the page number of the file is displayed, and according to the data input on the designation screen, each application program is started to read each file, Since the page number of each file corresponding to the application program is stored in association with the column page, the process of allocating and outputting each file corresponding to each application program to the column page automatically from the start of each application program it can.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a
FIG. 2 is a diagram illustrating a memory configuration of a RAM 5;
FIG. 3 is a diagram showing a data configuration of a configuration
FIG. 4 is a diagram showing a data configuration of a column
FIG. 5 is a diagram illustrating a data configuration of a print
FIG. 6 is a flowchart for explaining the overall processing flow;
FIG. 7 is a diagram showing an example of an
FIG. 8 is a flowchart illustrating the flow of automatic column processing.
FIG. 9 shows a printed page according to a difference in orientation between a printed page and a component page and a state of a left (upper) column
FIG. 10 is a flowchart illustrating a flow of arrangement processing.
FIG. 11 is a diagram illustrating an example in which a plurality of different documents are associated with each other and arranged in two stages on a print sheet.
FIG. 12 is a diagram illustrating a data configuration of a print
FIG. 13 is a flowchart illustrating a flow of a paper direction changing column process.
FIG. 14 is a flowchart illustrating the flow of automatic paper direction changing arrangement processing.
FIG. 15 is a diagram for explaining an example in which a columnar page direction in which the orientation of paper is mixed is automatically changed to arrange columns;
FIG. 16 is a diagram illustrating an example of outputting a plurality of different documents in a column in conventional column printing.
FIG. 17 is a diagram for explaining an example of outputting each page in a column when the paper orientation of each page to be columned is mixed vertically and horizontally in conventional column printing.
[Explanation of symbols]
1 Data output device
2 CPU
3 Input devices
4 display devices
5 RAM
5a File reading memory
5b Configuration page management memory
5c Column page management memory
5d Print page management memory
6 Printing device
7 Storage device
8 Recording media
9 Transmission control unit
Claims (2)
複数のアプリケーションプログラムとそれぞれのアプリケーションプログラムに対応したファイル及びそのファイルの頁番号を指定するための指定画面を表示する表示手段と、
この表示手段により表示された指定画面で入力されたデータに従って、各アプリケーションプログラムを起動してその各アプリケーションプログラムに対応した各ファイルを読み出し、各アプリケーションプログラムに対応した各ファイル及びその各ファイルの頁番号を段組頁に対応付けて記憶する設定手段と、
複数の異なる種類の前記設定手段により設定されたファイルから、夫々複数の頁単位データを読み出す読出手段と、
この読出手段により読み出されたファイルの各頁単位データと、他のファイルの各頁単位データとを前記設定手段により設定された段組頁に対応付けて前記各出力領域に段組して配置する配置手段と、
この配置手段により配置されたデータを出力する出力手段と、
を備えることを特徴とするデータ出力装置。A data output device for arranging and outputting a plurality of page unit data in a plurality of output areas formed in one page,
Display means for displaying a plurality of application programs, a file corresponding to each application program, and a designation screen for designating the page number of the file;
According to the data entered at the specified screen displayed by the display means, and start each application program reads each file corresponding to the each application program, the page number of each file and its respective files corresponding to each application program Setting means for storing the information in association with the column pages ;
Reading means for reading out a plurality of page unit data respectively from files set by a plurality of different types of setting means;
Each page unit data of the file read by the reading unit and each page unit data of the other file are arranged in the output area in association with the column page set by the setting unit . An arrangement means to
Output means for outputting the data arranged by the arrangement means;
A data output device comprising:
複数のアプリケーションプログラムとそれぞれのアプリケーションプログラムに対応したファイル及びそのファイルの頁番号を指定するための指定画面を表示する表示手段、
この表示手段により表示された指定画面で入力されたデータに従って、各アプリケーションプログラムを起動してその各アプリケーションプログラムに対応した各ファイルを読み出し各アプリケーションプログラムに対応した各ファイル及びその各ファイルの頁番号を段組頁に対応付けて記憶する設定手段、
複数の異なる種類の前記設定手段により設定されたファイルから、夫々複数の頁単位データを読み出す読出手段、
この読出手段により読み出されたファイルの各頁単位データと、他のファイルの各頁単位データとを前記設定手段により設定された段組頁に対応付けて前記各出力領域に段組して配置する配置手段、
この配置手段により配置されたデータを出力する出力手段、
として機能させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。A computer of a data output device for arranging and outputting a plurality of page unit data in a plurality of output areas formed in one page,
Display means for displaying a designation screen for designating a plurality of application programs, a file corresponding to each application program, and a page number of the file;
According to the data entered at the specified screen displayed by the display means, each file and page number of the respective files corresponding to each application program reads each file corresponding to the each application program to start each application program Setting means for storing in association with column pages ;
Reading means for reading out a plurality of page unit data respectively from files set by a plurality of different types of setting means,
Each page unit data of the file read by the reading unit and each page unit data of the other file are arranged in the output area in association with the column page set by the setting unit . Arrangement means,
Output means for outputting the data arranged by the arrangement means;
A computer-readable recording medium on which a program for functioning as a computer is recorded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000342030A JP4419316B2 (en) | 2000-11-09 | 2000-11-09 | Data output device and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000342030A JP4419316B2 (en) | 2000-11-09 | 2000-11-09 | Data output device and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002144664A JP2002144664A (en) | 2002-05-22 |
JP4419316B2 true JP4419316B2 (en) | 2010-02-24 |
Family
ID=18816662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000342030A Expired - Fee Related JP4419316B2 (en) | 2000-11-09 | 2000-11-09 | Data output device and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4419316B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005193559A (en) * | 2004-01-08 | 2005-07-21 | Oki Data Corp | Image forming apparatus |
JP2006235954A (en) * | 2005-02-24 | 2006-09-07 | Casio Comput Co Ltd | Combination printing system |
JP2009153068A (en) | 2007-12-21 | 2009-07-09 | Canon Inc | Score processing method and image processing apparatus |
JP2009153067A (en) | 2007-12-21 | 2009-07-09 | Canon Inc | Image processing method and image processing apparatus |
JP2009151712A (en) | 2007-12-21 | 2009-07-09 | Canon Inc | Sheet music creation method and image processing system |
-
2000
- 2000-11-09 JP JP2000342030A patent/JP4419316B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2002144664A (en) | 2002-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU719368B2 (en) | Font sharing system and method, and recording medium storing program for executing font sharing method | |
JP4821529B2 (en) | Image display apparatus and program | |
US20060053370A1 (en) | Electronic album editing apparatus and control method therefor | |
JPH028339B2 (en) | ||
JP5152031B2 (en) | Image processing apparatus and computer program | |
US20070083811A1 (en) | Contents editor and method of editing contents using the same | |
JP4419316B2 (en) | Data output device and recording medium | |
JPS6019227A (en) | Document processing method | |
US20060204144A1 (en) | Image processing apparatus | |
JP2007267373A (en) | Data-generating apparatus and printing apparatus | |
JPH0438005B2 (en) | ||
JP3616506B2 (en) | Portable information terminal device, display screen control method, and recording medium | |
JPS6254363A (en) | Format layout display device | |
JP2006053872A (en) | Image transfer method | |
CN101421696B (en) | Method and apparatus for generating xhtml contents | |
JP2004291382A (en) | Printer | |
JP3854916B2 (en) | Printing control apparatus and method, printing control program, and storage medium | |
JP2005044138A (en) | Print preview system | |
JP2004192537A (en) | Document output device and document output program | |
JP3161744B2 (en) | Information processing device | |
JP2006135864A (en) | Electronic album editor, its control method, its program and storage medium storing the program in computer readable manner | |
JPS62229433A (en) | Document processor | |
JPH05108644A (en) | Character processor with post card printing function | |
JP4467832B2 (en) | Layout data creation method and system | |
JPH076167A (en) | Format setting method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040401 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080715 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080829 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090120 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090312 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090721 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090918 |
|
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: 20091110 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091123 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
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: 20121211 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131211 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |