JP6686732B2 - Information processing apparatus, information processing system, program, and control method - Google Patents

Information processing apparatus, information processing system, program, and control method Download PDF

Info

Publication number
JP6686732B2
JP6686732B2 JP2016124805A JP2016124805A JP6686732B2 JP 6686732 B2 JP6686732 B2 JP 6686732B2 JP 2016124805 A JP2016124805 A JP 2016124805A JP 2016124805 A JP2016124805 A JP 2016124805A JP 6686732 B2 JP6686732 B2 JP 6686732B2
Authority
JP
Japan
Prior art keywords
preview image
unit
job
print
generating
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.)
Active
Application number
JP2016124805A
Other languages
Japanese (ja)
Other versions
JP2017016653A (en
Inventor
章太 鈴木
章太 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 US15/201,711 priority Critical patent/US10033885B2/en
Publication of JP2017016653A publication Critical patent/JP2017016653A/en
Application granted granted Critical
Publication of JP6686732B2 publication Critical patent/JP6686732B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理装置、情報処理システム、プログラム、及び制御方法に関する。   The present invention relates to an information processing device, an information processing system, a program, and a control method.

サーバ装置に利用者の印刷データを蓄積し、利用者の要求に応じて印刷する「プルプリント印刷方式」が知られている。   A "pull print printing method" is known in which print data of a user is stored in a server device and printing is performed in response to a user's request.

プルプリント方式では、クライアント装置から印刷データを含む印刷ジョブをサーバ装置に投入した後に、クライアント装置の利用者が、画像形成装置に表示される印刷ジョブ一覧から印刷を実行する印刷ジョブを指定する。画像形成装置は、指定された印刷ジョブをサーバ装置から取得して、印刷を実行する。   In the pull print method, after a print job including print data is input from the client apparatus to the server apparatus, the user of the client apparatus specifies a print job to be printed from a print job list displayed on the image forming apparatus. The image forming apparatus acquires the designated print job from the server apparatus and executes printing.

また、プルプリント方式において、無駄な印刷を回避して、TCO(Total Cost of Ownership)削減に貢献するために、実際に印刷する前に、画像形成装置の操作パネルにプレビュー画像を表示させる機能が知られている(例えば、特許文献1参照)。   Further, in the pull printing method, in order to avoid unnecessary printing and contribute to the reduction of TCO (Total Cost of Ownership), a function of displaying a preview image on the operation panel of the image forming apparatus before actual printing is provided. It is known (for example, refer to Patent Document 1).

この場合、サーバ装置は、印刷ジョブの投入時、又は画像形成装置から要求受信時において、プレビュー画像を生成する。   In this case, the server device generates a preview image when a print job is input or when a request is received from the image forming device.

印刷ジョブが投入されたときにプレビュー画像が生成される場合、利用者が閲覧しない可能性のあるプレビュー画像の生成により、サーバ装置の負荷が大きくなるおそれがあるが、画像形成装置からのプレビュー画像の要求に応じて、サーバ装置が、迅速にプレビュー画像を応答することが可能である。一方、画像形成装置からプレビュー画像の要求を受信したときにプレビュー画像が生成される場合、プレビュー画像を画像形成装置に応答するのに時間がかかるが、サーバ装置の負荷を抑えることが可能である。   If a preview image is generated when a print job is submitted, the load on the server device may increase due to the generation of the preview image that may not be viewed by the user. In response to the request, the server device can promptly respond with the preview image. On the other hand, when the preview image is generated when the request for the preview image is received from the image forming apparatus, it takes time to respond the preview image to the image forming apparatus, but the load on the server apparatus can be suppressed. .

また、印刷ジョブに用いられている印刷言語により、サーバ装置は、異なるプレビュー画像の生成方法を適用して、プレビュー画像を生成する。   Further, the server device applies a different preview image generation method depending on the print language used for the print job to generate the preview image.

上述したように、プレビュー画像の生成処理には、其々メリットとデメリットとがあるが、従来実施されているプレビュー画像の生成方法では、例えば、利用者の利便性、サーバ装置の負荷、及び印刷ジョブに用いられている印刷言語等を考慮して、柔軟にプレビュー画像の生成処理を制御することができなかった。   As described above, each preview image generation process has its advantages and disadvantages. However, the conventional preview image generation methods include, for example, user convenience, server device load, and printing. It was not possible to flexibly control the preview image generation process in consideration of the print language used in the job.

本発明は、上記の課題に鑑みてされたものであって、状況に応じて柔軟にプレビュー画像の生成を行うことを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to flexibly generate a preview image according to the situation.

開示の実施形態に係る情報処理装置は、クライアント装置から印刷ジョブを受信する受信部と、前記印刷ジョブに含まれる印刷データのプレビュー画像を生成するプレビュー画像生成部と、生成された前記プレビュー画像を画像形成装置に送信する送信部と、を有し、前記プレビュー画像生成部は、前記印刷データに第1の印刷言語が用いられている場合は、ページを条件として、前記印刷データのプレビュー画像の生成を制限し、前記印刷データに第2の印刷言語が用いられている場合は、時間を条件として、前記印刷データのプレビュー画像の生成を制限する。   An information processing apparatus according to an embodiment of the disclosure discloses a receiving unit that receives a print job from a client device, a preview image generating unit that generates a preview image of print data included in the print job, and the generated preview image. And a transmission unit that transmits the image data to the image forming apparatus. The preview image generation unit, when the print data uses the first print language, displays the preview image of the print data under the condition of page. When the generation of the print data is limited to the second print language, the generation of the preview image of the print data is limited under the condition of time.

開示の実施形態によれば、状況に応じて柔軟にプレビュー画像の生成を行うことが可能となる。   According to the disclosed embodiment, it is possible to flexibly generate a preview image according to a situation.

第1の実施形態に係るプリントシステムのシステム全体構成の一例を示す図である。FIG. 1 is a diagram showing an example of an overall system configuration of a print system according to a first embodiment. 第1の実施形態に係る機能構成の一例を示す図である。It is a figure showing an example of functional composition concerning a 1st embodiment. 第1の実施形態に係るジョブテーブルの一例を示す図である。It is a figure which shows an example of the job table which concerns on 1st Embodiment. 第1の実施形態に係るサーバの設定項目の一例を示す図である。It is a figure which shows an example of the setting item of the server which concerns on 1st Embodiment. 第1の実施形態に係る画像形成装置の操作パネルの表示の一例を示す図である。FIG. 6 is a diagram showing an example of a display on an operation panel of the image forming apparatus according to the first embodiment. 第1の実施形態に係る画像形成装置の操作パネルの表示の一例を示す図である。FIG. 6 is a diagram showing an example of a display on an operation panel of the image forming apparatus according to the first embodiment. 第1の実施形態に係るクライアント装置、サーバ装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the client apparatus and server apparatus which concern on 1st Embodiment. 第1の実施形態に係る画像形成装置のハードウェア構成の一例を示す図である。FIG. 1 is a diagram showing an example of a hardware configuration of an image forming apparatus according to a first embodiment. 第1の実施形態に係るプレビュー画像の生成の動作シーケンスの一例を示す図である。FIG. 6 is a diagram showing an example of an operation sequence of generating a preview image according to the first embodiment. 第1の実施形態に係るプレビュー画像の生成の動作シーケンスの一例を示す図である。FIG. 6 is a diagram showing an example of an operation sequence of generating a preview image according to the first embodiment. 第1の実施形態に係るプレビュー画像の生成の動作シーケンスの一例を示す図である。FIG. 6 is a diagram showing an example of an operation sequence of generating a preview image according to the first embodiment. 第1の実施形態に係るキューテーブルの一例を示す図である。It is a figure which shows an example of the queue table which concerns on 1st Embodiment. 第1の実施形態に係るプレビュー画像の生成の動作シーケンスの一例を示す図である。FIG. 6 is a diagram showing an example of an operation sequence of generating a preview image according to the first embodiment. 第2の実施形態に係るプレビュー画像の生成の動作シーケンスの一例を示す図である。It is a figure which shows an example of the operation sequence of the generation of the preview image which concerns on 2nd Embodiment. 変形例に係るプレビュー画像の生成処理の一例を示す図である。It is a figure which shows an example of the generation process of the preview image which concerns on a modification.

[第1の実施形態]
<システム全体構成及び、各装置の機能構成>
(1)システム全体構成
図1はプリントシステム1のシステム全体構成の一例を示す図である。プリントシステム1は、クライアント装置100と、サーバ装置200と、画像形成装置300と、認証サーバ400とを有する。各装置は通信ネットワーク50を介して相互に接続される。通信ネットワーク50は、特定の通信方式に限定されるものではなく、イーサネット(登録商標)、TCP/IP(Transmission Control Protocol / Internet Protocol)などを用いて相互に接続される。また、相互接続をする時に、LAN(Local Area Network)、VPN(Virtual Private Network)及び専用線を介して接続されてもよい。
[First Embodiment]
<Overall system configuration and functional configuration of each device>
(1) Overall System Configuration FIG. 1 is a diagram showing an example of the overall system configuration of the print system 1. The print system 1 includes a client device 100, a server device 200, an image forming device 300, and an authentication server 400. The respective devices are connected to each other via a communication network 50. The communication network 50 is not limited to a specific communication method, and is connected to each other using Ethernet (registered trademark), TCP / IP (Transmission Control Protocol / Internet Protocol), or the like. Further, at the time of mutual connection, they may be connected via a LAN (Local Area Network), a VPN (Virtual Private Network) and a dedicated line.

図1を参照して、プリントシステム1の動作手順の一例を説明する。   An example of an operation procedure of the print system 1 will be described with reference to FIG.

ステップS101で、利用者#Aがクライアント装置100を操作して、印刷ジョブ(以下、ジョブ)のサーバ装置200への投入指示を行うと、投入指示されたジョブ及び利用者#Aの識別子はサーバ装置200に送信される。サーバ装置200は、受信したジョブを、利用者の識別子と対応付けて蓄積する。この場合、利用者#Aの識別子とジョブとが対応付けて蓄積される。   In step S101, when the user #A operates the client apparatus 100 to issue a print job (hereinafter referred to as a job) input instruction to the server apparatus 200, the job input instruction and the identifier of the user #A are the server. Transmitted to the device 200. The server device 200 stores the received job in association with the user's identifier. In this case, the user #A identifier and the job are stored in association with each other.

ステップS102で、利用者#Aは、画像形成装置300にログインに必要な情報を入力する。例えば、本ステップで、利用者#Aが画像形成装置300に利用者IDとパスワードとを入力する。   In step S102, user #A inputs information necessary for logging in to image forming apparatus 300. For example, in this step, the user #A inputs the user ID and the password to the image forming apparatus 300.

ステップS103で、画像形成装置300から認証サーバ400に認証要求が送信される。かかる認証要求には利用者IDとパスワードとを含む。   In step S103, the image forming apparatus 300 transmits an authentication request to the authentication server 400. The authentication request includes the user ID and the password.

ステップS104で、画像形成装置300は、認証サーバ400から認証要求の応答を受信する。利用者IDとパスワードが正常に認証されると、利用者#Aは画像形成装置300の利用者#Aに対応付けられた各種機能(印刷、スキャン、FAX等)を使用することができるようになる。   In step S104, image forming apparatus 300 receives a response to the authentication request from authentication server 400. When the user ID and the password are properly authenticated, the user #A can use various functions (print, scan, FAX, etc.) associated with the user #A of the image forming apparatus 300. Become.

ステップS105で、画像形成装置300は、サーバ装置200に対し、利用者#Aが実行可能なジョブのリストを要求する。   In step S105, the image forming apparatus 300 requests the server apparatus 200 for a list of jobs that the user #A can execute.

ステップS106で、サーバ装置200は、利用者#Aに対応付けられているジョブのリストを生成する。ここで、利用者#Aに対応付けられているジョブとは、利用者#Aのクライアント装置100から投入されたジョブである。   In step S106, the server device 200 generates a list of jobs associated with the user #A. Here, the job associated with the user #A is a job submitted from the client device 100 of the user #A.

サーバ装置200は、リストに含まれるジョブのプレビュー画像を生成する。また、プレビュー画像をジョブが投入された時に生成してもよいし、画像形成装置300からプレビュー画像を要求された時に生成してもよい。詳細については後述する。   The server device 200 generates a preview image of the jobs included in the list. Further, the preview image may be generated when the job is submitted, or may be generated when the preview image is requested from the image forming apparatus 300. Details will be described later.

なお、プレビュー画像の生成とは、JPEG等の画像に変換された表示用のデータを生成することである。プレビュー画像は、ジョブに含まれる印刷データ1ページ分毎に生成される。   The generation of a preview image is generation of display data converted into an image such as JPEG. The preview image is generated for each page of print data included in the job.

ステップS107で、サーバ装置200は、画像形成装置300にジョブのリストを送信する。   In step S107, server apparatus 200 transmits the list of jobs to image forming apparatus 300.

ステップS108で、利用者#Aの要求を受けて、画像形成装置300は、プレビュー画像の要求を送信する。かかる要求には、利用者#Aが指定したジョブを特定する識別子(ジョブID)と要求するプレビュー画像のページ番号とを含む。   In step S108, in response to the request from user #A, image forming apparatus 300 transmits a preview image request. The request includes an identifier (job ID) that identifies the job specified by user #A and the page number of the preview image requested.

ステップS109で、サーバ装置200は、画像形成装置300にプレビュー画像を送信する。送信されたプレビュー画像は、画像形成装置300の操作受付部356に表示される。利用者#Aは操作受付部356に表示されるプレビュー画像を確認して、印刷を実行するか否かを判断することができる。   In step S109, server device 200 transmits the preview image to image forming device 300. The transmitted preview image is displayed on the operation reception unit 356 of the image forming apparatus 300. The user #A can check the preview image displayed on the operation reception unit 356 to determine whether to execute printing.

利用者#Aからジョブの指定と、指定されたジョブの印刷の実行の指示を受け付けると、画像形成装置300は、指定されたジョブの印刷データの要求を、サーバ装置200に送信する。印刷データの要求には、利用者#Aが指定したジョブのジョブIDが含まれる。印刷データの要求を受信すると、サーバ装置200はこのジョブIDに基づいてジョブを特定し、ジョブの印刷データを画像形成装置300に応答する。画像形成装置300は、受信した印刷データの印刷を実行する。   Upon receiving the job designation and the print execution instruction of the designated job from the user #A, the image forming apparatus 300 transmits a request for print data of the designated job to the server apparatus 200. The print data request includes the job ID of the job specified by user #A. Upon receiving the request for the print data, the server device 200 identifies the job based on the job ID, and responds with the print data of the job to the image forming apparatus 300. The image forming apparatus 300 prints the received print data.

ここで、クライアント装置100はクライアントの一例であり、サーバ装置200は情報処理装置の一例である。また、サーバ装置200と画像形成装置300との組み合わせは、情報処理システムの一例である。   Here, the client device 100 is an example of a client, and the server device 200 is an example of an information processing device. The combination of the server device 200 and the image forming device 300 is an example of an information processing system.

(2)サーバ装置の機能構成
図2を用いて、第1の実施形態に係るサーバ装置200の機能構成を説明する。
(2) Functional Configuration of Server Device The functional configuration of the server device 200 according to the first embodiment will be described with reference to FIG.

サーバ装置200は、送受信部252と、入出力部264と、制御部256と、プレビュー画像生成部262と、記憶部258とを有する。   The server device 200 includes a transmission / reception unit 252, an input / output unit 264, a control unit 256, a preview image generation unit 262, and a storage unit 258.

送受信部252は、クライアント装置100からジョブを受信する。プレビュー画像生成部262は、かかるジョブに含まれる印刷データのプレビュー画像を生成する。送受信部252は、生成されたプレビュー画像を画像形成装置300に送信する。   The transmission / reception unit 252 receives a job from the client device 100. The preview image generation unit 262 generates a preview image of print data included in the job. The transmission / reception unit 252 transmits the generated preview image to the image forming apparatus 300.

印刷データに第1の印刷言語が用いられている場合、プレビュー画像生成部262は、ページを条件として、印刷データのプレビュー画像の生成の制限等の制御を行う。   When the first print language is used for the print data, the preview image generation unit 262 controls the generation of the preview image of the print data by controlling the page as a condition.

印刷データに第2の印刷言語が用いられている場合、プレビュー画像生成部262は、時間を条件として、印刷データのプレビュー画像の生成の制限等の制御を行う。   When the second print language is used for the print data, the preview image generation unit 262 controls the generation of the preview image of the print data under the condition of time.

具体的には、プレビュー画像生成部262は、ページを条件として、プレビュー画像の生成を制御する場合、印刷データの条件によって特定されるページに対応するプレビュー画像の生成処理を実行する。また、プレビュー画像生成部262は、時間を条件として、プレビュー画像の生成を制御する場合、所定の時間内で、印刷データの1ページ目から印刷データに対応するプレビュー画像の生成処理を実行する。   Specifically, when the preview image generation unit 262 controls the generation of the preview image on the condition of the page, the preview image generation unit 262 executes the process of generating the preview image corresponding to the page specified by the condition of the print data. Further, when controlling the generation of the preview image under the condition of time, the preview image generation unit 262 executes the generation process of the preview image corresponding to the print data from the first page of the print data within the predetermined time.

ここで、印刷データに第1又は第2の印刷言語が用いられることは、ジョブに第1又は第2の印刷言語が用いられると表現されてもよい。   Here, the use of the first or second print language for the print data may be expressed as the use of the first or second print language for the job.

プレビュー画像生成部262は、例えば、プレビュー画像の生成用のタイマに所定の期間を設定し、タイマが起動されている期間、プレビュー画像を生成する。また、タイマは、プレビュー画像生成部262が、プレビュー画像の生成を開始したタイミングで起動されてもよい。なお、所定の期間には、可変の期間が設定される。   The preview image generation unit 262 sets, for example, a timer for generating a preview image to a predetermined period, and generates a preview image during the period when the timer is activated. The timer may be activated at the timing when the preview image generation unit 262 starts generating the preview image. A variable period is set as the predetermined period.

ここで、所定の時間は、時間に係る条件により設定される期間の一例である。   Here, the predetermined time is an example of a period set by a time-related condition.

第1の印刷言語は、例えば、RPCS(Refined Print Command Stream)、又はPCL(Printer Control Language)等である。これらの印刷言語を用いる場合、プレビュー画像を生成する印刷データのページ範囲(最初のページと最後のページ)を指定してプレビュー画像を生成することができる。第1の印刷言語が用いられる場合、例えば、サーバ装置200には、印刷データの「5ページ目から10ページ目」、又は「5ページ目」のプレビュー画像を生成する旨等の設定がされる。   The first print language is, for example, RPCS (Refined Print Command Stream) or PCL (Printer Control Language). When using these print languages, the preview image can be generated by designating the page range (first page and last page) of the print data for generating the preview image. When the first print language is used, for example, the server device 200 is set to generate a preview image of “fifth to tenth page” or “fifth page” of print data. .

第2の印刷言語は、例えば、PS(Post Script)、又はPDF(Portable Document Format)等である。第2の印刷言語を用いる場合には、サーバ装置200に、第1の印刷言語のように、プレビュー画像の生成が必要な範囲を適宜指定して、プレビュー画像を生成させることができない。このため、第2の印刷言語を用いる場合には、プレビュー画像の生成の設定に応じたタイマを用いて、プレビュー画像の生成を行う。   The second print language is, for example, PS (Post Script), PDF (Portable Document Format), or the like. When the second print language is used, it is impossible to cause the server device 200 to generate a preview image by appropriately designating the range in which the preview image needs to be generated, unlike the first print language. Therefore, when the second print language is used, the preview image is generated by using the timer according to the setting for generating the preview image.

サーバ装置200の管理者は、サーバ装置200の負荷を考慮して、プレビュー画像の生成用のタイマの長さを複数段階で調節できる。例えば、管理者は、プレビュー画像の生成用のタイマに「長め」、「普通」、又は「少なめ」等の入力を行う。サーバ装置200は、かかる入力に対応した期間に、プレビュー画像の生成用のタイマを設定する。   The administrator of the server device 200 can adjust the length of the timer for generating the preview image in multiple stages in consideration of the load on the server device 200. For example, the administrator inputs "longer", "normal", or "smaller" into the timer for generating the preview image. The server device 200 sets a timer for generating a preview image in a period corresponding to such input.

第1の生成方法では、プレビュー画像生成部262は、ジョブの受信に応じて、プレビュー画像を生成する。この場合、クライアント装置100からサーバ装置200がジョブを受信したタイミングで、プレビュー画像生成部262は、プレビュー画像の生成を開始する。   In the first generation method, the preview image generation unit 262 generates a preview image in response to the reception of the job. In this case, the preview image generation unit 262 starts generation of the preview image at the timing when the server device 200 receives the job from the client device 100.

第1の生成方法では、画像形成装置300からプレビュー画像の送信を要求された時に、サーバ装置200は、プレビュー画像が既に生成されていれば、要求に応じてプレビュー画像を送信することができる。この場合、プレビュー画像が、画像形成装置300に速やかに表示されるため、利用者の利便性が高いが、利用者がプレビューを要求するかどうか分からないプレビュー画像が生成され保管されるため、サーバ装置200の負荷が高くなる。   In the first generation method, when the image forming apparatus 300 requests the transmission of the preview image, the server apparatus 200 can transmit the preview image in response to the request if the preview image has already been generated. In this case, the preview image is displayed on the image forming apparatus 300 promptly, which is convenient for the user. However, since the preview image that is not known whether the user requests the preview is generated and stored, the server is not saved. The load on the device 200 increases.

また、第2の生成方法では、プレビュー画像生成部262は、画像形成装置300からの要求に応じて、プレビュー画像を生成する。この場合、利用者から要求があったプレビュー画像が生成されるため、サーバ装置200は、プレビューが必要なプレビュー画像を効率良く生成することができるが、プレビュー画像が生成されるまで利用者を待たせることになり、利用者の利便性は低下する。   Further, in the second generation method, the preview image generation unit 262 generates a preview image in response to a request from the image forming apparatus 300. In this case, since the preview image requested by the user is generated, the server device 200 can efficiently generate the preview image requiring the preview, but the user waits until the preview image is generated. Therefore, the convenience of the user is reduced.

画像形成装置300からのプレビュー画像の送信の要求は、プレビュー画像のページを指定する情報を含む。指定されたページのプレビュー画像が生成されていない場合、プレビュー画像生成部262は、生成されていないプレビュー画像を生成する。   The request for transmitting the preview image from image forming apparatus 300 includes information designating the page of the preview image. When the preview image of the designated page has not been generated, the preview image generation unit 262 generates a preview image that has not been generated.

第1の生成方法、及び第2の生成方法の少なくとも一方が実施される。例えば、次のような方法が可能である。サーバ装置200は、ジョブを受信した時に、1ページ目から10ページ目までのプレビュー画像を生成する。画像形成装置300からプレビュー画像の送信を要求された時に、サーバ装置200は、1ページ目から10ページ目までのプレビュー画像を送信する。画像形成装置300から11ページ目以降のプレビュー画像を要求された時に、サーバ装置200は、11ページ目以降のプレビュー画像を生成し、生成されたプレビュー画像を画像形成装置300に送信する。第1の生成方法と第2の生成方法とを組み合わせることにより、柔軟なプレビュー画像の生成が可能となる。   At least one of the first generation method and the second generation method is performed. For example, the following method is possible. When the server device 200 receives the job, the server device 200 generates the preview images of the first page to the tenth page. When the image forming apparatus 300 requests the transmission of the preview image, the server apparatus 200 transmits the preview images of the first page to the tenth page. When the image forming apparatus 300 requests the preview images for the 11th and subsequent pages, the server apparatus 200 generates the preview images for the 11th and subsequent pages, and transmits the generated preview images to the image forming apparatus 300. By combining the first generation method and the second generation method, it is possible to flexibly generate the preview image.

記憶部258は、ジョブテーブルの記憶部258a、印刷データの記憶部258b、及びプレビュー画像データの記憶部258cを有する。   The storage unit 258 includes a job table storage unit 258a, a print data storage unit 258b, and a preview image data storage unit 258c.

ジョブテーブルの記憶部258aは、クライアント装置100から受信したジョブに関する属性情報を記憶する。図3に、ジョブテーブルの記憶部258aで記憶される属性情報の各項目を記したジョブテーブルの一例を示す。   The job table storage unit 258a stores the attribute information regarding the job received from the client device 100. FIG. 3 shows an example of a job table in which each item of attribute information stored in the job table storage unit 258a is described.

ジョブテーブルには、ジョブの識別子であるジョブIDがジョブの属性と共に保存される。具体的には、「ジョブの名称」、ジョブを送信した利用者を表す「利用者ID」、サーバ装置200がジョブを受信した日時である「ジョブ投入日時」、印刷に関する属性(「部数」、「ページ数」、「両面情報」、「カラー情報」)、「印刷言語」、ジョブに含まれる印刷データの保存先を表す「印刷データ保存先」、プレビュー画像の保存先を表す「プレビュー画像保存先」、プレビュー画像の生成を行うか否かを表す「プレビュー画像の有無」、及び「プレビュー画像生成状態」等がジョブIDと対応付けられて記憶される。   A job ID, which is a job identifier, is stored in the job table together with job attributes. Specifically, "job name", "user ID" indicating the user who sent the job, "job submission date" that is the date and time when the server device 200 received the job, attributes related to printing ("number of copies", "Number of pages", "Double-sided information", "Color information"), "Print language", "Print data save destination" indicating the save destination of the print data included in the job, "Preview image save" indicating the save destination of the preview image “Previous”, “presence / absence of preview image” indicating whether or not to generate a preview image, and “preview image generation state” are stored in association with the job ID.

「プレビュー画像の有無」が「OFF」になっている場合、プレビュー画像生成部262は、プレビュー画像の生成を行わない。   When “presence / absence of preview image” is “OFF”, the preview image generation unit 262 does not generate a preview image.

「プレビュー画像の生成状態」は、プレビュー画像の生成がされてないことを表す「生成前」、プレビュー画像の生成の処理を実行中であることを表す「生成中」、プレビュー画像の生成が完了していることを表す「生成完了」、及び「エラー」等が設定される。なお、ジョブテーブルの記憶部258aは、「プレビュー画像の生成状態」に加えて、生成済のプレビュー画像のページ数を記憶することができる。   The “preview image generation state” is “before generation” indicating that the preview image is not generated, “generating” indicating that the process of generating the preview image is being executed, and the generation of the preview image is completed. “Completed”, “error”, etc. indicating that the job is being performed are set. The job table storage unit 258a can store the number of pages of generated preview images in addition to the “preview image generation state”.

印刷データの記憶部258bは、ジョブに含まれる印刷データを記憶する。制御部256、及びプレビュー画像生成部262等は、ジョブテーブルの記憶部258aを参照することにより、印刷データの保存先を特定する。   The print data storage unit 258b stores print data included in the job. The control unit 256, the preview image generation unit 262, and the like identify the storage destination of the print data by referring to the storage unit 258a of the job table.

プレビュー画像データの記憶部258cは、プレビュー画像生成部262により生成されたプレビュー画像データを記憶する。制御部256、及びプレビュー画像生成部262等は、ジョブテーブルの記憶部258aを参照することにより、プレビュー画像の保存先を特定する。   The preview image data storage unit 258c stores the preview image data generated by the preview image generation unit 262. The control unit 256, the preview image generation unit 262, and the like specify the storage destination of the preview image by referring to the storage unit 258a of the job table.

なお、プレビュー画像は、「プレビュー画像の生成中」は、一時的な保存フォルダ(テンポラリフォルダ)に保存され、指定されたページ数分のプレビュー画像が生成されたタイミングで、プレビュー画像データの記憶部258cのフォルダに移動する。一時的な保存フォルダ及び記憶部258のフォルダのルートパスなどの設定情報は、記憶部258に記憶される。ルートパスの下に、プレビュー画像の生成対象のジョブのジョブIDでネーミングされたフォルダに、生成されたプレビュー画像の画像データが保存される。サーバ装置200の入出力部264は、プレビュー画像生成に係る処理の設定を管理者から受け付ける。入出力部264は、制御部256に処理内容を通知し、制御部256は設定された情報を記憶するように記憶部258に指示する。制御部256、及びプレビュー画像生成部262は、記憶部258に記憶されている設定内容を参照しつつ、プレビューの生成処理を行う。   The “preview image is being generated” is stored in the temporary storage folder (temporary folder), and the preview image data storage unit is stored at the timing when the preview images for the specified number of pages are generated. Move to the folder of 258c. Setting information such as a temporary storage folder and a root path of the folder of the storage unit 258 is stored in the storage unit 258. Under the root path, the image data of the generated preview image is stored in the folder named by the job ID of the job for which the preview image is generated. The input / output unit 264 of the server device 200 receives the setting of the process related to the preview image generation from the administrator. The input / output unit 264 notifies the control unit 256 of the processing content, and the control unit 256 instructs the storage unit 258 to store the set information. The control unit 256 and the preview image generation unit 262 perform a preview generation process while referring to the setting contents stored in the storage unit 258.

例えば、プレビュー画像生成に係る処理の設定項目に、図4に示す項目を設けることができる。   For example, the items shown in FIG. 4 can be provided as the setting items of the process related to the preview image generation.

「(1)プレビュー画像の生成」は、プレビュー画像の生成を行うか否かを設定する項目である。設定値が「行う」になっている場合、プレビュー画像生成部262はプレビュー画像の生成を行う。一方、設定値が「行わない」になっている場合、プレビュー画像生成部262はプレビュー画像の生成を行わない。   “(1) Generation of preview image” is an item for setting whether or not to generate a preview image. When the set value is “execute”, the preview image generation unit 262 generates a preview image. On the other hand, when the set value is “not performed”, the preview image generation unit 262 does not generate the preview image.

「(2)プレビュー画像の準備」は、プレビュー画像の生成を行うか否かを設定する項目である。設定値が「準備する」となっている場合、プレビュー画像生成部262は、クライアント装置100からジョブを受信したタイミングで、プレビュー画像を生成する。つまり、プレビュー画像生成部262は、第1の生成方法を実行する。設定値が「準備しない」となっている場合、プレビュー画像生成部262は、第1の生成方法を実行しない。   “(2) Preparation of preview image” is an item for setting whether or not to generate a preview image. When the setting value is “prepare”, the preview image generation unit 262 generates a preview image at the timing when the job is received from the client device 100. That is, the preview image generation unit 262 executes the first generation method. When the setting value is “do not prepare”, the preview image generation unit 262 does not execute the first generation method.

「(3)プレビュー画像生成の最大プロセス数」は、プレビュー画像生成部262が同時に起動可能なプレビュー画像生成のプロセスを実行できる数を設定する項目である。プレビュー画像の生成は、サーバ装置200にかかる負荷が大きいため、かかる項目を設けて、同時に処理を実行できる数を制限する。また、プレビュー画像生成部262が同時に実行可能なプレビュー画像を生成するスレッドやタスクの数を設定する項目を設けてもよい。   “(3) Maximum number of preview image generation processes” is an item for setting the number of preview image generation processes that can be simultaneously activated by the preview image generation unit 262. Since the load on the server device 200 is large for generating the preview image, such an item is provided to limit the number of processes that can be executed simultaneously. Further, an item for setting the number of threads or tasks for generating preview images that the preview image generating unit 262 can simultaneously execute may be provided.

このため、プレビュー画像生成部262は、「プレビュー画像生成の最大プロセス数」の上限値までの範囲内で、プレビュー画像を生成する印刷データを振り分け、プレビュー画像を生成するプロセスを実行する。   Therefore, the preview image generation unit 262 sorts the print data for generating the preview image and executes the process of generating the preview image within the range up to the upper limit of the “maximum number of processes for generating the preview image”.

「(4)第2の印刷言語のプレビュー画像」は、「全部」のプレビュー画像を生成するか、「一部」のプレビュー画像を生成するかを設定するための項目である。   “(4) Preview image in second print language” is an item for setting whether to generate “all” preview images or “partial” preview images.

「(5)第2の印刷言語のプレビュー画像を生成する量」は、「(4)第2の印刷言語のプレビュー画像」で「一部」が選択された場合において、どの程度の期間でプレビュー画像を生成するか設定するために用いる項目である。なお、期間そのものを利用者に設定させてもいいが、設定された期間でどれくらいのプレビュー画像が平均的に作成されるかを通常の利用者が把握していないことも考慮して、ここでは、「多め」、「普通」、又は「少なめ」のいずれかが設定される。そのため、予め、各項目と、プレビュー画像が生成される所定の期間(あるいは生成用のタイマの長さ)とが対応付いた情報を保持している。記憶部258で、選択された項目に対応付いた所定の期間(あるいはタイマの長さ)が設定される。プレビュー画像の生成用のタイマの長さは、「多め」が選択された場合には最も長く、「普通」が選択された場合には中程度、「少なめ」が選択された場合には最も短くなる。例えば、タイマの長さを「多め」の場合は30秒、「普通」の場合は20秒、「少なめ」の場合は10秒と設定してもよい。なお、「(5)第2の印刷言語のプレビュー画像を生成する量」の選択は、例示した3段階以外の任意の段階で設定可能なことは勿論である。なお、プレビュー画像の全部または一部を生成するかの設定、及び、プレビュー画像を生成する量については、第1の印刷言語に対しても設定可能である。但し、第1の印刷言語の場合、プレビュー画像を生成する量については、タイマの長さを設定するのではなく、プレビュー画像を生成する範囲(ページ数)を設定する。また、第1の印刷言語あるいは第2の印刷言語については、「一部」を選択したことで、予め定めてある値(ページ数あるいは所定の期間)を設定するようにしてもよい。ここでは、プレビュー画像を生成する量の設定に関し、第1の印刷言語については予め定めた値(例えば、10ページ)を、第2の印刷言語については選択された設定値を設定することとして説明を進める。なお、第1の印刷言語について予め定めた値は、記憶部258が記憶すればよい。   “(5) Amount of preview image of second print language generated” indicates how long the preview will occur when “Part” is selected in “(4) Preview image of second print language” This item is used to set or generate an image. Note that the period itself may be set by the user, but in consideration of the fact that ordinary users do not know how many preview images will be created on average in the set period, here , “Large”, “normal”, or “small” is set. Therefore, in advance, information in which each item is associated with a predetermined period in which the preview image is generated (or the length of the timer for generation) is held. In the storage unit 258, a predetermined period (or timer length) associated with the selected item is set. The length of the timer for generating the preview image is the longest when "Large" is selected, medium when "Normal" is selected, and the shortest when "Low" is selected. Become. For example, the length of the timer may be set to 30 seconds when it is "large", 20 seconds when it is "normal", and 10 seconds when it is "small". Note that it is needless to say that the selection of “(5) amount of generating preview image of second print language” can be set at any stage other than the three stages illustrated. The setting as to whether to generate all or a part of the preview image and the amount to generate the preview image can be set for the first print language. However, in the case of the first print language, the amount of preview images to be generated is not set by the length of the timer, but is set by the range (number of pages) for generating preview images. Further, for the first print language or the second print language, by selecting "partial", a predetermined value (the number of pages or a predetermined period) may be set. Here, regarding the setting of the amount of generating the preview image, it is assumed that a predetermined value (for example, 10 pages) is set for the first print language and a selected set value is set for the second print language. Proceed. The storage unit 258 may store the predetermined value for the first print language.

プレビュー画像生成部262は、キュー管理部262A、及び生成処理部262Bを有する。キュー管理部262Aは、キュー登録制御部270を有する。また、生成処理部262Bは、処理実行要求部271、及び処理実行部272を有する。   The preview image generation unit 262 has a queue management unit 262A and a generation processing unit 262B. The queue management unit 262A has a queue registration control unit 270. The generation processing unit 262B has a process execution requesting unit 271 and a process executing unit 272.

キュー管理部262Aは、ジョブの情報が登録された処理待ち列(キュー)を用いて、プレビュー画像を生成する順番の管理を行う。   The queue management unit 262A manages the order of generating preview images by using a processing queue (queue) in which job information is registered.

キュー登録制御部270は、ジョブの情報の待ち行列への登録、ジョブの情報の他の処理待ち行列への入れ替え等の処理を行う。また、キュー管理部262Aが管理する処理待ち列の数が1つの場合、キュー登録制御部270は、1つの処理待ち列の中において、ジョブの情報の順番管理及び入れ替え等を行う。   The queue registration control unit 270 performs processing such as registration of job information in a queue and replacement of job information in another processing queue. In addition, when the number of processing queues managed by the queue management unit 262A is one, the queue registration control unit 270 performs order management and replacement of job information in one processing queue.

処理実行要求部271は、処理実行部272におけるプレビュー画像を生成するプロセスを管理する。プレビュー画像の生成プロセスは、ジョブ毎に起動される。処理実行要求部271は、キュー管理部262Aにより管理されているキューの先頭から取得したジョブの情報に基づいて、処理実行部272にプレビュー画像の生成の指示を行う。また、処理実行要求部271は、各プロセスの実行時間を、タイマ等により管理し、所定の時間プレビュー画像の生成を行ったプロセスを終了するように処理実行部272に指示する。処理実行部272は、処理実行要求部271からの指示に基づいて、プレビュー画像の生成を行う。   The process execution requesting unit 271 manages the process of generating a preview image in the process executing unit 272. The preview image generation process is started for each job. The process execution requesting unit 271 instructs the process executing unit 272 to generate a preview image based on the job information acquired from the head of the queue managed by the queue managing unit 262A. The process execution requesting unit 271 manages the execution time of each process with a timer or the like, and instructs the process executing unit 272 to terminate the process that has generated the preview image for a predetermined time. The process execution unit 272 generates a preview image based on the instruction from the process execution request unit 271.

図4の各設定項目の設定に従って、プレビュー画像生成部262は、各種処理を実行する。   The preview image generation unit 262 executes various processes according to the setting of each setting item in FIG.

例えば、図4の(3)の「プレビュー画像作成の最大プロセス数」が3に設定されている場合、プレビュー画像生成部262の処理実行部272は同時に3つのプロセスを起動することができる。処理実行要求部271は、処理実行部272で起動中のプロセス数を監視し、3に達した場合、処理実行要求部271は、新たにプレビュー画像の生成指示を行わない。3より少なくなった場合、処理実行要求部271は、キュー管理部262Aが管理する待ち行列の先頭からジョブの情報を取得し、処理実行部272にプレビュー画像の生成を新たに指示する。   For example, when the “maximum number of processes for preview image creation” in (3) of FIG. 4 is set to 3, the process execution unit 272 of the preview image generation unit 262 can activate three processes at the same time. The process execution requesting unit 271 monitors the number of active processes in the process executing unit 272, and when the number of processes reaches 3, the process execution requesting unit 271 does not give a new preview image generation instruction. When the number is less than 3, the process execution requesting unit 271 acquires job information from the head of the queue managed by the queue managing unit 262A, and newly instructs the process executing unit 272 to generate a preview image.

生成処理部262Bは、印刷データが第1の印刷言語か、第2の印刷言語かを判断し、第2の印刷言語の場合、図4の(4)の「第2の印刷言語のプレビュー画像」、及び(5)の「第2の印刷言語のプレビュー画像を生成する量」の設定値を確認し、設定値に応じたタイマを設定する。なお、図4の(4)で「全部」が選択した場合は、タイマは「制限なし(無期限)」が設定されるか、想定される十分に長い期間(例えば10分間)が設定される。   The generation processing unit 262B determines whether the print data is the first print language or the second print language. If the print data is the second print language, the generation processing unit 262B displays the “preview image of the second print language” in (4) of FIG. , And (5) "amount of generating preview image in second print language" setting value is confirmed, and a timer corresponding to the setting value is set. In addition, when "all" is selected in (4) of FIG. 4, the timer is set to "no limit (indefinite)", or an assumed sufficiently long period (for example, 10 minutes) is set. .

プレビュー画像生成部262は、複数の印刷データの各々に対応するプレビュー画像の生成の処理を振り分ける順番を調整する。かかる順番は、印刷データに対応するジョブの属性に基づいて調整される。   The preview image generation unit 262 adjusts the order in which the process of generating the preview image corresponding to each of the plurality of print data is distributed. The order is adjusted based on the attributes of the job corresponding to the print data.

プレビュー画像生成部262は、記憶部258で記憶されている利用者の優先度を参照し、優先度が高い利用者のプレビュー画像を優先的に生成するように構成可能である。また、プレビュー画像生成部262は、画像形成装置300から要求されたプレビュー画像の生成を、その他の場合のプレビュー画像の生成よりも優先的に処理するように構成可能である。   The preview image generation unit 262 can be configured to preferentially generate a preview image of a user having a high priority by referring to the priority of the user stored in the storage unit 258. Also, the preview image generation unit 262 can be configured to preferentially process the generation of the preview image requested by the image forming apparatus 300 over the generation of the preview image in other cases.

なお、送受信部252は、ジョブ、プレビュー画像、及び各種データの送受信を、通信ネットワーク50を介して行う。   The transmission / reception unit 252 transmits / receives a job, a preview image, and various data via the communication network 50.

送受信部252は、送信部、又は受信部の一例である。   The transmission / reception unit 252 is an example of a transmission unit or a reception unit.

上述したように、プルプリントでは、ジョブがサーバ装置200に投入されてから、利用者が、画像形成装置300でジョブを指定して印刷を行うまでタイムラグがあり、サーバ装置200が、プレビュー画像を生成する方法には、第1の生成方法と第2の生成方法がある。   As described above, in the pull printing, there is a time lag from when the job is input to the server apparatus 200 until the user specifies the job in the image forming apparatus 300 and prints, and the server apparatus 200 displays the preview image. There are a first generation method and a second generation method as the generation method.

第1の生成方法では、かかるタイムラグの間にプレビュー画像の生成処理が要求(あるいは開始)されている。従って、第1の生成方法では、利用者が画像形成装置300においてプレビュー画像を要求するときの応答性が良いというメリットがある。   In the first generation method, the preview image generation processing is requested (or started) during the time lag. Therefore, the first generation method has an advantage that the response is good when the user requests the preview image in the image forming apparatus 300.

その一方で、一部あるいは全てのジョブのプレビュー画像が第1の生成方法により同時に生成されるため、例えば利用者がプレビューを行わずに印刷データを印刷した場合、サーバ装置200は使用しないプレビュー画像を生成したことになり、結果として無駄な処理となってしまう。その意味では、サーバ装置200の負荷が大きくなるというデメリットを生じるおそれがある。   On the other hand, since preview images of some or all jobs are simultaneously generated by the first generation method, for example, when the user prints the print data without previewing, the server device 200 does not use the preview image. Is generated, resulting in a wasteful process. In that sense, there is a risk that the load of the server device 200 will be increased.

また、例えば、ジョブのプレビュー画像を第2の生成方法により生成する場合、ジョブが投入されたときにサーバ装置200でプレビュー画像の生成が開始されないため、上述したようなサーバ装置200の負荷が抑えられるというメリットがある。その一方で、利用者が画像形成装置300において、プレビュー画像を要求してからプレビュー画像の生成が開始されるため応答性が悪くなるというデメリットを生じるおそれがある。   Further, for example, when a preview image of a job is generated by the second generation method, the generation of the preview image is not started in the server device 200 when the job is input, so that the load on the server device 200 as described above is suppressed. There is an advantage that On the other hand, the user may request the preview image in the image forming apparatus 300 and then the generation of the preview image is started, which may cause a disadvantage that the responsiveness deteriorates.

第1の実施形態によれば、第1の生成方法と第2の生成方法のいずれを用いてプレビュー画像を生成するかを利用者がサーバ装置200に設定し、さらに、プレビュー画像を生成するページの範囲、及び生成時間の制限等を利用者がサーバ装置200に設定することによって、上記のメリットとデメリットをバランスよく調整することが可能である。このため、サーバ装置200は、プレビュー画像の生成を効率的に行うことができる。これに加えて、サーバ装置200に対して利用者がプレビュー画像の生成方法と、かかる生成方法における各種パラメータを柔軟に設定できるため、利用者の利用環境に応じて適切なプレビュー画像の生成方法を提供することができる。   According to the first embodiment, the user sets in the server device 200 which of the first generation method and the second generation method is used to generate the preview image, and further, the page where the preview image is generated. It is possible to adjust the above-mentioned merits and demerits in a well-balanced manner by the user setting the range, the limitation of the generation time, etc. in the server device 200. Therefore, the server device 200 can efficiently generate the preview image. In addition to this, since the user can flexibly set the preview image generation method and various parameters in the generation method for the server device 200, an appropriate preview image generation method can be selected according to the usage environment of the user. Can be provided.

(3)クライアント装置の機能構成
図2を用いて、クライアント装置100の機能構成を説明する。クライアント装置100は、送受信部152と、操作入力受付部154と、印刷ジョブ生成部156とを有する。
(3) Functional Configuration of Client Device The functional configuration of the client device 100 will be described with reference to FIG. The client device 100 includes a transmission / reception unit 152, an operation input reception unit 154, and a print job generation unit 156.

操作入力受付部154は、クライアント装置100の利用者からの操作の入力を受け付ける。例えば、操作入力受付部154は、所定のデータに対する印刷の指示を受け付ける。   The operation input receiving unit 154 receives an operation input from the user of the client device 100. For example, the operation input receiving unit 154 receives a print instruction for predetermined data.

印刷ジョブ生成部156は、操作入力受付部154が利用者から印刷の指示を受けたデータに対応するジョブを生成する。印刷ジョブ生成部156は、送受信部152に対して、生成されたジョブのサーバ装置200への送信を依頼する。ここで、印刷ジョブ生成部156は、利用者の識別情報を含むジョブを生成して送受信部251に送信を依頼してもよいし、ジョブとは別に利用者の識別情報を送受信部251に送信を依頼してもよい。   The print job generation unit 156 generates a job corresponding to data for which the operation input reception unit 154 has received a print instruction from the user. The print job generation unit 156 requests the transmission / reception unit 152 to transmit the generated job to the server device 200. Here, the print job generation unit 156 may generate a job including user identification information and request the transmission / reception unit 251 to transmit the job, or may transmit the user identification information to the transmission / reception unit 251 separately from the job. You may ask.

送受信部152は、印刷ジョブ生成部156からの指示を受けて、ジョブをサーバ装置200に送信する。送受信部152は、通信ネットワーク50を用いてジョブの送信を行う。   The transmission / reception unit 152 receives the instruction from the print job generation unit 156 and transmits the job to the server device 200. The transmitting / receiving unit 152 transmits a job using the communication network 50.

(4)画像形成装置の機能構成
図2を用いて、画像形成装置300の機能構成を説明する。画像形成装置300は、送受信部352、認証処理部354、操作受付部356、ジョブリスト取得部358、プレビュー画像生成要求部360、プレビュー画像取得部362、印刷データ取得部364、及び印刷処理部366を有している。
(4) Functional Configuration of Image Forming Apparatus The functional configuration of the image forming apparatus 300 will be described with reference to FIG. The image forming apparatus 300 includes a transmission / reception unit 352, an authentication processing unit 354, an operation reception unit 356, a job list acquisition unit 358, a preview image generation request unit 360, a preview image acquisition unit 362, a print data acquisition unit 364, and a print processing unit 366. have.

送受信部352は、通信ネットワーク50を介して、サーバ装置200と各種データの送受信を行う。   The transmission / reception unit 352 transmits / receives various data to / from the server device 200 via the communication network 50.

認証処理部354は、認証サーバ400に、利用者の認証を要求する。例えば、認証処理部354は、利用者に対して操作パネル307に表示されるログイン画面に利用者のID、およびパスワードの入力を要求する。   The authentication processing unit 354 requests the authentication server 400 to authenticate the user. For example, the authentication processing unit 354 requests the user to input the user ID and password on the login screen displayed on the operation panel 307.

認証処理部354は、送受信部352を介して、認証サーバ400に利用者のID、及びパスワードを送信する。なお、認証サーバ400は、画像形成装置300から送信された利用者のIDとパスワードとの組み合わせが記憶されているか否かに応じて、その利用者をログインさせるか否かを判断する。   The authentication processing unit 354 transmits the user ID and password to the authentication server 400 via the transmission / reception unit 352. The authentication server 400 determines whether or not to log in the user, depending on whether or not the combination of the user ID and password transmitted from the image forming apparatus 300 is stored.

利用者のIDおよびパスワードの入力の代わりに、ICカード等のカードや携帯端末のような利用者が携帯する情報記録媒体を用いて認証処理を実行することも可能である。この場合、例えば、利用者が、画像形成装置300のカードリーダにICカードをかざすと、そのカードに記憶されているカードIDとパスワードが、認証処理部354に入力され、認証サーバ400はカードID及びパスワードの組み合わせが記録されているか否かに応じて認証成否を判断する。   Instead of inputting the user's ID and password, it is possible to execute the authentication process using a card such as an IC card or an information recording medium carried by the user such as a mobile terminal. In this case, for example, when the user holds the IC card over the card reader of the image forming apparatus 300, the card ID and password stored in the card are input to the authentication processing unit 354, and the authentication server 400 sets the card ID. Authentication success / failure is determined according to whether or not a password combination is recorded.

また、認証処理部354は、認証サーバ400を用いずに、利用者の認証を実行してもよい。この場合、画像形成装置300に使用を許可する利用者のIDとパスワードとの組み合わせ、又はカードIDとパスワードを記憶する。認証処理部354は認証サーバ400で実行するのと同様の認証の方法を実行する。   Further, the authentication processing unit 354 may execute user authentication without using the authentication server 400. In this case, the combination of the ID and password of the user who is permitted to use the image forming apparatus 300 or the card ID and password is stored. The authentication processing unit 354 executes the same authentication method as that executed by the authentication server 400.

ジョブリスト取得部358は、ログインしている利用者のジョブのリストをサーバ装置200から取得する。   The job list acquisition unit 358 acquires a list of jobs of logged-in users from the server device 200.

プレビュー画像生成要求部360は、利用者によりジョブのリストから選択されたジョブの印刷データのプレビュー画像を要求する信号をサーバ装置200に送信する。また、特定のページを指定してプレビュー画像を要求する信号をサーバ装置200に送信する。   The preview image generation requesting unit 360 transmits a signal requesting a preview image of print data of a job selected by the user from the job list to the server apparatus 200. Also, a signal requesting a preview image by designating a specific page is transmitted to the server device 200.

プレビュー画像取得部362は、利用者によりジョブのリストから選択されたジョブの印刷データ(あるいはさらに指定されたページ)のプレビュー画像をサーバ装置200から取得(受信)する。   The preview image acquisition unit 362 acquires (receives) a preview image of print data (or a further specified page) of the job selected from the job list by the user from the server device 200.

印刷処理部366は、利用者によりジョブのリストから選択されたジョブの印刷データを取得し、取得した印刷データを印刷する。   The print processing unit 366 acquires print data of the job selected from the job list by the user, and prints the acquired print data.

操作受付部356は、利用者による各種入力を受け付けると共に、各種情報を表示する。   The operation reception unit 356 receives various inputs from the user and displays various information.

図5及び図6を用いて操作受付部356に表示される画面について説明する。   The screen displayed on the operation reception unit 356 will be described with reference to FIGS. 5 and 6.

図5(A)の画面は、利用者の認証の時に、操作受付部356に表示される画面である。画像形成装置300にログインするため、利用者は、利用者のIDとパスワードを操作受付部356に表示された画面に入力し、ログインの表示を選択する。ログインの表示が選択されたことを操作受付部356が受け付けた場合、入力された情報を認証処理部354に通知する。   The screen of FIG. 5A is a screen displayed on the operation reception unit 356 at the time of user authentication. To log in to the image forming apparatus 300, the user inputs the user's ID and password on the screen displayed on the operation reception unit 356, and selects the log-in display. When the operation reception unit 356 receives the selection of the login display, the authentication processing unit 354 is notified of the input information.

図5(B)の画面は、利用者がログインに成功した場合に、使用する機能を選択する時の表示画面の一例を示す画面である。利用者にプリントが選択されたことを検知した時に、ジョブリスト取得部358が、ジョブのリストの取得の処理を開始する。また、利用者がログインに成功した時に、ジョブリスト取得部358が、ジョブのリストの取得の処理を開始するように構成することもできる。ジョブリスト取得部358は、ジョブテーブルに登録されているジョブのうち、ログイン中の利用者の利用者IDに対応するジョブの属性情報などを取得する。   The screen of FIG. 5B is a screen showing an example of a display screen when selecting a function to be used when the user has successfully logged in. When it is detected that the user selects print, the job list acquisition unit 358 starts the process of acquiring a list of jobs. The job list acquisition unit 358 may be configured to start the process of acquiring the list of jobs when the user has successfully logged in. The job list acquisition unit 358 acquires attribute information of a job corresponding to the user ID of the logged-in user among the jobs registered in the job table.

図6(A)の画面は、ジョブリスト取得部358により取得された利用者のジョブのリストを表示する画面の一例である。この例では、利用者名が「user1」の利用者のジョブのリストを表している。利用者がジョブを選択した後に、「プレビュー」を選択すると、プレビュー画像取得部362は、サーバ装置200からプレビュー画像を取得する。また、利用者が選択したジョブの「プレビュー画像の有無」項目の項目値が「OFF」の場合に、「プレビュー」を、例えば、クレーアウトして、利用者に選択させないようにしてもよい。   The screen of FIG. 6A is an example of a screen displaying a list of jobs of the user acquired by the job list acquisition unit 358. In this example, the job list of the user whose user name is "user1" is shown. When the user selects “preview” after selecting the job, the preview image acquisition unit 362 acquires the preview image from the server device 200. Further, when the item value of the “presence / absence of preview image” item of the job selected by the user is “OFF”, “preview” may be clay-out, for example, so that the user does not select it.

図6(B)の画面は、プレビュー画像取得部362により取得されたプレビュー画像の一例を示す図である。利用者がジョブ「doc002.doc」を選択した場合に表示される表示画面の一例を示している。   The screen of FIG. 6B is a diagram showing an example of the preview image acquired by the preview image acquisition unit 362. It shows an example of a display screen displayed when the user selects the job “doc002.doc”.

利用者により矢印710が選択されると、プレビュー画像は1ページ分進み、矢印720が選択されると、プレビュー画像は1ページ分戻る。サーバ装置200から取得されていないプレビュー画像が利用者により選択された場合、プレビュー画像取得部362は、かかるプレビュー画像を送信することをサーバ装置200に要求する。要求をサーバが受信した時に、サーバ装置200にプレビュー画像が生成されていない場合、プレビュー画像生成部262は、要求の受信に応じて、プレビュー画像の生成の処理を開始する。なお、要求には、少なくとも利用者が今現在、表示させたいプレビュー画像のページ番号、又はページの範囲を含む。   When the user selects the arrow 710, the preview image advances by one page, and when the arrow 720 is selected, the preview image moves back by one page. When the user selects a preview image that has not been acquired from the server device 200, the preview image acquisition unit 362 requests the server device 200 to transmit the preview image. When a preview image is not generated in the server device 200 when the server receives the request, the preview image generation unit 262 starts the process of generating the preview image in response to the reception of the request. Note that the request includes at least the page number or page range of the preview image that the user wants to display at present.

なお、サーバ装置200は、要求されたページのプレビュー画像のみを生成し、画像形成装置300に送信してもよいし、要求されたページのプレビュー画像を生成すると共に、要求されたページ以降の所定の範囲のページのプレビュー画像を生成してもよい。この際に、プレビュー画像の生成が完了する毎に、生成されたプレビュー画像を画像形成装置300に送信してもよいし、所定の範囲のページの全てのプレビュー画像の生成が完了してから、これらのプレビュー画像を画像形成装置300に送信してもよい。   Note that the server device 200 may generate only the preview image of the requested page and transmit it to the image forming apparatus 300. Alternatively, the server device 200 may generate the preview image of the requested page and a predetermined page after the requested page. You may generate the preview image of the page of the range. At this time, the generated preview image may be transmitted to the image forming apparatus 300 every time the generation of the preview image is completed, or after the generation of all the preview images of the pages in the predetermined range is completed, These preview images may be transmitted to the image forming apparatus 300.

要求されたページ以降の所定の範囲のページについてもプレビュー画像を生成し、予め画像形成装置300に送信しておく方が、利用者の利便性が高まる。利用者が、要求したプレビュー画像のさらに後方のプレビュー画像の確認を要求した時に、プレビュー画像が操作受付部356に表示される速度を速くすることが可能となる。   It is more convenient for the user to generate a preview image for a predetermined range of pages after the requested page and send it to the image forming apparatus 300 in advance. When the user requests confirmation of a preview image further behind the requested preview image, the speed at which the preview image is displayed on the operation reception unit 356 can be increased.

プレビュー画像の生成がサポートされていない場合、例えば、サーバ装置200で「(1)プレビュー画像の生成」が「行わない」と設定されている場合、画像形成装置300は、図6(A)の選択ボタン「プレビュー」を表示しない、或いは、半輝度表示として機能を使用できない旨を利用者に表示する。   When the preview image generation is not supported, for example, when “(1) Preview image generation” is set to “not performed” in the server device 200, the image forming apparatus 300 displays the image in FIG. The selection button “preview” is not displayed, or the user is informed that the function cannot be used as a half-brightness display.

操作受付部356は、表示部の一例である。また、プレビュー画像取得部362は、要求部の一例である。   The operation reception unit 356 is an example of a display unit. The preview image acquisition unit 362 is an example of a request unit.

<ハードウェア構成>
(1)クライアント装置、及びサーバ装置
図7は、第1の実施形態に係るクライアント装置100のハードウェア構成図である。クライアント装置100は、クライアント装置100全体の動作を制御するCPU101、CPU101の駆動に用いられるプログラムを記憶したROM102、CPU101のワークエリアとして使用されるRAM103を備えている。さらに、クライアント装置100は、クライアント装置用のプログラム等の各種データを記憶するHD104、CPU101の制御にしたがってHD104に対する各種データの読み出しまたは書き込みを制御するHDD(Hard Disk Drive)105を備えている。
<Hardware configuration>
(1) Client Device and Server Device FIG. 7 is a hardware configuration diagram of the client device 100 according to the first embodiment. The client device 100 includes a CPU 101 that controls the overall operation of the client device 100, a ROM 102 that stores a program used to drive the CPU 101, and a RAM 103 that is used as a work area of the CPU 101. Further, the client device 100 includes an HD 104 that stores various data such as programs for the client device, and an HDD (Hard Disk Drive) 105 that controls reading or writing of various data from the HD 104 under the control of the CPU 101.

さらに、クライアント装置100は、カーソル、メニュー、ウィンドウ、文字、または画像などの各種情報を表示するディスプレイ106、通信ネットワーク50を利用してデータ通信するためのネットワークI/F107を備えている。さらに、クライアント装置100は、文字、数値、各種指示などの入力のための複数のキーを備えたキーボード108、各種指示の選択や実行、処理対象の選択、カーソルの移動などを行うマウス109を備えている。さらに、クライアント装置100は、フラッシュメモリ等の記録メディア111に対するデータの読み出しまたは書き込み(記憶)を制御するメディアドライブ110を備えている。さらに、クライアント装置100は、着脱可能な記録媒体の一例としてのCD−ROM(Compact Disc Read Only Memory)113に対する各種データの読み出しまたは書き込みを制御するCD−ROMドライブ112、および、上記各構成要素を図2に示されているように電気的に接続するためのアドレスバスやデータバス等のバスライン114を備えている。   Further, the client device 100 includes a display 106 that displays various information such as a cursor, a menu, a window, characters, or an image, and a network I / F 107 for performing data communication using the communication network 50. Further, the client device 100 includes a keyboard 108 having a plurality of keys for inputting characters, numerical values, various instructions, and the like, and a mouse 109 for selecting and executing various instructions, selecting a processing target, moving a cursor, and the like. ing. Further, the client device 100 includes a media drive 110 that controls reading or writing (storage) of data with respect to a recording medium 111 such as a flash memory. Further, the client device 100 includes a CD-ROM drive 112 that controls reading and writing of various data from and to a CD-ROM (Compact Disc Read Only Memory) 113, which is an example of a removable recording medium, and the above-described components. As shown in FIG. 2, a bus line 114 such as an address bus or a data bus for electrically connecting is provided.

CPU101が、ROM102等に記憶されたプログラムを読み出して実行することにより、図2に示すクライアント装置100の各機能を実現する。   The CPU 101 reads out and executes a program stored in the ROM 102 or the like to realize each function of the client device 100 shown in FIG.

一方、サーバ装置200は、上記クライアント装置100と同様のハードウェア構成を有しているため、その説明を省略する。但し、HD104には、サーバ装置200を制御するためのプログラム等の各種データが記憶されている。   On the other hand, since the server device 200 has the same hardware configuration as the client device 100, its description is omitted. However, the HD 104 stores various data such as a program for controlling the server device 200.

CPU101が、ROM102等に記憶されたプログラムを読み出して実行することにより、図2に示すサーバ装置200の各機能を実現する。   The CPU 101 reads out and executes the program stored in the ROM 102 or the like to realize each function of the server device 200 shown in FIG.

(2)画像形成装置
図8は、第1の実施形態に係る画像形成装置300のハードウェア構成図である。画像形成装置300は、画像形成装置300全体の動作を制御するCPU301、CPU301の駆動に用いられるプログラムを記憶したROM302、CPU301のワークエリアとして使用されるRAM303を備えている。さらに、画像形成装置300は、画像データ、文書データ、プログラム、フォントデータやフォームデータ、画像形成装置用のプログラム等の各種データを記憶するHD304、CPU301の制御にしたがってHD304に対する各種データの読み出しまたは書き込みを制御するHDD(Hard Disk Drive)305を備えている。
(2) Image Forming Apparatus FIG. 8 is a hardware configuration diagram of the image forming apparatus 300 according to the first embodiment. The image forming apparatus 300 includes a CPU 301 that controls the overall operation of the image forming apparatus 300, a ROM 302 that stores a program used to drive the CPU 301, and a RAM 303 that is used as a work area of the CPU 301. Furthermore, the image forming apparatus 300 stores various data such as image data, document data, programs, font data and form data, programs for the image forming apparatus, and reads or writes various data to the HD 304 under the control of the CPU 301. An HDD (Hard Disk Drive) 305 for controlling the HDD is provided.

さらに、画像形成装置300は、ネットワークを利用してデータ通信するためのネットワークI/F306、メニュー、ウィンドウ、文字、または画像などの各種情報を表示するとともに、文字、数値、各種指示などの入力のための複数のキーを備えた操作パネル307、操作パネル307の操作内容にしたがって、各種印刷処理を行う印刷部308を備えている。さらに、画像形成装置300は、USBフラッシュメモリ、スマートメディア(登録商標)、コンパクトフラッシュ(登録商標)、SDメモリーカード(登録商標)、miniSD(登録商標)カード、microSD(登録商標)カード、メモリースティック(登録商標)、xDピクチャカード(登録商標)などの外部記憶メディアと接続するためインタフェース部である外部記憶装置I/F部309、および、上記の各構成要素を図3に示されているように電気的に接続するためのアドレスバスやデータバス等のバスライン350を備えている。   Further, the image forming apparatus 300 displays various information such as a network I / F 306 for data communication using a network, a menu, a window, characters, and an image, and inputs characters, numerical values, various instructions, and the like. An operation panel 307 having a plurality of keys for operating the operation panel 307, and a printing unit 308 that performs various printing processes according to the operation content of the operation panel 307 are provided. Further, the image forming apparatus 300 includes a USB flash memory, a smart media (registered trademark), a compact flash (registered trademark), an SD memory card (registered trademark), a miniSD (registered trademark) card, a microSD (registered trademark) card, and a memory stick ( (Registered trademark), xD picture card (registered trademark), and the like, an external storage device I / F unit 309 that is an interface unit for connecting to an external storage medium, and the above-described components are as shown in FIG. A bus line 350 such as an address bus or a data bus for electrically connecting is provided.

CPU301が、ROM302等に記憶されたプログラムを読み出して実行することにより、図2に示す画像形成装置300の各機能を実現する。   The CPU 301 realizes each function of the image forming apparatus 300 illustrated in FIG. 2 by reading and executing a program stored in the ROM 302 or the like.

<動作手順>
図9乃至図13を用いて、プレビュー画像の生成に係る動作手順について説明する。
<Operating procedure>
An operation procedure for generating a preview image will be described with reference to FIGS. 9 to 13.

図9乃至図11は、サーバ装置200が、クライアント装置100からジョブを受信した時にプレビュー画像を生成する動作手順の一例を示している。図9は、クライアント装置100からジョブを受信し、ジョブの情報がキューに登録されるまでの動作手順を示している。   9 to 11 show an example of an operation procedure in which the server device 200 generates a preview image when a job is received from the client device 100. FIG. 9 shows an operation procedure until a job is received from the client device 100 and job information is registered in a queue.

ステップS901で、送受信部252は、クライアント装置100から送信された印刷ジョブを受信する。   In step S901, the transmitting / receiving unit 252 receives the print job transmitted from the client device 100.

ステップS902で、送受信部252は、制御部256にジョブを受信した旨を通知する。   In step S902, the transmission / reception unit 252 notifies the control unit 256 that the job has been received.

ステップS903で、制御部256は、「(1)プレビュー画像の生成」及び「(2)プレビュー画像の準備」の項目値の取得要求を、記憶部258に送信する。   In step S903, the control unit 256 transmits a request to acquire the item values of “(1) generation of preview image” and “(2) preparation of preview image” to the storage unit 258.

ステップS904で、制御部256は、項目値の応答を、記憶部258から受信する。   In step S904, the control unit 256 receives the item value response from the storage unit 258.

ステップS905で、制御部256は、ジョブの登録要求を記憶部258に送信する。   In step S905, the control unit 256 sends a job registration request to the storage unit 258.

記憶部258は、登録要求に含まれるジョブを解析して、ジョブの名称、ジョブを投入した利用者の識別子(利用者ID)、ジョブの投入日時、ジョブの印刷言語、印刷に関する属性等の情報を取得し、ジョブに含まれる印刷データを所定の保存先に保存する。取得した印刷に関する属性等の情報及び印刷データの保存先をジョブテーブルに登録する。この際に、ジョブを一意に識別するジョブIDが割り当てられる。また、設定項目の「(1)プレビュー画像の生成」の項目値が「行わない」に設定されている場合、ジョブテーブルの「プレビュー画像の有無」の項目値に「OFF」を設定し、設定項目の「(1)プレビュー画像の生成」の項目値が「行う」に設定されている場合、ジョブテーブルの「プレビュー画像の有無」の項目値に「ON」を設定し、「プレビュー画像の生成状態」の項目値に「生成前」を設定する。   The storage unit 258 analyzes the job included in the registration request and provides information such as the name of the job, the identifier of the user who submitted the job (user ID), the date and time when the job was submitted, the print language of the job, and attributes related to printing. Is acquired and the print data included in the job is saved in a predetermined save destination. Information such as acquired attributes relating to printing and a storage destination of print data are registered in the job table. At this time, a job ID that uniquely identifies the job is assigned. Further, when the item value of “(1) Generate preview image” of the setting item is set to “Do not perform”, the item value of “Presence / absence of preview image” of the job table is set to “OFF” and set. When the item value of “(1) Generate preview image” of the item is set to “Yes”, set the item value of “Presence of preview image” of the job table to “ON” and “Generate preview image” Set "Before generation" to the item value of "Status".

ステップS906で、制御部256は、印刷ジョブのIDを含む登録結果の応答を記憶部258から受信する。   In step S906, the control unit 256 receives the response of the registration result including the print job ID from the storage unit 258.

「プレビュー画像の生成」の項目値が「行う」、かつ、「プレビュー画像の準備」の項目値が「準備する」と設定されている場合、ステップS907及びステップS908の動作手順が実行される。   When the item value of “generate preview image” is set to “execute” and the item value of “preparation of preview image” is set to “prepare”, the operation procedure of steps S907 and S908 is executed.

ステップS907で、制御部256は、キュー管理部262Aに、ジョブの情報をキューに追加することを指示する。   In step S907, the control unit 256 instructs the queue management unit 262A to add the job information to the queue.

制御部256からの指示を受けて、キュー管理部262Aは、ジョブの情報をキューの最後尾に追加する。ジョブの情報には、ジョブID、ジョブの印刷言語、印刷データの保存先、及び生成対象ページ番号を含み、これらの情報が、キューを管理するテーブルであるキューテーブルに追加される。キュー管理部262Aは、キューテーブルを用いて、プレビュー画像生成の順番を管理する。   In response to the instruction from the control unit 256, the queue management unit 262A adds the job information to the end of the queue. The job information includes a job ID, a print language of the job, a print data storage destination, and a page number to be generated. These pieces of information are added to a queue table that is a table that manages the queue. The queue management unit 262A manages the order of preview image generation using the queue table.

なお、ジョブ投入時にプレビュー画像を生成する場合、生成対象ページ番号は登録されなくてもよい(又は、「空」で登録される)。   When generating a preview image when a job is input, the page number to be generated does not have to be registered (or is registered as “empty”).

図12は、キューテーブルの一例を示す図である。キューテーブルには、ジョブID、印刷言語、印刷データの保存先、生成対象ページ番号が対応付けられて記憶される。   FIG. 12 is a diagram showing an example of the queue table. In the queue table, a job ID, a print language, a print data storage destination, and a page number to be generated are stored in association with each other.

ジョブIDには、プレビュー画像の生成対象となるジョブの識別情報が格納される。印刷言語には、ジョブの印刷言語の識別情報が格納される。これらの情報は、ジョブが解析された時に、取得された情報である。   The job ID stores the identification information of the job for which the preview image is generated. The print language stores the print language identification information of the job. These pieces of information are the information acquired when the job was analyzed.

処理実行要求部271は、キューテーブルの先頭からジョブの情報を取得し、処理実行部272にプレビュー画像の生成を指示する。   The process execution requesting unit 271 acquires job information from the head of the queue table and instructs the process executing unit 272 to generate a preview image.

キュー管理部262Aが優先度の異なる複数のキュー(「普通のキュー」、「優先のキュー」)を有している場合、制御部256は、追加するキューを指示してもよい。例えば、クライアント装置100からジョブが送信されたことに応じて、プレビュー画像が生成される場合、ジョブの情報は「普通のキュー」に追加される。指示に応じて、キュー管理部262Aは、ジョブの情報をキューに登録する処理を行う。   When the queue management unit 262A has a plurality of queues having different priorities (“normal queue”, “priority queue”), the control unit 256 may instruct a queue to be added. For example, when the preview image is generated in response to the job transmitted from the client device 100, the job information is added to the “normal queue”. In response to the instruction, the queue management unit 262A performs a process of registering job information in the queue.

ステップS908で、キュー管理部262Aは、制御部256に応答を送信する。かかる応答には印刷ジョブの情報がキューに追加された旨が含まれる。   In step S908, the queue management unit 262A sends a response to the control unit 256. The response includes that the print job information is added to the queue.

ステップS909で、制御部256は、ジョブの投入結果の応答を送受信部252に送信する。   In step S <b> 909, the control unit 256 sends a response of the job submission result to the sending / receiving unit 252.

ステップS910で、送受信部252は、ジョブの投入結果の応答をクライアント装置100に送信する。   In step S910, the transmission / reception unit 252 transmits the response of the job input result to the client device 100.

次に、図10を用いて、ジョブの情報がキューに登録されてからプレビュー画像の生成処理が開始されるまでの動作手順について説明する。   Next, the operation procedure from the registration of the job information to the queue to the start of the preview image generation processing will be described with reference to FIG.

ステップS1001で、処理実行要求部271は、プレビュー画像の生成処理中のプロセス数の取得要求を、処理実行部272に送信する。   In step S1001, the process execution requesting unit 271 sends a request for acquiring the number of processes in the process of generating the preview image to the process executing unit 272.

ステップS1002で、処理実行部272は、プロセス数を処理実行要求部271に応答する。   In step S1002, the process execution unit 272 responds with the number of processes to the process execution request unit 271.

ステップS1003で、処理実行要求部271は、「(3)最大プロセス数」の項目値の取得要求を、記憶部258に送信する。   In step S1003, the process execution requesting unit 271 sends an acquisition request for the item value “(3) maximum number of processes” to the storage unit 258.

ステップS1004で、記憶部258は、項目値を処理実行要求部271に送信する。   In step S1004, the storage unit 258 transmits the item value to the process execution requesting unit 271.

ステップS1005で、処理実行要求部271は、新たなプレビュー画像の生成プロセスを開始した場合に、最大プロセス数を超過するか否かの判定処理を行う。   In step S1005, the process execution requesting unit 271 performs a process of determining whether or not the maximum number of processes is exceeded when the process of generating a new preview image is started.

超過すると判定された場合、所定時間待機後に、ステップS1001に戻る。超過しないと判断された場合、図11に記載されている処理を含むステップS1006以降の処理が実行される。   When it is determined that the number of times exceeds, the process returns to step S1001 after waiting for a predetermined time. If it is determined that the number of times is not exceeded, the processes in and after step S1006 including the process described in FIG. 11 are executed.

ステップS1006で、処理実行要求部271は、ジョブの情報の要求を、キュー管理部262Aに送信する。   In step S1006, the process execution requesting unit 271 sends a request for job information to the queue managing unit 262A.

ステップS1007で、キュー管理部262Aは、キューの先頭のジョブの情報を、応答として処理実行要求部271に送信する。   In step S1007, the queue management unit 262A transmits the information on the job at the head of the queue to the process execution requesting unit 271 as a response.

ジョブの情報から特定される印刷言語が第1の印刷言語の場合、ステップS1008乃至ステップS1009Aが実行される。   If the print language specified from the job information is the first print language, steps S1008 to S1009A are executed.

ステップS1008及びステップS1009の動作手順は、処理実行要求部271が取得したジョブの情報にプレビュー画像を生成する対象のページ番号の指定がない、又は、値が「空」の場合に実行される。   The operation procedure of steps S1008 and S1009 is executed when the page number of the target for generating the preview image is not specified in the job information acquired by the process execution requesting unit 271 or when the value is “empty”.

ステップS1008で、処理実行要求部271は、第1の印刷言語の生成範囲の取得要求を、記憶部258に送信する。   In step S1008, the process execution requesting unit 271 transmits to the storage unit 258 an acquisition request for the generation range of the first print language.

ステップS1009で、記憶部258は、第1の印刷言語の生成範囲の応答を、処理実行要求部271に送信する。生成範囲には、ページ範囲、例えば、1ページ〜10ページ等が設定される。   In step S1009, the storage unit 258 transmits the response of the generation range of the first print language to the process execution requesting unit 271. A page range, for example, 1 page to 10 pages is set in the generation range.

ステップS1009Aで、取得したジョブの情報にプレビュー画像を生成する対象のページの指定がない場合、処理実行要求部271は、ステップS1009で取得した生成範囲をプレビュー画像の生成範囲として特定し、取得したジョブ情報にプレビュー画像を生成する対象のページの指定がある場合、処理実行要求部271は、指定されたページを生成範囲として特定する。   In step S1009A, when the information of the acquired job does not specify the page for which the preview image is to be generated, the process execution requesting unit 271 specifies the generation range acquired in step S1009 as the generation range of the preview image and acquires it. When the job information includes a designation of a page for which a preview image is to be generated, the process execution requesting unit 271 identifies the designated page as a generation range.

ジョブの情報から特定される印刷言語が第2の印刷言語の場合、ステップS1010及びステップS1011が実行される。   If the print language specified from the job information is the second print language, steps S1010 and S1011 are executed.

ステップS1010で、処理実行要求部271は、「(4)第2の印刷言語のプレビュー画像」及び「(5)第2の印刷言語のプレビュー画像を生成する量」の項目値の取得要求を、記憶部258に送信する。   In step S1010, the process execution requesting unit 271 requests the acquisition of item values of “(4) preview image in second print language” and “(5) amount of preview image in second print language”. It is transmitted to the storage unit 258.

ステップS1011で、記憶部258は、項目値の応答を処理実行要求部271に送信する。   In step S1011, the storage unit 258 transmits a response of the item value to the process execution requesting unit 271.

ステップS1012で、処理実行要求部271は、プレビュー画像の一時保存フォルダ及び保存フォルダの記憶部258内のパス(ルートパス)の取得要求を、記憶部258に送信する。   In step S1012, the process execution requesting unit 271 sends to the storage unit 258 a request to acquire the temporary save folder for the preview image and the path (root path) in the save folder storage unit 258.

ステップS1013で、記憶部258は設定値、つまりパスの情報を、処理実行要求部271に送信する。   In step S1013, the storage unit 258 transmits the set value, that is, the path information, to the process execution requesting unit 271.

ステップS1014で、処理実行要求部271は、ジョブテーブルの「プレビュー画像の生成状態」の項目の項目値を「生成中」に変更する指示を、記憶部258に送信する。   In step S1014, the process execution requesting unit 271 sends to the storage unit 258 an instruction to change the item value of the item “preview image generation state” in the job table to “generation in progress”.

ステップS1015で、記憶部258は、変更結果の応答を、処理実行要求部271に送信する。   In step S1015, the storage unit 258 transmits a response of the change result to the process execution requesting unit 271.

次に、図11を用いて、プレビュー画像の生成処理の動作手順について説明する。   Next, the operation procedure of the preview image generation processing will be described with reference to FIG.

ステップS1101で、処理実行要求部271は、プレビュー画像の生成指示を、処理実行部272に送信する。生成指示にはジョブの情報を含む。   In step S1101, the process execution requesting unit 271 transmits a preview image generation instruction to the process executing unit 272. The generation instruction includes job information.

ステップS1102で、処理実行部272は、印刷ジョブのデータの取得要求を、記憶部258に送信する。   In step S1102, the process execution unit 272 transmits a print job data acquisition request to the storage unit 258.

ステップS1103で、記憶部258は、印刷ジョブのデータを応答として送信する。   In step S1103, the storage unit 258 transmits the print job data as a response.

例えば、処理実行部272は印刷ジョブのジョブIDを記憶部258に送信し、記憶部258は送信されたジョブIDに対応する印刷ジョブのデータを応答する。   For example, the process execution unit 272 transmits the job ID of the print job to the storage unit 258, and the storage unit 258 responds with the print job data corresponding to the transmitted job ID.

ジョブが第1の印刷言語で生成されている場合、ステップS1104乃至ステップS1106の処理が実行される。一方、ジョブが第2の印刷言語で生成されている場合、ステップS1107乃至ステップS1109の処理が実行される。   When the job is generated in the first print language, the processes of steps S1104 to S1106 are executed. On the other hand, when the job is generated in the second print language, the processes of steps S1107 to S1109 are executed.

まず、ジョブが第1の印刷言語で生成されている場合について説明する。   First, the case where the job is generated in the first print language will be described.

ステップS1104で、処理実行部272は、プレビュー画像の生成を行う。具体的には、処理実行部272は、ステップS1009Aで特定した生成範囲内のページのプレビュー画像を生成する。   In step S1104, the process execution unit 272 generates a preview image. Specifically, the process execution unit 272 generates a preview image of the page within the generation range specified in step S1009A.

ステップS1105で、処理実行部272は、生成されたプレビュー画像を記憶部258に送信する。記憶部258は、受信したプレビュー画像を記憶する。   In step S1105, the process execution unit 272 sends the generated preview image to the storage unit 258. The storage unit 258 stores the received preview image.

ステップS1106で、生成処理部262Bは、プレビュー画像を記憶した旨の応答を記憶部258から受信する。   In step S1106, the generation processing unit 262B receives a response indicating that the preview image has been stored from the storage unit 258.

次に、ジョブが第2の印刷言語で生成されている場合について説明する。   Next, a case where the job is generated in the second print language will be described.

ステップS1107で、処理実行部272は、プレビュー画像の生成を行う。処理実行部272は、プレビュー画像の生成を開始するタイミングでプレビュー画像の生成用のタイマを起動し、タイマが満了した時に、処理実行部272は、プレビュー画像の生成処理を終了する。   In step S1107, the process execution unit 272 generates a preview image. The process execution unit 272 starts a timer for preview image generation at the timing of starting the generation of the preview image, and when the timer expires, the process execution unit 272 ends the preview image generation process.

タイマが満了する前に、印刷データのプレビュー画像の生成が終了した場合は、その時点で、プレビュー画像の生成処理は終了する。タイマの設定値は、ステップS1010及びS1011で取得した「(4)第2の印刷言語のプレビュー画像」及び「(5)第2の印刷言語のプレビュー画像を生成する量」の項目値に基づいて処理実行要求部271が決定し、処理実行部272に通知する。例えば、処理実行要求部271は、「(4)第2の印刷言語のプレビュー画像」の項目値が「全部」であった場合に、タイマの設定値を所定の長さを決定し、「一部」であった場合に、「(5)第2の印刷言語のプレビュー画像を生成する量」の項目値に応じたタイマの長さを決定する。また、「(4)第2の印刷言語のプレビュー画像」の項目値が「全部」であった場合に、処理実行要求部271は、タイマを設定しなくてもよい。この際に、処理実行要求部271は、全てのページのプレビュー画像が生成完了までステップS1107からステップS1109の処理を繰り返して実行するように処理実行部272に指示する。   If the generation of the preview image of the print data ends before the timer expires, the preview image generation processing ends at that point. The setting value of the timer is based on the item values of “(4) preview image in second print language” and “(5) amount of preview image in second print language” acquired in steps S1010 and S1011. The process execution requesting unit 271 determines and notifies the process executing unit 272. For example, when the item value of “(4) Preview image of second print language” is “all”, the process execution requesting unit 271 determines the timer setting value to be a predetermined length, and If it is “copy”, the length of the timer is determined according to the item value of “(5) amount of generating preview image of second print language”. If the item value of “(4) Preview image in second print language” is “all”, the process execution requesting unit 271 may not set the timer. At this time, the process execution requesting unit 271 instructs the process executing unit 272 to repeatedly execute the processes of steps S1107 to S1109 until the preview images of all pages have been generated.

ステップS1108で、処理実行部272は、所定の期間内に生成されたプレビュー画像を記憶部258に送信する。記憶部258は、受信したプレビュー画像を記憶する。このとき、処理実行部272は、ステップS1012及びS1013で取得した一時フォルダのルートパスにおいてジョブIDでネーミングされた一時フォルダにプレビュー画像を送信する。また、この一時フォルダが存在しない場合に、処理実行部272は、一時フォルダを生成してもよい。ここで、処理実行部272は、生成したプレビュー画像のページ番号に対応して画像データのファイル名を生成する。例えば、ページ番号で画像データをネーミングしてもよい。   In step S1108, the process execution unit 272 sends the preview image generated within the predetermined period to the storage unit 258. The storage unit 258 stores the received preview image. At this time, the process execution unit 272 sends the preview image to the temporary folder named by the job ID in the root path of the temporary folder acquired in steps S1012 and S1013. Further, when this temporary folder does not exist, the process execution unit 272 may generate a temporary folder. Here, the processing execution unit 272 generates a file name of image data corresponding to the page number of the generated preview image. For example, image data may be named by page number.

ステップS1109で、生成処理部262Bは、プレビュー画像を記憶した旨の応答を記憶部258から受信する。   In step S1109, the generation processing unit 262B receives a response indicating that the preview image is stored from the storage unit 258.

ステップS1110で、処理実行部272は、プレビュー画像の生成完了の通知を、処理実行要求部271に送信する。   In step S1110, the process execution unit 272 sends a notification of completion of preview image generation to the process execution request unit 271.

ステップS1111で、処理実行要求部271は、プレビュー画像の保存先の移動指示を、記憶部258に送信する。具体的には、処理実行要求部271は、一時保存フォルダ(テンポラリフォルダ)に記憶されているプレビュー画像を、プレビュー画像データの記憶部258c内の所定の保存フォルダ(例えば、セキュリティレベルの高いフォルダ)に移動する指示を送信する。このとき、処理実行部272は、ステップS1012及びS1013で取得したプレビュー画像の記憶部258のルートパスにおいてジョブIDでネーミングされたフォルダにプレビュー画像を送信する。ここで、このフォルダが存在しない場合に、処理実行部272は、フォルダを生成してもよい。また、処理実行要求部271は、生成されたプレビュー画像に対する暗号化処理を行ってから、移動する指示を送信してもよい。   In step S1111, the process execution requesting unit 271 transmits an instruction to move the storage location of the preview image to the storage unit 258. Specifically, the process execution requesting unit 271 stores the preview images stored in the temporary storage folder (temporary folder) in a predetermined storage folder (for example, a folder with a high security level) in the preview image data storage unit 258c. Send instructions to go to. At this time, the process execution unit 272 transmits the preview image to the folder named by the job ID in the root path of the preview image storage unit 258 acquired in steps S1012 and S1013. Here, if this folder does not exist, the process execution unit 272 may generate a folder. Further, the process execution requesting unit 271 may transmit the instruction to move after performing the encryption process on the generated preview image.

ステップS1112で、記憶部258は、移動結果の応答を処理実行要求部271に送信する。   In step S1112, the storage unit 258 sends a response of the movement result to the process execution requesting unit 271.

ステップS1113で、処理実行要求部271は、ジョブテーブルの「プレビュー画像の生成状態」の項目値を「生成完了」に変更するように、記憶部258に指示する。また、処理実行要求部271は、プレビュー画像の移動後の保存先をジョブテーブルの「プレビュー画像データ保存先」の項目に登録するように、記憶部258に指示する。   In step S1113, the process execution requesting unit 271 instructs the storage unit 258 to change the item value of “preview image generation state” in the job table to “generation completed”. Further, the process execution requesting unit 271 instructs the storage unit 258 to register the storage destination after moving the preview image in the item “preview image data storage destination” of the job table.

ステップS1114で、記憶部258は、更新結果の応答を、処理実行要求部271に送信する。   In step S1114, the storage unit 258 transmits a response of the update result to the process execution requesting unit 271.

ステップS1115で、処理実行要求部271は、印刷ジョブの情報の削除指示を、キュー管理部262Aに送信する。   In step S1115, the process execution requesting unit 271 transmits an instruction to delete the print job information to the queue managing unit 262A.

ステップS1116で、キュー管理部262Aは、削除結果を処理実行要求部271に送信する。   In step S1116, the queue management unit 262A sends the deletion result to the process execution requesting unit 271.

図13は、画像形成装置300からの要求に応じてプレビュー画像を生成する動作手順の一例を示している。   FIG. 13 shows an example of an operation procedure for generating a preview image in response to a request from the image forming apparatus 300.

ステップS1301で、利用者が図6(A)の画面においてプレビューの指示を行うと、プレビュー画像の要求がサーバ装置200に送信され、制御部256は、送受信部252を介して、プレビュー画像の要求を受信する。かかる要求にはジョブIDを含む。また、かかる要求にプレビュー画像を要求する印刷データのページ番号を含んでもよい。以下の説明では、プレビュー画像の要求に、要求する印刷データのページ番号を含むものとして説明を進める。   In step S1301, when the user gives a preview instruction on the screen of FIG. 6A, the preview image request is transmitted to the server apparatus 200, and the control unit 256 requests the preview image via the transmission / reception unit 252. To receive. The request includes the job ID. Further, the page number of the print data requesting the preview image may be included in the request. In the following description, it is assumed that the request for the preview image includes the page number of the requested print data.

ステップS1302で、制御部256は、ジョブテーブルの記憶部258aに、プレビュー画像の生成状態を問い合わせる。問い合わせには、ジョブIDが用いられる。   In step S1302, the control unit 256 inquires of the storage unit 258a of the job table about the generation state of the preview image. The job ID is used for the inquiry.

ステップS1303で、制御部256は、ジョブテーブルの記憶部258aから応答を受信する。かかる応答には、生成前、生成中、生成完了等のプレビュー画像の生成状態を示す情報が含まれる。ジョブテーブルの記憶部258aにプレビュー画像が生成されている印刷データのページに関する情報が記憶されている場合、応答にページに関する情報が含まれてもよい。この場合、例えば、「1ページから10ページに対応するプレビュー画像は生成済」といった情報が含まれる。   In step S1303, the control unit 256 receives a response from the job table storage unit 258a. The response includes information indicating the generation state of the preview image such as before generation, during generation, and completion of generation. When information about a page of print data for which a preview image is generated is stored in the storage unit 258a of the job table, the response may include information about the page. In this case, for example, information such as "preview images corresponding to pages 1 to 10 have been generated" is included.

まず、「生成中」の場合について説明する。プレビュー画像が「生成中」の場合、ステップS1304乃至ステップS1309の処理が実行される。   First, the case of “being generated” will be described. When the preview image is "generating", the processes of steps S1304 to S1309 are executed.

ステップS1304で、制御部256は、プレビュー画像の保存先の一時フォルダの設定値の取得要求を、記憶部258に送信する。   In step S1304, the control unit 256 sends to the storage unit 258 an acquisition request for the setting value of the temporary folder in which the preview image is stored.

ステップS1305で、記憶部258は、設定値の応答を、制御部256に送信する。これにより、制御部256は、記憶部258内の一時フォルダへのパスを取得することができる。   In step S1305, the storage unit 258 transmits a response of the set value to the control unit 256. Thereby, the control unit 256 can acquire the path to the temporary folder in the storage unit 258.

ステップS1306で、制御部256は、取得したルートパスの下にあるジョブIDでネーミングされた一時保存フォルダ(テンポラリフォルダ)に、要求されたプレビュー画像の画像データが存在するか確認のための信号を、プレビュー画像データの記憶部258cに送信する。確認のための信号は、プレビュー画像を要求されたページ番号に関する情報を含む。ここでは、一時保存フォルダの中に、要求されたページ番号でネーミングされた画像ファイルの有無を、制御部256が確認する。   In step S1306, the control unit 256 sends a signal for confirming whether or not the image data of the requested preview image exists in the temporary storage folder (temporary folder) named by the job ID under the acquired root path, The preview image data is transmitted to the storage unit 258c. The confirmation signal includes information about the page number for which the preview image is requested. Here, the control unit 256 confirms whether or not there is an image file named with the requested page number in the temporary storage folder.

ステップS1307で、制御部256は、プレビュー画像データの記憶部258cから応答を受信する。応答には、要求されたプレビュー画像の画像データの有無を示す情報が含まれる。   In step S1307, the control unit 256 receives a response from the preview image data storage unit 258c. The response includes information indicating the presence / absence of image data of the requested preview image.

プレビュー画像の画像データが存在する場合、ステップS1308、及びステップS1309の処理が実行される。   If the image data of the preview image exists, the processes of steps S1308 and S1309 are executed.

ステップS1308で、制御部256は、プレビュー画像データの記憶部258cの上記一時保存フォルダにプレビュー画像の取得要求を送信する。かかる取得要求にはジョブID、及びプレビュー画像を要求されたページ番号に関する情報を含む。ここでは、要求されたページ番号に対応する画像データのファイル名を含む。   In step S1308, the control unit 256 transmits a preview image acquisition request to the temporary storage folder of the preview image data storage unit 258c. The acquisition request includes the job ID and information about the page number for which the preview image is requested. Here, the file name of the image data corresponding to the requested page number is included.

ステップS1309で、制御部256は、プレビュー画像データの記憶部258cの上記一時フォルダから応答されたプレビュー画像の画像データを取得する。   In step S1309, the control unit 256 acquires the image data of the responded preview image from the temporary folder of the preview image data storage unit 258c.

プレビュー画像の画像データが存在しない場合において、ステップS1302に戻る。   If the image data of the preview image does not exist, the process returns to step S1302.

このように、「生成中」の場合には、制御部256は、所定の周期でプレビュー画像が生成されたか否かを確認の処理を実行する。また、所定の周期の間に、確認中のジョブの生成すべきプレビュー画像が全て生成された可能性がある。すなわち、プレビュー画像の生成状態が「生成中」から「生成完了」に変更される可能性がある。この場合に、ステップS1302で「生成完了」の項目値が取得されるため、ステップS1310から処理が継続される。   As described above, in the case of “being generated”, the control unit 256 executes a process of confirming whether or not the preview image is generated at a predetermined cycle. Further, it is possible that all preview images to be generated for the job being confirmed have been generated during the predetermined period. That is, the generation state of the preview image may be changed from “generation in progress” to “generation completed”. In this case, since the item value of “generation completed” is acquired in step S1302, the process is continued from step S1310.

次に、プレビュー画像が「生成中」以外の場合について説明する。この場合、ステップS1310以降の処理が実行される。   Next, a case where the preview image is other than "generating" will be described. In this case, the processing from step S1310 is executed.

ステップS1310で、制御部256は、プレビュー画像データの記憶部258cの設定値の取得要求を記憶部258に送信する。   In step S1310, the control unit 256 transmits a request for acquiring the setting value of the preview image data storage unit 258c to the storage unit 258.

ステップS1311で、記憶部258は、設定値の応答を制御部256に送信する。   In step S1311, the storage unit 258 transmits a response of the set value to the control unit 256.

これにより、制御部256は、プレビュー画像データの記憶部258c内のプレビュー画像の保存先のパスを取得することができる。   As a result, the control unit 256 can acquire the path of the preview image storage destination in the preview image data storage unit 258c.

ステップS1312で、制御部256は、取得したプレビュー画像データの記憶部258cのパスの中にある、ジョブIDでネーミングされたフォルダに、要求されたプレビュー画像の画像データが存在するか確認のための信号を送信する。確認のための信号は、プレビュー画像を要求されたページ番号に関する情報を含む。ここでは、当該フォルダの中に、要求されたページ番号でネーミングされた画像ファイルの有無を確認する。   In step S1312, the control unit 256 confirms whether the requested preview image image data exists in the folder named by the job ID in the path of the acquired preview image data storage unit 258c. Send a signal. The confirmation signal includes information about the page number for which the preview image is requested. Here, it is confirmed whether or not there is an image file named with the requested page number in the folder.

ステップS1313で、応答を受信する。かかる応答には、要求されたプレビュー画像の画像データの有無を示す情報が含まれる。   In step S1313, the response is received. The response includes information indicating the presence / absence of image data of the requested preview image.

制御部256が存在する旨の応答を受信した場合、プレビュー画像生成部262によって、要求されたプレビュー画像が既に生成されていることを表している。要求されたプレビュー画像が既に生成されているとは、例えば、上述したように、クライアント装置100からジョブを受信した時に、所定の範囲のプレビュー画像が生成されることにより、既に要求されたプレビュー画像が生成されていることである。従って、ジョブのプレビュー画像の生成状態が「生成完了」であっても、印刷データの全てのプレビュー画像が生成されていることを必ずしも示さない。一方、制御部256が存在しない旨の応答を受信した場合、又は、ジョブIDでネーミングされたフォルダが存在しない旨の応答を受信した場合、プレビュー画像が生成されていないことを表している。要求されたプレビュー画像の画像データが既に生成されている場合ステップS1314及びステップS1315の処理が実行される。   When the response that the control unit 256 exists is received, it means that the preview image generation unit 262 has already generated the requested preview image. The requested preview image has already been generated, for example, as described above, when a job is received from the client device 100, a preview image in a predetermined range is generated, and thus the requested preview image has already been generated. Is generated. Therefore, even if the generation state of the preview image of the job is “generation completed”, it does not necessarily indicate that all the preview images of the print data have been generated. On the other hand, when the control unit 256 receives the response indicating that the folder does not exist, or when the response indicating that the folder named by the job ID does not exist, it means that the preview image is not generated. When the image data of the requested preview image has already been generated, the processes of steps S1314 and S1315 are executed.

ステップS1314で、制御部256は、プレビュー画像データの記憶部258cの上記フォルダに、プレビュー画像の取得要求を送信する。取得要求にはジョブID、及び要求するページに関する情報を含む。ここでは、要求されたページ番号に対応する画像データのファイル名を含む。   In step S1314, the control unit 256 transmits a preview image acquisition request to the folder of the preview image data storage unit 258c. The acquisition request includes the job ID and information about the requested page. Here, the file name of the image data corresponding to the requested page number is included.

ステップS1315で、制御部256は、プレビュー画像データの記憶部258cの上記フォルダから応答されたプレビュー画像の画像データを取得する。   In step S1315, the control unit 256 acquires the image data of the responded preview image from the folder of the preview image data storage unit 258c.

次に、プレビュー画像がまだ生成されていない場合、例えば、プレビュー画像の生成状態が「生成前」の場合、あるいは、「生成完了」でありかつ要求するページのプレビュー画像が生成されていなかった場合について説明する。   Next, when the preview image has not been generated yet, for example, when the generation state of the preview image is “before generation”, or when the generation is “completion” and the preview image of the requested page has not been generated. Will be described.

ステップS1316で、制御部256は、プレビュー画像の要求を受けたジョブの情報のキューへの追加要求を、キュー管理部262Aに送信する。この際に、ジョブの印刷言語が第1の印刷言語の場合に、要求されたページ番号を「生成対象ページ番号」として、ジョブの情報をキューテーブルに登録する。一方で、ジョブの印刷言語が第2の印刷言語の場合に、要求されたページ番号を「生成対象ページ番号」に登録しない。   In step S1316, the control unit 256 transmits to the queue management unit 262A a request to add information on the job for which the preview image request has been received to the queue. At this time, when the print language of the job is the first print language, the requested page number is set as the “generation target page number” and the job information is registered in the queue table. On the other hand, when the print language of the job is the second print language, the requested page number is not registered in the “generation target page number”.

ここで、画像形成装置300からプレビュー画像の生成要求を受けている、つまり利用者が画像形成装置300の操作受付部356にプレビュー画像が表示されるのを待っている状態である可能性が高い。このため、制御部256は、優先的に処理するように、キュー管理部262Aに指示する。例えば、制御部256は、ジョブの情報をキューの先頭に追加するように指示してもよいし、優先的に処理することを示す情報をキュー管理部262Aに送信し、キュー管理部262Aは、この情報に基づいて順番を調整してもよい。   Here, there is a high possibility that the preview image generation request has been received from the image forming apparatus 300, that is, the user is waiting for the preview image to be displayed on the operation receiving unit 356 of the image forming apparatus 300. . Therefore, the control unit 256 instructs the queue management unit 262A to preferentially process. For example, the control unit 256 may instruct to add the information of the job to the head of the queue, or may transmit the information indicating the preferential processing to the queue management unit 262A, and the queue management unit 262A may The order may be adjusted based on this information.

ステップS1317で、キュー管理部262Aは、ジョブの情報をキューに追加し、追加結果の応答を、制御部256に送信する。   In step S1317, the queue management unit 262A adds the job information to the queue and sends a response of the addition result to the control unit 256.

次に、ステップS1302に戻る。このように、要求されたプレビューが画像図10及び図11の動作手順で生成される。ここで、ジョブが第1の印刷言語の場合に、要求されたページ番号が「生成対象ページ番号」に登録されたため、ステップS1009Aにおいて、登録されているページ番号がプレビュー画像の生成範囲として特定される。その結果、要求されたページのプレビュー画像のみ生成され、迅速にユーザに応答することができる。   Then, the process returns to step S1302. In this way, the requested preview is generated by the operation procedure of the images shown in FIGS. Here, when the job is in the first print language, the requested page number is registered in the “generation target page number”, and thus the registered page number is specified as the generation range of the preview image in step S1009A. It As a result, only the preview image of the requested page is generated, and it is possible to quickly respond to the user.

最後に、制御部256は、ステップS1308及びS1309、又は、ステップ1314及びS1315の何れかにおいて、プレビュー画像を取得し、ステップS1318で送受信部252を介して画像形成装置300に送信する。なお、第2の印刷言語が用いられているときに、要求されたプレビュー画像が生成されなかった場合に、制御部256は、送受信部252を介してプレビュー画像が生成されなかった旨のエラー通知を、画像形成装置300に送信する。   Finally, the control unit 256 acquires the preview image in any of steps S1308 and S1309 or steps 1314 and S1315, and transmits the preview image to the image forming apparatus 300 via the transmission / reception unit 252 in step S1318. When the requested preview image is not generated when the second print language is used, the control unit 256 notifies the transmission / reception unit 252 of an error notification that the preview image has not been generated. Is transmitted to the image forming apparatus 300.

上述した処理を実行後、サーバ装置200は、プレビュー画像を画像形成装置300に送信する。   After executing the above-described processing, the server device 200 transmits the preview image to the image forming device 300.

なお、制御部256又は処理実行要求部271は、プレビュー画像生成に係る処理の設定項目、一時保存フォルダ及びプレビュー画像データの記憶部258cの設定などの設定情報を記憶部258から、所定のタイミング(例えば、システム起動時)で取得して保持しておいてもよい。また、設定情報が変更された場合に、利用者の指示(例えば、システムを再起動する指示)に応じて制御部256又は処理実行要求部271が再度取得すればよい。   Note that the control unit 256 or the process execution requesting unit 271 stores setting information such as setting items of a process relating to preview image generation, settings of a temporary storage folder and preview image data storage unit 258c from the storage unit 258 at a predetermined timing ( For example, it may be acquired and stored at the time of system startup). Further, when the setting information is changed, the control unit 256 or the process execution requesting unit 271 may obtain it again according to a user's instruction (for example, an instruction to restart the system).

[第2の実施形態]
(1)実施形態の概要
次に、第2の実施形態について説明する。第1の実施形態と共通する部分については説明を省略し、異なる部分について説明する。
[Second Embodiment]
(1) Outline of Embodiment Next, a second embodiment will be described. Descriptions of parts common to the first embodiment will be omitted, and different parts will be described.

プレビュー画像の生成は、サーバ装置200に大きな負荷をかけるおそれがある。このため、サーバ装置200の負荷が小さい時にプレビュー画像の生成の処理が実行されるのが好ましい。   The generation of the preview image may impose a heavy load on the server device 200. Therefore, it is preferable that the process of generating the preview image is executed when the load on the server device 200 is small.

第2の実施形態に係る、サーバ装置200は、クライアント装置100からジョブを受信する送受信部252と、ジョブに含まれる印刷データからプレビュー画像を生成するプレビュー画像生成部262と、受信したジョブの印刷データを記憶する記憶部258と、生成されたプレビュー画像を画像形成装置300に送信する送受信部252と、を有する。プレビュー画像生成部262は、キュー管理部262A、及び生成処理部262Bを有する。キュー管理部262Aは、キュー登録制御部270を有し、生成処理部262Bは、処理実行要求部271及び処理実行部272を有する。これらの機能は、第1の実施形態と同様の処理を実行する。   The server apparatus 200 according to the second embodiment receives a job from the client apparatus 100, a transmission / reception section 252, a preview image generation section 262 that generates a preview image from print data included in the job, and prints the received job. The storage unit 258 stores data, and the transmission / reception unit 252 transmits the generated preview image to the image forming apparatus 300. The preview image generation unit 262 has a queue management unit 262A and a generation processing unit 262B. The queue management unit 262A has a queue registration control unit 270, and the generation processing unit 262B has a process execution request unit 271 and a process execution unit 272. These functions execute the same processing as in the first embodiment.

サーバ装置200において、プレビュー画像生成部262は、サーバ装置200の負荷を監視し、負荷が第1の閾値以下の時にプレビュー画像を生成することを特徴とする。   In the server device 200, the preview image generation unit 262 is characterized by monitoring the load of the server device 200 and generating a preview image when the load is equal to or less than the first threshold value.

例えば、第1の閾値が、CPU101の使用率が10%の場合、処理実行要求部271は、CPU101の使用率を監視し、使用率が10%以下の時に、キュー管理部262Aのキューからジョブのデータを取得し、プレビュー画像の生成の処理を実行してもよい。ここで、処理実行要求部271は、定期的にCPU101の使用率を監視してもよい。例えば、処理実行要求部271は、5秒、10秒、又は30秒等の周期でCPU101の使用率を監視してもよい。   For example, when the first threshold is 10% of the usage rate of the CPU 101, the process execution requesting unit 271 monitors the usage rate of the CPU 101, and when the usage rate is 10% or less, a job is sent from the queue of the queue management unit 262A. May be acquired and the process of generating a preview image may be executed. Here, the process execution requesting unit 271 may periodically monitor the usage rate of the CPU 101. For example, the process execution requesting unit 271 may monitor the usage rate of the CPU 101 at a cycle of 5 seconds, 10 seconds, 30 seconds, or the like.

なお、キュー管理部262Aのキューからジョブの情報を取得する時に、処理実行要求部271は、取得したジョブの情報をキューから削除し、プレビュー画像生成のプロセスに振り分ける順番の更新を指示する。   When acquiring the job information from the queue of the queue management unit 262A, the process execution requesting unit 271 deletes the acquired job information from the queue and gives an instruction to update the order of distribution to the process of preview image generation.

プレビュー画像生成部262は、サーバ装置200の負荷を監視し、負荷が第2の閾値以上の時にプレビュー画像の生成の処理を停止してもよい。   The preview image generation unit 262 may monitor the load of the server device 200 and stop the process of generating the preview image when the load is equal to or higher than the second threshold.

例えば、第2の閾値が、CPU101の使用率が80%以上の場合、処理実行要求部271は、CPU101の使用率を監視し、使用率が80%以上の時に、実行中のプレビュー画像の生成のプロセスを停止する処理を実行する。かかるプロセスを停止する処理は、「プロセスをキルする」と表現されてもよい。   For example, when the second threshold is 80% or higher in the usage rate of the CPU 101, the process execution requesting unit 271 monitors the usage rate of the CPU 101, and when the usage rate is 80% or higher, generates a preview image in execution. Execute the process to stop the process. The process of stopping such a process may be expressed as “killing the process”.

プロセスが停止された場合、プロセスが停止するまでに生成されたプレビュー画像が記憶部258に記憶される。この時に、記憶部258で記憶されているジョブのプレビュー画像の生成状態が、「生成中」から「生成未完了」に更新される。生成されなかったプレビュー画像に対応する印刷データは、キュー管理部262Aに再び登録される。   When the process is stopped, the preview image generated until the process is stopped is stored in the storage unit 258. At this time, the generation state of the preview image of the job stored in the storage unit 258 is updated from “generating” to “generation incomplete”. The print data corresponding to the preview image that has not been generated is registered again in the queue management unit 262A.

CPU101の使用率が第1の閾値を下回った時に、処理実行要求部271は、キュー管理部262Aから途中で停止されたプロセスに対応する印刷データを取得し、プレビュー画像の生成を再開する。再開された時には、記憶部で記憶されているジョブのプレビュー画像生成状態を「生成未完了」から「生成中」に更新される。   When the usage rate of the CPU 101 falls below the first threshold value, the process execution requesting unit 271 acquires print data corresponding to the process stopped midway from the queue managing unit 262A, and restarts the generation of the preview image. When restarted, the preview image generation status of the job stored in the storage unit is updated from “not completed” to “currently being generated”.

処理実行要求部271は、CPU101の使用率に加えて、サーバ装置200のメモリ使用量を用いて、プレビュー画像の生成の処理の開始、及び停止を判断する場合がある。   The process execution requesting unit 271 may determine the start and stop of the process of generating the preview image by using the memory usage amount of the server device 200 in addition to the usage rate of the CPU 101.

例えば、第3の閾値を、メモリの使用量1GByte、第4の閾値を、メモリの使用量3GByteとして、これらの閾値を処理実行要求部271に保持させる。   For example, the process execution requesting unit 271 is caused to hold the third threshold value as a memory usage amount of 1 GByte and the fourth threshold value as a memory usage amount of 3 GByte.

例えば、CPU101の使用率が第1の閾値以下でありかつ、メモリの使用量が第3の閾値以下の場合に、処理実行要求部271はプレビュー画像の生成を開始する。   For example, when the usage rate of the CPU 101 is less than or equal to the first threshold value and the usage amount of the memory is less than or equal to the third threshold value, the process execution requesting unit 271 starts generating the preview image.

例えば、CPU101の使用率が第2の閾値以上でありかつ、メモリの使用量が第4の閾値以上の場合に、処理実行要求部271は、プレビュー画像の生成を停止する。   For example, when the usage rate of the CPU 101 is equal to or higher than the second threshold value and the usage amount of the memory is equal to or higher than the fourth threshold value, the process execution requesting unit 271 stops the generation of the preview image.

例えば、CPU101の使用率の閾値(第1の閾値、第2の閾値)を用いず、メモリの使用量の閾値(第3の閾値、第4の閾値)を基に、処理実行要求部271は、プレビュー画像の生成の開始と、停止とを判断する。   For example, the processing execution requesting unit 271 does not use the usage rate thresholds (first threshold value, second threshold value) of the CPU 101 but based on the memory usage threshold values (third threshold value, fourth threshold value). , It is determined whether the generation of the preview image is started or stopped.

例えば、CPU101の使用率の閾値と、メモリの使用量の閾値とのいずれかをトリガとして、処理実行要求部271は、プレビュー画像の生成の開始と、停止とを判断する。   For example, the process execution requesting unit 271 determines whether to start or stop the generation of the preview image by using either the threshold value of the usage rate of the CPU 101 or the threshold value of the memory usage amount as a trigger.

サーバ装置200が、所定の閾値とCPU101の使用率等を比較して、プレビュー画像の生成を行うか判断するため、サーバ装置200のリソースの有効活用が可能となる。また、CPU101の使用率が低い時に、プレビュー画像が生成されるため、プレビュー画像の生成にかかる時間が短くなり、画像形成装置300にプレビュー画像が表示されるレスポンスが早くなり、プレビュー画像の表示に関するユーザビリティが向上する。   Since the server device 200 compares a predetermined threshold value with the usage rate of the CPU 101 and determines whether or not to generate a preview image, the resources of the server device 200 can be effectively used. Further, since the preview image is generated when the usage rate of the CPU 101 is low, the time required to generate the preview image is shortened, the response in which the preview image is displayed on the image forming apparatus 300 is fast, and the preview image is displayed. Usability is improved.

なお、処理実行要求部271がCPU101の使用率等を監視する場合について説明したが、処理実行部272等によりCPU101の使用率等が監視されてもよいことは勿論である。   Although the case where the process execution requesting unit 271 monitors the usage rate of the CPU 101 and the like has been described, it goes without saying that the usage rate and the like of the CPU 101 may be monitored by the process execution unit 272 and the like.

(2)動作手順
図14を用いて、本実施形態に係る動作手順について説明する。
(2) Operation Procedure An operation procedure according to this embodiment will be described with reference to FIG.

図14は、第2の実施形態に係る動作手順の一例を示す図である。図12では、第1の閾値に基づいて、処理実行要求部271が、プレビュー画像の生成の処理をする動作を示している。   FIG. 14 is a diagram illustrating an example of an operation procedure according to the second embodiment. FIG. 12 shows an operation in which the process execution requesting unit 271 performs a process of generating a preview image based on the first threshold value.

第2の実施形態では、プレビュー画像の生成の処理方法の開始時、及びプレビュー画像の生成時に、処理実行要求部271が、CPU101の負荷の確認処理を実行することを特徴としている。   The second embodiment is characterized in that the processing execution requesting unit 271 executes the load confirmation processing of the CPU 101 at the start of the processing method of generating the preview image and at the time of generating the preview image.

ステップS901乃至ステップS910、及びステップS1001乃至ステップS1005と同じ処理が実行される。   The same processes as steps S901 to S910 and steps S1001 to S1005 are executed.

ステップS1005の判定処理の結果、生成中の最大プロセス数を超過しないと判定された場合、ステップS1401で、処理実行要求部271は、CPU101の使用率の確認処理を行う。具体的には、処理実行要求部271は、CPU101の使用率が第1の閾値以下であるか否かを確認する。第1の閾値以下の場合、以降の処理が実行される。一方、CPU101の使用率が第1の閾値より大きい場合、所定の時間待機後、再度、処理実行要求部271は、CPU101の使用率が第1の閾値以下であるか否かを確認する。   As a result of the determination processing in step S1005, when it is determined that the maximum number of processes being generated is not exceeded, the processing execution requesting unit 271 performs processing for confirming the usage rate of the CPU 101 in step S1401. Specifically, the process execution requesting unit 271 confirms whether the usage rate of the CPU 101 is less than or equal to the first threshold value. When it is less than or equal to the first threshold value, the subsequent processing is executed. On the other hand, when the usage rate of the CPU 101 is larger than the first threshold value, after waiting for a predetermined time, the process execution requesting unit 271 checks again whether the usage rate of the CPU 101 is less than or equal to the first threshold value.

以後、ステップS1006乃至ステップS1015、及びステップS1101乃至ステップS1103と同じ処理が実行される。   After that, the same processing as steps S1006 to S1015 and steps S1101 to S1103 is executed.

ジョブに第1の印刷言語が適用されている場合、ステップS1104乃至ステップS1106と同じ処理により、プレビュー画像が生成される。処理実行部272によりプレビュー画像の生成処理が実行されるときに、ステップS1402で、処理実行要求部271は、CPU101の負荷の確認処理を行う。具体的には、処理実行要求部271は、CPU101の使用率が第2の閾値以下であるか否かを確認する。CPU101の使用率が第2の閾値以下の場合、プレビュー画像の生成処理が継続される。一方、CPU101の使用率が第2の閾値より大きい場合、処理実行要求部271は、プレビュー画像の生成の中止を処理実行部272に指示する。この際に、実行中の全てのプレビュー画像の生成処理の中止を指示してもよいし、特定のジョブのプレビュー画像の生成処理の中止を指示してもよい。例えば、処理実行要求部271は、処理実行部272にプレビュー画像の生成を指示してからの時間である処理時間を計測し、処理時間が長いジョブのプレビュー画像の生成処理の中止を指示してもよい。   When the first print language is applied to the job, the preview image is generated by the same processing as steps S1104 to S1106. When the process execution unit 272 executes the preview image generation process, in step S1402, the process execution request unit 271 performs a process of confirming the load on the CPU 101. Specifically, the process execution requesting unit 271 confirms whether the usage rate of the CPU 101 is less than or equal to the second threshold value. When the usage rate of the CPU 101 is less than or equal to the second threshold value, the preview image generation process is continued. On the other hand, when the usage rate of the CPU 101 is larger than the second threshold value, the process execution requesting unit 271 instructs the process executing unit 272 to stop the generation of the preview image. At this time, it may be instructed to stop all the preview image generation processes that are being executed, or to stop the preview image generation processes of a specific job. For example, the process execution requesting unit 271 measures the processing time, which is the time from the instruction of the process executing unit 272 to generate the preview image, and instructs the process executing unit 272 to stop the process of generating the preview image of the job having a long processing time. Good.

ジョブに第2の印刷言語が適用されている場合、ステップS1107乃至ステップS1109と同じ処理により、プレビュー画像が生成される。処理実行部272によりプレビュー画像の生成処理が実行されている時に、ステップS1403で、処理実行要求部271は、CPU101の負荷の確認処理を行う。処理内容については、ステップS1402と同じである。   When the second print language is applied to the job, the preview image is generated by the same processing as steps S1107 to S1109. While the preview image generation process is being executed by the process execution unit 272, the process execution requesting unit 271 checks the load on the CPU 101 in step S1403. The processing content is the same as in step S1402.

なお、処理実行部272は、中止の指示を受けて、直ちにプレビュー画像の生成処理を中止してもよいし、実行中のプレビュー画像の生成処理が完了した後で、プレビュー画像の生成処理を中止してもよい。   Note that the processing execution unit 272 may stop the preview image generation processing immediately upon receiving the stop instruction, or stop the preview image generation processing after the execution of the preview image generation processing being executed is completed. You may.

プレビュー画像の生成処理の完了後、ステップS1110乃至ステップS1116と同じ手順が実行される。   After the preview image generation process is completed, the same procedure as steps S1110 to S1116 is executed.

[変形例]
次に、実施形態に係る変形例について説明する。変形例では、サーバ装置200のプレビュー画像生成部262におけるプレビュー画像の生成の順序制御の方法について説明する。
[Modification]
Next, a modified example according to the embodiment will be described. In the modification, a method of controlling the order of preview image generation in the preview image generation unit 262 of the server device 200 will be described.

図15は、プレビュー画像生成部262におけるプレビュー画像の生成方法の一例を示す図である
図15に示す例では、キュー登録制御部270は、同時に3つの処理待ち列Q1、Q2及びQ3を管理している。なお、キュー登録制御部270が管理する処理待ち列の数は、任意の値に設定可能である。
FIG. 15 is a diagram showing an example of a preview image generation method in the preview image generation unit 262. In the example shown in FIG. 15, the queue registration control unit 270 manages three processing queues Q1, Q2, and Q3 at the same time. ing. Note that the number of processing queues managed by the queue registration control unit 270 can be set to any value.

Q1には、クライアント装置100からジョブを受信したときに、処理負荷が重いジョブの情報が登録される。重いジョブとは、例えばプレビュー画像を生成すべきページ数が多く、プレビュー画像の生成処理が重くなり、処理に時間がかかるジョブである。ページ数が多いか否かの判断については、所定の基準値(例えば100ページ)を設けて、基準値以上か否かで判断すればよい。   Information of a job having a heavy processing load when a job is received from the client device 100 is registered in Q1. The heavy job is, for example, a job in which the number of pages for which the preview image is to be generated is large, the processing for generating the preview image is heavy, and the processing takes time. To determine whether or not the number of pages is large, a predetermined reference value (for example, 100 pages) may be provided, and it may be determined whether or not the reference value is exceeded.

Q2には、クライアント装置100からジョブを受信したときに、受信した処理負荷が重いジョブ以外のジョブの情報が登録される。ジョブの情報は、例えば、ジョブがクライアント装置から投入された順番に登録される。また、画像形成装置300にジョブリストが取得された時に、かかるリストに含まれているジョブの情報が登録される。ジョブの情報は、例えば、ジョブリストの順番に登録される。ここでQ1とQ2は、普通のキューと表現されてもよい。   In Q2, when a job is received from the client device 100, information of the job other than the received job having a heavy processing load is registered. The job information is registered in the order in which the jobs are submitted from the client device, for example. Further, when the job list is acquired by the image forming apparatus 300, information on the jobs included in the list is registered. The job information is registered in the order of the job list, for example. Here, Q1 and Q2 may be expressed as ordinary queues.

Q3には、優先的にプレビュー画像が生成されるべきジョブの情報が登録される。Q3は優先のキューと表現されてもよい。画像形成装置300の利用者からプレビュー画像の生成の指示を受けたジョブの情報が登録される。   In Q3, information on a job for which a preview image is preferentially generated is registered. Q3 may be expressed as a priority queue. Information on a job for which an instruction to generate a preview image is received from the user of the image forming apparatus 300 is registered.

生成処理部262Bは、Q3、Q2、Q1の順番に登録されているジョブの情報の有無を確認し、ジョブの情報があった場合に、キューの先頭からの順番にプレビュー画像の生成処理を実行する。例えば、Q3にジョブの情報が登録された場合に、Q2、Q1にジョブ情報が登録されているか否かに関係なく、Q3の先頭のジョブのプレビュー画像の生成処理を実行する。一方で、Q3にジョブの情報が登録された場合に、Q2、Q1の順番に上記の処理を行う。   The generation processing unit 262B confirms the presence or absence of job information registered in the order of Q3, Q2, and Q1, and if there is job information, executes the preview image generation processing in the order from the head of the queue. To do. For example, when the job information is registered in Q3, regardless of whether the job information is registered in Q2 and Q1, the preview image generation process of the first job in Q3 is executed. On the other hand, when the job information is registered in Q3, the above processing is performed in the order of Q2 and Q1.

サーバ装置200が、画像形成装置300から指定されたジョブのプレビュー画像の要求を受信したときの動作について説明する。   The operation when the server device 200 receives a request for a preview image of a designated job from the image forming device 300 will be described.

サーバ装置200の制御部256は、画像形成装置300からジョブのプレビュー画像の要求を、送受信部252を介して、受信する(図15の(1))。要求には、「doc003」のジョブのIDが含まれる。制御部256は、要求の受信に応じて、ジョブテーブルの記憶部258aを参照して、「doc003」のプレビュー画像の生成状態を確認する。   The control unit 256 of the server apparatus 200 receives the request for the preview image of the job from the image forming apparatus 300 via the transmission / reception unit 252 ((1) in FIG. 15). The request includes the ID of the job “doc003”. In response to the reception of the request, the control unit 256 refers to the storage unit 258a of the job table and confirms the generation state of the preview image of "doc003".

その結果、制御部256が、「doc003」のプレビュー画像の生成状態を「生成前」と確認した場合(図15の(2))、制御部256は、プレビュー画像生成部262に、プレビュー画像の生成を依頼する(図15の(3))。   As a result, when the control unit 256 confirms that the generation state of the preview image of “doc003” is “before generation” ((2) in FIG. 15), the control unit 256 causes the preview image generation unit 262 to display the preview image. Request generation ((3) in FIG. 15).

プレビュー画像生成部262のキュー管理部262Aは、「doc003」のジョブの情報がQ2に登録されていることを確認する。キュー管理部262Aは、「doc003」のジョブの情報を優先的に、生成処理部262Bに渡す必要があると判断し、「doc003」のジョブの情報の処理待ち列をQ3に変更する(図15の(4))。   The queue management unit 262A of the preview image generation unit 262 confirms that the job information of "doc003" is registered in Q2. The queue management unit 262A determines that it is necessary to give priority to the information of the job of "doc003" to the generation processing unit 262B, and changes the processing queue of the information of the job of "doc003" to Q3 (FIG. 15). (4)).

具体的には、キュー管理部262Aは、「doc003」のジョブの情報をQ3に登録し、Q1またはQ2に登録してある「doc003」のキューを削除する処理を行う。   Specifically, the queue management unit 262A performs a process of registering the job information of "doc003" in Q3 and deleting the queue of "doc003" registered in Q1 or Q2.

この処理により、「doc003」が優先的に処理されるQ3に変更されるため、処理実行部272において実行されるプレビュー画像生成のプロセスの数が設定された最大プロセス数未満の場合に、処理実行要求部271は、優先的にQ3に登録された「doc003」のプレビュー画像の生成を処理実行部272に指示することで、「doc003」のプレビュー画像が生成開始されるタイミングが早まり、画像形成装置300に生成されたプレビュー画像を送信するのにかかる時間を短縮することができる。   By this processing, “doc003” is changed to Q3, which is preferentially processed. Therefore, when the number of preview image generation processes executed in the processing execution unit 272 is less than the set maximum number of processes, the process execution is performed. The request unit 271 instructs the process execution unit 272 to generate the preview image of “doc003” preferentially registered in Q3, thereby accelerating the timing at which the preview image of “doc003” is started and the image forming apparatus. It is possible to reduce the time taken to transmit the generated preview image to 300.

つまり、クライアント装置100からジョブを送信したときは、利用者はまだ画像形成装置300の前に居ないと考えられる一方で、画像形成装置300において特定のジョブを指定し、プレビューを要求するときは、利用者が画像形成装置300を操作してプレビューを見たいときと考えられる。よって後者の方が前者に比べて早急に対応する方がより利便的であるため、前者の場合は通常のキューに登録し、後者の場合は優先キューに登録する。   That is, when the job is transmitted from the client device 100, it is considered that the user is not in front of the image forming apparatus 300 yet, but when the user specifies a specific job in the image forming apparatus 300 and requests a preview, It is considered that the user wants to operate the image forming apparatus 300 to see the preview. Therefore, since it is more convenient for the latter to deal with the situation more promptly than the former, the former case is registered in the normal queue, and the latter case is registered in the priority queue.

[その他]
上述した実施形態においては、サーバ装置200がプレビュー画像を生成する形態について説明したが、画像形成装置300でプレビュー画像を生成してもよい。例えば、プレビュー画像生成部262等と同じ機能が画像形成装置300上に実装されることにより、プレビュー画像を画像形成装置300上で生成することが可能となる。
[Other]
In the above-described embodiment, the form in which the server device 200 generates the preview image has been described, but the image forming device 300 may generate the preview image. For example, by mounting the same function as the preview image generation unit 262 or the like on the image forming apparatus 300, it is possible to generate a preview image on the image forming apparatus 300.

上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、サーバ装置200に供給してもよい。そして、サーバ装置200が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、上述の実施形態が、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は、いずれかの実施の形態を構成することになる。ここで、記憶媒体は、記録媒体または非一時的な記憶媒体である。   A storage medium recording a program code of software that realizes the functions of the above-described embodiments may be supplied to the server device 200. Needless to say, the above-described embodiment is also achieved by the server device 200 reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes one of the embodiments. Here, the storage medium is a recording medium or a non-transitory storage medium.

また、コンピュータ装置が読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけではない。そのプログラムコードの指示に従って、コンピュータ装置上で動作しているオペレーティングシステム(OS)等が実際の処理の一部または全部を行ってもよい。さらに、その処理によって前述した実施形態の機能が実現されてもよいことは言うまでもない。   Further, the functions of the above-described embodiments are not only realized by executing the program code read by the computer device. An operating system (OS) or the like running on the computer device may perform some or all of the actual processing according to the instructions of the program code. Further, it goes without saying that the processing may realize the functions of the above-described embodiments.

以上、本発明の好ましい実施形態について説明したが、本発明はこうした実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。   Although the preferred embodiment of the present invention has been described above, the present invention is not limited to such an embodiment, and various modifications and substitutions can be made without departing from the scope of the present invention.

100 クライアント装置
200 サーバ装置
256 制御部
258 記憶部
262 プレビュー画像生成部
264 入出力部
300 画像形成装置
100 client device 200 server device 256 control unit 258 storage unit 262 preview image generation unit 264 input / output unit 300 image forming apparatus

特開2012−245695号公報JP 2012-245695 A

Claims (11)

クライアント装置から印刷ジョブを受信する受信部と、
前記印刷ジョブに含まれる印刷データのプレビュー画像を生成するプレビュー画像生成部と、
生成された前記プレビュー画像を画像形成装置に送信する送信部と、を有し、
前記プレビュー画像生成部は、
前記印刷データに第1の印刷言語が用いられている場合は、前記印刷データの所定の範囲のページを、前記プレビュー画像を生成する対象として決定し、
前記印刷データに第2の印刷言語が用いられている場合は、所定の時間を、前記プレビュー画像を生成する時間として決定する、情報処理装置。
A receiver for receiving a print job from the client device,
A preview image generation unit that generates a preview image of print data included in the print job;
A transmission unit that transmits the generated preview image to the image forming apparatus,
The preview image generation unit,
When the first print language is used for the print data, pages in a predetermined range of the print data are determined as targets for generating the preview image ,
An information processing apparatus , wherein when a second print language is used for the print data, a predetermined time is determined as a time for generating the preview image .
前記プレビュー画像生成部は、
前記印刷データに第2の印刷言語が用いられている場合は、前記印刷データの所定のページから前記プレビュー画像を生成する、請求項1に記載の情報処理装置。
The preview image generation unit,
The information processing apparatus according to claim 1 , wherein when the second print language is used for the print data, the preview image is generated from a predetermined page of the print data .
前記プレビュー画像生成部は、
前記プレビュー画像の生成用のタイマに前記時間に係る条件を設定し、
該タイマが起動されている期間、前記プレビュー画像を生成し、
該タイマは、前記プレビュー画像の生成を開始したタイミングで起動され、
前記時間に係る条件は、可変である請求項1又は2に記載の情報処理装置。
The preview image generation unit,
The condition for the time is set in the timer for generating the preview image,
Generating the preview image while the timer is activated,
The timer is activated at the timing when the generation of the preview image is started,
The information processing apparatus according to claim 1, wherein the time-related condition is variable.
前記プレビュー画像生成部は、前記印刷ジョブの受信に応じて、前記プレビュー画像を生成する請求項1乃至3のいずれか一項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the preview image generation unit generates the preview image in response to receiving the print job. 前記プレビュー画像生成部は、前記画像形成装置からの要求に応じて、前記プレビュー画像を生成する請求項1乃至4のいずれか一項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the preview image generation unit generates the preview image in response to a request from the image forming apparatus. 前記画像形成装置からの要求は、前記プレビュー画像の表示を要求する印刷データのページを指定する情報を含み、
前記指定されたページのプレビュー画像が生成されていない場合、前記プレビュー画像生成部は、生成されていないプレビュー画像を生成する請求項5に記載の情報処理装置。
The request from the image forming apparatus includes information designating a page of print data requesting display of the preview image,
The information processing apparatus according to claim 5, wherein when a preview image of the designated page has not been generated, the preview image generation unit generates a preview image which has not been generated.
前記プレビュー画像生成部は、
前記プレビュー画像の生成の処理を実行する複数のプロセスを有し、
複数のプレビュー画像の生成の処理を前記複数のプロセスに処理させるように振り分け、
前記複数のプロセスの数は上限値を有する、請求項1乃至6のいずれか一項に記載の情報処理装置。
The preview image generation unit,
A plurality of processes for executing the process of generating the preview image,
The process of generating a plurality of preview images is distributed so as to be processed by the plurality of processes,
The information processing apparatus according to claim 1 , wherein the number of the plurality of processes has an upper limit value.
前記プレビュー画像生成部は、複数の印刷データの各々に対応するプレビュー画像の生成の処理を振り分ける順番を調整し、
前記順番は、前記印刷データに対応する前記印刷ジョブの属性に基づいて調整される請求項7に記載の情報処理装置。
The preview image generation unit adjusts an order in which processing of generating a preview image corresponding to each of a plurality of print data is distributed.
The information processing apparatus according to claim 7 , wherein the order is adjusted based on an attribute of the print job corresponding to the print data.
情報処理装置と、画像形成装置とを有する情報処理システムであって、
前記情報処理装置は、
クライアント装置から印刷ジョブを受信する受信部と、
前記印刷ジョブに含まれる印刷データのプレビュー画像を生成するプレビュー画像生成部と、
生成された前記プレビュー画像を画像形成装置に送信する送信部と、を有し、
前記プレビュー画像生成部は、
前記印刷データに第1の印刷言語が用いられている場合は、前記印刷データの所定の範囲のページを、前記プレビュー画像を生成する対象として決定し、
前記印刷データに第2の印刷言語が用いられている場合は、所定の時間を、前記プレビュー画像を生成する時間として決定し、
前記画像形成装置は、
前記プレビュー画像を、利用者からの指示に応じて表示する表示部と、
前記情報処理装置に、前記利用者から指示されたページに対応するプレビュー画像を送信するように要求する信号を送信する要求部と、を有し、
前記要求する信号を受けた時に、前記プレビュー画像生成部は、
前記ページに対応するプレビュー画像が既に生成されている場合、前記プレビュー画像生成部は、前記送信部に、該プレビュー画像の送信を指示し、
前記ページに対応するプレビュー画像が既に生成されていない場合、該プレビュー画像を生成する、情報処理システム。
An information processing system having an information processing apparatus and an image forming apparatus,
The information processing device,
A receiver for receiving a print job from the client device,
A preview image generation unit that generates a preview image of print data included in the print job;
A transmission unit that transmits the generated preview image to the image forming apparatus,
The preview image generation unit,
When the first print language is used for the print data, pages in a predetermined range of the print data are determined as targets for generating the preview image ,
When a second print language is used for the print data, a predetermined time is determined as the time for generating the preview image ,
The image forming apparatus,
A display unit for displaying the preview image according to an instruction from a user,
The information processing device, a request unit for transmitting a signal requesting to transmit a preview image corresponding to the page instructed by the user,
Upon receiving the request signal, the preview image generation unit
When the preview image corresponding to the page has already been generated, the preview image generation unit instructs the transmission unit to transmit the preview image,
An information processing system that generates a preview image when a preview image corresponding to the page has not already been generated.
クライアント装置から印刷ジョブを受信するステップと、
前記印刷ジョブに含まれる印刷データのプレビュー画像を生成するステップと、
生成された前記プレビュー画像を画像形成装置に送信するステップと、を情報処理装置に実行させるプログラムであって、
前記プレビュー画像を生成するステップは、
前記印刷データに第1の印刷言語が用いられている場合は、前記印刷データの所定の範囲のページを、前記プレビュー画像を生成する対象として決定するステップと、
前記印刷データに第2の印刷言語が用いられている場合は、所定の時間を、前記プレビュー画像を生成する時間として決定するステップと、を含む、情報処理装置のプログラム。
Receiving a print job from a client device,
Generating a preview image of print data included in the print job;
A program for causing an information processing apparatus to execute the step of transmitting the generated preview image to an image forming apparatus,
The step of generating the preview image includes
Determining a page within a predetermined range of the print data as a target for generating the preview image, when the print data uses a first print language;
A program for an information processing device, comprising: determining a predetermined time as a time for generating the preview image when the second print language is used for the print data.
情報処理装置と、画像形成装置との間で実行される制御方法であって、
前記情報処理装置が、
クライアント装置から印刷ジョブを受信するステップと、
前記印刷ジョブに含まれる印刷データのプレビュー画像を生成するステップと、
生成された前記プレビュー画像を画像形成装置に送信するステップと、を有し、
前記プレビュー画像を生成するステップは、
前記印刷データに第1の印刷言語が用いられている場合は、前記印刷データの所定の範囲のページを、前記プレビュー画像を生成する対象として決定するステップと、
前記印刷データに第2の印刷言語が用いられている場合は、所定の時間を、前記プレビュー画像を生成する時間として決定するステップと、を含み、
当該制御方法は、
前記画像形成装置が、
前記プレビュー画像を、利用者からの指示に応じて表示するステップと、
前記情報処理装置に、前記利用者から指示されたページに対応するプレビュー画像を送信するように要求する信号を送信するステップと、を有し、
前記プレビュー画像を生成するステップは、
前記要求する信号を受けた時に、
前記ページに対応するプレビュー画像が既に生成されている場合、該プレビュー画像を、前記画像形成装置に送信するように指示するステップと、
前記ページに対応するプレビュー画像が既に生成されていない場合、該プレビュー画像を、生成するステップを含む、制御方法。
A control method executed between an information processing apparatus and an image forming apparatus, comprising:
The information processing device is
Receiving a print job from a client device,
Generating a preview image of print data included in the print job;
Transmitting the generated preview image to an image forming apparatus,
The step of generating the preview image includes
Determining a page within a predetermined range of the print data as a target for generating the preview image, when the print data uses a first print language;
When a second print language is used for the print data, a predetermined time is determined as a time for generating the preview image ,
The control method is
The image forming apparatus,
Displaying the preview image according to an instruction from a user,
Transmitting a signal requesting the information processing device to transmit a preview image corresponding to the page instructed by the user,
The step of generating the preview image includes
When receiving the requested signal,
If a preview image corresponding to the page has already been generated, instructing the image forming apparatus to transmit the preview image,
A control method comprising the step of generating a preview image if a preview image corresponding to the page has not already been generated.
JP2016124805A 2015-07-06 2016-06-23 Information processing apparatus, information processing system, program, and control method Active JP6686732B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/201,711 US10033885B2 (en) 2015-07-06 2016-07-05 Information processing apparatus, information processing system, and control method for generating a preview image of print data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015135707 2015-07-06
JP2015135707 2015-07-06

Publications (2)

Publication Number Publication Date
JP2017016653A JP2017016653A (en) 2017-01-19
JP6686732B2 true JP6686732B2 (en) 2020-04-22

Family

ID=57828224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016124805A Active JP6686732B2 (en) 2015-07-06 2016-06-23 Information processing apparatus, information processing system, program, and control method

Country Status (1)

Country Link
JP (1) JP6686732B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6604237B2 (en) 2016-03-01 2019-11-13 株式会社リコー Information processing apparatus, information processing system, program, and control method
JP2022029232A (en) * 2020-08-04 2022-02-17 京セラドキュメントソリューションズ株式会社 Print job transmission device, image forming apparatus, image forming system, print job transmission program, and image forming program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3843538B2 (en) * 1997-05-16 2006-11-08 ブラザー工業株式会社 OUTPUT CONTROL SYSTEM, OUTPUT CONTROL METHOD, OUTPUT CONTROL PROGRAM, AND RECORDING MEDIUM CONTAINING SUB-OUTPUT CONTROL PROGRAM
JP2012245695A (en) * 2011-05-27 2012-12-13 Ricoh Co Ltd Image output device, program, and system
JP6179083B2 (en) * 2012-09-18 2017-08-16 株式会社リコー Information processing apparatus, output system, and program
JP2015225535A (en) * 2014-05-28 2015-12-14 キヤノン株式会社 Information processor, and authentication printing system using same
JP2016172370A (en) * 2015-03-17 2016-09-29 キヤノン株式会社 Image forming apparatus, image forming method, and image forming program

Also Published As

Publication number Publication date
JP2017016653A (en) 2017-01-19

Similar Documents

Publication Publication Date Title
US9372648B2 (en) Image forming device capable of exchanging print data with another image forming device, and control method and storage medium therefor
US10033885B2 (en) Information processing apparatus, information processing system, and control method for generating a preview image of print data
US9070072B2 (en) Image forming apparatus capable of obtaining print data from external apparatus, and control method and storage medium therefor
US8570574B2 (en) Processing system, control method, and storage medium therefor
WO2014017058A1 (en) Information processing device, image forming device, printing system control method, and storage medium
JP5462610B2 (en) Information processing system, information processing apparatus, control method therefor, and program
JP2015213256A (en) Image forming apparatus, information processing method, and program
EP3214539B1 (en) Information processing apparatus, information processing system, and control method
JP6174896B2 (en) Printing system, server, information processing apparatus, image processing apparatus, printing control method, and program
JP2013050817A (en) Information processor, control method therefor, and program
JP2010160762A (en) Workflow management server, workflow management system, workflow management method, and workflow management program
JP2011180989A (en) Print server device, print control method, and program
JP5661346B2 (en) Printing system and printing control method
JP6686732B2 (en) Information processing apparatus, information processing system, program, and control method
JP2019025801A (en) Printing system, printer and control method thereof, and program
JP2020199691A (en) Image formation device, control method for the same and program
JP7360245B2 (en) Image forming system and output method
JP2009262376A (en) Printing controller, printing control method and program
JP2015093394A (en) Image formation device, method and program for controlling the same
JP7171273B2 (en) PRINTING SYSTEM, PRINTING APPARATUS, PRINTING SYSTEM CONTROL METHOD, PRINTING APPARATUS CONTROL METHOD, AND PROGRAM
JP2012221334A (en) Image formation system and method for processing the same, image forming apparatus, printing management server, print server, control method and program
JP2018144372A (en) Image formation apparatus, control method and program of image formation apparatus
JP2014156087A (en) Image formation device, and control method and program for the same
JP2021005797A (en) Image forming apparatus and control method of the same
JP2015225535A (en) Information processor, and authentication printing system using same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200108

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200316

R151 Written notification of patent or utility model registration

Ref document number: 6686732

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151