JP2018069499A - Image processing system and its control method, and program - Google Patents

Image processing system and its control method, and program Download PDF

Info

Publication number
JP2018069499A
JP2018069499A JP2016209887A JP2016209887A JP2018069499A JP 2018069499 A JP2018069499 A JP 2018069499A JP 2016209887 A JP2016209887 A JP 2016209887A JP 2016209887 A JP2016209887 A JP 2016209887A JP 2018069499 A JP2018069499 A JP 2018069499A
Authority
JP
Japan
Prior art keywords
margin
page
print
image processing
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016209887A
Other languages
Japanese (ja)
Inventor
浩一 齊藤
Koichi Saito
浩一 齊藤
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 JP2016209887A priority Critical patent/JP2018069499A/en
Publication of JP2018069499A publication Critical patent/JP2018069499A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve a problem in that, in order to improve visibility of a printed image by detecting a page margin according to a prior art and integrally printing image data excluding the margin, it is necessary to distinguish between a device margin and a margin intentionally added by a user.SOLUTION: When a drawing command included in a printing job is integrally printed, a determination is made whether a page to be printed for the drawing command includes a margin corresponding to a device margin. In a case where the determination is made that the margin corresponding to the device margin is included, an object included in the page is reduced at a reduction rate excluding the margin and is drawn. In a case where the determination is made that a margin corresponding to the device margin is not included, the object included in the page is reduced at a reduction rate based on the integral printing and is drawn. Image data thus drawn are output.SELECTED DRAWING: Figure 10

Description

本発明は、画像処理装置とその制御方法、及びプログラムに関する。   The present invention relates to an image processing apparatus, a control method thereof, and a program.

機密性の高い印刷物を出力するために、他のユーザに見られないように画像処理装置でユーザ認証を実行してから印刷実行を行う留め置き印刷がある。この留め置き印刷では、画像処理装置でユーザの認証に成功した後、その画像処理装置で表示される印刷ジョブリストの画面から、ユーザが留め置かれた印刷データの印刷設定を変更できる。この印刷設定には、集約印刷の設定も含まれる。集約印刷とは、1ページ内に複数ページを印刷する機能で、ここでは1枚の用紙に1ページを割り当てることを1-in-1、1枚の用紙に2ページを割り当てることを2-in-1、1枚の用紙にNページを割り当てることをN-in-1と呼んでいる。この技術は、印刷データに含まれる描画コマンドのうち、変倍に適合するオブジェクト用の描画コマンドを変換することによって達成される(例えば、特許文献1参照)。   In order to output a highly confidential printed matter, there is reserved printing in which printing is executed after user authentication is executed by an image processing apparatus so that it cannot be seen by other users. In this reservation printing, after the user is successfully authenticated by the image processing apparatus, the print setting of the print data stored by the user can be changed from the screen of the print job list displayed on the image processing apparatus. This print setting includes a setting for aggregate printing. Aggregate printing is a function that prints multiple pages within one page. Here, assigning one page to one sheet is 1-in-1, assigning two pages to one sheet is 2-in. -1 Assigning N pages to one sheet is called N-in-1. This technique is achieved by converting a drawing command for an object suitable for scaling among drawing commands included in print data (see, for example, Patent Document 1).

一方、集約印刷をすると画像サイズが大幅に小さくなるため、その印刷物における視認性が低下する。例えば特許文献2には、留め置き印刷ではないが、例えばラスタライズした画像データを走査してページの余白を検知し、そのページの画像データから余白を除いた部分を、集約印刷のサイズに合わせて縮小することが記載されている。この特許文献2に記載の技術によれば、集約印刷された画像の視認性を向上できる。   On the other hand, when aggregate printing is performed, the image size is significantly reduced, and the visibility of the printed matter is reduced. For example, in Patent Document 2, although not reserved printing, for example, rasterized image data is scanned to detect a page margin, and a portion obtained by removing the margin from the image data of the page is reduced in accordance with the size of the aggregate printing. It is described to do. According to the technique described in Patent Document 2, the visibility of the collectively printed image can be improved.

特開2015−135666号公報Japanese Patent Laying-Open No. 2015-135666 特開2007−206117号公報JP 2007-206117 A

しかしながら、特許文献2では、ラスタライズされた画像データから余白を検知しているため、例えば、ユーザが意図して画像データに付加した余白部分を消してしまうことがある。これに対して、ユーザが意図しない余白の例としては、印刷範囲を限定するために設けられる余白(デバイス余白(マージン))がある。従って、上述の従来技術に従ってページの余白を検知して、その余白を除いた画像データを集約印刷することにより印刷画像の視認性を向上させるためには、上記デバイス余白とユーザが意図して付加した余白とを判別する必要がある。   However, in Patent Document 2, since the margin is detected from the rasterized image data, for example, the margin portion added to the image data by the user may be erased. On the other hand, an example of a margin that is not intended by the user is a margin (device margin (margin)) provided to limit the print range. Therefore, in order to improve the visibility of the printed image by detecting the page margin according to the above-described conventional technique and collectively printing the image data excluding the margin, the device margin and the user intentionally add it. It is necessary to discriminate from the margins.

本発明の目的は、上記従来技術の課題を解決することにある。   An object of the present invention is to solve the above-described problems of the prior art.

本発明の目的は、集約印刷時に、ユーザが意図して付加した余白とデバイス余白とを識別してオブジェクトを縮小する技術を提供することにある。   An object of the present invention is to provide a technique for reducing an object by identifying a margin intentionally added by a user and a device margin during aggregate printing.

上記目的を達成するために本発明の一態様に係る画像処理装置は以下のような構成を備える。即ち、
印刷ジョブに含まれる描画コマンドを集約印刷する際、前記描画コマンドの印刷対象のページがデバイス余白に相当する余白を含むかどうか判定する判定手段と、
前記判定手段が前記デバイス余白に相当する余白を含むと判定すると、前記ページに含まれるオブジェクトを前記余白を除いた縮小率で縮小して描画する第1描画手段と、
前記判定手段が前記デバイス余白に相当する余白を含まないと判定すると、前記ページに含まれるオブジェクトを前記集約印刷に基づく縮小率で縮小して描画する第2描画手段と、
前記第1或いは第2描画手段により描画された画像データを出力する出力手段と、を有することを特徴とする。
In order to achieve the above object, an image processing apparatus according to an aspect of the present invention has the following arrangement. That is,
A determination unit that determines whether a page to be printed of the drawing command includes a margin corresponding to a device margin when the drawing commands included in the print job are collectively printed;
When the determination unit determines that the margin corresponding to the device margin is included, a first drawing unit that draws an object included in the page with a reduction ratio excluding the margin;
When the determination unit determines that the margin corresponding to the device margin is not included, a second drawing unit that draws an object included in the page with a reduction ratio based on the aggregate printing;
Output means for outputting image data drawn by the first or second drawing means.

本発明によれば、集約印刷時に、ユーザが意図して付加した余白とデバイス余白とを識別してオブジェクトを縮小することができため、集約印刷された画像の視認性を向上することができる。   According to the present invention, it is possible to reduce the object by identifying the margin added by the user and the device margin at the time of the aggregate printing, so that the visibility of the aggregate printed image can be improved.

本発明のその他の特徴及び利点は、添付図面を参照とした以下の説明により明らかになるであろう。尚、添付図面においては、同じ若しくは同様の構成には、同じ参照番号を付す。   Other features and advantages of the present invention will become apparent from the following description with reference to the accompanying drawings. In the accompanying drawings, the same or similar components are denoted by the same reference numerals.

添付図面は明細書に含まれ、その一部を構成し、本発明の実施形態を示し、その記述と共に本発明の原理を説明するために用いられる。
本発明の実施形態に係る、留め置き印刷を行なう印刷システムの構成例を示す図。 実施形態に係るMFPのソフトウェア構成例を説明する機能ブロック図。 本実施形態に係るMFPにおける印刷ジョブの留め置き処理の流れを説明するフローチャート。 図3のS304で作成されて、MFPの操作部に表示された印刷ジョブリストの一例を示す図。 本実施形態に係るMFPによる留め置き印刷処理の流れを説明するフローチャート。 実施形態に係るMFPによる図5のS508のコマンド変換処理の流れを説明するフローチャート。 実施形態において、集約印刷が設定される前と集約印刷が設定された後の各ページのコマンドの変換例を説明する図。 各ページ内でオブジェクトがデバイス余白を設けて位置づけられているとき、1-in-1から2-in-1に集約印刷設定が変更された場合のオブジェクトのサイズと位置の変換例を説明する図。 各ページ内でオブジェクトがデバイス余白でなく、ユーザが意図した余白を空けて位置づけられているとき、1-in-1から2-in-1に集約印刷設定が変更された場合のオブジェクトのサイズと位置の変換例を説明する図。 図6のS606のレイアウト決定処理を説明するフローチャート。 実施形態に係るMFPの操作部に表示される集約印刷を設定する画面例を示す図。
The accompanying drawings are included in the specification, constitute a part thereof, show an embodiment of the present invention, and are used together with the description to explain the principle of the present invention.
The figure which shows the structural example of the printing system which performs reservation printing based on embodiment of this invention. FIG. 3 is a functional block diagram for explaining a software configuration example of the MFP according to the embodiment. 6 is a flowchart for explaining a flow of a print job holding process in the MFP according to the embodiment. FIG. 4 is a diagram showing an example of a print job list created in S304 of FIG. 3 and displayed on the operation unit of the MFP. 9 is a flowchart for explaining a flow of reservation printing processing by the MFP according to the embodiment. 6 is a flowchart for explaining a flow of command conversion processing in S508 of FIG. 5 by the MFP according to the embodiment. FIG. 6 is a diagram for explaining a conversion example of commands for each page before aggregate printing is set and after aggregate print is set in the embodiment. The figure explaining the example of conversion of the size and the position of the object when the aggregate print setting is changed from 1-in-1 to 2-in-1 when the object is positioned with a device margin in each page . When the object is not a device margin in each page and is positioned with a margin intended by the user, the size of the object when the aggregate print setting is changed from 1-in-1 to 2-in-1 The figure explaining the example of a conversion of a position. 7 is a flowchart for explaining layout determination processing in S606 of FIG. 6 is a diagram showing an example of a screen for setting aggregate printing displayed on the operation unit of the MFP according to the embodiment. FIG.

以下、添付図面を参照して本発明の実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the present invention according to the claims, and all combinations of features described in the embodiments are not necessarily essential to the solution means of the present invention. .

図1は、本発明の実施形態に係る、留め置き印刷を行なう印刷システムの構成例を示す図である。   FIG. 1 is a diagram illustrating a configuration example of a printing system that performs reservation printing according to an embodiment of the present invention.

MFP100は、コピー、プリンタ、FAX、スキャナ等の複数の機能を有する画像処理装置である複合機(Multi-Function Peripheral)である。この画像処理装置は、例えばSFP(Single Function Printer)であってもよい。また、プリンタの方式にも制限はなく、例えば、レーザビーム方式やインクジェット方式等の、如何なる方式のプリンタであってもよい。MFP100は、イーサネット(登録商標)等のLAN120を介して各種指示を行う情報処理装置であるホストコンピュータ110と接続され、ホストコンピュータ110からの印刷ジョブに応じて印刷処理を実行する。また実施形態に係るMFP100は、印刷対象となる文書の書誌情報を管理する書誌情報サーバとしても動作する。   The MFP 100 is a multi-function peripheral that is an image processing apparatus having a plurality of functions such as a copy, a printer, a FAX, and a scanner. This image processing apparatus may be, for example, an SFP (Single Function Printer). Also, the printer system is not limited, and for example, any type of printer such as a laser beam system or an ink jet system may be used. The MFP 100 is connected to a host computer 110 that is an information processing apparatus that performs various instructions via a LAN 120 such as Ethernet (registered trademark), and executes print processing according to a print job from the host computer 110. The MFP 100 according to the embodiment also operates as a bibliographic information server that manages bibliographic information of a document to be printed.

MFP100は、コントローラ(制御部)101、印刷部102、認証部103、操作部104を備える。以下、各部について説明する。   The MFP 100 includes a controller (control unit) 101, a printing unit 102, an authentication unit 103, and an operation unit 104. Hereinafter, each part will be described.

コントローラ101は、CPU111、ROM112、RAM113を有し、CPU111はROM112に記憶されたプログラムをRAM113に展開し、それを実行することによってMFP100全体の動作を制御する。HDD(ハードディスクドライブ)114はコントローラ101に接続されており、受信した印刷ジョブや画像データ等を記憶するのに使用される。コントローラ101は、認証部103及び操作部104からの操作指示をシステムバス等を通じて受け取り、各種処理を実行する。またコントローラ101は、ホストコンピュータ110から受け取った印刷ジョブの内容に基づいて印刷ジョブのリストを作成して管理する。印刷部102は、コントローラ101の指示に従って、印刷を実行するプリンタエンジンである。認証部103は、カードリーダ機能を有し、ユーザのIDカードから読み取ったユーザ情報をコントローラ101へ通知する。これによりコントローラ101は、予め登録されているユーザ情報を参照し、そのユーザがこのMFP100を使用する権限を有しているか否かを判定する、所謂、ユーザ認証を行う。こうして認証に成功したユーザは、そのユーザに割り当てられている権限内で、このMFP100を使用することができる。操作部104は表示部と、各種ハードキーを有するキーボード部とを備え、ユーザとの間のインタフェースを司っている。尚、表示部はタッチパネル機能を有していても良い。尚、認証部103は、カードリーダ機能を有する以外にも、例えば操作部104から入力されたユーザIDやパスワードを基に、そのユーザの認証を行っても良い。   The controller 101 includes a CPU 111, a ROM 112, and a RAM 113. The CPU 111 develops a program stored in the ROM 112 on the RAM 113 and executes it to control the overall operation of the MFP 100. An HDD (Hard Disk Drive) 114 is connected to the controller 101 and is used to store received print jobs, image data, and the like. The controller 101 receives operation instructions from the authentication unit 103 and the operation unit 104 via a system bus or the like, and executes various processes. The controller 101 also creates and manages a print job list based on the contents of the print job received from the host computer 110. The printing unit 102 is a printer engine that executes printing in accordance with an instruction from the controller 101. The authentication unit 103 has a card reader function and notifies the controller 101 of user information read from the user's ID card. Accordingly, the controller 101 refers to user information registered in advance, and performs so-called user authentication in which it is determined whether or not the user has authority to use the MFP 100. Thus, the user who has succeeded in the authentication can use the MFP 100 within the authority assigned to the user. The operation unit 104 includes a display unit and a keyboard unit having various hard keys, and serves as an interface with the user. Note that the display unit may have a touch panel function. In addition to having a card reader function, the authentication unit 103 may authenticate the user based on, for example, a user ID or password input from the operation unit 104.

図2は、実施形態に係るMFP100のソフトウェア構成例を説明する機能ブロック図である。これら機能は、前述したように、コントローラ101のCPU111がRAM113に展開したプログラムを実行することにより達成される。   FIG. 2 is a functional block diagram illustrating a software configuration example of the MFP 100 according to the embodiment. As described above, these functions are achieved by the CPU 111 of the controller 101 executing the program developed in the RAM 113.

ここでは、ネットワーク制御部200、認証制御部201、プリンタ制御部202、パネル入出力制御部203、ジョブ制御部204、ジョブ管理部205、コマンド特定部206、コマンド変換部207が含まれている。   Here, a network control unit 200, an authentication control unit 201, a printer control unit 202, a panel input / output control unit 203, a job control unit 204, a job management unit 205, a command specifying unit 206, and a command conversion unit 207 are included.

ネットワーク制御部200は、ホストコンピュータ110からLAN120を介して受信した印刷ジョブや印刷データの情報をプリンタ制御部202へ通知する。プリンタ制御部202は、ネットワーク制御部200、認証制御部201、パネル入出力制御部203から通知された情報に応じて印刷部102を制御して印刷を行う。ジョブ制御部204は、受信した印刷ジョブを解析し、その印刷ジョブを基に生成した画像データを印刷部102へ渡して印刷処理を実行する。認証制御部201は、認証部103よりユーザの認証情報を受け取ってユーザを認証し、その認証結果をプリンタ制御部202へ通知する。パネル入出力制御部203は、操作部104の入出力制御を行う。ジョブ管理部205は、ユーザが入力した印刷ジョブを、コントローラ101に接続されたHDD114の記憶装置に記憶して管理(留め置き)する。またプリンタ制御部202より通知されたユーザ情報を基に、そのユーザ情報に対応する印刷ジョブの情報をプリンタ制御部202やジョブ制御部204へ通知する。コマンド特定部206は、印刷ジョブに含まれる、余白量及び余白量の閾値を計算するための描画コマンド等を特定する処理を行う。余白量を示す描画コマンドとしては、例えば原点座標を変更するための描画コマンドがある。また余白量の閾値を計算するための描画コマンドとしては、画像の解像度、用紙サイズ、用紙の向きを示す描画コマンドがある。コマンド変換部207は、印刷設定の変更に応じて印刷ジョブのコマンドの変換処理を行う。   The network control unit 200 notifies the printer control unit 202 of print job and print data information received from the host computer 110 via the LAN 120. The printer control unit 202 performs printing by controlling the printing unit 102 according to information notified from the network control unit 200, the authentication control unit 201, and the panel input / output control unit 203. The job control unit 204 analyzes the received print job, passes image data generated based on the print job to the printing unit 102, and executes print processing. The authentication control unit 201 receives user authentication information from the authentication unit 103, authenticates the user, and notifies the printer control unit 202 of the authentication result. The panel input / output control unit 203 performs input / output control of the operation unit 104. The job management unit 205 stores and manages (retains) a print job input by the user in a storage device of the HDD 114 connected to the controller 101. Further, based on the user information notified from the printer control unit 202, the printer control unit 202 and the job control unit 204 are notified of the print job information corresponding to the user information. The command specifying unit 206 performs processing for specifying a margin amount and a drawing command for calculating a margin amount threshold included in the print job. As a drawing command indicating the amount of margin, for example, there is a drawing command for changing the origin coordinates. Further, as a drawing command for calculating a margin amount threshold value, there is a drawing command indicating an image resolution, a paper size, and a paper orientation. The command conversion unit 207 performs print job command conversion processing in accordance with a change in print settings.

次に、ジョブ管理部205が実行する、印刷ジョブをHDD114に一旦留め置く処理について説明する。   Next, processing for temporarily holding a print job in the HDD 114, which is executed by the job management unit 205, will be described.

図3は、本実施形態に係るMFP100における印刷ジョブの留め置き処理の流れを説明するフローチャートである。尚、このフローチャートで示す一連の処理は、この手順を記述したコンピュータで実行可能なプログラムを、CPU111がROM112からRAM113に展開し、CPU111がその展開したプログラムを実行することによって達成される。   FIG. 3 is a flowchart for explaining the flow of a print job holding process in the MFP 100 according to the present embodiment. The series of processing shown in this flowchart is achieved by the CPU 111 developing a program executable by the computer describing this procedure from the ROM 112 to the RAM 113, and the CPU 111 executing the expanded program.

まずS301でCPU111はジョブ管理部205として機能し、ネットワーク制御部200を通じてホストコンピュータ110などから送信された印刷ジョブを受信する。次にS302に進みCPU111はジョブ管理部205として機能し、受信した印刷ジョブに含まれるユーザ情報を取得する。尚、このユーザ情報は、印刷ジョブに含まれていなくてもよく、例えば印刷ジョブの送信元であるホストコンピュータ110から別途受け取る構成でも構わない。ここで、ユーザ情報とは、印刷ジョブを作成して送信したユーザを一意に識別できるユーザ名やユーザIDといった情報であり、その形式はどのようなものであってもよい。次にS303に進みCPU111はジョブ管理部205として機能し、受信した印刷ジョブから印刷設定情報及び文書名を取得する。この印刷設定情報には、印刷部数を示す部数情報、両面印刷か片面印刷かを示す両面/片面印刷情報、1-in-1の通常印刷、或いは2-in-1等のN−up印刷(集約印刷)を示す集約印刷設定が含まれる。   First, in step S <b> 301, the CPU 111 functions as the job management unit 205 and receives a print job transmitted from the host computer 110 or the like through the network control unit 200. In step S302, the CPU 111 functions as the job management unit 205 and acquires user information included in the received print job. The user information may not be included in the print job, and may be separately received from the host computer 110 that is the transmission source of the print job, for example. Here, the user information is information such as a user name and a user ID that can uniquely identify the user who created and transmitted the print job, and any format may be used. In step S303, the CPU 111 functions as the job management unit 205, and acquires print setting information and a document name from the received print job. This print setting information includes the number of copies indicating the number of copies, duplex / single-sided printing information indicating whether double-sided printing or single-sided printing, 1-in-1 normal printing, or N-up printing such as 2-in-1 ( A consolidated print setting indicating a consolidated print) is included.

次にS304に進みCPU111はジョブ管理部205として機能し、印刷ジョブのリストを作成する。具体的には、S302で取得したユーザ情報と、S303で取得した印刷設定情報及び文書名とを関連付け、これら関連付けられた情報を一つのレコードとして、そのユーザ情報に対応する印刷ジョブリストに格納する。   In step S304, the CPU 111 functions as the job management unit 205 and creates a print job list. Specifically, the user information acquired in S302 is associated with the print setting information and document name acquired in S303, and the associated information is stored as one record in the print job list corresponding to the user information. .

図4は、図3のS304で作成されて、MFP100の操作部104に表示された印刷ジョブリストの一例を示す図である。   FIG. 4 is a diagram showing an example of the print job list created in S304 of FIG. 3 and displayed on the operation unit 104 of the MFP 100.

図4の例では、入力された印刷ジョブ毎に、文書名、印刷部数、両面/片面印刷、及び集約印刷の各情報が一つのレコード(一行)で示され、これらが印刷ジョブを入力したユーザのユーザ名「t.yamada」と関連付けて登録されている。ここでは、ユーザ(t.yamada)が送信した印刷ジョブのリストが表示されている。   In the example of FIG. 4, for each input print job, the document name, the number of copies, double-sided / single-sided printing, and aggregated printing information are shown in one record (one line), and these are the users who input the print job. It is registered in association with the user name “t.yamada”. Here, a list of print jobs transmitted by the user (t.yamada) is displayed.

このS304で新たに一つのレコードが追加された印刷ジョブリストは、HDD114等の記憶装置に保存される。また受信した印刷ジョブも、今回追加された一つのレコードに対応する印刷ジョブとしてHDD114等の記憶装置に保存される。   The print job list to which one record is newly added in S304 is stored in a storage device such as the HDD 114. The received print job is also stored in a storage device such as the HDD 114 as a print job corresponding to one record added this time.

以上が、MFP100が印刷ジョブを受信した時に、その印刷処理を実行せずにHDD114等の記憶装置に保存する印刷ジョブの留め置き処理の内容である。こうしてユーザは、ホストコンピュータ110から印刷データを入力してMFP100内に留め置いた後、ユーザがMFP100で認証を行った後、そのユーザの印刷指示に応じて、指定された印刷ジョブに基づく印刷処理を実行する。   The above is the content of the print job holding process stored in the storage device such as the HDD 114 without executing the print process when the MFP 100 receives the print job. In this way, after the user inputs print data from the host computer 110 and retains the print data in the MFP 100, after the user authenticates with the MFP 100, print processing based on the designated print job is performed according to the print instruction of the user. Execute.

続いて、認証済のユーザの印刷指示に応じてなされる、MFP100による印刷処理を説明する。   Next, a printing process performed by the MFP 100 in response to a print instruction from an authenticated user will be described.

図5は、本実施形態に係るMFP100による留め置き印刷処理の流れを説明するフローチャートである。尚、このフローチャートで示す一連の処理は、この手順を記述したコンピュータで実行可能なプログラムを、CPU111がROM112からRAM113に展開し、CPU111がその展開したプログラムを実行することによって達成される。   FIG. 5 is a flowchart for explaining the flow of reservation printing processing by the MFP 100 according to the present embodiment. The series of processing shown in this flowchart is achieved by the CPU 111 developing a program executable by the computer describing this procedure from the ROM 112 to the RAM 113, and the CPU 111 executing the expanded program.

まずS501でCPU111は認証制御部201として機能し、ユーザの認証を行なう。ここでは例えば、ユーザに、自身のIDカードを認証部103のカードリーダにかざさせるようにして、そのユーザのユーザ情報をIDカードから読み取る。こうして読み取られたユーザ情報をプリンタ制御部202へ送って、そのユーザの認証を行う。実施形態では、ユーザが持つIDカードからそのユーザ情報を読み取る例を説明したが、例えば操作部104等からユーザのID情報とパスワードを入力させる方式など公知の認証方法を用いればよい。   First, in step S501, the CPU 111 functions as the authentication control unit 201 and performs user authentication. Here, for example, the user is allowed to hold his / her ID card over the card reader of the authentication unit 103, and the user information of the user is read from the ID card. The user information read in this way is sent to the printer control unit 202 to authenticate the user. In the embodiment, an example in which user information is read from an ID card held by the user has been described. However, a known authentication method such as a method of inputting user ID information and a password from the operation unit 104 or the like may be used.

次にS502に進みCPU111はプリンタ制御部202として機能し、ユーザ認証に成功すると、そのユーザが作成して留め置いている印刷ジョブのリストを操作部104に表示する。具体的には、S501で取得したユーザ情報で特定されるユーザ名に対応する印刷ジョブのリストをジョブ管理部205より取得し、その取得した印刷ジョブのリストをパネル入出力制御部203へ渡す。これによりパネル入出力制御部203は、操作部104の表示部に、例えば図4に示すような、S501で取得したユーザ情報で特定されるユーザ名に対応する印刷ジョブのリストを表示する。こうしてユーザは、操作部104上に表示された印刷ジョブのリストの中から、印刷の指示、或いは印刷設定を変更したいレコードを、その文書名にタッチすることで選択する。   In step S <b> 502, the CPU 111 functions as the printer control unit 202. When user authentication is successful, the CPU 111 displays a list of print jobs created and retained by the user on the operation unit 104. Specifically, a list of print jobs corresponding to the user name specified by the user information acquired in S501 is acquired from the job management unit 205, and the acquired list of print jobs is passed to the panel input / output control unit 203. As a result, the panel input / output control unit 203 displays a list of print jobs corresponding to the user names specified by the user information acquired in step S501 on the display unit of the operation unit 104, for example, as illustrated in FIG. In this way, the user selects a record whose print instruction or print setting is to be changed from the list of print jobs displayed on the operation unit 104 by touching the document name.

次にS503に進みCPU111はパネル入出力制御部203として機能し、操作部104の表示部でユーザが選択した文書名(レコード)に対応する印刷ジョブを取得する。そして、このとき、その印刷ジョブとともに、ユーザに対して印刷設定を変更するか、或いは印刷を実行するかを確認する画面を表示する。   In step S503, the CPU 111 functions as the panel input / output control unit 203, and acquires a print job corresponding to the document name (record) selected by the user on the display unit of the operation unit 104. At this time, along with the print job, a screen for confirming whether to change the print setting or to execute printing is displayed to the user.

図11は、このとき印刷ジョブの画面とともに、MFP100の操作部104に表示される集約印刷を設定する画面例を示す図である。   FIG. 11 is a diagram illustrating an example of a screen for setting the aggregate print displayed on the operation unit 104 of the MFP 100 together with the print job screen at this time.

この画面は、集約印刷を設定するためのボタン1101と、選択した印刷ジョブの実行開始を指示する印刷実行ボタン1102とを備えており、この画面は例えば、図4の画面にポップアップ画面として表示されても良い。ここで、例えば1-in-1ボタンがタッチされると、通常の1-in-1印刷が設定され、2-in-1ボタンがタッチされると、1-in-1での集約印刷が設定される。尚、図11の画面には、例えば部数設定、片面/両面印刷等の印刷設定を行うボタンが設けられていても良いが、ここではそれらを省略している。   This screen includes a button 1101 for setting aggregate printing and a print execution button 1102 for instructing the start of execution of the selected print job. This screen is displayed as a pop-up screen on the screen of FIG. 4, for example. May be. Here, for example, when the 1-in-1 button is touched, normal 1-in-1 printing is set, and when the 2-in-1 button is touched, consolidated printing with 1-in-1 is performed. Is set. Note that the screen shown in FIG. 11 may be provided with buttons for performing print settings such as setting the number of copies and single-sided / double-sided printing, but these are omitted here.

次にS504に進みCPU111はパネル入出力制御部203として機能し、図11に示す画面で、ユーザが指示した内容を判定する。ここでユーザが、ボタン1101にタッチして集約印刷、或いは通常印刷を設定したときはS505に処理を進め、その指示された印刷の設定をプリンタ制御部202を介してジョブ管理部205へ送る。S505でCPU111はジョブ管理部205として機能し、受け取った印刷設定に応じて印刷設定情報の書き換え等を行なう。具体的には、例えば、部数情報、両面/片面印刷情報のように印刷設定情報の書き換えのみで足りるものは、選択された印刷ジョブに対する印刷設定情報の書き換えを行い、同時に対応するレコードの印刷設定情報の書き換えも行う。一方、集約印刷の設定が変更された場合は、印刷データ内の描画コマンド(PDLコマンド)の変更が必要となるため、集約印刷設定が変更されたことを示す情報(例えば、変更フラグをオンにする)を、その印刷ジョブのレコードに対応付けて保存する。   In step S504, the CPU 111 functions as the panel input / output control unit 203, and determines the content instructed by the user on the screen illustrated in FIG. If the user touches the button 1101 and sets aggregate printing or normal printing, the process proceeds to S505, and the instructed print setting is sent to the job management unit 205 via the printer control unit 202. In step S505, the CPU 111 functions as the job management unit 205, and rewrites the print setting information according to the received print settings. Specifically, for example, if only rewriting of print setting information such as the number of copies information and duplex / single-sided print information is required, the print setting information for the selected print job is rewritten, and the print setting of the corresponding record is simultaneously performed. Rewrite information. On the other hand, when the setting of the aggregate print is changed, it is necessary to change the drawing command (PDL command) in the print data. Therefore, information indicating that the aggregate print setting is changed (for example, the change flag is turned on). Is stored in association with the record of the print job.

一方、S504で印刷実行ボタン1102が押下されたときはS506に処理を進め、選択された印刷ジョブの印刷開始を指示する情報(以下、印刷指示情報)をプリンタ制御部202へ送る。そしてS506でCPU111はプリンタ制御部202として機能し、印刷開始の指示に先立って、印刷設定が変更されているかどうかを判定する。ここで印刷設定の変更が行われていた場合はS507へ処理を進め、印刷設定の変更が行われていなかった場合はS509へ処理を進めて、その印刷ジョブを実行する。S509でCPU111はジョブ制御部204として機能し、印刷開始の指示に係る選択された印刷ジョブをレンダリングし、そのレンダリングにより生成された画像データを印刷部102へ転送する。尚、レンダリングの対象となる印刷ジョブは、S508のコマンド変換処理によってその内容が変更された描画コマンドを含む印刷データの場合もある。そして印刷部102は、その転送された画像データに基づいて記録媒体(シート)上に画像を印刷する。   On the other hand, when the print execution button 1102 is pressed in S504, the process proceeds to S506, and information (hereinafter referred to as print instruction information) instructing the printing start of the selected print job is sent to the printer control unit 202. In step S506, the CPU 111 functions as the printer control unit 202, and determines whether the print setting has been changed prior to the print start instruction. If the print setting has been changed, the process proceeds to step S507. If the print setting has not been changed, the process proceeds to step S509 to execute the print job. In step S <b> 509, the CPU 111 functions as the job control unit 204, renders the selected print job related to the print start instruction, and transfers the image data generated by the rendering to the printing unit 102. Note that the print job to be rendered may be print data including a drawing command whose contents have been changed by the command conversion processing in S508. The printing unit 102 prints an image on a recording medium (sheet) based on the transferred image data.

一方、S507でCPU111はプリンタ制御部202として機能し、印刷設定情報のうち集約印刷設定に変更があったかどうかを判定する。具体的には、印刷開始の指示に係る印刷ジョブに対応するレコードに、集約印刷設定が変更されたことを示す変更フラグがオンになっているかどうかを、ジョブ管理部205を介して印刷ジョブのリストを参照することにより判定する。ここで変更フラグがオン、即ち、集約印刷が設定されている場合はS508へ進むが、そうでないときはS509へ進む。S508でCPU111はコマンド変換部207として機能し、印刷設定の変更内容に応じて描画コマンドの変換処理を行ってS509に進む。ここでは、余白量の閾値を計算し、余白量を決定し、縮小率の計算を行い、変倍処理をする。このコマンド変換処理の詳細は後述する。   On the other hand, in step S507, the CPU 111 functions as the printer control unit 202, and determines whether or not the aggregate print setting in the print setting information has been changed. More specifically, whether or not the change flag indicating that the aggregate print setting has been changed is turned on in the record corresponding to the print job related to the print start instruction via the job management unit 205. Judgment is made by referring to the list. If the change flag is on, that is, if consolidated printing is set, the process proceeds to S508. If not, the process proceeds to S509. In step S <b> 508, the CPU 111 functions as the command conversion unit 207, performs a drawing command conversion process according to the change in the print setting, and proceeds to step S <b> 509. Here, the margin amount threshold value is calculated, the margin amount is determined, the reduction ratio is calculated, and the scaling process is performed. Details of this command conversion processing will be described later.

尚、詳細は後述するが、S508のコマンド変換処理によって必要な変倍等の処理がなされているため、S509における印刷実行時には、印刷ジョブの描画コマンドを順次処理することが可能となる。尚、上述の例では、印刷開始の指示後にコマンド変換処理を行っているが、印刷設定を変更した時点でコマンド変換処理を行うように構成しても構わない。   Although details will be described later, since processing such as scaling is performed by the command conversion processing in S508, it is possible to sequentially process the drawing commands of the print job when executing printing in S509. In the above-described example, the command conversion process is performed after an instruction to start printing. However, the command conversion process may be performed when the print setting is changed.

次に実施形態に係るコマンド変換部207において実行される上述のコマンド変換処理について説明する。   Next, the above-described command conversion process executed by the command conversion unit 207 according to the embodiment will be described.

図6は、実施形態に係るMFP100による図5のS508のコマンド変換処理の流れを説明するフローチャートである。尚、このフローチャートで示す一連の処理は、この手順を記述したコンピュータで実行可能なプログラムを、CPU111がROM112からRAM113に展開し、CPU111がその展開したプログラムを実行することによって達成される。   FIG. 6 is a flowchart for explaining the flow of command conversion processing in S508 of FIG. 5 by the MFP 100 according to the embodiment. The series of processing shown in this flowchart is achieved by the CPU 111 developing a program executable by the computer describing this procedure from the ROM 112 to the RAM 113, and the CPU 111 executing the expanded program.

まずS601でCPU111はコマンド変換部207として機能し、集約印刷設定をジョブ管理部205から取得する。この集約印刷設定には、何ページを1枚に集約するか(N-in-1)を指定する情報と、そのレイアウト(Nページを左上から配置するのか右上から配置するのか等)に関する情報が含まれる。次にS602に進みCPU111はコマンド変換部207として機能し、印刷ジョブにおける処理対象ページ(Xページ)のページ情報を取得する。このページ情報には、処理対象となるXページのページ開始コマンドと、そのXページのページ情報(後述の図7におけるP1=[A1,B1]、P2=[A2,B2])が含まれる。   In step S <b> 601, the CPU 111 functions as the command conversion unit 207, and acquires aggregate print settings from the job management unit 205. This aggregate print setting includes information specifying how many pages are consolidated into one sheet (N-in-1) and information regarding the layout (whether N pages are arranged from the upper left or the upper right). included. In step S <b> 602, the CPU 111 functions as the command conversion unit 207, and acquires page information of a processing target page (X page) in the print job. This page information includes a page start command of the X page to be processed and page information of the X page (P1 = [A1, B1], P2 = [A2, B2] in FIG. 7 described later).

次にS603に進みCPU111はコマンド変換部207として機能し、処理対象ページ(ここではXページ)が、集約される複数のページの最初のページかどうか、(集約後の物理ページにおける先頭ページかどうか)を判定する。具体的には、XをNで割った余りが1となるかどうかをチェックし、余りが1であれば最初のページであると判定する。ここでNは、集約印刷設定(N-in-1)におけるNに対応している。例えば、全10頁からなる印刷ジョブに対し4-in-1の印刷設定がなされている場合、処理対象ページが5ページ目であれば、X(5)をN(4)で割った余りは1となり、最初のページであると判定される。ここでCPU111が、処理対象ページが最初のページであると判定するとS604へ進み、そうでないときはS605へ進む。S605でCPU111はコマンド変換部207として機能し、S602で取得したページ情報を削除してS606に進む。これは処理対象ページが、集約される複数のページにおける最初のページでない時は、そのページ情報は集約後の印刷データにおいて不要だからである。   In step S603, the CPU 111 functions as the command conversion unit 207, and determines whether the processing target page (here, page X) is the first page of a plurality of pages to be aggregated (whether it is the first page in the physical page after aggregation). ). Specifically, it is checked whether or not the remainder obtained by dividing X by N is 1. If the remainder is 1, it is determined that the page is the first page. Here, N corresponds to N in the aggregate print setting (N-in-1). For example, if 4-in-1 print settings are made for a print job consisting of 10 pages, and the processing target page is the fifth page, the remainder of dividing X (5) by N (4) is 1 is determined as the first page. If the CPU 111 determines that the page to be processed is the first page, the process proceeds to S604. If not, the process proceeds to S605. In step S605, the CPU 111 functions as the command conversion unit 207, deletes the page information acquired in step S602, and proceeds to step S606. This is because, when the processing target page is not the first page in the plurality of pages to be aggregated, the page information is not necessary in the aggregated print data.

S604でCPU111はコマンド変換部207として機能し、S602で取得したページ情報をRAM113等に保存する。これは処理対象ページが、集約される複数のページにおける最初のページの時は、そのページ情報を集約後の印刷データでも用いるためである。次にS606に進みCPU111はコマンド変換部207として機能し、処理対象ページ内の描画コマンドを取得し、取得した描画コマンドに係るオブジェクトを集約印刷設定に応じて縮小する。   In step S604, the CPU 111 functions as the command conversion unit 207, and stores the page information acquired in step S602 in the RAM 113 or the like. This is because, when the processing target page is the first page among a plurality of pages to be aggregated, the page information is also used for the aggregated print data. In step S606, the CPU 111 functions as the command conversion unit 207, acquires a drawing command in the processing target page, and reduces an object related to the acquired drawing command in accordance with the aggregate print setting.

具体的には、例えば図8の場合、1ページ目と2ページ目のオブジェクト802及び804のサイズが[C1,D1],[C2,D2]で表されるとき、縮小率N1,N2を基に導出した新たなサイズ[C3,D3],[C4,D4]が決定される。詳細は後述するが、縮小率N1,N2は、2-in-1や4-in-1といったS601で取得した集約印刷設定及びPDLデータに含まれる余白によって決まる値である。またコマンド変換部207は、縮小されたオブジェクトの描画コマンドについての新たなレイアウト(座標変更)を、集約印刷設定に基づいて決定する。例えば、図8の1ページ目における変倍可能なオブジェクトは、縮小後はページ左側のデバイス余白に相当する座標(a3,b3)に配置される。また2ページ目における縮小可能なオブジェクトは、縮小後は、N-in-1のレイアウトのデバイス余白に相当する座標(a4,b4)に配置される。尚、これら座標(a3,b3)、(a4,b4)は、集約印刷情報(N-in-1)で示される集約数Nごとに予め決められた座標であり、例えばa3=5[mm]、b3=5[mm]である。こうして全ての描画コマンドの処理が完了した後S607へ進む。S607でCPU111はコマンド変換部207として機能し、印刷ジョブに未処理のページが存在するかどうかを判定する。ここで未処理のページが無く、全てのページの処理が完了している場合は、この処理を終了する。一方、未処理のページがある場合はS602に戻り、次のページを処理対象ページとして、上述したS602〜607の処理を行なう。   Specifically, for example, in the case of FIG. 8, when the sizes of the objects 802 and 804 on the first page and the second page are represented by [C1, D1], [C2, D2], the reduction ratios N1 and N2 are used. The new sizes [C3, D3] and [C4, D4] derived from the above are determined. Although details will be described later, the reduction ratios N1 and N2 are values determined by the aggregate print settings acquired in S601 such as 2-in-1 and 4-in-1, and the margins included in the PDL data. The command conversion unit 207 also determines a new layout (coordinate change) for the reduced object drawing command based on the aggregate print setting. For example, the zoomable object on the first page in FIG. 8 is arranged at coordinates (a3, b3) corresponding to the device margin on the left side of the page after reduction. Further, the reducible object on the second page is arranged at coordinates (a4, b4) corresponding to the device margin of the N-in-1 layout after reduction. The coordinates (a3, b3) and (a4, b4) are coordinates determined in advance for each aggregated number N indicated by the aggregated print information (N-in-1). For example, a3 = 5 [mm]. B3 = 5 [mm]. In this way, after processing of all the drawing commands is completed, the process proceeds to S607. In step S <b> 607, the CPU 111 functions as the command conversion unit 207 and determines whether an unprocessed page exists in the print job. If there is no unprocessed page and all pages have been processed, this process ends. On the other hand, if there is an unprocessed page, the process returns to S602, and the above-described processing of S602 to 607 is performed with the next page as the processing target page.

以上が、S508のコマンド変換処理の内容である。   The above is the contents of the command conversion process of S508.

次に、コマンド変換部207において実行される、図6のS606のレイアウト決定処理を図10を参照して説明する。このフローチャートの説明に入る前に、本実施形態によって実現されるレイアウト決定処理について図7〜図9を参照して説明する。   Next, the layout determination process in S606 of FIG. 6 executed in the command conversion unit 207 will be described with reference to FIG. Prior to the description of this flowchart, the layout determination process realized by this embodiment will be described with reference to FIGS.

図7は、実施形態において、集約印刷が設定される前と集約印刷が設定された後の各ページのコマンドの変換例を説明する図である。ここではページP1とP2が1-in-1で集約印刷される場合を示している。   FIG. 7 is a diagram for explaining an example of command conversion for each page before the aggregate print is set and after the aggregate print is set in the embodiment. Here, a case where pages P1 and P2 are collectively printed in 1-in-1 is shown.

P1=[A1,B1]は、1ページ目のコマンドを示し、当該ページのサイズが[A1(横),B1(縦)]であることを表している。そして集約後の印刷データでは、ページコマンドは、P1=[A3,B3]に変換されている。印刷方向の変換方法は、PDLコマンドを用いてページの方向を変換する場合も含む。   P1 = [A1, B1] indicates a command for the first page, and indicates that the size of the page is [A1 (horizontal), B1 (vertical)]. In the consolidated print data, the page command is converted to P1 = [A3, B3]. The printing direction conversion method includes the case of converting the page direction using a PDL command.

集約前のOrigin=(a1,b1)、Origin=(a2,b2)は、変換前のページP1,P2のオブジェクトが、それぞれ原点(a1,b1)、(a2,b2)を基準に描画されていることを表している。また集約後のOrigin=(c1,d1)、Origin=(c2,d2)は、変換後のオブジェクトはそれぞれ、原点(c1,d1)、(c2,d2)を基準に描画されていることを表している。   Origin = (a1, b1) before aggregation = Origin = (a2, b2) indicates that the objects of pages P1, P2 before conversion are drawn based on the origins (a1, b1), (a2, b2), respectively. It represents that. Also, Origin = (c1, d1) and Origin = (c2, d2) after aggregation indicate that the converted objects are drawn based on the origins (c1, d1) and (c2, d2), respectively. ing.

集約前のImage=(α1,β1)[C1,D1]、Image=(α2,β2)[C2,D2]は、集約前の各ページの印刷データであるオブジェクトを指定する描画コマンドである。ここで(α1,β1),(α2,β2)はそれぞれ、変換前の各ページのオブジェクトの描画開始位置を表し、[C1,D1],[C2,D2]は、各オブジェクトのサイズを表している。   Image = (α1, β1) [C1, D1] and Image = (α2, β2) [C2, D2] before aggregation are drawing commands that specify an object that is print data of each page before aggregation. Here, (α1, β1) and (α2, β2) represent the drawing start positions of the objects on each page before conversion, and [C1, D1] and [C2, D2] represent the sizes of the objects. Yes.

また集約後のImage=(α3,β3)[C3,D3]、Image=(α4,β4)[C4,D4]は、集約後の各オブジェクトの印刷データを示し、集約前の各ページ目に存在した各オブジェクトに対応するオブジェクトを指定する描画コマンドである。(α3,β3),(α3,β3)はそれぞれ集約後のオブジェクトの原点を示し、[C3,D3],[C4,D4]は、各オブジェクトの変換後のサイズを表している。   Further, Image = (α3, β3) [C3, D3] and Image = (α4, β4) [C4, D4] after aggregation indicate print data of each object after aggregation, and exist on each page before aggregation. This is a drawing command for designating an object corresponding to each object. (Α3, β3) and (α3, β3) indicate the origins of the aggregated objects, and [C3, D3] and [C4, D4] indicate the converted sizes of the objects.

図8は、各ページ内でオブジェクトがデバイス余白を設けて位置づけられているとき、1-in-1から2-in-1に集約印刷設定が変更された場合のオブジェクトのサイズと位置の変換例を説明する図である。図8において、図7と共通する部分は同じ符号で示している。   FIG. 8 shows an example of conversion of the size and position of an object when the aggregate print setting is changed from 1-in-1 to 2-in-1 when the object is positioned with a device margin in each page. FIG. In FIG. 8, the parts common to those in FIG. 7 are denoted by the same reference numerals.

図8において、ページ801,803はそれぞれ、変換前のページ全面にオブジェクト802,804が描画され、そこにデバイス余白がついた印刷データを1-in-1で印刷した結果を示している。即ち、ここではページ801上にオブジェクト802が描画され、ページ803上にオブジェクト804が描画され、ページ801とオブジェクト802及びページ802とオブジェクト804の間にはデバイス余白が付加されている。   In FIG. 8, pages 801 and 803 respectively show the results of printing 1-in-1 print data in which objects 802 and 804 are drawn on the entire page before conversion and a device margin is added thereto. That is, here, the object 802 is drawn on the page 801, the object 804 is drawn on the page 803, and a device margin is added between the page 801 and the object 802 and between the page 802 and the object 804.

ここで、このプリントデータを2-in-1に変換する場合、オブジェクト802は領域806に、オブジェクト804は領域808に適合するように縮小されてレイアウトされる。この結果、2-in-1に変換すると、オブジェクト802は領域806のサイズになり、オブジェクト804は領域808のサイズになる。   Here, when this print data is converted into 2-in-1, the object 802 is reduced and laid out so as to fit in the area 806 and the object 804 fits in the area 808. As a result, when converted to 2-in-1, the object 802 has the size of the area 806, and the object 804 has the size of the area 808.

図9は、各ページ内でオブジェクトがデバイス余白でなく、ユーザが意図した余白を空けて位置づけられているとき、1-in-1から2-in-1に集約印刷設定が変更された場合のオブジェクトのサイズと位置の変換例を説明する図である。   FIG. 9 shows a case in which the aggregate print setting is changed from 1-in-1 to 2-in-1 when the object is positioned in each page without the device margin but with the margin intended by the user. It is a figure explaining the example of a conversion of the size and position of an object.

図9において、ページ901,902はそれぞれ、変換前のページの中央付近にオブジェクト902,904が描画されて、かつデバイス余白がついていないデータを1-in-1で印刷した結果である。即ち、ページ901上にオブジェクト902が描画され、ページ903上にオブジェクト904が描画され、ページ901とオブジェクト902及びページ902とオブジェクト904の間はデバイス余白ではなく、ユーザが意図した余白が設けられている。   In FIG. 9, pages 901 and 902 are results obtained by printing 1-in-1 data in which an object 902 and 904 is drawn near the center of the page before conversion and no device margin is attached. That is, the object 902 is drawn on the page 901, the object 904 is drawn on the page 903, and the page 901 and the object 902 and the page 902 and the object 904 are not provided with a device blank, but a blank intended by the user is provided. Yes.

ここで、このプリントデータを2-in-1に変換すると、ページ901は領域906に、ページ903は領域907に適合するように縮小されてレイアウトされる。この結果、2-in-1に変換すると、オブジェクト902は領域908のサイズになり、オブジェクト904は領域909のサイズになる。   Here, when this print data is converted into 2-in-1, the page 901 is reduced and laid out so as to fit in the area 906 and the page 903 fits in the area 907. As a result, when converted to 2-in-1, the object 902 has the size of the area 908, and the object 904 has the size of the area 909.

ここで図8と図9のレイアウト方法のいずれでレイアウトするかは、1-in-1レイアウト時の各オブジェクトの原点(a1,b1)及び(a2,b2)と、レイアウト変換前後の用紙サイズ、集約数に応じて決まる閾値と比較することで決定される。例えば、変換前の用紙サイズが(A1,B1)、変換後の用紙サイズが(A3,B3)、集約数が2(2-in-1印刷)であれば、閾値は(a3×(A1/A3/2))、(b3×(B1/B3))と決定される。より具体的には、a3=5[mm]、b3=5[mm]、変換前後の用紙サイズがA4、集約数が2であれば、閾値は、およそ7.1[mm],7.1[mm]となる。尚、ここでA1=B3=210[mm]、A3=B1=297[mm]とする。このように、変換前後で占める領域の大きさの比率が閾値の決定に関わる。尚、4-in-1,9-in-1等、異なるN-in-1印刷のレイアウトの場合でも、変換の前後で占める領域の大きさの比率を計算することで同等の処理ができる。   Here, which of the layout methods of FIGS. 8 and 9 is used is determined based on the origins (a1, b1) and (a2, b2) of each object in the 1-in-1 layout, the paper size before and after layout conversion, It is determined by comparing with a threshold value determined according to the number of aggregation. For example, if the paper size before conversion is (A1, B1), the paper size after conversion is (A3, B3), and the aggregation number is 2 (2-in-1 printing), the threshold value is (a3 × (A1 / A3 / 2)) and (b3 × (B1 / B3)). More specifically, if a3 = 5 [mm], b3 = 5 [mm], the paper size before and after conversion is A4, and the aggregation number is 2, the threshold values are approximately 7.1 [mm], 7.1. [mm]. Here, A1 = B3 = 210 [mm] and A3 = B1 = 297 [mm]. Thus, the ratio of the size of the area occupied before and after conversion is related to the determination of the threshold value. Even in the case of different N-in-1 print layouts such as 4-in-1, 9-in-1, etc., the same processing can be performed by calculating the ratio of the area size before and after conversion.

図10は、図6のS606のレイアウト決定処理を説明するフローチャートである。尚、この処理はCPU111がコマンド変換部207として機能することにより達成される。   FIG. 10 is a flowchart illustrating the layout determination process in S606 of FIG. This process is achieved by the CPU 111 functioning as the command conversion unit 207.

まずS1001でCPU111は、図6のS602で取得した処理対象のページ情報から余白情報及び閾値を計算するために必要なコマンドを抽出する。次にS1002に進みCPU111は、余白量候補のコマンドがあるかどうかを判定する。ここで余白量候補のコマンドがあると判定したときは、その座標を取得してS1003に進むが、そうでないときはS1006に進む。ここで余白量候補のコマンドとは、描画コマンドに含まれるマージンなどの情報、及び空白部分であることを示す、例えばスペースや空き領域などを示すコマンドを含む。   First, in step S1001, the CPU 111 extracts commands necessary for calculating margin information and threshold values from the page information to be processed acquired in step S602 of FIG. Next, proceeding to S1002, the CPU 111 determines whether there is a margin amount candidate command. If it is determined that there is a margin amount candidate command, the coordinates are acquired and the process proceeds to S1003. If not, the process proceeds to S1006. Here, the margin candidate command includes information such as a margin included in the drawing command, and a command indicating a blank portion, for example, a space or an empty area.

S1003でCPU111は、S1001で抽出した情報から余白量の閾値を計算する。この時点では、余白量候補のコマンドによる余白量と、集約印刷設定が決まっているので、これらから算出する。ここで抽出する情報には、例えば解像度、ページサイズ、ページの向き、PDLの座標系を意味するコマンドがある。次にS1004に進みCPU111は、S1003で算出した閾値と、S1001で抽出した余白量候補のコマンドの余白量とを比較して、余白量が閾値以下の場合はデバイス余白と判定してS1005に進む。一方、余白量が閾値よりも大きい場合は、その余白は、その印刷ジョブを作成したユーザが意図して付加した余白部分と判定してS1006に進む。   In step S1003, the CPU 111 calculates a margin amount threshold value from the information extracted in step S1001. At this time, since the margin amount by the margin amount candidate command and the aggregate print setting are determined, the calculation is performed from these. The information extracted here includes, for example, commands meaning resolution, page size, page orientation, and PDL coordinate system. In step S1004, the CPU 111 compares the threshold value calculated in step S1003 with the margin amount of the margin amount candidate command extracted in step S1001. If the margin amount is equal to or less than the threshold value, the CPU 111 determines that the margin is a device margin and proceeds to step S1005. . On the other hand, if the margin amount is larger than the threshold, the margin is determined to be a margin portion added intentionally by the user who created the print job, and the process advances to step S1006.

S1005でCPU111は、例えば図8で説明したように、図8のページ801[A1,B1]から原点(a1,b1)のオブジェクト802を除いた領域が、変換後のページ805[A3/2、B3]から原点(a3,b3)のオブジェクト806を除いた領域に合うように縮小率N1を計算する。例えば、2-in-1の場合では、横方向の縮小率(A3/2−2×a3)/(A1−2×a1))と、縦方向の縮小率((B3−2×b3)/(B1−2×b1))を求めて、小さい方を縮小率N1とする。   In S1005, for example, as described with reference to FIG. 8, the CPU 111 obtains the converted page 805 [A3 / 2, page 801 [A1, B1] from the page 801 [A1, B1] in FIG. The reduction ratio N1 is calculated so as to match the area excluding the object 806 of the origin (a3, b3) from B3]. For example, in the case of 2-in-1, the reduction ratio in the horizontal direction (A3 / 2-2 × a3) / (A1-2 × a1)) and the reduction ratio in the vertical direction ((B3-2 × b3) / (B1-2 × b1)) is obtained, and the smaller one is set as the reduction ratio N1.

同様に、ページ803[A2,B2]から原点(a2,b2)のオブジェクト804を除いた領域を、変換後のページ805[A3/2、B3]から原点(a4,b4)のオブジェクトを除いた領域に合うように縮小率N2を計算する。上記計算式は一例であり、例えばデバイス余白として想定される最大の値に対して印刷データに含まれる解像度を考慮して閾値を求めるという計算方法も含む。   Similarly, the area obtained by removing the object 804 at the origin (a2, b2) from the page 803 [A2, B2] is removed, and the object at the origin (a4, b4) is removed from the converted page 805 [A3 / 2, B3]. The reduction ratio N2 is calculated so as to fit the region. The above calculation formula is an example, and includes, for example, a calculation method of obtaining a threshold value in consideration of the resolution included in the print data with respect to the maximum value assumed as the device margin.

次にS1007に進みCPU111は、図8で説明した結果になるように、図8におけるページ801を縮小したオブジェクトの原点(a1,b1)が、変換後のページ805のオブジェクトの原点(a3,b3)と一致するように位置を調整する。N-in-1後のデバイス余白は、例えば、「(c1,d1)=(a3,b3)−N1×(a1,b1)」、「(c2,d2)=(a4,b4)−N2×(a2,b2)」とすることで、計算することができる。ここで求められる(c1,d1)は、レイアウト変換前の元データに存在する原点コマンドに対しても後述のS1009で縮小変倍されることを考慮した値である。(c2,d2)も同様にして求められる。   In step S1007, the CPU 111 determines that the object origin (a1, b1) obtained by reducing the page 801 in FIG. 8 is the object origin (a3, b3) of the converted page 805, as shown in FIG. ) Adjust the position so that it matches. The device margin after N-in-1 is, for example, “(c1, d1) = (a3, b3) −N1 × (a1, b1)”, “(c2, d2) = (a4, b4) −N2 × (A2, b2) "can be calculated. The values (c1, d1) obtained here are values in consideration of the fact that the origin command existing in the original data before layout conversion is also reduced / magnified in S1009 described later. (C2, d2) is obtained in the same manner.

一方、S1006でCPU111は、図9で説明した結果になるように、ページ901[A1,B1]が、変換後のページ[A3/2,B3]に合うように拡縮率N1’を計算する。例えば、2-in-1の場合では、横方向の縮小率((A3/2)/A1)と、縦方向の縮小率(B3/B1)を求めて、小さい方を縮小率N1’とする。同様に、ページ903[A2,B2]変換後のページ[A3/2,B3]に合うように拡縮率N2’を計算する。   On the other hand, in step S1006, the CPU 111 calculates the enlargement / reduction ratio N1 'so that the page 901 [A1, B1] matches the converted page [A3 / 2, B3] so as to obtain the result described with reference to FIG. For example, in the case of 2-in-1, the horizontal reduction ratio ((A3 / 2) / A1) and the vertical reduction ratio (B3 / B1) are obtained, and the smaller one is set as the reduction ratio N1 ′. . Similarly, the enlargement / reduction ratio N2 'is calculated so as to fit the page [A3 / 2, B3] after the page 903 [A2, B2] conversion.

次にS1008に進みCPU111は、図9で説明した結果になるように、図9における変換前のページ901を縮小したイメージが、変換後のページ906の原点(a3,b3)から描画されるように原点を設定する。N-in-1後の各オブジェクトの原点は、例えば、「(c1,d1)=(0,0)」、「(c2、d2)=(A3/2,0)」とすることで計算できる。   In step S1008, the CPU 111 draws an image obtained by reducing the page 901 before conversion in FIG. 9 from the origin (a3, b3) of the page 906 after conversion, as the result described in FIG. Set the origin to. The origin of each object after N-in-1 can be calculated by, for example, “(c1, d1) = (0, 0)”, “(c2, d2) = (A3 / 2, 0)”. .

こうしてS1007或いはS1008を実行した後S1009に進みCPU111は、S1005或いはS1006で計算した縮小率N1,N2を用いて変換後の描画データを縮小する。ここでは、元データの原点コマンドに対しても縮小変倍が行われる。次にS1010に進みCPU111は、S1007或いはS1008で計算した縮小率N1’,N2’を用いて求めたオブジェクトの描画開始位置から、その縮小したオブジェクトを描画する。そしてS1011に進みCPU111は、処理対象ページ内の全ての描画コマンドについて縮小処理と、新たなレイアウトの決定処理(変換処理)が完了したかどうかを判定する。この判定は、当該ページ内の終了コマンドに従って判定してもよいし、次ページの開始コマンドの存在に基づいて判定してもよい。こうして全ての描画コマンドの処理が完了している場合はこの処理を終了し、未処理の描画コマンドがある場合はS1009に戻って、次の描画コマンドに係るオブジェクトの縮小処理を行なう。   After executing S1007 or S1008 in this manner, the process proceeds to S1009, and the CPU 111 reduces the converted drawing data using the reduction ratios N1 and N2 calculated in S1005 or S1006. Here, reduction scaling is also performed for the origin command of the original data. In step S1010, the CPU 111 draws the reduced object from the drawing start position of the object obtained using the reduction ratios N1 'and N2' calculated in step S1007 or S1008. In step S1011, the CPU 111 determines whether reduction processing and new layout determination processing (conversion processing) have been completed for all drawing commands in the processing target page. This determination may be made according to the end command in the page or based on the presence of the start command on the next page. If all drawing commands have been processed in this way, this processing is terminated. If there is an unprocessed drawing command, the process returns to S1009 to reduce the object related to the next drawing command.

このように本実施形態によれば、デバイス余白がある場合は、集約印刷が設定されると、その縮小率(集約比率)とデバイス余白の縮小率により、縮小した各オブジェクトの描画位置を求めて描画する。一方、デバイス余白がない場合は、集約印刷が設定されると、その縮小率に基づいて縮小した各オブジェクトを、その縮小率に基づいて決定される位置に描画する。   As described above, according to the present embodiment, when there is a device margin, when consolidated printing is set, the drawing position of each reduced object is obtained from the reduction ratio (aggregation ratio) and the reduction ratio of the device margin. draw. On the other hand, when there is no device margin, when consolidated printing is set, each object reduced based on the reduction ratio is drawn at a position determined based on the reduction ratio.

本実施形態によれば、画像処理装置に留め置かれた後の印刷データに含まれるデバイス余白を高精度に抽出することができる。これによって印刷データに忠実な縮小率を伴う画像を作れるようになる。   According to this embodiment, it is possible to extract the device margin included in the print data after being retained in the image processing apparatus with high accuracy. As a result, an image with a reduction ratio faithful to the print data can be created.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

本発明は上記実施形態に制限されるものではなく、本発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、本発明の範囲を公にするために、以下の請求項を添付する。   The present invention is not limited to the above-described embodiment, and various changes and modifications can be made without departing from the spirit and scope of the present invention. Therefore, in order to make the scope of the present invention public, the following claims are attached.

100…複合機(MFP),101…コントローラ、102…印刷部、104…操作部、110…ホストコンピュータ、111…CPU、112…ROM、113…RAM、114…HDD、207…コマンド変換部   DESCRIPTION OF SYMBOLS 100 ... MFP (MFP), 101 ... Controller, 102 ... Printing part, 104 ... Operation part, 110 ... Host computer, 111 ... CPU, 112 ... ROM, 113 ... RAM, 114 ... HDD, 207 ... Command conversion part

Claims (10)

印刷ジョブに含まれる描画コマンドを集約印刷する際、前記描画コマンドの印刷対象のページがデバイス余白に相当する余白を含むかどうか判定する判定手段と、
前記判定手段が前記デバイス余白に相当する余白を含むと判定すると、前記ページに含まれるオブジェクトを前記余白を除いた縮小率で縮小して描画する第1描画手段と、
前記判定手段が前記デバイス余白に相当する余白を含まないと判定すると、前記ページに含まれるオブジェクトを前記集約印刷に基づく縮小率で縮小して描画する第2描画手段と、
前記第1或いは第2描画手段により描画された画像データを出力する出力手段と、
を有することを特徴とする画像処理装置。
A determination unit that determines whether a page to be printed of the drawing command includes a margin corresponding to a device margin when the drawing commands included in the print job are collectively printed;
When the determination unit determines that the margin corresponding to the device margin is included, a first drawing unit that draws an object included in the page with a reduction ratio excluding the margin;
When the determination unit determines that the margin corresponding to the device margin is not included, a second drawing unit that draws an object included in the page with a reduction ratio based on the aggregate printing;
Output means for outputting image data drawn by the first or second drawing means;
An image processing apparatus comprising:
前記判定手段は、前記描画コマンドに含まれる余白が、前記集約印刷で使用される用紙のサイズ、及び集約数に応じて決まる閾値以下のときに、前記デバイス余白に相当する余白を含むと判定することを特徴とする請求項1に記載の画像処理装置。   The determination unit determines that a margin corresponding to the device margin is included when a margin included in the drawing command is equal to or less than a threshold value determined according to a size of a sheet used in the aggregate printing and an aggregation number. The image processing apparatus according to claim 1. 前記第1描画手段は、前記縮小率で縮小する前のオブジェクトの第1の原点を前記縮小率に基づいて変換した第2の原点から、前記縮小率で縮小したオブジェクトを描画することを特徴とする請求項1又は2に記載の画像処理装置。   The first drawing means draws an object reduced at the reduction rate from a second origin obtained by converting the first origin of the object before reduction at the reduction rate based on the reduction rate. The image processing apparatus according to claim 1 or 2. 前記第2描画手段は、前記縮小率で縮小したオブジェクトを前記用紙の原点に基づく原点から描画することを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the second drawing unit draws the object reduced at the reduction ratio from an origin based on the origin of the paper. 受信した印刷ジョブを格納する格納手段と、
前記格納手段に格納された印刷ジョブから印刷対象の印刷ジョブを選択する選択手段と、
前記選択手段により選択された印刷ジョブの印刷設定を変更する変更手段と、
を更に有することを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。
Storage means for storing received print jobs;
Selecting means for selecting a print job to be printed from the print jobs stored in the storage means;
Changing means for changing print settings of the print job selected by the selecting means;
The image processing apparatus according to claim 1, further comprising:
前記格納手段は、各印刷ジョブに対応して、当該印刷ジョブを作成したユーザの情報、当該印刷ジョブに設定された印刷設定を格納することを特徴とする請求項5に記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the storage unit stores, in correspondence with each print job, information on a user who created the print job and print settings set in the print job. 前記印刷設定は、集約印刷の設定を含むことを特徴とする請求項5又は6に記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the print setting includes an aggregate print setting. 前記デバイス余白は、印刷に使用される用紙のマージンに相当することを特徴とする請求項1乃至7のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the device margin corresponds to a margin of paper used for printing. 画像処理装置を制御する制御方法であって、
判定手段が、印刷ジョブに含まれる描画コマンドを集約印刷する際、前記描画コマンドの印刷対象のページがデバイス余白に相当する余白を含むかどうか判定する判定工程と、
第1描画手段が、前記判定工程が前記デバイス余白に相当する余白を含むと判定すると、前記ページに含まれるオブジェクトを前記余白を除いた縮小率で縮小して描画する第1描画工程と、
第2描画手段が、前記判定工程が前記デバイス余白に相当する余白を含まないと判定すると、前記ページに含まれるオブジェクトを前記集約印刷に基づく縮小率で縮小して描画する第2描画工程と、
出力手段が、前記第1或いは第2描画工程で描画された画像データを出力する出力工程と、
を有することを特徴とする画像処理装置の制御方法。
A control method for controlling an image processing apparatus,
A determination step of determining whether or not a page to be printed of the drawing command includes a margin corresponding to a device margin when the determination unit collectively prints the drawing commands included in the print job;
When the first drawing means determines that the determination step includes a margin corresponding to the device margin, a first drawing step of drawing the object included in the page with a reduction ratio excluding the margin;
When the second drawing means determines that the determination step does not include a margin corresponding to the device margin, a second drawing step of drawing the object included in the page with a reduction ratio based on the aggregate printing;
An output step of outputting image data drawn in the first or second drawing step;
A control method for an image processing apparatus, comprising:
コンピュータを、請求項1乃至8のいずれか1項に記載の画像処理装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the image processing apparatus of any one of Claims 1 thru | or 8.
JP2016209887A 2016-10-26 2016-10-26 Image processing system and its control method, and program Pending JP2018069499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016209887A JP2018069499A (en) 2016-10-26 2016-10-26 Image processing system and its control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016209887A JP2018069499A (en) 2016-10-26 2016-10-26 Image processing system and its control method, and program

Publications (1)

Publication Number Publication Date
JP2018069499A true JP2018069499A (en) 2018-05-10

Family

ID=62113532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016209887A Pending JP2018069499A (en) 2016-10-26 2016-10-26 Image processing system and its control method, and program

Country Status (1)

Country Link
JP (1) JP2018069499A (en)

Similar Documents

Publication Publication Date Title
JP4082427B2 (en) Image forming apparatus, image forming method, image processing apparatus, and image forming program
US9325868B2 (en) Image processor displaying plural function keys in scrollable state
US8982376B2 (en) Appending a print password and a reprint password to a print job
JP2008042417A (en) Image processing apparatus, program, and preview image display method
JP2008205903A (en) Image processing device, preview image display method, and preview image display program
US9924051B2 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium for performing printing based on collection settings
JP2011243004A (en) Information processor, print control program, recording medium, print control system and image-forming apparatus
JP6080461B2 (en) Operation receiving apparatus and method, and program
JP2019119139A (en) Image processing system, method therefor and program
JP5807460B2 (en) Information processing apparatus, program, and storage medium
US8773692B2 (en) Printing control apparatus and printing control method for document layout processing
JP2018097620A (en) Image forming system, image forming apparatus, image processing apparatus, control method therefor, and program
JP2007226448A (en) Image processor
JP5967956B2 (en) Information processing apparatus, information processing method, and program
JP2018069499A (en) Image processing system and its control method, and program
JP6344047B2 (en) Output control device, output control program, output control method, and recording medium
JP6179428B2 (en) Image forming apparatus
US9990169B2 (en) Print controller, print control method and non-transitory computer readable recording medium for executing test print
JP6511899B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING SYSTEM, AND PROGRAM
JP2015225535A (en) Information processor, and authentication printing system using same
JP2007079953A (en) Image forming apparatus, image forming method and image forming program
JP2015135666A (en) Image processing apparatus, image processing method, printing system, and program
JP7312357B2 (en) image forming device
JP2012141857A (en) Information processor, gui program and recording medium
JP6711316B2 (en) Image processing device communication and system