JP5734020B2 - Print control apparatus, print control method for print control apparatus, and program - Google Patents

Print control apparatus, print control method for print control apparatus, and program Download PDF

Info

Publication number
JP5734020B2
JP5734020B2 JP2011037137A JP2011037137A JP5734020B2 JP 5734020 B2 JP5734020 B2 JP 5734020B2 JP 2011037137 A JP2011037137 A JP 2011037137A JP 2011037137 A JP2011037137 A JP 2011037137A JP 5734020 B2 JP5734020 B2 JP 5734020B2
Authority
JP
Japan
Prior art keywords
area
print
layout
page
text information
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
JP2011037137A
Other languages
Japanese (ja)
Other versions
JP2012174110A (en
Inventor
隆広 温泉
隆広 温泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2011037137A priority Critical patent/JP5734020B2/en
Publication of JP2012174110A publication Critical patent/JP2012174110A/en
Application granted granted Critical
Publication of JP5734020B2 publication Critical patent/JP5734020B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数のページの文章情報を1枚の出力用紙にレイアウトして印刷する印刷情報を生成する印刷制御装置、印刷制御装置の印刷制御方法及びプログラムに関するものである。   The present invention relates to a print control apparatus that generates print information for laying out and printing text information of a plurality of pages on one output sheet, a print control method for the print control apparatus, and a program.

従来、プリンタで印刷を行う際に1枚の用紙上に1ページの印刷データを印刷するのではなく、1枚の用紙上に複数ページ分の印刷データを縮小配置して印刷する技術がある。 この種のレイアウト印刷は、Nページ印刷、或いは、Nup印刷と呼ばれていて、推敲やレイアウト確認等を目的とした文章の試し刷りを行う場合、出力用紙を少なくしたい場合に利用される。同様に、この種のレイアウト印刷は、フォントサイズやレイアウトといった印刷体裁を変えて印刷したいような場合等、様々な用途に利用されている。
また、異なる用紙サイズや向きが混在している文章をNup印刷する場合、ページを拡大縮小してN分割した印刷領域に配置して印刷する方法が知られている。
例えば、特許文献1には、領域決定手段が物理ページをN(N:自然数)分割して論理ページ1ページに対応する印刷領域を決定することが記載されている。さらに、特許文献1には、論理ページに対応する拡縮率で拡大縮小して各印刷領域に配置することが記載されている。
Conventionally, when printing with a printer, there is a technique in which print data for one page is not printed on one sheet of paper, but print data for a plurality of pages is reduced and arranged on one sheet of paper. This type of layout printing is called N-page printing or Nup printing, and is used when trial printing of text for the purpose of reviewing, layout confirmation, or the like, or when it is desired to reduce the number of output sheets. Similarly, this type of layout printing is used for various purposes, such as when printing is desired with different printing styles such as font size and layout.
In addition, when Nup printing a sentence in which different paper sizes and orientations are mixed, a method is known in which a page is enlarged and reduced and arranged in a print area divided into N to be printed.
For example, Patent Document 1 describes that an area determination unit determines a print area corresponding to one logical page by dividing a physical page into N (N: natural number). Further, Japanese Patent Application Laid-Open No. 2004-228561 describes that the image is scaled up and down at a scaling rate corresponding to a logical page and arranged in each print area.

特開平11−99723号公報JP-A-11-99723

従来の技術では、異なる用紙サイズや向きが混在している文章をNup印刷する場合、用紙サイズの異なるページを同じ大きさの印刷領域に収まるように拡大縮小するために、ページ毎に縮小率が異なってしまう。そのため、各ページの文字や図形のサイズに差異が生じ、文章全体として文字サイズや図形サイズの整合性がとれなくなってしまい、印刷結果の判別性が低下して、ユーザが印刷結果を有効に活用し難くなるという問題があった。
本発明は、上記の課題を解決するためになされたもので、本発明の目的は、用紙のサイズや向きが混在する複数ページの文章情報の文字サイズや図形サイズの整合性がとれ、かつ、印刷位置が揃ったレイアウト印刷結果が得られる仕組みを提供することである。
In the conventional technology, when Nup printing a sentence in which different paper sizes and orientations are mixed, a reduction ratio is reduced for each page in order to enlarge / reduce pages having different paper sizes to fit in the same size print area. It will be different. As a result, there is a difference in the size of characters and figures on each page, the consistency of the character size and figure size is lost as a whole sentence, the discriminability of the printed result is reduced, and the user effectively uses the printed result There was a problem that it was difficult to do.
The present invention has been made to solve the above problems, and the object of the present invention is to maintain consistency in character size and figure size of a plurality of pages of text information in which paper sizes and orientations are mixed, and It is to provide a mechanism that can obtain a layout printing result in which printing positions are aligned.

上記目的を達成する本発明の印刷制御装置は以下に示す構成を備える。
用紙サイズ、用紙向きが混在する複数ページの文章情報から印刷情報を生成する印刷制御装置であって、出力用紙サイズで特定される印刷領域内に各ページの文章情報を印刷するための領域をユーザが設定するレイアウトパラメータに従い決定される基準印刷領域の整数倍の領域に収まるように確定する確定手段と、前記確定手段が確定した領域に各ページの文章情報を前記印刷領域に印刷可能なページ分前記レイアウトパラメータに従い決定される同じ縮小倍率で縮小してレイアウトするレイアウト手段と、前記レイアウト手段により複数のページの文章情報がレイアウトされた印刷データを印刷装置に送信する送信手段とを有し、前記レイアウトパラメータは、製本処理における綴じ代量を設定する製本パラメータを含み、前記レイアウト手段は、前記製本パラメータが設定されている綴じ代領域と、前記基準印字領域の整数倍に確定された文章情報を印刷するための前記領域とが重なるかどうかを判断する判断手段を備え、前記レイアウト手段は、前記判断手段が前記綴じ代領域と、前記基準印字領域の整数倍に確定された文章情報を印刷するための前記領域とが重なると判断した場合、当該綴じ代領域を綴じ代設定領域対象から外して、対応するページの文章情報をレイアウトすることを特徴とする。
The print control apparatus of the present invention that achieves the above object has the following configuration.
A print control device that generates print information from multiple pages of text information in which the paper size and paper orientation coexist, and the area for printing the text information of each page within the print area specified by the output paper size Confirming means for confirming to fit in an area that is an integral multiple of a reference print area determined according to the layout parameters set by the document, and the text information of each page in the area determined by the confirming means for the pages that can be printed in the print area wherein a layout means for laying shrinking at the same reduction ratio which is determined in accordance with layout parameters, and transmitting means for transmitting the print data to text information of a plurality of pages are laid by the layout unit to the printing device, wherein The layout parameter includes a bookbinding parameter for setting a binding margin amount in the bookbinding process. The means comprises determination means for determining whether or not the binding margin area in which the bookbinding parameter is set and the area for printing the text information determined to be an integral multiple of the reference print area, The layout unit determines the binding margin area when the determination unit determines that the binding margin area overlaps the area for printing the text information determined to be an integral multiple of the reference print area. The text information of the corresponding page is laid out by removing it from the area target .

本発明によれば、用紙サイズ、用紙向きが混在する複数ページの文章情報であっても、文章全体として文字サイズや図形サイズの整合性がとれ、かつ、印刷位置が揃ったレイアウト印刷結果が得られる。   According to the present invention, even for text information of a plurality of pages in which the paper size and the paper orientation are mixed, it is possible to obtain a layout printing result in which the consistency of the character size and graphic size is obtained as a whole text and the printing positions are aligned. It is done.

印刷制御装置を含む印刷システムの構成の一例を示す図である。1 is a diagram illustrating an example of a configuration of a printing system including a printing control apparatus. 本実施形態を示す情報処理装置のソフトウエアの構成を示す図である。It is a figure which shows the structure of the software of the information processing apparatus which shows this embodiment. 図1に示した表示部に表示されるUIの一例を示す図である。FIG. 2 is a diagram illustrating an example of a UI displayed on a display unit illustrated in FIG. 1. 図1に示した表示部に表示されるUIの一例を示す図である。FIG. 2 is a diagram illustrating an example of a UI displayed on a display unit illustrated in FIG. 1. 配置順を設定するボックスで設定可能な選択項目を表した図である。It is a figure showing the selection item which can be set with the box which sets arrangement order. プリンタドライバが確定する基準印字領域を示す図であるFIG. 4 is a diagram illustrating a reference print area determined by a printer driver. 印刷装置で処理すべき文章情報の一例を示す図である。It is a figure which shows an example of the text information which should be processed with a printing apparatus. 印刷装置の制御方法を説明するフローチャートである。6 is a flowchart illustrating a method for controlling the printing apparatus. プリンタドライバが参照する印字領域サイズ確定ルールを示す図である。FIG. 5 is a diagram illustrating a print area size determination rule referred to by a printer driver. 印字領域確定ルールに従って確定した印字領域サイズを示す図である。It is a figure which shows the printing area size determined according to the printing area determination rule. プリンタドライバによる揃え位置の一例を示す図である。FIG. 6 is a diagram illustrating an example of alignment positions by a printer driver. プリンタドライバによる揃え位置の一例を示す図である。FIG. 6 is a diagram illustrating an example of alignment positions by a printer driver. 本実施形態のレイアウト印刷結果を示す図である。It is a figure which shows the layout printing result of this embodiment. 印刷制御装置が処理する文章情報の構成を説明刷る図である。It is a figure which prints the structure of the text information which a printing control apparatus processes. プリンタドライバが生成した印字領域を説明する図である。FIG. 6 is a diagram illustrating a print area generated by a printer driver. プリンタドライバが確保した印字領域を説明する図である。FIG. 4 is a diagram illustrating a print area secured by a printer driver. プリンタドライバが確保した印字領域を説明する図である。FIG. 4 is a diagram illustrating a print area secured by a printer driver.

次に本発明を実施するための最良の形態について図面を参照して説明する。
<システム構成の説明>
〔第1実施形態〕
図1は、本実施形態を示す印刷制御装置を含む印刷システムの構成の一例を示す図である。本実施形態では、用紙サイズ、用紙向きが混在する複数ページの文章情報から印刷情報を生成する印刷制御装置を例とする。ここで、印刷制御装置は、データ処理装置にインストールされたOSで管理される印刷制御プログラム(プリンタドライバ)を実行することで実現される場合を例とする。
図1において、100は情報処理装置、150はプリンタ装置である。なお、情報処理装置100とプリンタ装置150とは双方向性インタフェース130を介して接続されている。ここで、双方向性インタフェース130には、いわゆるイーサネット(登録商標)等のネットワークインタフェースも含まれる。
情報処理装置100は、外部メモリ111に記憶された文章処理プログラム等に基づいて図形、イメージ、文字、表(表計算等を含む)等が混在した文章処理を実行するCPU101を備えている。ここで、外部メモリ111は、ハードディスク(HDD)、SSD、フレキシブルディスクドライブ(FDD)、USBメモリ等が含まれる。
CPU101は、システムバス104に接続される後述する各デバイスを総括的に制御する。また、外部メモリ111には、CPU101の制御プログラムであるオペレーティングシステムプログラム(以下OS)等が記憶されている。RAM102は、CPU101の主メモリ、ワークエリア等として機能する。
Next, the best mode for carrying out the present invention will be described with reference to the drawings.
<Description of system configuration>
[First Embodiment]
FIG. 1 is a diagram illustrating an example of a configuration of a printing system including a print control apparatus according to the present embodiment. In the present embodiment, a print control apparatus that generates print information from multiple pages of text information in which paper sizes and paper orientations coexist is taken as an example. Here, a case where the print control apparatus is realized by executing a print control program (printer driver) managed by the OS installed in the data processing apparatus is taken as an example.
In FIG. 1, 100 is an information processing apparatus, and 150 is a printer apparatus. Note that the information processing apparatus 100 and the printer apparatus 150 are connected via a bidirectional interface 130. Here, the bidirectional interface 130 includes a network interface such as Ethernet (registered trademark).
The information processing apparatus 100 includes a CPU 101 that executes sentence processing in which graphics, images, characters, tables (including spreadsheets) and the like are mixed based on a sentence processing program stored in the external memory 111. Here, the external memory 111 includes a hard disk (HDD), an SSD, a flexible disk drive (FDD), a USB memory, and the like.
The CPU 101 generally controls each device described later connected to the system bus 104. The external memory 111 stores an operating system program (hereinafter referred to as OS) that is a control program for the CPU 101. The RAM 102 functions as a main memory, work area, and the like for the CPU 101.

105はキーボードコントローラ(KBC)で、キーボード109や不図示のポインティングデバイスからのキー入力を制御する。106は表示コントローラ(DISPC)で、ディスプレイ(表示部)110の表示を制御する。ここで、表示部110は、LEDディスプレイ等で構成されている。
107はディスクコントローラ(DKC)で、ハードディスクドライブ(HDD)、フレキシブルディスク(FDD)等の外部メモリ111とのアクセスを制御する。111は外部メモリで、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、プリンタ制御コマンド生成プログラム(以下プリンタドライバ)等を記憶する。
108はプリンタコントローラ(PRTC)で、双方向性インタフェース130を介してプリンタ装置150に接続されて、プリンタ装置150との通信制御処理を実行する。
A keyboard controller (KBC) 105 controls key input from a keyboard 109 or a pointing device (not shown). A display controller (DISPC) 106 controls display on the display (display unit) 110. Here, the display unit 110 is configured by an LED display or the like.
A disk controller (DKC) 107 controls access to an external memory 111 such as a hard disk drive (HDD) or a flexible disk (FDD). An external memory 111 stores a boot program, various applications, font data, a user file, an edit file, a printer control command generation program (hereinafter referred to as a printer driver), and the like.
A printer controller (PRTC) 108 is connected to the printer apparatus 150 via the bidirectional interface 130 and executes communication control processing with the printer apparatus 150.

なお、CPU101は、例えばRAM102上に設定された表示情報RAMへのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT110上でのWYSIWYGを可能としている。また、CPU101は、CRT110上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のウインドウを開き、種々のデータ処理を実行する。ユーザは印刷を実行する際、印刷の設定に関するウインドウを開き、プリンタの設定や、印刷モードの選択を含むプリンタドライバに対する印刷処理方法の設定を行うことができる。
プリンタ装置150は、CPU151により制御される。CPU151は、ROM153に記憶された制御プログラム等あるいは外部メモリ160に記憶された制御プログラム等に基づいてシステムバス154に接続される印刷部(プリンタエンジン)158に出力情報としての画像信号を出力する。また、このROM153には、CPU151の制御プログラム等を記憶する。ROM153のフォント用ROMには上記出力情報を生成する際に使用するフォントデータ等が記憶される。ROM153のデータ用ROMには、ハードディスク等の外部メモリ160がないプリンタの場合には、情報処理装置100で利用される情報等が記憶されている。
Note that the CPU 101 executes, for example, outline font development (rasterization) processing on the display information RAM set on the RAM 102 to enable WYSIWYG on the CRT 110. Further, the CPU 101 opens various windows registered based on commands instructed by a mouse cursor (not shown) on the CRT 110, and executes various data processing. When executing printing, the user can open a window related to print settings and set the print processing method for the printer driver, including printer settings and print mode selection.
The printer device 150 is controlled by the CPU 151. The CPU 151 outputs an image signal as output information to a printing unit (printer engine) 158 connected to the system bus 154 based on a control program stored in the ROM 153 or a control program stored in the external memory 160. The ROM 153 stores a control program for the CPU 151 and the like. The font ROM of the ROM 153 stores font data used for generating the output information. The data ROM of the ROM 153 stores information used by the information processing apparatus 100 in the case of a printer that does not have an external memory 160 such as a hard disk.

CPU151は入力部155を介して情報処理装置100との通信処理が可能となっており、プリンタ装置内の情報等を情報処理装置100に通知できる。RAM152は、CPU151の主メモリや、ワークエリア等として機能するRAMで、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。なお、RAM152は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。ハードディスクドライブ(HDD)、ICカード等で構成される外部メモリ160は、メモリコントローラ(MC)157によりアクセスを制御される。外部メモリ160は、前述の制御プログラムに加え、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。また、159は操作パネルで操作のためのスイッチおよびLED表示器等が配されている。   The CPU 151 can perform communication processing with the information processing apparatus 100 via the input unit 155 and can notify the information processing apparatus 100 of information in the printer apparatus. The RAM 152 functions as a main memory of the CPU 151, a work area, or the like, and is configured such that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 152 is used as an output information expansion area, environment data storage area, NVRAM, and the like. Access to the external memory 160 composed of a hard disk drive (HDD), IC card, or the like is controlled by a memory controller (MC) 157. The external memory 160 stores font data, an emulation program, form data, and the like in addition to the control program described above. Reference numeral 159 denotes an operation panel on which an operation switch, an LED display, and the like are arranged.

また、前述した外部メモリ160は1個に限らず、複数個備えられ、内蔵フォントに加えてオプションカード、言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成されていてもよい。更に、図示しないNVRAMを有し、操作パネル159からのプリンタモード設定情報を記憶するようにしてもよい。   The external memory 160 described above is not limited to one, and a plurality of external memories 160 are provided, and a plurality of external memories storing an option card and a program for interpreting a printer control language having a different language system in addition to the built-in font can be connected. May be. Furthermore, an NVRAM (not shown) may be provided to store printer mode setting information from the operation panel 159.

図2は、本実施形態を示す情報処理装置のソフトウエアの構成を示す図である。
図2において、200は印刷原稿を生成する機能を備えた画像生成アプリケーションである。アプリケーション200は、プリンタ装置に対して印刷を行う際、グラフィックエンジン201を利用して、画像データをプリンタドライバ202に出力する。なお、アプリケーション200は、CPU101がRAM102にロードして実行することにより実現される。また、アプリケーション200には、文章処理、図形処理、イメージ処理等の様々なアプリケーションや、これらの処理を統合的に処理するアプリケーションも含まれる。
201はグラフィックエンジン(Windows(登録商標)OS(米国マイクロソフト社の登録商標)では、GDIと呼ばれるOSの描画手段に相当する。)である。グラフィックエンジンは、アプリケーション200から出力された画像データをプリンタドライバ202に中継する機能を備える。
FIG. 2 is a diagram illustrating a software configuration of the information processing apparatus according to the present embodiment.
In FIG. 2, reference numeral 200 denotes an image generation application having a function of generating a printed document. When printing is performed on the printer apparatus, the application 200 uses the graphic engine 201 to output image data to the printer driver 202. The application 200 is realized by the CPU 101 loading the RAM 102 and executing it. The application 200 also includes various applications such as sentence processing, graphic processing, and image processing, and applications that process these processes in an integrated manner.
Reference numeral 201 denotes a graphic engine (in the Windows (registered trademark) OS (registered trademark of Microsoft Corporation in the United States), which corresponds to an OS rendering means called GDI). The graphic engine has a function of relaying image data output from the application 200 to the printer driver 202.

202はプリンタドライバで、グラフィックエンジン201から受け取った画像データからプリンタが認識可能な制御コマンド、例えばPDL(Page Description Language)で構成される印刷データを生成して、システムスプーラ203に出力する機能を備える。   A printer driver 202 has a function of generating control data that can be recognized by the printer from image data received from the graphic engine 201, for example, print data composed of PDL (Page Description Language), and outputting the print data to the system spooler 203. .

203はシステムスプーラで、プリンタドライバ202により生成された印刷データを双方向インタフェースでプリンタ装置150に出力する機能を備える。これらのソフトウエアは、情報処理装置100の外部メモリ111に保管されていて、ソフトウエア起動時にRAM102にロードされてCPU101により実行される。
次に、図3から図7を用いて本実施形態の印刷システムにおけるプリンタドライバ202のCRT110上のユーザインタフェースについて述べる。
A system spooler 203 has a function of outputting print data generated by the printer driver 202 to the printer apparatus 150 via a bidirectional interface. These software are stored in the external memory 111 of the information processing apparatus 100, loaded into the RAM 102 when the software is activated, and executed by the CPU 101.
Next, a user interface on the CRT 110 of the printer driver 202 in the printing system according to the present embodiment will be described with reference to FIGS.

図3、図4は、図1に示した表示部110に表示されるユーザインタフェースの一例を示す図である。本例は、図2に示したプリンタドライバ202の印刷設定ダイアログでページ設定タブが選択されたときに表示される印刷設定画面例である。なお、印刷設定ダイアログはOSの管理するプリンタフォルダ、あるいは、アプリケーション200の印刷設定画面から開くことが可能である。
図3において、301はページ設定シートで、ユーザインタフェースを介してページ設定に関する印刷設定パラメータを指定することができる。具体的には、ページ設定シート301には、倍率の固定を設定するチェックボックス303、基本原稿サイズを設定するボックス304、出力用紙サイズを設定するボックス305を備える。さらに、ページ設定シート301には、印刷を行う部数を設定するボックス306、ポートレートやランドスケープ等の印刷の向きを設定するボックス307、Nup等のページレイアウトを設定するボックス308を備える。さらに、ページ設定シート301には、自由拡縮の指定を行うボックス309、自由拡縮のための倍率を設定するボックス310を備える。
3 and 4 are diagrams illustrating an example of a user interface displayed on the display unit 110 illustrated in FIG. This example is a print setting screen example displayed when the page setting tab is selected in the print setting dialog of the printer driver 202 shown in FIG. The print setting dialog can be opened from the printer folder managed by the OS or the print setting screen of the application 200.
In FIG. 3, reference numeral 301 denotes a page setting sheet, which can specify print setting parameters related to page setting via the user interface. Specifically, the page setting sheet 301 includes a check box 303 for setting a fixed magnification, a box 304 for setting a basic document size, and a box 305 for setting an output paper size. Further, the page setting sheet 301 includes a box 306 for setting the number of copies to be printed, a box 307 for setting a printing direction such as a portrait and a landscape, and a box 308 for setting a page layout such as Nup. Further, the page setting sheet 301 includes a box 309 for designating free enlargement / reduction and a box 310 for setting a magnification for free enlargement / reduction.

なお、本実施形態では、ユーザは1枚の用紙に何ページの原稿を印刷するかを、ページレイアウトを設定するボックス308で「1up」、「2up」、「4up」、「6up」、「8up」「9up」、「16up」のNin1印刷を指定可能に構成されている。なお、現在選択中なのは「6up」である。
これにより、ユーザがページ設定シート301において「1ページ/枚(標準)」を指定して印刷を実行すると、1ページの原稿が1枚の用紙に印刷される。また、ユーザがページ設定シート301において「2ページ/枚」を指定して印刷を実行すると、プリンタドライバは、2ページの原稿を1枚の用紙に割りつけて印刷する。
さらに、ユーザが倍率の固定を設定するチェックボックス303を設定すると、プリンタドライバ202は、文章を構成する全てのページを同じ拡縮率で拡大、あるいは、縮小して印刷するための印刷データを生成する。ここで、印刷データには、ページ記述言語(PDL)に従うものも含まれる。
302はプレビュー画面で、ユーザが指定した印刷設定に従って実際に印刷されるドキュメントのイメージを表示する。311は標準に戻すボタンで、印刷設定をデフォルト状態に戻すために用いるボタンである。
In the present embodiment, the user determines how many pages of an original are to be printed on one sheet by selecting “1up”, “2up”, “4up”, “6up”, “8up” in a box 308 for setting a page layout. “9up” and “16up” Nin1 printing can be designated. Note that “6 up” is currently selected.
Thus, when the user designates “1 page / sheet (standard)” on the page setting sheet 301 and executes printing, one page of the document is printed on one sheet of paper. When the user designates “2 pages / sheet” on the page setting sheet 301 and executes printing, the printer driver assigns and prints a two-page document on one sheet.
Further, when the user sets the check box 303 for setting the fixed magnification, the printer driver 202 generates print data for printing with all the pages constituting the text enlarged or reduced at the same enlargement / reduction ratio. . Here, the print data includes data according to a page description language (PDL).
A preview screen 302 displays an image of a document that is actually printed according to print settings designated by the user. Reference numeral 311 denotes a button for returning to the standard, which is used to return the print setting to the default state.

312はOKボタンで、ユーザがOKボタン312を押下すると、プリンタドライバ202はユーザインタフェースで設定された各種印刷設定パラメータを確定する。その後、プリンタドライバ202は、情報処理装置100の外部メモリ111に作成される設定情報保管領域に保存(スプール)した後、表示部110に表示された印刷設定ダイアログを閉じる。
313はキャンセルボタンで、ユーザがキャンセルボタン313を押下すると、プリンタドライバ202はユーザインタフェースで設定されていた各種印刷設定パラメータを全て破棄してプリンタドライバ202の印刷設定ダイアログを閉じる。
314は適用ボタンで、ユーザが適用ボタン314を押下すると、プリンタドライバ202はユーザインタフェースで設定された各種印刷設定パラメータを確定し、情報処理装置100の外部メモリ111に作成される設定情報保管領域に保存する。
Reference numeral 312 denotes an OK button. When the user presses the OK button 312, the printer driver 202 determines various print setting parameters set on the user interface. Thereafter, the printer driver 202 saves (spools) it in the setting information storage area created in the external memory 111 of the information processing apparatus 100, and then closes the print setting dialog displayed on the display unit 110.
Reference numeral 313 denotes a cancel button. When the user presses the cancel button 313, the printer driver 202 discards all the print setting parameters set in the user interface and closes the print setting dialog of the printer driver 202.
Reference numeral 314 denotes an apply button. When the user presses the apply button 314, the printer driver 202 determines various print setting parameters set in the user interface and stores them in a setting information storage area created in the external memory 111 of the information processing apparatus 100. save.

なお、図4に示すユーザインタフェース例は、プリンタドライバ202の印刷設定ダイアログで仕上げ設定タブが選択されたときに表示される画面表示例である。
図4において、401は仕上げシートで、ユーザは仕上げシート401に含まれるユーザインタフェースを介して印刷仕上げに関する印刷設定パラメータを指定することができる。具体的には、印刷方法403、配置順404、とじしろ405を指定することができる。
ユーザは、例えば印刷方法403のラジオボタンを押下することで、片面印刷、両面印刷、製本印刷のいずれかを指定することができる。さらに、ユーザは配置順404を設定するボックスでNup印刷時のページレイアウト順を指定することができる。
なお、図4において、402はプレビュー画面であり、ユーザが指定した印刷設定に従って実際に印刷されるドキュメントのイメージを表示する。
Note that the user interface example shown in FIG. 4 is a screen display example that is displayed when the finishing setting tab is selected in the print setting dialog of the printer driver 202.
In FIG. 4, reference numeral 401 denotes a finishing sheet, and the user can specify print setting parameters regarding print finishing via a user interface included in the finishing sheet 401. Specifically, a printing method 403, an arrangement order 404, and a margin 405 can be designated.
The user can specify one of single-sided printing, double-sided printing, and bookbinding printing by pressing a radio button of the printing method 403, for example. Furthermore, the user can specify the page layout order during Nup printing in a box for setting the arrangement order 404.
In FIG. 4, reference numeral 402 denotes a preview screen, which displays an image of a document that is actually printed according to print settings designated by the user.

また、406は標準に戻すボタンで、407はOKボタン、408はキャンセルボタン、409は適用ボタンである。
プリンタドライバ202は、あらかじめ決められたロジックに従って、指定された「印刷の向き」と「ページレイアウト」情報から出力用紙の向きを確定する。
例えば、下記のロジック1)〜4)に従って、出力用紙の向きを確定する。
1)印刷の向き「縦」で、ページレイアウトが「1up」、「4up」、「9up」、「16up」ならば、出力用紙の向きは「縦」とする。
2)印刷の向き「横」で、ページレイアウトが「2up」、「6up」、「8up」ならば、出力用紙の向きは「縦」とする。
3)印刷の向き「縦」で、ページレイアウトが「2up」、「6up」、「8up」ならば、出力用紙の向きは「横」とする。
4)印刷の向き「横」で、ページレイアウトが「1up」、「4up」、「9up」、「16up」ならば、出力用紙の向きは「横」とする。
さらに、プリンタドライバは出力用紙サイズとページレイアウト情報から基準印字領域のサイズを確定する。すなわち、プリンタドライバは、「出力用紙サイズの有効印字領域」の「ページレイアウト」分の1を基準印字領域のサイズとする。
Reference numeral 406 denotes a button for returning to the standard, 407 is an OK button, 408 is a cancel button, and 409 is an apply button.
The printer driver 202 determines the orientation of the output sheet from the designated “print orientation” and “page layout” information according to a predetermined logic.
For example, the orientation of the output paper is determined according to the following logics 1) to 4).
1) If the print orientation is “vertical” and the page layout is “1 up”, “4 up”, “9 up”, “16 up”, the output paper orientation is “vertical”.
2) If the print orientation is “horizontal” and the page layout is “2up”, “6up”, or “8up”, the output paper orientation is “vertical”.
3) If the print orientation is “vertical” and the page layout is “2 up”, “6 up”, “8 up”, the output paper orientation is “landscape”.
4) If the print orientation is “landscape” and the page layout is “1up”, “4up”, “9up”, “16up”, the output paper orientation is “landscape”.
Further, the printer driver determines the size of the reference print area from the output paper size and page layout information. That is, the printer driver sets the size of the reference print area to 1 / "page layout" of "effective print area of output paper size".

図5は、図4に示した表示画面で配置順404を設定するボックスで設定可能な選択項目を表した図である。
図5において、ユーザは配置順404を設定するボックスで、左上から右向きの配置順501、左上から下向きの配置順502、右上から左向きの配置順503、右上から下向きの配置順504のいずれかの配置を配置順として設定可能に構成されている。
また、ユーザは印刷方法403で製本印刷が指定されている場合、とじ代405で中綴じ代の幅を指定することができる。より具体的には紙の中央部(折り目の位置)からの距離をmm単位で指定可能に構成されている。
FIG. 5 is a diagram showing selection items that can be set in a box for setting the arrangement order 404 on the display screen shown in FIG.
In FIG. 5, the user sets a placement order 404, and any one of the placement order 501 from the upper left to the right, the placement order 502 from the upper left to the lower, the placement order 503 from the upper right to the left, and the placement order 504 from the upper right to the lower The arrangement can be set as the arrangement order.
In addition, when bookbinding printing is designated by the printing method 403, the user can designate the width of the saddle stitching margin at the binding margin 405. More specifically, the distance from the center of the paper (fold position) can be specified in mm.

図6は、図2に示したプリンタドライバ202が確定する基準印字領域を示す図である。本例は、例えば印刷設定パラメータで、基本原稿サイズ:A4、出力用紙サイズ:A4、印刷の向き:縦、ページレイアウト:6ページ/1枚(標準)、倍率の固定:固定、が指定されている場合にプリンタドライバが確定する基準印字領域の一例である。ここで、最大基準印刷領域数を6とする例を示したが、最大基準印刷領域数は1ページにレイアウトしたいページ数に応じて決定される。
図6において、601はA4横サイズの出力用紙、602はA4横サイズの有効印字領域、603は基準印字領域である。
図6に示されるように、プリンタドライバ202はA4横サイズの有効印字領域を、6分割して、A、B、C、D、E、Fの6個の印字領域を生成する。そしてA4横サイズの有効印字領域の6分の1のサイズを基準印字領域のサイズとする。
FIG. 6 is a diagram showing a reference print area determined by the printer driver 202 shown in FIG. In this example, the basic document size: A4, the output paper size: A4, the print orientation: portrait, the page layout: 6 pages / 1 sheet (standard), and the fixed magnification: fixed are specified in the print setting parameters, for example. This is an example of a reference print area that is determined by the printer driver when the printer driver is present. Here, an example in which the maximum reference print area number is 6 is shown, but the maximum reference print area number is determined according to the number of pages to be laid out on one page.
In FIG. 6, reference numeral 601 denotes an A4 landscape size output sheet, 602 an A4 landscape size effective print area, and 603 a reference print area.
As shown in FIG. 6, the printer driver 202 divides an A4 horizontal size effective print area into six, and generates six print areas A, B, C, D, E, and F. Then, the size of 1/6 of the effective printing area of A4 horizontal size is set as the size of the reference printing area.

図7は、本実施形態を示す印刷装置で処理すべき文章情報の一例を示す図である。本例は、異なる用紙サイズや向きが混在している文章の一例を表した例である。
図7に示されるように、この文章情報は1、2、3、5、8ページがA4縦、4ページ目がA4横、6ページがA3横、7ページがB4横で構成されている。
[処理の説明]
以下、図7に示す文章情報を、プリンタドライバ202がNup印刷する場合の処理について説明する。
FIG. 7 is a diagram illustrating an example of text information to be processed by the printing apparatus according to the present embodiment. This example is an example showing an example of text in which different paper sizes and orientations are mixed.
As shown in FIG. 7, this text information is composed of pages A1, 2, 3, 5, and 8 in A4 length, page 4 in A4 width, page 6 in A3 width, and page 7 in B4 width.
[Description of processing]
Hereinafter, processing when the printer driver 202 Nup-prints the text information shown in FIG. 7 will be described.

図8は、本実施形態を示す印刷装置の制御方法を説明するフローチャートである。本例は、プリンタドライバ202によるNup印刷処理例である。なお、ユーザが情報処理装置100でアプリケーションからプリンタドライバ202を起動すると、CPU101は、外部メモリ111からプリンタドライバ202を読み出しRAM102にロードして実行する。
これにより、表示部110にプリンタドライバ202による印刷設定ダイアログが表示されるので、ユーザはページ設定シートに含まれるUIを介して、以下のパラメータを指定する。本例は、ユーザが基本原稿サイズ:A4、出力用紙サイズ:A4、印刷の向き:縦、ページレイアウト:6ページ/1枚(標準)、倍率の固定:固定を指定した例である。
次に、ユーザが仕上げタブTAB2を図示しないポインティングデバイスを操作して押下すると、図4の印刷設定ダイアログが表示される。ここで、ユーザは仕上げシートに含まれるユーザインタフェースを介して、印刷方法:片面印刷、配置順:左上から右向きを指定する。
FIG. 8 is a flowchart for explaining a control method of the printing apparatus according to the present embodiment. This example is an example of Nup printing processing by the printer driver 202. When the user activates the printer driver 202 from the application in the information processing apparatus 100, the CPU 101 reads the printer driver 202 from the external memory 111, loads it into the RAM 102, and executes it.
As a result, the print setting dialog by the printer driver 202 is displayed on the display unit 110, and the user specifies the following parameters via the UI included in the page setting sheet. In this example, the user specifies basic document size: A4, output paper size: A4, print orientation: portrait, page layout: 6 pages / one sheet (standard), and fixed magnification: fixed.
Next, when the user operates and presses the finishing tab TAB2 by operating a pointing device (not shown), the print setting dialog shown in FIG. 4 is displayed. Here, the user designates printing method: single-sided printing, arrangement order: from the upper left to the right direction via the user interface included in the finishing sheet.

そして、次に、ユーザがOKボタン407を押下するとプリンタドライバ202の印刷処理が開始される。なお、図8に示す各ステップは、CPU101がRAM102にプリンタドライバ202をロードして実行することで実現される。
S1301で、プリンタドライバ202はユーザが指定した、出力用紙サイズ、印刷の向き、ページレイアウト情報を基にして、出力用紙の向きを確定する。
Next, when the user presses the OK button 407, the printing process of the printer driver 202 is started. Each step shown in FIG. 8 is realized by the CPU 101 loading the printer driver 202 into the RAM 102 and executing it.
In step S <b> 1301, the printer driver 202 determines the output paper orientation based on the output paper size, print orientation, and page layout information specified by the user.

本実施形態では、出力用紙サイズ:A4、印刷の向き:縦、ページレイアウト:6ページ/1枚(標準)が指定されているため、出力用紙の向きは横向きとなる。次に、S1302でプリンタドライバは出力用紙の有効印字領域を、ページレイアウトで指定された値(NupのN)で分割してN個の分割印字領域を生成する。本実施形態では、ページレイアウト:6ページ/1枚(標準)が指定されているため、図6で示されるようにA4横の出力用紙の有効印字領域を6分割し、A、B、C、D、E,Fの6個の分割印字領域を生成する。
次に、プリンタドライバ202は、S1303で、図3に示した画面において、ユーザが倍率の固定を設定するチェックボックス303に対して「固定」を指定されているか判断する。なお、指定するとは、チェックボックス303に対してユーザがチェックを入れることで実行される。
ここで倍率の固定で「固定」が指定されていると判断した場合、S1304に進む。本実施形態では、倍率の固定を設定するチェックボックス303で「固定」が指定されているため、処理はS1304に進む。
In this embodiment, output paper size: A4, print orientation: portrait, page layout: 6 pages / 1 sheet (standard) are specified, so the output paper orientation is landscape. In step S <b> 1302, the printer driver divides the effective print area of the output sheet by a value (Nup of Nup) specified in the page layout to generate N divided print areas. In the present embodiment, since page layout: 6 pages / 1 sheet (standard) is designated, the effective print area of the A4 landscape output sheet is divided into 6 as shown in FIG. 6, and A, B, C, Six divided print areas D, E, and F are generated.
In step S <b> 1303, the printer driver 202 determines whether “fixed” is specified for the check box 303 for setting the magnification to be fixed on the screen illustrated in FIG. 3. The designation is executed when the user checks the check box 303.
If it is determined that “fixed” is specified for the fixed magnification, the process advances to step S1304. In the present embodiment, since “fixed” is designated in the check box 303 for setting the magnification to be fixed, the process proceeds to S1304.

そして、S1304で、プリンタドライバ202は「出力用紙サイズの有効印字領域」の「ページレイアウト」分の1を基準印字領域とし、そのサイズをRAM102に保管する。本実施形態では図6に示した基準印字領域603のサイズが基準印字領域のサイズと決定する。
次に、S1305で、プリンタドライバ202は決定された基準印字領域のサイズと基準原稿サイズから基準倍率を下記の式(1)に従って計算しRAM102に保管する。
基準倍率=基準印字領域のサイズ/基準原稿サイズ×100 % …(1)
次に、S1306で、プリンタドライバ202は文章を構成する最初のページのサイズを取得し、S1307で、プリンタドライバ202は、取得したページのサイズが基準原稿サイズより小さいか判定する。
In step S <b> 1304, the printer driver 202 sets 1 / page layout of the “output sheet size effective print area” as a reference print area, and stores the size in the RAM 102. In this embodiment, the size of the reference print area 603 shown in FIG. 6 is determined as the size of the reference print area.
In step S <b> 1305, the printer driver 202 calculates a reference magnification according to the following equation (1) from the determined reference print area size and reference document size, and stores the reference magnification in the RAM 102.
Reference magnification = reference print area size / reference document size × 100% (1)
Next, in step S1306, the printer driver 202 acquires the size of the first page constituting the text. In step S1307, the printer driver 202 determines whether the acquired page size is smaller than the reference document size.

ここで、取得したページのサイズが基準原稿サイズと同じか、より小さいとプリンタドライバ202が判定した場合、S1308に進み、プリンタドライバ202は当該ページの印字領域サイズを基準印字領域サイズで確定する。具体的には、出力用紙サイズで特定される印刷領域内に各ページの文章情報を印刷するための領域をユーザが設定するレイアウトパラメータに従い決定される基準印刷領域の整数倍の領域に収まるように確定する。
一方、S1307で取得したページのサイズが基準原稿サイズより大きいとプリンタドライバ202が判定した場合、S1309に進む。
そして、S1309でプリンタドライバ202は、あらかじめ決定されている図9に一例を示す確定ルールに従い、当該ページの印字領域サイズを基準印字領域サイズの整数倍に確定する。
If the printer driver 202 determines that the acquired page size is equal to or smaller than the reference document size, the process advances to step S1308, and the printer driver 202 determines the print area size of the page as the reference print area size. Specifically, the area for printing the text information of each page within the print area specified by the output paper size is set to be an integer multiple of the reference print area determined according to the layout parameter set by the user. Determine.
On the other hand, if the printer driver 202 determines that the page size acquired in step S1307 is larger than the reference document size, the process advances to step S1309.
In step S1309, the printer driver 202 determines the print area size of the page to be an integer multiple of the reference print area size in accordance with a predetermined determination rule illustrated in FIG.

図9は、図2に示したプリンタドライバ202が参照する印字領域サイズ確定ルールの一例を示す図である。
図9のルールに従うと、ページサイズの横方向をx、縦方向をyとした場合、x≦基準原稿サイズ横で、かつ、y≦3f基準原稿サイズ縦の場合、印字領域サイズは基準印字領域サイズとなる。
また、基準原稿サイズ横≦x≦基準原稿サイズ横×2で、かつ、 y≦基準原稿サイズ縦の場合、印字領域サイズは基準印字領域の横2倍のサイズとなる。また、基準原稿サイズ横×2≦x≦基準原稿サイズ横×3で、かつ、y≦基準原稿サイズ縦の場合、印字領域サイズは基準印字領域の横3倍のサイズとなる。
FIG. 9 is a diagram illustrating an example of a print area size determination rule referred to by the printer driver 202 illustrated in FIG.
According to the rule of FIG. 9, when the horizontal direction of the page size is x and the vertical direction is y, the print area size is the reference print area when x ≦ reference document size is horizontal and y ≦ 3f reference document size is vertical. It becomes size.
Further, when the reference document size width ≦ x ≦ reference document size width × 2 and y ≦ reference document size length, the print area size is twice the width of the reference print area. Further, when the reference document size width × 2 ≦ x ≦ reference document size width × 3 and y ≦ reference document size length, the print area size is three times the reference print area.

また、x≦基準原稿サイズ横で、かつ、基準原稿サイズ縦≦y≦基準原稿サイズ縦×2の場合、印字領域サイズは基準印字領域の縦2倍のサイズとなる。また、基準原稿サイズ横≦x≦基準原稿サイズ横×2で、かつ、基準原稿サイズ縦≦y≦基準原稿サイズ縦×2の場合、印字領域サイズは基準印字領域の縦横2倍のサイズとなる。
さらに、基準原稿サイズ横×2≦x≦基準原稿サイズ横×3で、かつ、基準原稿サイズ縦≦y≦基準原稿サイズ縦×2の場合、印字領域サイズは基準印字領域の縦2倍横3倍のサイズとなる。
When x ≦ reference document size is horizontal and reference document size length ≦ y ≦ reference document size length × 2, the print area size is twice the reference print area. In addition, when the reference document size width ≦ x ≦ reference document size width × 2 and the reference document size length ≦ y ≦ reference document size length × 2, the print area size is twice as large as the reference print area. .
Further, when the reference document size width × 2 ≦ x ≦ reference document size width × 3 and the reference document size length ≦ y ≦ reference document size length × 2, the print area size is twice the width 3 times the reference print area. Double the size.

図10は、図9に示した印字領域サイズ確定ルールに従って確定した印字領域サイズを示す図である。本例は、図7で示される異なる用紙サイズや向きが混在している文章情報を構成する各ページの印字領域サイズを表した例である。
図10において、901は文章を構成する各ページ、902は文章を構成する各ページの印字領域サイズを表している。
本実施形態では、図10に示されるように、1、2、3、5、8ページの印字領域サイズは基準印字領域サイズとなり、4、6、7ページの印字領域サイズは基準印字領域の横2倍のサイズとなる。
FIG. 10 is a diagram showing the print area size determined according to the print area size determination rule shown in FIG. In this example, the print area size of each page constituting the text information in which different paper sizes and orientations shown in FIG. 7 are mixed is shown.
In FIG. 10, reference numeral 901 represents each page constituting the sentence, and 902 represents the print area size of each page constituting the sentence.
In this embodiment, as shown in FIG. 10, the print area size of pages 1, 2, 3, 5, and 8 is the reference print area size, and the print area size of pages 4, 6, and 7 is the side of the reference print area. Double the size.

次に、S1310で、プリンタドライバ202はユーザが指定した配置順に従って、S1309で確定した印字領域サイズが確保できるか判定する。ここで、ページを割りつけるための印字領域が確保できるとプリンタドライバ202が判定した場合、S1312に進み、プリンタドライバ202はページを割りつけるための印字領域を、基準印字領域の整数倍の印字領域に確定する。
具体的には、まず、プリンタドライバ202は、配置順に従って、ページが割りつけられていない分割印字領域を探して始点領域とする。次に、プリンタドライバ202は、始点領域から配置順の縦横方向にS1309で確定した印字領域サイズの縦横のサイズ分の分割印字領域が存在するかチェックする。ここで、分割印字領域が存在する場合、印字領域サイズが確保できると判定する。
In step S1310, the printer driver 202 determines whether the print area size determined in step S1309 can be secured according to the arrangement order designated by the user. If the printer driver 202 determines that a print area for allocating pages can be secured, the process advances to step S1312, and the printer driver 202 sets a print area for allocating pages as a print area that is an integral multiple of the reference print area. To confirm.
Specifically, first, the printer driver 202 searches for a divided print area to which no page is allocated according to the arrangement order, and sets it as a start point area. Next, the printer driver 202 checks whether there are divided print areas corresponding to the vertical and horizontal sizes of the print area size determined in step S1309 from the start point area in the vertical and horizontal directions in the arrangement order. Here, when the divided print area exists, it is determined that the print area size can be secured.

例えば、図7で示される文章情報の1ページ目の印字領域を確保できるかを判定する場合、プリンタドライバ202は、1枚目の出力用紙の図6中の分割印字領域Aを始点領域とする。そして、プリンタドライバ202は、始点領域となる分割印字領域Aから基準印字領域の縦横1倍分の分割印字領域が存在するかチェックする。この場合、分割印字領域Aが存在するため、領域サイズが確保できると判定し、分割印字領域Aを印字領域とする。
同様に、図7で示される文章の4ページ目の印字領域が確保できるか判定する場合、プリンタドライバ202は、1枚目の出力用紙の始点領域Dから基準印字領域の縦1倍、横2倍分の分割印字領域が存在するかチェックする。この場合、分割印字領域D+Eが存在するため、領域サイズが確保できると判定し、分割印字領域D+Eを印字領域とする。
For example, when determining whether the print area of the first page of the text information shown in FIG. 7 can be secured, the printer driver 202 uses the divided print area A in FIG. 6 of the first output sheet as the start point area. . Then, the printer driver 202 checks whether there is a divided print area corresponding to one vertical and horizontal width of the reference print area from the divided print area A serving as the start point area. In this case, since the divided print area A exists, it is determined that the area size can be secured, and the divided print area A is set as the print area.
Similarly, when it is determined whether the print area of the fourth page of the text shown in FIG. 7 can be secured, the printer driver 202 starts from the start point area D of the first output sheet and is twice as long as the reference print area. Check to see if there are double print areas. In this case, since the divided print area D + E exists, it is determined that the area size can be secured, and the divided print area D + E is set as the print area.

ここでページを割りつけるための印字領域が確保できないとプリンタドライバ202が判定した場合、S1311に進み、プリンタドライバ202は、始点印字領域を配置順方向に基準印字領域1つ分移動し、処理をS1310に戻す。
例えば、図7で示される文章情報の7ページ目の印字領域が確保できるか判定する場合、プリンタドライバ202は、2枚目の出力用紙の始点領域となる分割印字領域Cから基準印字領域の縦1倍、横2倍分の分割印字領域が存在するかチェックする。この場合、分割印字領域Cから横2倍分の分割印字領域が存在しないため、領域サイズが確保できないと判定する。
If the printer driver 202 determines that a print area for allocating pages cannot be secured, the process advances to step S1311. The printer driver 202 moves the start point print area by one reference print area in the arrangement direction and performs processing. Return to S1310.
For example, when it is determined whether the print area of the seventh page of the text information shown in FIG. 7 can be secured, the printer driver 202 determines the vertical print of the reference print area from the divided print area C that is the start point area of the second output sheet. Check whether there is a divided print area for 1x and 2x horizontal. In this case, it is determined that the area size cannot be secured because there is no divided print area corresponding to twice the width from the divided print area C.

そして、プリンタドライバ202は、2枚目の始点領域を分割印字領域Dに移動し、処理をS1310に戻す。始点領域を移動した場合、移動前の始点印字領域であった分割印字領域には、白紙ページが割りつけられたことになる。上述の例の場合、2枚目の分割印字領域Cに、白紙ページが割りつけられたことになる。
プリンタドライバ202は、1枚目の出力用紙に印字領域が確保できない場合、2枚目の出力用紙に移動して印字領域を確保する。
Then, the printer driver 202 moves the starting point area of the second sheet to the divided printing area D, and returns the process to S1310. When the start point area is moved, a blank page is allocated to the divided print area that was the start point print area before the movement. In the above example, a blank page is allocated to the second divided print area C.
If the print area cannot be secured on the first output paper, the printer driver 202 moves to the second output paper and secures the print area.

例えば、図5に示す配置順501で「左上から右向き」が指定されていて、1枚目の出力用紙の始点領域となる分割印字領域Fから基準印字領域の縦1倍、横2倍の印字領域を確保しようとする。この際、プリンタドライバは2枚目の出力用紙の分割印字領域Aに始点領域を移動し、2枚目の出力用紙の分割印字領域A+Bを印字領域とする。
そして、プリンタドライバ202は、ページを割りつけるための印字領域が確保できるまでS1310、S1311を繰り返す。
次に、S1313でプリンタドライバ202は配置順情報に従い割りつけの揃え位置を図11に示すように確定する。
For example, in the arrangement order 501 shown in FIG. 5, “upward from left to right” is designated, and printing is performed in the vertical and double horizontal directions from the divided print area F that is the start point area of the first output sheet to the reference print area. Try to reserve space. At this time, the printer driver moves the start point area to the divided print area A of the second output sheet, and sets the divided print area A + B of the second output sheet as the print area.
The printer driver 202 repeats S1310 and S1311 until a print area for allocating pages can be secured.
In step S <b> 1313, the printer driver 202 determines the alignment position according to the arrangement order information as illustrated in FIG. 11.

図11、図12は、図2に示したプリンタドライバ202による揃え位置の一例を示す図である。本例は、配置順501で「左上から右向き」、あるいは、配置順502で「左上から下向き」が指定された場合に各ページを揃える基準位置の一例を表した例である。
図11に示されるように、この場合、印字データの揃え位置は、上辺、および、左辺となる。ラインC1〜C3、L1、L2は、配置の基準位置を例示的に示したものである。
図12は、配置順503で「右上から左向き」、あるいは、配置順504「右上から下向き」が指定された場合の揃え位置の一例を表し例であり、この場合、印字データの揃え位置は、上辺、および、右辺となる。なお、図11,図12に示すレイアウト例は、プリンタドライバ202が、レイアウトパラメータに従い決定される印刷領域に確保できる最大基準印刷領域数よりも少ないページ数分の文章情報を印刷領域にレイアウトした例である。図11に示す最大基準印刷領域数が6の場合に、レイアウトしたページ数が5の場合である。
11 and 12 are diagrams illustrating examples of alignment positions by the printer driver 202 illustrated in FIG. This example shows an example of a reference position for aligning the pages when “upward from left to right” is specified in the arrangement order 501 or “down from upper left to the bottom” is specified in the arrangement order 502.
As shown in FIG. 11, in this case, the alignment positions of the print data are the upper side and the left side. Lines C1 to C3, L1, and L2 exemplify reference positions for arrangement.
FIG. 12 is an example showing an example of the alignment position when the arrangement order 503 specifies “upper right to left” or the arrangement order 504 “upper right to down”. In this case, the alignment position of the print data is The upper side and the right side. The layout examples shown in FIGS. 11 and 12 are examples in which the printer driver 202 lays out text information for the number of pages smaller than the maximum standard print area number that can be secured in the print area determined according to the layout parameter in the print area. It is. This is the case where the maximum number of reference print areas shown in FIG.

本実施形態では、配置順で「左上から右向き」が指定されているため、印字データの揃え位置は、上辺、および、左辺となる。
次に、S1314で、プリンタドライバ202は、文章を構成するページを、RAM102に保管されている基準倍率で縮小して、S1312で確定した印字領域に位置を揃えて割り付ける。具体的には、プリンタドライバ202が確定した領域に各ページの文章情報を前記印刷領域に印刷可能なページ分前記レイアウトパラメータに従い決定される同じ縮小倍率で縮小してレイアウト(割り付ける)する。
次に、S1315で、プリンタドライバ202は、全ての文章を構成するページの割りつけが終了したか判断する。ここで、全ての割り付けが終了していないとプリンタドライバ202が判断した場合、S1306に戻り、プリンタドライバ202は次のページの割り付け処理を行う。
なお、プリンタドライバ202は、文章を構成する全てのページの割り付けが終了するまでS1306〜S1315の処理を繰り返す。
In the present embodiment, since “from the upper left to the right” is specified in the arrangement order, the print data alignment positions are the upper side and the left side.
Next, in step S <b> 1314, the printer driver 202 reduces the page constituting the sentence with the reference magnification stored in the RAM 102, and assigns the pages to the print area determined in step S <b> 1312 with the same position. Specifically, the text information of each page is reduced in the area determined by the printer driver 202 by the same reduction ratio determined according to the layout parameter for the pages that can be printed in the print area, and is laid out (assigned).
In step S <b> 1315, the printer driver 202 determines whether allocation of pages constituting all sentences has been completed. If the printer driver 202 determines that all allocation has not been completed, the process returns to S1306, and the printer driver 202 performs allocation processing for the next page.
Note that the printer driver 202 repeats the processes of S1306 to S1315 until the assignment of all pages constituting the text is completed.

一方、S1315で全ての文章割り付けが終了したとプリンタドライバ202が判断した場合、S1318に進み、プリンタドライバ202は生成された印刷データをプリンタ装置150に送信して印刷を実行させると、図13で示される出力物が出力される。図13に示すレイアウト例は、レイアウトパラメータで特定される配置順で決定される配置位置に各ページの基準位置が揃うように各ページの文章情報をレイアウトした例である。
すなわち、図7の文章を構成する各ページが同じ縮小率で縮小され、1枚目の出力用紙に文章のページ1〜5が5upで、2枚目の出力用紙に文章の6〜8ページが3upで位置を揃えて印刷される。
一方、S1303で「固定」が指定されていないとプリンタドライバ202が判断した場合、S1316に進む。
そして、S1316において、プリンタドライバ202は印刷データを生成するために、文章情報を構成するページを分割された有効印字領域に収まるように拡大、縮小して、配置順で指定された順に割り付ける。
On the other hand, if the printer driver 202 determines that all sentence assignments have been completed in S1315, the process proceeds to S1318. When the printer driver 202 transmits the generated print data to the printer apparatus 150 to execute printing, the process proceeds to FIG. The output shown is output. The layout example shown in FIG. 13 is an example in which the text information of each page is laid out so that the reference position of each page is aligned with the arrangement position determined in the arrangement order specified by the layout parameter.
That is, each page constituting the sentence of FIG. 7 is reduced at the same reduction ratio, and the pages 1 to 5 of the sentence are 5up on the first output sheet, and the pages 6 to 8 of the sentence are on the second output sheet. Printing is performed with 3up aligned.
On the other hand, if the printer driver 202 determines that “fixed” is not designated in S1303, the process proceeds to S1316.
In step S1316, in order to generate print data, the printer driver 202 enlarges or reduces the pages constituting the text information so as to fit in the divided effective print area, and assigns the pages in the order specified in the arrangement order.

次に、S1317で、プリンタドライバ202は、全ての文章を構成するページの割りつけが終了したか判断する。ここで、全ての割り付けが終了していないとプリンタドライバ202が判断した場合、S1316に戻り、プリンタドライバ202は次のページの割り付け処理を行う。そして、プリンタドライバ202は、文章情報を構成する全てのページの割り付けが終了するまでS1316、S1317の処理を繰り返す。
一方、S1317で全ての文章割り付けが終了したとプリンタドライバ202が判断した場合、S1318に進む。そして、S1318において、プリンタドライバ202は生成された印刷データをプリンタ装置150に送信して印刷を実行して、本処理を終了する。この場合、S1316で用紙サイズの異なるページを同じ大きさの印刷領域に収まるように拡大縮小されるため、ページ毎に縮小率が異なる印刷物が出力される。
Next, in step S <b> 1317, the printer driver 202 determines whether allocation of pages constituting all sentences has been completed. If the printer driver 202 determines that all allocation has not been completed, the process returns to S1316, and the printer driver 202 performs allocation processing for the next page. Then, the printer driver 202 repeats the processes of S1316 and S1317 until the allocation of all the pages constituting the text information is completed.
On the other hand, if the printer driver 202 determines that all sentence assignments have been completed in S1317, the process advances to S1318. In step S1318, the printer driver 202 transmits the generated print data to the printer apparatus 150 to execute printing, and the process ends. In this case, since the pages having different paper sizes are enlarged / reduced in S1316 so as to fit in the print area of the same size, printed materials having different reduction ratios are output for each page.

本実施形態によれば、異なる用紙サイズや向きが混在している文章をNup印刷する場合に、文章全体でページの文字や図形のサイズが揃い、かつ、ページの位置が揃った読みやすい印刷物を出力することが可能となる。   According to the present embodiment, when Nup printing a sentence in which different paper sizes and orientations are mixed, it is possible to obtain an easy-to-read printed matter in which the size of the characters and figures of the page is uniform and the position of the page is uniform throughout the sentence. It becomes possible to output.

〔第2実施形態〕
上記実施形態では、異なる用紙サイズや向きが混在している文章をNup印刷する場合について説明したが、異なる用紙サイズや向きが混在している文章をNup製本印刷する場合の処理について説明する。
[Second Embodiment]
In the above-described embodiment, the case where the text in which different paper sizes and orientations are mixed is described in Nup printing. However, the processing in the case where the text in which different paper sizes and orientations are mixed is subjected to Nup bookbinding printing will be described.

図14は、本実施形態を示す印刷制御装置が処理する文章情報の構成を説明する図である。本例は、異なる用紙サイズや向きが混在している文章情報の一例である。
図14に示すように、この文章情報は1、2、3、4、5、7ページがA4縦、6ページ目がA4横で構成されている例である。
ユーザは、情報処理装置100でアプリケーションからプリンタドライバ202を起動すると、CPU101は、外部メモリ111からプリンタドライバを読み出しRAM102にロードして実行する。
FIG. 14 is a diagram illustrating the configuration of text information processed by the print control apparatus according to the present embodiment. This example is an example of text information in which different paper sizes and orientations are mixed.
As shown in FIG. 14, this text information is an example in which pages 1, 2, 3, 4, 5, and 7 are configured as A4 vertical and the sixth page is A4 horizontal.
When the user activates the printer driver 202 from the application in the information processing apparatus 100, the CPU 101 reads the printer driver from the external memory 111 and loads it into the RAM 102 for execution.

すると、表示部110にプリンタドライバ202が図3に示す印刷設定ダイアログが表示するので、ユーザはページ設定シートに含まれるユーザインタフェースを介して、以下のパラメータを指定する。具体的は、ユーザは、パラメータとして基本原稿サイズ:A4、出力用紙サイズ:A4、印刷の向き:縦、ページレイアウト:8ページ/1枚、倍率の固定:固定、を指定する。
次に、ユーザが仕上げタブを押下すると、図4の印刷設定ダイアログが表示部110に表示される。ここで、ユーザは仕上げシートに含まれるユーザインタフェースを介して、印刷方法:製本印刷、配置順:左上から右向きを、とじしろ30mmを指定し、OKボタン407を押下すると、プリンタドライバ202の印刷処理が開始される。以下、図8に示すステップを適宜示して、本実施形態における印刷制御方法について説明する。
Then, since the printer driver 202 displays the print setting dialog shown in FIG. 3 on the display unit 110, the user designates the following parameters via the user interface included in the page setting sheet. Specifically, the user specifies basic document size: A4, output paper size: A4, print orientation: portrait, page layout: 8 pages / sheet, fixed magnification: fixed as parameters.
Next, when the user presses the finishing tab, the print setting dialog in FIG. 4 is displayed on the display unit 110. Here, the user designates printing method: bookbinding printing, arrangement order: upper left to right direction, binding margin 30 mm, and presses the OK button 407 via the user interface included in the finishing sheet, and the printing process of the printer driver 202 is performed. Is started. Hereinafter, the printing control method in the present embodiment will be described by appropriately showing the steps shown in FIG.

S1301で、プリンタドライバ202はユーザが指定した、出力用紙サイズ、印刷の向き、ページレイアウト情報を基にして、出力用紙のサイズと向きを確定する。
本実施形態では、出力用紙サイズ:A4、印刷の向き:縦、が指定されているため、出力用紙の向きは横向きとなる。次に、S1302で、プリンタドライバ202は出力用紙の有効印字領域を、ページレイアウトで指定された値(NupのN)で分割してN個の印字領域を生成する。
本実施形態では、ページレイアウト:8ページ/1枚が指定されているため、図15で示されるようにA4横の出力用紙の有効印字領域を8分割し、A、B、C、D、E,F、G、Hの6個の印字領域を生成する。
In step S1301, the printer driver 202 determines the output paper size and orientation based on the output paper size, printing orientation, and page layout information specified by the user.
In this embodiment, since the output paper size: A4 and the print orientation: vertical are designated, the output paper orientation is landscape. In step S <b> 1302, the printer driver 202 divides the effective print area of the output paper by a value (Nup of Nup) specified by the page layout, and generates N print areas.
In this embodiment, since page layout: 8 pages / sheet is designated, the effective print area of the A4 landscape output paper is divided into 8 as shown in FIG. 15, and A, B, C, D, E , F, G, and H are generated.

図15は、図2に示したプリンタドライバ202が生成した印字領域を説明する図である。本例は、印刷設定パラメータで、基本原稿サイズ:A4、出力用紙サイズ:A4、印刷の向き:縦、ページレイアウト:8ページ/1枚、倍率の固定:固定、が指定されている場合にプリンタドライバが確定する基準印字領域の一例である。
図15において、1401は基準印字領域、1402は中綴じ代領域である。
第1実施形態と同様に、プリンタドライバ202は、A4横サイズの有効印字領域を、8分割して、A、B、C、D、E、F、G、Hの8個の印字領域を生成する。そしてA4横サイズの有効印字領域の8分の1のサイズを基準印字領域のサイズとする。そして、図8に示したS1303〜S1309の処理を第1実施形態と同様に実行する。
そして、S1309の処理により、第2実施形態では、1、2、3、4、5、7ページの印字領域サイズは基準印字領域サイズとなり、6ページの印字領域サイズは基準印字領域の横2倍のサイズとなる。
FIG. 15 is a diagram for explaining a print area generated by the printer driver 202 shown in FIG. In this example, the printer is set when the print setting parameter specifies basic document size: A4, output paper size: A4, print orientation: portrait, page layout: 8 pages / sheet, and fixed magnification: fixed. It is an example of the reference | standard printing area which a driver fixes.
In FIG. 15, reference numeral 1401 denotes a reference print area, and 1402 denotes a saddle stitch margin area.
As in the first embodiment, the printer driver 202 divides the A4 horizontal size effective print area into eight and generates eight print areas A, B, C, D, E, F, G, and H. To do. Then, the size of one-eighth of the effective printing area of A4 horizontal size is set as the size of the reference printing area. And the process of S1303-S1309 shown in FIG. 8 is performed similarly to 1st Embodiment.
In step S1309, in the second embodiment, the print area size of pages 1, 2, 3, 4, 5, and 7 becomes the reference print area size, and the print area size of page 6 is twice the reference print area. It becomes the size of.

次に、S1310に進むが、S1310、S1311の処理は第1実施形態と同じため説明を省略する。次に、S1312で、プリンタドライバ202はページを割りつけるための印字領域を、基準印字領域の整数倍の印字領域に確定する。ここで、プリンタドライバ202は基準印字領域の整数倍の印字領域が中綴じ代領域と重なる場合、綴じ代を0mmとして印字領域を確定する。
これにより、本実施形態の場合、プリンタドライバ202は、図16で示されるように印字領域を確定する。
Next, the process proceeds to S1310. Since the processes in S1310 and S1311 are the same as those in the first embodiment, the description thereof is omitted. In step S1312, the printer driver 202 determines a print area for allocating pages as a print area that is an integral multiple of the reference print area. Here, when a printing area that is an integral multiple of the reference printing area overlaps with the saddle stitching margin area, the printer driver 202 determines the printing area with a binding margin of 0 mm.
Thereby, in the case of the present embodiment, the printer driver 202 determines the print area as shown in FIG.

図16、図17は、図2に示したプリンタドライバ202が確保した印字領域を説明する図である。本例は、図14で示される文章情報のために確保された印字領域を表した例である。以下、プリンタドライバ202がが綴じ代領域と、基準印刷領域とが重なると判断した場合、当該綴じ代領域を綴じ代設定領域対象から外して、対応するページの文章情報をレイアウトする処理例について説明する。なお、図16に示す例は、図4に示す印刷設定画面においてユーザが設定するレイアウトパラメータであって、製本処理における綴じ代量として製本パラメータが設定された例である。
図16において、1501は中綴じ代領域で、1502は文章の1ページ目のための印字領域、1503は文章の2ページ目のための印字領域、1504は文章の3ページ目のための印字領域である。1505は文章の4ページ目のための印字領域、1506は文章の5ページ目のための印字領域である。1507は文章の6ページ目のための印字領域であり中綴じ代0mm(なし)として確保される。1508は文章の7ページ目のための印字領域である。
FIGS. 16 and 17 are diagrams for explaining the print area secured by the printer driver 202 shown in FIG. In this example, a print area reserved for the text information shown in FIG. 14 is shown. Hereinafter, a description will be given of a processing example in which when the printer driver 202 determines that the binding margin area and the reference print area overlap, the binding margin area is excluded from the binding margin setting area target and the text information of the corresponding page is laid out. To do. Note that the example shown in FIG. 16 is an example in which the bookbinding parameter is set as a binding amount in the bookbinding process, which is a layout parameter set by the user on the print setting screen shown in FIG.
In FIG. 16, 1501 is a saddle stitch margin area, 1502 is a print area for the first page of text, 1503 is a print area for the second page of text, and 1504 is a print area for the third page of text. It is. Reference numeral 1505 denotes a print area for the fourth page of the text, and 1506 denotes a print area for the fifth page of the text. Reference numeral 1507 denotes a print area for the sixth page of the text, which is secured as a saddle stitch margin of 0 mm (none). Reference numeral 1508 denotes a print area for the seventh page of the text.

次に、S1313で、プリンタドライバ202は配置順情報に従い揃え位置を確定し、S1314で、文章を構成するページを、RAM102に保管されている基準倍率で縮小して、S1512で確定した印字領域に位置を揃えて割り付ける。
次に、S1315に進み、プリンタドライバ202は、全ての文章を構成するページの割りつけが終了したか判断する。ここで、全ての割り付けが終了していないとプリンタドライバ202が判断した場合、S1306に戻り、プリンタドライバ202は次のページの割り付け処理を行う。なお、プリンタドライバ202は、文章情報を構成する全てのページの割り付けが終了するまでS1306〜S1315の処理を繰り返す。
一方、S1315で全ての文章割り付けが終了したとプリンタドライバ202が判断した場合、S1318に進み、プリンタドライバ202は生成された印刷データをプリンタ装置150に送信して印刷を実行させる。
In step S <b> 1313, the printer driver 202 determines the alignment position according to the arrangement order information. In step S <b> 1314, the page constituting the sentence is reduced by the reference magnification stored in the RAM 102, and the print area is determined in step S <b> 1512. Allocate and align the positions.
In step S1315, the printer driver 202 determines whether allocation of pages constituting all sentences has been completed. If the printer driver 202 determines that all allocation has not been completed, the process returns to S1306, and the printer driver 202 performs allocation processing for the next page. Note that the printer driver 202 repeats the processes of S1306 to S1315 until the allocation of all pages constituting the text information is completed.
On the other hand, if the printer driver 202 determines that all sentence assignments have been completed in step S1315, the process advances to step S1318, and the printer driver 202 transmits the generated print data to the printer apparatus 150 to execute printing.

なお、本実施形態では、図14の文章情報を構成する各ページが同じ縮小率で位置を揃えて印刷される。この時、ページ6の中綴じ代は0mmとなり、図17で示される印刷物が出力される。
一方、S1303で「固定」が指定されていないとプリンタドライバ202が判断したる場合、S1316に進む。
そして、S1316において、プリンタドライバ202は、印刷データを生成するために、文章情報を構成するページを分割された有効印字領域に収まるように拡大、縮小して、配置順で指定された順に割り付ける。
In this embodiment, the pages constituting the text information in FIG. 14 are printed with the same reduction ratio and the same position. At this time, the saddle stitch margin of page 6 is 0 mm, and the printed matter shown in FIG. 17 is output.
On the other hand, if the printer driver 202 determines that “fixed” is not designated in S1303, the process proceeds to S1316.
In step S1316, in order to generate print data, the printer driver 202 enlarges and reduces the pages constituting the text information so as to fit in the divided effective print area, and assigns them in the order specified in the arrangement order.

次に、S1317に進み、プリンタドライバ202は、全ての、文章を構成するページの割りつけが終了したか判断する。ここで、全ての割り付けが終了していないとプリンタドライバ202が判断した場合、S1316に戻り、プリンタドライバ202は次のページの割り付け処理を行う。
そして、プリンタドライバ202は、文章を構成する全てのページの割り付けが終了するまでS1316、S1317の処理を繰り返す。
In step S1317, the printer driver 202 determines whether all of the pages constituting the text have been allocated. If the printer driver 202 determines that all allocation has not been completed, the process returns to S1316, and the printer driver 202 performs allocation processing for the next page.
Then, the printer driver 202 repeats the processes of S1316 and S1317 until the allocation of all pages constituting the text is completed.

一方、S1317で全ての文章割り付けが終了したとプリンタドライバ202が判断した場合、S1318に進む。
そして、S1318において、プリンタドライバ202は生成された印刷データをプリンタ装置150に送信して印刷を実行させる。この場合、S1316で用紙サイズの異なるページを同じ大きさの印刷領域に収まるように拡大縮小しているため、ページ毎に縮小率が異なる印刷物が出力される。このとき、ページ6の中綴じ代は30mmとなる。
On the other hand, if the printer driver 202 determines that all sentence assignments have been completed in S1317, the process advances to S1318.
In step S1318, the printer driver 202 transmits the generated print data to the printer apparatus 150 to execute printing. In this case, since the pages having different paper sizes are enlarged / reduced in S1316 so as to fit in the print area of the same size, printed matter having different reduction ratios for each page is output. At this time, the saddle stitch margin for page 6 is 30 mm.

なお、上記第2実施形態では、出力用紙が一枚の例である。これに対して出力用紙が複数枚の製本印刷の例では、出力用紙が一枚の例と比べて、中綴じされた印刷物を見開いた時に正しい順番で配置されるように、プリンタドライバ202は文章情報を構成するページの順番を入れ替えて出力用紙に割り付けなければいけない。このような割付処理の違いはあるが、出力用紙が複数枚の製本印刷の場合でも、印字領域の確定方法、中綴じ代の処理方法は出力用紙が一枚の場合と同じである。   In the second embodiment, an output sheet is an example. On the other hand, in the case of bookbinding printing with a plurality of output sheets, the printer driver 202 is arranged so that it is arranged in the correct order when the saddle-stitched printed matter is opened compared to the case of one output sheet. The order of the pages that make up the information must be changed and assigned to the output paper. Although there is such a difference in the layout processing, even when the output paper is a plurality of bookbinding prints, the method for determining the print area and the processing method for the saddle stitching margin are the same as when the output paper is a single sheet.

本発明の各工程は、ネットワーク又は各種記憶媒体を介して取得したソフトウエア(プログラム)をパソコン(コンピュータ)等の処理装置(CPU、プロセッサ)にて実行することでも実現できる。   Each process of the present invention can also be realized by executing software (program) acquired via a network or various storage media by a processing device (CPU, processor) such as a personal computer (computer).

本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組合せを含む)が可能であり、それらを本発明の範囲から除外するものではない。
なお、本実施形態に示すプリンタドライバの処理を、ネットワーク上のサーバ装置で提供する環境、例えばクラウドコンピューティング環境でレイアウト印刷を行う構成にも本発明を適用可能であることはいうまでもない。その場合には、ユーザのクライアント装置には、サーバ装置との通信を行うWebブラウザ環境を備え、所定の印刷設定画面を要求してレイアウト印刷要求を行う。また、その際、印刷情報を出力する出力先の印刷能力に応じて、出力先毎に異なるレイアウト結果をプレビューして、ユーザが出力先を変更したり、レイアウトパラメータを変更したりできるように構成してもよい。
また、上記実施形態では、1つのアプリケーションで、異なる用紙サイズ、異なる用紙向きの文章情報をレイアウト処理する場合について説明したが、例えばPDFのように、各ページを自在に連結したり、分離して複数のページからなる異なる用紙サイズ、異なる用紙向きの文章情報をレイアウト処理したりする場合にも本発明を適用可能である。
なお、上記プレビュー結果から、プリンタドライバがユーザからページ順変更の指示を受け付けて、再度レイアウト処理したり、再度レイアウトプレビュー処理を実行したりできるように構成してもよい。
The present invention is not limited to the above embodiment, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not.
Needless to say, the present invention can also be applied to an environment in which the printer driver processing shown in the present embodiment is performed by a server device on a network, for example, a layout printing in a cloud computing environment. In this case, the user's client device has a Web browser environment for communicating with the server device, and requests a predetermined print setting screen to make a layout print request. Also, at that time, according to the print capability of the output destination that outputs the print information, the layout results different for each output destination can be previewed, and the user can change the output destination or change the layout parameters May be.
In the above embodiment, a case has been described in which text information of different paper sizes and different paper directions is laid out in one application. However, for example, each page can be freely connected or separated as in PDF. The present invention is also applicable to the case where layout processing is performed on text information of different paper sizes and different paper orientations composed of a plurality of pages.
Note that the printer driver may accept a page order change instruction from the user based on the preview result, and perform layout processing again or layout preview processing again.

100 ホストコンピュータ
150 プリンタ
200 アプリケーション
202 プリンタドライバ
100 Host computer 150 Printer 200 Application 202 Printer driver

Claims (6)

用紙サイズ、用紙向きが混在する複数ページの文章情報から印刷情報を生成する印刷制御装置であって、
出力用紙サイズで特定される印刷領域内に各ページの文章情報を印刷するための領域をユーザが設定するレイアウトパラメータに従い決定される基準印領域の整数倍の領域に収まるように確定する確定手段と、
前記確定手段が確定した領域に各ページの文章情報を前記印領域に印刷可能なページ分前記レイアウトパラメータに従い決定される同じ縮小倍率で縮小してレイアウトするレイアウト手段と、
前記レイアウト手段により複数のページの文章情報がレイアウトされた印刷データを印刷装置に送信する送信手段とを有し、
前記レイアウトパラメータは、製本処理における綴じ代量を設定する製本パラメータを含み、
前記レイアウト手段は、前記製本パラメータが設定されている綴じ代領域と、前記基準印字領域の整数倍に確定された文章情報を印刷するための前記領域とが重なるかどうかを判断する判断手段を備え、
前記レイアウト手段は、前記判断手段が前記綴じ代領域と、前記基準印字領域の整数倍に確定された文章情報を印刷するための前記領域とが重なると判断した場合、当該綴じ代領域を綴じ代設定領域対象から外して、対応するページの文章情報をレイアウトすることを特徴とする印刷制御装置。
A print control device that generates print information from multiple pages of text information in which paper size and paper orientation are mixed,
Determination means for determining to fit an integer multiple of the area of the reference mark shaped region a region for printing the text information for each page in the print region specified by the output sheet size the user is determined in accordance with the layout parameters to be set When,
And layout means for laying shrinking at the same reduction ratio which is determined text information for each page in accordance with the indicia shaped area printable pages to the layout parameters in the region in which the determining means is determined,
Transmission means for transmitting print data in which text information of a plurality of pages is laid out by the layout means to a printing apparatus ;
The layout parameter includes a bookbinding parameter for setting a binding margin amount in bookbinding processing,
The layout unit includes a determination unit that determines whether a binding margin area in which the bookbinding parameter is set overlaps with the area for printing text information determined to be an integral multiple of the reference print area. ,
If the determination unit determines that the binding margin area and the area for printing text information determined to be an integral multiple of the reference print area overlap, the layout unit determines the binding margin area as a binding margin. A print control apparatus characterized in that the text information of a corresponding page is laid out without being set as a setting area target .
前記レイアウト手段は、前記レイアウトパラメータで特定される配置順では前記文章情報のページをレイアウトできない基準印領域を白紙ページとして処理することを特徴とする請求項1記載の印刷制御装置。 The layout means, said print control apparatus according to claim 1, wherein the processing the reference Printout areas not laid out pages of the text information as a blank page in the arrangement order specified by the layout parameters. 前記レイアウト手段は、前記レイアウトパラメータで特定される配置順で決定される配置位置に各ページの基準位置が揃うように各ページの文章情報をレイアウトすることを特徴とする請求項1記載の印刷制御装置。   The print control according to claim 1, wherein the layout unit lays out the text information of each page so that a reference position of each page is aligned with an arrangement position determined in an arrangement order specified by the layout parameter. apparatus. 前記レイアウト手段は、前記レイアウトパラメータに従い決定される前記印刷領域に確保できる最大基準印領域数よりも少ないページ数分の文章情報を前記印領域にレイアウトすることを特徴とする請求項1記載の印刷制御装置。 The layout means, according to claim 1, wherein the laying up reference Printout region sentence information fewer pages minutes than the number that can be secured in the printing area determined in accordance with the layout parameters to the Printout region Print control device. 用紙サイズ、用紙向きが混在する複数ページの文章情報から印刷情報を生成する印刷制御装置の印刷制御方法であって、
出力用紙サイズで特定される印刷領域内に各ページの文章情報を印刷するための領域をユーザが設定するレイアウトパラメータに従い決定される基準印領域の整数倍の領域に収まるように確定する確定工程と、
前記確定工程において、確定した領域に各ページの文章情報を前記印領域に印刷可能なページ分前記レイアウトパラメータに従い決定される同じ縮小倍率で縮小してレイアウトするレイアウト工程と、
前記レイアウト工程により複数のページの文章情報がレイアウトされた印刷データを印刷装置に送信する送信工程とを有し、
前記レイアウトパラメータは、製本処理における綴じ代量を設定する製本パラメータを含み、
前記レイアウト工程は、前記製本パラメータが設定されている綴じ代領域と、前記前記基準印字領域の整数倍に確定された文章情報を印刷するための前記領域とが重なるかどうかを判断する判断工程を備え、
前記レイアウト工程は、前記判断工程において前記綴じ代領域と、前記基準印字領域の整数倍に確定された文章情報を印刷するための前記領域とが重なると判断した場合、当該綴じ代領域を綴じ代設定領域対象から外して、対応するページの文章情報をレイアウトすることを特徴とする印刷制御装置の印刷制御方法。
A print control method of a print control device that generates print information from multiple pages of text information in which paper size and paper orientation are mixed,
Placing step of placing to fit an integer multiple of the area of the reference mark shaped region a region for printing the text information for each page in the print region specified by the output sheet size the user is determined in accordance with the layout parameters to be set When,
In the confirmation process, a layout step of laying shrinking at the same reduction ratio which is determined text information for each page in accordance with the indicia shaped area printable pages to the layout parameters on the determined area,
A transmission step of transmitting print data in which text information of a plurality of pages is laid out by the layout step to a printing apparatus ,
The layout parameter includes a bookbinding parameter for setting a binding margin amount in bookbinding processing,
The layout step includes a determination step of determining whether or not a binding margin region in which the bookbinding parameter is set overlaps with the region for printing text information determined to be an integral multiple of the reference print region. Prepared,
In the layout step, when it is determined that the binding margin area and the area for printing the text information determined to be an integral multiple of the reference print area overlap in the determination step, the binding margin area is bound to the binding margin area. A print control method for a print control apparatus, wherein the text information of a corresponding page is laid out without being set as a setting area target .
請求項に記載の印刷制御装置の印刷制御方法をコンピュータに実行させることを特徴とするプログラム。 A program for causing a computer to execute the print control method of the print control apparatus according to claim 5 .
JP2011037137A 2011-02-23 2011-02-23 Print control apparatus, print control method for print control apparatus, and program Expired - Fee Related JP5734020B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011037137A JP5734020B2 (en) 2011-02-23 2011-02-23 Print control apparatus, print control method for print control apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011037137A JP5734020B2 (en) 2011-02-23 2011-02-23 Print control apparatus, print control method for print control apparatus, and program

Publications (2)

Publication Number Publication Date
JP2012174110A JP2012174110A (en) 2012-09-10
JP5734020B2 true JP5734020B2 (en) 2015-06-10

Family

ID=46976949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011037137A Expired - Fee Related JP5734020B2 (en) 2011-02-23 2011-02-23 Print control apparatus, print control method for print control apparatus, and program

Country Status (1)

Country Link
JP (1) JP5734020B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475120A (en) * 2020-04-24 2020-07-31 华黔科技有限公司 Intelligent printing and stamping method and equipment
CN115033192B (en) * 2022-08-10 2022-11-15 深圳市信润富联数字科技有限公司 Label printing method and device based on webpage, electronic equipment and storage medium
CN115423991B (en) * 2022-08-22 2023-09-12 惠州市海葵信息技术有限公司 Engineering drawing layout method, controller and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065367A (en) * 2006-09-04 2008-03-21 Sharp Corp Information processing device, page image arrangement adjustment method, program, and recording medium
JP5298812B2 (en) * 2008-12-03 2013-09-25 コニカミノルタ株式会社 Image forming apparatus
JP4792099B2 (en) * 2009-06-12 2011-10-12 株式会社沖データ Printing program, printing control apparatus, and image forming apparatus

Also Published As

Publication number Publication date
JP2012174110A (en) 2012-09-10

Similar Documents

Publication Publication Date Title
JP3805122B2 (en) Information processing apparatus, print setting method thereof, and storage medium storing computer-readable printer driver program
JP3854741B2 (en) Print control system, print control method, and storage medium
US20070177212A1 (en) Print layout and apparatus and method
US9519850B2 (en) Computer-readable recording medium, information processing apparatus, and printing system
US20100232910A1 (en) Information processing apparatus, information processing method, program, and storage medium
US8670134B2 (en) Print control apparatus, print control method, and storage medium
US20120268792A1 (en) Print processing apparatus, print processing method, and print control program
JP2005115683A (en) Print setting method and information processor
US7428072B2 (en) Printing control program, printing control method, printing system and information processing apparatus
JP2004058651A (en) Printing controller, method of controlling printing, printing control program, and memory medium containing the program
US9104346B2 (en) Information processing apparatus and control method thereof
JP5734020B2 (en) Print control apparatus, print control method for print control apparatus, and program
JP2002014797A (en) Information processor, print controller and its control method, and storage medium and its control program
JP4817563B2 (en) Information processing apparatus, data processing method of the apparatus, data processing program, and storage medium storing the program
JP2002254774A (en) Printing control method, printing information generation device, printing control device, printing control system, and medium to provide control program
JP2008015563A (en) Printing control device, printing control method, program and recording medium
JP2007234037A (en) Information processor and information processing method
JP3745086B2 (en) Printing control apparatus and method
JP2010277245A (en) Printing system and print control method
US8160469B2 (en) Information processing apparatus, method for controlling the information processing apparatus, and storage medium
WO2021131979A1 (en) Control method and information processing device
JP4794812B2 (en) Preview display method and preview display device
JP5677118B2 (en) Information processing apparatus, control method, and program
JP5044031B2 (en) Information processing apparatus, information processing method, and storage medium
JP4545903B2 (en) Information processing apparatus, information processing method, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141021

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141212

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150414

R151 Written notification of patent or utility model registration

Ref document number: 5734020

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees