JP2011186654A - Information processor, printing control method, printing control program, and recording medium - Google Patents

Information processor, printing control method, printing control program, and recording medium Download PDF

Info

Publication number
JP2011186654A
JP2011186654A JP2010049660A JP2010049660A JP2011186654A JP 2011186654 A JP2011186654 A JP 2011186654A JP 2010049660 A JP2010049660 A JP 2010049660A JP 2010049660 A JP2010049660 A JP 2010049660A JP 2011186654 A JP2011186654 A JP 2011186654A
Authority
JP
Japan
Prior art keywords
page
data
print
keyword
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010049660A
Other languages
Japanese (ja)
Other versions
JP5577759B2 (en
Inventor
Chiaki Akiyama
千秋 秋山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2010049660A priority Critical patent/JP5577759B2/en
Publication of JP2011186654A publication Critical patent/JP2011186654A/en
Application granted granted Critical
Publication of JP5577759B2 publication Critical patent/JP5577759B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a load in the case of sorting printed document data. <P>SOLUTION: An information processor 100 is provided with: a page identification part 361 for identifying the division of a page with respect to intermediate data generated as data for printing document data; a keyword detection part 311 for detecting a keyword from a character string expressed as the contents of the page for every page of the intermediate data; a page control part 358 for controlling each page of the intermediate data based on the detected keyword; and a printing control part 360 for controlling the printing of the intermediate data after each page is controlled by the page control part 358. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、情報処理装置、印刷制御方法、印刷制御プログラム、及び記録媒体に関する。   The present invention relates to an information processing apparatus, a print control method, a print control program, and a recording medium.

従来から、印刷処理装置では、ユーザの印刷要求に応じるために、様々な印刷機能を備えている。   2. Description of the Related Art Conventionally, print processing apparatuses have various printing functions in order to respond to user print requests.

例えば、特許文献1に記載された技術では、表示装置上で、印刷データをページ単位で、印刷用の中間データを生成し、その中間データをページ単位で、表示画面に表示している。そして、ユーザからのページ入れ替えや白紙ページ挿入等のページ編集が行われた場合、表示装置が、その編集内容を上記中間ファイルに反映させている。これにより、印刷データのページ入れ替えや白紙ページ挿入を実現している。   For example, in the technique described in Patent Document 1, print data is generated in a page unit and print intermediate data is generated on a display device, and the intermediate data is displayed in a page unit on a display screen. When page editing such as page replacement or blank page insertion from the user is performed, the display device reflects the edited contents in the intermediate file. As a result, page replacement of print data and blank page insertion are realized.

他の例としては、特許文献2に記載された技術では、文書データ中に印刷制御を行うためのコマンドを予め埋め込んでおくことで、当該文書データを印刷する際、コマンドが埋め込まれている場合に、当該コマンドに従って印刷先の印刷装置の指定、章分け指定等の印刷制御を行っている。これにより、ユーザが意図する印刷内容の印刷を簡単かつ適切に行わせることができる。   As another example, in the technique described in Patent Document 2, a command for performing print control is embedded in document data in advance, and the command is embedded when printing the document data. In addition, printing control such as designation of a printing device as a printing destination and chapter division designation is performed according to the command. As a result, it is possible to easily and appropriately print the print content intended by the user.

しかしながら、特許文献1及び特許文献2ともに、実行される印刷制御は、ユーザの操作に依存している。例えば、特許文献1に記載された技術では、ユーザがページ単位で操作を行う必要があるし、特許文献2では、印刷制御を行うためのコマンドを予め埋め込んでおく必要がある。   However, in both Patent Literature 1 and Patent Literature 2, the print control to be executed depends on the user's operation. For example, in the technique described in Patent Document 1, the user needs to perform an operation in units of pages, and in Patent Document 2, it is necessary to embed a command for performing print control in advance.

ところで、現在の業務システムでは、1ページの帳票を数百部つなげて1つの印刷ジョブ情報として管理している場合がある。ユーザが、このような印刷ジョブを、システム端末から出力する際、印刷ジョブ情報に含まれている帳票を、必要に応じて仕分けをする状況がある。このような状況において、引用文献1及び引用文献2に記載された技術では、ユーザが画面上で手作業によってページの仕分けを行う必要があり、ユーザの操作負担が大きくなるという問題がある。   By the way, in the current business system, there are cases where hundreds of forms of one page are connected and managed as one print job information. When a user outputs such a print job from the system terminal, there is a situation in which a form included in the print job information is sorted as necessary. In such a situation, the techniques described in the cited document 1 and the cited document 2 have a problem that the user needs to manually sort the pages on the screen, which increases the operation burden on the user.

本発明は、上記に鑑みてなされたものであって、印刷制御を行う際のユーザの操作負担を軽減させる情報処理装置、印刷制御方法、印刷制御プログラム、及び記録媒体を提供することを目的とする。   The present invention has been made in view of the above, and an object thereof is to provide an information processing apparatus, a print control method, a print control program, and a recording medium that reduce a user's operation burden when performing print control. To do.

上述した課題を解決し、目的を達成するために、本発明にかかる情報処理装置は、文書データを印刷するためのデータとして生成された印刷制御データに対して、ページの区切りを識別する識別手段と、前記印刷制御データのページ毎に、当該ページの文面として表された文字列から、キーワードを検出する検出手段と、前記検出された前記キーワードに基づいて、前記印刷制御データの各ページを制御する制御手段と、前記制御手段により各ページが制御された後の前記印刷制御データを出力する出力手段と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, an information processing apparatus according to the present invention is an identification unit that identifies a page break for print control data generated as data for printing document data. And, for each page of the print control data, a detection unit that detects a keyword from a character string represented as a text of the page, and controls each page of the print control data based on the detected keyword Control means for outputting, and output means for outputting the print control data after each page is controlled by the control means.

また、本発明にかかる印刷制御方法は、情報処理装置で実行される印刷制御方法であって、識別手段が、文書データを印刷するためのデータとして生成された印刷制御データに対して、ページの区切りを識別する識別ステップと、検出手段が、前記印刷制御データのページ毎に、当該ページの文面として表された文字列から、キーワードを検出する検出ステップと、制御手段が、前記検出された前記キーワードに基づいて、前記印刷制御データの各ページを制御する制御ステップと、出力手段が、前記制御ステップにより各ページが制御された後の前記印刷制御データを出力する出力ステップと、を含むことを特徴とする。   A print control method according to the present invention is a print control method executed by an information processing apparatus, in which an identification unit generates a page for a print control data generated as data for printing document data. An identification step for identifying a break; a detection unit for detecting a keyword from a character string represented as a text of the page for each page of the print control data; and a control unit for detecting the detected A control step for controlling each page of the print control data based on a keyword; and an output means for outputting the print control data after each page is controlled by the control step. Features.

また、本発明にかかる印刷制御プログラムは、文書データを印刷するためのデータとして生成された印刷制御データに対して、ページの区切りを識別する識別ステップと、前記印刷制御データのページ毎に、当該ページの文面として表された文字列から、キーワードを検出する検出ステップと、前記検出された前記キーワードに基づいて、前記印刷制御データの各ページを制御する制御ステップと、前記制御ステップにより各ページが制御された後の前記印刷制御データを出力する出力ステップと、をコンピュータに実行させることを特徴とする。   The print control program according to the present invention includes an identification step for identifying a page break for print control data generated as data for printing document data, and for each page of the print control data, A detection step of detecting a keyword from a character string represented as a page text, a control step of controlling each page of the print control data based on the detected keyword, and each page by the control step An output step of outputting the print control data after being controlled is executed by a computer.

また、本発明にかかる記録媒体は、上述したプログラムを記憶したコンピュータ読み取り可能な記憶媒体であることを特徴とする。   A recording medium according to the present invention is a computer-readable storage medium storing the above-described program.

本発明によれば、印刷された後の文書データを仕分けする際のユーザの負担を軽減するという効果を奏する。   According to the present invention, it is possible to reduce the burden on the user when sorting document data after printing.

図1は、第1の実施の形態にかかる印刷処理システムの構成を示すシステム構成図である。FIG. 1 is a system configuration diagram illustrating a configuration of a print processing system according to the first embodiment. 図2は、情報処理装置の構成を示したブロック図である。FIG. 2 is a block diagram illustrating a configuration of the information processing apparatus. 図3は、情報処理装置が備える、プリンタドライバと、データ処理設定部と、一括印刷処理部と、の詳細な構成を示した図である。FIG. 3 is a diagram illustrating a detailed configuration of a printer driver, a data processing setting unit, and a batch print processing unit included in the information processing apparatus. 図4は、設定画面の例を示した図である。FIG. 4 is a diagram illustrating an example of a setting screen. 図5は、印刷制御の対象となった文書データを示した図である。FIG. 5 is a diagram illustrating document data that is a target of print control. 図6は、図5の文書データをキーワードに応じて並び替えた後の文書データを示した図である。FIG. 6 is a diagram showing the document data after the document data of FIG. 5 is rearranged according to the keyword. 図7は、ページインデックス生成部が生成したページインデックスリストの一例を示した図である。FIG. 7 is a diagram illustrating an example of a page index list generated by the page index generation unit. 図8は、ページインデックス生成部が生成するページインデックスリストの変形例を示した図である。FIG. 8 is a diagram showing a modification of the page index list generated by the page index generation unit. 図9は、中間データのデータ構造を示した図である。FIG. 9 shows the data structure of the intermediate data. 図10は、中間データ分割部により分割された後の中間データのデータ構造を示した図である。FIG. 10 is a diagram illustrating a data structure of the intermediate data after being divided by the intermediate data dividing unit. 図11は、ページ制御情報生成部が生成したページ管理リストの例を示した図である。FIG. 11 is a diagram illustrating an example of a page management list generated by the page control information generation unit. 図12は、ページ制御情報生成部が生成したジョブ制御情報の例を示した図である。FIG. 12 is a diagram illustrating an example of job control information generated by the page control information generation unit. 図13は、第1の実施の形態にかかる情報処理装置における、アプリケーションから印刷要求を受け付けてから、一括印刷処理部に一括印刷処理要求を行うまでの処理の手順を示すフローチャートである。FIG. 13 is a flowchart illustrating a processing procedure from when a print request is received from an application to when a batch print processing request is made to the batch print processing unit in the information processing apparatus according to the first embodiment. 図14は、第1の実施の形態にかかる一括印刷処理部における処理の手順を示すフローチャートである。FIG. 14 is a flowchart illustrating a processing procedure in the batch print processing unit according to the first embodiment. 図15は、第1の実施の形態の情報処理装置のハードウェア構成を示す図である。FIG. 15 is a diagram illustrating a hardware configuration of the information processing apparatus according to the first embodiment.

以下に添付図面を参照して、この発明にかかる情報処理装置、印刷制御方法、印刷制御プログラム、及び記録媒体の一実施の形態を詳細に説明する。   Exemplary embodiments of an information processing apparatus, a print control method, a print control program, and a recording medium according to the present invention will be explained below in detail with reference to the accompanying drawings.

(第1の実施の形態)
図1は、本発明の第1の実施の形態にかかる印刷処理システムの構成を示すシステム構成図である。図1に示すように、第1の実施の形態にかかる印刷処理システムは、情報処理装置100と、プリンタ150と、で構成されている。そして情報処理装置100と、プリンタ150とは、ネットワーク160を介して接続されているものとする。なお、情報処理装置100と、プリンタ150とは、ケーブルで直接接続されていても良い。
(First embodiment)
FIG. 1 is a system configuration diagram showing the configuration of the print processing system according to the first embodiment of the present invention. As shown in FIG. 1, the print processing system according to the first embodiment includes an information processing apparatus 100 and a printer 150. It is assumed that the information processing apparatus 100 and the printer 150 are connected via the network 160. Note that the information processing apparatus 100 and the printer 150 may be directly connected by a cable.

プリンタ150は、情報処理装置100からの要求に応じて、記録紙に対して印刷を行う。プリンタ150は、単にプリンタ機能を有する装置に制限されるものではなく、コピー、ファクシミリ、スキャナー等を備えた複合機であっても良い。   The printer 150 performs printing on the recording paper in response to a request from the information processing apparatus 100. The printer 150 is not limited to a device having a printer function, but may be a multifunction machine including a copy, a facsimile, a scanner, and the like.

情報処理装置100は、本実施の形態ではPC(Personal Computer)を用いるが、プリンタ150に対して、文書データの印刷要求を行える情報処理装置であればよい。そして、情報処理装置100上で、任意のアプリケーションが文書データの印刷要求を行った場合、プリンタドライバは、当該印刷要求に従って、ネットワーク160を介して接続されているプリンタ150から印刷を行う。   The information processing apparatus 100 uses a PC (Personal Computer) in the present embodiment, but may be any information processing apparatus that can make a document data print request to the printer 150. When an arbitrary application makes a document data print request on the information processing apparatus 100, the printer driver prints from the printer 150 connected via the network 160 in accordance with the print request.

図2は、情報処理装置100の構成を示したブロック図である。図2に示すように、情報処理装置100は、アプリケーション201と、OS202と、を備えている。   FIG. 2 is a block diagram illustrating a configuration of the information processing apparatus 100. As illustrated in FIG. 2, the information processing apparatus 100 includes an application 201 and an OS 202.

アプリケーション201は、OS202上に搭載されている文書作成ソフトウェア、図形作成ソフトウェア、表計算ソフトウェア、データベースソフトウェア等とする。そして、アプリケーション201は、OS202に対して、文書データの印刷要求を行う。   The application 201 is assumed to be document creation software, figure creation software, spreadsheet software, database software, etc. installed on the OS 202. Then, the application 201 makes a document data print request to the OS 202.

OS202は、情報処理装置100のハードウェアとソフトウェアとを管理するプログラムである。OSのうち代表的なものとしては、Windows(登録商標)、UNIX(登録商標)等が知られている。   The OS 202 is a program that manages the hardware and software of the information processing apparatus 100. As typical OSes, Windows (registered trademark), UNIX (registered trademark), and the like are known.

OS202は、描画デバイスインターフェース(I/F)211と、プリンタドライバ212と、データ処理設定部213と、一括印刷処理部214と、スプーラ215と、を備える。   The OS 202 includes a drawing device interface (I / F) 211, a printer driver 212, a data processing setting unit 213, a batch print processing unit 214, and a spooler 215.

描画デバイスインターフェース(I/F)211は、プリンタやディスプレイをコントロールするためのインターフェースであり、Windows(登録商標)のGDI(Graphic Device Interface)に相当する。また、描画デバイスインターフェース(I/F)211は、アプリケーション201か印刷要求を行った場合に、アプリケーション201から受け取った印刷設定情報と、文書データと、をプリンタドライバ212に受け渡す。印刷設定情報とは、印刷データを印刷する際の設定が示された情報とし、例えば、ステープルするか否かが示してある。   A drawing device interface (I / F) 211 is an interface for controlling a printer and a display, and corresponds to a GDI (Graphic Device Interface) of Windows (registered trademark). The drawing device interface (I / F) 211 passes print setting information and document data received from the application 201 to the printer driver 212 when the application 201 makes a print request. The print setting information is information indicating settings for printing the print data, and indicates, for example, whether or not to staple.

プリンタドライバ212は、印刷要求がなされた文書データを、印刷するプリンタ150が処理可能なデータ、いわゆるプリンタ言語(Page Description Language、PDLとも称す)データ、換言すれば印刷データに変換するドライバとする。本実施の形態では、文書データを、中間データに変換し、当該中間データについて処理を行った後、当該中間データを印刷データに変換する。   The printer driver 212 is a driver that converts document data for which a print request has been made into data that can be processed by the printer 150 to print, so-called printer language (also referred to as page description language, PDL) data, in other words, print data. In the present embodiment, document data is converted into intermediate data, the intermediate data is processed, and then the intermediate data is converted into print data.

プリンタドライバ212は、描画デバイスインターフェース(I/F)211から受け付けた文書データから、当該文書データをプリンタ150で出力するよう制御する。また、プリンタドライバ212は、中間データ生成部221と、印刷データ生成部222と、を備えている。   The printer driver 212 controls the printer 150 to output the document data from the document data received from the drawing device interface (I / F) 211. The printer driver 212 includes an intermediate data generation unit 221 and a print data generation unit 222.

中間データ生成部221は、描画デバイスインターフェース211から受け取った文書データを、中間データに変換する。中間データは、印刷レイアウトを反映した一時保管用データで、印刷データに変換する前のデータであって、任意のデータ形式に変更可能なデータ形式のデータとする。   The intermediate data generation unit 221 converts the document data received from the drawing device interface 211 into intermediate data. The intermediate data is temporary storage data that reflects the print layout, and is data that has not been converted into print data, and has a data format that can be changed to an arbitrary data format.

印刷データ生成部222は、データ処理設定部213から入力された中間データから、一括印刷処理用の中間データを生成する。そして、印刷データ生成部222は、生成した一括印刷処理用の中間データを一括印刷処理部214に出力した後、一括印刷処理部214から渡された中間データを出力先のプリンタ150に適した印刷データに変換し、対応するスプーラ215に受け渡す。   The print data generation unit 222 generates intermediate data for batch print processing from the intermediate data input from the data processing setting unit 213. Then, the print data generation unit 222 outputs the generated intermediate data for batch printing processing to the batch printing processing unit 214, and then prints the intermediate data passed from the batch printing processing unit 214 to the output destination printer 150. The data is converted into data and transferred to the corresponding spooler 215.

一括印刷処理用の中間データとは、中間データについてページごとに設定・編集することが可能なデータとする。従って、印刷データ生成部222が一括印刷処理用の中間データを生成するのではなく、前段階(例えば中間データ生成部221)で生成しても良い。   The intermediate data for batch printing processing is data that can be set and edited for each page of the intermediate data. Accordingly, the print data generation unit 222 may generate intermediate data for batch printing processing in the previous stage (for example, the intermediate data generation unit 221) instead of generating intermediate data for batch printing processing.

データ処理設定部213は、中間データから、当該中間データに含まれている各ページと、印刷する際の条件が含まれたページインデックスを生成し、中間データとページインデックスとを対応付けて、印刷データ生成部222に出力する。   The data processing setting unit 213 generates, from the intermediate data, each page included in the intermediate data and a page index including the conditions for printing, and associates the intermediate data with the page index to perform printing. The data is output to the data generation unit 222.

一括印刷処理部214は、ページインデックスに従って、入力された中間データから、印刷用の中間データを生成し、生成した中間データで、印刷データ生成部222に対して印刷処理を要求する。   The batch print processing unit 214 generates printing intermediate data from the input intermediate data according to the page index, and requests the print data generation unit 222 to perform print processing using the generated intermediate data.

スプーラ215は、プリンタドライバ212により生成された印刷データを印刷するために、プリンタ150に出力する。   The spooler 215 outputs the print data generated by the printer driver 212 to the printer 150 for printing.

本実施の形態にかかる情報処理装置100では、中間データ、及び印刷データをページ単位で印刷制御を行うものとする。次に、中間データをページ単位で印刷制御を行うための構成について説明する。   In the information processing apparatus 100 according to the present embodiment, it is assumed that intermediate data and print data are printed on a page basis. Next, a configuration for performing printing control of intermediate data in units of pages will be described.

図3は、情報処理装置100が備える、プリンタドライバ212と、データ処理設定部213と、一括印刷処理部214と、の詳細な構成を示した図である。   FIG. 3 is a diagram illustrating detailed configurations of the printer driver 212, the data processing setting unit 213, and the batch print processing unit 214 included in the information processing apparatus 100.

データ処理設定部213は、設定受付部301と、設定記憶部302と、インターフェース部303と、中間データ入力部304と、文字列抽出部305と、ページインデックス生成部306と、データ出力部307と、を備える。   The data processing setting unit 213 includes a setting reception unit 301, a setting storage unit 302, an interface unit 303, an intermediate data input unit 304, a character string extraction unit 305, a page index generation unit 306, and a data output unit 307. .

設定受付部301は、印刷する際の処理を設定するための設定画面を、(図示しない)モニタの画面上に表示する。図4は、設定画面の例を示した図である。   The setting reception unit 301 displays a setting screen for setting a process for printing on a monitor screen (not shown). FIG. 4 is a diagram illustrating an example of a setting screen.

設定受付部301は、図4に示す設定画面において、項目401及び項目402で、文書データの文面上から、キーワードとして検出する文字列の範囲の指定を受け付ける。図4で示す例では、開始キーワード「氏名」から、終了キーワード「改行」が行われるまでの文字列をキーワードとして検出することになる。   In the setting screen shown in FIG. 4, the setting reception unit 301 receives the specification of the range of character strings to be detected as keywords from the text of the document data in the items 401 and 402. In the example shown in FIG. 4, a character string from the start keyword “name” to the end keyword “line feed” is detected as a keyword.

そして、設定受付部301は、チェックボックス403では、キーワードが抽出されなかったページの印刷有無の設定を受け付ける。さらに、設定受付部301は、チェックボックス404と項目405とで、ページの印刷を行わないキーワードの設定を受け付ける。   Then, in the check box 403, the setting reception unit 301 receives a setting for whether to print a page for which no keyword has been extracted. Further, the setting reception unit 301 receives a setting of a keyword that does not print a page by using the check box 404 and the item 405.

さらに、領域406内の項目で、抽出したキーワードに基づいて、どのような処理を行うのかの設定を受け付ける。例えば、設定受付部301は、チェックボックス407で同じキーワードで印刷するか否かの設定を受け付ける。設定受付部301は、チェックボックス408では、同じキーワード順で印刷する際に、同じキーワードのページをまとめてステープルするか否かを受け付ける。   Furthermore, a setting for what kind of processing is performed based on the extracted keyword in the items in the area 406 is accepted. For example, the setting reception unit 301 receives a setting as to whether or not to print with the same keyword in the check box 407. In the check box 408, the setting accepting unit 301 accepts whether or not pages with the same keyword are stapled together when printing in the same keyword order.

また、設定受付部301が、設定画面を表示するタイミングはどのタイミングでも良い。例えば、印刷処理を行う前にデフォルト設定を行うために設定画面を表示しても良いし、印刷処理時にプリンタドライバ212から印刷要求を受け付けた際に設定画面を表示しても良い。   The timing at which the setting reception unit 301 displays the setting screen may be any timing. For example, a setting screen may be displayed to perform default settings before performing the printing process, or a setting screen may be displayed when a print request is received from the printer driver 212 during the printing process.

本実施の形態にかかる情報処理装置100が、設定受付部301で受け付けた設定を示した印刷情報に基づいて、文書データの印刷制御を行う例について説明する。図5が、印刷制御の対象となった文書データを示した図とする。図5に示すように、文書データの各ページは、1ページの帳票となっており、ページ毎に担当者の名前が記載されている。従来の手法では、文書データに関し、担当者毎に仕分けする場合、当該文書データを印刷した後、ユーザが項目「名前」を目視で確認し、手で仕分けする必要があった。これに対し、文書データについて、担当者毎に自動的に仕分けしたいという要求があった。また、帳票のみならず、文書データの各ページをキーワードに応じて、並び替えたいというユーザの要求も存在する。   An example in which the information processing apparatus 100 according to the present embodiment performs print control of document data based on print information indicating the setting received by the setting receiving unit 301 will be described. FIG. 5 is a diagram showing document data to be subjected to print control. As shown in FIG. 5, each page of the document data is a one-page form, and the name of the person in charge is described for each page. In the conventional method, when document data is sorted for each person in charge, it is necessary for the user to visually check the item “name” after sorting the document data and sort it by hand. On the other hand, there is a demand for automatically sorting document data for each person in charge. There is also a user request to rearrange not only the form but also each page of the document data according to the keyword.

そこで、本実施の形態にかかる情報処理装置100では、図2及び図3に示す特徴的構成を備えることで、キーワードを抽出する範囲の指定を受け付けた場合に、当該キーワードに応じて文書データの各ページを並び替えられることを可能とした。   Therefore, the information processing apparatus 100 according to the present embodiment has the characteristic configuration shown in FIGS. 2 and 3, so that when the specification of the range for extracting the keyword is accepted, the document data is determined according to the keyword. Each page can be rearranged.

図6は、図5の文書データをキーワードに応じて並び替えた後の文書データを示した図とする。図6に示すように、本実施の形態にかかる情報処理装置100では、設定画面による設定に基づいて、同一のキーワード(例えば、名前)毎にページを並び替えると共に、特定のキーワード(例えば、山本)が記載されている場合や、キーワードがない場合に、印刷を行わないことも可能とする。そして、情報処理装置100で当該処理を実現するための各構成について具体的に説明する。   FIG. 6 is a diagram showing the document data after the document data of FIG. 5 is rearranged according to the keyword. As illustrated in FIG. 6, the information processing apparatus 100 according to the present embodiment sorts pages for each identical keyword (for example, name) and sets a specific keyword (for example, Yamamoto) based on the setting on the setting screen. ) Is described, or when there is no keyword, it is possible not to print. And each structure for implement | achieving the said process in the information processing apparatus 100 is demonstrated concretely.

設定記憶部302は、設定受付部301が受け付けた設定が示された設定情報を記憶する。設定記憶部302は、例えば、キーワードの抽出範囲を特定する情報、同一キーワード毎にページの並び替えの有無、印刷しないページを示すキーワード、同一キーワードのページをステープルでまとめるか否かを設定情報として記憶する。   The setting storage unit 302 stores setting information indicating the settings received by the setting receiving unit 301. The setting storage unit 302 uses, for example, information specifying a keyword extraction range, whether or not pages are rearranged for each same keyword, a keyword indicating a page not to be printed, and whether or not pages with the same keyword are grouped as staple information as setting information. Remember.

インターフェース部303は、プリンタドライバ212と通信するためのインターフェースとする。   The interface unit 303 is an interface for communicating with the printer driver 212.

中間データ入力部304は、中間データ生成部221で生成された中間データを、インターフェース部303を介して入力処理する。   The intermediate data input unit 304 performs an input process on the intermediate data generated by the intermediate data generation unit 221 via the interface unit 303.

文字列抽出部305は、中間データ入力部304が入力処理した中間データから、文字列情報を抽出する。   The character string extraction unit 305 extracts character string information from the intermediate data input by the intermediate data input unit 304.

ページインデックス生成部306は、キーワード検出部311を備え、文字列抽出部305で抽出された文字列情報から、中間データに含まれている各ページを示すページインデックスリストを生成する。ページインデックスリストを生成する際に、設定記憶部302に記憶された設定情報を利用する。ページインデックスリストは、一括印刷処理部214が各ページの印刷制御を行う際に利用される各ページの情報が含まれたリストとする。   The page index generation unit 306 includes a keyword detection unit 311, and generates a page index list indicating each page included in the intermediate data from the character string information extracted by the character string extraction unit 305. When generating the page index list, the setting information stored in the setting storage unit 302 is used. The page index list is a list including information on each page used when the batch print processing unit 214 performs print control of each page.

キーワード検出部311は、設定記憶部302に記憶された設定情報を用いて、中間データの文面として抽出された文字列情報から、中間データのページ毎に、キーワードを検出する。図4に示す設定画面で設定された設定情報を用いた場合に、キーワード検出部311は、開始キーワードとして「名前」を取得し、中間データ内を検索する。そして、開始キーワードを検出した場合に、終了キーワードとして「\r\n」を取得し、開始キーワード以降の文字列を検索する。そして、終了キーワードが検出された場合に、開始キーワードから終了キーワードまでの間の文字列を、印刷制御するためのキーワードとして検出する。この処理を最終ページまで繰り返す。   The keyword detection unit 311 uses the setting information stored in the setting storage unit 302 to detect a keyword for each page of intermediate data from the character string information extracted as the text of the intermediate data. When the setting information set on the setting screen shown in FIG. 4 is used, the keyword detecting unit 311 acquires “name” as the start keyword and searches the intermediate data. When the start keyword is detected, “\ r \ n” is acquired as the end keyword, and the character string after the start keyword is searched. When an end keyword is detected, a character string from the start keyword to the end keyword is detected as a keyword for print control. This process is repeated until the last page.

そして、ページインデックス生成部306は、キーワード検出部311に検出された各ページのキーワードを含むページインデックスリストを生成する。   Then, the page index generation unit 306 generates a page index list including the keywords of each page detected by the keyword detection unit 311.

図7は、ページインデックス生成部306が生成したページインデックスリストの一例を示した図である。図7に示す例では、<PageInfo>タグで囲まれた領域701は、<Page>タグ毎に、ページ毎の情報を格納している。そして、<Page>タグのindexに何ページ目であるかを示し、ページごとの<Keyword1>タグに、"Keyword1"に該当する文字列が示されている。つまり、<Keyword1>タグ内に、キーワード検出部311が検出した各ページのキーワードが記載されている。   FIG. 7 is a diagram illustrating an example of a page index list generated by the page index generation unit 306. In the example illustrated in FIG. 7, an area 701 surrounded by <PageInfo> tags stores information for each page for each <Page> tag. The index of the <Page> tag indicates the page number, and the <Keyword1> tag for each page indicates a character string corresponding to “Keyword1”. That is, the keyword of each page detected by the keyword detection unit 311 is described in the <Keyword1> tag.

そして、<SettingInfo>タグは、印刷の際のページの順番のための設定情報である。<SettingInfo>タグで囲まれた領域702のうち、<Sort>タグ内には、上述した"Keyword1"タグに格納されたキーワード毎にページの順番付けを行うことが示されている。また、キーワードが同一のページ毎にステープルすることが示されている。さらに、設定受付部301が受け付けた設定のうち、印刷制御に用いる設定もページインデックスリストに格納される。例えば、<Except>タグ内には、"Keyword1"タグ内に"山本"が格納されている、又はキーワードが含まれていない場合に、当該ページを印刷対象から省くことが示されている。   The <SettingInfo> tag is setting information for page order during printing. Of the area 702 surrounded by the <SettingInfo> tag, the <Sort> tag indicates that the pages are ordered for each keyword stored in the “Keyword1” tag. In addition, stapling is performed for each page having the same keyword. Furthermore, among the settings received by the setting reception unit 301, settings used for print control are also stored in the page index list. For example, the <Except> tag indicates that “Yamamoto” is stored in the “Keyword1” tag or the keyword is not included, and the page is omitted from the print target.

本実施の形態は、生成するページインデックスリストを、図7で示すようにページ毎のキーワードを格納する例に制限するものではない。図8は、ページインデックス生成部306が生成するページインデックスリストの変形例を示した図である。図8に示すページインデックスリストでは、<Include>タグ内に、<PageIndex>タグで1、2ページ目が指定されている。つまり、図8に示すインデックスリストには、中間データの1ページ目と2ページ目とを印刷することが定義されている。このようにページインデックスリストは、中間データを印刷するための様々な印刷設定情報を定義することができる。   In the present embodiment, the page index list to be generated is not limited to an example in which keywords for each page are stored as shown in FIG. FIG. 8 is a diagram showing a modified example of the page index list generated by the page index generation unit 306. In the page index list shown in FIG. 8, the 1st and 2nd pages are designated by the <PageIndex> tag within the <Include> tag. That is, the index list shown in FIG. 8 defines that the first page and the second page of the intermediate data are printed. Thus, the page index list can define various print setting information for printing intermediate data.

第1の実施の形態に戻り、データ出力部307は、インターフェース部303を介し、ページインデックスリストと当該ページインデックスリストの生成元の中間データとを対応付けて、印刷データ生成部222に出力する。   Returning to the first embodiment, the data output unit 307 associates the page index list and the intermediate data that is the generation source of the page index list via the interface unit 303 and outputs them to the print data generation unit 222.

ページインデックス生成部306が生成したページインデックスは、必ずしも対応付けて送信する必要があるものではなく、pathを通して中間データと同じディレクトリなどに送信するなどの制御を行ってもよい。また、中間データとはファイル名で関連付けられるものとする。例えば、中間データのファイル名が“dataA.rpm”の場合に、ページインデックスリストのファイル名をdataA.xmlとする等が考えられる。   The page index generated by the page index generation unit 306 does not necessarily need to be transmitted in association with each other, and may be controlled to be transmitted to the same directory as the intermediate data through the path. The intermediate data is associated with the file name. For example, when the file name of the intermediate data is “dataA.rpm”, the file name of the page index list may be dataA.xml.

そして、印刷データ生成部222は、一括印刷処理用の中間データを生成し、一括印刷処理部214に対して、入力されたページインデックスリストと中間データとを出力すると共に、一括印刷処理の指示を行う。   The print data generation unit 222 generates intermediate data for batch printing processing, outputs the input page index list and intermediate data to the batch printing processing unit 214, and instructs batch printing processing. Do.

一括印刷処理部214は、インターフェース部351と、データ入力部352と、中間データ分割部353と、印刷設定制御部354と、ページ制御情報生成部355と、分割データ保持部356と、ページ制御部358と、結合部359と、印刷制御部360と、を備える。   The batch print processing unit 214 includes an interface unit 351, a data input unit 352, an intermediate data division unit 353, a print setting control unit 354, a page control information generation unit 355, a divided data holding unit 356, and a page control unit. 358, a coupling unit 359, and a print control unit 360.

インターフェース部351は、プリンタドライバ212と通信するためのインターフェースとする。   The interface unit 351 is an interface for communicating with the printer driver 212.

データ入力部352は、印刷データ生成部222から、一括印刷処理の指示と共に、入力されたページインデックスリストと中間データとを入力処理する。   The data input unit 352 performs input processing on the input page index list and intermediate data from the print data generation unit 222 together with an instruction for batch print processing.

中間データ分割部353は、ページ識別部361を備え、入力された中間データに対して、ジョブヘッダ部分と、ページ毎の中間データと、に分解する。   The intermediate data division unit 353 includes a page identification unit 361, and decomposes the input intermediate data into a job header portion and intermediate data for each page.

ページ識別部361は、入力された中間データに対して、ジョブヘッダ部分と、ページ毎の中間データと、の区切りを識別する。そして、識別された区切りに基づいて、中間データ分割部353が、中間データに対して、ジョブヘッダ部分と、ページ毎の中間データと、に分解する。   The page identification unit 361 identifies a break between the job header portion and the intermediate data for each page for the input intermediate data. Then, based on the identified break, the intermediate data dividing unit 353 decomposes the intermediate data into a job header portion and intermediate data for each page.

図9は、中間データのデータ構造を示した図である。図9に示すように、中間データ901は、中間データのジョブヘッダ部分である"Job Header"及び"JobInfo"と、ページ毎の中間データである"Page Header(n)"、"Page Info(n)"、"Page Data(n)"とで構成される。そして、ページ識別部361が識別した区切りに応じて、中間データ分割部353が、中間データを分割していく。   FIG. 9 shows the data structure of the intermediate data. As shown in FIG. 9, the intermediate data 901 includes “Job Header” and “JobInfo” that are job header portions of the intermediate data, and “Page Header (n)” and “Page Info (n” that are intermediate data for each page. ) "And" Page Data (n) ". Then, the intermediate data dividing unit 353 divides the intermediate data in accordance with the breaks identified by the page identifying unit 361.

中間データ分割部353が分割したページ毎のファイル名は、分割前の中間データのファイル名と、ページインデックスを示すサフィックスで構成する。例えば、分割前の中間データのファイル名を"data(.rpm)"とした場合、1ページ目の中間ファイル名を"data_A_001.rpm"とし、2ページ目の中間ファイル名を"data_A_002.rpm"とする。   The file name for each page divided by the intermediate data dividing unit 353 is composed of the file name of the intermediate data before division and a suffix indicating the page index. For example, if the file name of the intermediate data before division is “data (.rpm)”, the intermediate file name on the first page is “data_A_001.rpm”, and the intermediate file name on the second page is “data_A_002.rpm”. And

図10は、中間データ分割部353により分割された後の中間データのデータ構造を示した図である。図10に示す例では、分割前の中間データのファイル名を"data_A.rpm"とする。そして、中間データ分割部353は、分割された後の中間データのジョブヘッダ部分のファイル名を"data_A_Header.rpm"とし、分割された後の中間データの各ページのファイル名を"data_A_(n).rpm"とする。   FIG. 10 is a diagram illustrating a data structure of the intermediate data after being divided by the intermediate data dividing unit 353. In the example shown in FIG. 10, the file name of the intermediate data before division is “data_A.rpm”. Then, the intermediate data dividing unit 353 sets the file name of the job header part of the divided intermediate data to “data_A_Header.rpm”, and sets the file name of each page of the divided intermediate data to “data_A_ (n)” .rpm ".

図10に示すように、"data_A_001.rpm"は、1ページ目の中間データである"Page Header1"、"Page Info1"、"Page Data1"とで構成されていることを確認できる。   As shown in FIG. 10, it can be confirmed that “data_A_001.rpm” is composed of “Page Header1”, “Page Info1”, and “Page Data1” that are intermediate data of the first page.

印刷設定制御部354は、入力された中間データに関し、印刷設定情報の取得や変更処理などを行う。印刷設定制御部354が行う印刷設定としては、例えばステープルの有無等とする。   The print setting control unit 354 performs acquisition or change processing of print setting information with respect to the input intermediate data. The print setting performed by the print setting control unit 354 is, for example, the presence or absence of staples.

ページ制御情報生成部355は、中間データ分割部353により分割された中間データと、入力されたページインデックスリストと、からページ管理リストと、ジョブ制御情報とを、生成する。ページ管理リストは、ページと、当該ページの中間データを示すファイル名との対応付けを管理するリストとする。ジョブ制御情報は、中間データの各ページを印刷制御するための情報とする。   The page control information generation unit 355 generates a page management list and job control information from the intermediate data divided by the intermediate data division unit 353 and the input page index list. The page management list is a list for managing the association between a page and a file name indicating intermediate data of the page. The job control information is information for controlling printing of each page of the intermediate data.

図11は、ページ制御情報生成部355が生成したページ管理リストの例を示した図である。図11に示すように、ページ管理リストは、ページインデックスと、各ページを示す中間データのファイル名と、の対応付けを保持している。   FIG. 11 is a diagram illustrating an example of a page management list generated by the page control information generation unit 355. As shown in FIG. 11, the page management list holds a correspondence between a page index and a file name of intermediate data indicating each page.

図12は、ページ制御情報生成部355が生成したジョブ制御情報の例を示した図である。図12に示すように、ジョブ制御情報は、ジョブIDと、ページインデックスと、印刷設定と、を対応付けて保持している。ジョブIDは、印刷するページをまとめたジョブを識別するIDとする。ページインデックスは、ジョブ毎に印刷対象として並び替えられたページとする。印刷設定は、ジョブ毎の印刷に用いる設定情報とする。つまり、ジョブ制御情報は、印刷するページの順序と印刷に用いる設定とを保持している。   FIG. 12 is a diagram illustrating an example of job control information generated by the page control information generation unit 355. As shown in FIG. 12, the job control information holds a job ID, a page index, and a print setting in association with each other. The job ID is an ID for identifying a job in which pages to be printed are collected. The page index is a page rearranged as a print target for each job. The print setting is set information used for printing for each job. That is, the job control information holds the order of pages to be printed and the settings used for printing.

このジョブ制御情報は、ページ管理リスト及びページインデックスリストに基づいてページ制御情報生成部355が生成する。   The job control information is generated by the page control information generation unit 355 based on the page management list and the page index list.

例えば、図7に示すページインデックスリストから、ジョブ制御情報を生成する場合に、<SettingInfo>タグ内でキーワードが"Keyword1"と定義されていることから、ページ制御情報生成部355は、<Keyword1>タグで囲まれた文字列に基づいて、各ページをジョブ単位でまとめたジョブ制御情報を生成する。ただし、<Keyword1>タグで囲まれた文字列が、”山本”、”(なし)”の場合は印刷対象から省くように、ジョブ制御情報を生成する。   For example, when generating job control information from the page index list shown in FIG. 7, since the keyword is defined as “Keyword1” in the <SettingInfo> tag, the page control information generating unit 355 selects <Keyword1>. Based on a character string enclosed in tags, job control information in which each page is grouped by job is generated. However, if the character string enclosed in the <Keyword1> tag is “Yamamoto” or “(None)”, job control information is generated so as to be omitted from the print target.

そして、ページ制御情報生成部355は、ページインデックスリストの<SettingInfo>タグに囲まれた情報を解釈した後、<PageInfo>タグで囲まれた情報を解釈し、キーワードに従ってページをまとめた後、まとめたページ毎にジョブIDを割り当てると共に、ジョブ毎の印刷設定を対応付けて、ジョブ制御情報を生成する。図12で示すジョブ制御情報では、Keyword1=“近藤”のページをジョブID“001”で、Keyword1=“田中”のページをジョブID“002”で、Keyword1=“山本”のページをジョブID“003”でまとめている。そして、Keyword1=“山本”のページの印刷設定を“印刷なし”と設定することで、印刷対象から除外する。   Then, the page control information generation unit 355 interprets the information enclosed in the <SettingInfo> tag of the page index list, interprets the information enclosed in the <PageInfo> tag, summarizes the pages according to the keyword, A job ID is assigned to each page, and job control information is generated by associating print settings for each job. In the job control information shown in FIG. 12, the page with Keyword1 = “Kondo” is the job ID “001”, the page with Keyword1 = “Tanaka” is the job ID “002”, and the page with Keyword1 = “Yamamoto” is the job ID “ 003 ”. Then, by setting the print setting of the page with Keyword 1 = “Yamamoto” to “no printing”, it is excluded from the print target.

分割データ保持部356は、中間データ分割部353により分割された後の中間データと、ページ制御情報生成部355で生成されたページ管理リスト及びジョブ制御情報と、を保持する。   The divided data holding unit 356 holds the intermediate data after being divided by the intermediate data dividing unit 353, the page management list and the job control information generated by the page control information generating unit 355.

ページ制御部358は、ページ削除部371と、ページ並替部372と、を備え、中間データの各ページの制御を行う。本実施の形態にかかるページ制御部358は、分割データ保持部356に保持された分割後の中間データに対して、ジョブ制御情報に従って各ページを制御する。例えば、ジョブ制御情報に、各ページの出力順を変更する情報が示されていれば、ページ制御部358は、各ページの出力順を変更する制御を行う。   The page control unit 358 includes a page deletion unit 371 and a page rearrangement unit 372, and controls each page of intermediate data. The page control unit 358 according to the present embodiment controls each page according to the job control information with respect to the divided intermediate data held in the divided data holding unit 356. For example, if the job control information indicates information for changing the output order of each page, the page control unit 358 performs control to change the output order of each page.

ページ並替部372は、ジョブ制御情報に従って、ジョブ毎、つまり同じキーワードが含まれているページがまとめて出力されるよう、分割された各ページを示す中間データを並び替える。   The page rearrangement unit 372 rearranges the intermediate data indicating each divided page so that pages for each job, that is, pages containing the same keyword are output together according to the job control information.

ページ削除部371は、ジョブ制御情報に従って、印刷しない中間データを削除する。   The page deletion unit 371 deletes intermediate data that is not printed according to the job control information.

結合部359は、ページ制御部358により制御された後の中間データの各ページを結合する。例えば、ページ並替部372がジョブ毎にページ毎の中間データを並び替えた場合に、結合部359は、ジョブ単位で、ジョブヘッダデータと、並び替えられた後のページ毎の中間データとを結合し、印刷制御用の中間データを生成する。   The combining unit 359 combines the pages of the intermediate data after being controlled by the page control unit 358. For example, when the page rearrangement unit 372 rearranges the intermediate data for each page for each job, the combining unit 359 displays the job header data and the intermediate data for each page after the rearrangement for each job. Combine and generate intermediate data for print control.

印刷制御部360は、インターフェース部351を介して、結合部359で結合された後の中間データを、プリンタドライバ212に対して出力し、印刷指示を行う。   The print control unit 360 outputs the intermediate data combined by the combining unit 359 to the printer driver 212 via the interface unit 351 and issues a print instruction.

次に、以上のように構成された本実施の形態にかかる情報処理装置100におけるプリンタドライバ212が、アプリケーション201から印刷要求を受け付けてから、一括印刷処理部214に一括印刷処理要求を行うまでの処理について説明する。図13は、本実施の形態にかかる情報処理装置100における上述した処理の手順を示すフローチャートである。   Next, from when the printer driver 212 in the information processing apparatus 100 according to the present embodiment configured as described above receives a print request from the application 201 to when the batch print processing unit 214 issues a batch print processing request. Processing will be described. FIG. 13 is a flowchart showing the above-described processing procedure in the information processing apparatus 100 according to the present embodiment.

まず、プリンタドライバ212の中間データ生成部221が、アプリケーション201から文書データと共に、印刷要求を受け付ける(ステップS1301)。この印刷要求は、描画デバイスI/F211を介して行われる。   First, the intermediate data generation unit 221 of the printer driver 212 receives a print request from the application 201 together with document data (step S1301). This print request is made via the drawing device I / F 211.

次に、中間データ生成部221が、文書データからデータ解析可能な中間データを生成する(ステップS1302)。そして、中間データ生成部221は、生成した中間データを、データ処理設定部213に出力する。そして、データ処理設定部213の中間データ入力部304が中間データの入力を受け付けた場合に、文字列抽出部305が、入力された中間データから、文字列情報を抽出する(ステップS1303)。   Next, the intermediate data generation unit 221 generates intermediate data that can be analyzed from the document data (step S1302). Then, the intermediate data generation unit 221 outputs the generated intermediate data to the data processing setting unit 213. When the intermediate data input unit 304 of the data processing setting unit 213 receives input of intermediate data, the character string extraction unit 305 extracts character string information from the input intermediate data (step S1303).

そして、キーワード検出部311が、設定記憶部302に記憶された開始キーワードを読み出して、ステップS1303で抽出された文字列情報に開始キーワードが存在するか否かを検出する(ステップS1304)。存在しないと判定した場合(ステップS1304:No)、ステップS1307に進む。   Then, the keyword detection unit 311 reads the start keyword stored in the setting storage unit 302, and detects whether or not the start keyword exists in the character string information extracted in step S1303 (step S1304). If it is determined that it does not exist (step S1304: NO), the process proceeds to step S1307.

そして、キーワード検出部311が、開始キーワードを検出した場合(ステップS1304:Yes)、設定記憶部302に記憶された終了キーワードを読み出して、開始キーワード以降の文字列情報から、終了キーワードを検索する(ステップS1305)。   If the keyword detection unit 311 detects a start keyword (step S1304: Yes), the end keyword stored in the setting storage unit 302 is read, and the end keyword is searched from character string information after the start keyword ( Step S1305).

そして、終了キーワードを検出した場合に、キーワード検出部311が、開始キーワードから終了キーワードまでの文字列を、印刷制御用のキーワードとして検出する(ステップS1306)。その後、キーワード検出部311は、キーワードを検出したページが最終ページであるか否かを判定する(ステップS1307)。最終ページではないと判定した場合(ステップS1307:No)、文字列抽出部305が抽出した文字列情報において、次のページの文字列情報まで移動し(ステップS1308)、再びステップS1304から処理を開始する。   When the end keyword is detected, the keyword detection unit 311 detects a character string from the start keyword to the end keyword as a keyword for print control (step S1306). Thereafter, the keyword detection unit 311 determines whether or not the page where the keyword is detected is the last page (step S1307). If it is determined that the page is not the last page (step S1307: No), the character string information extracted by the character string extraction unit 305 moves to the character string information of the next page (step S1308), and the process starts again from step S1304. To do.

一方、キーワード検出部311が、最終ページと判定した場合(ステップS1307:Yes)、ページインデックス生成部306が設定記憶部302に記憶された設定情報と、検出された各ページのキーワードと、に基づいて、ページインデックスリストを生成する(ステップS1309)。そして、データ出力部307が、インターフェース部303を介して、生成したページインデックスリストを、生成元の中間データと対応付けてプリンタドライバ212の印刷データ生成部222に出力する。   On the other hand, when the keyword detection unit 311 determines that the page is the last page (step S1307: Yes), the page index generation unit 306 is based on the setting information stored in the setting storage unit 302 and the detected keyword of each page. Thus, a page index list is generated (step S1309). Then, the data output unit 307 outputs the generated page index list to the print data generation unit 222 of the printer driver 212 in association with the generation source intermediate data via the interface unit 303.

そして、印刷データ生成部222が一括印刷処理用の中間データを生成し(ステップS1310)、生成した中間データとページインデックスリストと共に、一括印刷処理の指示を、一括印刷処理部214に対して行う(ステップS1311)。   Then, the print data generation unit 222 generates intermediate data for batch print processing (step S1310), and instructs the batch print processing unit 214 together with the generated intermediate data and the page index list (step S1310). Step S1311).

上述した処理手順により、一括印刷処理部214による処理が開始される。次に、本実施の形態にかかる一括印刷処理部214による処理について説明する。図14は、本実施の形態にかかる一括印刷処理部214における処理の手順を示すフローチャートである。   The batch print processing unit 214 starts processing according to the processing procedure described above. Next, processing by the batch print processing unit 214 according to the present embodiment will be described. FIG. 14 is a flowchart showing a processing procedure in the batch print processing unit 214 according to the present embodiment.

まず、データ入力部352が、一括印刷処理の指示と共に、中間データとページインデックスリストとを入力処理する(ステップS1401)。次に、入力された中間データに対し、ページ識別部361がページ毎の区切りを識別した後、中間データ分割部353が、ページ毎の中間データに分割する(ステップS1402)。   First, the data input unit 352 performs input processing of intermediate data and a page index list together with an instruction for batch printing processing (step S1401). Next, after the page identifying unit 361 identifies the page break for the input intermediate data, the intermediate data dividing unit 353 divides the page into intermediate data for each page (step S1402).

そして、ページ制御情報生成部355が、分割された中間データに関するページ管理リストと、入力されたページインデックスリスト等に基づいたジョブ制御情報と、を生成する(ステップS1403)。   Then, the page control information generation unit 355 generates a page management list related to the divided intermediate data and job control information based on the input page index list or the like (step S1403).

その後、ステップS1404〜S1410までの処理を、ジョブ制御情報に含まれるジョブ数だけループさせる。   Thereafter, the processes from step S1404 to S1410 are looped by the number of jobs included in the job control information.

このループ内において、ページ制御部358が、当該ジョブの印刷設定が“印刷なし”か否かを判定する(ステップS1405)。“印刷なし”と判定された場合(ステップS1405:No)、当該ジョブに含まれる中間データは印刷しないよう制御する。具体的には、ページ削除部371が、当該ジョブに含まれているページを示す、分割された中間データを、分割データ保持部356から削除する(ステップS1406)。   In this loop, the page control unit 358 determines whether or not the print setting of the job is “no printing” (step S1405). If it is determined that “no printing” (step S1405: NO), control is performed so that intermediate data included in the job is not printed. Specifically, the page deletion unit 371 deletes the divided intermediate data indicating the page included in the job from the divided data holding unit 356 (step S1406).

一方、ページ制御部358が、印刷設定を“印刷なし”ではないと判定した場合(ステップS1405:Yes)、ページ並替部372が、当該ジョブに含まれるページを示す、分割された中間データを並び替える(ステップS1407)。そして、結合部359が、並び替えた後の中間データを結合し、印刷用の中間データを生成する(ステップS1408)。   On the other hand, when the page control unit 358 determines that the print setting is not “no printing” (step S1405: Yes), the page rearrangement unit 372 displays the divided intermediate data indicating the page included in the job. Rearrangement is performed (step S1407). Then, the combining unit 359 combines the rearranged intermediate data to generate intermediate data for printing (step S1408).

その後、印刷制御部360が、生成された印刷用の中間データによる印刷処理要求を、印刷データ生成部222に対して行う(ステップS1409)。その際、印刷制御部360は、当該中間データ毎に、印刷設定制御部354の印刷設定に基づいた印刷要求を行う。これにより、例えば、ジョブ単位でステープルの有無を制御できる。   After that, the print control unit 360 makes a print processing request with the generated intermediate data for printing to the print data generation unit 222 (step S1409). At that time, the print control unit 360 makes a print request based on the print setting of the print setting control unit 354 for each intermediate data. Thereby, for example, the presence or absence of stapling can be controlled in units of jobs.

上述した処理手順により、印刷データ生成部222が、生成された印刷用の中間データから、印刷データを生成し、プリンタ150に対して当該印刷データで印刷要求を行う。これにより、文書データについて、ジョブ毎(同一キーワード毎)にページが並び替えて印刷要求を行うことができる。   Through the processing procedure described above, the print data generation unit 222 generates print data from the generated intermediate data for printing, and issues a print request to the printer 150 with the print data. As a result, for the document data, the pages can be rearranged for each job (for each same keyword) and a print request can be made.

本実施の形態にかかる情報処理装置100では、文書データを印刷する際に、当該文書データに含まれているページの順序変更や入れ替え、削除、挿入、仕分け等の印刷制御を自動的する。これにより、作業の効率化が可能となり、ユーザの操作負担を軽減させる。   In the information processing apparatus 100 according to the present embodiment, when document data is printed, print control such as order change, replacement, deletion, insertion, and sorting of pages included in the document data is automatically performed. As a result, work efficiency can be improved, and the operation burden on the user can be reduced.

本実施の形態にかかる情報処理装置100では、ページの仕分けとして、ページのソートやステープルなどを行うこととした。これら仕分けが自動的に行うことを可能としたので、作業を効率化し、ユーザの負担を軽減させることができる。   In the information processing apparatus 100 according to the present embodiment, page sorting, stapling, and the like are performed as page sorting. Since these sorts can be performed automatically, the work efficiency can be improved and the burden on the user can be reduced.

図15は、本実施の形態の情報処理装置100のハードウェア構成を示す図である。図15に示すように、本実施の形態の情報処理装置100は、CPU1501と、ROM(Read Only Memory)1502と、RAM(Random Access Memory)1503と、ネットワーク160と接続する通信I/F1504と、HDD1505と、ディスプレイ装置などの表示部1506と、これらを接続するバス1507と、を備えており、通常のコンピュータを利用したハードウェア構成となっている。   FIG. 15 is a diagram illustrating a hardware configuration of the information processing apparatus 100 according to the present embodiment. As illustrated in FIG. 15, the information processing apparatus 100 according to the present embodiment includes a CPU 1501, a ROM (Read Only Memory) 1502, a RAM (Random Access Memory) 1503, a communication I / F 1504 connected to the network 160, An HDD 1505, a display unit 1506 such as a display device, and a bus 1507 for connecting them are provided, and a hardware configuration using a normal computer is employed.

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

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

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

本実施の形態の情報処理装置100で実行される印刷制御プログラムは、上述した各部(プリンタドライバ212、データ処理設定部213、及び一括印刷処理部214)を含むモジュール構成となっており、実際のハードウェアとしてはCPU1501が上記記憶媒体から印刷制御プログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、プリンタドライバ212、データ処理設定部213、及び一括印刷処理部214が主記憶装置上に生成されるようになっている。   The print control program executed by the information processing apparatus 100 according to the present embodiment has a module configuration including the above-described units (the printer driver 212, the data processing setting unit 213, and the batch print processing unit 214). As the hardware, the CPU 1501 reads out and executes the print control program from the storage medium, whereby the above-described units are loaded on the main storage device. It is generated on the device.

100 情報処理装置
150 プリンタ
160 ネットワーク
201 アプリケーション
211 描画デバイスインターフェース
212 プリンタドライバ
213 データ処理設定部
214 一括印刷処理部
215 スプーラ
221 中間データ生成部
222 印刷データ生成部
301 設定受付部
302 設定記憶部
303 インターフェース部
304 中間データ入力部
305 文字列抽出部
306 ページインデックス生成部
307 データ出力部
311 キーワード検出部
351 インターフェース部
352 データ入力部
353 中間データ分割部
354 印刷設定制御部
355 ページ制御情報生成部
356 分割データ保持部
358 ページ制御部
359 結合部
360 印刷制御部
361 ページ識別部
371 ページ削除部
372 ページ並替部
DESCRIPTION OF SYMBOLS 100 Information processing apparatus 150 Printer 160 Network 201 Application 211 Drawing device interface 212 Printer driver 213 Data processing setting part 214 Batch print processing part 215 Spooler 221 Intermediate data generation part 222 Print data generation part 301 Setting reception part 302 Setting storage part 303 Interface part 304 Intermediate data input unit 305 Character string extraction unit 306 Page index generation unit 307 Data output unit 311 Keyword detection unit 351 Interface unit 352 Data input unit 353 Intermediate data division unit 354 Print setting control unit 355 Page control information generation unit 356 Holding divided data Section 358 Page control section 359 Combining section 360 Print control section 361 Page identification section 371 Page deletion section 372 Page rearrangement section

特開2006−127281号公報JP 2006-127281 A 特開2009−146321号公報JP 2009-146321 A

Claims (9)

文書データを印刷するためのデータとして生成された印刷制御データに対して、ページの区切りを識別する識別手段と、
前記印刷制御データのページ毎に、当該ページの文面として表された文字列から、キーワードを検出する検出手段と、
前記検出された前記キーワードに基づいて、前記印刷制御データの各ページを制御する制御手段と、
前記制御手段により各ページが制御された後の前記印刷制御データを出力する出力手段と、
を備えたことを特徴とする情報処理装置。
Identifying means for identifying page breaks for print control data generated as data for printing document data;
Detecting means for detecting a keyword from a character string represented as a text of the page for each page of the print control data;
Control means for controlling each page of the print control data based on the detected keyword;
Output means for outputting the print control data after each page is controlled by the control means;
An information processing apparatus comprising:
前記制御手段は、前記識別手段により識別された前記印刷制御データの各ページに対して、前記検出手段により検出された前記キーワードに基づいて、ページ単位で出力順を変更すること、
を特徴とする請求項1の情報処理装置。
The control means changes the output order in units of pages based on the keywords detected by the detection means for each page of the print control data identified by the identification means.
The information processing apparatus according to claim 1.
前記制御手段は、同じキーワードが含まれているページがまとめて出力されるよう、前記識別手段により識別された前記印刷制御データの各ページの出力順を変更すること、
を特徴とする請求項2の情報処理装置。
The control means changes the output order of each page of the print control data identified by the identification means so that pages containing the same keyword are collectively output;
The information processing apparatus according to claim 2.
前記制御手段は、前記識別手段により識別された前記印刷制御データの各ページに対して、前記検出手段により所定のキーワードが検出されたか否かに基づいて、印刷するか否かを制御すること、
を特徴とする請求項1の情報処理装置。
The control means controls whether or not to print based on whether or not a predetermined keyword is detected by the detection means for each page of the print control data identified by the identification means;
The information processing apparatus according to claim 1.
前記識別手段により識別されたページの区切り毎に、前記印刷制御データを分割する分割手段と、
前記制御手段により制御された後の前記印刷制御データの各ページを結合する結合手段と、をさらに備え、
前記制御手段は、前記分割手段によりページ毎に分割された前記印刷制御データに対して制御すること、
を特徴とする請求項1乃至4のいずれか一つに記載の情報処理装置。
A dividing unit for dividing the print control data for each page break identified by the identifying unit;
Combining means for combining the pages of the print control data after being controlled by the control means;
The control means controls the print control data divided for each page by the dividing means;
The information processing apparatus according to any one of claims 1 to 4.
前記検出手段は、当該ページ内の所定の項目に記載された文字列を、キーワードとして検出すること、
を特徴とする請求項1乃至5のいずれか一つに記載の情報処理装置。
The detecting means detects a character string described in a predetermined item in the page as a keyword;
The information processing apparatus according to any one of claims 1 to 5.
情報処理装置で実行される印刷制御方法であって、
識別手段が、文書データを印刷するためのデータとして生成された印刷制御データに対して、ページの区切りを識別する識別ステップと、
検出手段が、前記印刷制御データのページ毎に、当該ページの文面として表された文字列から、キーワードを検出する検出ステップと、
制御手段が、前記検出された前記キーワードに基づいて、前記印刷制御データの各ページを制御する制御ステップと、
出力手段が、前記制御ステップにより各ページが制御された後の前記印刷制御データを出力する出力ステップと、
を含むことを特徴とする印刷制御方法。
A printing control method executed by an information processing apparatus,
An identification step for identifying a page break with respect to print control data generated as data for printing document data by an identification unit;
A detecting step for detecting, for each page of the print control data, a keyword from a character string represented as a text of the page;
A control step for controlling each page of the print control data based on the detected keyword;
An output step for outputting the print control data after each page is controlled by the control step;
A printing control method comprising:
文書データを印刷するためのデータとして生成された印刷制御データに対して、ページの区切りを識別する識別ステップと、
前記印刷制御データのページ毎に、当該ページの文面として表された文字列から、キーワードを検出する検出ステップと、
前記検出された前記キーワードに基づいて、前記印刷制御データの各ページを制御する制御ステップと、
前記制御ステップにより各ページが制御された後の前記印刷制御データを出力する出力ステップと、
をコンピュータに実行させるための印刷制御プログラム。
An identification step for identifying a page break for print control data generated as data for printing document data;
A detection step of detecting a keyword from a character string represented as a text of the page for each page of the print control data;
A control step of controlling each page of the print control data based on the detected keyword;
An output step of outputting the print control data after each page is controlled by the control step;
Print control program for causing a computer to execute.
請求項8に記載のプログラムを記憶したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium storing the program according to claim 8.
JP2010049660A 2010-03-05 2010-03-05 Information processing apparatus, print control method, print control program, and recording medium Active JP5577759B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010049660A JP5577759B2 (en) 2010-03-05 2010-03-05 Information processing apparatus, print control method, print control program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010049660A JP5577759B2 (en) 2010-03-05 2010-03-05 Information processing apparatus, print control method, print control program, and recording medium

Publications (2)

Publication Number Publication Date
JP2011186654A true JP2011186654A (en) 2011-09-22
JP5577759B2 JP5577759B2 (en) 2014-08-27

Family

ID=44792859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010049660A Active JP5577759B2 (en) 2010-03-05 2010-03-05 Information processing apparatus, print control method, print control program, and recording medium

Country Status (1)

Country Link
JP (1) JP5577759B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015028740A (en) * 2013-07-31 2015-02-12 株式会社リコー Service provision system, service provision method, and program
US9189187B2 (en) 2013-07-30 2015-11-17 Ricoh Company, Ltd. Service providing system and service providing method for providing a service to a service usage device connected via a network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003280843A (en) * 2002-03-22 2003-10-02 Casio Comput Co Ltd Print controller and program
JP2005049995A (en) * 2003-07-30 2005-02-24 Canon Inc Printing system, printing control method, form output server, server control method, program, and recording medium
JP2006127281A (en) * 2004-10-29 2006-05-18 Ricoh Co Ltd Print controller, program and recording medium
JP2008179116A (en) * 2007-01-26 2008-08-07 Fuji Xerox Co Ltd Printing data converting apparatus and program
JP2009146321A (en) * 2007-12-18 2009-07-02 Ricoh Co Ltd Information processor, information processing system, information processing method, information processing program, and recording medium
JP2010033327A (en) * 2008-07-29 2010-02-12 Riso Kagaku Corp Printer controller, printer driver program, and computer readable recording medium with printer driver program recorded

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003280843A (en) * 2002-03-22 2003-10-02 Casio Comput Co Ltd Print controller and program
JP2005049995A (en) * 2003-07-30 2005-02-24 Canon Inc Printing system, printing control method, form output server, server control method, program, and recording medium
JP2006127281A (en) * 2004-10-29 2006-05-18 Ricoh Co Ltd Print controller, program and recording medium
JP2008179116A (en) * 2007-01-26 2008-08-07 Fuji Xerox Co Ltd Printing data converting apparatus and program
JP2009146321A (en) * 2007-12-18 2009-07-02 Ricoh Co Ltd Information processor, information processing system, information processing method, information processing program, and recording medium
JP2010033327A (en) * 2008-07-29 2010-02-12 Riso Kagaku Corp Printer controller, printer driver program, and computer readable recording medium with printer driver program recorded

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9189187B2 (en) 2013-07-30 2015-11-17 Ricoh Company, Ltd. Service providing system and service providing method for providing a service to a service usage device connected via a network
JP2015028740A (en) * 2013-07-31 2015-02-12 株式会社リコー Service provision system, service provision method, and program

Also Published As

Publication number Publication date
JP5577759B2 (en) 2014-08-27

Similar Documents

Publication Publication Date Title
JP4623469B2 (en) Print server, print system, print method, program, and recording medium
KR101612757B1 (en) Print contrloing terminal unit, and method for printing for xps file
US8305615B2 (en) Job processing method for restarting jobs after an interrupt
US8823964B2 (en) Control device for causing a print execution unit to execute printing
US8736873B2 (en) Information processing apparatus, information processing apparatus control method, and storage medium
JP2008269261A (en) Information processor, information processing method and program
JP6575074B2 (en) Information processing apparatus, information processing method, and program
JP2007257528A (en) Document retrieval device, document management system, document retrieval system and document retrieval method
US9645770B2 (en) Information processing system, information processing apparatus, information processing method, and storage medium storing program
JP2005332403A (en) System and method for combining at single location selection of image finishing operations of multiple devices
US9830541B2 (en) Image output system, image output method, document server, and non-transitory computer readable recording medium
US9052858B2 (en) Printing system, printing server and information processing device
JP5577759B2 (en) Information processing apparatus, print control method, print control program, and recording medium
US10002314B2 (en) Information processing apparatus for efficiently issuing a print instruction to image forming apparatus and method for controlling the same
US9300837B2 (en) Information processing apparatus, information processing method, and storage medium for identifiable information about print jobs
US10310788B2 (en) Control method for generating data used for printing and information processing apparatus
JP6045387B2 (en) Image forming apparatus, control method therefor, and program
JP2019160213A (en) Information processing system, information processing method, and program
JP6230281B2 (en) Image processing apparatus, control method, and program
JP7143695B2 (en) Information processing device, image forming device, printing system, program
US8836984B2 (en) Image processing apparatus, method and storage medium for increasing the speed of printing data stored in an external storage medium by reducing the number of accesses to the medium
JP2013089049A (en) Data processing device, information processing system and control method thereof, and program
JP2001216109A (en) Printing system
US8495052B2 (en) Data processing apparatus, data processing method, and computer-readable storage medium storing a program
JP2015011488A (en) Print data management system, information processing device, print data acquisition program, and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140114

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140610

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140623

R151 Written notification of patent or utility model registration

Ref document number: 5577759

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151