JP2012123780A - Information processor, program, and recording medium - Google Patents

Information processor, program, and recording medium Download PDF

Info

Publication number
JP2012123780A
JP2012123780A JP2011226220A JP2011226220A JP2012123780A JP 2012123780 A JP2012123780 A JP 2012123780A JP 2011226220 A JP2011226220 A JP 2011226220A JP 2011226220 A JP2011226220 A JP 2011226220A JP 2012123780 A JP2012123780 A JP 2012123780A
Authority
JP
Japan
Prior art keywords
page
document
size
post
rotation control
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.)
Granted
Application number
JP2011226220A
Other languages
Japanese (ja)
Other versions
JP5866953B2 (en
Inventor
Toshihiro Mochizuki
俊宏 望月
Se-Chung Chu
世忠 朱
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011226220A priority Critical patent/JP5866953B2/en
Priority to US13/292,512 priority patent/US8767221B2/en
Priority to EP11188934.1A priority patent/EP2455816B1/en
Publication of JP2012123780A publication Critical patent/JP2012123780A/en
Application granted granted Critical
Publication of JP5866953B2 publication Critical patent/JP5866953B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/50Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/50Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control
    • G03G15/5029Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control by measuring the copy material characteristics, e.g. weight, thickness
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1208Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1256User feedback, e.g. print preview, test print, proofing, pre-flight checks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32358Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter
    • H04N1/32459Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter for changing the arrangement of the stored data
    • H04N1/3247Changing the arrangement of data in a page, e.g. reversing the order to produce a mirror image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/333Mode signalling or mode changing; Handshaking therefor
    • H04N1/33307Mode signalling or mode changing; Handshaking therefor prior to start of transmission, input or output of the picture signal only
    • H04N1/33315Mode signalling or mode changing; Handshaking therefor prior to start of transmission, input or output of the picture signal only reading or reproducing mode only, e.g. sheet size, resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/3877Image rotation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/333Mode signalling or mode changing; Handshaking therefor
    • H04N2201/33307Mode signalling or mode changing; Handshaking therefor of a particular mode
    • H04N2201/33314Mode signalling or mode changing; Handshaking therefor of a particular mode of reading or reproducing mode
    • H04N2201/33321Image or page size, e.g. A3, A4
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/333Mode signalling or mode changing; Handshaking therefor
    • H04N2201/33307Mode signalling or mode changing; Handshaking therefor of a particular mode
    • H04N2201/33314Mode signalling or mode changing; Handshaking therefor of a particular mode of reading or reproducing mode
    • H04N2201/33335Presentation, e.g. orientation, simplex, duplex

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Quality & Reliability (AREA)
  • Record Information Processing For Printing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processor capable of making a print result to be accurately and easily previewed even when manuscripts to be printed have different sizes mixed together or post processing thereof is set.SOLUTION: An information processor comprises: a size detecting section 102 for detecting a size of each page of a document; an orientation detecting section 103 for detecting an orientation of the page; a receiving section 101 for receiving a post processing setting with respect to a printing paper sheet on which the document has been printed; a size determining section 104 for determining whether or not pages having a plurality of sizes, in which the lengths of one sides are the same but the lengths of other sides are different from one another, are detected from the document; a rotation control section 105 for rotating the pages such that the pages are oriented toward the same length sides according to the received post processing setting; and an output section 106 for outputting the document, of which pages have been rotated.

Description

本発明は、情報処理装置、プログラムおよび記録媒体に関する。   The present invention relates to an information processing apparatus, a program, and a recording medium.

従来、印刷データの原稿の向きと、セットされている用紙の向きから自動的に画像を回転して印刷するアプリケーションプログラムを備えたプリンタ等の画像形成装置が普及している。アプリケーションはまず両面印刷の際は開き方向の設定等から裏表の画像を回転させる。また、パンチやステープルのオンライン後処理機が接続されている場合は、後処理を指示された位置と、後処理機の実際の機構の位置から、指示された位置に後処理されるように画像を回転させる。   2. Description of the Related Art Conventionally, an image forming apparatus such as a printer having an application program for automatically rotating and printing an image from the orientation of a print data document and the orientation of a set paper has been widespread. The application first rotates the front and back images from the setting of the opening direction, etc., for duplex printing. If an online post-processing machine for punching or stapling is connected, the image is processed so that the post-processing is performed from the position instructed for post-processing and the actual mechanism position of the post-processing machine to the instructed position. Rotate.

そして、印刷結果の表裏の位置関係や、後処理が実行される位置を印刷前にユーザが確認できるように仕上がりイメージをプレビュー画面として表示する方法が既に知られている。例えば、印刷結果を容易に、かつ正確に把握する目的で、両面印刷などの表裏の画像の関係をアニメーションでプレビューする方法が提案されている(例えば、特許文献1参照。)。   A method of displaying a finished image as a preview screen so that the user can confirm the positional relationship between the front and back of the printing result and the position where the post-processing is executed before printing is already known. For example, for the purpose of easily and accurately grasping the printing result, a method of previewing the relationship between front and back images such as double-sided printing with animation has been proposed (for example, see Patent Document 1).

しかしながら、原稿にサイズの種類および向き(縦横)が混在している場合、最終的な後処理位置が反映された印刷結果を正確にプレビューすることが困難である。また、この場合に従来技術のプレビュー方法を用いるとしても、既存のアプリケーションプログラムでは、プリンタの機種毎に対応する回転ロジックを用意する必要がある。このため、複数のプリンタを対象にするような一般的なアプリケーションプログラムでは、プリンタの機種に応じた全ての回転ロジックを持つ必要が生じ処理が煩雑となる。   However, when there are mixed types of sizes and orientations (vertical and horizontal) in the document, it is difficult to accurately preview the printing result reflecting the final post-processing position. In this case, even if the conventional preview method is used, it is necessary to prepare a rotation logic corresponding to each printer model in the existing application program. For this reason, in a general application program for a plurality of printers, it is necessary to have all the rotation logics corresponding to the printer models, and the processing becomes complicated.

本発明は、上記に鑑みてなされたものであって、印刷対象となる原稿に異なる用紙サイズが混在する場合や、後処理が設定されている場合であっても印刷結果を正確かつ容易にプレビューすることができる情報処理成装置、プログラムおよび記録媒体を提供することを目的とする。   The present invention has been made in view of the above, and print results can be previewed accurately and easily even when different paper sizes are mixed in a document to be printed or when post-processing is set. An object of the present invention is to provide an information processing apparatus, a program, and a recording medium.

上述した課題を解決し、目的を達成するために、本発明にかかる情報処理装置は、画像形成装置と接続された情報処理装置であって、印刷対象となる文書の各ページのサイズを検出するサイズ検出部と、前記各ページの向きを検出する向き検出部と、前記文書が印刷された印刷用紙に対する後処理設定を受け付ける受付部と、前記文書から、1つの辺の長さが同一であり、かつ他の辺の長さが異なる複数のサイズのページが検出されたか否かを判定する判定部と、前記ページが検出されたと判定された場合に、受け付けられた前記後処理設定に応じて同一の長さの辺が揃うように前記ページを回転させる回転制御部と、前記ページが回転された文書を出力する出力部と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, an information processing apparatus according to the present invention is an information processing apparatus connected to an image forming apparatus, and detects the size of each page of a document to be printed. The length of one side from the document is the same as the size detection unit, the direction detection unit that detects the orientation of each page, the reception unit that receives the post-processing setting for the printing paper on which the document is printed, And a determination unit that determines whether or not a plurality of pages having different lengths of other sides are detected, and when it is determined that the page is detected, according to the accepted post-processing setting A rotation control unit that rotates the page so that the sides having the same length are aligned, and an output unit that outputs a document with the page rotated.

また、本発明にかかるプログラムは、コンピュータを、印刷対象となる文書の各ページのサイズを検出するサイズ検出ステップと、前記各ページの向きを検出する向き検出ステップと、前記文書が印刷された印刷用紙に対する後処理設定を受け付ける受付ステップと、前記文書から、1つの辺の長さが同一であり、かつ他の辺の長さが異なる複数のサイズのページが検出されたか否かを判定する判定ステップと、前記ページが検出されたと判定された場合に、受け付けられた前記後処理設定に応じて同一の長さの辺が揃うように前記ページを回転させる回転制御ステップと、前記ページが回転された文書を出力する出力ステップ、として機能させるためのプログラムであることを特徴とする。   According to another aspect of the present invention, there is provided a program for causing a computer to detect a size of each page of a document to be printed, a direction detecting step to detect the orientation of each page, and a print on which the document is printed. A receiving step for accepting post-processing settings for paper, and a determination for determining whether or not a plurality of pages having the same length on one side and different lengths on the other side are detected from the document. A rotation control step for rotating the page so that sides having the same length are aligned according to the accepted post-processing setting when it is determined that the page is detected, and the page is rotated. It is a program for functioning as an output step for outputting a document.

また、本発明にかかる記録媒体は、コンピュータを、印刷対象となる文書の各ページのサイズを検出するサイズ検出ステップと、前記各ページの向きを検出する向き検出ステップと、前記文書が印刷された印刷用紙に対する後処理設定を受け付ける受付ステップと、前記文書から、1つの辺の長さが同一であり、かつ他の辺の長さが異なる複数のサイズのページが検出されたか否かを判定する判定ステップと、前記ページが検出されたと判定された場合に、受け付けられた前記後処理設定に応じて同一の長さの辺が揃うように前記ページを回転させる回転制御ステップと、前記ページが回転された文書を出力する出力ステップ、として機能させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体であることを特徴とする。   According to another aspect of the present invention, there is provided a recording medium in which a computer detects a size of each page of a document to be printed, a direction detection step that detects a direction of each page, and the document is printed. A receiving step for accepting post-processing settings for printing paper, and determining whether or not a plurality of pages having the same length on one side and different lengths on the other side are detected from the document. A determination step, a rotation control step for rotating the page so that sides of the same length are aligned according to the accepted post-processing setting when it is determined that the page is detected, and the page is rotated It is a computer-readable recording medium that records a program for functioning as an output step for outputting a recorded document.

本発明によれば、印刷対象となる原稿に異なる用紙サイズが混在する場合や、後処理が設定されている場合であっても印刷結果を正確かつ容易にプレビューすることができるという効果を奏する。   According to the present invention, there is an effect that the print result can be previewed accurately and easily even when different paper sizes are mixed in a document to be printed or when post-processing is set.

図1は、第1実施形態にかかる印刷システムの構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a printing system according to the first embodiment. 図2は、情報処理装置の機能的構成を示すブロック図である。FIG. 2 is a block diagram illustrating a functional configuration of the information processing apparatus. 図3は、1辺の長さだけが一致する異なるサイズの組み合わせの一例を示す図である。FIG. 3 is a diagram illustrating an example of a combination of different sizes in which only the length of one side matches. 図4は、1辺の長さが一致する異なるサイズの組み合わせの種類を示す図である。FIG. 4 is a diagram showing the types of combinations of different sizes that have the same length of one side. 図5は、両面印刷時の印刷用紙の表と裏の位置関係を示す図である。FIG. 5 is a diagram showing the positional relationship between the front and back sides of the printing paper during duplex printing. 図6は、ページ順に並べられた文書を示す図である。FIG. 6 is a diagram showing documents arranged in page order. 図7は、従来のプレビュー画面を示す図である。FIG. 7 is a diagram showing a conventional preview screen. 図8−1は、プリンタによる出力結果の一例を示す図である。FIG. 8A is a diagram illustrating an example of an output result by the printer. 図8−2は、プリンタによる出力結果の一例を示す図である。FIG. 8B is a diagram illustrating an example of an output result by the printer. 図9は、回転制御部によるページの回転例を示す図である。FIG. 9 is a diagram illustrating an example of page rotation by the rotation control unit. 図10は、画像形成装置による出力結果の一例を示す図である。FIG. 10 is a diagram illustrating an example of an output result by the image forming apparatus. 図11は、情報処理装置によるページ回転処理の手順を示すフローチャートである。FIG. 11 is a flowchart illustrating a procedure of page rotation processing by the information processing apparatus. 図12は、情報処理装置のハードウェア構成を示す説明図である。FIG. 12 is an explanatory diagram illustrating a hardware configuration of the information processing apparatus. 図13は、印刷対象である文書のサイズが同一の場合におけるページの回転例を説明するための図である。FIG. 13 is a diagram for explaining an example of page rotation when the size of a document to be printed is the same. 図14は、印刷対象である文書のサイズが同一の場合におけるページの回転例を説明するための図である。FIG. 14 is a diagram for explaining an example of page rotation when the size of a document to be printed is the same. 図15は、印刷対象である文書に2種類のサイズが混在しており、2つのサイズを有する各辺のうち1辺の長さがもう一方のサイズの1辺の長さと一致している場合におけるページの回転ルールの一例を示す図である。FIG. 15 shows a case where two types of sizes are mixed in a document to be printed and the length of one side of each side having the two sizes matches the length of one side of the other size. It is a figure which shows an example of the rotation rule of the page in. 図16は、1ページ目がサイズの小さい用紙であり、その配置がポートレートである場合の回転例を示す図である。FIG. 16 is a diagram illustrating an example of rotation when the first page is a small-sized sheet and the layout is a portrait. 図17は、1ページ目がサイズの小さい用紙であり、その配置がランドスケープである場合の回転例を示す図である。FIG. 17 is a diagram illustrating an example of rotation when the first page is a small-sized sheet and the layout is a landscape. 図18は、1ページ目がサイズの大きい用紙であり、その配置がポートレートである場合の回転例を示す図である。FIG. 18 is a diagram illustrating an example of rotation when the first page is a large-sized sheet and the layout is a portrait. 図19は、1ページ目がサイズの大きい用紙であり、その配置がランドスケープである場合の回転例を示す図である。FIG. 19 is a diagram illustrating a rotation example in the case where the first page is a large-sized sheet and the arrangement is a landscape. 図20は、第2実施形態の情報処理装置によるページ回転処理の手順の一例を示すフローチャートである。FIG. 20 is a flowchart illustrating an example of a procedure of page rotation processing by the information processing apparatus according to the second embodiment.

以下に添付図面を参照して、この発明にかかる情報処理装置の最良な実施の形態を詳細に説明する。   Exemplary embodiments of an information processing apparatus according to the present invention will be explained below in detail with reference to the accompanying drawings.

(第1実施形態)
図1は、本実施の形態にかかる印刷システムの構成を示すブロック図である。図1に示すように、印刷システムは、印刷対象となる文書の印刷結果をプレビュー表示する情報処理装置100と、画像形成装置200a、200b、200c(以下、画像形成装置200と総称する。)とネットワーク150により接続されている。ここで、印刷対象となる文書には、テキストデータと、画像データが含まれ、情報処理装置100に保存されているものであっても、外部から取得したものであってもよい。なお、図1では画像形成装置200を3台図示するが、台数はこれに限定されず、単数であっても複数であってもよい。
(First embodiment)
FIG. 1 is a block diagram showing a configuration of a printing system according to the present embodiment. As shown in FIG. 1, the printing system includes an information processing apparatus 100 that displays a print result of a document to be printed, and image forming apparatuses 200a, 200b, and 200c (hereinafter collectively referred to as an image forming apparatus 200). Connected via a network 150. Here, the document to be printed includes text data and image data, and may be stored in the information processing apparatus 100 or acquired from the outside. Although three image forming apparatuses 200 are illustrated in FIG. 1, the number is not limited to this, and may be one or more.

情報処理装置100は、ユーザから印刷条件(両面印刷、カラー/モノクロ等)や、印刷後の印刷用紙に対する後処理の設定(ステープル、ホッチキス等)を受け付ける。また、情報処理装置100は、印刷対象となる文書の向きを回転し、向きを回転した原稿およびユーザから受け付けた後処理の設定を、ネットワーク150を介して画像形成装置200に送信する。   The information processing apparatus 100 accepts printing conditions (double-sided printing, color / monochrome, etc.) and post-processing settings (printing, stapling, etc.) for printed paper after printing from the user. In addition, the information processing apparatus 100 rotates the orientation of the document to be printed, and sends the rotated document and post-processing settings received from the user to the image forming apparatus 200 via the network 150.

画像形成装置200は、情報処理装置100から受信した文書を、受信した向き通りに印刷する。また、画像形成装置200は、文書に対して情報処理装置100から受信した後処理を実行する。なお、後処理については、画像形成装置200でなく外部の後処理機が実行することとしても良い。   The image forming apparatus 200 prints the document received from the information processing apparatus 100 in the received direction. In addition, the image forming apparatus 200 performs post-processing received from the information processing apparatus 100 on the document. Note that the post-processing may be executed not by the image forming apparatus 200 but by an external post-processing machine.

次に、情報処理装置100の機能的構成の詳細について説明する。図2は、情報処理装置100の機能的構成を示すブロック図である。   Next, details of the functional configuration of the information processing apparatus 100 will be described. FIG. 2 is a block diagram illustrating a functional configuration of the information processing apparatus 100.

図2に示すように、情報処理装置100は、受付部101と、サイズ検出部102と、向き検出部103と、サイズ判定部104と、回転制御部105と、出力部106と、表示制御部107と、エラー判定部108と、エラー報知部109と、通信部110と、操作表示部130と、記憶部120とを主に備える。   As illustrated in FIG. 2, the information processing apparatus 100 includes a reception unit 101, a size detection unit 102, a direction detection unit 103, a size determination unit 104, a rotation control unit 105, an output unit 106, and a display control unit. 107, an error determination unit 108, an error notification unit 109, a communication unit 110, an operation display unit 130, and a storage unit 120 are mainly provided.

記憶部120は、情報処理装置100により作成された文書や、外部装置や記録媒体(不図示)から取得した文書を記憶する。また、記憶部120は、後述するページの回転方向を決定するルールや、後処理設定の可否を定めたルール等を記憶する。   The storage unit 120 stores a document created by the information processing apparatus 100 and a document acquired from an external device or a recording medium (not shown). In addition, the storage unit 120 stores a rule that determines the rotation direction of a page, which will be described later, a rule that determines whether post-processing setting is possible, and the like.

操作表示部130は、各種画面を表示する。例えば、操作表示部130は、印刷対象となる文書の選択や、後処理設定を選択可能な表示画面を表示する。ここで、後処理設定とは、印刷用紙に対して印刷後に施す処理であって、例えば、両面印刷やパンチやステープル等がある。なお、両面印刷については通常、印刷条件として選択される設定であるが、本実施例では説明の便宜上後処理設定に含めることとする。   The operation display unit 130 displays various screens. For example, the operation display unit 130 displays a display screen on which a document to be printed and selection of post-processing settings can be selected. Here, the post-processing setting is processing performed after printing on the printing paper, and includes, for example, double-sided printing, punching, stapling, and the like. Note that double-sided printing is usually a setting selected as a printing condition, but in this embodiment, it is included in post-processing settings for convenience of explanation.

受付部101は、印刷対象となる文書の選択を受け付ける。ここで、印刷対象となる文書は記憶部120に記憶されていてもよいし、外部装置や記録媒体(不図示)から取得してもよい。また、受付部101は、ユーザから操作表示部130に入力された後処理設定を受け付ける。   The accepting unit 101 accepts selection of a document to be printed. Here, the document to be printed may be stored in the storage unit 120 or may be acquired from an external device or a recording medium (not shown). The accepting unit 101 accepts post-processing settings input from the user to the operation display unit 130.

サイズ検出部102は、受付部101により選択が受け付けられた文書の各ページのサイズを検出する。例えば、サイズ検出部102は、文書に付加されたページ設定情報を取得することにより各ページのサイズを検出してもよい。ここで、ページ設定情報とは、ページ番号、ページのサイズ、ページの向き等を含む情報のことである。   The size detection unit 102 detects the size of each page of the document whose selection is received by the reception unit 101. For example, the size detection unit 102 may detect the size of each page by acquiring page setting information added to the document. Here, the page setting information is information including a page number, a page size, a page orientation, and the like.

受付部101により選択が受け付けられた文書の各ページの向きを検出する。例えば、サイズ検出部102は、文書に付加されたページ設定情報を取得することにより各ページの向きを検出してもよい。   The orientation of each page of the document whose selection is received by the receiving unit 101 is detected. For example, the size detection unit 102 may detect the orientation of each page by acquiring page setting information added to the document.

サイズ判定部104は、サイズ検出部102により、文書から1辺の長さが同一であって、他の辺の長さが異なる複数のサイズのページが検出されたか否かを判定する。例えば、サイズ判定部104は、サイズ検出部102により検出された複数のページのサイズが、1辺の長さだけが一致する異なるサイズの組み合わせとしてあらかじめ記憶部120に記憶された組み合わせが検出されたか否かを判定する。   The size determination unit 104 determines whether or not the size detection unit 102 has detected a plurality of pages having the same length on one side and different lengths on the other side from the document. For example, the size determination unit 104 has detected a combination stored in advance in the storage unit 120 as a combination of different sizes in which the sizes of a plurality of pages detected by the size detection unit 102 match only the length of one side. Determine whether or not.

図3は、1辺の長さだけが一致する異なるサイズの組み合わせの一例を示す図である。図3に示すように、A4とA3は1辺の長さが一致する異なるサイズの組み合わせである。A4はA3よりも小さいサイズであり、A4が有する異なる辺の長さのうち長い方の辺が、A3が有する異なる辺の長さのうち短い方の辺と同一である。図4は、1辺の長さが一致する異なるサイズの組み合わせの種類を示す図である。図4では、1辺の長さが同一で、他の辺の長さが異なるサイズの組み合わせを項番1〜4に示す。例えば、項番1は、図3で示したA4とA3の組み合わせであり、項番2は、B5とB4の組み合わせである。   FIG. 3 is a diagram illustrating an example of a combination of different sizes in which only the length of one side matches. As shown in FIG. 3, A4 and A3 are combinations of different sizes with the same length of one side. A4 is smaller than A3, and the longer side of the different side lengths of A4 is the same as the shorter side of the different side lengths of A3. FIG. 4 is a diagram showing the types of combinations of different sizes that have the same length of one side. In FIG. 4, combinations of sizes in which the length of one side is the same and the lengths of the other sides are different are shown in items 1 to 4. For example, item number 1 is a combination of A4 and A3 shown in FIG. 3, and item number 2 is a combination of B5 and B4.

回転制御部105は、サイズ判定部104により文書から1辺の長さだけが一致する異なる複数のサイズが検出されたと判定された場合、受け付けられた後処理設定に応じて文書のページを他のサイズのページと同一の長さの辺が揃うようにページを回転させる。例えば、回転制御部105は、回転方向を決定するルールに従って、ページを回転させる。ここで、回転方向を決定するルールとは、ページのサイズ、ページの向き、後処理設定の内容(左右開き、上下開き等)によって回転方向を定めたルールである。また、回転方向を決定するルールは、適宜プリンタ毎に任意に変更可能である。これにより、ページの表裏の関係が明確であれば、単純なロジック(ポートレートだけ回転させる、A3のページだけ回転させる等)で印刷結果を容易に得ることができる。   When it is determined by the size determination unit 104 that a plurality of different sizes that match only the length of one side is detected by the size determination unit 104, the rotation control unit 105 changes the page of the document to another type according to the accepted post-processing setting. Rotate the page so that sides of the same length as the size page are aligned. For example, the rotation control unit 105 rotates the page according to a rule that determines the rotation direction. Here, the rule for determining the rotation direction is a rule in which the rotation direction is determined by the page size, the page orientation, and the contents of post-processing settings (left-right opening, up-down opening, etc.). Further, the rule for determining the rotation direction can be arbitrarily changed for each printer as appropriate. Thus, if the relationship between the front and back of the page is clear, the print result can be easily obtained with simple logic (rotate only the portrait, rotate only the A3 page, etc.).

ここで、回転制御部105によるページの回転方向について、従来のページの回転方向と比較して説明する。まず、文書の各ページが印刷される印刷用紙の表と裏の位置関係について説明する。例えば、受付部101が後処理設定として、両面印刷とパンチの設定を受け付けたとする。   Here, the page rotation direction by the rotation control unit 105 will be described in comparison with the conventional page rotation direction. First, the positional relationship between the front and back of the printing paper on which each page of the document is printed will be described. For example, it is assumed that the accepting unit 101 accepts settings for duplex printing and punching as post-processing settings.

図5は、両面印刷時の印刷用紙の表と裏の位置関係を示す図である。図5は、印刷用紙が中心Aを軸にしてめくられた場合の表と裏の位置関係を示している。矢印表面が指す面が印刷用紙の表であり、矢印裏面が指す面が印刷用紙の裏である。   FIG. 5 is a diagram showing the positional relationship between the front and back sides of the printing paper during duplex printing. FIG. 5 shows the positional relationship between the front and the back when the printing paper is turned around the center A as an axis. The surface pointed to by the arrow surface is the front side of the printing paper, and the surface pointed to by the back side of the arrow is the back side of the printing paper.

また、図6は、ページ順に並べられた文書を示す図である。図6では、1ページと2ページがA4であり、3ページと4ページがA3である。また、図6では、受付部101により後処理設定として、両面印刷、左右開き、パンチ「左」が受け付けられている。   FIG. 6 is a diagram showing documents arranged in page order. In FIG. 6, pages 1 and 2 are A4, and pages 3 and 4 are A3. In FIG. 6, double-sided printing, left-right opening, and punch “left” are accepted as post-processing settings by the accepting unit 101.

図7は、従来のプレビュー画面を示す図である。図7は、図6で示した文書に対して、後処理を行う前のページの回転を反映せずに後処理設定有りを示している。   FIG. 7 is a diagram showing a conventional preview screen. FIG. 7 shows that the post-processing setting is made for the document shown in FIG. 6 without reflecting the rotation of the page before post-processing.

図8−1は、あるプリンタAによる出力結果の一例を示す図であり、図8−2は、プリンタAと異なるプリンタBによる出力結果の一例を示す図である。図8−1および図8−2では、1枚目の印刷用紙の両面にはA4のページが印刷され、2枚目の印刷用紙の両面にはA3のページが印刷されている。ここで、2枚目のA3の印刷用紙の出力結果に着目すると、図8−1に示すプリンタAによる出力結果では、2枚目のA3の印刷用紙で、2つのページが同じ向きに配置されている。   8A is a diagram illustrating an example of an output result from a certain printer A, and FIG. 8B is a diagram illustrating an example of an output result from a printer B different from the printer A. In FIGS. 8A and 8B, the A4 page is printed on both sides of the first print sheet, and the A3 page is printed on both sides of the second print sheet. Here, focusing on the output result of the second A3 printing paper, in the output result by the printer A shown in FIG. 8A, two pages are arranged in the same direction on the second A3 printing paper. ing.

図8−1の場合は、図7に示したA3のページが2ページとも左側に90度回転されている。これは、プリンタに接続された後処理機の仕様にもよるが、多くのプリンタでは、A3用紙は短辺給紙(Short Edge Feed)であることや、A3とA4等の用紙サイズ混在時に、用紙搬送方向に対して横幅をそろえるような仕様に起因する。この際、後処理設定がなされていなければ、印刷用紙の搬送方向や給紙方向をプレビュー画面に反映する必要はないが、このように、用紙サイズが混在している場合に後処理設定が行われると、プレビュー画面と実際の印刷結果が異なることが容易に起こり得る。   In the case of FIG. 8A, both pages A3 shown in FIG. 7 are rotated 90 degrees to the left. This depends on the specifications of the post-processor connected to the printer, but in many printers, A3 paper is short edge feed (Short Edge Feed), or when paper sizes such as A3 and A4 are mixed. This is due to the specifications such that the horizontal width is aligned with the paper transport direction. At this time, if the post-processing setting is not made, it is not necessary to reflect the transport direction and the paper feeding direction of the printing paper on the preview screen. However, the post-processing setting is performed when the paper sizes are mixed. If this happens, the preview screen and the actual print result may easily differ.

一方、図8−2に示すように、プリンタBによる出力結果では、2枚目のA3の印刷用紙で、2つのページが異なる向きに配置されている。図8−2の場合は、図7に示したA3のページが最初のページは左側に90度回転されているのに対し、次のページは右側に90度回転されていて、図8−1の場合と異なる。   On the other hand, as shown in FIG. 8B, in the output result from the printer B, two pages are arranged in different directions on the second A3 printing paper. In the case of FIG. 8B, the A3 page shown in FIG. 7 is rotated 90 degrees to the left on the first page, while the next page is rotated 90 degrees to the right. Different from the case of.

つまり、従来は、プリンタによる出力結果が図8−1に示した配置になる場合も、図8−2に示した配置になる場合も同様に、図7に示した同じプレビュー画面が表示されるケースがあった。そして、後処理としてパンチされた位置を中心に用紙がめくられることを優先すれば、図8−1のように用紙の表と裏が上下開きの関係で印刷され、また、左右開きを優先すれば図8−2に示す配置で印刷されていた。また、どちらで印刷されるかは、多くの場合プリンタの実装により決定されるので、プリンタの機種によって出力結果が異なる場合があった。このように、プリンタ機種毎に異なるような特性を印刷前に取得しプレビューに反映することは非常に困難であった。   That is, conventionally, the same preview screen shown in FIG. 7 is displayed both when the output result from the printer is the arrangement shown in FIG. 8A and the arrangement shown in FIG. There was a case. If priority is given to turning the paper around the punched position as post-processing, the front and back of the paper are printed in a vertically open relationship as shown in FIG. For example, it was printed in the arrangement shown in FIG. In many cases, the printing result is determined by the mounting of the printer, so that the output result may differ depending on the printer model. As described above, it is very difficult to acquire characteristics different for each printer model and reflect them in the preview.

図9は、本実施の形態における回転制御部105によるページの回転例を示す図である。回転制御部105は、図6に示した文書のページを、回転方向を決定するルールに従って回転している。図9では、回転制御部105は、縦長に配置されたA3のページを2ページとも左側に90度回転し、横長に配置している。ここで、回転制御部105によるページの回転方向はシステムとして決めればよく、プリンタの回転方向と同じでなくてもよい。なお、このように回転されたページに後処理設定を付与して印刷すれば、プリンタの仕様で決定された回転方向によらずどのプリンタでも同じ印刷結果が得られる。   FIG. 9 is a diagram illustrating an example of page rotation by the rotation control unit 105 according to the present embodiment. The rotation control unit 105 rotates the page of the document shown in FIG. 6 according to a rule for determining the rotation direction. In FIG. 9, the rotation control unit 105 rotates the page A3 arranged vertically in the left direction by 90 degrees on both the left and right sides, and arranges it horizontally. Here, the rotation direction of the page by the rotation control unit 105 may be determined as a system, and may not be the same as the rotation direction of the printer. Note that if post-processing settings are assigned to a page rotated in this way, the same print result can be obtained with any printer regardless of the rotation direction determined by the printer specifications.

出力部106は、表示制御部107を介して操作表示部130に、回転制御部105によりページが回転された文書のプレビュー画面を表示する。また、出力部106は、通信部110を介して、画像形成装置200に回転制御部105による回転後のページを印刷指示とともに送信する。   The output unit 106 displays a preview screen of the document whose page has been rotated by the rotation control unit 105 on the operation display unit 130 via the display control unit 107. Further, the output unit 106 transmits a page rotated by the rotation control unit 105 to the image forming apparatus 200 via the communication unit 110 together with a print instruction.

これに応答して、画像形成装置200は出力部106から受信したページを受信した順に出力する。図10は、画像形成装置200による出力結果の一例を示す図である。図10に示すように、画像形成装置200は、出力部106からページを受信した順、ここでは1枚目のA4と2枚目のA3で同一の長さとなる辺が揃う辺にパンチがされている。   In response to this, the image forming apparatus 200 outputs the pages received from the output unit 106 in the order received. FIG. 10 is a diagram illustrating an example of an output result by the image forming apparatus 200. As shown in FIG. 10, the image forming apparatus 200 is punched in the order in which the pages are received from the output unit 106, here, the sides having the same length in the first A4 and the second A3. ing.

エラー判定部108は、受付部101により受け付けられた後処理設定が、ページのサイズや向きとの関係で設定可能か否かを判断し、設定不可と判断した後処理設定が設定されている場合エラーと判定する。例えば、エラー判定部108は、後処理設定の可否を定めたルールに従って、受付部101により受け付けられた後処理設定の可否を判断し、エラーを判定する。一例として、後処理設定の可否を定めたルールは、小さいサイズと大きいサイズの組み合わせからなるページが、1ページ目が小さいサイズで縦長に配置されている場合に、上下開きの後処理を設定不可と定める。なお、後処理設定の可否を定めたルールの内容は、プリンタの仕様に応じて任意に変更可能である。   The error determination unit 108 determines whether or not the post-processing setting received by the receiving unit 101 can be set in relation to the page size and orientation, and the post-processing setting that is determined to be unset is set Judged as an error. For example, the error determination unit 108 determines whether the post-processing setting accepted by the receiving unit 101 is acceptable according to a rule that determines whether post-processing setting is possible, and determines an error. As an example, the rule that determines whether or not post-processing can be set is based on the fact that a page consisting of a combination of a small size and a large size cannot be set for post-processing that opens up and down when the first page is placed vertically with a small size. It is determined. Note that the content of the rule that determines whether or not post-processing settings can be made can be arbitrarily changed according to the specifications of the printer.

エラー報知部109は、エラー判定部108によりエラーと判定された場合に、受付部101により受け付けられた後処理が設定不可であることをユーザに報知する。例えば、エラー報知部109は、エラー判定部108によりエラーと判定された場合、表示制御部107を介して操作表示部130にエラーを表示する。   When the error determination unit 108 determines that an error has occurred, the error notification unit 109 notifies the user that the post-processing received by the reception unit 101 cannot be set. For example, the error notification unit 109 displays an error on the operation display unit 130 via the display control unit 107 when the error determination unit 108 determines an error.

表示制御部107は、操作表示部130に各種画面や、メッセージを表示する。例えば、表示制御部107は、出力部106からの指示によりプレビュー画面を表示したり、エラー報知部109からの指示によりエラーを表示したりする。   The display control unit 107 displays various screens and messages on the operation display unit 130. For example, the display control unit 107 displays a preview screen according to an instruction from the output unit 106 or displays an error according to an instruction from the error notification unit 109.

通信部110は、情報処理装置100と画像形成装置200との間で各種情報を送受信する。例えば、通信部110は、出力部106から送信された回転制御部105による回転後のページを印刷指示とともに画像形成装置200に送信する。   The communication unit 110 transmits and receives various types of information between the information processing apparatus 100 and the image forming apparatus 200. For example, the communication unit 110 transmits the page rotated by the rotation control unit 105 transmitted from the output unit 106 to the image forming apparatus 200 together with a print instruction.

次に、以上のように構成された情報処理装置100による印刷対象となる文書のページを回転させるページ回転処理について説明する。図11は、情報処理装置100によるページ回転処理の手順を示すフローチャートである。   Next, page rotation processing for rotating a page of a document to be printed by the information processing apparatus 100 configured as described above will be described. FIG. 11 is a flowchart illustrating a procedure of page rotation processing by the information processing apparatus 100.

サイズ検出部102は、印刷対象である文書の各ページのサイズを検出する(ステップS401)。サイズ判定部104は、印刷対象である文書に複数のサイズが混在しているか否かを判定する(ステップS402)。   The size detection unit 102 detects the size of each page of the document to be printed (step S401). The size determination unit 104 determines whether a plurality of sizes are mixed in the document to be printed (step S402).

出力部106は、サイズ判定部104により、印刷対象である文書に複数のサイズが混在していないと判定された場合(ステップS402:No)、通信部110を介して画像形成装置200に文書を送信し、通常の印刷を指示する(ステップS403)。この際、例えば、文書自体には異なるサイズのページが混在していても、単一のサイズで印刷する設定がされている場合には、同様に出力部106は、後処理設定を含む通常の印刷を指示することとなる。   When the size determination unit 104 determines that the document to be printed does not include a plurality of sizes (step S402: No), the output unit 106 sends the document to the image forming apparatus 200 via the communication unit 110. Transmitting and instructing normal printing (step S403). At this time, for example, even if pages of different sizes are mixed in the document itself, if the setting is made to print at a single size, the output unit 106 similarly performs normal processing including post-processing settings. Printing is instructed.

サイズ判定部104は、印刷対象である文書に複数のサイズが混在していると判定した場合(ステップS402:Yes)、サイズは2種類であり、かつ2つのサイズが有する各辺のうち1辺の長さがもう一方のサイズの1辺の長さと一致しているか否かを判定する(ステップS404)。なお、例えば、3種類以上のサイズが混在している場合や、2種類のサイズでもA4とB4等の1辺の長さが一致しない組み合わせの場合であっても、後処理設定が可能なケースであれば、エラー判定部108は、後処理設定可能と判定してもよい。   When the size determination unit 104 determines that a plurality of sizes are mixed in the document to be printed (step S402: Yes), there are two types of sizes, and one of the sides of the two sizes. It is determined whether or not the length of one matches the length of one side of the other size (step S404). Note that, for example, a case where post-processing can be set even when three or more types of sizes are mixed, or even when the two types of sizes are combinations in which the lengths of one side such as A4 and B4 do not match. If so, the error determination unit 108 may determine that post-processing setting is possible.

エラー報知部109は、サイズ判定部104により、サイズが2種類であり、かつ2つのサイズが有する各辺のうち1辺の長さがもう一方のサイズの1辺の長さと一致していると判定されなかった場合(ステップS404:No)、エラーを報知する(ステップS412)。これにより、サイズが2種類であり、かつ2つのサイズが有する各辺のうち1辺の長さがもう一方のサイズの1辺の長さと一致していない場合に、ユーザがパンチやステープル等の後処理設定をできないように制御することができる。   The error notification unit 109 determines that the size determination unit 104 has two types of sizes, and one side of the two sizes has the same length as one side of the other size. If not determined (step S404: No), an error is notified (step S412). As a result, when there are two types of sizes and the length of one side of the two sizes does not match the length of one side of the other size, the user can perform punching, stapling, etc. It is possible to control so that post-processing settings cannot be performed.

回転制御部105は、サイズ判定部104により、サイズが2種類であり、かつ2つのサイズが有する各辺のうち1辺の長さがもう一方のサイズの1辺の長さと一致していると判定された場合(ステップS404:Yes)、文書の1ページ目が他のサイズよりも小さいサイズであり、かつ縦長の配置であるか否かを判定する(ステップS405)。   The rotation control unit 105 determines that the size determination unit 104 has two types of sizes and the length of one side of the two sizes matches the length of one side of the other size. If it is determined (step S404: Yes), it is determined whether or not the first page of the document is smaller than the other sizes and is vertically long (step S405).

回転制御部105は、文書の1ページ目が他のサイズよりも小さいサイズであり、かつ縦長の配置であると判定された場合(ステップS405:Yes)、後処理として上下開きが設定されているか否かを判定する(ステップS408)。エラー報知部109は、回転制御部105により、後処理として上下開きが設定されていると判定された場合(ステップS408:Yes)、エラーを報知する(ステップS413)。   If the rotation control unit 105 determines that the first page of the document is smaller than the other sizes and has a vertically long layout (step S405: Yes), is the top / bottom opening set as post-processing? It is determined whether or not (step S408). The error notification unit 109 notifies an error (step S413) when the rotation control unit 105 determines that the up / down opening is set as the post-processing (step S408: Yes).

回転制御部105は、後処理として上下開きが設定されていないと判定した場合(ステップS408:No)、他のサイズよりも小さいサイズのページを縦長に、大きいサイズのページを横長に揃えるように各ページを回転させる(ステップS409)。   If the rotation control unit 105 determines that vertical opening is not set as post-processing (step S408: No), the page having a smaller size than the other sizes is aligned vertically and the page having a larger size is aligned horizontally. Each page is rotated (step S409).

ここで、回転制御部105によるこれらの判定方法は、ページの回転方向を定めたルールが基準となる。本フローチャートでは、1ページ目のサイズおよび向きによってその後のページの印刷動作が決定されるプリンタが多いため、回転制御部105は1ページ目のサイズを判定基準としているがこれに限定されない。   Here, these determination methods by the rotation control unit 105 are based on rules that determine the rotation direction of the page. In this flowchart, since there are many printers in which the printing operation of the subsequent page is determined by the size and orientation of the first page, the rotation control unit 105 uses the size of the first page as a determination criterion, but is not limited to this.

ステップS405において、回転制御部105は、文書の1ページ目が他のサイズよりも小さいサイズであり、かつ縦長の配置であると判定しなかった場合(ステップS405:No)、1ページ目が他のサイズよりも小さいサイズであり横長であるか否かを判定する(ステップS406)。   In step S405, when the rotation control unit 105 does not determine that the first page of the document is smaller than the other size and has a vertically long layout (step S405: No), the first page is the other page. It is determined whether or not the size is smaller than the size and is horizontally long (step S406).

回転制御部105は、1ページ目が他のサイズよりも小さいサイズであり横長であると判定しなかった場合(ステップS406:No)、1ページ目が他のサイズよりも大きいサイズであり、縦長の配置であるか否かを判定する(ステップS407)。   If the rotation control unit 105 does not determine that the first page is smaller than the other size and is horizontally long (step S406: No), the first page is larger than the other size and is vertically long. It is determined whether or not the arrangement is (step S407).

回転制御部105は、1ページ目が他のサイズよりも大きいサイズであり、縦長の配置であると判定しなかった場合(ステップS407:No)、ステップS409の処理を行う。   If the rotation control unit 105 does not determine that the first page is larger than the other sizes and has a vertically long layout (step S407: No), the rotation control unit 105 performs the process of step S409.

一方、ステップS406において、回転制御部105は、1ページ目が他のサイズよりも小さいサイズであり横長であると判定した場合(ステップS406:Yes)、および、ステップS407において、1ページ目が他のサイズよりも大きいサイズであり、縦長の配置であると判定した場合(ステップS407:Yes)、他のページよりも小さいページは横長に、大きいページは縦長に揃えるように各ページを回転させる(ステップS411)。   On the other hand, when the rotation control unit 105 determines in step S406 that the first page is smaller than the other size and is horizontally long (step S406: Yes), and in step S407, the first page is the other. If it is determined that the size of the page is larger than the page size and the layout is vertically long (step S407: Yes), each page is rotated so that a page smaller than the other pages is horizontally long and a large page is vertically long ( Step S411).

このように、本実施の形態によれば、印刷対象となる文書のページのサイズ、向き、後処理設定により定められた方向によりページを回転させるので、印刷対象となる原稿に異なる用紙サイズが混在する場合や、後処理が設定されている場合であっても印刷結果を正確かつ容易にプレビューすることができる。   As described above, according to the present embodiment, since the page is rotated according to the size, orientation, and direction determined by the post-processing setting of the document to be printed, different paper sizes are mixed in the document to be printed. Even when the post-processing is set, the print result can be previewed accurately and easily.

また、このように、本実施の形態によれば、回転制御部105が印刷対象となる文書のページのサイズ、向き、後処理設定により定められた方向によりページを回転させるので、プリンタ毎に異なる回転方向が設定されていた場合であっても、プリンタ独自の方法によるページの回転を排除することができる。   As described above, according to the present embodiment, the rotation control unit 105 rotates the page according to the page size, orientation, and direction determined by the post-processing setting of the document to be printed. Even when the rotation direction is set, page rotation by a method unique to the printer can be eliminated.

また、このように、本実施の形態によれば、エラー判定部108が印刷対象となる文書のページのサイズと向きの関係により設定可能な後処理を判定するので、所定の条件で設定された後処理をキャンセルし、印刷の失敗を防止することができる。   As described above, according to the present embodiment, the error determination unit 108 determines the post-processing that can be set based on the relationship between the page size and orientation of the document to be printed. Post processing can be canceled to prevent printing failure.

次に、本実施の形態にかかる情報処理装置100のハードウェア構成について図12を用いて説明する。図12は、本実施の形態にかかる情報処理装置100のハードウェア構成を示す説明図である。   Next, the hardware configuration of the information processing apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 12 is an explanatory diagram illustrating a hardware configuration of the information processing apparatus 100 according to the present embodiment.

本実施の形態にかかる情報処理装置100は、CPU(Central Processing Unit)151などの制御装置と、ROM(Read Only Memory)152やRAM(RANDOM Access Memory)153などの記憶装置と、ネットワークに接続して通信を行う通信I/F154と、HDD(Hard Disk Drive)、CD(Compact Disc)ドライブ装置などの外部記憶装置と、ディスプレイ装置などの表示装置と、キーボードやマウスなどの入力装置と、各部を接続するバス161を備えており、通常のコンピュータを利用したハードウェア構成となっている。   The information processing apparatus 100 according to the present embodiment is connected to a control device such as a CPU (Central Processing Unit) 151, a storage device such as a ROM (Read Only Memory) 152 and a RAM (RANDOM Access Memory) 153, and a network. The communication I / F 154, the external storage device such as an HDD (Hard Disk Drive) and CD (Compact Disc) drive device, the display device such as a display device, the input device such as a keyboard and a mouse, A bus 161 for connection is provided, and a hardware configuration using a normal computer is employed.

本実施の形態にかかる情報処理装置100で実行されるページ回転制御プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM(Compact Disk Read Only Memory)、フレキシブルディスク(FD)、CD−R(Compact Disk Recordable)、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されてコンピュータプログラムプロダクトとして提供される。   The page rotation control program executed by the information processing apparatus 100 according to the present embodiment is a file in an installable or executable format, and is a CD-ROM (Compact Disk Read Only Memory), a flexible disk (FD), a CD. -Recorded on a computer-readable recording medium such as R (Compact Disk Recordable), DVD (Digital Versatile Disk), etc., and provided as a computer program product.

また、本実施の形態にかかる情報処理装置100で実行されるページ回転制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施の形態にかかる情報処理装置100で実行されるページ回転制御プログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。   Further, the page rotation control program executed by the information processing apparatus 100 according to the present embodiment is stored on a computer connected to a network such as the Internet and is provided by being downloaded via the network. Also good. The page rotation control program executed by the information processing apparatus 100 according to the present embodiment may be provided or distributed via a network such as the Internet.

また、本実施の形態のページ回転制御プログラムを、ROM等に予め組み込んで提供するように構成してもよい。   Further, the page rotation control program according to the present embodiment may be provided by being incorporated in advance in a ROM or the like.

本実施の形態にかかる情報処理装置100で実行されるページ回転制御プログラムは、上述した各部(受付部、サイズ検出部、向き検出部、サイズ判定部、回転制御部、出力部、表示制御部、エラー判定部、エラー報知部、通信部)を含むモジュール構成となっており、実際のハードウェアとしてはCPU51(プロセッサ)が上記記憶媒体からページ回転制御プログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、上述した各部が主記憶装置上に生成されるようになっている。   The page rotation control program executed by the information processing apparatus 100 according to the present embodiment includes the above-described units (reception unit, size detection unit, orientation detection unit, size determination unit, rotation control unit, output unit, display control unit, The module configuration includes an error determination unit, an error notification unit, and a communication unit). As actual hardware, the CPU 51 (processor) reads out and executes the page rotation control program from the storage medium, and the respective units are mainly used. Each unit described above is loaded on the storage device and is generated on the main storage device.

(第2実施形態)
次に、第2実施形態について説明する。上述の第1実施形態と重複する部分については同一の符号を付して適宜に説明を省略する。
(Second Embodiment)
Next, a second embodiment will be described. The same parts as those in the first embodiment described above are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

本実施形態では、回転制御部105は、印刷対象である文書に2種類のサイズが混在しており、一方のサイズの1辺の長さが他方のサイズの1辺の長さと一致していると判定され、かつ、受付部101で受け付けた後処理設定が実際に処理可能な場合は、同一の長さの辺が揃うように、その後処理設定に応じて2ページ目以降のページを回転させる。一方、受付部101で受け付けた後処理設定が実際は処理不可能な場合は、文書に含まれるページの配置が、1ページ目(先頭ページ)の配置と同じになるように、2ページ目以降のページを回転させる。また、回転制御部105は、印刷対象である文書のサイズが同一の場合は、2ページ目以降のページの配置が、1ページ目の配置と同じになるように、受け付けた後処理設定に応じて2ページ目以降のページを回転させる。以下、具体的な内容を説明する。   In the present embodiment, the rotation control unit 105 has two types of sizes mixed in a document to be printed, and the length of one side of one size matches the length of one side of the other size. If the post-processing setting received by the receiving unit 101 is actually processable, the second and subsequent pages are rotated according to the subsequent processing setting so that the sides with the same length are aligned. . On the other hand, when the post-processing setting received by the receiving unit 101 is not actually processed, the second and subsequent pages are arranged so that the layout of pages included in the document is the same as the layout of the first page (first page). Rotate the page. In addition, the rotation control unit 105 responds to the received post-processing setting so that the arrangement of the second and subsequent pages is the same as the arrangement of the first page when the size of the document to be printed is the same. Rotate the second and subsequent pages. Specific contents will be described below.

まず、印刷対象である文書のサイズが同一の場合におけるページの回転例を説明する。例えば図13に示すように、1ページ目が縦長の配置(「ポートレート」)であり、2ページ目が横長の配置(「ランドスケープ」)である場合を想定する。この場合、回転制御部105は、2ページ目が縦長の配置となるように、受け付けた後処理設定に応じて2ページ目を回転させる。本実施形態では、回転制御部105は、受け付けた後処理設定がステープルやパンチの場合、正面から見たときのページの画像の上側あるいは左側が、当該ページの各辺のうち綴じられる側の辺と対向するようにページを回転させる。より具体的には、図13(a)に示すように、後処理設定として「左開き」が設定されている場合、回転制御部105は、横長に配置された2ページ目を左側に90度回転させることにより、縦長に配置する。また、図13(b)に示すように、後処理設定として「右開き」が設定されている場合、回転制御部105は、横長に配置された2ページ目を右側に90度回転させることにより、縦長に配置する。さらに、図13(c)に示すように、後処理設定として「上開き」が設定されている場合、回転制御部105は、横長に配置された2ページ目を右側に90度回転させることにより、縦長に配置する。   First, an example of page rotation when the size of documents to be printed is the same will be described. For example, as shown in FIG. 13, it is assumed that the first page has a vertically long layout (“portrait”) and the second page has a horizontally long layout (“landscape”). In this case, the rotation control unit 105 rotates the second page according to the received post-processing setting so that the second page is arranged vertically. In this embodiment, when the accepted post-processing setting is stapling or punching, the rotation control unit 105 displays the upper side or the left side of the page image when viewed from the front side of the side of the page to be bound. Rotate the page to face. More specifically, as shown in FIG. 13A, when “left open” is set as the post-processing setting, the rotation control unit 105 moves the second page arranged horizontally to the left by 90 degrees. It is arranged vertically by rotating. Further, as shown in FIG. 13B, when “right open” is set as the post-processing setting, the rotation control unit 105 rotates the second page arranged horizontally by 90 degrees to the right. Arrange vertically. Furthermore, as illustrated in FIG. 13C, when “upward opening” is set as the post-processing setting, the rotation control unit 105 rotates the second page arranged horizontally by 90 degrees to the right. Arrange vertically.

次に、図14に示すように、1ページ目が横長の配置であり、2ページ目が縦長の配置である場合を想定する。この場合、回転制御部105は、2ページ目が横長の配置となるように、受け付けた後処理設定に応じて2ページ目を回転させる。より具体的には、図14(a)に示すように、後処理設定として「左開き」が設定されている場合、回転制御部105は、縦長に配置された2ページ目を左側に90度回転させることにより、横長に配置する。また、図14(b)に示すように、後処理設定として「右開き」が設定されている場合、回転制御部105は、縦長に配置された2ページ目を右側に90度回転させることにより、横長に配置する。さらに、図14(c)に示すように、後処理設定として「上開き」が設定されている場合、回転制御部105は、縦長に配置された2ページ目を右側に90度回転させることにより、横長に配置する。   Next, as shown in FIG. 14, a case is assumed where the first page has a horizontally long layout and the second page has a vertically long layout. In this case, the rotation control unit 105 rotates the second page according to the received post-processing setting so that the second page is arranged horizontally. More specifically, as shown in FIG. 14A, when “left open” is set as the post-processing setting, the rotation control unit 105 moves the second page arranged vertically to the left by 90 degrees. By rotating, it is arranged horizontally. Further, as shown in FIG. 14B, when “right open” is set as the post-processing setting, the rotation control unit 105 rotates the second page arranged vertically by 90 degrees to the right. Arrange horizontally. Furthermore, as shown in FIG. 14C, when “upward opening” is set as the post-processing setting, the rotation control unit 105 rotates the second page arranged vertically by 90 degrees to the right. Arrange horizontally.

次に、印刷対象である文書に2種類のサイズが混在しており、一方のサイズの各辺のうちの1辺の長さが他方のサイズの1辺の長さと一致している場合におけるページの回転例を説明する。この場合、回転制御部105は、同一の長さの辺が揃うように、後処理設定に応じて2ページ目以降のページを回転させる。   Next, a page in the case where two types of sizes are mixed in a document to be printed, and the length of one side of one size matches the length of one side of the other size. An example of rotation will be described. In this case, the rotation control unit 105 rotates the second and subsequent pages according to the post-processing setting so that the sides having the same length are aligned.

図15は、この場合の回転ルールの一例を示す図である。図15に示すように、1ページ目がサイズの小さい用紙であり、その配置がポートレートの場合は、実際に処理可能な後処理は「左開き」または「右開き」である。この場合、回転制御部105は、小さい用紙はポートレート、大きい用紙はランドスケープとなるように、2ページ目以降のページを回転させる。なお、2ページ目以降のページの回転方向は、後処理設定に応じた方向となる。また、1ページ目がサイズの小さい用紙であり、その配置がランドスケープの場合は、実際に処理可能な後処理は「上開き」である。この場合、回転制御部105は、小さい用紙はランドスケープ、大きい用紙はポートレートとなるように、2ページ目以降のページを回転させる。また、1ページ目がサイズの大きい用紙であり、その配置がポートレートの場合は、実際に処理可能な後処理は「上開き」である。この場合、回転制御部105は、小さい用紙はランドスケープ、大きい用紙はポートレートとなるように、2ページ目以降のページを回転させる。さらに、1ページ目がサイズの大きい用紙であり、その配置がランドスケープの場合は、実際に処理可能な後処理は「左開き」あるいは「右開き」である。この場合、回転制御部105は、小さい用紙はポートレート、大きい用紙はランドスケープとなるように、2ページ目以降のページを回転させる。   FIG. 15 is a diagram illustrating an example of the rotation rule in this case. As shown in FIG. 15, when the first page is a small-sized sheet and the layout is a portrait, the post-processing that can be actually processed is “left open” or “right open”. In this case, the rotation control unit 105 rotates the second and subsequent pages so that a small sheet is a portrait and a large sheet is a landscape. Note that the rotation direction of the second and subsequent pages is a direction corresponding to the post-processing setting. Further, when the first page is a small-sized sheet and the arrangement is landscape, the post-processing that can actually be processed is “upward opening”. In this case, the rotation control unit 105 rotates the second and subsequent pages so that a small sheet is a landscape and a large sheet is a portrait. Further, when the first page is a large-sized sheet and the layout is portrait, the post-processing that can actually be processed is “upward opening”. In this case, the rotation control unit 105 rotates the second and subsequent pages so that a small sheet is a landscape and a large sheet is a portrait. Furthermore, when the first page is a large-sized sheet and the layout is landscape, the post-processing that can be actually processed is “left open” or “right open”. In this case, the rotation control unit 105 rotates the second and subsequent pages so that a small sheet is a portrait and a large sheet is a landscape.

いま、図16に示すように、1ページ目がサイズの小さい用紙であり、その配置がポートレートである場合を想定する。図16の例では、2ページ目はサイズの小さい用紙であり、その配置がランドスケープである。3ページ目はサイズの大きい用紙であり、その配置はポートレートである。4ページ目はサイズの大きい用紙であり、その配置はランドスケープである。   Now, as shown in FIG. 16, it is assumed that the first page is a small-sized sheet and the layout is a portrait. In the example of FIG. 16, the second page is a small-sized sheet, and its arrangement is a landscape. The third page is a large-size sheet, and its arrangement is a portrait. The fourth page is a large-sized sheet, and its arrangement is a landscape.

図15からも理解されるように、1ページ目がサイズの小さい用紙であり、その配置がポートレートである場合は、実際に処理可能な後処理設定として「左開き」あるいは「右開き」を設定することは可能であるが、「上開き」を設定することは不可能である。後処理設定として「左開き」が設定された場合、図16(a)に示すように、回転制御部105は、小さい用紙はポートレート、大きい用紙はランドスケープとなるように、2ページ目以降のページを回転させる。この場合の回転方向は「左開き」に応じた方向となる。より具体的には、回転制御部105は、2ページ目を左側に90度回転させることにより、縦長に配置する。また、3ページ目を左側に90度回転させることにより、横長に配置する。なお、4ページ目は横長に配置されているので、この例では回転しない。   As can be understood from FIG. 15, when the first page is a small-sized sheet and the layout is a portrait, “left open” or “right open” is set as a post-processing setting that can be actually processed. It is possible to set, but it is impossible to set “upper opening”. When “left open” is set as the post-processing setting, as shown in FIG. 16A, the rotation control unit 105 causes the second and subsequent pages to be portraits for small sheets and landscapes for large sheets. Rotate the page. The rotation direction in this case is a direction corresponding to “left open”. More specifically, the rotation control unit 105 arranges the second page vertically by rotating the second page 90 degrees to the left. Also, the third page is arranged horizontally by rotating it 90 degrees to the left. Since the fourth page is arranged horizontally, it does not rotate in this example.

また、後処理設定として「右開き」が設定された場合、図16(b)に示すように、回転制御部105は、小さい用紙はポートレート、大きい用紙はランドスケープとなるように、2ページ目以降のページを回転させる。この場合の回転方向は「右開き」に応じた方向となる。より具体的には、回転制御部105は、2ページ目を右側に90度回転させることにより、縦長に配置する。また、3ページ目を右側に90度回転させることにより、横長に配置する。なお、4ページ目は横長に配置されているので、この例では回転しない。   When “right open” is set as the post-processing setting, as shown in FIG. 16B, the rotation control unit 105 sets the second page so that a small sheet is a portrait and a large sheet is a landscape. Rotate subsequent pages. The rotation direction in this case is a direction corresponding to “right open”. More specifically, the rotation control unit 105 arranges the second page vertically by rotating the second page 90 degrees to the right. Also, the third page is arranged horizontally by rotating it 90 degrees to the right. Since the fourth page is arranged horizontally, it does not rotate in this example.

また、後処理設定として「上開き」が設定された場合、回転制御部105は、2ページ目以降のページの配置が、1ページ目の配置と同じになるように、2ページ目以降のページを回転させる。より具体的には、図16(c)に示すように、回転制御部105は、2ページ目以降のページが縦長の配置となるように、2ページ目以降のページを回転させる。   In addition, when “upward opening” is set as the post-processing setting, the rotation control unit 105 causes the second and subsequent pages to be the same as the first and second pages. Rotate. More specifically, as shown in FIG. 16C, the rotation control unit 105 rotates the second and subsequent pages so that the second and subsequent pages are arranged vertically.

次に、図17に示すように、1ページ目がサイズの小さい用紙であり、その配置がランドスケープである場合を想定する。図17の例では、2ページ目はサイズの小さい用紙であり、その配置がポートレートである。3ページ目はサイズの大きい用紙であり、その配置はランドスケープである。4ページ目はサイズの大きい用紙であり、その配置はポートレートである。   Next, as shown in FIG. 17, it is assumed that the first page is a small-sized sheet and the arrangement is a landscape. In the example of FIG. 17, the second page is a small-sized sheet, and its arrangement is a portrait. The third page is a large-size sheet, and its arrangement is a landscape. The fourth page is a large-size sheet, and its arrangement is a portrait.

図15からも理解されるように、1ページ目がサイズの小さい用紙であり、その配置がランドスケープである場合は、実際に処理可能な後処理設定として「上開き」を設定することは可能であるが、「左開き」あるいは「右開き」を設定することは不可能である。後処理設定として「左開き」あるいは「右開き」が設定された場合、回転制御部105は、2ページ目以降のページの配置が、1ページ目の配置と同じになるように、2ページ目以降のページを回転させる。より具体的には、図17(a)、(b)に示すように、回転制御部105は、2ページ目以降のページが横長の配置となるように、2ページ目以降のページを回転させる。   As can be understood from FIG. 15, when the first page is a small-size sheet and the layout is a landscape, it is possible to set “upper opening” as a post-processing setting that can be actually processed. However, it is impossible to set “left open” or “right open”. When “left open” or “right open” is set as the post-processing setting, the rotation control unit 105 sets the second page so that the second and subsequent pages are arranged in the same manner as the first page. Rotate subsequent pages. More specifically, as shown in FIGS. 17A and 17B, the rotation control unit 105 rotates the second and subsequent pages so that the second and subsequent pages are arranged horizontally. .

また、後処理設定として「上開き」が設定された場合、図17(c)に示すように、回転制御部105は、小さい用紙はランドスケープ、大きい用紙はポートレートとなるように、2ページ目以降のページを回転させる。この場合の回転方向は「上開き」に応じた方向となる。より具体的には、回転制御部105は、2ページ目を右側に90度回転させることにより、横長に配置する。また、3ページ目を右側に90度回転させることにより、縦長に配置する。なお、4ページ目は縦長に配置されているので、この例では回転しない。   When “upper opening” is set as the post-processing setting, as shown in FIG. 17C, the rotation control unit 105 sets the second page so that a small sheet is a landscape and a large sheet is a portrait. Rotate subsequent pages. The rotation direction in this case is a direction corresponding to “upward opening”. More specifically, the rotation control unit 105 arranges the second page horizontally by rotating the second page 90 degrees to the right. The third page is arranged vertically by rotating it 90 degrees to the right. Since the fourth page is arranged vertically, it does not rotate in this example.

次に、図18に示すように、1ページ目がサイズの大きい用紙であり、その配置がポートレートである場合を想定する。図18の例では、2ページ目はサイズの大きい用紙であり、その配置がランドスケープである。3ページ目はサイズの小さい用紙であり、その配置はポートレートである。4ページ目はサイズの小さい用紙であり、その配置はランドスケープである。   Next, as shown in FIG. 18, it is assumed that the first page is a large-sized sheet and the layout is a portrait. In the example of FIG. 18, the second page is a large-sized sheet, and the arrangement is a landscape. The third page is a small-sized sheet, and its arrangement is a portrait. The fourth page is a small-size sheet, and its arrangement is a landscape.

図15からも理解されるように、1ページ目がサイズの大きい用紙であり、その配置がポートレートである場合は、実際に処理可能な後処理設定として「上開き」を設定することは可能であるが、「左開き」あるいは「右開き」を設定することは不可能である。後処理設定として「左開き」あるいは「右開き」が設定された場合、回転制御部105は、2ページ目以降のページの配置が、1ページ目の配置と同じになるように、2ページ目以降のページを回転させる。より具体的には、図18(a)、(b)に示すように、回転制御部105は、2ページ目以降のページが縦長の配置となるように、2ページ目以降のページを回転させる。   As can be understood from FIG. 15, when the first page is a large-sized sheet and the layout is a portrait, it is possible to set “upper opening” as a post-processing setting that can be actually processed. However, it is impossible to set “left open” or “right open”. When “left open” or “right open” is set as the post-processing setting, the rotation control unit 105 sets the second page so that the second and subsequent pages are arranged in the same manner as the first page. Rotate subsequent pages. More specifically, as shown in FIGS. 18A and 18B, the rotation control unit 105 rotates the second and subsequent pages so that the second and subsequent pages are arranged vertically. .

また、後処理設定として「上開き」が設定された場合、図18(c)に示すように、回転制御部105は、大きい用紙はポートレート、小さい用紙はランドスケープとなるように、2ページ目以降のページを回転させる。この場合の回転方向は「上開き」に応じた方向となる。より具体的には、回転制御部105は、2ページ目を右側に90度回転させることにより、縦長に配置する。また、3ページ目を右側に90度回転させることにより、横長に配置する。なお、4ページ目は横長に配置されているので、この例では回転しない。   When “upward opening” is set as the post-processing setting, as shown in FIG. 18C, the rotation control unit 105 causes the second page so that a large sheet is a portrait and a small sheet is a landscape. Rotate subsequent pages. The rotation direction in this case is a direction corresponding to “upward opening”. More specifically, the rotation control unit 105 arranges the second page vertically by rotating the second page 90 degrees to the right. Also, the third page is arranged horizontally by rotating it 90 degrees to the right. Since the fourth page is arranged horizontally, it does not rotate in this example.

次に、図19に示すように、1ページ目がサイズの大きい用紙であり、その配置がランドスケープである場合を想定する。図19の例では、2ページ目はサイズの大きい用紙であり、その配置がポートレートである。3ページ目はサイズの小さい用紙であり、その配置はランドスケープである。4ページ目はサイズの小さい用紙であり、その配置はポートレートである。   Next, as shown in FIG. 19, it is assumed that the first page is a large-size sheet and the layout is a landscape. In the example of FIG. 19, the second page is a large-size sheet, and its arrangement is a portrait. The third page is a small-sized sheet, and its arrangement is a landscape. The fourth page is a small-sized sheet, and its arrangement is a portrait.

図15からも理解されるように、1ページ目がサイズの大きい用紙であり、その配置がランドスケープである場合は、実際に処理可能な後処理設定として「左開き」あるいは「右開き」を設定することは可能であるが、「上開き」を設定することは不可能である。後処理設定として「左開き」が設定された場合、図19(a)に示すように、回転制御部105は、小さい用紙はポートレート、大きい用紙はランドスケープとなるように、2ページ目以降のページを回転させる。この場合の回転方向は「左開き」に応じた方向となる。より具体的には、回転制御部105は、2ページ目を左側に90度回転させることにより、横長に配置する。また、3ページ目を左側に90度回転させることにより、縦長に配置する。なお、4ページ目は縦長に配置されているので、この例では回転しない。   As can be understood from FIG. 15, when the first page is a large size paper and the layout is landscape, “left open” or “right open” is set as a post-processing setting that can be actually processed. It is possible to set, but it is impossible to set “upper opening”. When “left open” is set as the post-processing setting, as shown in FIG. 19A, the rotation control unit 105 causes the second and subsequent pages to be portraits for small sheets and landscapes for large sheets. Rotate the page. The rotation direction in this case is a direction corresponding to “left open”. More specifically, the rotation control unit 105 arranges the second page horizontally by rotating the second page 90 degrees to the left. Further, the third page is arranged vertically by rotating 90 degrees to the left. Since the fourth page is arranged vertically, it does not rotate in this example.

また、後処理設定として「右開き」が設定された場合、図19(b)に示すように、回転制御部105は、小さい用紙はポートレート、大きい用紙はランドスケープとなるように、2ページ目以降のページを回転させる。この場合の回転方向は「右開き」に応じた方向となる。より具体的には、回転制御部105は、2ページ目を右側に90度回転させることにより、横長に配置する。また、3ページ目を右側に90度回転させることにより、縦長に配置する。なお、4ページ目は縦長に配置されているので、この例では回転しない。   When “right open” is set as the post-processing setting, as shown in FIG. 19B, the rotation control unit 105 sets the second page so that a small sheet is a portrait and a large sheet is a landscape. Rotate subsequent pages. The rotation direction in this case is a direction corresponding to “right open”. More specifically, the rotation control unit 105 arranges the second page horizontally by rotating the second page 90 degrees to the right. The third page is arranged vertically by rotating it 90 degrees to the right. Since the fourth page is arranged vertically, it does not rotate in this example.

また、後処理設定として「上開き」が設定された場合、回転制御部105は、2ページ目以降のページの配置が、1ページ目の配置と同じになるように、2ページ目以降のページを回転させる。より具体的には、図19(c)に示すように、回転制御部105は、2ページ目以降のページが横長の配置となるように、2ページ目以降のページを回転させる。   In addition, when “upward opening” is set as the post-processing setting, the rotation control unit 105 causes the second and subsequent pages to be the same as the first and second pages. Rotate. More specifically, as shown in FIG. 19C, the rotation control unit 105 rotates the second and subsequent pages so that the second and subsequent pages are arranged horizontally.

図20は、本実施形態の情報処理装置によるページ回転処理の手順の一例を示すフローチャートである。図20に示すように、まずサイズ検出部102は、印刷対象である文書の各ページのサイズを検出する(ステップS501)。次に、サイズ判定部104は、印刷対象である文書に複数のサイズが混在しているか否かを判定する(ステップS502)。サイズ判定部104が、複数のサイズが混在していないと判定した場合(ステップS502の結果:NO)、つまりは、印刷対象である文書の各ページのサイズが同じであると判定した場合、前述したように、回転制御部105は、2ページ目以降のページの配置が、1ページ目の配置と同じになるように、受け付けた後処理設定に応じて各ページを回転する(ステップS503)。   FIG. 20 is a flowchart illustrating an example of a page rotation process performed by the information processing apparatus according to the present embodiment. As shown in FIG. 20, first, the size detection unit 102 detects the size of each page of a document to be printed (step S501). Next, the size determination unit 104 determines whether or not a plurality of sizes are mixed in the document to be printed (step S502). When the size determination unit 104 determines that a plurality of sizes are not mixed (result of step S502: NO), that is, when it is determined that the size of each page of the document to be printed is the same, As described above, the rotation control unit 105 rotates each page according to the received post-processing setting so that the arrangement of the second and subsequent pages is the same as the arrangement of the first page (step S503).

一方、サイズ判定部104は、複数のサイズが混在していると判定した場合(ステップS502の結果:YES)、サイズが2種類であり、一方のサイズの1辺の長さが他方のサイズの1辺の長さと一致しているか否かを判定する(ステップS504)。   On the other hand, when the size determination unit 104 determines that a plurality of sizes are mixed (result of step S502: YES), there are two types of sizes, and the length of one side of one size is that of the other size. It is determined whether or not the length matches one side (step S504).

サイズが2種類であり、一方のサイズの1辺の長さが他方のサイズの1辺の長さと一致していると判定されなかった場合(ステップS504の結果:NO)、回転制御部105は、2ページ目以降のページの配置が、1ページ目の配置と同じになるように、各ページを回転させる(ステップS505)。   When there are two types of sizes, and it is not determined that the length of one side of one size matches the length of one side of the other size (result of step S504: NO), the rotation control unit 105 Each page is rotated so that the arrangement of the second and subsequent pages is the same as the arrangement of the first page (step S505).

一方、サイズが2種類であり、一方のサイズの1辺の長さが他方のサイズの1辺の長さと一致していると判定された場合(ステップS504の結果:YES)、回転制御部105は、受け付けた後処理設定が実際に処理可能であるか否かを判定する(ステップS506)。本実施形態では、回転制御部105は、図15に示すテーブルを参照しながら、受け付けた後処理設定が実際に処理可能であるか否かを判定する。図15に示すテーブルは不図示の記憶装置に格納されている。   On the other hand, when there are two types of sizes and it is determined that the length of one side of one size matches the length of one side of the other size (result of step S504: YES), the rotation control unit 105 Determines whether the accepted post-processing setting can actually be processed (step S506). In the present embodiment, the rotation control unit 105 determines whether or not the accepted post-processing setting can actually be processed with reference to the table shown in FIG. The table shown in FIG. 15 is stored in a storage device (not shown).

回転制御部105は、受け付けた後処理設定が実際に処理可能であると判定した場合(ステップS506の結果:YES)、前述したように、同一の長さの辺が揃うように、受け付けた後処理設定に応じて各ページを回転させる(ステップS507)。一方、回転制御部105は、受け付けた後処理設定が実際は処理不可能であると判定した場合(ステップS506の結果:NO)、2ページ目以降のページの配置が、1ページ目の配置と同じになるように、各ページを回転させる(ステップS505)。以上が、本実施形態の情報処理装置によるページ回転処理の内容である。   When the rotation control unit 105 determines that the received post-processing setting is actually processable (result of step S506: YES), as described above, after receiving the side so that the sides of the same length are aligned. Each page is rotated according to the processing setting (step S507). On the other hand, when the rotation control unit 105 determines that the received post-processing setting is actually unprocessable (result of step S506: NO), the layout of the second and subsequent pages is the same as the layout of the first page. Each page is rotated so as to become (step S505). The above is the content of the page rotation process by the information processing apparatus of this embodiment.

以上に説明したように、本実施の形態においても、印刷対象となる文書のページやサイズ、向き、後処理設定により定められた方向によりページを回転させるので、印刷対象となる原稿に異なる用紙サイズが混在する場合や、後処理が設定されている場合であっても印刷結果を正確かつ容易にプレビューすることができる。   As described above, also in the present embodiment, since the page is rotated according to the page, size, orientation, and post-processing setting of the document to be printed, different paper sizes are used for the document to be printed. Even when there is a mixture of cases or when post-processing is set, the print result can be previewed accurately and easily.

以上のように、本発明にかかる情報処理装置、プログラムおよび記録媒体は、複数のサイズが混在する文書であって、後処理が設定された印刷に有用であり、特に、印刷する装置の種類が複数接続された印刷システムに適している。   As described above, the information processing apparatus, the program, and the recording medium according to the present invention are documents in which a plurality of sizes are mixed, and are useful for printing in which post-processing is set. Suitable for multiple connected printing systems.

100 情報処理装置
101 受付部
102 サイズ検出部
103 向き検出部
104 サイズ判定部
105 回転制御部
106 出力部
107 表示制御部
108 エラー判定部
109 エラー報知部
110 通信部
120 記憶部
130 操作表示部
200 画像形成装置
DESCRIPTION OF SYMBOLS 100 Information processing apparatus 101 Reception part 102 Size detection part 103 Direction detection part 104 Size determination part 105 Rotation control part 106 Output part 107 Display control part 108 Error determination part 109 Error notification part 110 Communication part 120 Storage part 130 Operation display part 200 Image Forming equipment

特開2006−192580号公報JP 2006-192580 A

Claims (8)

画像形成装置と接続された情報処理装置であって、
印刷対象となる文書の各ページのサイズを検出するサイズ検出部と、
前記各ページの向きを検出する向き検出部と、
前記文書が印刷された印刷用紙に対する後処理設定を受け付ける受付部と、
前記文書から、1つの辺の長さが同一であり、かつ他の辺の長さが異なる複数のサイズのページが検出されたか否かを判定する判定部と、
前記ページが検出されたと判定された場合に、受け付けられた前記後処理設定に応じて同一の長さの辺が揃うように前記ページを回転させる回転制御部と、
前記ページが回転された文書を出力する出力部と、
を備えたことを特徴とする情報処理装置。
An information processing apparatus connected to an image forming apparatus,
A size detector that detects the size of each page of the document to be printed;
An orientation detection unit for detecting the orientation of each page;
A receiving unit that receives post-processing settings for printing paper on which the document is printed;
A determination unit for determining whether or not a plurality of pages having the same length on one side and different lengths on the other side are detected from the document;
A rotation control unit that rotates the page so that sides of the same length are aligned according to the received post-processing setting when it is determined that the page is detected;
An output unit for outputting a document in which the page is rotated;
An information processing apparatus comprising:
前記判定部は、前記サイズが2種類検出されたか否かを判定し、
前記回転制御部は、前記文書の1ページ目が、前記2種類のサイズのうち小さい方のサイズであり、かつ縦長配置である場合は、前記小さい方のサイズのページを縦長配置に、かつ前記2種類のサイズのうち大きい方のサイズのページを横長配置となるように回転し、前記文書の1ページ目が、前記小さい方のサイズであり、かつ横長配置である場合、および前記文書の1ページ目が前記大きい方のサイズであり、かつ縦長配置である場合は、前記小さい方のサイズのページを横長配置に、かつ前記大きい方のサイズのページを縦長配置となるように回転させること、
を特徴とする請求項1に記載の情報処理装置。
The determination unit determines whether two types of the sizes are detected,
When the first page of the document has a smaller size of the two types and is in a vertically long arrangement, the rotation control unit arranges the page of the smaller size in a vertically long arrangement, and A page having a larger one of the two types of sizes is rotated so as to have a horizontally long layout, and the first page of the document has the smaller size and has a horizontally long layout, and 1 of the document. When the page is the larger size and is vertically arranged, the page having the smaller size is rotated to be horizontally arranged, and the page having the larger size is rotated to be vertically arranged.
The information processing apparatus according to claim 1.
前記回転制御部は、前記文書の1ページ目が、前記小さい方のサイズであり、かつ縦長配置である場合は、受け付けた前記後処理設定が左開きであれば前記大きい方のページの向きを左方向に、受け付けた前記後処理設定が右開きであれば前記大きい方のページの向きを右方向に回転し、前記文書の1ページ目が、前記小さい方のサイズであり、かつ横長配置である場合、および前記文書の1ページ目が前記大きい方のサイズであり、かつ縦長配置である場合は、前記大きい方のサイズのページの向きを右方向に回転させること、
を特徴とする請求項2に記載の情報処理装置。
If the first page of the document has the smaller size and is arranged vertically, the rotation control unit determines the orientation of the larger page if the received post-processing setting is left-open. If the accepted post-processing setting is opened to the right in the left direction, the direction of the larger page is rotated to the right, and the first page of the document has the smaller size and is in landscape orientation. In some cases, and when the first page of the document has the larger size and is vertically long, the page of the larger size is rotated to the right.
The information processing apparatus according to claim 2.
表示部、をさらに備え、
前記出力部は、前記ページが回転された文書の印刷プレビュー画面を前記表示部に表示すること、
を特徴とする請求項1に記載の情報処理装置。
A display unit,
The output unit displays a print preview screen of a document with the page rotated on the display unit;
The information processing apparatus according to claim 1.
前記出力部は、前記ページが回転された文書を前記画像形成装置に送信し、前記画像形成装置に印刷させること、
を特徴とする請求項1に記載の情報処理装置。
The output unit transmits the document with the page rotated to the image forming apparatus and causes the image forming apparatus to print the document;
The information processing apparatus according to claim 1.
前記回転制御部は、前記ページを画像形成装置毎に定められた所定の回転方向に従って回転させること、
を特徴とする請求項1に記載の情報処理装置。
The rotation control unit rotates the page according to a predetermined rotation direction determined for each image forming apparatus;
The information processing apparatus according to claim 1.
コンピュータを、
印刷対象となる文書の各ページのサイズを検出するサイズ検出ステップと、
前記各ページの向きを検出する向き検出ステップと、
前記文書が印刷された印刷用紙に対する後処理設定を受け付ける受付ステップと、
前記文書から、1つの辺の長さが同一であり、かつ他の辺の長さが異なる複数のサイズのページが検出されたか否かを判定する判定ステップと、
前記ページが検出されたと判定された場合に、受け付けられた前記後処理設定に応じて同一の長さの辺が揃うように前記ページを回転させる回転制御ステップと、
前記ページが回転された文書を出力する出力ステップ、
として機能させるためのプログラム。
Computer
A size detection step for detecting the size of each page of the document to be printed;
An orientation detection step for detecting the orientation of each page;
Receiving a post-processing setting for a printing paper on which the document is printed;
A determination step of determining whether or not a plurality of pages having the same length on one side and different lengths on the other side are detected from the document;
A rotation control step of rotating the page so that sides of the same length are aligned according to the accepted post-processing setting when it is determined that the page is detected;
An output step of outputting a document with the page rotated;
Program to function as.
請求項7に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 7 is recorded.
JP2011226220A 2010-11-17 2011-10-13 Information processing apparatus, program, and recording medium Active JP5866953B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011226220A JP5866953B2 (en) 2010-11-17 2011-10-13 Information processing apparatus, program, and recording medium
US13/292,512 US8767221B2 (en) 2010-11-17 2011-11-09 Information processing apparatus, computer program product, and information processing method configured to rotate documents
EP11188934.1A EP2455816B1 (en) 2010-11-17 2011-11-14 Information processing apparatus, computer program product, and information processing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2010256845 2010-11-17
JP2010256845 2010-11-17
JP2011226220A JP5866953B2 (en) 2010-11-17 2011-10-13 Information processing apparatus, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2012123780A true JP2012123780A (en) 2012-06-28
JP5866953B2 JP5866953B2 (en) 2016-02-24

Family

ID=45047602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011226220A Active JP5866953B2 (en) 2010-11-17 2011-10-13 Information processing apparatus, program, and recording medium

Country Status (3)

Country Link
US (1) US8767221B2 (en)
EP (1) EP2455816B1 (en)
JP (1) JP5866953B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014178895A (en) * 2013-03-14 2014-09-25 Ricoh Co Ltd Print job creation program, print job creation device, print job creation method, and printing system
JP2015079326A (en) * 2013-10-16 2015-04-23 シャープ株式会社 Printing control program
JP2017062719A (en) * 2015-09-25 2017-03-30 富士ゼロックス株式会社 Data processing apparatus, system, and program

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5963435B2 (en) * 2011-12-20 2016-08-03 キヤノン株式会社 Image processing apparatus, print preview display method, and program
US20170053195A1 (en) * 2015-08-19 2017-02-23 Samsung Electronics Co., Ltd. Image forming method, image forming device, and computer-readable recording medium therefor
JP2017156832A (en) * 2016-02-29 2017-09-07 富士ゼロックス株式会社 Print control program and information processing device
US10620885B2 (en) * 2017-07-25 2020-04-14 Seiko Epson Corporation Printing apparatus for performing double-sided printing of a scanned document that contains sheets having different sizes
US10248371B1 (en) 2018-06-08 2019-04-02 Ricoh Company, Ltd. Print job order optimization mechanism
JP7077831B2 (en) * 2018-07-13 2022-05-31 コニカミノルタ株式会社 Paper feed parameter management system
JP2022007112A (en) * 2020-06-25 2022-01-13 キヤノン株式会社 Image processing device, control method thereof, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006209141A (en) * 1998-04-06 2006-08-10 Canon Inc Image formation method, image formation system, image formation apparatus and recording medium
JP2008047076A (en) * 2006-08-21 2008-02-28 Konica Minolta Business Technologies Inc Document management device, document management system, printer in this system, document management method, and document management program

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000339121A (en) 1999-05-27 2000-12-08 Ricoh Co Ltd Printer driver
JP2001188443A (en) * 1999-12-28 2001-07-10 Minolta Co Ltd Image forming device
US6711365B2 (en) * 2000-12-14 2004-03-23 Ricoh Company, Ltd. Image forming system with a finishing capability
JP3824918B2 (en) 2000-12-14 2006-09-20 株式会社リコー Image forming system
US7177045B2 (en) * 2001-04-13 2007-02-13 Electronics For Imaging, Inc. Process and system for mixed page imposition
JP2003101748A (en) * 2001-09-20 2003-04-04 Ricoh Co Ltd Image forming apparatus
JP2005269174A (en) * 2004-03-18 2005-09-29 Ricoh Co Ltd Image forming apparatus, image processing method, program, and recording medium
JP4586539B2 (en) 2005-01-11 2010-11-24 セイコーエプソン株式会社 Preview device, preview program, and preview method
JP4487843B2 (en) 2005-04-27 2010-06-23 コニカミノルタビジネステクノロジーズ株式会社 Image forming apparatus, image forming method, and control program for image forming apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006209141A (en) * 1998-04-06 2006-08-10 Canon Inc Image formation method, image formation system, image formation apparatus and recording medium
JP2008047076A (en) * 2006-08-21 2008-02-28 Konica Minolta Business Technologies Inc Document management device, document management system, printer in this system, document management method, and document management program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014178895A (en) * 2013-03-14 2014-09-25 Ricoh Co Ltd Print job creation program, print job creation device, print job creation method, and printing system
JP2015079326A (en) * 2013-10-16 2015-04-23 シャープ株式会社 Printing control program
JP2017062719A (en) * 2015-09-25 2017-03-30 富士ゼロックス株式会社 Data processing apparatus, system, and program

Also Published As

Publication number Publication date
EP2455816A3 (en) 2014-08-27
EP2455816B1 (en) 2020-02-12
US20120120421A1 (en) 2012-05-17
US8767221B2 (en) 2014-07-01
EP2455816A2 (en) 2012-05-23
JP5866953B2 (en) 2016-02-24

Similar Documents

Publication Publication Date Title
JP5866953B2 (en) Information processing apparatus, program, and recording medium
JP6074444B2 (en) Printing control apparatus, method and program
US20080043283A1 (en) Image forming apparatus, image forming method, and computer program product
JP6723739B2 (en) Print control device, print control method, and program
JP2006003568A (en) Image forming apparatus, image forming method, program for making computer execute the method, image processing system and image processing apparatus
JP2007110678A (en) Image processing apparatus and computer program product
US8848204B2 (en) Image forming apparatus that prints an image on a recording medium set for manual feed
US20090190164A1 (en) Method and apparatus for forming image
JP6413536B2 (en) Image forming apparatus and program
JP2020194205A (en) Application program
JP5483128B2 (en) Operation accepting apparatus, image forming apparatus, and program
JP3902149B2 (en) Image forming apparatus
JP2006311065A (en) Image forming apparatus
JP7338417B2 (en) Image forming apparatus, image forming method, and program
JP2012134773A (en) Image processing device, and control method and program therefor
JP2009076959A (en) Image forming apparatus and system
JP2021075390A (en) Image formation device, controlling method, and program
US11789678B2 (en) Printing apparatus and printing system
JP2020031320A (en) Image forming apparatus and image display method
US11195071B2 (en) Image forming apparatus, output state image generation method, and computer-readable medium
JP5664866B2 (en) Image processing apparatus, preview image display method, and preview image display program
JP6638858B2 (en) Information processing apparatus and print control method
JP7061267B2 (en) Image processing equipment
JP2016063316A (en) Image processing device, image processing method, image processing program, and information processing device
JP2023169696A (en) Program, print result image display method, and information processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150811

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150812

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151027

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151112

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151221

R151 Written notification of patent or utility model registration

Ref document number: 5866953

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151