JP2005267085A - Print control method and device - Google Patents
Print control method and device Download PDFInfo
- Publication number
- JP2005267085A JP2005267085A JP2004076895A JP2004076895A JP2005267085A JP 2005267085 A JP2005267085 A JP 2005267085A JP 2004076895 A JP2004076895 A JP 2004076895A JP 2004076895 A JP2004076895 A JP 2004076895A JP 2005267085 A JP2005267085 A JP 2005267085A
- Authority
- JP
- Japan
- Prior art keywords
- page
- sheet
- output
- document
- output data
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、印刷制御方法および装置に関し、特に、1枚の用紙に複数ページを割り付けて印刷する印刷制御方法および装置に関する。 The present invention relates to a printing control method and apparatus, and more particularly, to a printing control method and apparatus for allocating and printing a plurality of pages on one sheet.
プリンタや複写機においては、用紙の1面に複数のページを割り付けて印刷することが多く行われている。用紙の1面に複数のページを割り付けて印刷する技術としては、例えば、特許文献1に記載されたものがある。
In printers and copiers, printing is often performed by allocating a plurality of pages on one side of a sheet. As a technique for allocating and printing a plurality of pages on one side of a sheet, for example, there is a technique described in
このような技術を利用し、例えば、A3サイズの用紙の1面に2ページを割り付けて印刷し、その後、当該用紙を裁断することでA4サイズの文書を得ることで、印刷コストの低減を図ること等が行われている。
しかしながら、A3サイズの用紙の1面に2ページを割り付けて印刷した場合、当該用紙の裁断後に、人の手によるページの並び替えが必要とされることが多かった。例えば、5ページの文書を2部印刷する場合、プリンタの出力は、図30(a)に示すように、最初の1枚目が「1」ページと「2」ページが印刷され、以降、「3」ページと「4」ページ、「5」ページと「1」ページ、「2」ページと「3」ページ、「4」ページと「5」ページがそれぞれ印刷されることとなる。したがって、この用紙を裁断した結果は、図30(b)に示すように、「1」、「3」、「5」、「2」、「4」のページ順並んだもの(左ページ)と、「2」、「4」、「1」、「3」、「5」のページ順並んだもの(右ページ)になり、これらをページ順に並び替える必要が生じてくる。 However, when two pages are allocated and printed on one side of an A3 size sheet, it is often necessary to rearrange the pages manually after cutting the sheet. For example, when two copies of a five-page document are printed, the output of the printer is as shown in FIG. 30A, in which the first page is printed with a “1” page and a “2” page. The “3” page, the “4” page, the “5” page and the “1” page, the “2” page and the “3” page, and the “4” page and the “5” page are respectively printed. Therefore, as shown in FIG. 30 (b), the result of cutting this sheet is the one arranged in the page order of “1”, “3”, “5”, “2”, “4” (left page). , “2”, “4”, “1”, “3”, “5” are arranged in the page order (right page), and it becomes necessary to rearrange them in the page order.
そこで、本発明は、用紙の1面に複数ページを割り付けて印刷し、印刷した用紙を裁断して印刷文書を得る場合であっても、人の手によりページの並び替えを行う必要のない印刷結果を得ることのできる印刷制御方法および装置を提供することを目的とする。 Therefore, the present invention provides printing that does not require manual page reordering even when a plurality of pages are allocated and printed on one side of a sheet, and a printed document is obtained by cutting the printed sheet. An object of the present invention is to provide a printing control method and apparatus capable of obtaining a result.
上述した目的を達成するため、請求項1の発明は、用紙の1面に文書の複数ページを割り付けて印刷装置から出力させる印刷制御方法であって、文書のページ数と出力部数とを取得し、該取得したページ数と出力部数とに基づいて、用紙を出力順に重ねた用紙群をページに合わせて裁断し、該裁断した用紙群をさらに所定の順に重ねた際にページ順となるように、前記文書のページ順を並び替えることを特徴とする。
In order to achieve the above-described object, the invention of
また、請求項2の発明は、請求項1の発明において、前記文書がページ非独立型の出力データで提供された場合は、該出力データに指定された属性を無効にした後に前記並び替えを行い、該並び替えを行った出力データに対して新たに属性を付加することを特徴とする。
Further, in the invention of
また、請求項3の発明は、請求項2の発明において、前記出力データに対して、ページを定義するページ情報と、出力部数指定と、用紙指定とを属性として付加することを特徴とする。 According to a third aspect of the invention, in the second aspect of the invention, page information defining a page, output number designation, and paper designation are added as attributes to the output data.
また、請求項4の発明は、請求項1の発明において、前記文書に対して両面印刷が指定された際に、該文書のページ数が奇数であった場合には、該文書の最後に白紙ページを追加した後に、前記並び替えを行うことを特徴とする。 According to a fourth aspect of the present invention, in the first aspect of the invention, when double-sided printing is designated for the document and the number of pages of the document is an odd number, a blank page is added at the end of the document. The rearrangement is performed after adding a page.
また、請求項5の発明は、請求項1の発明において、用紙の1面に対する2ページの割り付けを行う場合に、前記文書に対して両面印刷が指定された際は、該文書の総出力ページ数が奇数であれば、最後の用紙を面積が半分の用紙に変更し、変更した用紙の1面に1ページの割り付けを行うことを特徴とする。 According to a fifth aspect of the present invention, in the first aspect of the invention, when two pages are allocated to one side of a sheet, when double-sided printing is designated for the document, the total output page of the document If the number is an odd number, the last sheet is changed to a sheet having a half area, and one page is allocated to one side of the changed sheet.
また、請求項6の発明は、請求項1の発明において、用紙の1面に対する2ページの割り付けを行う場合に、前記文書に対して片面印刷が指定された際は、該文書のページ数が奇数であれば、最後の用紙を面積が半分の用紙に変更し、変更した用紙の1面に1ページの割り付けを行うことを特徴とする。
Further, in the invention of
また、請求項7の発明は、ページ非独立型の出力データで提供される文書のページ順を並び替えて印刷装置から出力させる印刷制御方法であって、出力データに指定された属性を無効にした後に、該出力データのページ順の並び替えを行い、該並び替えを行った出力データに対して新たに属性を付加することを特徴とする。 According to a seventh aspect of the present invention, there is provided a print control method for rearranging the page order of a document provided as non-page-independent output data and outputting it from a printing apparatus, wherein an attribute specified in the output data is invalidated. After that, the output data is rearranged in the page order, and an attribute is newly added to the output data after the rearrangement.
また、請求項8の発明は、請求項7の発明において、前記出力データに対して、ページを定義するページ情報と、出力部数指定と、用紙指定とを属性として付加することを特徴とする。
The invention of
また、請求項9の発明は、用紙の1面に文書の複数ページを割り付けて印刷装置から出力させる印刷制御装置であって、文書のページ数と出力部数とを取得する属性情報取得手段と、前記属性情報取得手段が取得したページ数と出力部数とに基づいて、用紙を出力順に重ねた用紙群をページに合わせて裁断し、該裁断した用紙群をさらに所定の順に重ねた際にページ順となるように、前記文書のページ順を並び替えるデータ編集手段とを具備することを特徴とする。
Further, the invention of
また、請求項10の発明は、請求項9の発明において、前記データ編集手段は、前記文書がページ非独立型の出力データで提供された場合に、該出力データに指定された属性を無効にする属性無効化手段と、前記並び替えを行った出力データに対して新たに属性を付加する属性付加手段とを具備することを特徴とする。
The invention according to
また、請求項11の発明は、請求項10の発明において、前記属性付加手段は、前記出力データに対して、ページを定義するページ情報と、出力部数指定と、用紙指定とを属性として付加することを特徴とする。
The invention according to
また、請求項12の発明は、請求項9の発明において、前記データ編集手段は、前記文書に対して両面印刷が指定された際に、該文書のページ数が奇数であった場合には、該文書の最後に白紙ページを追加した後に、前記並び替えを行うことを特徴とする。
The invention according to
また、請求項13の発明は、請求項9の発明において、前記データ編集手段は、用紙の1面に対する2ページの割り付けを行う場合に、前記文書に対して両面印刷が指定された際は、該文書の総出力ページ数が奇数であれば、最後の用紙を面積が半分の用紙に変更し、変更した用紙の1面に1ページの割り付けを行うことを特徴とする。
The invention according to
また、請求項14の発明は、請求項9の発明において、前記データ編集手段は、用紙の1面に対する2ページの割り付けを行う場合に、前記文書に対して片面印刷が指定された際は、該文書のページ数が奇数であれば、最後の用紙を面積が半分の用紙に変更し、変更した用紙の1面に1ページの割り付けを行うことを特徴とする。
The invention according to
また、請求項15の発明は、ページ非独立型の出力データで提供される文書のページ順を並び替えて印刷装置から出力させる印刷制御装置であって、出力データに指定された属性を無効にする属性無効化手段と、前記属性無効か手段が属性を無効化した出力データのページ順の並び替えを行うページ順編集手段と、前記ページ順編集手段が並び替えを行った出力データに対して新たに属性を付加する属性付加手段とを具備することを特徴とする。 According to a fifteenth aspect of the present invention, there is provided a print control apparatus for rearranging the page order of a document provided as non-page-independent output data and outputting the result from the printing apparatus, wherein the attribute specified in the output data is invalidated. Attribute order invalidating means, page order editing means for rearranging the page order of the output data whose attribute has been invalidated by the attribute invalidity means, and output data for which the page order editing means has been rearranged And an attribute adding means for newly adding an attribute.
また、請求項16の発明は、請求項15の発明において、前記属性付加手段は、前記出力データに対して、ページを定義するページ情報と、出力部数指定と、用紙指定とを属性として付加することを特徴とする。
The invention according to
本発明によれば、文書のページ数と出力部数とを取得し、取得したページ数と出力部数とに基づいて、用紙を出力順に重ねた用紙群をページに合わせて裁断し、該裁断した用紙群をさらに所定の順に重ねた際にページ順となるように文書のページ順を並び替えるように構成したので、用紙の1面に複数ページを割り付けて印刷し、印刷した用紙を裁断して印刷文書を得る場合であっても、人の手によりページの並び替えを行う必要がない。 According to the present invention, the number of pages and the number of output copies of a document are acquired, and based on the acquired number of pages and the number of output copies, a sheet group in which sheets are stacked in the output order is cut according to a page, and the cut sheet is cut. Since the page order of the document is rearranged so that the page order is rearranged when the groups are further stacked in a predetermined order, multiple pages are allocated on one side of the paper and printed, and the printed paper is cut and printed Even when a document is obtained, it is not necessary to rearrange the pages manually.
以下、本発明に係る印刷制御方法および装置の一実施の形態について、添付図面を参照して、詳細に説明する。 Hereinafter, an embodiment of a printing control method and apparatus according to the present invention will be described in detail with reference to the accompanying drawings.
図1は、本発明を適用した印刷制御装置の機能的な構成を示すブロック図である。同図に示すように、印刷制御装置1は、ジョブ受信部11とフォーマット判定部12、属性取得部13、ページ数取得部14、ページ独立データ加工部15、ページ非独立データ加工部16、属性無効化部17、属性埋込部18、ジョブ転送部19を具備して構成される。なお、印刷制御装置1は、各機能を実現するプログラムに基づいてコンピュータを動作させたプリントサーバとして構成することもできる。
FIG. 1 is a block diagram showing a functional configuration of a print control apparatus to which the present invention is applied. As shown in the figure, the
ジョブ受信部11は、スキャナ2で原稿を読み取ることで得られた画像データを含む印刷ジョブやPC3でアプリケーションソフトウェアとプリンタドライバにより生成された印刷ジョブ等を受信する。また、ジョブ受信部11は、受信したジョブに含まれる出力データのフォーマットをフォーマット判定部12に判定させ、出力データがページ独立型のものであれば、当該ジョブをページ独立データ加工部15へ渡し、出力データがページ非独立型のものであれば、当該ジョブをページ非独立データ加工部16へ渡す。
The
フォーマット判定部12は、ジョブ受信部11が受信したジョブに含まれる出力データのフォーマットを判定する。フォーマットの判定では、該当する出力データが印刷制御装置1で扱えるものであるか否かを判定することはもちろんのこと、該当する出力データがページ独立型であるかページ非独立型であるかの判定も行う。
The
属性取得部13は、ジョブ受信部11が受信したジョブから、その属性を取得する。取得する属性は、片面/両面の指定、出力部数指定、出力用紙指定、ページ数等である。
The
ページ数取得部14は、ジョブ受信部11が受信したジョブにページ数を示す属性が含まれていなかった場合に、当該ジョブに含まれる出力データをインタプリタ等で言語解釈することにより、そのページ数を取得する。
When the job received by the
ページ独立データ加工部15は、ジョブ受信部11から渡されたジョブに含まれるページ独立型の出力データに対し、ページの並び替えや複製等を行うことにより、当該出力データを編集する。なお、出力データの編集については、後述する。
The page independent
ページ非独立データ加工部16は、ジョブ受信部11から渡されたジョブに含まれるページ非独立型の出力データに対し、ページの並び替えや複製、コマンドの追加等を行うことにより、当該出力データの編集と加工を行う。なお、出力データの編集や加工方法については、後述する。
The page non-independent
属性無効化部17は、ページ独立データ加工部15やページ非独立データ加工部16に渡されたジョブの属性のうち、出力部数指定や出力用紙指定等を無効化する。
The
属性埋込部18は、ページ独立データ加工部15やページ非独立データ加工部16で出力データが加工されたジョブに、出力部数指定や出力用紙指定等の新たな属性を埋め込む。
The
ジョブ転送部19は、ページ独立データ加工部15やページ非独立データ加工部16で加工された出力データを含むジョブを、プリンタやFAX等の出力デバイス4に転送する。
The
ここで、ページ独立データ加工部15やページ非独立データ加工部16による出力データの編集処理について説明する。図2は、出力データの編集処理の流れを示すフローチャートである。なお、ここで説明する編集処理は、A4用紙への両面出力が指定された出力データをA3用紙へ両面出力する場合の例である。
Here, output data editing processing by the page independent
ページ独立データ加工部15若しくはページ非独立データ加工部16は、出力データの編集に際して、まず、属性取得部31から出力データのページ数pを取得する(ステップ101)。ここで、取得したページ数pが奇数であった場合には(ステップ102でYES)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、出力データの最終ページに白紙ページを追加する(ステップ103)。このとき、ページ独立データ加工部15若しくはページ非独立データ加工部16は、ページ数pの値を1だけ増加させて、白紙ページを含む値に変更する。
When editing the output data, the page independent
続いて、ページ独立データ加工部15若しくはページ非独立データ加工部16は、属性取得部31から出力部数指定を取得し(ステップ104)、取得した部数Nをページ数pの値に乗じて、出力する総ページ数Pを算出する(ステップ105)。そして、総ページ数Pを2で除した値、P/2が偶数であった場合には(ステップ106でYES)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、後述する並び替え処理Aを実行し(ステップ107)、P/2が奇数であった場合には(ステップ106でNO)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、後述する並び替え処理Bを実行して(ステップ108)、編集処理を終了する。
Subsequently, the page independent
次に、ステップ107で実行する並び替え処理Aについて説明する。図3は、並び替え処理Aを説明するための図である。
Next, the rearrangement process A executed in
並び替え処理Aでは、総ページ数Pに基づいてページの並び替えを行い、1枚目のA3用紙の表の左側に「1」ページ、右側に「P/2+1」ページを配し、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「P/2+2」ページを配する。同様に、2枚目のA3用紙の表の左側に「3」ページ、右側に「P/2+3」ページを配し、その用紙の裏の左側(「3」ページの裏側)に「4」ページ、右側に「P/2+4」ページを配する。そして、最後の用紙となるP/4枚目のA3用紙の表の左側に「P/2−1」ページ、右側に「P−1」ページを配し、その用紙の裏の左側(「P/2−1」ページの裏側)に「P/2」ページ、右側に「P」ページを配する。 In the rearrangement process A, the pages are rearranged based on the total number of pages P, the “1” page is arranged on the left side of the table of the first A3 sheet, and the “P / 2 + 1” page is arranged on the right side. The “2” page is arranged on the left side (the back side of the “1” page) and the “P / 2 + 2” page is arranged on the right side. Similarly, place the “3” page on the left side of the front of the second A3 sheet, the “P / 2 + 3” page on the right side, and the “4” page on the left side of the sheet (the back side of the “3” page). The “P / 2 + 4” page is arranged on the right side. Then, the “P / 2-1” page is arranged on the left side of the front of the P / 4th A3 sheet, which is the last sheet, and the “P-1” page is arranged on the right side. The “P / 2” page is arranged on the back side of the “/ 2-1” page, and the “P” page is arranged on the right side.
この並び替え処理Aを具体的な事例で説明すると、例えば、A4用紙への両面出力が指定された3ページの文書を3部出力する場合は、図4に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、1枚目のA3用紙の表の左側に「1」ページ、右側に総ページで7ページ目となる「3」ページが配され、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に総ページで8ページ目となる白紙ページが配される。そして、2枚目のA3用紙の表の左側に「3」ページ、右側に総ページで9ページ目となる「1」ページが配され、その用紙の裏の左側(「3」ページの裏側)に総ページで4ページ目となる白紙ページ、右側に総ページで10ページ目となる「2」ページが配される。また、最後の用紙となる3枚目のA3用紙の表の左側に総ページで5ページ目となる「1」ページ、右側に総ページで11ページ目となる「3」ページが配され、その用紙の裏の左側(「1」ページの裏側)に総ページで6ページ目となる「2」ページ、右側に総ページで12ページ目となる白紙ページが配される。 The rearrangement process A will be described with a specific example. For example, when outputting three copies of a three-page document in which double-sided output to A4 paper is specified, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the figure, a “1” page is arranged on the left side of the front of the first A3 sheet, and a “3” page, which is the seventh page in total pages, is arranged on the right side. A “2” page is arranged on the back side of the “1” page, and a blank page which is the eighth page in total is arranged on the right side. Then, the “3” page is arranged on the left side of the front of the second A3 sheet, and the “1” page which is the ninth page on the right side is arranged on the right side, and the left side of the sheet (the back side of the “3” page) A blank page, which is the fourth page of the total pages, and a “2” page, which is the tenth page of the total pages, are arranged on the right side. Also, on the left side of the table of the third A3 sheet, which is the last sheet, there is a “1” page which is the fifth page in total pages, and a “3” page which is the 11th page in total pages on the right side. On the left side of the paper (the back side of the “1” page), a “2” page, which is the sixth page in total pages, and a blank page, which is the 12th page in total pages, are arranged on the right side.
続いて、ステップ108で実行する並び替え処理Bについて説明する。図5は、並び替え処理Bを説明するための図である。
Subsequently, the rearrangement process B executed in
並び替え処理Bでは、総ページ数Pに基づいてページの並び替えを行い、1枚目のA3用紙の表の左側に「1」ページ、右側に「P/2+2」ページを配し、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「P/2+3」ページを配する。また、(P−2)/4枚目のA3用紙の表の左側に「P/2−2」ページ、右側に「P−1」ページを配し、その用紙の裏の左側(「P/2−2」ページの裏側)に「P/2−1」ページ、右側に「P」ページを配する。そして、最後の用紙となる(P+2)/4枚目の用紙は、A4用紙となり、その表に「P/2」ページを配し、その用紙の裏に「P/2+1」ページを配する。 In the rearrangement process B, the pages are rearranged based on the total number of pages P, the “1” page is arranged on the left side of the table of the first A3 sheet, and the “P / 2 + 2” page is arranged on the right side. The “2” page is arranged on the left side (the back side of the “1” page) and the “P / 2 + 3” page is arranged on the right side. In addition, the “P / 2-2” page is arranged on the left side of the front of the (P-2) / 4th A3 sheet, the “P-1” page is arranged on the right side, and the left side (“P / The “P / 2-1” page is arranged on the back side of the “2-2” page, and the “P” page is arranged on the right side. The last (P + 2) / 4th sheet, which is the last sheet, is an A4 sheet, with the “P / 2” page on the front and the “P / 2 + 1” page on the back of the sheet.
この並び替え処理Bを具体的な事例で説明すると、例えば、A4用紙への両面出力が指定された6ページの文書を1部出力する場合は、図6に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、1枚目のA3用紙の表の左側に「1」ページ、右側に「5」ページが配され、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「5」ページが配される。そして、最後の用紙となる2枚目のA4用紙の表に「3」ページ、その用紙の裏に「4」ページが配される。 This rearrangement process B will be described using a specific example. For example, when outputting one copy of a 6-page document in which double-sided output to A4 paper is specified, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the figure, the “1” page is arranged on the left side of the front of the first A3 sheet, the “5” page is arranged on the right side, and the left side of the sheet (the back side of the “1” page) “ “2” page and “5” page on the right side. Then, the “3” page is arranged on the front of the second A4 sheet as the last sheet, and the “4” page is arranged on the back of the sheet.
次に、ページ非独立データ加工部16による出力データの加工方法について説明する。図7は、出力データの加工処理の流れを示すフローチャートであり、図8は、出力データの加工処理を説明するための例である。
Next, a method of processing output data by the page non-independent
ここでは、ジョブ受信部11からページ非独立データ加工部16に、図8(a)に示すような出力データが渡されたとする。この出力データは、属性である用紙指定251と部数指定252、各ページの内容を示すページ内容252、ページ内容253、ページ内容254、ページ内容255、ページ内容256、ページ内容257で構成される。
Here, it is assumed that output data as shown in FIG. 8A is passed from the
ページ非独立データ加工部16は、出力データの加工処理では、まず、出力データから属性を削除する(ステップ201)。図8(a)に示した出力データの場合には、用紙指定251と部数指定252が削除され、図8(b)に示すような出力データとなる。
In the output data processing, the page non-independent
続いて、ページ非独立データ加工部16は、上述したように出力データに白紙ページを追加する必要があれば(ステップ202でYES)、白紙ページのデータを追加する(ステップ203)。これにより、出力データは、図8(c)に示すように、白紙ページ258が追加された状態となる。
Subsequently, if it is necessary to add a blank page to the output data as described above (YES in step 202), the page non-independent
次に、ページ非独立データ加工部16は、上述した要領でページの並び替えを行う(ステップ204)。これにより、出力データは、図8(d)に示すように、各ページ内容が並び替えられた状態となる。
Next, the page non-independent
次に、ページ非独立データ加工部16は、出力用紙のページ毎に、ページ情報を挿入する(ステップ205)。これにより、出力データは、図8(e)に示すように、1枚目の用紙(A3)の表となるページの先頭にページ情報259が、1枚目の用紙(A3)の裏となるページの先頭にページ情報260が、2枚目の用紙(A4)の表となるページの先頭にページ情報261が、2枚目の用紙(A4)の裏となるページの先頭にページ情報262が、挿入された状態となる。
Next, the page non-independent
続いて、ページ非独立データ加工部16は、出力データに、必要な属性を埋め込み(ステップ206)、処理を終了する。このとき、出力データは、図8(f)に示すように、A3用紙を指定する用紙指定263と、1部の出力を指定する部数指定264、A4用紙を指定する用紙指定264が埋め込まれた状態となる。
Subsequently, the page non-independent
ここで、出力データに埋め込むページ情報の具体例を説明する。ここでは、出力データがPostScript言語の場合を例にして説明する。 Here, a specific example of page information embedded in output data will be described. Here, the case where the output data is PostScript language will be described as an example.
出力データがPostScript言語の場合、以下に示すヘッダをページ情報として埋め込むことで、上述したような加工処理を行うことができる。 When the output data is PostScript language, the processing described above can be performed by embedding the following header as page information.
そのヘッダは、
/page 0 def %ページを保持する変数の宣言
/printPageNumber1 1 def %印刷するページ番号を宣言
/printPageNumber2 10 def %印刷するページ番号を宣言
/printPage /showpage load def % showpageコマンド(ページの出力命令)を保存
/showpage { % showpageコマンドの置き換え
/page page 1 add def % ページ数のインクリメント
page printPageNumber1 eq { % ページ数が一致した場合出力
printPage % 実際のshowpageコマンドを実行
} if
page printPageNumber2 eq {
420 0 translate % 座標の移動
printPage
} if
} def
のようなものとなる。なお、ここに示したヘッダの各行における「%」以降の記述は、その意味を説明するためのコメント文である。
Its header is
/ page 0 def% Declaration of variable holding page
/
/
/ printPage / showpage load def% Save showpage command (page output command)
/ showpage {% Replace showpage command
/
page printPageNumber1 eq {% Output if page number matches
printPage% Run the actual showpage command
} if
page printPageNumber2 eq {
420 0 translate% Move coordinates
printPage
} if
} def
It will be something like this. Note that the description after “%” in each line of the header shown here is a comment sentence for explaining the meaning.
このヘッダは、ページの出力命令である「% showpage」コマンドを別のコマンドに置き換えることで無効化し、置き換えたコマンドにより、ページの出力や座標の移動等を指示したものである。 This header is invalidated by replacing the “% showpage” command, which is a page output command, with another command, and the output of the page, the movement of coordinates, and the like are instructed by the replaced command.
なお、他のフォーマットの出力データに埋め込むページ情報は、そのフォーマットによって異なるものであるが、独立型の出力データと同様に、ページの操作を行うようにすることができるものである。 The page information to be embedded in the output data of other formats varies depending on the format, but the page operation can be performed in the same manner as the independent output data.
次に、実施例2について説明する。実施例2は、実施例1の構成と出力データの編集処理が異なるのみであるので、ここでは、ページ独立データ加工部15やページ非独立データ加工部16による出力データの編集処理についてのみ説明を行う。
Next, Example 2 will be described. Since the second embodiment is different from the first embodiment only in the output data editing process, only the output data editing process by the page independent
図9は、出力データの編集処理の流れを示すフローチャートである。なお、ここで説明する編集処理は、A4用紙への両面出力が指定された出力データをA3用紙へ両面出力する場合の例である。 FIG. 9 is a flowchart showing a flow of output data editing processing. Note that the editing process described here is an example in the case where the output data designated for duplex output to A4 paper is output to A3 paper on both sides.
ページ独立データ加工部15若しくはページ非独立データ加工部16は、出力データの編集に際して、まず、属性取得部31から出力データのページ数pを取得する(ステップ301)。ここで、取得したページ数pが奇数であった場合には(ステップ302でYES)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、出力データの最終ページに白紙ページを追加する(ステップ303)。このとき、ページ独立データ加工部15若しくはページ非独立データ加工部16は、ページ数pの値を1だけ増加させて、白紙ページを含む値に変更する。
When editing the output data, the page independent
続いて、ページ独立データ加工部15若しくはページ非独立データ加工部16は、属性取得部31から出力部数指定を取得し(ステップ304)、取得した部数Nの値が偶数であった場合には(ステップ305でYES)、後述する並び替え処理Cを実行して(ステップ306)、編集処理を終了する。
Subsequently, the page independent
一方、取得した部数の値が奇数であった場合には(ステップ305でNO)、ページ数pを2で除した値、p/2が偶数であれば(ステップ307でYES)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、後述する並び替え処理Dを実行し(ステップ308)、p/2が奇数であれば(ステップ306でNO)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、後述する並び替え処理Eを実行して(ステップ309)、編集処理を終了する。
On the other hand, if the acquired number of copies is an odd number (NO in step 305), the value obtained by dividing the page number p by 2 and if p / 2 is an even number (YES in step 307), the page independent data The
次に、ステップ306で実行する並び替え処理Cについて説明する。図10は、並び替え処理Cを説明するための図である。
Next, the rearrangement process C executed in
並び替え処理Cでは、出力データのページ数pに基づいてページの並び替えを行い、1枚目のA3用紙の表の左側と右側に「1」ページを配し、その用紙の裏の左側と右側に「2」ページを配する。同様に、3枚目のA3用紙の表の左側と右側に「3」ページを配し、その用紙の裏の左側と右側に「4」ページを配する。そして、最後の用紙となるp/2枚目のA3用紙の表の左側と右側に「p−1」ページを配し、その用紙の裏の左側と右側に「p」ページを配する。 In the rearrangement process C, pages are rearranged based on the page number p of the output data, “1” pages are arranged on the left and right sides of the front of the first A3 sheet, Place the “2” page on the right. Similarly, “3” pages are arranged on the left and right sides of the front of the third A3 sheet, and “4” pages are arranged on the left and right sides of the back side of the sheet. Then, “p−1” pages are arranged on the left and right sides of the front of the p / 2 second A3 sheet, which is the last sheet, and “p” pages are arranged on the left and right sides of the back of the sheet.
この編集後の出力データは、2部分の出力データであるため、編集前のジョブで指定された出力部数の1/2を、編集後の出力データの出力部数とすることで、指定通りの出力部数が出力されることとなる。 Since the output data after editing is two-part output data, the output as specified is obtained by setting 1/2 of the number of output copies specified in the job before editing as the number of output copies of the output data after editing. The number of copies will be output.
この並び替え処理Cを具体的な事例で説明すると、例えば、A4用紙への両面出力が指定された3ページの文書を4部出力する場合は、図11に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、1枚目のA3用紙の表の左側と右側の両者に「1」ページが配され、その用紙の裏の左側と右側の両者に「2」ページが配される。そして、2枚目のA3用紙の表の左側と右側の両者に「3」ページが配され、その用紙の裏の左側と右側の両者に白紙ページが配される。 This rearrangement process C will be described using a specific example. For example, when four copies of a three-page document designated to be output on both sides of A4 paper are output, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the drawing, “1” pages are arranged on both the left and right sides of the front of the first A3 sheet, and “2” pages are arranged on both the left and right sides of the back of the sheet. . Then, “3” pages are arranged on both the left and right sides of the front of the second A3 sheet, and blank pages are arranged on both the left and right sides of the back of the sheet.
そして、このA3用紙2枚分の出力データを出力部数を2部に指定したジョブとして出力デバイス4に転送することで、3枚目と4枚目がそれぞれ1枚目と2枚目と同様に出力されることとなる。
Then, the output data for the two A3 sheets is transferred to the
次に、ステップ308で実行する並び替え処理Dについて説明する。図12は、並び替え処理Dを説明するための図である。
Next, the rearrangement process D executed in
並び替え処理Dでは、出力データのページ数pに基づいてページの並び替えを行い、2通りの出力データを作成する。そして、出力部数としてN部が指定されていれば、1つの出力データに基づく出力を(N−1)/2部、もう1つの出力データに基づく出力を1部とすることで、指定された出力部数での出力を行うことができる。 In the rearrangement process D, pages are rearranged based on the page number p of the output data, and two types of output data are created. If N copies are specified as the number of output copies, the output based on one output data is (N-1) / 2 copies, and the output based on the other output data is 1 copy. Output in the number of output copies can be performed.
(N−1)/2部だけ出力する出力データは、図12(a)に示すように、1枚目のA3用紙の表の左側に「1」ページ、右側に「p/2+1」ページを配し、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「p/2+2」ページを配する。同様に、2枚目のA3用紙の表の左側に「3」ページ、右側に「p/2+3」ページを配し、その用紙の裏の左側(「3」ページの裏側)に「4」ページ、右側に「p/2+4」ページを配する。そして、最後の用紙となるp/2枚目のA3用紙の表の左側に「p−1」ページ、右側に「p/2+1」ページを配し、その用紙の裏の左側(「p−1」ページの裏側)に「p」ページ、右側に「p/2」ページを配する。 As shown in FIG. 12 (a), the output data for outputting only (N-1) / 2 copies includes the “1” page on the left side and the “p / 2 + 1” page on the right side of the first A3 sheet. The “2” page is arranged on the left side of the sheet (the back side of the “1” page), and the “p / 2 + 2” page is arranged on the right side. Similarly, place the “3” page on the left side of the front of the second A3 sheet, the “p / 2 + 3” page on the right side, and the “4” page on the left side of the sheet (the back side of the “3” page). The “p / 2 + 4” page is arranged on the right side. Then, the “p−1” page is arranged on the left side of the table of the p / 2 second A3 sheet as the last sheet, the “p / 2 + 1” page is arranged on the right side, and the left side (“p−1”) of the back side of the sheet. The “p” page is arranged on the back side of the “page”, and the “p / 2” page is arranged on the right side.
また、1部だけ出力する出力データは、図12(b)に示すように、1枚目のA3用紙の表の左側に「1」ページ、右側に「p/2+1」ページを配し、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「p/2+2」ページを配する。同様に、2枚目のA3用紙の表の左側に「3」ページ、右側に「p/2+3」ページを配し、その用紙の裏の左側(「3」ページの裏側)に「4」ページ、右側に「p/2+4」ページを配する。そして、最後の用紙となるp/4枚目のA3用紙の表の左側に「p/2−1」ページ、右側に「p−1」ページを配し、その用紙の裏の左側(「p/2−1」ページの裏側)に「p/2」ページ、右側に「p」ページを配する。 Further, as shown in FIG. 12B, the output data to be output by only one copy includes a “1” page on the left side and a “p / 2 + 1” page on the right side of the front of the first A3 sheet. The “2” page is arranged on the left side of the paper (the back side of the “1” page), and the “p / 2 + 2” page is arranged on the right side. Similarly, place the “3” page on the left side of the front of the second A3 sheet, the “p / 2 + 3” page on the right side, and the “4” page on the left side of the sheet (the back side of the “3” page). The “p / 2 + 4” page is arranged on the right side. Then, the “p / 2-1” page is arranged on the left side of the table of the p / 4th A3 sheet as the last sheet, and the “p-1” page is arranged on the right side, and the left side (“p” The “p / 2” page is arranged on the back side of the “/ 2-1” page, and the “p” page is arranged on the right side.
なお、1部だけ出力する出力データは、p/4枚目までのものであるが、これは、(N−1)/2部だけ出力する出力データの1枚目からp/4枚目までのものと同様のページ順に並べられたものである。 The output data that outputs only one copy is up to the p / 4th sheet, but this is from the first sheet of output data that outputs only (N-1) / 2 copies to the p / 4th sheet. Are arranged in the same page order as
この並び替え処理Dを具体的な事例で説明すると、例えば、A4用紙への両面出力が指定された8ページの文書を5部出力する場合は、図13に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、(N−1)/2部だけ出力する出力データ、つまり、2部(N=5)だけ出力する出力データに基づいて、1枚目から4枚目と5枚目から8枚目が出力され、1部だけ出力する出力データに基づいて、9枚目と10枚目が出力されることとなる。 This rearrangement process D will be described with a specific example. For example, when outputting five copies of an 8-page document in which double-sided output to A4 paper is specified, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the figure, based on output data that outputs only (N-1) / 2 copies, that is, output data that outputs only 2 copies (N = 5), the first to fourth and fifth sheets. The eighth and eighth sheets are output from the first, and the ninth and tenth sheets are output based on the output data that outputs only one copy.
同図に示した例では、1枚目のA3用紙の表の左側に「1」ページ、右側に「5」ページが配され、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「6」ページが配される。2枚目のA3用紙の表の左側に「3」ページ、右側に「7」ページが配され、その用紙の裏の左側(「3」ページの裏側)に「4」ページ、右側に「8」ページが配される。3枚目のA3用紙の表の左側に「5」ページ、右側に「1」ページが配され、その用紙の裏の左側(「5」ページの裏側)に「6」ページ、右側に「2」ページが配される。そして、出力データの最後となる4枚目のA3用紙の表の左側に「7」ページ、右側に「3」ページが配され、その用紙の裏の左側(「7」ページの裏側)に「8」ページ、右側に「4」ページが配される。また、5枚目から8枚目は、それぞれ、1枚目から4枚目と同様にページが配される。 In the example shown in the figure, the “1” page is arranged on the left side of the front of the first A3 sheet, the “5” page is arranged on the right side, and the left side of the sheet (the back side of the “1” page) “ “2” page and “6” page on the right side. The “3” page is arranged on the left side of the front of the second A3 sheet, the “7” page is arranged on the right side, the “4” page is arranged on the left side of the sheet (the back side of the “3” page), and “8” is arranged on the right side. Page. “5” page is arranged on the left side of the front of the third A3 sheet, “1” page is arranged on the right side, “6” page on the left side of the sheet (the back side of “5” page), and “2” on the right side. Page. Then, the “7” page is arranged on the left side of the front of the fourth sheet of A3 paper that is the last of the output data, the “3” page is arranged on the right side, and the left side of the paper (the back side of the “7” page) The “8” page and the “4” page are arranged on the right side. Also, pages from the 5th sheet to the 8th sheet are arranged similarly to the 1st sheet to the 4th sheet.
また、9枚目のA3用紙の表の左側に「1」ページ、右側に「5」ページが配され、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「6」ページが配される。そして、最後となる10枚目のA3用紙の表の左側に「3」ページ、右側に「7」ページが配され、その用紙の裏の左側(「3」ページの裏側)に「4」ページ、右側に「8」ページが配される。 In addition, the “1” page is arranged on the left side of the front of the ninth A3 sheet, the “5” page is arranged on the right side, the “2” page on the left side of the sheet (the back side of the “1” page), and the right side. A “6” page is arranged. And the “3” page is arranged on the left side of the front of the 10th A3 paper sheet, the “7” page is arranged on the right side, and the “4” page is on the left side of the paper (the back side of the “3” page). The “8” page is arranged on the right side.
次に、ステップ309で実行する並び替え処理Eについて説明する。図14は、並び替え処理Eを説明するための図である。
Next, the rearrangement process E executed in
並び替え処理Eでは、出力データのページ数pに基づいてページの並び替えを行い、2通りの出力データを作成する。そして、出力部数としてN部が指定されていれば、1つの出力データに基づく出力を(N−1)/2部、もう1つの出力データに基づく出力を1部とすることで、指定された出力部数での出力を行うことができる。 In the rearrangement process E, pages are rearranged based on the page number p of the output data, and two kinds of output data are created. If N copies are specified as the number of output copies, the output based on one output data is (N-1) / 2 copies, and the output based on the other output data is 1 copy. Output in the number of output copies can be performed.
(N−1)/2部だけ出力する出力データは、図14(a)に示すように、1枚目のA3用紙の表の左側に「1」ページ、右側に「p/2+2」ページを配し、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「p/2+3」ページを配する。同様に、2枚目のA3用紙の表の左側に「3」ページ、右側に「p/2+4」ページを配し、その用紙の裏の左側(「3」ページの裏側)に「4」ページ、右側に「p/2+5」ページを配する。そして、最後の用紙となるp/2枚目のA3用紙の表の左側に「p−1」ページ、右側に「p/2」ページを配し、その用紙の裏の左側(「p−1」ページの裏側)に「p」ページ、右側に「p/2+1」ページを配する。 As shown in FIG. 14A, the output data to be output only in (N-1) / 2 copies includes the “1” page on the left side and the “p / 2 + 2” page on the right side of the first A3 sheet. The “2” page is arranged on the left side of the paper (the back side of the “1” page), and the “p / 2 + 3” page is arranged on the right side. Similarly, place the “3” page on the left side of the front of the second A3 sheet, the “p / 2 + 4” page on the right side, and the “4” page on the left side of the sheet (the back side of the “3” page). The “p / 2 + 5” page is arranged on the right side. Then, the “p−1” page is arranged on the left side of the front of the p / 2 second A3 sheet as the last sheet, and the “p / 2” page is arranged on the right side. The “p” page is arranged on the back side of the “page”, and the “p / 2 + 1” page is arranged on the right side.
また、1部だけ出力する出力データは、図12(b)に示すように、1枚目のA3用紙の表の左側に「1」ページ、右側に「p/2+2」ページを配し、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「p/2+3」ページを配する。そして、最後の用紙の1枚前の用紙となる((p+2)/4−1)枚目のA3用紙の表の左側に「p/2−2」ページ、右側に「p−1」ページを配し、その用紙の裏の左側(「p/2−2」ページの裏側)に「p/2−1」ページ、右側に「p」ページを配する。そして、最後の用紙となる(p+2)/4枚目のA4用紙の表に「p/2」ページを配し、その用紙の裏に「p/2+1」ページを配する。 Further, as shown in FIG. 12B, the output data to be output by only one copy is arranged with a “1” page on the left side and a “p / 2 + 2” page on the right side of the first A3 sheet. The “2” page is arranged on the left side of the paper (the back side of the “1” page), and the “p / 2 + 3” page is arranged on the right side. Then, the “(p + 2) / 4-1” A3 sheet, which is the previous sheet of the last sheet, has the “p / 2-2” page on the left side and the “p-1” page on the right side. The “p / 2-1” page is placed on the left side of the paper (the back side of the “p / 2-2” page), and the “p” page is placed on the right side. Then, the “p / 2” page is arranged on the front of the last (p + 2) / 4th A4 sheet, and the “p / 2 + 1” page is arranged on the back of the sheet.
なお、1部だけ出力する出力データは、(p+2)/4枚目までのものであるが、これは、(N−1)/2部だけ出力する出力データの1枚目から(p+2)/4枚目までのものと同様のページ順に並べられたものである。 Note that the output data to be output for only one copy is up to (p + 2) / 4th sheet, but this is from the first sheet of output data to be output only for (N-1) / 2 copies. They are arranged in the same page order as those up to the fourth page.
この並び替え処理Eを具体的な事例で説明すると、例えば、A4用紙への両面出力が指定された6ページの文書を5部出力する場合は、図15に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、(N−1)/2部だけ出力する出力データ、つまり、2部(N=5)だけ出力する出力データに基づいて、1枚目から3枚目と4枚目から6枚目が出力され、1部だけ出力する出力データに基づいて、7枚目と8枚目が出力されることとなる。 This rearrangement process E will be described with a specific example. For example, when five copies of a six-page document designated to be printed on both sides of A4 paper are output, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the figure, based on output data that outputs only (N-1) / 2 copies, that is, output data that outputs only 2 copies (N = 5), the first to third and fourth sheets. The sixth sheet from the first is output, and the seventh and eighth sheets are output based on the output data that outputs only one copy.
同図に示した例では、1枚目のA3用紙の表の左側に「1」ページ、右側に「5」ページが配され、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「6」ページが配される。2枚目のA3用紙の表の左側に「3」ページ、右側に「1」ページが配され、その用紙の裏の左側(「3」ページの裏側)に「4」ページ、右側に「2」ページが配される。そして、出力データの最後となる3枚目のA3用紙の表の左側に「5」ページ、右側に「3」ページが配され、その用紙の裏の左側(「5」ページの裏側)に「6」ページ、右側に「4」ページが配される。また、4枚目から6枚目は、それぞれ、1枚目から3枚目と同様にページが配される。 In the example shown in the figure, the “1” page is arranged on the left side of the front of the first A3 sheet, the “5” page is arranged on the right side, and the left side of the sheet (the back side of the “1” page) “ “2” page and “6” page on the right side. The “3” page is arranged on the left side of the front of the second A3 sheet, the “1” page is arranged on the right side, the “4” page on the left side of the sheet (the back side of the “3” page), and “2” on the right side. Page. Then, the “5” page is arranged on the left side of the table of the third A3 sheet which is the last of the output data, the “3” page is arranged on the right side, and the left side of the sheet (the back side of the “5” page) “ “6” page and “4” page on the right side. Also, pages from the 4th sheet to the 6th sheet are arranged similarly to the 1st sheet to the 3rd sheet.
また、7枚目のA3用紙の表の左側に「1」ページ、右側に「5」ページが配され、その用紙の裏の左側(「1」ページの裏側)に「2」ページ、右側に「6」ページが配される。そして、最後となる8枚目のA4用紙の表に「3」ページが配され、その用紙の裏に「4」ページが配される。 In addition, “1” page is arranged on the left side of the front of the seventh A3 sheet, “5” page is arranged on the right side, “2” page is arranged on the left side of the sheet (the back side of “1” page), and on the right side. A “6” page is arranged. The “3” page is arranged on the front of the last A4 sheet of the eighth sheet, and the “4” page is arranged on the back of the sheet.
ところで、並び替え処理Dと並び替え処理Eでは、それぞれ、2通りの出力データを生成したが、さらに多くの出力データを生成し、その組み合わせにより出力を行うようなジョブを生成しても良い。例えば、図13に示したような出力を行う場合には、図16(a)、図16(b)、図16(c)、図16(d)のそれぞれに示したような出力データを生成し、図16(a)、図16(b)、図16(c)、図16(d)、図16(a)、図16(b)、図16(c)、図16(d)、図16(a)、図16(b)の順に出力を行うこととなる。また、図15に示したような出力を行う場合には、図16(e)、図16(f)、図16(g)、図16(h)のそれぞれに示したような出力データを生成し、図16(e)、図16(f)、図16(g)、図16(e)、図16(f)、図16(g)、図16(e)、図16(h)の順に出力を行うこととなる。 By the way, in the rearrangement process D and the rearrangement process E, two types of output data are generated, but a job may be generated in which more output data is generated and output by a combination thereof. For example, when output as shown in FIG. 13 is performed, output data as shown in FIG. 16 (a), FIG. 16 (b), FIG. 16 (c), and FIG. 16 (a), 16 (b), 16 (c), 16 (d), 16 (a), 16 (b), 16 (c), 16 (d), Output is performed in the order of FIG. 16 (a) and FIG. 16 (b). Further, when the output as shown in FIG. 15 is performed, the output data as shown in each of FIGS. 16 (e), 16 (f), 16 (g) and 16 (h) is generated. 16 (e), 16 (f), 16 (g), 16 (e), 16 (f), 16 (g), 16 (e), and 16 (h). Output will be performed in order.
次に、実施例3について説明する。実施例3は、実施例1の構成と出力データの編集処理が異なるのみであるので、ここでは、ページ独立データ加工部15やページ非独立データ加工部16による出力データの編集処理についてのみ説明を行う。
Next, Example 3 will be described. Since the third embodiment differs from the first embodiment only in the output data editing process, only the output data editing process by the page independent
図17は、出力データの編集処理の流れを示すフローチャートである。なお、ここで説明する編集処理は、A4用紙への片面出力が指定された出力データをA3用紙へ片面出力する場合の例である。 FIG. 17 is a flowchart showing a flow of output data editing processing. Note that the editing process described here is an example in which output data designated for single-sided output to A4 paper is output to single-sided A3 paper.
ページ独立データ加工部15若しくはページ非独立データ加工部16は、出力データの編集に際して、まず、属性取得部31から出力データのページ数pを取得する(ステップ401)。続いて、ページ独立データ加工部15若しくはページ非独立データ加工部16は、属性取得部31から出力部数指定を取得し(ステップ402)、取得した部数Nをページ数pの値に乗じて、出力する総ページ数Pを算出する(ステップ403)。そして、総ページ数Pが偶数であった場合には(ステップ404でYES)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、後述する並び替え処理Fを実行し(ステップ405)、総ページ数Pが奇数であった場合には(ステップ404でNO)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、後述する並び替え処理Gを実行して(ステップ406)、編集処理を終了する。
When editing the output data, the page independent
次に、ステップ405で実行する並び替え処理Fについて説明する。図18は、並び替え処理Fを説明するための図である。
Next, the rearrangement process F executed in
並び替え処理Fでは、総ページ数Pに基づいてページの並び替えを行い、1枚目のA3用紙の左側に「1」ページ、右側に「P/2+1」ページを配し、2枚目の用紙の左側に「2」ページ、右側に「P/2+2」ページを配する。そして、最後の用紙となるP/2枚目のA3用紙の左側に「P/2」ページ、右側に「P」ページを配する。 In the rearrangement process F, the pages are rearranged based on the total number of pages P, and the “1” page is arranged on the left side of the first A3 sheet and the “P / 2 + 1” page is arranged on the right side. The “2” page is arranged on the left side of the sheet, and the “P / 2 + 2” page is arranged on the right side. Then, the “P / 2” page is arranged on the left side of the P / 2 second A3 sheet as the last sheet, and the “P” page is arranged on the right side.
この並び替え処理Fを具体的な事例で説明すると、例えば、A4用紙への片面出力が指定された3ページの文書を4部出力する場合は、図19に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、1枚目のA3用紙の左側に「1」ページ、右側に総ページで7ページ目となる「3」ページが配され、2枚目のA3用紙の左側に「2」ページ、右側に総ページで8ページ目となる「2」ページが配される。同様に、3枚目のA3用紙の左側に「3」ページ、右側に総ページで9ページ目となる「3」ページが配され、4枚目の用紙の左側に総ページで4ページ目となる「1」ページ、右側に総ページで10ページ目となる「1」ページが配され、5枚目のA3用紙の左側に総ページで5ページ目となる「2」ページ、右側に総ページで11ページ目となる「2」ページが配され、最後の用紙となる6枚目のA3用紙の左側に総ページで6ページ目となる「3」ページ、右側に総ページで12ページ目となる「3」ページが配される。 The rearrangement process F will be described with a specific example. For example, when four copies of a three-page document designated for single-sided output on A4 paper are output, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the figure, a “1” page is arranged on the left side of the first A3 sheet, a “3” page which is the seventh page in the total page is arranged on the right side, and a “3” page is arranged on the left side of the second A3 sheet. The “2” page is arranged on the right side and the eighth page is the total page on the right side. Similarly, the “3” page is arranged on the left side of the third A3 sheet, the “3” page which is the ninth page in the total page on the right side, and the fourth page in the total page on the left side of the fourth sheet. "1" page, the first page is the 10th page on the right side, and the second page is the 5th page on the left side of the fifth A3 sheet. The second page is the total page on the right side. “2” page, which is the 11th page, is arranged, “3” page, which is the 6th page on the total page on the left side of the 6th A3 paper, which is the last sheet, and the 12th page, on the right side, is the total page “3” page is arranged.
続いて、ステップ406で実行する並び替え処理Gについて説明する。図20は、並び替え処理Gを説明するための図である。
Next, the rearrangement process G executed in
並び替え処理Gでは、総ページ数Pに基づいてページの並び替えを行い、1枚目のA3用紙の左側に「1」ページ、右側に「(P+1)/2+1」ページを配し、2枚目のA3用紙の左側に「2」ページ、右側に「(P+1)/2+2」ページを配する。そして、最後の1つ前の用紙となる((P+1)/2−1)枚目のA3用紙の左側に「(P+1)/2−1」ページ、右側に「P」ページを配し、最後の用紙となる(P+1)/2枚目の用紙は、A4用紙となり、その表に「(P+1)/2」ページを配する。 In the rearrangement process G, pages are rearranged based on the total number of pages P, and “1” page is arranged on the left side of the first A3 sheet and “(P + 1) / 2 + 1” page is arranged on the right side. The “2” page is arranged on the left side of the A3 sheet of the eye, and the “(P + 1) / 2 + 2” page is arranged on the right side. Then, the “(P + 1) / 2-1” page is arranged on the left side of the ((P + 1) / 2-1) A3 sheet which is the last previous sheet, and the “P” page is arranged on the right side. The (P + 1) / 2 sheet, which is the A sheet, is an A4 sheet, and the “(P + 1) / 2” page is arranged in the table.
この並び替え処理Gを具体的な事例で説明すると、例えば、A4用紙への片面出力が指定された3ページの文書を3部出力する場合は、図21に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、1枚目のA3用紙の左側に「1」ページ、右側に総ページで6ページ目となる「3」ページが配され、2枚目のA3用紙の左側に「2」ページ、右側に総ページで7ページ目となる「1」ページが配される。同様に、3枚目のA3用紙の左側に「3」ページ、右側に総ページで8ページ目となる「2」ページが配され、4枚目のA3用紙の左側に総ページで4ページ目となる「1」ページ、右側に総ページで9ページ目となる「3」ページが配される。そして、最後の用紙となる5枚目のA4用紙に総ページで5ページ目となる「2」ページが配される。 This rearrangement process G will be described with a specific example. For example, when three copies of a three-page document designated for single-sided output on A4 paper are output, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the figure, the “1” page is arranged on the left side of the first A3 sheet, the “3” page which is the sixth page in the total page is arranged on the right side, and “3” page is arranged on the left side of the second A3 sheet. The “2” page and the “1” page, which is the seventh page in total, are arranged on the right side. Similarly, the “3” page is arranged on the left side of the third A3 sheet, and the “2” page, which is the eighth page in the total page, is arranged on the right side. The fourth page of the total page is on the left side of the fourth A3 sheet. The “1” page is arranged on the right side, and the “3” page which is the ninth page in total is arranged on the right side. Then, the “2” page, which is the fifth page in total pages, is arranged on the fifth A4 sheet which is the last sheet.
次に、実施例4について説明する。実施例4は、実施例1の構成と出力データの編集処理が異なるのみであるので、ここでは、ページ独立データ加工部15やページ非独立データ加工部16による出力データの編集処理についてのみ説明を行う。
Next, Example 4 will be described. Since the fourth embodiment is different from the first embodiment only in the output data editing process, only the output data editing process by the page independent
図22は、出力データの編集処理の流れを示すフローチャートである。なお、ここで説明する編集処理は、A4用紙への片面出力が指定された出力データをA3用紙へ両面出力する場合の例である。 FIG. 22 is a flowchart showing a flow of output data editing processing. Note that the editing process described here is an example in which output data designated for single-sided output to A4 paper is output on both sides to A3 paper.
ページ独立データ加工部15若しくはページ非独立データ加工部16は、出力データの編集に際して、まず、属性取得部31から出力データのページ数pを取得する(ステップ501)。
When editing the output data, the page independent
続いて、ページ独立データ加工部15若しくはページ非独立データ加工部16は、属性取得部31から出力部数指定を取得し(ステップ502)、取得した部数Nの値が偶数であった場合には(ステップ503でYES)、後述する並び替え処理Hを実行して(ステップ504)、編集処理を終了する。
Subsequently, the page independent
一方、取得した部数の値が奇数であった場合には(ステップ503でNO)、ページ数pを2で除した値、p/2が偶数であれば(ステップ505でYES)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、後述する並び替え処理Iを実行し(ステップ506)、p/2が奇数であれば(ステップ505でNO)、ページ独立データ加工部15若しくはページ非独立データ加工部16は、後述する並び替え処理Jを実行して(ステップ507)、編集処理を終了する。
On the other hand, if the acquired number of copies is an odd number (NO in step 503), the value obtained by dividing the page number p by 2 and if p / 2 is an even number (YES in step 505), the page independent data The
次に、ステップ504で実行する並び替え処理Hについて説明する。図23は、並び替え処理Hを説明するための図である。
Next, the rearrangement process H executed in
並び替え処理Hでは、出力データのページ数pに基づいてページの並び替えを行い、1枚目のA3用紙の左側と右側に「1」ページを配し、2枚目のA3の用紙の左側と右側に「2」ページを配する。そして、最後の用紙となるp枚目のA3用紙の表の左側と右側に「p」ページを配する。 In the rearrangement process H, pages are rearranged based on the page number p of the output data, and “1” pages are arranged on the left and right sides of the first A3 sheet, and the left side of the second A3 sheet. “2” page is arranged on the right side. Then, “p” pages are arranged on the left and right sides of the table of the p-th A3 sheet as the last sheet.
この編集後の出力データは、2部分の出力データであるため、編集前のジョブで指定された出力部数Nの1/2を、編集後の出力データの出力部数とすることで、指定通りの出力部数が出力されることとなる。 Since the output data after editing is two-part output data, the half of the number of output copies N specified in the job before editing is set as the number of output copies of the output data after editing as specified. The number of output copies will be output.
この並び替え処理Hを具体的な事例で説明すると、例えば、A4用紙への片面出力が指定された3ページの文書を4部出力する場合は、図24に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、1枚目のA3用紙の左側と右側の両者に「1」ページが配され、2枚目のA3用紙の左側と右側の両者に「2」ページが配される。そして、3枚目のA3用紙の左側と右側の両者に「3」ページが配される。 This rearrangement process H will be described using a specific example. For example, when four copies of a three-page document designated for single-sided output on A4 paper are output, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the figure, “1” pages are arranged on both the left and right sides of the first A3 sheet, and “2” pages are arranged on both the left and right sides of the second A3 sheet. . Then, “3” pages are arranged on both the left and right sides of the third A3 sheet.
そして、このA3用紙3枚分の出力データを出力部数を2部に指定したジョブとして出力デバイス4に転送することで、4枚目から6枚目がそれぞれ1枚目から3枚目と同様に出力されることとなる。
Then, the output data for the three sheets of A3 paper is transferred to the
次に、ステップ506で実行する並び替え処理Iについて説明する。図25は、並び替え処理Iを説明するための図である。
Next, the rearrangement process I executed in
並び替え処理Iでは、出力データのページ数pに基づいてページの並び替えを行い、2通りの出力データを作成する。そして、出力部数としてN部が指定されていれば、1つの出力データに基づく出力を(N−1)/2部、もう1つの出力データに基づく出力を1部とすることで、指定された出力部数での出力を行うことができる。 In the rearrangement process I, pages are rearranged based on the page number p of the output data, and two types of output data are created. If N copies are specified as the number of output copies, the output based on one output data is (N-1) / 2 copies, and the output based on the other output data is 1 copy. Output in the number of output copies can be performed.
(N−1)/2部だけ出力する出力データは、図25(a)に示すように、1枚目のA3用紙の左側に「1」ページ、右側に「p/2+1」ページを配し、2枚目のA3用紙の左側に「2」ページ、右側に「p/2+2」ページを配する。そして、最後の用紙となるp枚目のA3用紙の左側に「p」ページ、右側に「p/2」ページを配する。 As shown in FIG. 25 (a), the output data to be output only in (N-1) / 2 copies is arranged with the “1” page on the left side of the first A3 sheet and the “p / 2 + 1” page on the right side. The “2” page is arranged on the left side of the second A3 sheet, and the “p / 2 + 2” page is arranged on the right side. Then, the “p” page is arranged on the left side and the “p / 2” page is arranged on the right side of the pth A3 sheet as the last sheet.
また、1部だけ出力する出力データは、図12(b)に示すように、1枚目のA3用紙の表の左側に「1」ページ、右側に「p/2+1」ページを配し、2枚目のA3用紙の左側に「2」ページ、右側に「p/2+2」ページを配する。そして、最後の用紙となるp/2枚目のA3用紙の左側に「p/2」ページ、右側に「p」ページを配する。 Further, as shown in FIG. 12B, the output data to be output by only one copy includes a “1” page on the left side of the table of the first A3 sheet and a “p / 2 + 1” page on the right side. The “2” page is arranged on the left side of the first A3 sheet, and the “p / 2 + 2” page is arranged on the right side. Then, the “p / 2” page is arranged on the left side of the p / 2 A3 sheet as the last sheet, and the “p” page is arranged on the right side.
なお、1部だけ出力する出力データは、p/2枚目までのものであるが、これは、(N−1)/2部だけ出力する出力データの1枚目からp/2枚目までのものと同様のページ順に並べられたものである。 Note that the output data that outputs only one copy is up to the p / 2th sheet, but this is from the first sheet of output data that outputs only (N-1) / 2 copies to the p / 2th sheet. Are arranged in the same page order as
この並び替え処理Iを具体的な事例で説明すると、例えば、A4用紙への片面出力が指定された4ページの文書を5部出力する場合は、図26に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、(N−1)/2部だけ出力する出力データ、つまり、2部(N=5)だけ出力する出力データに基づいて、1枚目から4枚目と5枚目から8枚目が出力され、1部だけ出力する出力データに基づいて、9枚目と10枚目が出力されることとなる。 This rearrangement process I will be described using a specific example. For example, when five copies of a four-page document designated for single-sided output on A4 paper are output, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the figure, based on output data that outputs only (N-1) / 2 copies, that is, output data that outputs only 2 copies (N = 5), the first to fourth and fifth sheets. The eighth and eighth sheets are output from the first, and the ninth and tenth sheets are output based on the output data that outputs only one copy.
同図に示した例では、1枚目のA3用紙の左側に「1」ページ、右側に「3」ページが配され、2枚目のA3用紙の左側に「2」ページ、右側に「4」ページが配され、3枚目のA3用紙の左側に「3」ページ、右側に「1」ページが配される。そして、出力データの最後となる4枚目のA3用紙の左側に「4」ページ、右側に「2」ページが配される。また、5枚目から8枚目は、それぞれ、1枚目から4枚目と同様にページが配される。 In the example shown in the figure, the “1” page is arranged on the left side of the first A3 sheet, the “3” page is arranged on the right side, the “2” page is arranged on the left side of the second A3 sheet, and the “4” is arranged on the right side. ”Page,“ 3 ”page on the left side of the third A3 sheet, and“ 1 ”page on the right side. Then, the “4” page is arranged on the left side of the fourth A3 sheet which is the last of the output data, and the “2” page is arranged on the right side. Also, pages from the 5th sheet to the 8th sheet are arranged similarly to the 1st sheet to the 4th sheet.
また、9枚目のA3用紙の表の左側に「1」ページ、右側に「3」ページが配され、最後となる10枚目のA3用紙の左側に「2」ページ、右側に「4」ページが配される。 Also, the “1” page is arranged on the left side of the table of the ninth A3 sheet, the “3” page is arranged on the right side, the “2” page on the left side of the last ten A3 sheet, and “4” on the right side. Pages are arranged.
次に、ステップ507で実行する並び替え処理Jについて説明する。図27は、並び替え処理Jを説明するための図である。
Next, the rearrangement process J executed in
並び替え処理Jでは、出力データのページ数pに基づいてページの並び替えを行い、2通りの出力データを作成する。そして、出力部数としてN部が指定されていれば、1つの出力データに基づく出力を(N−1)/2部、もう1つの出力データに基づく出力を1部とすることで、指定された出力部数での出力を行うことができる。 In the rearrangement process J, pages are rearranged based on the page number p of the output data, and two types of output data are created. If N copies are specified as the number of output copies, the output based on one output data is (N-1) / 2 copies, and the output based on the other output data is 1 copy. Output in the number of output copies can be performed.
(N−1)/2部だけ出力する出力データは、図27(a)に示すように、1枚目のA3用紙の左側に「1」ページ、右側に「(p+3)/2」ページを配し、2枚目のA3用紙の左側に「2」ページ、右側に「(p+3)/2+1」ページを配する。そして、最後の用紙となるp枚目のA3用紙の左側に「p」ページ、右側に「(p+1)/2」ページを配する。 As shown in FIG. 27A, the output data to be output only in (N-1) / 2 copies includes the “1” page on the left side of the first A3 sheet and the “(p + 3) / 2” page on the right side. The “2” page is arranged on the left side of the second A3 sheet, and the “(p + 3) / 2 + 1” page is arranged on the right side. Then, the “p” page is arranged on the left side of the p-th A3 sheet as the last sheet, and the “(p + 1) / 2” page is arranged on the right side.
また、1部だけ出力する出力データは、図27(b)に示すように、1枚目のA3用紙の左側に「1」ページ、右側に「(p+3)/2」ページを配する。そして、最後の用紙の1枚前の用紙となる((p+1)/2−1)枚目のA3用紙の左側に「(p+1)/2−1」ページ、右側に「p」ページを配する。そして、最後の用紙となる(p+1)/2枚目のA4用紙に「(p+1)/2」ページを配する。 Further, as shown in FIG. 27B, the output data to be output by only one copy is arranged with the “1” page on the left side of the first A3 sheet and the “(p + 3) / 2” page on the right side. Then, the “(p + 1) / 2-1” page is arranged on the left side of the ((p + 1) / 2-1) A3 sheet, which is the previous sheet of the last sheet, and the “p” page is arranged on the right side. . Then, the “(p + 1) / 2” page is arranged on the (p + 1) / 2 second A4 sheet as the last sheet.
なお、1部だけ出力する出力データは、(p+1)/2枚目までのものであるが、これは、(N−1)/2部だけ出力する出力データの1枚目から(p+1)/2枚目までのものと同様のページ順に並べられたものである。 Note that the output data output for only one copy is up to (p + 1) / 2 sheets. This is because (p + 1) / from the first output data output for only (N-1) / 2 copies. The pages are arranged in the same page order as the second one.
この並び替え処理Jを具体的な事例で説明すると、例えば、A4用紙への片面出力が指定された5ページの文書を5部出力する場合は、図28に示すようなページ配置となるように出力データの並び替えが行われる。同図に示した例では、(N−1)/2部だけ出力する出力データ、つまり、2部(N=5)だけ出力する出力データに基づいて、1枚目から5枚目と6枚目から10枚目が出力され、1部だけ出力する出力データに基づいて、11枚目から13枚目が出力されることとなる。 This sorting process J will be described with a specific example. For example, when five copies of a five-page document designated for single-sided output on A4 paper are output, the page layout is as shown in FIG. The output data is rearranged. In the example shown in the figure, based on output data that outputs only (N−1) / 2 copies, that is, output data that outputs only 2 copies (N = 5), the first to fifth and sixth sheets. The tenth sheet is output from the first, and the eleventh to thirteenth sheets are output based on the output data that outputs only one copy.
同図に示した例では、1枚目のA3用紙の左側に「1」ページ、右側に「4」ページが配され、2枚目のA3用紙の左側に「2」ページ、右側に「5」ページが配される。同様に、3枚目のA3用紙の左側に「3」ページ、右側に「1」ページが配され、4枚目のA3用紙の左側に「4」ページ、右側に「2」ページが配される。そして、出力データの最後となる5枚目のA3用紙の左側に「5」ページ、右側に「3」ページが配される。また、6枚目から10枚目は、それぞれ、1枚目から5枚目と同様にページが配される。 In the example shown in the figure, the “1” page is arranged on the left side of the first A3 sheet, the “4” page is arranged on the right side, the “2” page is arranged on the left side of the second A3 sheet, and “5” is arranged on the right side. Page. Similarly, the “3” page is arranged on the left side of the third A3 sheet, the “1” page is arranged on the right side, the “4” page is arranged on the left side of the fourth A3 sheet, and the “2” page is arranged on the right side. The Then, the “5” page is arranged on the left side of the fifth A3 sheet which is the last of the output data, and the “3” page is arranged on the right side. Also, pages from the 6th sheet to the 10th sheet are arranged in the same manner as the 1st sheet to the 5th sheet, respectively.
また、11枚目のA3用紙の左側に「1」ページ、右側に「4」ページが配され、12枚目のA3用紙の左側に「2」ページ、右側に「5」ページが配される。そして、最後となる13枚目のA4用紙に「3」ページが配される。 Further, the “1” page is arranged on the left side of the eleventh A3 sheet, the “4” page is arranged on the right side, the “2” page is arranged on the left side of the twelfth A3 sheet, and the “5” page is arranged on the right side. . Then, the “3” page is arranged on the last 13th A4 sheet.
ところで、並び替え処理Iと並び替え処理Jでは、それぞれ、2通りの出力データを生成したが、さらに多くの出力データを生成し、その組み合わせにより出力を行うようなジョブを生成しても良い。例えば、図26に示したような出力を行う場合には、図29(a)、図29(b)、図29(c)、図29(d)のそれぞれに示したような出力データを生成し、図29(a)、図29(b)、図29(c)、図29(d)、図29(a)、図29(b)、図29(c)、図29(d)、図29(a)、図29(b)の順に出力を行うこととなる。また、図28に示したような出力を行う場合には、図29(e)、図29(f)、図29(g)、図29(h)、図29(i)、図29(j)のそれぞれに示したような出力データを生成し、図29(e)、図29(f)、図29(g)、図29(h)、図29(i)、図29(e)、図29(f)、図29(g)、図29(h)、図29(i)、図29(e)、図29(f)、図29(j)の順に出力を行うこととなる。 By the way, in the rearrangement process I and the rearrangement process J, two types of output data are generated, but a job may be generated in which more output data is generated and output by a combination thereof. For example, when outputting as shown in FIG. 26, output data as shown in each of FIGS. 29A, 29B, 29C, and 29D is generated. 29 (a), 29 (b), 29 (c), 29 (d), 29 (a), 29 (b), 29 (c), 29 (d), Output is performed in the order of FIG. 29 (a) and FIG. 29 (b). In the case of outputting as shown in FIG. 28, FIG. 29 (e), FIG. 29 (f), FIG. 29 (g), FIG. 29 (h), FIG. 29 (i), FIG. ) Are generated, and FIG. 29 (e), FIG. 29 (f), FIG. 29 (g), FIG. 29 (h), FIG. 29 (i), FIG. 29 (f), 29 (g), 29 (h), 29 (i), 29 (e), 29 (f), and 29 (j) are output in this order.
なお、各実施例で説明した並び替え処理以外にも、出力データのページ数や出力部数に応じた並び替え処理を実行することで、用紙の1面に4ページを割り付ける場合や、製本を行う場合にも本発明を適用することができる。 In addition to the rearrangement process described in each embodiment, the rearrangement process according to the number of output data pages and the number of output copies is executed to allocate four pages to one side of a sheet or to perform bookbinding. The present invention can also be applied to cases.
1 印刷制御装置
2 スキャナ
3 PC
4 出力デバイス
11 ジョブ受信部
12 フォーマット判定部
13 属性取得部
14 ページ数取得部
15 ページ独立データ加工部
16 ページ非独立データ加工部
17 属性無効化部
18 属性埋込部
19 ジョブ転送部
1
4
Claims (16)
文書のページ数と出力部数とを取得し、該取得したページ数と出力部数とに基づいて、用紙を出力順に重ねた用紙群をページに合わせて裁断し、該裁断した用紙群をさらに所定の順に重ねた際にページ順となるように、前記文書のページ順を並び替えることを特徴とする印刷制御方法。 A printing control method for allocating a plurality of pages of a document on one side of a sheet and outputting the same from a printing apparatus,
The number of pages of the document and the number of output copies are acquired, and based on the acquired number of pages and the number of output copies, a sheet group in which the sheets are stacked in the output order is cut according to the page, and the cut sheet group is further divided into predetermined A printing control method, wherein the page order of the document is rearranged so that the page order is obtained when they are sequentially stacked.
出力データに指定された属性を無効にした後に、該出力データのページ順の並び替えを行い、該並び替えを行った出力データに対して新たに属性を付加することを特徴とする印刷制御方法。 A print control method for rearranging the page order of a document provided as non-page independent output data and outputting it from a printing device,
A printing control method comprising: after invalidating an attribute designated for output data, rearranging the output data in page order, and newly adding an attribute to the rearranged output data .
文書のページ数と出力部数とを取得する属性情報取得手段と、
前記属性情報取得手段が取得したページ数と出力部数とに基づいて、用紙を出力順に重ねた用紙群をページに合わせて裁断し、該裁断した用紙群をさらに所定の順に重ねた際にページ順となるように、前記文書のページ順を並び替えるデータ編集手段と
を具備することを特徴とする印刷制御装置。 A print control apparatus that allocates a plurality of pages of a document to one side of a sheet and outputs the document from a printing apparatus,
Attribute information acquisition means for acquiring the number of pages and the number of output copies of the document;
Based on the number of pages and the number of output copies acquired by the attribute information acquisition means, a sheet group in which sheets are stacked in the output order is cut according to a page, and the cut sheet group is further stacked in a predetermined order in page order. And a data editing means for rearranging the page order of the document.
前記文書がページ非独立型の出力データで提供された場合に、該出力データに指定された属性を無効にする属性無効化手段と、
前記並び替えを行った出力データに対して新たに属性を付加する属性付加手段と
を具備することを特徴とする請求項9記載の印刷制御装置。 The data editing means includes
Attribute invalidation means for invalidating an attribute specified in the output data when the document is provided as non-page independent output data;
The print control apparatus according to claim 9, further comprising: an attribute addition unit that newly adds an attribute to the rearranged output data.
前記出力データに対して、ページを定義するページ情報と、出力部数指定と、用紙指定とを属性として付加することを特徴とする請求項10記載の印刷制御装置。 The attribute adding means includes
11. The print control apparatus according to claim 10, wherein page information defining a page, output number designation, and paper designation are added as attributes to the output data.
前記文書に対して両面印刷が指定された際に、該文書のページ数が奇数であった場合には、該文書の最後に白紙ページを追加した後に、前記並び替えを行うことを特徴とする請求項9記載の印刷制御装置。 The data editing means includes
When double-sided printing is specified for the document, if the number of pages of the document is an odd number, the rearrangement is performed after adding a blank page to the end of the document. The printing control apparatus according to claim 9.
用紙の1面に対する2ページの割り付けを行う場合に、前記文書に対して両面印刷が指定された際は、該文書の総出力ページ数が奇数であれば、最後の用紙を面積が半分の用紙に変更し、変更した用紙の1面に1ページの割り付けを行うことを特徴とする請求項9記載の印刷制御装置。 The data editing means includes
When two pages are allocated to one side of the paper and duplex printing is designated for the document, if the total number of output pages of the document is an odd number, the last paper is a paper whose area is half. The print control apparatus according to claim 9, wherein one page is allocated to one side of the changed sheet.
用紙の1面に対する2ページの割り付けを行う場合に、前記文書に対して片面印刷が指定された際は、該文書のページ数が奇数であれば、最後の用紙を面積が半分の用紙に変更し、変更した用紙の1面に1ページの割り付けを行うことを特徴とする請求項9記載の印刷制御装置。 The data editing means includes
When allocating two pages to one side of a sheet and single-sided printing is specified for the document, if the number of pages in the document is an odd number, the last sheet is changed to a sheet having a half area. The printing control apparatus according to claim 9, wherein one page is allocated to one side of the changed sheet.
出力データに指定された属性を無効にする属性無効化手段と、
前記属性無効か手段が属性を無効化した出力データのページ順の並び替えを行うページ順編集手段と、
前記ページ順編集手段が並び替えを行った出力データに対して新たに属性を付加する属性付加手段と
を具備することを特徴とする印刷制御装置。 A print control apparatus that rearranges the page order of a document provided as non-page independent output data and outputs it from a printing apparatus,
Attribute invalidation means for invalidating the attribute specified in the output data;
Page order editing means for rearranging the page order of the output data in which the attribute is invalid or the means invalidates the attribute;
An attribute addition unit that newly adds an attribute to the output data that has been rearranged by the page order editing unit.
前記出力データに対して、ページを定義するページ情報と、出力部数指定と、用紙指定とを属性として付加することを特徴とする請求項15記載の印刷制御装置。 The attribute adding means includes
The print control apparatus according to claim 15, wherein page information defining a page, output number designation, and paper designation are added as attributes to the output data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004076895A JP2005267085A (en) | 2004-03-17 | 2004-03-17 | Print control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004076895A JP2005267085A (en) | 2004-03-17 | 2004-03-17 | Print control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005267085A true JP2005267085A (en) | 2005-09-29 |
Family
ID=35091592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004076895A Pending JP2005267085A (en) | 2004-03-17 | 2004-03-17 | Print control method and device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005267085A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005309516A (en) * | 2004-04-16 | 2005-11-04 | Canon Inc | Document processor, document processing method, and document processing program |
-
2004
- 2004-03-17 JP JP2004076895A patent/JP2005267085A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005309516A (en) * | 2004-04-16 | 2005-11-04 | Canon Inc | Document processor, document processing method, and document processing program |
JP4708724B2 (en) * | 2004-04-16 | 2011-06-22 | キヤノン株式会社 | Document processing apparatus, document processing method, and document processing program |
US8830491B2 (en) | 2004-04-16 | 2014-09-09 | Canon Kabushiki Kaisha | Document processing apparatus, document processing method, and document processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4194476B2 (en) | Document processing apparatus and document processing method | |
US8009322B2 (en) | Information processing apparatus and control method thereof, and program | |
JP4948283B2 (en) | Information processing apparatus, control method, and control program | |
JP2003296070A (en) | Document processing apparatus and method | |
JP2007310870A (en) | Method for printing document included with color, and black and white | |
JP5132426B2 (en) | Image processing apparatus and control method thereof | |
JP2010277428A (en) | Information processing apparatus, control method and program | |
JP2006293598A (en) | Document processing system | |
JP2010009219A (en) | Information processor, information processing method and program | |
JP5218011B2 (en) | Print control program, print control method, and print control apparatus | |
JP5446852B2 (en) | Print processing apparatus, print processing program, and print processing method | |
JP4439864B2 (en) | Document processing apparatus, document processing method, and program | |
JP5460214B2 (en) | Information processing apparatus, control method, and program | |
JP2005267085A (en) | Print control method and device | |
JP4306725B2 (en) | Printing support system, printing support program, and printing support method | |
JP4612894B2 (en) | Information processing apparatus, layout processing method, program, and storage medium | |
JP2010113596A (en) | Document processing system | |
JP4296948B2 (en) | Image formation support device | |
US20050152003A1 (en) | Image processing apparatus and data editing method | |
JP3903036B2 (en) | Document creation method and document creation apparatus | |
JP3903037B2 (en) | Document creation method and document creation apparatus | |
JP3991028B2 (en) | Document processing method and information processing apparatus | |
JP2005149212A (en) | Document processing method and document processing apparatus | |
JP2006139561A (en) | Document processing method and system therefor | |
JP5350500B2 (en) | Information processing apparatus, control method, and control program |