JP4586915B2 - Image forming apparatus and image forming management system - Google Patents
Image forming apparatus and image forming management system Download PDFInfo
- Publication number
- JP4586915B2 JP4586915B2 JP2008248596A JP2008248596A JP4586915B2 JP 4586915 B2 JP4586915 B2 JP 4586915B2 JP 2008248596 A JP2008248596 A JP 2008248596A JP 2008248596 A JP2008248596 A JP 2008248596A JP 4586915 B2 JP4586915 B2 JP 4586915B2
- Authority
- JP
- Japan
- Prior art keywords
- writing
- log
- image forming
- unit
- page
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Description
本発明は、画像形成装置及びこの画像形成装置を用いた画像形成管理システムに関するものである。 The present invention relates to an image forming apparatus and an image forming management system using the image forming apparatus.
例えば、特許文献1に記載の画像形成管理システム(プリンタ管理システム)では、画像形成装置(プリンタ)の使用状況を把握するために、印刷ジョブに基づく印刷処理(画像形成処理)の終了後に、その印刷ジョブにより印刷された用紙の枚数及び印刷命令を発したユーザ等の情報を履歴情報としてプリントサーバに書き込んでいる。
しかし、特許文献1に記載の発明では、印刷ジョブの終了後に履歴情報をプリントサーバに書き込んでいるので、例えば、印刷枚数が複数枚となる印刷ジョブの実行途中で、プリントサーバ及び画像形成装置のうち少なくとも一方に障害が発生した場合には、その印刷ジョブに関する履歴情報が全くプリントサーバに残らず、画像形成装置の使用状況を的確に把握することができない。 However, since the history information is written in the print server after the end of the print job in the invention described in Patent Document 1, for example, during the execution of the print job in which the number of prints is plural, the print server and the image forming apparatus When a failure occurs in at least one of them, no history information regarding the print job remains in the print server, and the usage status of the image forming apparatus cannot be accurately grasped.
本発明は、上記点に鑑み、画像形成装置の使用状況を的確に把握可能とすることを目的とする。 SUMMARY An advantage of some aspects of the invention is that it makes it possible to accurately grasp the usage status of an image forming apparatus.
本発明は、上記目的を達成するために、請求項1に記載の発明では、印刷ジョブに基づいて記録媒体に画像を形成する画像形成装置であって、印刷ジョブに基づく画像形成処理の実行時に、ネットワーク回線を介して通信可能な外部記憶装置に履歴情報を書き込むための書込処理を行う第1書込手段を備えており、第1書込手段は、印刷ジョブに基づいて画像形成される複数ページのうち、所定ページ数毎に書込処理を実行することを特徴とする。 In order to achieve the above object, the present invention provides an image forming apparatus for forming an image on a recording medium based on a print job, wherein the image forming process based on the print job is performed. And a first writing means for performing a writing process for writing history information to an external storage device communicable via a network line. The first writing means forms an image based on a print job. A writing process is executed for each predetermined number of pages among a plurality of pages.
これにより、請求項1に記載の発明では、仮に、印刷ジョブの実行途中で障害が発生した場合であっても、所定ページ毎に履歴情報が書き込まれるので、画像形成装置の使用状況を的確かつより詳細に把握することが可能となる。 Thus, according to the first aspect of the present invention, even if a failure occurs during the execution of a print job, history information is written for each predetermined page. It becomes possible to grasp in more detail.
ここで、「書込処理」とは、画像形成装置が外部記憶装置を直接的に操作して履歴情報を書き込む場合、及び画像形成装置は履歴情報を外部記憶装置に送信するのみで、実際の書込作業は外部記憶装置が行う場合のいずれの場合も含む意味である。 Here, the “writing process” means that when the image forming apparatus directly operates the external storage device to write the history information, and the image forming apparatus only transmits the history information to the external storage device. The writing operation is meant to include any case where the external storage device performs.
なお、画像形成装置が外部記憶装置を直接的に操作して履歴情報を書き込む場合には、外部記憶装置として単純な記憶装置を採用することが可能となる。
また、所定のページ数を、例えば、1ページ又は2ページとする場合等が考えられるが、仮に、画像形成をすべき総ページ数が非常に大きい場合には、請求項2に記載の構成を採用するとよい。
When the image forming apparatus directly operates the external storage device to write history information, a simple storage device can be adopted as the external storage device.
The predetermined number of pages may be, for example, one page or two pages. However, if the total number of pages on which image formation is to be performed is very large, the configuration according to claim 2 may be used. Adopt it.
また、請求項1に記載の発明において、「第1書込手段は、印刷ジョブに基づいて画像形成される複数ページのうち、所定ページ数毎に書込処理を実行する」とは、所定ページ数を一単位として、この一単位分の画像形成前及び画像形成後に書込処理を実行することを意味している。
これにより、請求項1に記載の発明では、画像形成装置の使用状況を的確かつより詳細に把握することが可能となる。
また、請求項1に記載の発明では、一単位分の画像形成処理の実行前に第1書込手段により書込処理が成功したことを条件として当該一単位分の画像形成処理を実行し、第1書込手段による書込処理が失敗した場合には画像形成処理を実行しないことを特徴とするものであるので、履歴情報が残されずに印刷ジョブが実行されることがなく、画像形成装置の使用状況をより的確に把握することができる。
Further, in the first aspect of the invention , “the first writing unit executes a writing process for each predetermined number of pages among a plurality of pages on which an image is formed based on a print job” means that a predetermined page the number as a unit, that has means executing the write processing after imaging before and image formation of one unit.
Thus, according to the first aspect of the present invention, the use status of the image forming apparatus can be grasped accurately and in detail.
According to the first aspect of the present invention, the image forming process for one unit is executed on condition that the writing process is successful by the first writing unit before the image forming process for one unit is executed, Since the image forming process is not executed when the writing process by the first writing unit fails, the print job is not executed without the history information remaining, and the image forming apparatus It is possible to more accurately grasp the usage status.
また、請求項2に記載の発明では、第1書込手段は、一単位分の画像形成処理の実行前に書き込まれた履歴情報が記憶されている記憶領域に、一単位分の画像形成処理の実行後の履歴情報を上書きすることを特徴とする。 According to a second aspect of the present invention, the first writing means stores the image forming process for one unit in a storage area in which history information written before execution of the image forming process for one unit is stored. The history information after execution is overwritten.
これにより、請求項2に記載の発明では、一単位分の画像形成処理が正常終了したときには、一単位分の画像形成処理の実行後の履歴情報のみとなるので、一単位分の画像形成処理で必要とする履歴情報を記憶するための領域が過度に大きくなることを防止できる。 Thus, according to the second aspect of the present invention, when the image forming process for one unit is normally completed, only the history information after the execution of the image forming process for one unit is obtained. Thus, it is possible to prevent the area for storing the history information required in the process from becoming excessively large.
また、請求項3に記載の発明では、第1書込手段は、一単位分の画像形成処理の実行前に書き込まれた履歴情報が記憶されている記憶領域に、一単位分の画像形成処理の実行後の履歴情報を追記することを特徴とする。 According to a third aspect of the present invention, the first writing means stores the image forming process for one unit in a storage area in which history information written before the execution of the image forming process for one unit is stored. The history information after the execution of is added.
これにより、請求項3に記載の発明では、一単位分の画像形成処理が正常終了したときには、1つの記憶領域(レコード)に、一単位分の画像形成処理の実行前及び実行後の履歴情報が書き込まれるので、一単位分の画像形成処理で必要とする履歴情報を記憶するための領域(レコード)の数が過度に大きくなることを防止できる。
Thus, in the invention according to
なお、請求項4に記載の発明では、印刷ジョブに基づく画像形成処理の終了後に、外部記憶装置に履歴情報を書き込むための書込処理を行う第2書込手段を備えることを特徴とするものである。 According to a fourth aspect of the present invention, there is provided a second writing means for performing a writing process for writing history information in the external storage device after the image forming process based on the print job is completed. It is.
また、請求項5に記載の発明では、第2書込手段は、履歴情報を書き込む際に第1書込手段により書き込まれた履歴情報を削除するので、履歴情報を記憶するために必要な記憶領域が過度に大きくなってしまうことを防止できる。
In the invention described in
また、請求項6に記載の発明では、第1書込手段及び第2書込手段による書込処理のうち、少なくとも一方の書込処理が失敗したときに、その失敗した書込処理にて外部記憶装置に書き込まれる予定であった履歴情報を記憶する履歴情報記憶手段と、履歴情報記憶手段に履歴情報が記憶されている場合に、その記憶されている履歴情報を外部記憶装置に書き込むための書込処理を行う第3書込手段とを備えることを特徴とする。 In the invention according to claim 6 , when at least one of the writing processes by the first writing means and the second writing means fails, the failed writing process is externally executed. History information storage means for storing history information that was scheduled to be written to the storage device, and when history information is stored in the history information storage means, for writing the stored history information to the external storage device And a third writing means for performing a writing process.
これにより、請求項6に記載の発明では、履歴情報を確実に外部記憶装置に残すことができる。
なお、請求項7に記載の発明では、第3書込手段は、印刷ジョブに基づく画像形成処理の実行前に書込処理を実行することを特徴とすることを特徴とするものである。
Thus, according to the sixth aspect of the invention, history information can be reliably left in the external storage device.
According to a seventh aspect of the present invention, the third writing means executes the writing process before executing the image forming process based on the print job.
請求項8に記載の発明では、請求項1ないし7のいずれか1つに記載の画像形成装置と、画像形成装置にネットワーク回線を介して接続された外部記憶装置とを備えることを特徴とするものである。 In the invention described in 請 Motomeko 8, and comprising: the image forming apparatus according to any one of claims 1 to 7, and an external storage device connected via a network line to the image forming apparatus To do.
本実施形態は、本発明に係る画像形成装置1を、画像読取機能(スキャナ機能)等の画像形成機能以外の機能を兼ね備えた複合機に適用したものであり、以下に本発明の実施形態を図面と共に説明する。 In the present embodiment, the image forming apparatus 1 according to the present invention is applied to a multifunction machine having a function other than an image forming function such as an image reading function (scanner function). The embodiment of the present invention will be described below. It will be described with reference to the drawings.
(第1実施形態)
1.図面の説明
図1は、本実施形態に係る画像形成装置1の概要を示すブロック図であり、図2はメイン処理を示すフローチャートであり、図3はログ送信処理1を示すフローチャートであり、図4はログ送信処理2を示すフローチャートであり、図5(a)〜図5(d)及び図6はログの書込例を示す図である。
(First embodiment)
1. FIG. 1 is a block diagram showing an outline of an image forming apparatus 1 according to the present embodiment, FIG. 2 is a flowchart showing main processing, and FIG. 3 is a flowchart showing log transmission processing 1. 4 is a flowchart showing the log transmission process 2, and FIGS. 5A to 5D and 6 are diagrams showing log writing examples.
2.画像形成装置の概要(図1参照)
本実施形態に係る画像形成装置1では、図1に示すように、記録用紙等の記録媒体(以下、用紙という。)に画像を形成する画像形成部3に加えて、原稿に記載されている画像を読み取る画像読取部5が設けられている。
2. Outline of image forming apparatus (see FIG. 1)
In the image forming apparatus 1 according to the present embodiment, as shown in FIG. 1, in addition to an
また、記憶部7は、画像読取部5にて読み取られた画像電子データ等を記憶する記憶手段であり、この記憶部7は、フラッシュメモリやHDD等の電力供給が停止したときであっても記憶内容を保持することができる不揮発性記憶装置にて構成されている。
The
操作部9はユーザの操作を受け付けるユーザ入力手段をなすものであり、表示部11はユーザに対して各種の情報を報知・伝達するための報知手段である。なお、本実施形態に係る表示部11は、LCD等の画像を表示するための表示手段を介してユーザに各種情報を報知・伝達する。
The operation unit 9 serves as user input means for accepting user operations, and the
LAN用通信部13は、イーサネット(登録商標)等のネットワーク回線を介してファイルサーバ(例えば、CIFS(Common Internet File System)サーバ)等の外部記憶装置20やコンピュータ21と通信するためのネットワークインターフェース部である。
The
そして、画像形成部3、画像読取部5、記憶部7、操作部9、表示部11及びLAN用通信部13等の作動は、制御部15により制御される。なお、制御部15は、CPU、ROM及びRAM等からなる周知のマイクロコンピュータにて構成されたものであり、制御部15(CPU)は、ROM等の記憶手段に予め記憶されたプログラムに従って画像形成部3等を制御する。
The operations of the
3.本実施形態に係る画像形成装置の特徴的作動(図2〜図6参照)
3.1.作動の概要
本実施形態に係る画像形成装置1は、画像形成装置1に対して印刷(画像形成)指令がされたときに、その印刷指令の対象となっている印刷ジョブに基づく印刷処理の実行前に、LAN用通信部13を介して通信可能な外部記憶装置20に履歴情報(ログ)を書き込むための書込処理(以下、この書込処理を第1書込処理という。)を行うとともに、その印刷ジョブに基づく印刷処理の終了後に、外部記憶装置20に履歴情報(ログ)を書き込むための書込処理(以下、この書込処理を第2書込処理という。)を行うことを主な特徴とするものである。
3. Characteristic operation of the image forming apparatus according to the present embodiment (see FIGS. 2 to 6)
3.1. Overview of Operation The image forming apparatus 1 according to the present embodiment executes a printing process based on a print job that is a target of the print command when the print (image formation) command is issued to the image forming apparatus 1. Before performing a writing process (hereinafter, this writing process is referred to as a first writing process) for writing history information (log) to the
なお、「印刷ジョブに基づく印刷処理」とは、LAN用通信部13を介してコンピュータ21に送信された印刷ジョブ、又は外部のコンピュータを介さずに直接的に印刷(ダイレクト印刷)指令がされたときの印刷ジョブの内容に基づいて、画像形成部3にて用紙に画像を形成(印刷)するための処理をいう。
Note that “print processing based on a print job” means that a print job transmitted to the
3.2.詳細作動
3.2.1.メイン処理
図2は、「作動の概要」で説明した「書込処理」を実行するためのメイン処理を示すフローチャートであり、以下、コンピュータ21から印刷指令がされた場合を例にメイン処理を説明する。
3.2. Detailed operation 3.2.1. Main Process FIG. 2 is a flowchart showing a main process for executing the “writing process” described in “Overview of Operation”. The main process will be described below by taking a case where a print command is issued from the
なお、メイン処理(図2)を実行するためのプログラムは、ROMに予め記憶されており、コンピュータ21からの印刷指令を画像形成装置1が受け付けた時にROMから読み込まれて制御部15(CPU)にて実行される。
A program for executing the main processing (FIG. 2) is stored in advance in the ROM, and is read from the ROM when the image forming apparatus 1 receives a print command from the
そして、メイン処理が起動されると、先ず、第1書込処理を実行するためのログ送信処理1(ログ送信処理1の詳細は後述する。)が実行された後(S1)、ログ送信処理1にて設定されたフラグに基づいて、外部記憶装置20への履歴情報(以下、ログと記す。)の書き込みが成功したか否かが判定される(S3)。 When the main process is started, first, after log transmission process 1 for executing the first writing process (details of the log transmission process 1 will be described later) is executed (S1), the log transmission process is performed. Based on the flag set in 1, it is determined whether or not the history information (hereinafter referred to as a log) has been successfully written to the external storage device 20 (S3).
このとき、外部記憶装置20へのログの書き込みが失敗したと判定された場合には(S3:NO)、印刷指令の対象となっている印刷ジョブに基づく印刷処理の実行が中止された後(S41)、メイン処理が終了する。
At this time, if it is determined that the log writing to the
一方、外部記憶装置20へのログの書き込みが成功したと判定された場合には(S3:YES)、印刷ジョブに基づいて印刷すべき印刷物の総ページ数(総枚数)が計数されるとともに(S5)、その計数された総ページ数が第1所定ページ数(本実施形態では、10ページ)以下であるか否かが判定される(S7)。
On the other hand, when it is determined that the log writing to the
そして、S5にて計数された総ページ数が第1所定ページ数以下であると判定された場合には(S7:YES)、1ページを一単位として、この一単位分の印刷処理の実行前及び実行後にログを書き込むための書込処理が実行される(S9、S23〜S29)。 If it is determined that the total number of pages counted in S5 is equal to or less than the first predetermined number of pages (S7: YES), one page is regarded as one unit before the printing process for one unit is executed. And the writing process for writing a log after execution is performed (S9, S23-S29).
すなわち、1ページが一単位として決定された後(S9)、一単位分の印刷処理が実行される前に、その一単位分の印刷処理が開始されることを意味するページログを外部記憶装置20に書き込むためにログ送信処理2(詳細は後述する。)が実行される(S23)。 That is, after one page is determined as one unit (S9), before the printing process for one unit is executed, a page log indicating that the printing process for one unit is started is stored in the external storage device. In order to write to 20, log transmission processing 2 (details will be described later) is executed (S23).
なお、書き込まれるページログには、印刷処理の対象となる一単位に含まれるページのうち、最初に印刷されるページを特定する文字列(例えば、ページ番号)が含まれる。
そして、ログ送信処理2(S23)が終了すると、ログ送信処理2にて設定されたフラグに基づいて、外部記憶装置20へのページログの書き込みが成功したか否かが判定され(S25)、ページログの書き込みが失敗したと判定された場合には(S25:NO)、印刷指令の対象となっている印刷ジョブに基づく印刷処理の実行が中止された後(S41)、メイン処理が終了する。
Note that the written page log includes a character string (for example, a page number) that identifies a page to be printed first among pages included in one unit to be printed.
When the log transmission process 2 (S23) ends, it is determined whether or not the page log has been successfully written to the
一方、外部記憶装置20へのページログの書き込みが成功したと判定された場合には(S25:YES)、一単位分の印刷処理が開始され(S27)、その一単位分の印刷処理が終了すると、一単位分の印刷処理が完了したことを意味するページログを外部記憶装置20に書き込むためにログ送信処理2が実行される(S29)。 On the other hand, when it is determined that the page log has been successfully written to the external storage device 20 (S25: YES), the printing process for one unit is started (S27), and the printing process for one unit is completed. Then, a log transmission process 2 is executed in order to write a page log indicating that the printing process for one unit is completed in the external storage device 20 (S29).
なお、書き込まれるページログには、印刷処理の対象となった一単位に含まれるページのうち、最後に印刷されたページを特定する文字列(例えば、ページ番号)が含まれる。
そして、S29によるログ送信処理2が終了すると、ログ送信処理2にて設定されたフラグに基づいて、外部記憶装置20へのページログの書き込みが成功したか否かが判定され(S31)、ページログの書き込みが失敗したと判定された場合には(S31:NO)、印刷指令の対象となっている印刷ジョブに基づく印刷処理の実行が中止された後(S41)、メイン処理が終了する。
The written page log includes a character string (for example, a page number) that identifies the last printed page among the pages included in one unit that is the target of the printing process.
When the log transmission process 2 in S29 ends, it is determined whether or not the page log has been successfully written to the
一方、外部記憶装置20へのページログの書き込みが成功したと判定された場合には(S31:YES)、全てのページについて印刷が完了したか否かが判定され(S33)、全てのページについて印刷が完了したと判定された場合には(S33:YES)、第2書込処理を実行するためのログ送信処理1が実行された後(S35)、メイン処理が終了する。 On the other hand, when it is determined that the page log has been successfully written to the external storage device 20 (S31: YES), it is determined whether or not printing has been completed for all pages (S33). If it is determined that printing has been completed (S33: YES), the log transmission process 1 for executing the second writing process is executed (S35), and then the main process ends.
一方、全てのページについて印刷が完了していないと判定された場合には(S33:NO)、再び、S23が実行され、次に印刷対象となる一単位について印刷処理が開始されることを示すページログが書き込まれる。 On the other hand, if it is determined that printing has not been completed for all pages (S33: NO), S23 is executed again, indicating that printing processing is started for one unit to be printed next. A page log is written.
なお、次に印刷対象となる一単位とは、既に印刷処理が完了した一単位に含まれるページのうち、最後に印刷されるページの次に印刷されるべきページを含む一単位である。
また、S5にて計数された総ページ数が第1所定ページ数より大きいと判定された場合には(S7:NO)、その総ページ数が第1所定ページ数より大きい第2所定ページ数(本実施形態では、100ページ)未満であるか否かが判定される(S11)。
The unit to be printed next is a unit including a page to be printed next to a page to be printed last among pages included in one unit that has already been printed.
When it is determined that the total number of pages counted in S5 is larger than the first predetermined page number (S7: NO), the second predetermined page number (the total page number is larger than the first predetermined page number). In this embodiment, it is determined whether or not it is less than 100 pages (S11).
そして、総ページ数が第2所定ページ数未満であると判定された場合には(S11:YES)、例えば5ページを一単位として、この一単位分の印刷処理の実行前及び実行後にログを書き込むための書込処理が実行される(S13、S23〜S29)。 If it is determined that the total number of pages is less than the second predetermined number of pages (S11: YES), for example, 5 pages are taken as one unit, and a log is recorded before and after the execution of the printing process for one unit. Write processing for writing is executed (S13, S23 to S29).
なお、5ページを一単位とした場合は、第1ページ、第6ページ、第11ページ、第16ページ、第21ページ・・・・・第(5n+1)ページの印刷処理が実行される前にS23が実行され、かつ、第5ページ、第10ページ、第15ページ、第20ページ、第25ページ・・・・・第5nページの印刷処理が実行された後にS29が実行される。但し、「n」は自然数を示す。 If 5 pages are taken as one unit, the first page, the sixth page, the eleventh page, the sixteenth page, the twenty-first page,... Before the (5n + 1) th page print processing is executed. After S23 is executed and the print processing of the fifth page, the tenth page, the fifteenth page, the twenty-first page, the twenty-fifth page,..., The fifth n-th page is executed, S29 is executed. However, “n” represents a natural number.
また、S11にて総ページ数が第2所定ページ数以上であると判定された場合には(S11:NO)、例えば10ページを一単位として、この一単位分の印刷処理の実行前及び実行後にログを書き込むための書込処理が実行される(S17、S23〜S29)。 If it is determined in S11 that the total number of pages is equal to or greater than the second predetermined number of pages (S11: NO), for example, 10 pages are taken as one unit before and after execution of the printing process for this unit. A writing process for writing a log later is executed (S17, S23 to S29).
なお、10ページを一単位とした場合は、第1ページ、第11ページ、第21ページ、第31ページ、第41ページ・・・・・第(10n+1)ページの印刷処理が実行される前にS23が実行され、かつ、第10ページ、第20ページ、第30ページ、第40ページ、第20ページ・・・・・第10nページの印刷処理が実行された後にS29が実行される。 When 10 pages are taken as one unit, the first page, the eleventh page, the twenty-first page, the thirty-first page, the forty-first page, and so on, before the print processing of the (10n + 1) th page is executed. After S23 is executed and the print processing of the 10th page, the 20th page, the 30th page, the 40th page, the 20th page,..., The 10th page is executed, S29 is executed.
3.2.2.ログ送信処理1(図3参照)
ログ送信処理1を実行するためのプログラムもメイン処理と同様に、ROMに予め記憶されており、ログ送信処理1の実行時にROMから読み込まれて制御部15(CPU)にて実行される。
3.2.2. Log transmission process 1 (see Fig. 3)
A program for executing the log transmission process 1 is also stored in the ROM in advance as in the main process, and is read from the ROM and executed by the control unit 15 (CPU) when the log transmission process 1 is executed.
そして、ログ送信処理1が起動されると、図3に示すように、先ず、ネットワーク回線を介して外部記憶装置20への接続がされるとともに(S51)、外部記憶装置20への接続に成功したか否かが判定される(S53)。
When the log transmission process 1 is started, as shown in FIG. 3, the connection to the
このとき、外部記憶装置20への接続に失敗したと判定された場合には(S53:NO)、今回のログ送信処理1にて外部記憶装置20に書き込まれる予定であったログが記憶部7に記憶された後(S85)、外部記憶装置20へのログの書き込みに失敗したことを意味するフラグが設定されるとともに(S87)、その旨が印刷指令の発せられたコンピュータ21に送信された後(S89)、ログ送信処理1が終了する。
At this time, if it is determined that the connection to the
なお、「ログ送信処理1にて外部記憶装置20に書き込まれる予定であったログ(以下、このログをエラーログという。)」は、今回のログ送信処理1にて外部記憶装置20に書き込まれる予定であったログであり、具体的には、後述するS71又はS79にて書き込まれる予定であったログである。
The “log that was scheduled to be written to the
一方、外部記憶装置20への接続に成功したと判定された場合には(S53:YES)、ログを書き込むためのファイル(以下、ログファイルという。)が外部記憶装置20に存在しているか否かが判定され(S55)、ログファイルが存在すると判定された場合には(S55:YES)、そのログファイルが書込モードにて開かれるとともに(S59)、書込モードでのログファイルを開くことができたか否かが判定される(S61)。
On the other hand, if it is determined that the connection to the
また、ログファイルが存在しないと判定された場合には(S55:NO)、ログファイルが新規に作成された後(S57)、その作成されたログファイルが書込モードにて開かれるとともに(S59)、書込モードでのログファイルを開くことができたか否かが判定される(S61)。 When it is determined that the log file does not exist (S55: NO), after the log file is newly created (S57), the created log file is opened in the write mode (S59). ), It is determined whether or not the log file in the writing mode could be opened (S61).
このとき、書込モードでのログファイルを開くことができなかったと判定された場合には(S61:NO)、S85が実行され、一方、書込モードでのログファイルを開くことができたと判定された場合には(S61:YES)、現在のタイミングは、印刷ジョブの開始時及び印刷ジョブの完了時のいずれのタイミングであるか、つまり、第1書込処理の実行時であるか又は第2書込処理の実行時であるかが判定される(S63)。 At this time, if it is determined that the log file in the writing mode could not be opened (S61: NO), S85 is executed, while it is determined that the log file in the writing mode could be opened. If it is determined (S61: YES), the current timing is when the print job starts or when the print job is completed, that is, when the first writing process is executed or It is determined whether or not the two-writing process is being executed (S63).
そして、第1書込処理の実行時であると判定された場合には(S63:印刷ジョブの開始時)、記憶部7にエラーログが記憶されているか否かが判定され(S65)、エラーログが記憶されていると判定された場合には(S65:YES)、そのエラーログがログファイルの末尾に追記されるとともに(S67)、エラーログの書き込みに成功したか否かが判定される(S69)。なお、本実施形態では、ログをログファイルの末尾に追記する構成としているが、特に末尾に限定する必要はない。 If it is determined that the first writing process is being executed (S63: at the start of the print job), it is determined whether or not an error log is stored in the storage unit 7 (S65). If it is determined that the log is stored (S65: YES), the error log is added to the end of the log file (S67), and it is determined whether the error log has been successfully written. (S69). In the present embodiment, the log is added to the end of the log file. However, the log need not be limited to the end.
このとき、エラーログの書き込みに失敗したと判定された場合には(S69:NO)、ログ送信処理1が終了し、一方、エラーログの書き込みに成功したと判定された場合には(S69:YES)、その書き込みに成功したエラーログが記憶部7から削除されるとともに(S70)、ジョブ開始ログが今回の第1書込処理にて外部記憶装置20に書き込まれるべきログとしてログファイルに追加書き込みされる(S71)。
At this time, if it is determined that the error log writing has failed (S69: NO), the log transmission process 1 ends. On the other hand, if it is determined that the error log has been successfully written (S69: YES), the error log that has been successfully written is deleted from the storage unit 7 (S70), and the job start log is added to the log file as a log to be written to the
なお、ジョブ開始ログとは、例えば図5(a)に示すように、S71が実行された時の日付及び時刻を示す情報(「date」の下に表示された「2008/08/05」及び「time」の下に表示された「19:05」)、印刷処理が実行される印刷ジョブを特定するための情報(「name」の下に表示された「job6」)、印刷指令が発せられたコンピュータ21を特定するための情報(「host」の下に表示された「PC8」)、印刷指令をしたユーザ名(「user」の下に表示された「kawai」)、並びにその印刷ジョブに基づく印刷処理が開始される旨を含む情報(「status」の下に表示された「job start」)等の情報から構成されたものである。 Note that the job start log is, for example, as shown in FIG. 5A, information indicating the date and time when S71 is executed ("2008/08/05" displayed under "date" and “19:05” displayed under “time”), information for specifying a print job to be executed (“job6” displayed under “name”), and a print command are issued Information for identifying the computer 21 ("PC8" displayed under "host"), the name of the user who issued the print command ("kawai" displayed under "user"), and the print job Information including information indicating that a printing process based on the information is started (“job start” displayed under “status”) and the like.
そして、ジョブ開始ログの書込処理が終了すると(S71)、ジョブ開始ログの書き込みに成功したか否かが判定され(S73)、書き込みに失敗したと判定された場合には(S73:NO)、S85が実行され、一方、書き込みに成功したと判定された場合には(S73:YES)、ログの書き込みに成功した旨を意味するフラグが設定された後(S81)、ログファイルが閉じられて(S83)、ログ送信処理1が終了する。 When the job start log writing process ends (S71), it is determined whether or not the job start log has been successfully written (S73). If it is determined that the writing has failed (S73: NO). , S85 is executed. On the other hand, if it is determined that the writing is successful (S73: YES), the log file is closed after the flag indicating that the log writing is successful is set (S81). (S83), and the log transmission process 1 ends.
また、S63にて、第2書込処理の実行時であると判定された場合には(S63:印刷ジョブの完了時)、ログファイルに書き込まれているログのうち、現在、印刷処理中の印刷ジョブに関してログ送信処理2にて書き込まれたログ(以下ページログという。)の全てが検索・抽出される(S75)。 If it is determined in S63 that the second writing process is being executed (S63: when the print job is completed), among the logs written in the log file, the printing process is currently in progress. All logs (hereinafter referred to as page logs) written in the log transmission process 2 for the print job are searched and extracted (S75).
次に、S75にて検索・抽出されたページログの全てがログファイルから削除された後(S77)、現在、印刷処理中の印刷ジョブについてのジョブ開始ログがログファイルの中から検索されるとともに、そのジョブ開始ログが記憶されている記憶領域(レコード)にジョブ完了ログが第2書込処理にて書き込まれるログとして上書きされ(S79)、S73が実行される。 Next, after all the page logs searched / extracted in S75 are deleted from the log file (S77), the job start log for the print job currently being printed is searched from the log file. The job completion log is overwritten as a log written in the second writing process in the storage area (record) in which the job start log is stored (S79), and S73 is executed.
なお、ジョブ完了ログとは、例えば図5(d)に示すように、S79が実行された時の日付及び時刻を示す情報(「date」の下に表示された「2008/08/05」及び「time」の下に表示された「19:06」)、印刷処理が実行される印刷ジョブを特定するための情報(「name」の下に表示された「job6」)、印刷指令が発せられたコンピュータ21を特定するための情報(「host」の下に表示された「PC8」)、印刷指令をしたユーザ名(「user」の下に表示された「kawai」)、その印刷ジョブに基づく印刷処理が終了(完了)される旨を含む情報(「status」の下に表示された「finish」)、並びにその印刷ジョブが正常に完了したことを示す情報(「result」の下に表示された「OK」)等の情報から構成されたものである。 Note that the job completion log is, for example, as shown in FIG. 5D, information indicating the date and time when S79 is executed (“2008/08/05” and “date” displayed under “date”). “19:06” displayed under “time”), information for specifying a print job to be executed (“job6” displayed under “name”), and a print command are issued Information for identifying the computer 21 ("PC8" displayed under "host"), the name of the user who issued the print command ("kawai" displayed under "user"), and the print job Information ("finish" displayed under "status") that indicates that the printing process is completed (completed), and information indicating that the print job has been completed normally (displayed under "result") Was "OK") is one that is constructed from information such as.
3.2.3.ログ送信処理2(図4参照)
ログ送信処理2を実行するためのプログラムもメイン処理と同様に、ROMに予め記憶されており、ログ送信処理2の実行時にROMから読み込まれて制御部15(CPU)にて実行される。
3.2.3. Log transmission process 2 (see Fig. 4)
The program for executing the log transmission process 2 is also stored in advance in the ROM like the main process, and is read from the ROM when the log transmission process 2 is executed and executed by the control unit 15 (CPU).
そして、ログ送信処理2が起動されると、図4に示すように、先ず、ネットワーク回線を介して外部記憶装置20への接続がされるとともに(S91)、外部記憶装置20への接続に成功したか否かが判定される(S93)。
When the log transmission process 2 is started, as shown in FIG. 4, first, the connection to the
このとき、外部記憶装置20への接続に失敗したと判定された場合には(S93:NO)、今回のログ送信処理2にて外部記憶装置20に書き込まれる予定であったログがエラーログとして記憶部7に記憶される(S107)。
At this time, if it is determined that the connection to the
そして、外部記憶装置20へのログの書き込みに失敗したことを意味するフラグが設定されるとともに(S109)、その旨が印刷指令の発せられたコンピュータ21に送信された後(S111)、ログ送信処理2が終了する。なお、エラーログは、具体的には、後述するS99にて書き込まれる予定であったログである。
Then, a flag indicating that the log writing to the
一方、外部記憶装置20への接続に成功したと判定された場合には(S93:YES)、ログファイルが書込モードにて開かれるとともに(S95)、書込モードでのログファイルを開くことができたか否かが判定される(S97)。
On the other hand, when it is determined that the connection to the
このとき、書込モードでのログファイルを開くことができなかったと判定された場合には(S97:NO)、S107が実行され、一方、書込モードでのログファイルを開くことができたと判定された場合には(S97:YES)、ページログが今回のログ送信処理2にて外部記憶装置20に書き込まれるべきログとしてログファイルに追加書き込みされる(S99)。
At this time, if it is determined that the log file in the writing mode could not be opened (S97: NO), S107 is executed, while it is determined that the log file in the writing mode could be opened. If it is (S97: YES), the page log is additionally written to the log file as a log to be written to the
なお、ページログとは、例えば図5(b)及び図5(c)に示すように、S99が実行された時の日付及び時刻(「date」の下に表示された「2008/08/05」及び「time」の下に表示された「19:05」)、一単位分の印刷処理の実行前を示す情報(「status」の下に表示された「page1 start」等)及び一単位分の印刷処理の実行後を示す情報(「status」の下に表示された「page1 end」等)、並びに一単位分の印刷処理が終了したことを示す情報(「result」の下に表示された「OK」)等を含む情報から構成されたものである。 The page log is, for example, as shown in FIG. 5B and FIG. 5C, the date and time when S99 is executed (“2008/08/05” displayed under “date”). "19:05" displayed under "time" and "time"), information indicating the execution before printing processing for one unit (such as "page1 start" displayed under "status") and one unit Information indicating that the printing process has been executed (such as “page1 end” displayed under “status”), and information indicating that one unit of printing processing has been completed (displayed under “result”) “OK”) and the like.
なお、図5(b)及び図5(c)については、1ページを一単位としてページログが書き込まれた場合の例である。このため、複数ページを一単位としてページログが書き込まれた場合には、「page1 start」は、「block1 page1 start」又は「part1 page1 start」と書き込まれ、「page1 end」は「block1 page[n] end」又は「part1 page[n] end」と書き込まれる。 Note that FIGS. 5B and 5C are examples in which a page log is written with one page as a unit. Therefore, when a page log is written with a plurality of pages as a unit, “page1 start” is written as “block1 page1 start” or “part1 page1 start”, and “page1 end” is “block1 page [n ] End ”or“ part1 page [n] end ”.
なお、[n]は、一単位を構成するページ数となる。つまり、ページログには、一単位として区分されたページのうち、最初に印刷処理されるページのページ番号が、この一単位が印刷処理されることを示す「start」の文字列とともに書き込まれ、その一単位の印刷処理が完了した場合には、その一単位として区分されたページのうち、最後に印刷処理されたページのページ番号が、この一単位の印刷処理が終了したこと示す「end」の文字列とともに書き込まれる。 [N] is the number of pages constituting one unit. That is, in the page log, the page number of the page to be printed first among the pages classified as one unit is written together with the character string “start” indicating that this one unit is printed, When the printing process of one unit is completed, the page number of the page that has been printed last among the pages classified as the unit is “end” indicating that the printing process of one unit has been completed. It is written with the character string.
そして、ページログの書込処理が終了すると(S99)、ページログの書き込みに成功したか否かが判定され(S101)、書き込みに失敗したと判定された場合には(S101:NO)、S107が実行され、一方、書き込みに成功したと判定された場合には(S101:YES)、ログの書き込みに成功した旨を意味するフラグが設定された後(S103)、ログファイルが閉じられて(S105)、ログ送信処理2が終了する。 When the page log writing process ends (S99), it is determined whether the page log writing is successful (S101). If it is determined that the writing has failed (S101: NO), S107 is performed. On the other hand, if it is determined that the writing has succeeded (S101: YES), the log file is closed (S103) after the flag indicating that the log writing has been successful is set (S103). S105), the log transmission process 2 ends.
3.2.3.印刷処理とログの変遷
以上に説明したように、本実施形態では、先ず、ログ送信処理1により、図5(a)に示すログが外部記憶装置20に書き込まれ、次に、ログ送信処理2により、ページログが、図5(b)→図5(c)の順に示すようにログフィルに書き込まれていく。
3.2.3. As described above, in the present embodiment, the log shown in FIG. 5A is first written to the
そして、印刷ジョブが正常に完了すると、全てのページログが削除されるとともに、ジョブ開始ログが記憶されている記憶領域にジョブ完了ログが上書きされて終了する。
すなわち、印刷ジョブが正常に完了した場合には、印刷処理がされた印刷ジョブのジョブ完了ログのみがログファイルに残り、一方、印刷ジョブが正常に完了しなかった場合には、図5(a)〜図5(c)のいずれかで示す状態、つまりジョブ開始ログ又はページログがログファイルに残り、ジョブ完了ログが残っていない状態となる。
When the print job is normally completed, all page logs are deleted, and the job completion log is overwritten in the storage area in which the job start log is stored, and the process ends.
That is, when the print job is completed normally, only the job completion log of the print job that has undergone the printing process remains in the log file. On the other hand, when the print job does not complete normally, FIG. ) To FIG. 5C, that is, the job start log or page log remains in the log file, and the job completion log does not remain.
また、ログ送信処理1にてエラーログとして記憶部7に記憶されたログ、及びログ送信処理2にてエラーログとして記憶部7に記憶されたログは共に、ログ送信処理1の実行時(ジョブ開始ログを外部記憶装置20に書き込む直前)に外部記憶装置20に書き込まれる。
Both the log stored in the
4.本実施形態に係る画像形成装置の特徴
本実施形態では、印刷ジョブに基づく印刷処理(画像形成処理)の実行前に、外部記憶装置20にジョブ開始ログを書き込むとともに、印刷処理の終了後に、外部記憶装置20にジョブ完了ログを書き込むので、仮に、印刷ジョブの実行途中で障害が発生した場合であって、少なくともジョブ開始ログが外部記憶装置20に残るので、画像形成装置1の使用状況を的確に把握することが可能となる。
4). Features of Image Forming Apparatus According to this Embodiment In this embodiment, a job start log is written in the
ここで、「書込処理」とは、画像形成装置1が外部記憶装置20を直接的に操作して履歴情報を書き込む場合、及び画像形成装置1はジョブ開始ログ等の履歴情報を外部記憶装置20に送信するのみで、実際の書込作業は外部記憶装置20が行う場合のいずれの場合も含む意味である。
Here, “writing process” refers to a case where the image forming apparatus 1 directly operates the
なお、画像形成装置が外部記憶装置20を直接的に操作して履歴情報を書き込む場合には、外部記憶装置20として単純な記憶装置を採用することが可能となる。
また、本実施形態では、ジョブ開始ログは、少なくとも、印刷処理が実行される印刷ジョブを特定するための情報及びその印刷ジョブに基づく印刷処理が開始される旨を含む情報から構成され、かつ、ジョブ完了ログは、少なくとも、印刷処理が終了した印刷ジョブを特定するための情報及びその印刷ジョブに基づく印刷処理が終了した旨を含む情報から構成されているので、画像形成装置1を管理する管理者が、外部記憶装置20に記憶されたログを確認する際に、容易に照査することが可能となる。
Note that when the image forming apparatus directly operates the
In the present embodiment, the job start log includes at least information for specifying a print job for which the print process is executed and information including that the print process based on the print job is started, and Since the job completion log includes at least information for specifying a print job for which print processing has been completed and information that indicates that print processing based on the print job has been completed, management for managing the image forming apparatus 1 When a person checks the log stored in the
また、本実施形態では、ジョブ完了ログの書き込みに失敗したときには、その失敗した書込処理にて外部記憶装置20に書き込まれる予定であったログをエラーログとして記憶し、エラーログが記憶されている場合には、その記憶されているエラーログを、次回の書込処理時に書き込むので、ジョブ完了ログを確実に外部記憶装置20に残すことができる。
Further, in this embodiment, when the job completion log writing fails, the log that was scheduled to be written to the
また、本実施形態では、ジョブ完了ログは、ジョブ開始ログが記憶されている記憶領域に上書きされるので、印刷処理が正常に完了したときには、図6に示すように、ログファイルにはジョブ完了ログのみが残る。このため、1つの印刷ジョブで必要とするログを記憶するための領域が過度に大きくなることを防止できる。 In this embodiment, the job completion log is overwritten on the storage area in which the job start log is stored. Therefore, when the printing process is normally completed, as shown in FIG. Only logs remain. For this reason, it is possible to prevent an excessively large area for storing a log required for one print job.
また、本実施形態では、ジョブ開始ログの外部記憶装置20への書き込みが成功した場合には印刷処理が実行され、一方、ジョブ開始ログの外部記憶装置20への書き込みが失敗した場合には印刷処理が実行されないので、ログが残されずに印刷ジョブが実行されることがなく、画像形成装置1の使用状況をより的確に把握することができる。
In this embodiment, the printing process is executed when the job start log has been successfully written to the
したがって、印刷枚数等に応じてユーザに対して課金を行う印刷システムに本実施形態に係る画像形成装置1を用いれば、特に、有効である。
また、本実施形態では、印刷ジョブに基づく印刷処理の実行時に、印刷ジョブに基づき印刷処理される複数ページのうち、所定ページ数を一単位として、この一単位分の印刷の実行前及び実行後にページログを外部記憶装置20に書き込む。そのため、仮に、印刷ジョブの実行途中で障害が発生した場合であっても、ページログが外部記憶装置20に残るので、画像形成装置1の使用状況を的確かつより詳細に把握することが可能となる。
Therefore, it is particularly effective to use the image forming apparatus 1 according to the present embodiment in a printing system that charges the user according to the number of printed sheets.
In the present embodiment, when a print process based on a print job is executed, a predetermined number of pages among a plurality of pages to be printed based on the print job is set as a unit before and after the execution of printing for this one unit. Write the page log to the
また、本実施形態では、印刷をすべき総ページ数に基づいて、一単位を構成する所定ページ数を決定するので、印刷をすべき総ページ数が非常に大きい場合に、ページログを記憶するために必要な記憶領域が過度に大きくなってしまうことを防止することが可能となる。 In the present embodiment, since the predetermined number of pages constituting one unit is determined based on the total number of pages to be printed, the page log is stored when the total number of pages to be printed is very large. For this reason, it is possible to prevent the storage area necessary for this from becoming excessively large.
また、ページログを書き込む頻度を調整することにつながるので、画像形成をすべき総ページ数が非常に大きい場合に、外部記憶装置20との通信に係るトラフィックを軽減できる。
In addition, since the frequency of writing the page log is adjusted, traffic related to communication with the
また、本実施形態では、ジョブ完了ログを書き込む際にページログの全てを削除するので、ログを記憶するために必要な記憶領域が過度に大きくなってしまうことを防止できる。 Further, in the present embodiment, when the job completion log is written, the entire page log is deleted, so that it is possible to prevent the storage area necessary for storing the log from becoming excessively large.
また、本実施形態では、ページログの書き込みに失敗したときには、その失敗した書込処理にて外部記憶装置20に書き込まれる予定であったページログをエラーログとして記憶するとともに、エラーログが記憶されている場合には、その記憶されているエラーログが、次回の印刷処理時に外部記憶装置20に書き込まれるので、印刷ジョブが正常に完了しなかった場合であっても、その途中経過を示すページログを確実に外部記憶装置20に残すことができる。
In the present embodiment, when page log writing fails, the page log that was scheduled to be written to the
(第2実施形態)
第1実施形態では、一単位分の印刷処理の実行前と実行後にページログを外部記憶装置20に書き込んだが、本実施形態では、図7に示すように、一単位を構成するページ数が決定されると(S9、S13、S17)、一単位を構成する複数ページのうち、この一単位の最後のページの印刷処理の実行前及び実行後にログを書き込むための書込処理が実行される(S19〜S29)。
(Second Embodiment)
In the first embodiment, the page log is written in the
つまり、本実施形態では、K(自然数)ページを一単位とした場合は、第(K×n)ページの印刷処理の実行前及び実行後にページログが外部記憶装置20に書き込まれる。
なお、本実施形態と第1実施形態との相違点は、メイン処理のみであるので、以下、図7に示すフローチャートに従って、本実施形態と第1実施形態との相違点を中心に本実施形態を説明する。因みに、図7は第1実施形態におけるメイン処理(図2)に相当するフローチャートであり、図2と同一制御ステップについては図2と同一の符号を付した。
In other words, in this embodiment, when the K (natural number) page is used as one unit, the page log is written in the
Since the difference between the present embodiment and the first embodiment is only the main process, the present embodiment will be described below mainly on the difference between the present embodiment and the first embodiment according to the flowchart shown in FIG. Will be explained. 7 is a flowchart corresponding to the main process (FIG. 2) in the first embodiment, and the same control steps as those in FIG. 2 are denoted by the same reference numerals as those in FIG.
1.メイン処理(図7参照)
第1実施形態と同様な制御ステップを経て、一単位を構成するページ数が決定されると(S9、S13、S17)、印刷ジョブの第1ページが印刷対象ページに設定された後(S19)、その印刷対象ページに設定されたページがページログの書込処理を実行すべき書込対象ページであるか否かが判定される(S21)。
1. Main processing (see Fig. 7)
When the number of pages constituting one unit is determined through the same control steps as in the first embodiment (S9, S13, S17), the first page of the print job is set as the print target page (S19). Then, it is determined whether or not the page set as the print target page is a write target page on which the page log writing process is to be executed (S21).
なお、この判定は、上述したように、K(1以上の自然数)ページを一単位とした場合、第(K×n)ページが印刷対象ページとして設定されていた場合に、肯定判定される。
このとき、ページログの書込対象ページであると判定された場合には(S21:YES)、ログ送信処理2が実行された後(S23)、ログ送信処理2にて設定されたフラグに基づいて、外部記憶装置20へのログの書き込みが成功したか否かが判定される(S25)。
As described above, this determination is affirmative when the K (natural number greater than or equal to 1) page is set as one unit and the (K × n) th page is set as the print target page.
At this time, when it is determined that the page is a page log writing target page (S21: YES), after the log transmission process 2 is executed (S23), based on the flag set in the log transmission process 2 Thus, it is determined whether or not the log writing to the
なお、ページログには、書込対象ページを特定する文字列(例えば、ページ番号)、及び、そのページが印刷処理されることを示す「start」の文字列などが含まれる。
そして、ページログの書き込みが失敗したと判定された場合には(S25:NO)、印刷指令の対象となっている印刷ジョブに基づく印刷処理の実行が中止された後(S41)、メイン処理が終了する。
Note that the page log includes a character string (for example, a page number) for specifying a page to be written, a character string “start” indicating that the page is to be printed, and the like.
If it is determined that the page log writing has failed (S25: NO), the execution of the print process based on the print job that is the target of the print command is stopped (S41), and then the main process is performed. finish.
一方、外部記憶装置20へのページログの書き込みが成功したと判定された場合には(S25:YES)、印刷対象ページの印刷が開始され(S27)、その印刷対象ページの印刷が終了すると、ログ送信処理2が実行される(S29)。
On the other hand, when it is determined that the writing of the page log to the
なお、ページログには、書込対象ページを特定する文字列(例えば、ページ番号)、及び、そのページの印刷処理が完了したことを示す「end」の文字列などが含まれる。
そして、S29によるログ送信処理2が終了すると、ログ送信処理2にて設定されたフラグに基づいて、外部記憶装置20へのページログの書き込みが成功したか否かが判定され(S31)、ページログの書き込みが失敗したと判定された場合には(S31:NO)、印刷指令の対象となっている印刷ジョブに基づく印刷処理の実行が中止された後(S41)、メイン処理が終了する。
Note that the page log includes a character string (for example, a page number) for specifying a page to be written, a character string “end” indicating that the printing process for the page has been completed, and the like.
When the log transmission process 2 in S29 ends, it is determined whether or not the page log has been successfully written to the
一方、外部記憶装置20へのページログの書き込みが成功したと判定された場合には(S31:YES)、全てのページについて印刷が完了したか否かが判定され(S33)、全てのページについて印刷が完了したと判定された場合には(S33:YES)、第2書込処理を実行するためのログ送信処理1が実行された後(S35)、メイン処理が終了する。 On the other hand, when it is determined that the page log has been successfully written to the external storage device 20 (S31: YES), it is determined whether or not printing has been completed for all pages (S33). If it is determined that printing has been completed (S33: YES), the log transmission process 1 for executing the second writing process is executed (S35), and then the main process ends.
また、全てのページについて印刷が完了していないと判定された場合には(S33:NO)、次ページ目が印刷対象ページに設定された後(S39)、再び、S21が実行される。なお、S21にてページログの書込対象ページでないと判定された場合には(S21:NO)、S23〜S31が実行されることなく、印刷が行われ(S37)、S33が実行される。 If it is determined that printing has not been completed for all pages (S33: NO), after the next page is set as a page to be printed (S39), S21 is executed again. If it is determined in S21 that the page is not a page log writing target (S21: NO), printing is performed without executing S23 to S31 (S37), and S33 is executed.
2.本実施形態に係る画像形成装置の特徴
本実施形態も第1実施形態と同様に、所定ページ数毎にページログが書き込まれるので、画像形成装置1の使用状況を的確かつより詳細に把握することが可能となる。
2. Features of the Image Forming Apparatus According to the Present Embodiment As in the first embodiment, the page log is written every predetermined number of pages, so that the usage status of the image forming apparatus 1 can be grasped accurately and in detail. Is possible.
なお、本実施形態及び第1実施形態では、図2及び図7に示すメイン処理において、S23の処理を省略してもよい。そして、このようにすれば、記憶領域(レコード)の圧迫を防止できる。 In the present embodiment and the first embodiment, the process of S23 may be omitted in the main process shown in FIGS. In this way, compression of the storage area (record) can be prevented.
(第3実施形態)
上述の実施形態では、印刷ジョブが正常に完了した場合には、ジョブ開始ログが書き込まれた記憶領域(レコード)にジョブ完了ログを上書きしたが、本実施形態は、図8に示すように、ジョブ開始ログが書き込まれた記憶領域(レコード)にジョブ完了ログを追記するものである。
(Third embodiment)
In the above-described embodiment, when the print job is normally completed, the job completion log is overwritten on the storage area (record) in which the job start log is written. However, in the present embodiment, as illustrated in FIG. The job completion log is added to the storage area (record) in which the job start log is written.
これにより、本実施形態では、印刷処理が正常終了したときには、1つの記憶領域(レコード)にジョブ開始ログ及びジョブ完了ログが書き込まれるので、印刷ジョブで必要とするログを記憶するための記憶領域(レコード)の数が過度に大きくなることを防止できる。 As a result, in this embodiment, when the printing process is normally completed, the job start log and the job completion log are written in one storage area (record), so a storage area for storing a log required for the print job It is possible to prevent the number of (records) from becoming excessively large.
(第4実施形態)
第3実施形態では、ジョブ開始ログが書き込まれた記憶領域(レコード)にジョブ完了ログを追記したが、本実施形態は、図9に示すように、ジョブ開始ログが書き込まれた記憶領域の次の記憶領域にジョブ完了ログを追記するものである。
(Fourth embodiment)
In the third embodiment, the job completion log is added to the storage area (record) in which the job start log is written. However, in the present embodiment, as shown in FIG. In this storage area, a job completion log is added.
これにより、ログファイルを閲覧する管理者は、一のジョブの開始ログと終了ログとを関係付けて容易に確認することができる。
(第5実施形態)
本実施形態は、一単位分の印刷処理の実行前に書き込まれたページログ(以下、実行前ページログという。)が記憶されている記憶領域に、図10に示すように、その一単位分の印刷処理の実行後のページログ(以下、実行後ページログという。)を上書きするものである。
As a result, the administrator who browses the log file can easily confirm the start log and the end log of one job in relation to each other.
(Fifth embodiment)
In the present embodiment, as shown in FIG. 10, a unit log for a unit log is stored in a storage area in which a page log written before the printing process for one unit (hereinafter referred to as a pre-execution page log) is stored. The page log after execution of the printing process (hereinafter referred to as post-execution page log) is overwritten.
これにより、本実施形態では、一単位分の印刷処理が正常終了したときには、実行後ページログのみが記憶されることとなるので、一単位分の印刷処理で必要とするログを記憶するための領域が過度に大きくなることを防止できる。 As a result, in this embodiment, when the printing process for one unit is completed normally, only the post-execution page log is stored, so the log required for the printing process for one unit is stored. It is possible to prevent the area from becoming excessively large.
(第6実施形態)
本実施形態では、図11に示すように、実行前ページログが記憶されている記憶領域(レコード)に、実行後ページログを追記するものである。
(Sixth embodiment)
In the present embodiment, as shown in FIG. 11, the post-execution page log is added to the storage area (record) in which the pre-execution page log is stored.
これにより、本実施形態では、一単位分の印刷処理が正常終了したときには、1つの記憶領域(レコード)に、一単位分の印刷前及び印刷後のログが書き込まれるので、一単位分の印刷処理で必要とするログを記憶するための領域(レコード)の数が過度に大きくなることを防止できる。 Thereby, in this embodiment, when the printing process for one unit is completed normally, the log before printing for one unit and the log after printing are written in one storage area (record). It is possible to prevent the number of areas (records) for storing logs necessary for processing from becoming excessively large.
(その他の実施形態)
上述の実施形態では、ジョブ開始ログと全てのページログとが外部記憶装置20に書き込まれる構成であったが、本発明はこれに限定されるものではなく、例えば、ジョブ開始ログ及びジョブ完了ログのうち少なくとも一方のログを外部記憶装置20に書き込まない構成としてもよい。
(Other embodiments)
In the above-described embodiment, the job start log and all page logs are written to the
また、上述の実施形態では、印刷すべき総ページ数に基づいて自動的に一単位を何ページとするかが決定されたが、本発明はこれに限定されるものではなく、操作部9を介してユーザにより入力された値を一単位を構成するページ数としてもよい。 In the above-described embodiment, the number of pages is automatically determined based on the total number of pages to be printed. However, the present invention is not limited to this. The value input by the user via the interface may be the number of pages constituting one unit.
また、特定の印刷ジョブについての印刷処理を実行している際に、他の印刷ジョブの割り込み印刷処理が発生した場合には、印刷ジョブ毎にログが固まりとして表記されるように書き込むことが望ましい。 Further, when an interrupt print process of another print job occurs while executing a print process for a specific print job, it is desirable to write the log so that it is represented as a cluster for each print job. .
また、本発明は、特許請求の範囲に記載された発明の趣旨に合致するものであればよく、上述の実施形態に限定されるものではない。 Further, the present invention is not limited to the above-described embodiment as long as it meets the gist of the invention described in the claims.
1…画像形成装置、3…画像形成部、5…画像読取部、7…記憶部、9…操作部、
11…表示部、13…LAN用通信部、15…制御部、20…外部記憶装置、
21…コンピュータ。
DESCRIPTION OF SYMBOLS 1 ... Image forming apparatus, 3 ... Image forming part, 5 ... Image reading part, 7 ... Memory | storage part, 9 ... Operation part,
DESCRIPTION OF
21: Computer.
Claims (8)
印刷ジョブに基づく画像形成処理の実行時に、ネットワーク回線を介して通信可能な外部記憶装置に履歴情報を書き込むための書込処理を行う第1書込手段を備えており、
前記第1書込手段は、印刷ジョブに基づいて画像形成される複数ページのうち、所定ページ数を一単位として、この一単位分の画像形成前及び画像形成後に前記書込処理を実行し、
さらに、前記一単位分の画像形成処理の実行前に前記第1書込手段により前記書込処理が成功したことを条件として当該一単位分の画像形成処理を実行し、前記第1書込手段による書込処理が失敗した場合には画像形成処理を実行しないことを特徴とする画像形成装置。 An image forming apparatus that forms an image on a recording medium based on a print job,
A first writing unit that performs a writing process for writing history information to an external storage device that can communicate via a network line when executing an image forming process based on a print job;
The first writing unit executes the writing process before and after the image formation for one unit , with a predetermined number of pages as a unit among a plurality of pages on which an image is formed based on a print job ,
Furthermore, the image forming process for one unit is executed on the condition that the writing process is successful by the first writing unit before the image forming process for one unit is executed, and the first writing unit is executed. An image forming apparatus , wherein the image forming process is not executed when the writing process by the user fails .
前記履歴情報記憶手段に履歴情報が記憶されている場合に、その記憶されている履歴情報を前記外部記憶装置に書き込むための書込処理を行う第3書込手段と
を備えることを特徴とする請求項4又は5に記載の画像形成装置。 When at least one of the writing processes by the first writing unit and the second writing unit fails, the writing to the external storage device is scheduled in the failed writing process. History information storage means for storing the history information;
When history information is stored in the history information storage means, a third writing means for performing a writing process for writing the stored history information to the external storage device is provided. The image forming apparatus according to claim 4 or 5 .
前記画像形成装置にネットワーク回線を介して接続された前記外部記憶装置とThe external storage device connected to the image forming apparatus via a network line;
を備えることを特徴とする画像形成管理システム。An image formation management system comprising:
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008248596A JP4586915B2 (en) | 2008-09-26 | 2008-09-26 | Image forming apparatus and image forming management system |
| EP09252234A EP2172890A1 (en) | 2008-09-26 | 2009-09-21 | Image forming device and management device and management system for image forming |
| US12/565,800 US8760685B2 (en) | 2008-09-26 | 2009-09-24 | Image forming device and management system for image forming |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008248596A JP4586915B2 (en) | 2008-09-26 | 2008-09-26 | Image forming apparatus and image forming management system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010076314A JP2010076314A (en) | 2010-04-08 |
| JP4586915B2 true JP4586915B2 (en) | 2010-11-24 |
Family
ID=42207319
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008248596A Active JP4586915B2 (en) | 2008-09-26 | 2008-09-26 | Image forming apparatus and image forming management system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4586915B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5093427B2 (en) * | 2010-09-13 | 2012-12-12 | コニカミノルタビジネステクノロジーズ株式会社 | Billing management system |
| JP6362372B2 (en) * | 2014-03-19 | 2018-07-25 | キヤノン株式会社 | Image forming apparatus, control method therefor, and program |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003251892A (en) * | 2002-03-01 | 2003-09-09 | Hitachi Printing Solutions Ltd | Printer and print system |
| JP4214804B2 (en) * | 2003-03-10 | 2009-01-28 | セイコーエプソン株式会社 | Log transmission device, method and program thereof |
| JP4926748B2 (en) * | 2007-02-16 | 2012-05-09 | キヤノン株式会社 | Information processing apparatus and control method thereof |
| JP4693803B2 (en) * | 2007-03-12 | 2011-06-01 | コニカミノルタビジネステクノロジーズ株式会社 | HTTP server and program |
-
2008
- 2008-09-26 JP JP2008248596A patent/JP4586915B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010076314A (en) | 2010-04-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8300254B2 (en) | Printer | |
| JP2008238799A (en) | Image forming apparatus | |
| JP2009075634A (en) | Image processing apparatus and program | |
| US8014015B2 (en) | Print data processing system, printer, and data processing indicating apparatus | |
| JP5025101B2 (en) | Image forming apparatus, program, recording medium, control method for image forming apparatus, image forming system, and operation method for image forming system | |
| JP2006031674A (en) | Information processing apparatus and method, and program | |
| JP4586915B2 (en) | Image forming apparatus and image forming management system | |
| JP4586914B2 (en) | Image forming apparatus and image forming management system | |
| JP4981756B2 (en) | Document management system | |
| JP5574821B2 (en) | Management device, management method, and program | |
| JP4683113B2 (en) | Image forming apparatus | |
| EP2172890A1 (en) | Image forming device and management device and management system for image forming | |
| JP3622670B2 (en) | Print job management device | |
| CN108021341A (en) | Print service provides equipment, print service system and print service and provides method | |
| JP5042377B2 (en) | Operation request receiving apparatus, program, operation method of operation request receiving apparatus, and communication system | |
| CN116915919A (en) | Image forming apparatus, computer-readable storage medium, and document correction method | |
| JP2008205731A (en) | Printing system and file operation program | |
| US7640372B2 (en) | Information processing apparatus, control method thereof, program, and storage medium | |
| JP4600300B2 (en) | Printing system, printing apparatus, and print job management method | |
| US8493608B2 (en) | Image forming apparatus capable of managing job history, computer-readable recording medium storing job history management program code, and job history management method in the image forming apparatus | |
| JP4370125B2 (en) | Printing system and printing method therefor | |
| US9961232B2 (en) | Image forming device having different ways of storing preview data | |
| JP4801955B2 (en) | Electronic document approval system and method with automatic evaluation | |
| JPH09244828A (en) | Printer security system | |
| JP2008250416A (en) | Print management device and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100325 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100525 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100705 |
|
| 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: 20100810 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100823 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4586915 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130917 Year of fee payment: 3 |