JP6419043B2 - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP6419043B2
JP6419043B2 JP2015166957A JP2015166957A JP6419043B2 JP 6419043 B2 JP6419043 B2 JP 6419043B2 JP 2015166957 A JP2015166957 A JP 2015166957A JP 2015166957 A JP2015166957 A JP 2015166957A JP 6419043 B2 JP6419043 B2 JP 6419043B2
Authority
JP
Japan
Prior art keywords
page data
partial
processing unit
data
converted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2015166957A
Other languages
Japanese (ja)
Other versions
JP2017045260A (en
Inventor
恵一 尾形
恵一 尾形
Original Assignee
株式会社沖データ
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社沖データ filed Critical 株式会社沖データ
Priority to JP2015166957A priority Critical patent/JP6419043B2/en
Publication of JP2017045260A publication Critical patent/JP2017045260A/en
Application granted granted Critical
Publication of JP6419043B2 publication Critical patent/JP6419043B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

本発明は、画像処理を行う画像処理装置およびそのような画像処理装置において用いられるプログラムに関する。   The present invention relates to an image processing apparatus that performs image processing and a program used in such an image processing apparatus.

印刷物は、しばしばスキャナ等により読み取られ、電子文書として管理される。そのような印刷物には、例えば複数のページからなる冊子がある。例えば、特許文献1には、冊子から原稿を読み取る読取装置が開示されている。また、このような電子文書は、例えばワードプロセッサやDTP(Desktop publishing)ソフトウェアなどを用いて作成されることもある。   The printed matter is often read by a scanner or the like and managed as an electronic document. Such printed matter includes, for example, a booklet composed of a plurality of pages. For example, Patent Document 1 discloses a reading device that reads a document from a booklet. Such an electronic document may be created using, for example, a word processor or DTP (Desktop publishing) software.

特開2005−210388号公報Japanese Patent Laid-Open No. 2005-210388

ところで、このような電子文書は、しばしば印刷され、冊子として製本される。その際、ユーザの手間を低減しつつ冊子を作成できることが望まれている。   By the way, such an electronic document is often printed and bound as a booklet. At that time, it is desired to be able to create a booklet while reducing the effort of the user.

本発明はかかる問題点に鑑みてなされたもので、その目的は、ユーザの手間を低減しつつ冊子を作成することができる画像処理装置およびプログラムを提供することにある。   The present invention has been made in view of such problems, and an object thereof is to provide an image processing apparatus and a program capable of creating a booklet while reducing a user's trouble.

本発明の画像処理装置は、処理部を備えている。処理部は、N個のページデータのそれぞれに含まれる第1の部分ページデータおよび第2の部分ページデータをページデータ間で並べ替えることにより、それぞれが第1の部分ページデータおよび第2の部分ページデータを含むN個の変換ページデータを生成するものである。N個の変換ページデータは、第1の変換ページデータを含む。上記処理部は、N個のページデータを、2回ずつ、所定の順番で再生し、再生されたページデータのうちの第1のページデータにおける第1の部分ページデータと、再生されたページデータのうちの第2のページデータにおける第2の部分ページデータに基づいて、第1の変換ページデータを生成する。 The image processing apparatus of the present invention includes a processing unit. The processing unit rearranges the first partial page data and the second partial page data included in each of the N pieces of page data between the page data, so that each of the first partial page data and the second partial page data N pieces of converted page data including page data are generated. The N converted page data includes first converted page data. The processing unit reproduces the N page data twice in a predetermined order, the first partial page data in the first page data of the reproduced page data, and the reproduced page data The first conversion page data is generated based on the second partial page data in the second page data.

本発明のプログラムは、N個のページデータを準備することと、N個のページデータのそれぞれに含まれる第1の部分ページデータおよび第2の部分ページデータをページデータ間で並べ替えることにより、それぞれが第1の部分ページデータおよび第2の部分ページデータを含むN個の変換ページデータを生成することとを処理部に実行させるものである。N個の変換ページデータは、第1の変換ページデータを含む。N個の変換ページデータを生成することは、N個のページデータを、2回ずつ、所定の順番で再生することと、再生されたページデータのうちの第1のページデータにおける第1の部分ページデータと、再生されたページデータのうちの第2のページデータにおける第2の部分ページデータに基づいて、第1の変換ページデータを生成することとを含む。
The program of the present invention prepares N page data and rearranges the first partial page data and the second partial page data included in each of the N page data among the page data, The processing unit is configured to generate N pieces of converted page data each including first partial page data and second partial page data. The N converted page data includes first converted page data. Generating N converted page data includes reproducing the N page data twice in a predetermined order and the first portion of the first page data of the reproduced page data. Generating the first converted page data based on the page data and the second partial page data in the second page data of the reproduced page data.

本発明の画像処理装置およびプログラムによれば、N個のページデータのそれぞれに含まれる第1の部分ページデータおよび第2の部分ページデータをページデータ間で並べ替えるようにしたので、ユーザの手間を低減しつつ冊子を作成することができる。   According to the image processing apparatus and the program of the present invention, the first partial page data and the second partial page data included in each of the N pieces of page data are rearranged between the page data. A booklet can be created while reducing the above.

冊子の一例を表す説明図である。It is explanatory drawing showing an example of a booklet. 論理ページデータの一構成例を表す説明図である。It is explanatory drawing showing the example of 1 structure of logical page data. 物理ページデータの一構成例を表す説明図である。It is explanatory drawing showing the example of 1 structure of physical page data. 本開示の実施の形態に係るホストコンピュータの一構成例を表すブロック図である。And FIG. 11 is a block diagram illustrating a configuration example of a host computer according to an embodiment of the present disclosure. 図4に示したホストコンピュータにおけるソフトウェア構成の一例を表すブロック図である。FIG. 5 is a block diagram illustrating an example of a software configuration in the host computer illustrated in FIG. 4. 図5に示したユーザインタフェースの一例を表すブロック図である。FIG. 6 is a block diagram illustrating an example of a user interface illustrated in FIG. 5. 図5に示したプリントプロセッサの一例を表すブロック図である。FIG. 6 is a block diagram illustrating an example of a print processor illustrated in FIG. 5. 図5に示したレンダリング部の一例を表すブロック図である。FIG. 6 is a block diagram illustrating an example of a rendering unit illustrated in FIG. 5. 図6に示したユーザインタフェースの一動作例を表すフローチャートである。7 is a flowchart illustrating an operation example of the user interface illustrated in FIG. 6. 図7に示したプリントプロセッサの一動作例を表すフローチャートである。8 is a flowchart illustrating an operation example of the print processor illustrated in FIG. 7. 図7に示したプリントプロセッサの一動作例を表す表である。8 is a table illustrating an operation example of the print processor illustrated in FIG. 7. 図7に示したプリントプロセッサの一動作例を表す説明図である。FIG. 8 is an explanatory diagram illustrating an operation example of the print processor illustrated in FIG. 7. 図8に示した開始処理部の一動作例を表すフローチャートである。9 is a flowchart illustrating an operation example of a start processing unit illustrated in FIG. 8. 図8に示した描画処理部の一動作例を表すフローチャートである。FIG. 9 is a flowchart illustrating an operation example of the drawing processing unit illustrated in FIG. 8. FIG. 図8に示した描画処理部の一動作例を表す説明図である。FIG. 9 is an explanatory diagram illustrating an operation example of the drawing processing unit illustrated in FIG. 8. 図8に示した完了処理部の一動作例を表すフローチャートである。9 is a flowchart illustrating an operation example of a completion processing unit illustrated in FIG. 8. 図8に示した完了処理部の一動作例を表す説明図である。FIG. 9 is an explanatory diagram illustrating an operation example of a completion processing unit illustrated in FIG. 8. 図8に示した完了処理部の一動作例を表す他の説明図である。FIG. 9 is another explanatory diagram illustrating an operation example of the completion processing unit illustrated in FIG. 8. 変形例に係る物理ページデータの一配置例を表す説明図である。It is explanatory drawing showing the example of 1 arrangement | positioning of the physical page data which concerns on a modification. 変形例に係るプリンタの一構成例を表すブロック図である。It is a block diagram showing the example of 1 structure of the printer which concerns on a modification.

以下、本発明の実施の形態について、図面を参照して詳細に説明する。なお、説明は以下の順序で行う。
1.ページデータの処理の概念
2.実施の形態
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The description will be given in the following order.
1. 1. Concept of page data processing Embodiment

<1.ページデータの処理の概念>
最初に、図1〜図3を参照して、本発明の一実施の形態に係る画像処理装置におけるページデータの処理方法について説明する。このページデータの処理方法は、例えば、図1に示したような冊子9を作成するための処理方法であり、図2に示した複数の論理ページデータLP(この例では8つの論理ページデータLP1〜LP8)に基づいて、図3に示した複数の物理ページデータPP(この例では8つの物理ページデータPP1〜PP8)を生成するものである。この例では、冊子9は、図1に示したように、16ページからなる冊子である。冊子9のページP1は表紙であり、ページP16は裏表紙である。
<1. Concept of page data processing>
First, a page data processing method in an image processing apparatus according to an embodiment of the present invention will be described with reference to FIGS. This page data processing method is, for example, a processing method for creating the booklet 9 as shown in FIG. 1, and includes a plurality of logical page data LP (in this example, eight logical page data LP1). To LP8), the plurality of physical page data PP (eight physical page data PP1 to PP8 in this example) shown in FIG. 3 are generated. In this example, the booklet 9 is a booklet consisting of 16 pages as shown in FIG. The page P1 of the booklet 9 is a cover, and the page P16 is a back cover.

論理ページデータLP1〜LP8のそれぞれは、冊子9の各ページPを開いた状態でのデータに対応している。すなわち、例えば、論理ページデータLP1は、冊子9のページP1,P16のデータを含むものであり、論理ページデータLP2は、冊子9のページP2,P3のデータを含むものであり、論理ページデータLP3は、冊子9のページP4,P5のデータを含むものである。論理ページデータLP4〜LP7についても同様である。そして、論理ページデータLP8は、冊子9のページP14,P15を含むものである。   Each of the logical page data LP1 to LP8 corresponds to data in a state where each page P of the booklet 9 is opened. That is, for example, the logical page data LP1 includes data of pages P1 and P16 of the booklet 9, and the logical page data LP2 includes data of pages P2 and P3 of the booklet 9, and the logical page data LP3. Includes data of pages P4 and P5 of the booklet 9. The same applies to the logical page data LP4 to LP7. The logical page data LP8 includes pages P14 and P15 of the booklet 9.

このような論理ページデータLP1〜LP8は、例えば、冊子9を開いて、スキャナやデジタルカメラなどを用いて画像を取得することにより生成される。この場合には、論理ページデータLP1〜LP8は、例えばビットマップデータである。なお、これに限定されるものではなく、論理ページデータLP1〜LP8を、例えば、ワードプロセッサやDTPソフトウェアなどを用いて作成してもよい。この場合には、論理ページデータLP1〜LP8は、例えばビットマップデータであってもよいし、ベクターデータであってもよい。また、論理ページデータLP1〜LP8は、図形を含んでもよいし、文字を含んでもよい。   Such logical page data LP1 to LP8 are generated, for example, by opening a booklet 9 and acquiring an image using a scanner or a digital camera. In this case, the logical page data LP1 to LP8 are, for example, bitmap data. However, the present invention is not limited to this, and the logical page data LP1 to LP8 may be created using, for example, a word processor or DTP software. In this case, the logical page data LP1 to LP8 may be, for example, bitmap data or vector data. Further, the logical page data LP1 to LP8 may include graphics or characters.

図2において、“1L”は、論理ページデータLP1の左側を示し、冊子9のページP16に対応する。“1R”は、論理ページデータLP1の右側を示し、冊子9のページP1に対応する。“2L”,“2R”,“3L”,“3R”,“4L”,“4R”,“5L”,“5R”,“6L”,“6R”,“7L”,“7R”,“8L”,“8R”についても同様である。   In FIG. 2, “1L” indicates the left side of the logical page data LP1 and corresponds to page P16 of the booklet 9. “1R” indicates the right side of the logical page data LP1 and corresponds to the page P1 of the booklet 9. “2L”, “2R”, “3L”, “3R”, “4L”, “4R”, “5L”, “5R”, “6L”, “6R”, “7L”, “7R”, “8L” The same applies to “8R”.

このような論理ページデータLPは、ユーザにとって使いやすいものである。すなわち、ユーザは、論理ページデータLPを順次閲覧することにより、その冊子9のページを1枚1枚めくる感覚で冊子9を閲覧することができ、冊子9の内容を容易に把握することができる。   Such logical page data LP is easy for the user to use. That is, by sequentially browsing the logical page data LP, the user can browse the booklet 9 as if turning the pages of the booklet 9 one by one, and can easily grasp the contents of the booklet 9. .

しかしながら、このような複数の論理ページデータLPに基づいて、冊子9を作成しようとする場合には、まず、複数の論理ページデータLPに基づいて、以下に示す複数の物理ページデータPPを生成し、その複数の物理ページデータPPを印刷して製本する必要がある。   However, when the booklet 9 is to be created based on such a plurality of logical page data LP, first, a plurality of physical page data PP shown below are generated based on the plurality of logical page data LP. The plurality of physical page data PP must be printed and bound.

物理ページデータPP1〜PP8は、図3に示したように、4枚の記録媒体M1〜M4を用いて冊子9を作成する場合の、記録媒体M1〜M4に印刷するデータである。   The physical page data PP1 to PP8 are data to be printed on the recording media M1 to M4 when the booklet 9 is created using the four recording media M1 to M4 as shown in FIG.

物理ページデータPP1は、記録媒体M1の表面に印刷するデータであり、論理ページデータLP1の左半分(“1L”)および論理ページデータLP1の右半分(“1R”)を含むものである。物理ページデータPP2は、記録媒体M1の裏面に印刷するデータであり、論理ページデータLP2の左半分(“2L”)および論理ページデータLP8の右半分(“8R”)を含むものである。すなわち、記録媒体M1は、表面が冊子9のページP16,P1に対応し、裏面が冊子9のページP2,P15に対応している。   The physical page data PP1 is data to be printed on the surface of the recording medium M1, and includes the left half (“1L”) of the logical page data LP1 and the right half (“1R”) of the logical page data LP1. The physical page data PP2 is data to be printed on the back surface of the recording medium M1, and includes the left half (“2L”) of the logical page data LP2 and the right half (“8R”) of the logical page data LP8. That is, the recording medium M1 has a front surface corresponding to pages P16 and P1 of the booklet 9, and a back surface corresponding to pages P2 and P15 of the booklet 9.

物理ページデータPP3は、記録媒体M2の表面に印刷するデータであり、論理ページデータLP8の左半分(“8L”)および論理ページデータLP2の右半分(“2R”)を含むものである。物理ページデータPP4は、記録媒体M2の裏面に印刷するデータであり、論理ページデータLP3の左半分(“3L”)および論理ページデータLP7の右半分(“7R”)を含むものである。すなわち、記録媒体M2は、表面が冊子9のページP14,P3に対応し、裏面が冊子9のページP4,P13に対応している。   The physical page data PP3 is data to be printed on the surface of the recording medium M2, and includes the left half (“8L”) of the logical page data LP8 and the right half (“2R”) of the logical page data LP2. The physical page data PP4 is data to be printed on the back surface of the recording medium M2, and includes the left half (“3L”) of the logical page data LP3 and the right half (“7R”) of the logical page data LP7. That is, the recording medium M2 has a front surface corresponding to pages P14 and P3 of the booklet 9, and a back surface corresponding to pages P4 and P13 of the booklet 9.

物理ページデータPP5は、記録媒体M3の表面に印刷するデータであり、論理ページデータLP7の左半分(“7L”)および論理ページデータLP3の右半分(“3R”)を含むものである。物理ページデータPP6は、記録媒体M3の裏面に印刷するデータであり、論理ページデータLP4の左半分(“4L”)および論理ページデータLP6の右半分(“6R”)を含むものである。すなわち、記録媒体M3は、表面が冊子9のページP12,P5に対応し、裏面が冊子9のページP6,P11に対応している。   The physical page data PP5 is data to be printed on the surface of the recording medium M3, and includes the left half (“7L”) of the logical page data LP7 and the right half (“3R”) of the logical page data LP3. The physical page data PP6 is data to be printed on the back surface of the recording medium M3, and includes the left half (“4L”) of the logical page data LP4 and the right half (“6R”) of the logical page data LP6. That is, the front surface of the recording medium M3 corresponds to the pages P12 and P5 of the booklet 9, and the back surface corresponds to the pages P6 and P11 of the booklet 9.

物理ページデータPP7は、記録媒体M4の表面に印刷するデータであり、論理ページデータLP6の左半分(“6L”)および論理ページデータLP4の右半分(“4R”)を含むものである。物理ページデータPP8は、記録媒体M4の裏面に印刷するデータであり、論理ページデータLP5の左半分(“5L”)および論理ページデータLP5の右半分(“5R”)を含むものである。すなわち、記録媒体M4は、表面が冊子9のページP10,P17に対応し、裏面が冊子9のページP8,P9に対応している。   The physical page data PP7 is data to be printed on the surface of the recording medium M4, and includes the left half (“6L”) of the logical page data LP6 and the right half (“4R”) of the logical page data LP4. The physical page data PP8 is data to be printed on the back surface of the recording medium M4, and includes the left half (“5L”) of the logical page data LP5 and the right half (“5R”) of the logical page data LP5. That is, the front surface of the recording medium M4 corresponds to the pages P10 and P17 of the booklet 9, and the back surface corresponds to the pages P8 and P9 of the booklet 9.

このように、物理ページデータPP1〜PP8は、論理ページデータLP1〜LP8のそれぞれの左半分のデータおよび右半分のデータを、論理ページデータLP間で並び替えたものである。このような物理ページデータPP1〜PP8が印刷された記録媒体M1〜M4を用いて製本することにより、図1に示したような冊子9を作成することができる。   As described above, the physical page data PP1 to PP8 are obtained by rearranging the left half data and the right half data of the logical page data LP1 to LP8 between the logical page data LP. The booklet 9 as shown in FIG. 1 can be created by bookbinding using the recording media M1 to M4 on which such physical page data PP1 to PP8 are printed.

<2.実施の形態>
[構成例]
図4は、本発明の一実施の形態に係る画像形成装置が適用されたホストコンピュータ1の一構成例を表すものである。ホストコンピュータ1は、コンピュータ本体10と、ディスプレイ5と、キーボード6と、マウス7とを備えている。ホストコンピュータ1は、この例では、パーソナルコンピュータである。
<2. Embodiment>
[Configuration example]
FIG. 4 shows a configuration example of the host computer 1 to which the image forming apparatus according to the embodiment of the present invention is applied. The host computer 1 includes a computer main body 10, a display 5, a keyboard 6, and a mouse 7. In this example, the host computer 1 is a personal computer.

コンピュータ本体10は、処理部11と、HDD(Hard Disk Drive)12と、メモリ13と、インタフェース14と、ディスプレイインタフェース15とを有している。処理部11は、例えばCPU(Central Processing Unit)を用いて構成されるものであり、オペレーティングシステム100(後述)や、アプリケーションソフトウェア90(後述)を含む各種プログラムを実行するものである。HDD12は、各種プログラムを記憶するものである。メモリ13は、処理部11が処理を行う際に一時的に情報を記憶するものである。ディスプレイインタフェース15は、コンピュータ本体10にディスプレイ5を接続するためのインタフェースであり、ディスプレイ5に対して画像信号を供給するものである。インタフェース14は、コンピュータ本体10に外部機器を接続するためのインタフェースである。この例では、コンピュータ本体10は、このインタフェース14を介して、キーボード6およびマウス7に接続されている。処理部11、HDD12、メモリ13、ディスプレイインタフェース15、およびインタフェース14は、バス19を介して互いに接続されている。   The computer main body 10 includes a processing unit 11, an HDD (Hard Disk Drive) 12, a memory 13, an interface 14, and a display interface 15. The processing unit 11 is configured using, for example, a CPU (Central Processing Unit), and executes various programs including an operating system 100 (described later) and application software 90 (described later). The HDD 12 stores various programs. The memory 13 temporarily stores information when the processing unit 11 performs processing. The display interface 15 is an interface for connecting the display 5 to the computer main body 10 and supplies an image signal to the display 5. The interface 14 is an interface for connecting an external device to the computer main body 10. In this example, the computer main body 10 is connected to the keyboard 6 and the mouse 7 via the interface 14. The processing unit 11, HDD 12, memory 13, display interface 15, and interface 14 are connected to each other via a bus 19.

ディスプレイ5は、コンピュータ本体10から供給された画像信号に基づいて画像を表示するものである。キーボード6およびマウス7は、ユーザが情報を入力する際に用いるものである。   The display 5 displays an image based on the image signal supplied from the computer main body 10. The keyboard 6 and the mouse 7 are used when the user inputs information.

また、この例では、コンピュータ本体10は、インタフェース14を介して、プリンタ8に接続されている。プリンタ8は、コンピュータ本体10から供給された印刷データに基づいて印刷動作を行うものである。この例では、プリンタ8は、両面印刷を行うことができるものである。また、この例では、プリンタ8は、カセットや手差しトレイなど、記録媒体を供給する媒体供給手段を複数有するものである。   In this example, the computer main body 10 is connected to the printer 8 via the interface 14. The printer 8 performs a printing operation based on the print data supplied from the computer main body 10. In this example, the printer 8 can perform double-sided printing. In this example, the printer 8 has a plurality of medium supply means for supplying a recording medium such as a cassette and a manual feed tray.

このホストコンピュータ1には、このプリンタ8の動作を制御するためのプリンタドライバ103(後述)がインストールされている。そして、ホストコンピュータ1は、このプリンタドライバ103を用いて、複数の論理ページデータLPに基づいて複数の物理ページデータPPを生成し、この複数の物理ページデータPPを含む印刷データをプリンタ8に供給するようになっている。   A printer driver 103 (described later) for controlling the operation of the printer 8 is installed in the host computer 1. Then, the host computer 1 uses the printer driver 103 to generate a plurality of physical page data PP based on the plurality of logical page data LP, and supplies print data including the plurality of physical page data PP to the printer 8. It is supposed to be.

図5は、ホストコンピュータ1におけるソフトウェア構成の一例を表すものである。この例では、ホストコンピュータ1では、オペレーティングシステム100およびアプリケーションソフトウェア90が実行されている。   FIG. 5 shows an example of a software configuration in the host computer 1. In this example, an operating system 100 and application software 90 are executed on the host computer 1.

アプリケーションソフトウェア90は、例えば、画像編集ソフトウェア、ワードプロセッサソフトウェア、DTPソフトウェアなどであり、複数の論理ページデータLPを生成するものである。アプリケーションソフトウェア90は、ユーザインタフェース200を呼び出し、各種印刷設定を行わせ、印刷設定情報A200を受け取る。そして、アプリケーションソフトウェア90は、複数の論理ページデータLPおよび印刷設定情報A200を用いて、オペレーティングシステム100に対して印刷指示を行うようになっている。   The application software 90 is, for example, image editing software, word processor software, DTP software, or the like, and generates a plurality of logical page data LP. The application software 90 calls the user interface 200, makes various print settings, and receives the print setting information A200. The application software 90 issues a print instruction to the operating system 100 using a plurality of logical page data LP and print setting information A200.

オペレーティングシステム100は、GDI(Graphics Device Interface)101と、スプーラ102と、プリンタドライバ103とを有している。   The operating system 100 includes a GDI (Graphics Device Interface) 101, a spooler 102, and a printer driver 103.

GDI101は、アプリケーションソフトウェア90から供給された印刷指示を受け取るものである。このGDI101は、デバイスごとに異なる描画処理を抽象化するために設けられたものであり、これにより、デバイス間の相違が吸収されるようになっている。   The GDI 101 receives a print instruction supplied from the application software 90. The GDI 101 is provided for abstracting different rendering processes for each device, so that differences between devices are absorbed.

スプーラ102は、アプリケーションソフトウェア90からGDI101を介して供給された印刷指示に基づいて、ジャーナルファイルであるEMFファイルF102を生成し、このEMFファイルF102を、HDD12またはメモリ13に記憶させるものである。EMFファイルF102は、複数の論理ページデータLPおよび印刷設定情報A200を含むものである。また、スプーラ102は、プリンタドライバ103のプリントプロセッサ300(後述)を呼び出すとともに、このプリントプロセッサ300に、EMFファイルF102に含まれる複数の論理ページデータLPおよび印刷設定情報A200を供給する機能をも有している。   The spooler 102 generates an EMF file F102, which is a journal file, based on a print instruction supplied from the application software 90 via the GDI 101, and stores the EMF file F102 in the HDD 12 or the memory 13. The EMF file F102 includes a plurality of logical page data LP and print setting information A200. The spooler 102 also has a function of calling a print processor 300 (described later) of the printer driver 103 and supplying a plurality of logical page data LP and print setting information A200 included in the EMF file F102 to the print processor 300. doing.

プリンタドライバ103は、プリンタ8の動作を制御する、いわゆるデバイスドライバである。プリンタドライバ103は、ユーザインタフェース200と、プリントプロセッサ300と、レンダリング部400とを有している。   The printer driver 103 is a so-called device driver that controls the operation of the printer 8. The printer driver 103 includes a user interface 200, a print processor 300, and a rendering unit 400.

ユーザインタフェース200は、ユーザの操作に基づいて、各種印刷設定を行うものである。具体的には、ユーザインタフェース200は、印刷に先立ち、アプリケーションソフトウェア90から呼び出され、ユーザの操作を受け付ける。そして、ユーザインタフェース200は、ユーザの操作に基づいて印刷設定情報A200を生成し、その印刷設定情報A200をアプリケーションソフトウェア90に供給するようになっている。   The user interface 200 performs various print settings based on user operations. Specifically, the user interface 200 is called from the application software 90 prior to printing and accepts user operations. The user interface 200 generates print setting information A200 based on a user operation, and supplies the print setting information A200 to the application software 90.

プリントプロセッサ300は、スプーラ102から呼び出され、EMFファイルF102を読み込み、このEMFファイルF102の内容を解釈し、レンダリング部400を呼び出すものである。その際、プリントプロセッサ300は、後述するように、EMFファイルF102に含まれる複数の論理ページデータLPの順番を並び替えることにより、データの再構成を行うようになっている。   The print processor 300 is called from the spooler 102, reads the EMF file F102, interprets the contents of the EMF file F102, and calls the rendering unit 400. At this time, as will be described later, the print processor 300 reconfigures the data by rearranging the order of the plurality of logical page data LP included in the EMF file F102.

レンダリング部400は、プリントプロセッサ300による呼び出しに基づいて描画処理を行うことにより、印刷命令A400を生成し、その印刷命令A400をプリンタに供給するものである。その際、レンダリング部400は、後述するように、順次供給された論理ページデータLPのそれぞれにおいて、右半分または左半分をクリップするとともに、描画命令の座標にオフセット値を加えることにより、物理ページデータPPを生成するようになっている。   The rendering unit 400 generates a print command A400 by performing a drawing process based on a call by the print processor 300, and supplies the print command A400 to the printer. At that time, as will be described later, the rendering unit 400 clips the right half or the left half of each of the sequentially supplied logical page data LP, and adds an offset value to the coordinates of the rendering command, thereby providing physical page data. PP is generated.

次に、ユーザインタフェース200、プリントプロセッサ300、およびレンダリング部400について、より詳細に説明する。   Next, the user interface 200, the print processor 300, and the rendering unit 400 will be described in more detail.

図6は、ユーザインタフェース200の一構成例を表すものである。ユーザインタフェース200は、表示初期化部201と、冊子印刷設定部202と、媒体サイズ設定部203と、媒体供給方法設定部204と、レイアウト処理部205と、プレビュー処理部206と、設定変更処理部207と、記憶部208と、応答処理部209とを有している。   FIG. 6 illustrates a configuration example of the user interface 200. The user interface 200 includes a display initialization unit 201, a booklet print setting unit 202, a medium size setting unit 203, a medium supply method setting unit 204, a layout processing unit 205, a preview processing unit 206, and a setting change processing unit. 207, a storage unit 208, and a response processing unit 209.

表示初期化部201は、アプリケーションソフトウェア90による呼び出しに基づいて、各設定項目の表示状態の初期化を行うものである。冊子印刷設定部202は、ユーザの操作に基づいて、冊子印刷を行うか否かを設定することにより、冊子印刷モード情報IMOを生成するものである。媒体サイズ設定部203は、ユーザの操作に基づいて、冊子印刷を行う際の記録媒体のサイズを設定することにより、媒体サイズ情報ISZを生成するものである。媒体供給方法設定部204は、ユーザの操作に基づいて、記録媒体を供給する方法を設定することにより、媒体供給情報ISUを生成するものである。具体的には、例えば冊子の表紙用の記録媒体は手差しトレイなどを用いて供給し、それ以外の記録媒体はカセットから供給するように設定することができるようになっている。これにより、例えば表紙用の記録媒体のみを光沢紙などにすることができる。レイアウト処理部205は、記録媒体における物理ページPPの配置を決定するものである。プレビュー処理部206は、レイアウト処理部205が決定したレイアウトを、ユーザに対して視覚的に示すものである。設定変更処理部207は、冊子印刷モード情報IMO、媒体サイズ情報ISZ、および媒体供給情報ISUを、印刷設定情報A208として、記憶部208に記憶するものである。記憶部208は、例えばメモリ13(図4)に対応するものであり、この印刷設定情報A208を記憶するものである。応答処理部209は、この印刷設定情報A208をアプリケーションソフトウェア90に供給することにより、アプリケーションソフトウェア90に対して応答するものである。   The display initialization unit 201 initializes the display state of each setting item based on the call by the application software 90. The booklet print setting unit 202 generates booklet print mode information IMO by setting whether or not to perform booklet printing based on a user operation. The medium size setting unit 203 generates medium size information ISZ by setting the size of a recording medium when performing booklet printing based on a user operation. The medium supply method setting unit 204 generates medium supply information ISU by setting a method for supplying a recording medium based on a user operation. Specifically, for example, it is possible to set so that the recording medium for the cover of the booklet is supplied using a manual tray and the other recording medium is supplied from the cassette. Thus, for example, only the cover recording medium can be glossy paper. The layout processing unit 205 determines the arrangement of physical pages PP on the recording medium. The preview processing unit 206 visually shows the layout determined by the layout processing unit 205 to the user. The setting change processing unit 207 stores the booklet print mode information IMO, the medium size information ISZ, and the medium supply information ISU in the storage unit 208 as print setting information A208. The storage unit 208 corresponds to, for example, the memory 13 (FIG. 4) and stores the print setting information A208. The response processing unit 209 responds to the application software 90 by supplying the print setting information A208 to the application software 90.

図7は、プリントプロセッサ300の一構成例を表すものである。プリントプロセッサ300は、論理ページデータ数取得部301と、再構成処理部302と、再生処理部303と、記憶部304とを有している。   FIG. 7 illustrates a configuration example of the print processor 300. The print processor 300 includes a logical page data number acquisition unit 301, a reconstruction processing unit 302, a reproduction processing unit 303, and a storage unit 304.

論理ページデータ数取得部301は、EMFファイル7に含まれる論理ページデータLPの数を取得し、論理ページデータ数情報A301を生成するものである。再構成処理部302は、論理ページデータ数情報A301に基づいて、プリントプロセッサ300が複数の論理ページデータLPを出力する際の論理ページデータLPの順番を決定し、順番情報A302を生成するものである。再生処理部303は、順番情報A302に基づいて、EMFファイルF102から複数の論理ページデータLPを順次取得しレンダリング部400を順次呼び出すことにより、論理ページデータLPを順次再生するものである。記憶部304は、例えばメモリ13(図4)に対応するものであり、論理ページデータ数情報A301、順番情報A302、およびページカウント値CNT1を記憶するものである。このページカウント値CNT1は、再生処理部303が動作するときに使用するものであり、処理対象であるページを表すものである。   The logical page data number acquisition unit 301 acquires the number of logical page data LP included in the EMF file 7 and generates logical page data number information A301. The reconfiguration processing unit 302 determines the order of the logical page data LP when the print processor 300 outputs a plurality of logical page data LP based on the logical page data number information A301, and generates the order information A302. is there. The reproduction processing unit 303 sequentially reproduces the logical page data LP by sequentially acquiring a plurality of logical page data LP from the EMF file F102 and sequentially calling the rendering unit 400 based on the order information A302. The storage unit 304 corresponds to, for example, the memory 13 (FIG. 4), and stores logical page data number information A301, order information A302, and a page count value CNT1. This page count value CNT1 is used when the reproduction processing unit 303 operates, and represents a page to be processed.

図8は、レンダリング部400の一構成例を表すものである。レンダリング部400は、開始処理部410と、描画処理部420と、完了処理部430と、記憶部404とを有している。   FIG. 8 illustrates a configuration example of the rendering unit 400. The rendering unit 400 includes a start processing unit 410, a drawing processing unit 420, a completion processing unit 430, and a storage unit 404.

開始処理部410は、プリントプロセッサ300による呼び出しに基づいて、プリントプロセッサ300から順次供給される論理ページデータLPのそれぞれに対して開始処理を行うものである。開始処理部410は、両面印刷処理部411と、媒体供給方法処理部412と、オフセット値算出部413とを有している。両面印刷処理部411は、記録媒体の表面に印刷するのか裏面に印刷するのかを判断するものである。媒体供給方法処理部412は、記録媒体を供給する方法を判断するものである。オフセット値算出部413は、記録媒体における論理ページデータLPの配置位置における座標オフセット値を示すオフセット値A413を算出するものである。   The start processing unit 410 performs start processing on each of the logical page data LP sequentially supplied from the print processor 300 based on the call by the print processor 300. The start processing unit 410 includes a duplex printing processing unit 411, a medium supply method processing unit 412, and an offset value calculation unit 413. The double-sided printing processing unit 411 determines whether to print on the front surface or the back surface of the recording medium. The medium supply method processing unit 412 determines a method for supplying a recording medium. The offset value calculation unit 413 calculates an offset value A413 indicating the coordinate offset value at the position where the logical page data LP is arranged on the recording medium.

描画処理部420は、順次供給される論理ページデータLPのそれぞれに対して描画処理を行うものである。描画処理部420は、クリップ処理部421と、オフセット値加算部422と、描画命令生成部423とを有している。クリップ処理部421は、論理ページデータLPの左半分または右半分を切り抜くものである。具体的には、クリップ処理部421は、論理ページデータLPの左半分に基づいて物理ページデータPPを生成する場合には、その論理ページデータLPの右半分を切り抜く。また、クリップ処理部421は、論理ページデータLPの右半分に基づいて物理ページデータPPを生成する場合には、その論理ページデータLPの左半分を切り抜くようになっている。オフセット値加算部422は、論理ページデータLPに含まれる描画命令の座標に対して、オフセット値A413を加算するものである。描画命令生成部423は、クリップ処理部421およびオフセット値加算部422による処理結果に基づいて、プリンタ8が解釈出来る描画命令を生成するものである。   The drawing processing unit 420 performs drawing processing on each of the logical page data LP that is sequentially supplied. The drawing processing unit 420 includes a clip processing unit 421, an offset value addition unit 422, and a drawing command generation unit 423. The clip processing unit 421 cuts out the left half or right half of the logical page data LP. Specifically, when the physical page data PP is generated based on the left half of the logical page data LP, the clip processing unit 421 cuts out the right half of the logical page data LP. Further, when the physical page data PP is generated based on the right half of the logical page data LP, the clip processing unit 421 cuts out the left half of the logical page data LP. The offset value adding unit 422 adds an offset value A413 to the coordinates of the drawing command included in the logical page data LP. The drawing command generation unit 423 generates a drawing command that can be interpreted by the printer 8 based on the processing results of the clip processing unit 421 and the offset value addition unit 422.

完了処理部430は、描画処理部420により順次処理された論理ページデータPPのそれぞれに対して完了処理を行うものである。完了処理部430は、ページ完了命令生成部431と、カウンタ加算処理部432とを有している。ページ完了命令生成部431は、記録媒体の片面に印刷されるデータが出力されるたびに、ページ完了命令を生成するものである。これにより、レンダリング部400では、物理ページデータPPが生成されるようになっている。カウンタ加算処理部432は、ページカウント値CNT2をインクリメントするものである。このページカウント値CNT2は、開始処理部410および描画処理部420が動作するときに使用するものであり、処理対象であるページを表すものである。   The completion processing unit 430 performs completion processing for each of the logical page data PP sequentially processed by the drawing processing unit 420. The completion processing unit 430 includes a page completion command generation unit 431 and a counter addition processing unit 432. The page completion command generation unit 431 generates a page completion command every time data to be printed on one side of the recording medium is output. Thereby, the rendering unit 400 generates physical page data PP. The counter addition processing unit 432 increments the page count value CNT2. The page count value CNT2 is used when the start processing unit 410 and the drawing processing unit 420 operate, and represents a page to be processed.

記憶部404は、例えばメモリ13(図4)に対応するものであり、オフセット値A413およびページカウント値CNT2を記憶するものである。   The storage unit 404 corresponds to, for example, the memory 13 (FIG. 4), and stores the offset value A413 and the page count value CNT2.

ここで、論理ページデータLPは、本発明における「ページデータ」の一具体例に対応する。物理ページデータPPは、本発明における「変換ページデータ」の一具体例に対応する。インタフェース14は、本発明における「送信部」の一具体例に対応する。   Here, the logical page data LP corresponds to a specific example of “page data” in the present invention. The physical page data PP corresponds to a specific example of “conversion page data” in the present invention. The interface 14 corresponds to a specific example of “transmission unit” in the present invention.

[動作および作用]
続いて、本実施の形態のホストコンピュータ1の動作および作用について説明する。
[Operation and Action]
Next, the operation and action of the host computer 1 of this embodiment will be described.

(全体動作概要)
まず、図5を参照して、ホストコンピュータ1の全体動作概要を説明する。まず、アプリケーションソフトウェア90は、複数の論理ページデータLPに基づく印刷指示に先立ち、ユーザの操作に基づいて、ユーザインタフェース200を呼び出す。そして、ユーザインタフェース200は、ユーザの操作に基づいて印刷設定情報A200を生成し、その印刷設定情報A200をアプリケーションソフトウェア90に供給する。そして、アプリケーションソフトウェア90は、複数の論理ページデータLPおよび印刷設定情報A200を用いて、オペレーティングシステム100に対して印刷指示を行う。オペレーティングシステム100のGDI101は、この印刷指示を受け取り、スプーラ102は、この印刷指示に基づいてEMFファイルF102を生成する。プリントプロセッサ300は、EMFファイルF102を読み込み、このEMFファイルF102の内容を解釈し、レンダリング部400を呼び出す。その際、プリントプロセッサ300は、EMFファイルF102に含まれる複数の論理ページデータLPの順番を並び替えることにより、データの再構成を行う。レンダリング部400は、プリントプロセッサ300による呼び出しに基づいて描画処理を行うことにより、印刷命令A400を生成し、その印刷命令A400をプリンタに供給する。その際、レンダリング部400は、順次供給された論理ページデータLPのそれぞれにおいて、右半分または左半分をクリップするとともに、描画命令の座標にオフセット値A413を加えることにより、物理ページデータPPを生成する。
(Overview of overall operation)
First, the overall operation outline of the host computer 1 will be described with reference to FIG. First, the application software 90 calls the user interface 200 based on a user operation prior to a print instruction based on a plurality of logical page data LP. Then, the user interface 200 generates print setting information A200 based on a user operation, and supplies the print setting information A200 to the application software 90. Then, the application software 90 issues a print instruction to the operating system 100 using the plurality of logical page data LP and the print setting information A200. The GDI 101 of the operating system 100 receives this print instruction, and the spooler 102 generates an EMF file F102 based on this print instruction. The print processor 300 reads the EMF file F102, interprets the contents of the EMF file F102, and calls the rendering unit 400. At that time, the print processor 300 reconfigures the data by rearranging the order of the plurality of logical page data LP included in the EMF file F102. The rendering unit 400 generates a print command A400 by performing a drawing process based on the call by the print processor 300, and supplies the print command A400 to the printer. At that time, the rendering unit 400 generates the physical page data PP by clipping the right half or the left half in each of the sequentially supplied logical page data LP and adding the offset value A413 to the coordinates of the rendering command. .

(ユーザインタフェース200の詳細動作)
図9は、ユーザインタフェース200における設定処理の一動作例を表すものである。ユーザインタフェース200は、アプリケーションソフトウェア90から呼び出されると、ユーザの操作に基づいて、冊子印刷モード情報IMO、媒体サイズ情報ISZ、および媒体供給情報ISUを含む印刷設定情報A200を設定する。以下に、この動作について詳細に説明する。
(Detailed operation of user interface 200)
FIG. 9 illustrates an operation example of the setting process in the user interface 200. When called from the application software 90, the user interface 200 sets print setting information A200 including booklet print mode information IMO, medium size information ISZ, and medium supply information ISU, based on a user operation. This operation will be described in detail below.

まず、ユーザインタフェース200がアプリケーションソフトウェア90から呼び出されると、表示初期化部201は、各設定項目の表示状態の初期化を行う(ステップS1)。   First, when the user interface 200 is called from the application software 90, the display initialization unit 201 initializes the display state of each setting item (step S1).

次に、冊子印刷設定部202は、ユーザの操作に基づいて、冊子印刷を行うか否かを設定する(ステップS2)。冊子印刷を行わない場合(ステップS2において“N”)には、冊子印刷を無効にする旨含む冊子印刷モード情報IMOを生成し、ステップS11に進む。また、冊子印刷を行う場合(ステップS2において“Y”)には、冊子印刷設定部202は、冊子印刷を有効にする旨含む冊子印刷モード情報IMOを生成する。そして、冊子印刷設定部202は、冊子印刷設定画面の初期化を行った後、この冊子印刷設定画面を表示する(ステップS3)。   Next, the booklet print setting unit 202 sets whether or not to perform booklet printing based on a user operation (step S2). When booklet printing is not performed (“N” in step S2), booklet printing mode information IMO including the effect of disabling booklet printing is generated, and the process proceeds to step S11. When booklet printing is performed (“Y” in step S2), the booklet printing setting unit 202 generates booklet printing mode information IMO including the effect of enabling booklet printing. The booklet print setting unit 202 initializes the booklet print setting screen, and then displays the booklet print setting screen (step S3).

次に、媒体サイズ設定部203は、ユーザの操作に基づいて、記録媒体のサイズを設定し、媒体サイズ情報ISZを生成する(ステップS4)。そして、媒体サイズ設定部203は、記録媒体のサイズが変更されたか否かを確認する(ステップS5)。記録媒体のサイズが変更されていない場合(ステップS5において“N”)には、ステップS8に進む。記録媒体のサイズが変更された場合(ステップS5において“Y”)には、レイアウト処理部205は、レイアウト処理を行うことにより、そのサイズの記録媒体における物理ページPPの配置を決定し(ステップS6)、プレビュー処理部206が、プレビュー処理を行うことにより、レイアウト処理部205が決定したレイアウトを、ユーザに対して視覚的に示す(ステップS7)。   Next, the medium size setting unit 203 sets the size of the recording medium based on a user operation, and generates medium size information ISZ (step S4). Then, the medium size setting unit 203 confirms whether or not the size of the recording medium has been changed (step S5). If the size of the recording medium has not been changed (“N” in step S5), the process proceeds to step S8. When the size of the recording medium is changed (“Y” in step S5), the layout processing unit 205 determines the arrangement of physical pages PP on the recording medium of that size by performing layout processing (step S6). The preview processing unit 206 visually displays the layout determined by the layout processing unit 205 to the user by performing the preview processing (step S7).

次に、媒体供給方法設定部204は、ユーザの操作に基づいて、記録媒体を供給する方法を設定し、媒体供給情報ISUを生成する(ステップS8)。具体的には、例えば、冊子の表紙用の記録媒体は手差しトレイなどを用いて供給し、それ以外の記録媒体はカセットから供給するように設定する。また、例えば、全ての記録媒体をカセットから供給するように設定してもよい。   Next, the medium supply method setting unit 204 sets a method for supplying a recording medium based on a user operation, and generates medium supply information ISU (step S8). Specifically, for example, a booklet cover recording medium is supplied using a manual tray, and other recording media are set to be supplied from a cassette. For example, all the recording media may be set to be supplied from the cassette.

次に、設定変更処理部207は、設定変更処理を行うことにより、冊子印刷モード情報IMO、媒体サイズ情報ISZ、および媒体供給情報ISUを、印刷設定情報A208として、記憶部208に記憶する(ステップS9)。   Next, the setting change processing unit 207 stores the booklet print mode information IMO, the medium size information ISZ, and the medium supply information ISU in the storage unit 208 as the print setting information A208 by performing the setting change process (step S208). S9).

そして、ユーザインタフェース200は、ユーザの操作に基づいて、ユーザが操作を完了したか否かを確認する(ステップS10)。ユーザが操作を完了していない場合(ステップS10において“N”)には、ステップS4に戻る。また、ユーザが操作を完了した場合(ステップS10において“Y”)には、応答処理部209は、応答処理を行うことにより、印刷設定情報A208をアプリケーションソフトウェア90に供給する(ステップS11)。   Then, the user interface 200 confirms whether or not the user has completed the operation based on the user's operation (step S10). If the user has not completed the operation ("N" in step S10), the process returns to step S4. When the user completes the operation ("Y" in step S10), the response processing unit 209 supplies the print setting information A208 to the application software 90 by performing response processing (step S11).

以上で、このフローは終了する。   Thus, this flow ends.

アプリケーションソフトウェア90は、複数の論理ページデータLPおよび、ステップS11において取得した印刷設定情報A200を用いて、オペレーティングシステム100に対して印刷指示を行う。スプーラ102は、GDI101を介してこの印刷指示を受け取り、EMFファイルF102を生成する。そして、スプーラ102は、プリントプロセッサ300を呼び出す。   The application software 90 issues a print instruction to the operating system 100 using the plurality of logical page data LP and the print setting information A200 acquired in step S11. The spooler 102 receives this print instruction via the GDI 101 and generates an EMF file F102. Then, the spooler 102 calls the print processor 300.

(プリントプロセッサ300の詳細動作)
図10は、プリントプロセッサ300における処理の一動作例を表すものである。プリントプロセッサ300は、EMFファイルF102に含まれる複数の論理ページデータLPの順番を並び替えることにより、データの再構成を行う。以下に、この動作について詳細に説明する。
(Detailed operation of print processor 300)
FIG. 10 illustrates an operation example of processing in the print processor 300. The print processor 300 performs data reconstruction by rearranging the order of the plurality of logical page data LP included in the EMF file F102. This operation will be described in detail below.

まず、プリントプロセッサ300は、EMFファイルF102に含まれる冊子印刷モード情報IMOに基づいて、冊子印刷を行うか否かを取得する(ステップS21)。   First, the print processor 300 acquires whether or not to perform booklet printing based on the booklet printing mode information IMO included in the EMF file F102 (step S21).

冊子印刷を行う場合(ステップS21において“Y”)には、論理ページデータ数取得部301は、EMFファイル7に含まれる論理ページデータLPの数を取得し、論理ページデータ数情報A301を生成する(ステップS22)。   When booklet printing is performed (“Y” in step S21), the logical page data number acquisition unit 301 acquires the number of logical page data LP included in the EMF file 7, and generates logical page data number information A301. (Step S22).

次に、再構成処理部302は、再構成処理を行うことにより、プリントプロセッサ300が複数の論理ページデータLPを出力する際の論理ページデータLPの順番を決定し、順番情報A302を生成する(ステップS23)。   Next, the reconfiguration processing unit 302 performs reconfiguration processing to determine the order of logical page data LP when the print processor 300 outputs a plurality of logical page data LP, and generates order information A302 ( Step S23).

図11は、ホストコンピュータ1の一動作例を表すものである。再構成処理部302は、論理ページデータ数情報A301に基づいて、論理ページデータ数に応じた順番情報A302を生成する。具体的には、例えば、図1〜3に示した例では、論理ページデータLP1〜LP8の数は“8”であるので、再構成処理部302は、図11に示したように、“1128823773466455” を順番情報A302として生成する。   FIG. 11 shows an operation example of the host computer 1. The reconstruction processing unit 302 generates order information A302 corresponding to the number of logical page data based on the logical page data number information A301. Specifically, for example, in the example shown in FIGS. 1 to 3, the number of logical page data LP1 to LP8 is “8”, so that the reconfiguration processing unit 302 is “11288237734666555 as shown in FIG. "Is generated as the order information A302.

次に、再生処理部303は、この順番情報A302に基づいて、EMFファイルF102から複数の論理ページデータLPを順次取得してレンダリング部400を順次呼び出すことにより、論理ページデータLPを順次再生する(ステップS24)。   Next, the reproduction processing unit 303 sequentially reproduces the logical page data LP by sequentially acquiring the plurality of logical page data LP from the EMF file F102 and sequentially calling the rendering unit 400 based on the order information A302 ( Step S24).

図12は、再生処理部303の一動作例を表すものである。再生処理部303は、順番情報A302に基づいて、ページカウント値CNT1をインクリメントしながら論理ページデータLPを順次再生する。この例では、再生処理部303は、ページカウント値CNT1=0において論理ページデータLP1を再生し、ページカウント値CNT1=1において論理ページデータLP1を再生し、ページカウント値CNT1=2において論理ページデータLP2を再生し、ページカウント値CNT1=3において論理ページデータLP8を再生する。そして、再生処理部303は、ページカウント値CNT1=4において論理ページデータLP8を再生し、ページカウント値CNT1=5において論理ページデータLP2を再生し、ページカウント値CNT1=6において論理ページデータLP3を再生し、ページカウント値CNT1=7において論理ページデータLP7を再生する。そして、再生処理部303は、ページカウント値CNT1=8において論理ページデータLP7を再生し、ページカウント値CNT1=9において論理ページデータLP3を再生し、ページカウント値CNT1=10において論理ページデータLP4を再生し、ページカウント値CNT1=11において論理ページデータLP6を再生する。そして、再生処理部303は、ページカウント値CNT1=12において論理ページデータLP6を再生し、ページカウント値CNT1=13において論理ページデータLP4を再生し、ページカウント値CNT1=14において論理ページデータLP5を再生し、ページカウント値CNT1=15において論理ページデータLP5を再生する。   FIG. 12 illustrates an operation example of the reproduction processing unit 303. Based on the order information A302, the reproduction processing unit 303 sequentially reproduces the logical page data LP while incrementing the page count value CNT1. In this example, the reproduction processing unit 303 reproduces the logical page data LP1 at the page count value CNT1 = 0, reproduces the logical page data LP1 at the page count value CNT1 = 1, and logical page data at the page count value CNT1 = 2. LP2 is reproduced, and logical page data LP8 is reproduced at the page count value CNT1 = 3. The reproduction processing unit 303 reproduces the logical page data LP8 at the page count value CNT1 = 4, reproduces the logical page data LP2 at the page count value CNT1 = 5, and reproduces the logical page data LP3 at the page count value CNT1 = 6. The logical page data LP7 is reproduced at the page count value CNT1 = 7. The reproduction processing unit 303 reproduces the logical page data LP7 at the page count value CNT1 = 8, reproduces the logical page data LP3 at the page count value CNT1 = 9, and reproduces the logical page data LP4 at the page count value CNT1 = 10. The logical page data LP6 is reproduced at the page count value CNT1 = 11. The reproduction processing unit 303 reproduces the logical page data LP6 at the page count value CNT1 = 12, reproduces the logical page data LP4 at the page count value CNT1 = 13, and reproduces the logical page data LP5 at the page count value CNT1 = 14. The logical page data LP5 is reproduced at the page count value CNT1 = 15.

また、ステップS21において、冊子印刷を行わない場合(ステップS21において“N”)には、再生処理部303は、再生処理を行うことにより、複数の論理ページデータLPを、その順番のまま再生する(ステップS25)。   If no booklet printing is performed in step S21 ("N" in step S21), the reproduction processing unit 303 reproduces a plurality of logical page data LPs in the order by performing the reproduction process. (Step S25).

以上で、このフローは終了する。   Thus, this flow ends.

(レンダリング部400の詳細動作)
レンダリング部400は、プリントプロセッサ300による呼び出しに基づいて描画処理を行うことにより、印刷命令A400を生成し、その印刷命令A400をプリンタに供給する。次に、レンダリング部400の開始処理部410、描画処理部420、および完了処理部430について、詳細動作を順に説明する。
(Detailed operation of the rendering unit 400)
The rendering unit 400 generates a print command A400 by performing a drawing process based on the call by the print processor 300, and supplies the print command A400 to the printer. Next, detailed operations of the start processing unit 410, the drawing processing unit 420, and the completion processing unit 430 of the rendering unit 400 will be described in order.

図13は、開始処理部410における開始処理の一動作例を表すものである。開始処理部410は、プリントプロセッサ300による呼び出しに基づいて、プリントプロセッサ300から順次供給される論理ページデータLPのそれぞれに対して開始処理を行う。以下に、この動作について詳細に説明する。   FIG. 13 illustrates an operation example of the start process in the start processing unit 410. The start processing unit 410 performs start processing on each of the logical page data LP sequentially supplied from the print processor 300 based on the call by the print processor 300. This operation will be described in detail below.

まず、両面印刷処理部411は、ページカウント値CNT2に基づいて、記録媒体Mの表面に印刷するのか、あるいは記録媒体Mの裏面に印刷するのかを判断する(ステップS31)。図11に示したように、ページカウント値CNT2が“0”,“1”,“4”,“5”,“8”,“9”,…である場合には、両面印刷処理部411は、記録媒体Mの表面に印刷すると判断し(ステップS31において“Y”)、表面印刷命令を生成する(ステップS32)。また、ページカウント値CNT2が“2”,“3”,“6”,“7”,“10”,“11”,…である場合には、両面印刷処理部411は、記録媒体Mの裏面に印刷すると判断し(ステップS31において“N”)、裏面印刷命令を生成する(ステップS33)。   First, the double-sided printing processing unit 411 determines whether to print on the front surface of the recording medium M or on the back surface of the recording medium M based on the page count value CNT2 (step S31). As shown in FIG. 11, when the page count value CNT2 is “0”, “1”, “4”, “5”, “8”, “9”,. Then, it is determined that printing is to be performed on the surface of the recording medium M (“Y” in step S31), and a surface printing command is generated (step S32). When the page count value CNT2 is “2”, “3”, “6”, “7”, “10”, “11”,..., The double-sided printing processing unit 411 displays the back surface of the recording medium M. Is printed ("N" in step S31), and a back side print command is generated (step S33).

次に、媒体供給方法処理部412は、媒体供給情報ISUに基づいて、表紙用の記録媒体の供給方法が、他の記録媒体の供給方法と異なるか否かを確認する(ステップS34)。表紙用の記録媒体の供給方法が、他の記録媒体の供給方法と同じである場合(ステップS34において“N”)には、ステップS38に進む。   Next, based on the medium supply information ISU, the medium supply method processing unit 412 confirms whether the cover recording medium supply method is different from the other recording medium supply methods (step S34). If the cover recording medium supply method is the same as the other recording medium supply method ("N" in step S34), the process proceeds to step S38.

ステップS34において表紙用の記録媒体の供給方法が異なる場合(ステップS34において“Y”)には、媒体供給方法処理部412は、ページカウント値CNT2に基づいて、供給された論理ページデータLPが、表紙用の記録媒体に印刷すべきものであるか否かを確認する(ステップS35)。具体的には、媒体供給方法処理部412は、ページカウント値CNT2が“3”以下である場合には、供給された論理ページデータLPが、表紙用の記録媒体に印刷すべきものであると判断し(ステップS35において“Y”)、表紙用媒体供給命令を生成する(ステップS36)。また、媒体供給方法処理部412は、ページカウント値CNT2が“4”以上である場合には、供給された論理ページデータLPが、通常の記録媒体に印刷すべきものであると判断し(ステップS35において“N”)、媒体供給命令を生成する(ステップS37)。   When the supply method of the cover recording medium is different in step S34 ("Y" in step S34), the medium supply method processing unit 412 determines that the supplied logical page data LP is based on the page count value CNT2. It is confirmed whether or not it should be printed on the cover recording medium (step S35). Specifically, when the page count value CNT2 is “3” or less, the medium supply method processing unit 412 determines that the supplied logical page data LP is to be printed on the cover recording medium. (“Y” in step S35), a cover medium supply command is generated (step S36). If the page count value CNT2 is “4” or more, the medium supply method processing unit 412 determines that the supplied logical page data LP is to be printed on a normal recording medium (step S35). In step S37, a medium supply command is generated.

次に、オフセット値算出部413は、記録媒体における論理ページデータLPの配置位置における座標オフセット値を示すオフセット値A413を算出する(ステップS38)。   Next, the offset value calculation unit 413 calculates an offset value A413 indicating the coordinate offset value at the position where the logical page data LP is arranged on the recording medium (step S38).

以上で、このフローは終了する。開始処理部410は、順次供給された論理ページデータLPのそれぞれに対して、図13に示した動作を行う。   Thus, this flow ends. The start processing unit 410 performs the operation shown in FIG. 13 for each of the logical page data LP supplied sequentially.

図14は、描画処理部420における描画処理の一動作例を表すものである。描画処理部420は、順次供給された論理ページデータLPのそれぞれにおいて、右半分または左半分をクリップするとともに、描画命令の座標にオフセット値を加えることにより、物理ページデータPPを生成する。以下に、この動作について詳細に説明する。   FIG. 14 illustrates an operation example of the drawing processing in the drawing processing unit 420. The drawing processing unit 420 generates the physical page data PP by clipping the right half or the left half in each of the sequentially supplied logical page data LP and adding an offset value to the coordinates of the drawing command. This operation will be described in detail below.

まず、クリップ処理部421は、ページカウント値CNT2が偶数であるか否かを確認する(ステップS41)。ページカウント値CNT2が偶数である場合(ステップS41において“Y”)には、クリップ処理部421は、論理ページデータLPの右半分を切り抜く(ステップS43)。また、ページカウント値CNT2が奇数である場合(ステップS41において“N”)には、クリップ処理部421は、論理ページデータLPの左半分を切り抜く(ステップS44)。   First, the clip processing unit 421 checks whether or not the page count value CNT2 is an even number (step S41). When the page count value CNT2 is an even number (“Y” in step S41), the clip processing unit 421 clips the right half of the logical page data LP (step S43). When the page count value CNT2 is an odd number (“N” in step S41), the clip processing unit 421 cuts out the left half of the logical page data LP (step S44).

図15は、描画処理部420の一動作例を表すものである。この図において、斜線で示した部分は、クリップ処理部421が切り抜いた部分を示す。例えば、クリップ処理部421は、ページカウント値CNT2=0では、論理ページデータLP1の右半分を切り抜き、ページカウント値CNT2=1では、論理ページデータLP1の左半分を切り抜き、ページカウント値CNT2=2では、論理ページデータLP2の右半分を切り抜き、ページカウント値CNT2=3では、論理ページデータLP8の左半分を切り抜く。それ以降についても同様である。   FIG. 15 illustrates an operation example of the drawing processing unit 420. In this figure, a hatched portion indicates a portion cut out by the clip processing unit 421. For example, the clip processing unit 421 cuts out the right half of the logical page data LP1 when the page count value CNT2 = 0, cuts out the left half of the logical page data LP1 when the page count value CNT2 = 1, and sets the page count value CNT2 = 2. Then, the right half of the logical page data LP2 is cut out, and when the page count value CNT2 = 3, the left half of the logical page data LP8 is cut out. The same applies to the subsequent steps.

次に、オフセット値加算部422は、論理ページデータLPに含まれる描画命令の座標に対して、オフセット値A413を加算する(ステップS45)。   Next, the offset value adding unit 422 adds the offset value A413 to the coordinates of the drawing command included in the logical page data LP (step S45).

次に、描画命令生成部423は、クリップ処理部421およびオフセット値加算部422による処理結果に基づいて、プリンタ8が解釈出来る描画命令を生成する(ステップS46)。   Next, the drawing command generation unit 423 generates a drawing command that can be interpreted by the printer 8 based on the processing results of the clip processing unit 421 and the offset value addition unit 422 (step S46).

以上で、このフローは終了する。描画処理部420は、順次供給された論理ページデータLPのそれぞれに対して、図15に示した動作を行う。   Thus, this flow ends. The drawing processing unit 420 performs the operation shown in FIG. 15 for each of the logical page data LP supplied sequentially.

図16は、完了処理部430における完了処理の一動作例を表すものである。完了処理部430は、描画処理部420により順次処理された論理ページデータLPのそれぞれに対して完了処理を行う。以下に、この動作について詳細に説明する。   FIG. 16 illustrates an operation example of the completion processing in the completion processing unit 430. The completion processing unit 430 performs completion processing on each of the logical page data LP sequentially processed by the drawing processing unit 420. This operation will be described in detail below.

まず、ページ完了命令生成部431は、ページカウント値CNT2に基づいて、記録媒体の片面分の描画が完了したか否かを確認する(ステップS51)。具体的には、図15の例では、ページカウント値CNT2が偶数であるときに描画処理部420が描画処理を終了した場合には、ページ完了命令生成部431は、まだ片面分の描画は完了していないと判断し(ステップS51において“N”)、ステップS53に進む。また、ページカウント値CNT2が奇数であるときに描画処理部420が描画処理を終了した場合には、ページ完了命令生成部431は、片面分の描画が完了したと判断し(ステップS51において“Y”)、ページ完了命令を生成する(ステップS52)。   First, the page completion command generation unit 431 confirms whether drawing for one side of the recording medium has been completed based on the page count value CNT2 (step S51). Specifically, in the example of FIG. 15, when the drawing processing unit 420 finishes the drawing process when the page count value CNT2 is an even number, the page completion command generation unit 431 still completes drawing for one side. (No in step S51), the process proceeds to step S53. If the drawing processing unit 420 finishes the drawing process when the page count value CNT2 is an odd number, the page completion command generation unit 431 determines that drawing for one side has been completed (“Y” in step S51). "), A page completion command is generated (step S52).

図17A,17Bは、描画処理部420の一動作例を表すものである。この例では、ページ完了命令生成部431は、描画処理部420がページカウント値CNT2=0,1での描画処理を終了したときに、片面分の描画が完了したと判断し、ページ完了命令を生成する。言い換えれば、ページカウント値CNT2=0,1での描画処理の結果は、1つの物理ページデータPP1を構成し、記録媒体M1の同じ面(表面)に印刷される。同様に、ページカウント値CNT2=2,3での描画処理を終了したときに、片面分の描画が完了したと判断し、ページ完了命令を生成する。言い換えれば、ページカウント値CNT2=2,3での描画処理の結果は、1つの物理ページデータPP2を構成し、記録媒体M1の同じ面(裏面)に印刷される。その他についても同様である。   FIGS. 17A and 17B show an operation example of the drawing processing unit 420. In this example, the page completion command generation unit 431 determines that drawing for one side has been completed when the drawing processing unit 420 finishes drawing processing with the page count value CNT2 = 0, 1, and outputs a page completion command. Generate. In other words, the drawing process result with the page count value CNT2 = 0, 1 constitutes one physical page data PP1, and is printed on the same surface (front surface) of the recording medium M1. Similarly, when drawing processing with the page count value CNT2 = 2, 3 is completed, it is determined that drawing for one side is completed, and a page completion command is generated. In other words, the drawing processing result with the page count value CNT2 = 2, 3 constitutes one physical page data PP2 and is printed on the same surface (back surface) of the recording medium M1. The same applies to other cases.

次に、カウンタ加算処理部432は、ページカウント値CNT2をインクリメントする。   Next, the counter addition processing unit 432 increments the page count value CNT2.

以上で、このフローは終了する。そして、完了処理部430は、描画処理部420により順次処理された論理ページデータLPのそれぞれに対して、図16に示した動作を行う。   Thus, this flow ends. Then, the completion processing unit 430 performs the operation shown in FIG. 16 on each of the logical page data LP sequentially processed by the drawing processing unit 420.

このように、ホストコンピュータ1では、複数の論理ページデータLPに基づいて複数の物理ページデータPPを生成するようにしたので、ユーザの手間を低減しつつ冊子を作成することができる。   As described above, since the host computer 1 generates the plurality of physical page data PP based on the plurality of logical page data LP, it is possible to create a booklet while reducing the effort of the user.

すなわち、ユーザは、例えば、図1に示したような冊子9を複製する場合には、冊子9がステープルにより綴じられているときは、このステープルを外すことにより冊子9を分解して4枚の記録媒体M1〜M4(図3)にし、その4枚の記録媒体M1〜M4を両面印刷により複製し、その複製された記録媒体M1〜M4を製本することにより冊子9を複製する。このような作業は、ユーザにとって手間のかかる作業である。また、製本の際に特殊なステープルを用意する必要がある場合には、容易に複製をすることができないおそれがある。また、例えば、冊子9が、のり付けなど、ステープル以外の方法により綴じられている場合には、冊子9を容易に分解することができず、よって、冊子9を複製するのが難しくなる。   That is, for example, when the booklet 9 shown in FIG. 1 is copied, when the booklet 9 is bound by staples, the user disassembles the booklet 9 by removing the staples and disassembles the four sheets. The booklet 9 is duplicated by making the recording media M1 to M4 (FIG. 3), copying the four recording media M1 to M4 by double-sided printing, and binding the duplicated recording media M1 to M4. Such an operation is a time-consuming operation for the user. Further, when it is necessary to prepare special staples at the time of bookbinding, there is a possibility that copying cannot be easily performed. Further, for example, when the booklet 9 is bound by a method other than stapling such as glue, the booklet 9 cannot be easily disassembled, and thus it is difficult to duplicate the booklet 9.

一方、ホストコンピュータ1では、複数の論理ページデータLPに基づいて複数の物理ページデータPPを生成するようにした。よって、ユーザは、冊子9を複製する場合には、冊子9を開いて、スキャナなどを用いて画像を取得することにより複数の論理ページデータLPを生成すればよい。これにより、ユーザの手間を低減しつつ冊子を作成することができる。   On the other hand, the host computer 1 generates a plurality of physical page data PP based on a plurality of logical page data LP. Therefore, when copying the booklet 9, the user may open the booklet 9 and generate a plurality of logical page data LP by acquiring an image using a scanner or the like. Thereby, a booklet can be created while reducing the user's trouble.

また、例えば、ユーザがワードプロセッサやDTPソフトウェアなどを用いて冊子を作成する場合でも、ユーザの手間を低減しつつ冊子を作成することができる。すなわち、ユーザは、冊子におけるページの配置などを考えながら物理ページデータPPを生成する必要はなく、ユーザインタフェース200を用いて、冊子印刷を有効にするとともにいくつかの設定項目を設定し、印刷を実行すればよい。これにより、ユーザの手間を低減しつつ冊子を作成することができる。   Further, for example, even when the user creates a booklet using a word processor, DTP software, or the like, the booklet can be created while reducing the effort of the user. That is, it is not necessary for the user to generate the physical page data PP while considering the layout of pages in the booklet. The user interface 200 is used to enable booklet printing and set some setting items to perform printing. Just do it. Thereby, a booklet can be created while reducing the user's trouble.

また、ホストコンピュータ1では、冊子の表紙用の記録媒体とそれ以外の記録媒体とを、異なる媒体供給手段により供給できるようにしたので、一度の印刷指示で、例えば表紙用の記録媒体のみを光沢紙などにすることができる。その結果、ホストコンピュータ1では、ユーザの手間を低減しつつ冊子を作成することができる。   In addition, since the host computer 1 can supply the recording medium for the cover of the booklet and the other recording medium by different medium supply means, for example, only the recording medium for the cover is glossed with a single printing instruction. It can be paper. As a result, the host computer 1 can create a booklet while reducing the effort of the user.

また、ホストコンピュータ1では、プリンタドライバ103が、複数の論理ページデータLPに基づいて複数の物理ページデータPPを生成するようにしたので、各アプリケーションソフトウェアがこのような機能を有する必要が無いので、各アプリケーションソフトウェアの構成をシンプルにすることができる。また、ホストコンピュータ1では、ユーザは、どのアプリケーションソフトウェアを用いる場合でも、同じユーザインタフェース200を用いて冊子印刷の設定をすることができるため、ユーザの利便性を高めることができる。   In the host computer 1, since the printer driver 103 generates a plurality of physical page data PP based on a plurality of logical page data LP, each application software need not have such a function. The configuration of each application software can be simplified. Further, in the host computer 1, the user can set the booklet printing using the same user interface 200 regardless of which application software is used, so that the convenience of the user can be improved.

[効果]
以上のように本実施の形態では、複数の論理ページデータに基づいて複数の物理ページデータを生成するようにしたので、ユーザの手間を低減しつつ冊子を作成することができる。
[effect]
As described above, in the present embodiment, a plurality of physical page data is generated based on a plurality of logical page data, so that a booklet can be created while reducing the effort of the user.

本実施の形態では、冊子の表紙用の記録媒体とそれ以外の記録媒体とを、異なる媒体供給手段により供給できるようにしたので、ユーザの手間を低減しつつ冊子を作成することができる。   In the present embodiment, the booklet cover recording medium and the other recording medium can be supplied by different medium supply means, so that the booklet can be created while reducing the effort of the user.

[変形例1]
上記実施の形態では、図3に示したように、1つの物理ページデータPPを記録媒体の片面に配置したが、これに限定されるものではなく、図18に示したように、複数の物理ページデータPPを記録媒体の片面に配置してもよい。この例では、物理ページデータPP1を記録媒体M1の表面に配置し、物理ページデータPP2を記録媒体M1の裏面に配置している。また、3つの物理ページデータPP3〜PP5を記録媒体M2の表面に配置し、3つの物理ページデータPP6〜PP8を記録媒体M2の裏面に配置している。記録媒体M1は例えば光沢紙であり、記録媒体M2は例えば普通紙である。これにより、冊子のサイズが小さい場合でも、記録媒体を効率よく使用することができる。
[Modification 1]
In the above embodiment, one physical page data PP is arranged on one side of the recording medium as shown in FIG. 3, but the present invention is not limited to this. As shown in FIG. The page data PP may be arranged on one side of the recording medium. In this example, physical page data PP1 is arranged on the front surface of the recording medium M1, and physical page data PP2 is arranged on the back surface of the recording medium M1. Three physical page data PP3 to PP5 are arranged on the front surface of the recording medium M2, and three physical page data PP6 to PP8 are arranged on the back surface of the recording medium M2. The recording medium M1 is, for example, glossy paper, and the recording medium M2 is, for example, plain paper. Thereby, even when the size of the booklet is small, the recording medium can be used efficiently.

[変形例2]
上記実施の形態では、物理ページデータPPを生成する際、冊子の表紙および裏表紙から順に処理したが、これに限定されるものではなく、処理する順番を逆にし、冊子の表紙および裏表紙を最後に処理するようにしてもよい。
[Modification 2]
In the above embodiment, when generating the physical page data PP, processing is performed in order from the front cover and the back cover of the booklet. However, the present invention is not limited to this. You may make it process finally.

以上、いくつかの実施の形態および変形例を挙げて本発明を説明したが、本発明はこれらの実施の形態等には限定されず、種々の変形が可能である。   The present invention has been described above with some embodiments and modifications. However, the present invention is not limited to these embodiments and the like, and various modifications can be made.

例えば、上記実施の形態等では、プリンタを用いて印刷したが、これに限定されるものではなく、プリンタ、FAX、スキャナなどの機能を有する多機能周辺装置(Multi Function Peripheral)を用いて印刷してもよい。   For example, in the above-described embodiment, etc., printing is performed using a printer. However, the present invention is not limited to this, and printing is performed using a multi-function peripheral having functions such as a printer, a FAX, and a scanner. May be.

また、例えば、上記実施の形態等では、本技術をホストコンピュータ(例えばパーソナルコンピュータ)に適用したが、これに限定されるものではなく、スマートフォンやタブレット端末に適用してもよい。   In addition, for example, in the above-described embodiment and the like, the present technology is applied to a host computer (for example, a personal computer).

また、例えば、上記実施の形態等では、プリンタドライバが、複数の論理ページデータLPに基づいて複数の物理ページデータPPを生成する機能を有するようにしたが、これに限定されるものではなく、アプリケーションソフトウェアがこの機能を有するようにしてもよい。   Further, for example, in the above-described embodiment, the printer driver has a function of generating a plurality of physical page data PP based on a plurality of logical page data LP. However, the present invention is not limited to this. Application software may have this function.

また、例えば、上記実施の形態等では、ホストコンピュータ1が、複数の論理ページデータLPに基づいて複数の物理ページデータPPを生成する機能を有するようにしたが、これに限定されるものではなく、プリンタがこの機能を有するようにしてもよい。図19は、本変形例に係るプリンタ2の一構成例を表すものである。プリンタ2は、インタフェース21と、処理部22と、メモリ23と、印刷制御部24と、印刷部25とを有している。インタフェース21は、例えばホストコンピュータなどから、複数の論理ページデータLPを含む印刷データを受け取るものである。処理部22は、上記実施の形態に係る処理部11に対応するものであり、複数の論理ページデータLPに基づいて複数の物理ページデータPPを生成する処理を行うものである。メモリ23は、処理部22が処理を行う際に一時的に情報を記憶するものである。印刷制御部24は、複数の物理ページデータPPに基づいて印刷部25の動作を制御するものである。印刷部25は、印刷制御部24からの指示に基づいて、記録媒体に対して印刷を行うものである。   For example, in the above-described embodiment, the host computer 1 has a function of generating a plurality of physical page data PP based on a plurality of logical page data LP. However, the present invention is not limited to this. The printer may have this function. FIG. 19 illustrates a configuration example of the printer 2 according to this modification. The printer 2 includes an interface 21, a processing unit 22, a memory 23, a print control unit 24, and a printing unit 25. The interface 21 receives print data including a plurality of logical page data LP from, for example, a host computer. The processing unit 22 corresponds to the processing unit 11 according to the above-described embodiment, and performs processing for generating a plurality of physical page data PP based on a plurality of logical page data LP. The memory 23 temporarily stores information when the processing unit 22 performs processing. The print control unit 24 controls the operation of the printing unit 25 based on a plurality of physical page data PP. The printing unit 25 performs printing on the recording medium based on an instruction from the print control unit 24.

1…ホストコンピュータ、2…プリンタ、5…ディスプレイ、6…キーボード、7…マウス、8…プリンタ、9…冊子、10…コンピュータ本体、11…処理部、12…HDD(Hard Disk Drive)、13…メモリ、14…インタフェース、15…ディスプレイインタフェース、19…バス、21…インタフェース、22…処理部、23…メモリ、24…印刷制御部24、25…印刷部、90…アプリケーションソフトウェア、100…オペレーティングシステム、101…GDI(Graphics Device Interface)、102…スプーラ、103…プリンタドライバ、200…ユーザインタフェース、201…表示初期化部、202…冊子印刷設定部、203…媒体サイズ設定部、204…媒体供給方法設定部、205…レイアウト処理部、206…プレビュー処理部、207…設定変更処理部、208…記憶部、209…応答処理部、300…プリントプロセッサ、301…論理ページデータ数取得部、302…再構成処理部、303…再生処理部、304…記憶部、400…レンダリング部、404…記憶部、410…開始処理部、411…両面印刷処理部、412…媒体供給方法処理部、413…オフセット値算出部、420…描画処理部、421…クリップ処理部、422…オフセット値加算部、423…描画命令生成部、430…完了処理部、431…ページ完了命令生成部、432…カウンタ加算処理部。   DESCRIPTION OF SYMBOLS 1 ... Host computer, 2 ... Printer, 5 ... Display, 6 ... Keyboard, 7 ... Mouse, 8 ... Printer, 9 ... Booklet, 10 ... Computer main body, 11 ... Processing part, 12 ... HDD (Hard Disk Drive), 13 ... Memory, 14 ... interface, 15 ... Display interface, 19 ... Bus, 21 ... Interface, 22 ... Processing unit, 23 ... Memory, 24 ... Print control unit 24, 25 ... Printing unit, 90 ... Application software, 100 ... Operating system, DESCRIPTION OF SYMBOLS 101 ... GDI (Graphics Device Interface), 102 ... Spooler, 103 ... Printer driver, 200 ... User interface, 201 ... Display initialization unit, 202 ... Booklet print setting unit, 203 ... Media size setting unit, 204 ... Media supply method setting , 205 ... layout processing unit, 206 ... preview Processing unit 207 ... Setting change processing unit 208 ... Storage unit 209 ... Response processing unit 300 ... Print processor 301 ... Logical page data number acquisition unit 302 ... Reconstruction processing unit 303 ... Reproduction processing unit 304 ... Storage unit 400 ... Rendering unit 404 ... Storage unit 410 ... Start processing unit 411 ... Double-sided printing processing unit 412 ... Media supply method processing unit 413 ... Offset value calculation unit 420 ... Drawing processing unit 421 ... Clip Processing unit, 422 ... Offset value addition unit, 423 ... Drawing command generation unit, 430 ... Completion processing unit, 431 ... Page completion command generation unit, 432 ... Counter addition processing unit.

Claims (13)

N個のページデータのそれぞれに含まれる第1の部分ページデータおよび第2の部分ページデータをページデータ間で並べ替えることにより、それぞれが前記第1の部分ページデータおよび前記第2の部分ページデータを含むN個の変換ページデータを生成する処理部を備え
前記N個の変換ページデータは、第1の変換ページデータを含み、
前記処理部は、
前記N個のページデータを、2回ずつ、所定の順番で再生し、
再生されたページデータのうちの第1のページデータにおける前記第1の部分ページデータと、再生されたページデータのうちの第2のページデータにおける前記第2の部分ページデータに基づいて、前記第1の変換ページデータを生成する
画像処理装置。
By rearranging the first partial page data and the second partial page data included in each of the N page data among the page data, each of the first partial page data and the second partial page data comprising a processing unit for generating N conversion page data including,
The N converted page data includes first converted page data,
The processor is
The N page data are reproduced twice in a predetermined order,
Based on the first partial page data in the first page data of the reproduced page data and the second partial page data in the second page data of the reproduced page data, the first partial page data. An image processing apparatus that generates one conversion page data .
前記処理部は、前記第1のページデータにおける前記第2の部分ページデータを切り取るとともに、前記第2のページデータにおける前記第1の部分ページデータを切り取ることにより、前記第1の変換ページデータを生成する
請求項1に記載の画像処理装置。
The processing unit cuts the second partial page data in the first page data and cuts the first partial page data in the second page data, thereby cutting the first converted page data. Generate
The image processing apparatus according to claim 1 .
前記第1の変換ページデータは、前記N個のページデータのうちのK番目のページデータの前記第1の部分ページデータと、前記N個のページデータのうちの(N+2−K)番目のページデータの前記第2の部分ページデータとを含
請求項1または請求項2に記載の画像処理装置。
The first converted page data includes the first partial page data of the Kth page data of the N page data and the (N + 2-K) th page of the N page data. the image processing apparatus according to the second partial page data of the data to including claim 1 or claim 2.
前記処理部は、各変換ページデータを記録媒体の表面または裏面のどちらに印刷するかを指示する第1のコマンドをさらに生成し、
前記第1の変換ページデータが印刷されるべき記録媒体の反対の面に印刷される変換ページデータは、前記N個のページデータのうちの(K−1)番目のページデータの前記第2の部分ページデータと、前記N個のページデータのうちの(N+3−K)番目のページデータの前記第1の部分ページデータとを含む
請求項3に記載の画像処理装置。
The processing unit further generates a first command instructing whether to print each conversion page data on the front surface or the back surface of the recording medium,
The converted page data printed on the opposite side of the recording medium on which the first converted page data is to be printed is the second of the (K−1) th page data of the N page data. Partial page data and the first partial page data of the (N + 3-K) th page data of the N pieces of page data.
The image processing apparatus according to claim 3 .
前記N個の変換ページデータは、前記N個のページデータのうちの1番目のページデータの、前記第1の部分ページデータおよび前記第2の部分ページデータを含む第2の変換ページデータを含む
請求項1から請求項4のいずれか一項に記載の画像処理装置。
The N converted page data includes second converted page data including the first partial page data and the second partial page data of the first page data of the N page data. The image processing apparatus according to any one of claims 1 to 4 .
前記処理部は、各変換ページデータを記録媒体の表面または裏面のどちらに印刷するかを指示する第1のコマンドをさらに生成し、
前記第2の変換ページデータが印刷されるべき記録媒体の反対の面に印刷される変換ページデータは、前記N個のページデータのうちの2番目のページデータの前記第1の部分ページデータと、前記N個のページデータのうちのN番目のページデータの前記第2の部分ページデータとを含む
請求項5に記載の画像処理装置。
The processing unit further generates a first command instructing whether to print each conversion page data on the front surface or the back surface of the recording medium,
The converted page data printed on the opposite surface of the recording medium on which the second converted page data is to be printed is the first partial page data of the second page data of the N page data. , And the second partial page data of the Nth page data of the N page data.
The image processing apparatus according to claim 5 .
前記処理部は、さらに、記録媒体の供給方法を指示する第2のコマンドをもさらに生成し、
前記第2の変換ページデータが印刷されるべき記録媒体の供給方法は、前記N個の変換ページデータのうちの第3の変換ページデータが印刷されるべき記憶媒体の供給方法と異なる
請求項5または請求項6に記載の画像処理装置。
The processing unit further generates a second command for instructing a recording medium supply method,
The method of supplying the recording medium on which the second converted page data is to be printed is different from the method of supplying the storage medium on which the third converted page data of the N converted page data is to be printed.
The image processing apparatus according to claim 5 .
前記N個の変換ページデータを送信する送信部をさらに備えた
請求項1から請求項7のいずれか一項に画像処理装置。
The image processing apparatus according to claim 1, further comprising a transmission unit that transmits the N converted page data.
前記N個の変換ページデータに基づいて記録媒体に対して印刷を行う印刷部をさらに備えた
請求項1から請求項7のいずれか一項に画像処理装置。
The image processing apparatus according to claim 1, further comprising a printing unit that performs printing on a recording medium based on the N pieces of converted page data.
前記N個のページデータは、ビットマップデータを含む
請求項1から請求項9のいずれか一項に記載の画像処理装置。
The image processing apparatus according to any one of claims 1 to 9 , wherein the N pieces of page data include bitmap data.
前記N個のページデータは、ベクターデータを含む
請求項1から請求項10のいずれか一項に記載の画像処理装置。
The image processing apparatus according to any one of claims 1 to 10 , wherein the N pieces of page data include vector data.
N個のページデータを準備することと、
前記N個のページデータのそれぞれに含まれる第1の部分ページデータおよび第2の部分ページデータをページデータ間で並べ替えることにより、それぞれが前記第1の部分ページデータおよび前記第2の部分ページデータを含むN個の変換ページデータを生成することと
を処理部に実行させ
前記N個の変換ページデータは、第1の変換ページデータを含み、
前記N個の変換ページデータを生成することは、
前記N個のページデータを、2回ずつ、所定の順番で再生することと、
再生されたページデータのうちの第1のページデータにおける前記第1の部分ページデータと、再生されたページデータのうちの第2のページデータにおける前記第2の部分ページデータに基づいて、前記第1の変換ページデータを生成することと
を含む
プログラム。
Preparing N page data;
The first partial page data and the second partial page are sorted by sorting the first partial page data and the second partial page data included in each of the N pieces of page data, respectively. to execute and generating a N transform page data including the data to the processing unit,
The N converted page data includes first converted page data,
Generating the N converted page data includes
Reproducing the N pieces of page data twice in a predetermined order;
Based on the first partial page data in the first page data of the reproduced page data and the second partial page data in the second page data of the reproduced page data, the first partial page data. Generating one conversion page data;
Including programs.
前記プログラムはドライバソフトウェアである
請求項12に記載のプログラム。
The program is driver software
The program according to claim 12 .
JP2015166957A 2015-08-26 2015-08-26 Image processing apparatus and program Expired - Fee Related JP6419043B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015166957A JP6419043B2 (en) 2015-08-26 2015-08-26 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015166957A JP6419043B2 (en) 2015-08-26 2015-08-26 Image processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2017045260A JP2017045260A (en) 2017-03-02
JP6419043B2 true JP6419043B2 (en) 2018-11-07

Family

ID=58212103

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015166957A Expired - Fee Related JP6419043B2 (en) 2015-08-26 2015-08-26 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP6419043B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7490935B2 (en) * 2019-09-30 2024-05-28 ブラザー工業株式会社 SUPPORT PROGRAM, INFORMATION PROCESSING APPARATUS, AND PRINTING METHOD

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003162406A (en) * 2001-11-28 2003-06-06 Fuji Xerox Co Ltd Data processing apparatus
JP4795629B2 (en) * 2003-06-20 2011-10-19 富士ゼロックス株式会社 Printing system

Also Published As

Publication number Publication date
JP2017045260A (en) 2017-03-02

Similar Documents

Publication Publication Date Title
JP3873427B2 (en) Intermediate file processing apparatus in printer control system and recording medium recorded with control program thereof
JP2011203826A (en) Apparatus and method for processing image, and program
JP2008120020A (en) Information processing device, its control method, and program
JP2003091380A (en) Document processing system, information processor, and setting method, program and recording medium for the same
JP2013162422A (en) Image forming device, control method of the same, and program
JP6419043B2 (en) Image processing apparatus and program
JP2003162406A (en) Data processing apparatus
JP2007253597A (en) Printer
JP3832333B2 (en) Document processing method and apparatus
JP2005165466A (en) Print controller, print control method and computer program
JP2009172959A (en) Image forming device, printing controlling method, printing controlling program and recording medium having program recorded thereon
JP2006202025A (en) Document processing method, print control method, and its system
JP2005193559A (en) Image forming apparatus
JP2005108107A (en) Method and apparatus for document processing
JP2003348322A (en) Editing apparatus for simplified bookbinding, editing program for simplified bookbinding, and simplified bookbinding kit
JP2007299380A (en) Print support device, print support program, storage medium and print support method
JP2006343877A (en) Print system, control method and program
JP2017062752A (en) Print setting support device and program
JP2006244282A (en) Information processor and output data arrangement method
JP2005149212A (en) Document processing method and document processing apparatus
JP2004264968A (en) Printing attribute setting device, printing attribute setting method and program for setting printing attribute
US8120788B2 (en) Image arranging device and image arranging program storage medium
JP2000172461A (en) File print control method and program recording medium
JP2008117146A (en) Printing system
JP2014130430A (en) Information processing apparatus, printing system, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180904

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181009

R150 Certificate of patent or registration of utility model

Ref document number: 6419043

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees