JP2014026461A - Data processing device, control method therefor, and data processing program - Google Patents

Data processing device, control method therefor, and data processing program Download PDF

Info

Publication number
JP2014026461A
JP2014026461A JP2012166236A JP2012166236A JP2014026461A JP 2014026461 A JP2014026461 A JP 2014026461A JP 2012166236 A JP2012166236 A JP 2012166236A JP 2012166236 A JP2012166236 A JP 2012166236A JP 2014026461 A JP2014026461 A JP 2014026461A
Authority
JP
Japan
Prior art keywords
output
data
pages
copy
copies
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
JP2012166236A
Other languages
Japanese (ja)
Inventor
Toshikazu Ooya
登史和 大屋
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 JP2012166236A priority Critical patent/JP2014026461A/en
Publication of JP2014026461A publication Critical patent/JP2014026461A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data processing device in which a job obtained by joining data repeated over a plurality of copies into one is effectively subjected to division processing so as to provide a processing result which can be distributed in a split manner by the unit of one copy.SOLUTION: A data processing device acquires information on an output mode indicating setting of data output and information on an output copy number N (S101). A page number X of one copy is calculated by counting a total page number T of a plurality of data, and dividing it by the output copy number N (S103). When the page number X is determined to be an integer, the data processing device separates one copy by the page number X so as to perform division processing and concurrently performs control of outputting data of the output copy number N (S108-S113). Also, in a case where a white page is inserted in copies, when the page number X being calculated through a process in which an adjusted value is added to the total number T to obtain a value, and the obtained value is divided by the output copy number N (S106) is determined to be an integer (S107), the job is separated by the X pages and transmitted to an image output device.

Description

本発明は、複数の部数に亘って繰り返されて全体で1つのジョブにまとめられたデータを部数ごとに分割処理して出力する技術に関する。   The present invention relates to a technique for dividing and outputting data, which is repeated over a plurality of copies and combined into one job as a whole, for each number of copies.

印刷処理等で複数の部数分のソート出力が指定された場合、1部数分のデータを複数回繰り返して出力する方法により、指定された部数分のソート出力が行われる。複数の部数分の印刷データが1つの印刷ジョブとしてまとめてプリンタ等に送信された場合、印刷データは複数の部数に亘って繰り返されるデータから構成されるので、部数ごとにジョブを分割する必要が生じる。例えば、コンピュータ上で動作するオペレーティングシステム(以下、OSと記す)やアプリケーションによっては、画像データの出力に関して画像出力装置のソート機能を使用しないか、または当該機能を使用できない状況がある。この場合、複数の部数のソート出力がコンピュータから画像出力装置に指定される際には、複数の部数に亘って繰り返されるデータがひとまとまりのジョブに結合されて送信される。ジョブを受信した画像出力装置は、1度だけ出力することで指定された部数分のソート出力、つまり部数ごとに繰り返されたデータの印刷処理を行う。   When sort output for a plurality of copies is designated by printing processing or the like, sort output for the designated number of copies is performed by a method of repeatedly outputting data for one copy a plurality of times. When print data for a plurality of copies is collected and sent to a printer or the like as a single print job, the print data is composed of data that is repeated over a plurality of copies, so it is necessary to divide the job for each number of copies. Arise. For example, depending on an operating system (hereinafter referred to as OS) or an application operating on a computer, there is a situation in which the sort function of the image output apparatus is not used for outputting image data, or the function cannot be used. In this case, when the sort output of a plurality of copies is designated from the computer to the image output device, the data repeated over the plurality of copies is combined and transmitted in a batch of jobs. The image output apparatus that has received the job performs sort output for the designated number of copies by outputting the job only once, that is, print processing of data repeated for each number of copies.

しかし、このような方法では、両面印刷やN−UP(N in 1)印刷、ステープル等を併せて実施した場合、複数の部数の出力が1部数として取り扱われることにより、ユーザの期待通りの処理結果が得られないことが起り得る。例えば、1部目の最終頁の裏面に2部目の1頁目が印刷され、あるいは1部目の最終頁の論理頁が面付けされる物理頁上に、2部目の1頁目以降の論理頁が面付けされるといったことが起る。あるいは、全出力による印刷結果(印刷済み用紙)がまとめてステープルされると、部数ごとに分割して配布できなくなってしまう。特許文献1には、与えられるデータに関して1頁目と2頁目以降の全頁とを比較して、1頁目と同一内容の頁を見つけ出してその頁の前で部数ごとに区切って分割処理する技術が開示されている。   However, in such a method, when double-sided printing, N-UP (N in 1) printing, stapling, etc. are performed together, the output of a plurality of copies is handled as one copy, so that processing as expected by the user can be performed. It can happen that results are not obtained. For example, the first page of the second copy is printed on the physical page on which the first page of the second copy is printed on the back side of the last page of the first copy or the logical page of the first page of the first copy is imposed. The logical page is impositioned. Alternatively, if the print results (printed sheets) by all outputs are stapled together, it becomes impossible to distribute them by number of copies. In Patent Document 1, the first page and all the pages after the second page are compared with respect to given data, a page having the same contents as the first page is found, and divided by dividing the number of copies before that page. Techniques to do this are disclosed.

特開2000−56942号公報JP 2000-56942 A

従来の技術では、複数の部数に亘って繰り返されるデータがひとまとまりのジョブに結合された結合ジョブとして送信される情報を効率良く分割処理することができないという問題がある。前記特許文献1の装置では、全ての頁のデータ内容を比較して分割処理する必要があるため、処理負荷が重くなり、画像出力の遅滞を招くおそれがある。
本発明は、複数の部数に亘って繰り返されるデータを1つに結合したジョブを効率良く分割処理して、部数ごとに分割配布可能な処理結果を提供することを目的とする。
In the conventional technique, there is a problem in that information transmitted as a combined job in which data repeated over a plurality of copies is combined into a group of jobs cannot be divided efficiently. In the apparatus of Patent Document 1, since it is necessary to compare and process the data contents of all pages, the processing load becomes heavy and there is a risk of delaying image output.
An object of the present invention is to efficiently divide a job in which data repeated over a plurality of copies is combined into one, and to provide a processing result that can be divided and distributed for each number of copies.

上記課題を解決するために、本発明に係る装置は、複数の部数に亘って繰り返される複数のデータに係るジョブを分割処理して部数ごとの出力を得ることができるデータ処理装置であって、データ出力の設定を指示する出力モードの情報および出力部数の情報を取得する取得手段と、前記複数のデータの全頁数を計数し、計数した全頁数を前記出力部数で除算することで1部数の頁数を算出するとともに、算出結果が整数であると判定した場合、前記1部数の頁数ごとに区切って前記ジョブの分割処理を行いつつ、前記出力部数のデータを出力する制御を行う制御手段を備える。または算出結果が整数ではないと判定した場合、OSやアプリケーションによる白紙頁の自動差し込みを予測して、整数である筈の1部数の頁数を算出し直し、前記1部数の頁数ごとに区切って前記ジョブの分割処理を行いつつ、前記出力部数のデータを出力する制御を行う制御手段を備える。   In order to solve the above problems, an apparatus according to the present invention is a data processing apparatus capable of dividing a job related to a plurality of data repeated over a plurality of copies and obtaining an output for each copy, By obtaining the output mode information for instructing the setting of data output and the information on the number of output copies, and counting the total number of pages of the plurality of data, and dividing the counted total number of pages by the number of output copies, 1 When calculating the number of copies and determining that the calculation result is an integer, control is performed to output the data for the number of copies while dividing the job by dividing the number of pages for one copy. Control means are provided. Or, when it is determined that the calculation result is not an integer, the automatic insertion of a blank page by the OS or application is predicted, the number of pages of one copy of the integer that is an integer is recalculated, and divided into the number of pages of the one copy. Control means for performing control for outputting the data of the number of output copies while performing the job division processing.

本発明は、複数部に亘って繰り返されるデータを1つに結合したジョブを効率良く分割処理して、部数ごとに分割配布可能な処理結果を提供できる。   The present invention can efficiently divide a job in which data repeated over a plurality of copies are combined into one, and provide a processing result that can be divided and distributed for each number of copies.

本発明の実施形態に係る装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the apparatus which concerns on embodiment of this invention. 原稿データと画像出力結果との関係を説明する模式図である。It is a schematic diagram explaining the relationship between manuscript data and an image output result. 分割処理例を説明するフローチャートである。It is a flowchart explaining the example of a division | segmentation process. 分割処理例のアルゴリズムを説明する模式図である。It is a schematic diagram explaining the algorithm of the example of a division | segmentation process.

以下、本発明の実施形態について添付図面を参照して説明する。なお、本実施形態に示すデータ処理装置は、コンピュータ等の情報処理装置においてアプリケーション等によりデータ処理を行う機能を有するものとする。
図1(A)は、本実施形態に係る装置のハードウェア構成例を示すブロック図である。コンピュータ100は、全体の制御を司るCPU(中央演算処理装置)102を備えており、CPU102はシステム・バス101に接続された各構成部を制御する。各構成部は、システム・バス101を介して互いにデータを送受し合う。
Embodiments of the present invention will be described below with reference to the accompanying drawings. Note that the data processing apparatus shown in the present embodiment has a function of performing data processing by an application or the like in an information processing apparatus such as a computer.
FIG. 1A is a block diagram illustrating a hardware configuration example of an apparatus according to the present embodiment. The computer 100 includes a central processing unit (CPU) 102 that controls the entire system, and the CPU 102 controls each component connected to the system bus 101. Each component transmits and receives data to and from each other via the system bus 101.

ROM(Read Only Memory)103は固定的なデータ及びプログラムを記憶し、RAM(Random Access Memory)104は主記憶装置として機能し、CPU102のワークエリアを提供する。User Interface(以下、UIと記す)コントローラ105は、操作および表示部110との間で送受される情報を処理して、システム・バス101を介してCPU102に伝える。操作および表示部110は、キーボードやポインティングデバイス、操作スイッチ等の操作入力用デバイスと、液晶パネル(LCD)や発光ダイオード(LED)表示器等の表示用デバイスを備える。また、不揮発性記憶装置コントローラ106は、ハードディスクドライブ等を用いた不揮発性記憶装置120を制御する。USB/Networkコントローラ107は、コンピュータ100と画像出力装置130との接続や通信処理を制御する。コンピュータ100はネットワーク1000またはUSB(Universal Serial Bus)1001を介して画像出力装置130と通信する。画像出力装置130はプリンタやファクシミリ等の画像形成装置である。   A ROM (Read Only Memory) 103 stores fixed data and programs, and a RAM (Random Access Memory) 104 functions as a main storage device and provides a work area for the CPU 102. A user interface (hereinafter referred to as UI) controller 105 processes information transmitted to and received from the operation and display unit 110 and transmits the information to the CPU 102 via the system bus 101. The operation and display unit 110 includes operation input devices such as a keyboard, pointing device, and operation switch, and display devices such as a liquid crystal panel (LCD) and a light emitting diode (LED) display. The nonvolatile storage device controller 106 controls the nonvolatile storage device 120 using a hard disk drive or the like. The USB / Network controller 107 controls connection and communication processing between the computer 100 and the image output device 130. The computer 100 communicates with the image output apparatus 130 via a network 1000 or a USB (Universal Serial Bus) 1001. The image output apparatus 130 is an image forming apparatus such as a printer or a facsimile.

図1(B)は、不揮発性記憶装置120が記憶する情報を例示した概念図である。CPU102はROM103に記憶されているブート(Boot)プログラムを実行し、不揮発性記憶装置120に記憶されているOSプログラム121をRAM104上にロードして起動処理を行う。その後、CPU102はユーザの操作指示に従って、不揮発性記憶装置120に記憶されているアプリケーションプログラム122を実行し、文書作成や表計算等の情報処理環境をユーザに提供する。OSプログラム121またはアプリケーションプログラム122は必要に応じて、画像処理システムプログラム123を呼び出し、画像出力装置130に画像データを送信する。この時、画像出力装置130に送信される画像データは、画像処理システムプログラム123によって、処理対象の画像データのスプーラ124に格納される。よって、OSプログラム121またはアプリケーションプログラム122は画像出力処理から早期に解放される。   FIG. 1B is a conceptual diagram illustrating information stored in the nonvolatile storage device 120. The CPU 102 executes a boot program stored in the ROM 103, loads the OS program 121 stored in the nonvolatile storage device 120 onto the RAM 104, and performs a startup process. Thereafter, the CPU 102 executes the application program 122 stored in the nonvolatile storage device 120 according to the user's operation instruction, and provides the user with an information processing environment such as document creation and spreadsheet. The OS program 121 or the application program 122 calls the image processing system program 123 as necessary, and transmits image data to the image output device 130. At this time, the image data transmitted to the image output device 130 is stored in the spooler 124 of the image data to be processed by the image processing system program 123. Therefore, the OS program 121 or the application program 122 is released early from the image output process.

次に図2を参照して、画像出力処理について説明する。原稿301はコンピュータ100上でユーザが作成または編集したデータであり、図2には3頁のデータA、B、Cからなる場合を例示する。ユーザは2−UP印刷で3部の画像出力処理を行おうとしており、期待される処理結果を出力例302に示す。ユーザが望む出力は、1枚目の物理頁に1頁目の論理頁データAと2頁目の論理頁データBが左右に配され、かつ2枚目の物理頁には3頁目の論理頁データCのみが配された状態で面付けが行われた結果物である。つまりユーザは、全6枚の物理頁において、(A,B)と(C,φ)をそれぞれに含む部数の画像出力を期待する。なお、(X,Y)は2−UP印刷で1枚の物理用紙に配置される左側の論理頁データXと右側の論理頁データYを表す。φはデータがない白紙部分を表す。   Next, image output processing will be described with reference to FIG. The manuscript 301 is data created or edited by the user on the computer 100, and FIG. 2 exemplifies a case of three pages of data A, B, and C. The user is about to perform three copies of image output processing in 2-UP printing, and an expected processing result is shown in an output example 302. The output desired by the user is that the first page of logical page data A and the second page of logical page data B are arranged on the left and right on the first physical page, and the second physical page has the third page of logical page data. This is a result of imposition with only page data C arranged. That is, the user expects to output a number of copies including (A, B) and (C, φ) on all six physical pages. Note that (X, Y) represents the logical page data X on the left side and the logical page data Y on the right side arranged on one physical sheet by 2-UP printing. φ represents a blank area where there is no data.

ところで、3頁3部分の画像データが全9頁で1部を構成するジョブとして取り扱われた場合、3部のデータ列は、論理頁データA,B,C,A,B,C,A,B,Cであって、AからCを3回繰り返したものである。このままで処理を行った場合の出力例303は、ユーザが望む出力とは違う結果になる。つまり、1枚目の物理頁は(A,B)の配置であるが、2枚目以降は(C,A),(B,C),・・・という具合にずれた配置になっていく。これは、2枚目の物理頁には1部目の3頁目の論理頁データCと、2部目の1頁目の論理頁データAが配されるためであり、(C,φ)の配置にはならず、右側に論理頁データAが入り込む。よって、3枚目の物理頁には2部目の2頁目の論理頁データBと3頁目の論理頁データCが左右に配されるので、(B,C)に示す配置となる。以下、同様にして、(A,B)、(C,φ)というように配された面付けが行われるので、全5枚の物理頁からなる、ユーザの予期しない処理結果が得られる。以下では、複数の部数に亘って繰り返されるデータが全体で1つのジョブにまとめて与えられた場合でも、ジョブを部数ごとに分割する処理を行い、ユーザの意図する処理結果を得ることができる画像処理について説明する。   By the way, when the image data of 3 pages and 3 parts is handled as a job that constitutes 1 copy with 9 pages in total, the data sequence of 3 copies includes logical page data A, B, C, A, B, C, A, B and C, and A to C are repeated three times. The output example 303 when processing is performed in this state is different from the output desired by the user. That is, the first physical page has an arrangement of (A, B), but the second and subsequent pages are arranged in a shifted manner such as (C, A), (B, C),. . This is because the logical page data C of the third page of the first copy and the logical page data A of the first page of the second copy are arranged on the second physical page, and (C, φ) The logical page data A enters the right side. Therefore, the logical page data B of the second page of the second copy and the logical page data C of the third page are arranged on the left and right on the third physical page, so that the arrangement shown in (B, C) is obtained. In the same manner, imposition arranged as (A, B), (C, φ) is performed in the same manner, so that an unexpected processing result of the user consisting of all five physical pages can be obtained. In the following, even when data repeated over a plurality of copies is given as one job as a whole, an image that performs processing for dividing the job into copies and obtains the processing result intended by the user Processing will be described.

図3は画像データの分割処理例を説明するフローチャートである。CPU102が不揮発性記憶装置120に格納された画像処理システムプログラム123を読み出して実行することにより処理が実現される。アプリケーションプログラム122が起動してから、画像処理システムプログラム123を呼び出して、画像出力装置130に対する画像出力処理が指示されることで、以下の処理が実行される。処理の主体はCPU102であり、画像処理システムプログラム123の記述内容に従って処理が決定される。図3には各処理と、画像データのスプーラ124および画像出力装置130との関係を点線の矢印で併記する。   FIG. 3 is a flowchart illustrating an example of image data division processing. The processing is realized by the CPU 102 reading and executing the image processing system program 123 stored in the nonvolatile storage device 120. After the application program 122 is activated, the image processing system program 123 is called to instruct image output processing to the image output device 130, whereby the following processing is executed. The subject of processing is the CPU 102, and the processing is determined according to the description content of the image processing system program 123. In FIG. 3, the relationship between each process and the image data spooler 124 and the image output device 130 is shown by dotted arrows.

図4はジョブ分割処理の説明図であり、複数の部数分の画像データが連結して与えられた時にデータを分割する処理例を示す模式図である。図4(A)はデータ出力モード(以下、単に出力モードという)が2−UP印刷および片面印刷に設定されている場合のアルゴリズムを説明する図である。矩形枠401内に示すように、A,B,Cの3頁の論理頁データについて3部の片面印刷を行う例であり、A,B,C,A,B,C,A,B,Cの計9頁のデータが分割処理される。図4(A)にて右側に処理結果を示す。なお、1部当たりの頁数が奇数の場合を例示するが、片面または両面印刷の設定で1部当たりの頁数が偶数の場合も同様である。また、図4(B)は出力モードが2−UP印刷および両面印刷に設定されている場合のアルゴリズムを説明する図である。矩形枠402内に示すように、A,B,Cの3頁の論理頁データについて3部の両面印刷を行う例であり、A,B,C,白紙,A,B,C,白紙,A,B,Cの計11頁のデータが分割処理される。図4(B)にて右側に処理結果を示す。   FIG. 4 is an explanatory diagram of job division processing, and is a schematic diagram showing an example of processing for dividing data when a plurality of sets of image data are concatenated and given. FIG. 4A is a diagram for explaining an algorithm when the data output mode (hereinafter simply referred to as output mode) is set to 2-UP printing and single-sided printing. As shown in a rectangular frame 401, this is an example in which three-sided single-side printing is performed on three pages of logical pages A, B, and C. A, B, C, A, B, C, A, B, C A total of nine pages of data are divided and processed. The processing result is shown on the right side in FIG. Although the case where the number of pages per copy is an odd number is illustrated, the same applies to the case where the number of pages per copy is even in the setting of single-sided or double-sided printing. FIG. 4B is a diagram illustrating an algorithm when the output mode is set to 2-UP printing and duplex printing. As shown in a rectangular frame 402, this is an example in which three-sided printing is performed on three pages of logical pages A, B, and C. A, B, C, white paper, A, B, C, white paper, A , B and C, a total of 11 pages of data is divided. The processing result is shown on the right side in FIG.

図3では、まず、出力モードと画像出力の部数(Nと記す)の各情報を取得する処理が実行される(S101)。CPU102は出力モードを判別して、N−UP出力や両面/片面印刷の違い等を把握し、部数Nの情報を保持する。これらの情報は一般的に、アプリケーションプログラム122やOSプログラム121による印刷ダイアログから取得できる。あるいはユーザに対して、UIコントローラ105を介してUI画面を表示し、ポインティングデバイスやキーボードの操作での選択入力を求める処理を行ってもよい。   In FIG. 3, first, a process of acquiring information on the output mode and the number of copies of image output (denoted as N) is executed (S101). The CPU 102 discriminates the output mode, grasps the difference between N-UP output, duplex / single-sided printing, etc., and holds the information of the number of copies N. Such information can generally be acquired from a print dialog by the application program 122 or the OS program 121. Alternatively, a process may be performed in which a UI screen is displayed to the user via the UI controller 105 and selection input is performed by operating a pointing device or a keyboard.

次にCPU102は画像データの入力を受け付けて、画像データのスプーラ124に格納しつつ、全頁数(Tと記す)をカウントする(S102)。次に、1部数分の頁数をXとして、これが「X=T÷N」の式を用いて算出される。また出力部数を計数するためのカウント変数(CNと記す)の値が1に初期化される(S103)。次のS104は、S103での算出結果であるXの値が整数であるか否かの判定処理である。つまり、TがNで割り切れるか否かが判定される。Xの値が整数であると判定された場合、S108へ処理を進める。これは、図4(A)の矩形枠401で示す場合であり、X頁分のジョブデータが部数N分連結されて、全部でT頁出力されることが確認される。図4(A)の例では、X=3、T=9であるため、3の倍数の次の頁で分割処理が行われる。一方、S104でXの値が整数でないと判定された場合、S105へ処理を進める。   Next, the CPU 102 accepts input of image data and counts the total number of pages (denoted as T) while storing the image data in the spooler 124 (S102). Next, assuming that the number of pages for one copy is X, this is calculated using the formula “X = T ÷ N”. In addition, the value of a count variable (denoted CN) for counting the number of output copies is initialized to 1 (S103). The next S104 is a process for determining whether or not the value of X, which is the calculation result in S103, is an integer. That is, it is determined whether T is divisible by N. If it is determined that the value of X is an integer, the process proceeds to S108. This is the case indicated by the rectangular frame 401 in FIG. 4A, where it is confirmed that X pages of job data are linked by N copies and a total of T pages are output. In the example of FIG. 4A, since X = 3 and T = 9, the division process is performed on the next page that is a multiple of 3. On the other hand, if it is determined in S104 that the value of X is not an integer, the process proceeds to S105.

S105は、出力モードが両面印刷に設定されているか否かの判定処理である。両面印刷が設定されている場合、S106へ処理を進め、1部数分の頁数を示すXを、「X=(T+1)÷N」の式で算出する処理が行われる。また、S105で両面印刷が設定されていないと判定された場合、S114へ処理を進める。
S106の次に、Xの値が整数であるか否かについて判定される(S107)。T+1がNで割り切れる場合、つまり、剰余がゼロであればXの値は整数である。これは、図4(B)の矩形枠402に示す場合であり、N=3でT=11である。(T+1)÷N=4の例を示しており、4の倍数の次の頁で分割処理が行われる。両面印刷に対して1部当たりの頁数が奇数であるため、OSプログラム121またはアプリケーションプログラム122によって、データA乃至Cと次のデータA乃至Cとの間に1頁分の白紙頁が挿入される。白紙頁を含むX頁のジョブデータとして、部数(N−1)分のデータ(4×2=8頁分)と、白紙を除く(X−1)頁分のデータ(4−1=3頁分)が連結されて、全部でT頁のデータが出力されることが確認される。S107での除算結果に関して剰余がゼロであれば、S108へ処理を進め、剰余がゼロでない場合にはS114へ処理を進める。
S105 is a process for determining whether or not the output mode is set to duplex printing. If double-sided printing is set, the process proceeds to S106, and X indicating the number of pages for one copy is calculated using the formula “X = (T + 1) ÷ N”. If it is determined in S105 that double-sided printing is not set, the process proceeds to S114.
Following S106, it is determined whether or not the value of X is an integer (S107). If T + 1 is divisible by N, that is, if the remainder is zero, the value of X is an integer. This is the case shown in the rectangular frame 402 in FIG. 4B, where N = 3 and T = 11. An example of (T + 1) ÷ N = 4 is shown, and the division process is performed on the next page of a multiple of 4. Since the number of pages per copy is an odd number for duplex printing, the OS program 121 or the application program 122 inserts one blank page between the data A to C and the next data A to C. The As job data for X pages including blank pages, data for the number of copies (N-1) (4 × 2 = 8 pages) and data for (X-1) pages excluding blank pages (4-1 = 3 pages) Minutes) are connected, and it is confirmed that T page data is output in total. If the remainder in the division result in S107 is zero, the process proceeds to S108, and if the remainder is not zero, the process proceeds to S114.

S108では、画像出力装置130に対して出力モード(両面/片面印刷やN−UP印刷等)の指示を含むジョブのオープン処理が実行されるとともに、カウント変数CXの値が1に初期化される。この変数CX1は1部当たりの頁数を計数するために用いる。次に画像データのスプーラ124から、1頁分の画像データを取得し、画像出力装置130に出力する処理が行われる(S109)。そしてCXの値に1が加算(インクリメント)され(S110)、その後、S111へ処理を進める。
S111は2つの条件式を論理和演算した結果に基づく判定処理である。第1式は「X<CX」であり、1部数分の出力処理の終りか否かの判定式である。また、第2式は「T<X×(CN−1)+CX」であり、全頁を出力済みか否かの判定式である。第1式または第2式を満たす場合、S112へ処理を進めるが、第1式および第2式を満たさない場合、S109へ処理を戻す。S111で肯定的判定結果(Yes)が得られるまでの間、S109およびS110の処理が繰り返される。
In S108, a job open process including an instruction of an output mode (double-sided / single-sided printing, N-UP printing, etc.) is executed for the image output apparatus 130, and the value of the count variable CX is initialized to 1. . This variable CX1 is used to count the number of pages per copy. Next, a process of acquiring image data for one page from the image data spooler 124 and outputting it to the image output device 130 is performed (S109). Then, 1 is added (incremented) to the value of CX (S110), and then the process proceeds to S111.
S111 is a determination process based on the result of logical sum operation of two conditional expressions. The first equation is “X <CX”, and is a determination equation for determining whether or not the output processing for one copy has been completed. The second equation is “T <X × (CN−1) + CX” and is a determination equation for determining whether or not all pages have been output. If the first expression or the second expression is satisfied, the process proceeds to S112. If the first expression and the second expression are not satisfied, the process returns to S109. The processes of S109 and S110 are repeated until a positive determination result (Yes) is obtained in S111.

S112でCPU102は、画像出力装置130に対してジョブの終了を伝える、ジョブクローズ処理を行うとともに、出力部数のカウント変数CNの値に1を加算(インクリメント)する。そして、「N<CN」の判定式を用いて、全部数が出力済みであるか否かにについて判定処理が行われる(S113)。N<CNの場合、一連の処理を終了し、N≧CNの場合、S108に戻って処理を続行する。
また、S105やS107で否定的判定結果(No)が得られた場合、S114へ処理を進める。これは、「1部数分の頁数×部数=全頁数」という関係式が成り立たない特異な場合であり、分割処理をキャンセルして画像出力処理が行われる。S114では、画像出力装置130に対して出力モード(両面/片面印刷やN−UP印刷等)の指示を含むジョブのオープン処理が行われるとともに、カウント変数CXの値が1に初期化される。次に、画像データのスプーラ124から、1頁分の画像処理データを取得して画像出力装置130に出力する処理が実行される(S115)。そしてCXの値に1が加算され(S116)、「T<CX」の判定式を用いて、全頁が出力済みであるか否かについて判定処理が行われる(S117)。T<CXの場合、S118へ処理を進め、T≧CXの場合、S115に戻って処理を続行する。S118で画像出力装置130に対してジョブの終了を伝える、ジョブクローズ処理が実行された後、一連の処理を終了する。
In step S <b> 112, the CPU 102 performs job close processing that notifies the image output device 130 of the end of the job, and adds (increments) 1 to the value of the count variable CN of the number of output copies. Then, using the determination formula “N <CN”, a determination process is performed as to whether or not all the numbers have been output (S113). If N <CN, the series of processes is terminated. If N ≧ CN, the process returns to S108 and continues.
If a negative determination result (No) is obtained in S105 or S107, the process proceeds to S114. This is a unique case where the relational expression “number of pages for one copy × number of copies = total number of pages” does not hold, and the division processing is canceled and the image output processing is performed. In S <b> 114, a job open process including an instruction of an output mode (double-sided / single-sided printing, N-UP printing, etc.) is performed on the image output apparatus 130, and the value of the count variable CX is initialized to 1. Next, a process of acquiring image processing data for one page from the image data spooler 124 and outputting it to the image output device 130 is executed (S115). Then, 1 is added to the value of CX (S116), and a determination process is performed as to whether or not all pages have been output using the determination formula of “T <CX” (S117). If T <CX, the process proceeds to S118. If T ≧ CX, the process returns to S115 to continue the process. In step S118, after the job close process for informing the image output apparatus 130 of the end of the job is executed, the series of processes is ended.

なお、図3のS106では全頁数Tに加算する調整値を1としたが、この調整値は出力モードに応じて変更される。例えば、両面での4−UP印刷の設定において、A乃至E,φ,φ,φ,A乃至E,φ,φ,φ,A乃至Eの計21頁のデータ(N=3)に係るジョブを分割処理する場合、調整値はφ(白紙頁)の数に相当する3である。つまり、(T+1)÷Nでは剰余がゼロにならず、(T+3)÷N=8で割り切れるため、8の倍数ごとに分割処理が実行される。
本実施形態では、複数の部数に亘って繰り返されるデータを1つにまとめて結合したジョブが与えられた場合、部数ごとにデータを分割したデータ出力を得ることができる。つまり、出力モードおよび出力部数Nの情報と、記憶装置に一旦スプールされるデータの全頁数Tを取得した上で、出力モードに応じた1部数分の頁数Xが算出される。1つの結合ジョブとしてT頁分与えられたデータに係るジョブの分割処理により、X頁ごとにデータを区切って画像出力装置に送信することができる。
In S106 of FIG. 3, the adjustment value added to the total page number T is set to 1, but this adjustment value is changed according to the output mode. For example, in the setting of 4-UP printing on both sides, a job related to data of 21 pages (N = 3) of A to E, φ, φ, φ, A to E, φ, φ, φ, A to E Is divided, the adjustment value is 3, which corresponds to the number of φ (blank pages). That is, the remainder does not become zero at (T + 1) ÷ N, and is divisible by (T + 3) ÷ N = 8, and therefore, the division process is executed every multiple of 8.
In the present embodiment, when a job in which data repeated over a plurality of copies is combined and combined is given, a data output obtained by dividing the data for each number of copies can be obtained. That is, after obtaining the information of the output mode and the number of copies N and the total number of pages T of the data once spooled in the storage device, the number of pages X corresponding to the number of copies corresponding to the output mode is calculated. By dividing the job relating to the data given for T pages as one combined job, the data can be divided for each X page and transmitted to the image output apparatus.

[その他の実施形態]
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するデータ処理プログラムを、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
[Other Embodiments]
The present invention can also be realized by executing the following processing. That is, a data processing program that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and the computer (or CPU, MPU, etc.) of the system or apparatus reads and executes the program. It is processing to do.

100 コンピュータ(データ処理装置)
102 CPU
120 不揮発性記憶装置
130 画像出力装置

100 computer (data processing device)
102 CPU
120 Nonvolatile memory device 130 Image output device

Claims (6)

複数の部数に亘って繰り返される複数のデータに係るジョブを分割処理して部数ごとの出力を得ることができるデータ処理装置であって、
データ出力の設定を指示する出力モードの情報および出力部数の情報を取得する取得手段と、
前記複数のデータの全頁数を計数し、計数した全頁数を前記出力部数で除算することで1部数の頁数を算出するとともに、算出結果が整数であると判定した場合、前記1部数の頁数ごとに区切って前記ジョブの分割処理を行いつつ、前記出力部数のデータを出力する制御を行う制御手段を備えることを特徴とするデータ処理装置。
A data processing apparatus capable of dividing a job related to a plurality of data repeated over a plurality of copies and obtaining an output for each copy,
An acquisition means for acquiring information on an output mode instructing setting of data output and information on the number of output copies;
When counting the total number of pages of the plurality of data, dividing the total number of pages counted by the number of output copies to calculate one page number, and determining that the calculation result is an integer, the one copy number A data processing apparatus comprising: a control unit that performs control to output the number of output copies of data while dividing the job by dividing the number of pages.
前記制御手段は、前記出力モードが片面印刷の設定であって、かつ前記1部数の頁数が奇数である場合、当該奇数の倍数の頁ごとに前記ジョブの分割処理を行うことを特徴とする請求項1に記載のデータ処理装置。   When the output mode is set to single-sided printing and the number of pages of one copy is an odd number, the control unit performs the job dividing process for each odd multiple of pages. The data processing apparatus according to claim 1. 前記制御手段は、算出した前記1部数の頁数が整数でないと判定した場合、前記出力モードが片面印刷の設定であるか、または両面印刷の設定であるかを判定し、前記出力モードが両面印刷の設定であって、かつ計数した全頁数に調整値を加算した値を前記出力部数で除算した頁数が整数であると判定した場合、当該頁数の倍数の頁ごとに区切って前記ジョブの分割処理を行うことを特徴とする請求項2に記載のデータ処理装置。   If it is determined that the calculated number of pages of one copy is not an integer, the control unit determines whether the output mode is a single-sided printing setting or a double-sided printing setting, and the output mode is a double-sided printing setting. When it is determined that the number of pages obtained by dividing the output value by adding the adjustment value to the total number of pages, which is a print setting, is an integer, the page is divided into multiples of the number of pages. The data processing apparatus according to claim 2, wherein job division processing is performed. 前記制御手段は、前記出力モードが両面印刷の設定でないと判定し、かつ前記除算で得た頁数が整数でないと判定した場合、前記ジョブの分割処理を行わずに、前記複数のデータを全体で1部数として出力することを特徴とする請求項3に記載のデータ処理装置。   When the control unit determines that the output mode is not set to duplex printing and determines that the number of pages obtained by the division is not an integer, the control unit does not perform the job division process, The data processing apparatus according to claim 3, wherein the data processing apparatus outputs as one copy. 複数の部数に亘って繰り返される複数のデータに係るジョブを分割処理して部数ごとの出力を得ることができるデータ処理装置にて実行される制御方法であって、
データ出力の設定を指示する出力モードの情報および出力部数の情報を取得する取得ステップと、
前記複数のデータの全頁数を計数し、計数した全頁数を前記出力部数で除算することで1部数の頁数を算出するとともに、算出結果が整数であるか否かを判定する判定ステップと、
前記判定ステップにて前記1部数の頁数が整数であると判定された場合、当該頁数ごとに区切って前記ジョブの分割処理を行いつつ、前記出力部数のデータを出力する制御を行う制御ステップを有することを特徴とするデータ処理装置の制御方法。
A control method executed by a data processing apparatus capable of dividing a job related to a plurality of data repeated over a plurality of copies and obtaining an output for each copy,
An acquisition step for acquiring information on the output mode and the number of output copies instructing setting of data output;
A determination step of counting the total number of pages of the plurality of data, calculating the number of pages of one copy by dividing the total number of pages counted by the number of output copies, and determining whether the calculation result is an integer. When,
A control step of performing control to output the data of the number of output copies while performing the job dividing process by dividing the page number into pieces when the number of pages of the one copy number is determined to be an integer in the determination step. A method for controlling a data processing apparatus, comprising:
複数の部数に亘って繰り返される複数のデータに係るジョブを分割処理して部数ごとの出力を得ることができるデータ処理装置にてコンピュータにより実行されるデータ処理プログラムであって、
データ出力の設定を指示する出力モードの情報および出力部数の情報を取得する取得ステップと、
前記複数のデータの全頁数を計数し、計数した全頁数を前記出力部数で除算することで1部数の頁数を算出するとともに、算出結果が整数であるか否かを判定する判定ステップと、
前記判定ステップにて前記1部数の頁数が整数であると判定された場合、当該頁数ごとに区切って前記ジョブの分割処理を行いつつ、前記出力部数のデータを出力する制御を行う制御ステップを有することを特徴とするデータ処理プログラム。
A data processing program executed by a computer in a data processing apparatus capable of dividing a job relating to a plurality of data repeated over a plurality of copies and obtaining an output for each copy,
An acquisition step for acquiring information on the output mode and the number of output copies instructing setting of data output;
A determination step of counting the total number of pages of the plurality of data, calculating the number of pages of one copy by dividing the total number of pages counted by the number of output copies, and determining whether the calculation result is an integer. When,
A control step of performing control to output the data of the number of output copies while performing the job dividing process by dividing the page number into pieces when the number of pages of the one copy number is determined to be an integer in the determination step. A data processing program characterized by comprising:
JP2012166236A 2012-07-26 2012-07-26 Data processing device, control method therefor, and data processing program Pending JP2014026461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012166236A JP2014026461A (en) 2012-07-26 2012-07-26 Data processing device, control method therefor, and data processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012166236A JP2014026461A (en) 2012-07-26 2012-07-26 Data processing device, control method therefor, and data processing program

Publications (1)

Publication Number Publication Date
JP2014026461A true JP2014026461A (en) 2014-02-06

Family

ID=50200046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012166236A Pending JP2014026461A (en) 2012-07-26 2012-07-26 Data processing device, control method therefor, and data processing program

Country Status (1)

Country Link
JP (1) JP2014026461A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016030433A (en) * 2014-07-30 2016-03-07 株式会社沖データ Image forming device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016030433A (en) * 2014-07-30 2016-03-07 株式会社沖データ Image forming device

Similar Documents

Publication Publication Date Title
JP6623938B2 (en) Image processing apparatus, imposition control program, and imposition control method
US20120236351A1 (en) Image forming apparatus and display device
US8320813B2 (en) Image forming apparatus, image forming system, image forming method and computer readable medium storing program
US9216874B2 (en) Control apparatus, control method, and storage medium
US9917973B2 (en) Printing apparatus, method of controlling the same, and storage medium
JP2014061638A (en) Printer, method for controlling the same, and program
US11683424B2 (en) Printing apparatus that displays a determined plurality of sets of image data, a method of controlling the printing apparatus, and a non-transitory computer-readable storage medium
US8737902B2 (en) Printing apparatus, control method of printing apparatus, and storage medium
JP2014026461A (en) Data processing device, control method therefor, and data processing program
US20190146724A1 (en) Image forming apparatus, information processing apparatus, control method of image forming apparatus, control method of information processing apparatus, and storage medium
US10776060B2 (en) Image processing apparatus, method for controlling image processing apparatus, and storage medium
JP2008052361A (en) Print data processor and method for performing filtering process on print data
JP4536671B2 (en) Image forming apparatus, image forming method and program thereof
JP6503999B2 (en) Image processing apparatus, imposition control program, and imposition control method
JP6210022B2 (en) Information processing apparatus and memory access arbitration method
US20240069824A1 (en) Information processing system, non-transitory computer readable medium, and information processing method
JP7528598B2 (en) Image processing device and program
JP7087656B2 (en) Image forming device, imposition control program and imposition control method
JP4877071B2 (en) Color page printer
JP2016203513A (en) Printer, information processing method and program
US9584684B2 (en) Image forming apparatus, method for controlling the same, and storage medium
JP2017205925A (en) Printing system, print control method and print control program
JP5991784B2 (en) Information processing apparatus and information processing program
JP6350100B2 (en) Printer controller, job processing control program, and job processing control method
JP2011180808A (en) Printing system and printing apparatus