JP2011128993A - Communication device and control method thereof - Google Patents
Communication device and control method thereof Download PDFInfo
- Publication number
- JP2011128993A JP2011128993A JP2009288420A JP2009288420A JP2011128993A JP 2011128993 A JP2011128993 A JP 2011128993A JP 2009288420 A JP2009288420 A JP 2009288420A JP 2009288420 A JP2009288420 A JP 2009288420A JP 2011128993 A JP2011128993 A JP 2011128993A
- Authority
- JP
- Japan
- Prior art keywords
- recording unit
- unit
- write
- communication
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1206—Improving or facilitating administration, e.g. print management resulting in increased flexibility in input data format or job format or job type
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1229—Printer resources management or printer maintenance, e.g. device status, power levels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
- G06F3/1288—Remote printer device, e.g. being remote from client or server in client-server-printer device configuration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1292—Mobile client, e.g. wireless printing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00026—Methods therefor
- H04N1/00053—Methods therefor out of service, i.e. outside of normal operation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1209—Improving or facilitating administration, e.g. print management resulting in adapted or bridged legacy communication protocols, e.g. emulation, protocol extension
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、通信装置、及びその制御方法に関する The present invention relates to a communication device and a control method thereof.
LPR(Line Printer Remote)等の印刷プロトコルをサポートしないクライアントPCがプリンタサーバを介して印刷を実行することを可能にする技術が知られている(特許文献1参照)。特許文献1によれば、プリンタサーバは、プリンタサーバの記憶部に格納されたファイルにクライアントPCが書き込んだプリントデータに基づく印刷を行うように、プリンタを制御する。そのため、クライアントPCは、NFS(Network File System)等のファイル共有プロトコルをサポートしていれば、印刷プロトコルをサポートしていなくても、プリンタサーバを介した印刷を実行可能である。 A technique is known that enables a client PC that does not support a printing protocol such as LPR (Line Printer Remote) to execute printing via a printer server (see Patent Document 1). According to Patent Document 1, the printer server controls the printer to perform printing based on print data written by the client PC in a file stored in the storage unit of the printer server. Therefore, if the client PC supports a file sharing protocol such as NFS (Network File System), the client PC can execute printing via the printer server even if the printing protocol is not supported.
また、プリンタサーバなどの制御装置の記録部に格納されたファイルに対してPCなどの通信装置が命令(コマンド)を書き込み、書き込まれたコマンドに従って制御装置が処理を実行する技術も知られている。この技術を使用すれば、通信装置は、ファイル共有プロトコルをサポートしていれば、制御装置の制御プロトコルをサポートしていなくても、制御装置にコマンドに従った処理を実行させることができる。一例として、上述した印刷プロトコルをサポートしないクライアントPCは、プリントデータに基づく印刷をプリンタサーバに実行させることに加えて、プリンタの動作状態の取得や詳細な印刷設定等をプリンタサーバに実行させることができる。 A technique is also known in which a communication device such as a PC writes a command (command) to a file stored in a recording unit of a control device such as a printer server, and the control device executes processing according to the written command. . If this technology is used, the communication device can cause the control device to execute processing in accordance with the command even if it does not support the control protocol of the control device as long as it supports the file sharing protocol. As an example, a client PC that does not support the printing protocol described above may cause the printer server to execute acquisition of a printer operating state, detailed print settings, and the like in addition to causing the printer server to perform printing based on print data. it can.
上述した制御装置の記録部が書き込み禁止に設定されている場合、通信装置は、記録部に格納されたファイルを介して制御装置にコマンドを受け渡すことができない。そのため、例えば通信装置のユーザが制御装置の記録部が書き込み禁止に設定されていることを知らずに、制御装置に何らかのコマンドに従った処理を実行させようと通信装置を操作する可能性があり、この場合、例えば書き込みエラーが発生する。しかしながら、「制御装置に処理を実行させること」を目的として通信装置を操作したユーザにとっては、「記録部に対する書き込み」は直接の目的ではない。そのため、ユーザは、書き込みエラーが発生した原因を理解できず、結果として、制御装置による処理が正常に実行されない原因を理解できない可能性がある。また、書き込みエラーが発生した原因をユーザが理解できる場合であっても、制御装置に何らかのコマンドに従った処理を実行させようと通信装置を実際に操作して初めて、ユーザは制御装置がコマンドを受け付けられないということを知ることになる。このような事態は、制御装置の利便性を損ねる可能性がある。 When the recording unit of the control device described above is set to write prohibition, the communication device cannot pass a command to the control device via a file stored in the recording unit. Therefore, for example, the user of the communication device may operate the communication device to cause the control device to execute processing according to some command without knowing that the recording unit of the control device is set to write-protection, In this case, for example, a write error occurs. However, “writing to the recording unit” is not a direct purpose for a user who operates the communication device for the purpose of “making the control device execute processing”. Therefore, the user cannot understand the cause of the writing error, and as a result, there is a possibility that the user cannot understand the reason why the processing by the control device is not executed normally. Even if the user can understand the cause of the write error, the user does not execute the command until the control device actually operates the communication device to cause the control device to execute a process according to some command. You will know that it is not accepted. Such a situation may impair the convenience of the control device.
本発明はこのような状況に鑑みてなされたものであり、制御装置の記録部に対して制御装置が使用するコマンドを書き込む通信装置の利便性を向上させる技術を提供することを目的とする。 The present invention has been made in view of such a situation, and an object of the present invention is to provide a technique for improving the convenience of a communication device that writes a command used by a control device to a recording unit of the control device.
上記課題を解決するために、第1の本発明は、記録部を有し当該記録部に書き込まれた命令に従って処理を実行する制御装置と通信する通信手段と、ユーザによる命令の選択を受け付ける受け付け手段と、前記選択された命令を前記記録部に書き込む書き込み手段と、を備える通信装置であって、前記通信手段を介した前記制御装置との接続を検知する検知手段と、前記接続が検知されると、前記記録部が書き込み禁止に設定されているか否かを判定する判定手段と、前記記録部が書き込み禁止に設定されていると判定された場合に、ユーザにその旨を通知する通知手段と、を備えることを特徴とする通信装置を提供する。 In order to solve the above-described problem, the first aspect of the present invention provides a communication unit that has a recording unit and communicates with a control device that executes processing according to an instruction written in the recording unit, and accepts an instruction selected by a user. And a writing unit for writing the selected command to the recording unit, the detecting unit detecting a connection with the control unit via the communication unit, and the connection is detected. Then, a determination unit that determines whether or not the recording unit is set to write-protection, and a notification unit that notifies the user when it is determined that the recording unit is set to write-protection And a communication device characterized by comprising:
なお、その他の本発明の特徴は、添付図面及び以下の発明を実施するための形態における記載によって更に明らかになるものである。 Other features of the present invention will become more apparent from the accompanying drawings and the following description of the preferred embodiments.
以上の構成により、本発明によれば、制御装置の記録部に対して制御装置が使用するコマンドを書き込む通信装置の利便性を向上させることが可能となる。 With the above configuration, according to the present invention, it is possible to improve the convenience of the communication device that writes the command used by the control device to the recording unit of the control device.
以下、添付の図面を参照して、本発明の実施形態を説明する。以下の各実施形態では、本発明の通信装置の例としてモバイルPC(パーソナルコンピュータ)を用いる。また、モバイルPCは、制御装置の一例であるプリンタサーバと通信するものとする。しかしながら、通信装置及び制御装置の例はこれに限定されない。例えば、通信装置としてデジタルカメラなどを、制御装置としてファイルサーバなどを、それぞれ使用することもできる。なお、以下の各実施形態を適宜組み合わせることも可能である。 Embodiments of the present invention will be described below with reference to the accompanying drawings. In the following embodiments, a mobile PC (personal computer) is used as an example of the communication apparatus of the present invention. The mobile PC communicates with a printer server which is an example of a control device. However, examples of the communication device and the control device are not limited to this. For example, a digital camera or the like can be used as a communication device, and a file server or the like can be used as a control device. Note that the following embodiments may be combined as appropriate.
[第1の実施形態]
図1は、第1の実施形態に係るモバイルPC100及びプリンタサーバ200の構成を示すブロック図である。モバイルPC100は通信部160を、プリンタサーバ200は通信部260をそれぞれ備え、通信部160と通信部260とは通信回線500を介して接続可能である。通信部160及び通信部260が使用する通信方式は任意であるが、本実施形態では、有線通信方式を前提としたブロック図を用いる。
[First Embodiment]
FIG. 1 is a block diagram illustrating configurations of the
モバイルPC100において、CPU110は、プロセッサコアや、IO汎用ポート、AD変換機などの周辺回路を含んでおり、プログラムの実行が可能である。CPU110には、一次記憶装置であるRAM140、及び、プログラムが格納されている二次記憶装置であるROM150が接続されている。記録部170は、画像ファイルや文書ファイルなどを保存するための記録媒体として用いられる。表示部120は、システム情報の表示や、記録部170に保存されている各種ファイルの情報を表示するために用いられる。操作部130は、ユーザがモバイルPC100を操作するために用いられる。
In the mobile PC 100, the
プリンタサーバ200において、CPU210は、プロセッサコアや、IO汎用ポート、AD変換機などの周辺回路を含んでおり、プログラムの実行が可能である。CPU210には、一次記憶装置であるRAM240、及び、プログラムが格納されている二次記憶装置であるROM250が接続されている。記録部270は、プリンタサーバ200を制御するための命令(コマンド)が書き込まれたファイル(制御ファイル)を格納するための記録媒体である。操作部230は、ユーザがプリンタサーバ200を操作するために用いられる。プリンタポート280は、プリンタ300を接続するためのインタフェースを含み、CPU210から制御が可能である。
In the
なお、コマンドの書き込みの際には、必ずしもファイルが用いられなくてもよい。例えば、モバイルPC100は、記録部270の特定のアドレスにコマンドを書き込み、プリンタサーバ200は、この特定のアドレスに書き込まれたコマンドに従って処理を実行してもよい。
Note that a file does not necessarily have to be used when writing a command. For example, the mobile PC 100 may write a command to a specific address of the
CPU210はNFS等のファイル共有プロトコルを用いて記録部270をクライアント(例えば、モバイルPC100)に共有させることが可能である。共有のアクセス属性の設定として、「書き込み可能属性」、「読み出し専用属性」などの設定が可能である。「読み出し専用属性」が設定されることを、本明細書では、「書き込み禁止に設定される」とも言う。書き込み禁止の設定は、ソフトウェアによって実現されてもよいし、ライトプロテクトスイッチのようなハードウェアによって実現されてもよい。記録部270が書き込み禁止に設定されると、記録部270にファイルを書き込んだり、記録部270に格納されているファイルにコマンドを書き込むことなどによりファイルを更新したりすることはできない。ユーザは例えば、プリンタサーバ200に接続されたプリンタ300のインク交換や用紙補充などのメンテナンス作業を行う目的で、操作部230を操作することにより、記録部270を書き込み禁止に設定することができる。
The
図2(a)は、モバイルPC100のCPU110が読み込んで実行することで、CPU110を種々の手段として機能させるプログラムスタック図である。下位層から順に、外部装置接続モジュール、機器識別情報取得モジュール、外部記録部マウントモジュール、ファイルアクセスモジュール、外部装置制御モジュールとなっている。
FIG. 2A is a program stack diagram that causes the
外部装置接続モジュールは、通信部160を通して、通信回線500に接続されている装置に対して、データの送受信を行い、外部装置が接続されたか否かを検出するためのモジュールである。機器識別情報取得モジュールは、外部装置接続モジュールにより外部装置の接続を検出した場合に、外部装置との初期通信により取得できる物理アドレスや機器名情報などの、外部装置の機器識別情報を取得するためのモジュールである。機器識別情報取得モジュールは、予め登録しておいた登録リストを参照することにより、取得した機器識別情報に対応する外部装置が有する機能を取得するためのモジュールである。登録リストは、モバイルPC100へ登録しておいてもよいし、別の外部装置に保存しておいて、必要に応じて別の外部装置から取得しても構わない。外部記録部マウントモジュールは、ファイル共有プロトコルを用いて、外部装置の記録部をモバイルPC100へマウントするためのモジュールである。外部記録部マウントモジュールにより、外部装置の記録部のアクセス属性も取得することが可能である。ファイルアクセスモジュールは、外部記録部マウントモジュールを通して、外部装置の記録部に保存されたファイルへアクセスするためのモジュールである。外部装置制御モジュールは、ファイルアクセスモジュールを介して外部装置の記録部に格納されているファイルに対してデータの読み書きを行うことにより、外部装置を制御するためのモジュールである。外部装置制御モジュールは例えば、外部装置の機能を設定したり、外部装置から各種情報を取得したり、外部装置に対してコマンドを受け渡すことにより外部装置に処理を実行させるためのモジュールである。
The external device connection module is a module for transmitting / receiving data to / from a device connected to the
図2(b)は、記録部270に格納されている、プリンタサーバ200を制御するための制御ファイルのファイルフォーマットを示す図である。ファイルの先頭にはフラグ領域301が存在し、ここには、CPU110からのコマンドであることを示すコマンドフラグ、又は、CPU210からの応答であることを示すレスポンスフラグが書き込まれる。データ領域302には、CPU110からのコマンド、又は、CPU210からの処理結果が書き込まれる。なお、前述の通り、コマンドの書き込みの際には、必ずしもファイルが用いられなくてもよい。例えば、記録部270の所定のアドレスをフラグ領域として割り当て、他の所定のアドレスをデータ領域302として割り当ててもよい。
FIG. 2B is a diagram illustrating a file format of a control file for controlling the
図3(a)は、モバイルPC100のCPU110が、記録部270に格納されている制御ファイルを介してプリンタサーバ200を制御する処理を示すフローチャートである。S301で、CPU110は、ユーザによるコマンドの選択を受け付ける。選択されるコマンドは例えば、印刷開始、印刷中止、インク残量の通知などを指示するものである。コマンドが選択されると、処理はS302に進む。S302で、CPU110は、プリンタサーバ200の記録部270に格納されている制御ファイルに、コマンドフラグと選択されたコマンドとを書き込む。S302において記録部270に制御ファイルが存在しない場合は、CPU110は、コマンドフラグと選択されたコマンドとが書き込まれた制御ファイルを生成して、生成した制御ファイルを記録部270に書き込んでもよい。
FIG. 3A is a flowchart illustrating processing in which the
ここで、図3(b)を参照する。図3(b)は、プリンタサーバ200のCPU210が、記録部270に格納されたファイルに書き込まれたコマンドに従って処理を実行する流れを示すフローチャートである。S311で、CPU210は、制御ファイルの読み出しを行う。S312で、CPU210は、制御ファイル内にコマンドフラグがセットされているか否かを判定する。コマンドフラグがセットされていない場合、処理はS311に戻り、CPU210は所定の間隔で再び制御ファイルを読み出す。コマンドフラグがセットされている場合は、処理はS313に進む。S313で、CPU210は、制御ファイルに書き込まれたコマンドに従って処理を行う。S314で、CPU210は、S313における処理結果を示すデータを制御ファイルに書き込み、レスポンスフラグを制御ファイルにセットする。
Here, reference is made to FIG. FIG. 3B is a flowchart illustrating a flow in which the
図3(a)に戻り、S303で、CPU110は、プリンタサーバ200の記録部270から制御ファイルを読み出す。S304で、CPU110は、制御ファイル内にレスポンスフラグがセットされているか否かを判定する。レスポンスフラグがセットされていない場合、処理はS311に戻り、CPU110は所定の間隔で再び制御ファイルを読み出す。レスポンスフラグがセットされている場合は、処理はS305に進む。S305で、CPU110は、制御ファイルから処理結果を取得する。ここで取得される処理結果は、プリンタサーバ200のCPU210がS314において書き込んだものである。
Returning to FIG. 3A, in S <b> 303, the
以上の処理により、制御ファイルを介したプリンタサーバ200の制御が実現される。しかしながら、プリンタサーバ200の記録部270が「書き込み禁止」に設定されている場合、S302においてCPU110は制御ファイルにコマンドフラグ及びコマンドを書き込むことができない。従って、S312においてコマンドフラグの検出が発生せず、プリンタサーバ200の制御が不可能になる。そこで、本実施形態では、以下に詳述するように、モバイルPC100は、記録部270が「書き込み禁止」に設定されていることをユーザに通知する。
With the above processing, control of the
図4は、モバイルPC100がプリンタサーバ200の接続した際に実行する処理を示すフローチャートである。S401で、CPU110は、通信部160に対する外部装置の接続を検知する。外部装置の接続が検知されると、処理はS402に進む。S402で、CPU110は、外部装置の機器識別情報を取得する。S403で、CPU110は、接続された外部装置がプリンタサーバ200であるか否かを判定する。外部装置がプリンタサーバ200であれば処理はS404に進み、そうでなければ処理は427に進む。なお、制御装置はプリンタサーバ200に限定されないので、S403における処理は、広義には、外部装置が図3(b)を参照して上述した方式で制御を実行する種類の制御装置であるか否かを判定する処理である。そして、S401及びS403の両方において「YES」と判定されることは、図3(b)を参照して上述した方式で制御を実行する種類の制御装置の接続が検知されたということを意味する。
FIG. 4 is a flowchart illustrating processing executed when the
S404で、CPU110は、プリンタサーバ200の記録部270をネットワークドライブとしてマウントする。S405で、CPU110は、マウントしたドライブのアクセス属性を確認する。S406で、CPU110は、記録部270が「書き込み禁止」に設定されているか否かを判定する。書き込み禁止の場合、処理はS416に進み、そうでない場合、処理はS407に進む。S407で、CPU110は、図5(a)に示す印刷メニュー501を表示し、印刷メニュー501を操作可能にする。ユーザが操作部130を介して印刷メニュー501を選択すると、CPU110は、図5(b)に示すサブメニューを表示する。サブメニューにおいて、ユーザは、プリンタ選択502、詳細設定503、印刷中止504、印刷禁止505などを選択可能である。各項目は、プリンタサーバ200のコマンドに対応しているため、項目を選択するということは結局、コマンドを選択することに対応し、CPU110が選択を受け付ける。また、印刷メニュー501及びサブメニューは、ユーザにとっては、プリンタサーバ200が接続されていることを示す情報でもある。
In S404, the
S406において書き込み禁止と判定された場合、S416で、CPU110は、図6に示す警告メッセージのウインドウを表示する。これにより、ユーザは、記録部270が書き込み禁止に設定されているためにプリンタサーバ200を制御できないということを認識することができる。このウインドウは印刷中止ボタン601を含む場合もあるが、これについては別の実施形態で説明する。S416における通知は、表示によるものではなく、例えばビープ音などであってもよい。警告メッセージは、プリンタサーバ200が接続されている期間、継続して表示されていてもよいし、所定期間経過後に消去されてもよい。このとき、モバイルPC100は、制御ファイルを介したプリンタサーバ200の制御は実行不可能であるが、プリンタサーバ200とその他の通信を行うことは可能であるため、プリンタサーバ200との通信を終了する必要はない。
If it is determined in S406 that writing is prohibited, in S416, the
S417で、CPU110は、図5(c)に示すように印刷メニュー506をグレーで表示し、印刷メニュー506を操作不可能にする。印刷メニュー506及びサブメニューは、ユーザにとっては、プリンタサーバ200が接続されていることを示す情報でもあるが、印刷メニュー501とは異なる外観を持つため、ユーザはプリンタサーバ200が制御不可能であることを認識できる。
In S417, the
プリンタサーバ200が接続されていない場合、S427で、CPU110は、印刷メニューを非表示にする(図5(d)参照)。
If the
なお、図5(a)及び図5(c)に示したプリンタのアイコンを変化させることにより、プリンタ300の様々な状態をユーザに通知することができる。図7は、プリンタアイコンの例を示す図である。プリンタサーバ200を正常に制御可能な場合、CPU110は、プリンタサーバ200の状態に応じて、図7のid0〜id4のアイコンを表示する。プリンタサーバ200に接続されているプリンタ300でエラーが発生している場合は、CPU110は、id5のアイコンを表示する。プリンタサーバ200が制御不可能である場合、CPU110は、id6のアイコンを表示することにより、ユーザに対してプリンタサーバ200が制御不可能であることを通知できる。
Note that the user can be notified of various states of the
以上説明したように、本実施形態によれば、モバイルPC100は、プリンタサーバ200が接続されると、プリンタサーバ200の記録部270が書き込み禁止に設定されているか否かを判定する。記録部270が書き込み禁止に設定されている場合、モバイルPC100は、ユーザに対してその旨を通知する。従って、ユーザはプリンタサーバ200に対するコマンドを選択する前に記録部270が書き込み禁止に設定されているということを認識できる。これにより、コマンドの書き込みが不可能であるにも関わらずユーザがコマンドを選択してしまう可能性が減少し、プリンタサーバ200の利便性が向上する。また、モバイルPC100が印刷メニューを操作不可能にする場合(即ち、コマンドの選択を受け付けないように制御する場合)、プリンタサーバ200の利便性が更に向上する。
As described above, according to the present embodiment, when the
[第2の実施形態]
第1の実施形態では、モバイルPC100は記録部270が書き込み禁止に設定されている場合でも、(外観は異なるが)印刷メニューを表示した。これに対し、第2の実施形態では、モバイルPC100は記録部270が書き込み禁止に設定されている場合、印刷メニューを非表示にする。これにより、コマンドの書き込みが不可能であるにも関わらずユーザがコマンドを選択してしまうことを防止でき、プリンタサーバ200の利便性が向上する。以下、図8を参照して説明する。
[Second Embodiment]
In the first embodiment, the
なお、第2の実施形態では、図4の代わりに図8のフローチャートが使用されること以外は、第1の実施形態と同様である。また、図8において、図4と同一又は同様の処理が行われるステップには同一の符号を付し、説明を省略する。 The second embodiment is the same as the first embodiment except that the flowchart of FIG. 8 is used instead of FIG. Further, in FIG. 8, steps in which the same or similar processes as those in FIG. 4 are performed are denoted by the same reference numerals and description thereof is omitted.
S801で、CPU110は、記録部270が「書き込み禁止」に設定されているか否かを判定する。書き込み禁止の場合、処理はS427に進み(この点が第1の実施形態と異なる)、そうでない場合、処理はS407に進む。
In step S <b> 801, the
以上の処理により、モバイルPC100は記録部270が書き込み禁止に設定されている場合、印刷メニューを非表示にする。これにより、上述したとおり、プリンタサーバ200の利便性が向上する。また、警告メッセージの表示等(図4のS416及びS417参照)が不要であるため、プリンタサーバ200の実装を簡略化できる。
Through the above processing, the
[第3の実施形態]
例えば、プリンタサーバ200の記録部270が「書き込み禁止」に設定されていない状態で、モバイルPC100がプリンタサーバ200の制御データに対して印刷データを書き込み中に、通信回線500の障害により通信が切断された場合を考える。その後、記録部270が「書き込み禁止」に設定されたものとする。この場合、通信回線500が復旧しても、モバイルPC100は制御ファイルに対する書き込みを実行できないため、途中で中断した印刷ジョブの情報を取得することも、キャンセルすることもできない。そのため、インクや紙の無駄が発生する可能性がある。そこで、第3の実施形態では、プリンタサーバ200による印刷を強制的に中止することについて説明する。
[Third Embodiment]
For example, communication is disconnected due to a failure in the
図9は、第3の実施形態に係るモバイルPC100及びプリンタサーバ200の構成を示すブロック図である。図9において、図1と同一又は同様の機能を持つブロックには同一の符号を付し、説明を省略する。
FIG. 9 is a block diagram illustrating configurations of the
第3の実施形態では、モバイルPC100及びプリンタサーバ200に対して、電源制御装置400が接続されている。電源制御装置400においてCPU410は、プロセッサコアや、IO汎用ポート、AD変換機などの周辺回路を含んでおり、プログラムの実行が可能である。CPU410には、一次記憶装置であるRAM440、及び、プログラムが格納されている二次記憶装置であるROM450が接続されている。通信部460は、通信部160及び通信部260を介して、電源制御装置400をモバイルPC100及びプリンタサーバ200に接続する。記録部470は、電源制御装置400のための制御ファイルを格納する。従って、電源制御装置400は、プリンタサーバ200と同様、ファイル共有プロトコルを用いて制御可能な制御装置として機能する。電源制御部490は、プリンタサーバ200の電源制御部290を制御することにより、例えばプリンタサーバ200の電源をONにしたりOFFにしたりする。
In the third embodiment, a power
図10は、モバイルPC100がプリンタサーバ200の接続した際に実行する処理を示すフローチャートである。図10において、図4と同一又は同様の処理が行われるステップには同一の符号を付し、説明を省略する。S1001で、CPU110は、図6に示す警告メッセージのウインドウを表示する。このウインドウは、図6に示すように、印刷中止ボタン601を有する。S1002で、CPU110は、印刷中止ボタン601が押下されたか否かを判定し、押下された場合はS1003に進む。
FIG. 10 is a flowchart showing processing executed when the
S1003で、CPU110は、電源制御装置400の記録部470に格納されている制御ファイルに、コマンドフラグと、プリンタサーバ200の電源をOFFにすることを指示するコマンドとを書き込む。これにより、電源制御装置400は電源制御部490及び電源制御部290を介してプリンタサーバ200の電源をOFFにする。従って、プリンタサーバ200が実行中の印刷は強制的に中止され、インクや紙の浪費を回避することができる。
In step S <b> 1003, the
なお、モバイルPC100が電源制御装置400に対して指示を行う方式は、制御ファイルを使用するものに限定されない。本実施形態では、どのような方式であれ、CPU110が、電源制御装置400に対して、プリンタサーバ200の電源をOFFにするように指示すればよい。
Note that the method in which the
[第4の実施形態]
第3の実施形態では、印刷を中止するために、電源制御装置400が必要であった。また、プリンタサーバ200の電源をOFFにする必要もあった。これに対し、第4の実施形態では、電源制御装置400を不要とし、プリンタサーバ200の電源をOFFにすることも不要とすることについて説明する。第4の実施形態では、図4の代わりに図11のフローチャートが使用されること以外は、第1の実施形態と同様である。また、図11において、図4又は図10と同一又は同様の処理が行われるステップには同一の符号を付し、説明を省略する。
[Fourth Embodiment]
In the third embodiment, the power
図11は、第4の実施形態において、モバイルPC100がプリンタサーバ200の接続した際に実行する処理を示すフローチャートである。S1101で、CPU110は、プリンタサーバ200の記録部270へ管理者モードでアクセスし、記録部270を「書き込み可能」に設定する。S1102で、CPU110は、記録部270に格納されている制御ファイルに、コマンドフラグと、印刷中止を指示するコマンドとを書き込む。これにより、プリンタサーバ200は実行中の印刷を中止し、インクや紙の浪費を回避することができる。S1103で、CPU110は、プリンタサーバ200の記録部270へ管理者モードでアクセスし、記録部270を「書き込み禁止」に設定する。
FIG. 11 is a flowchart illustrating processing executed when the
[その他の実施形態]
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
[Other Embodiments]
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (7)
前記通信手段を介した前記制御装置との接続を検知する検知手段と、
前記接続が検知されると、前記記録部が書き込み禁止に設定されているか否かを判定する判定手段と、
前記記録部が書き込み禁止に設定されていると判定された場合に、ユーザにその旨を通知する通知手段と、
を備えることを特徴とする通信装置。 A communication unit that has a recording unit and communicates with a control device that executes processing in accordance with an instruction written in the recording unit, a receiving unit that accepts selection of an instruction by a user, and a write that writes the selected instruction in the recording unit A communication device comprising:
Detecting means for detecting connection with the control device via the communication means;
When the connection is detected, a determination unit that determines whether or not the recording unit is set to write prohibition;
A notification means for notifying the user when it is determined that the recording unit is set to write-protection;
A communication apparatus comprising:
前記表示手段は、前記記録部が書き込み禁止に設定されていないと判定された場合には、前記ユーザが命令を選択するために操作可能なメニューとして前記情報を表示し、前記記録部が書き込み禁止に設定されていると判定された場合には、前記記録部が書き込み禁止に設定されていないと判定された場合とは異なる外観で前記情報を表示する
ことを特徴とする請求項2に記載の通信装置。 When the control device is connected via the communication means, further comprising a display means for displaying information indicating that,
When it is determined that the recording unit is not set to write-protect, the display unit displays the information as a menu operable by the user to select an instruction, and the recording unit prohibits writing. The information is displayed with an appearance different from that when it is determined that the recording unit is not set to be write-protected when it is determined that the recording unit is not set to write-protection. Communication device.
前記制御手段は、前記記録部が書き込み禁止に設定されていると判定された場合であっても、前記ユーザによる印刷の中止を指示する命令の選択については受け付けるように前記受け付け手段を制御し、
前記制御手段は、前記記録部が書き込み禁止に設定されていると判定された場合に前記受け付け手段が前記印刷の中止を指示する命令の選択を受け付けると、前記電源制御装置に対して、前記制御装置の電源をOFFにするように指示する
ことを特徴とする請求項2又は3に記載の通信装置。 The communication means communicates with a power supply control device that controls supply of power to the control device,
The control means controls the receiving means to accept selection of an instruction to stop printing by the user even when it is determined that the recording unit is set to write prohibition,
When it is determined that the recording unit is set to write prohibition, the control unit receives the selection of a command to instruct to stop the printing, and the control unit controls the power supply control device. The communication apparatus according to claim 2 or 3, wherein an instruction is given to turn off the power of the apparatus.
前記制御手段は、前記記録部が書き込み禁止に設定されていると判定された場合に前記受け付け手段が前記印刷の中止を指示する命令の選択を受け付けると、前記記録部を書き込み可能に設定し、前記印刷の中止を指示する命令を前記記録部に書き込むように前記書き込み手段を制御する
ことを特徴とする請求項2又は3に記載の通信装置。 The control means controls the accepting means to accept selection of an instruction to stop printing by the user even when it is determined that the recording unit is set to write prohibition,
The control unit sets the recording unit to be writable when the receiving unit receives a selection of a command to instruct to stop the printing when it is determined that the recording unit is set to write prohibition, 4. The communication apparatus according to claim 2, wherein the writing unit is controlled to write a command for instructing to stop the printing to the recording unit. 5.
検知手段が、前記通信手段を介した前記制御装置との接続を検知する検知工程と、
判定手段が、前記接続が検知されると、前記記録部が書き込み禁止に設定されているか否かを判定する判定工程と、
通知手段が、前記記録部が書き込み禁止に設定されていると判定された場合に、ユーザにその旨を通知する通知工程と、
を備えることを特徴とする制御方法。 A communication unit that has a recording unit and communicates with a control device that executes processing in accordance with an instruction written in the recording unit, a receiving unit that accepts selection of an instruction by a user, and a write that writes the selected instruction in the recording unit A communication device control method comprising:
A detecting step for detecting a connection with the control device via the communication unit;
When the determination unit detects the connection, a determination step of determining whether or not the recording unit is set to write prohibition;
When the notification means determines that the recording unit is set to write prohibition, a notification step of notifying the user to that effect;
A control method comprising:
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009288420A JP5427014B2 (en) | 2009-12-18 | 2009-12-18 | Control device and control method thereof |
US12/943,133 US8699059B2 (en) | 2009-12-18 | 2010-11-10 | Control apparatus and method for writing a command to a control file |
US14/047,338 US9350884B2 (en) | 2009-12-18 | 2013-10-07 | Communication apparatus for controlling a display menu dependent upon a write inhibit state of a recording medium |
US15/133,435 US9459815B2 (en) | 2009-12-18 | 2016-04-20 | Communication apparatus and method of controlling the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009288420A JP5427014B2 (en) | 2009-12-18 | 2009-12-18 | Control device and control method thereof |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013243341A Division JP5734397B2 (en) | 2013-11-25 | 2013-11-25 | Communication device and control method thereof |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2011128993A true JP2011128993A (en) | 2011-06-30 |
JP2011128993A5 JP2011128993A5 (en) | 2013-05-23 |
JP5427014B2 JP5427014B2 (en) | 2014-02-26 |
Family
ID=44150656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009288420A Active JP5427014B2 (en) | 2009-12-18 | 2009-12-18 | Control device and control method thereof |
Country Status (2)
Country | Link |
---|---|
US (3) | US8699059B2 (en) |
JP (1) | JP5427014B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10419413B2 (en) | 2012-04-30 | 2019-09-17 | General Electric Company | Systems and methods for secure operation of an industrial controller |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014032652A (en) * | 2012-07-09 | 2014-02-20 | Ricoh Co Ltd | Print processing system |
JP6020353B2 (en) * | 2013-05-29 | 2016-11-02 | コニカミノルタ株式会社 | Information processing apparatus, image forming apparatus, remote operation method, remote control method, remote operation program, and remote control program |
JP6602053B2 (en) * | 2015-05-29 | 2019-11-06 | キヤノン株式会社 | Information processing apparatus, control method, and program |
JP6885326B2 (en) * | 2017-12-26 | 2021-06-16 | 京セラドキュメントソリューションズ株式会社 | Image processing system and mobile terminal device |
JP7249161B2 (en) * | 2019-01-31 | 2023-03-30 | キヤノン株式会社 | Program, information processing device, and control method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06187113A (en) * | 1992-12-22 | 1994-07-08 | Nissin Electric Co Ltd | Print server |
JPH11249840A (en) * | 1998-02-26 | 1999-09-17 | Brother Ind Ltd | System and method for printing and recording medium recorded with print processing program |
JP2005209145A (en) * | 2003-12-22 | 2005-08-04 | Canon Software Inc | Bidirectional communication network device management apparatus, network device management method, program, and recording medium |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5481698A (en) * | 1988-09-28 | 1996-01-02 | Hitachi Ltd. | Computer system and job executing method |
US6975423B2 (en) * | 1993-11-08 | 2005-12-13 | Seiko Epson Corporation | Printing apparatus and a control method therefor |
JPH10138569A (en) * | 1996-11-11 | 1998-05-26 | King Jim Co Ltd | Character information-processing apparatus |
JP3833128B2 (en) * | 2001-03-19 | 2006-10-11 | キヤノン株式会社 | Printing apparatus, power control method, program |
CN1529980A (en) * | 2001-07-16 | 2004-09-15 | ���µ�����ҵ��ʽ���� | Data broadcast printing method system and programe |
JP4319911B2 (en) * | 2001-10-24 | 2009-08-26 | パナソニック株式会社 | Printing system, printing apparatus, data output apparatus, and printing method |
NL1019420C2 (en) * | 2001-11-23 | 2003-05-27 | Oce Tech Bv | Conditional interruption of a print job. |
CN100382073C (en) * | 2003-03-27 | 2008-04-16 | 佳能株式会社 | Image forming system, control method of the image forming system, program and storage medium |
JP3793197B2 (en) * | 2003-12-03 | 2006-07-05 | キヤノン株式会社 | Information processing apparatus, information processing method, information processing program, and storage medium |
JP2005322054A (en) * | 2004-05-10 | 2005-11-17 | Seiko Epson Corp | Distributed printing control device and print job distribution method |
US8478849B2 (en) * | 2004-12-07 | 2013-07-02 | Pure Networks LLC. | Network administration tool |
JP2007249461A (en) * | 2006-03-15 | 2007-09-27 | Konica Minolta Business Technologies Inc | Information processor and program |
US20090122345A1 (en) * | 2007-10-09 | 2009-05-14 | Kazuyoshi Tanaka | Image forming apparatus |
JP4720894B2 (en) * | 2008-10-30 | 2011-07-13 | ブラザー工業株式会社 | Image forming system |
-
2009
- 2009-12-18 JP JP2009288420A patent/JP5427014B2/en active Active
-
2010
- 2010-11-10 US US12/943,133 patent/US8699059B2/en active Active
-
2013
- 2013-10-07 US US14/047,338 patent/US9350884B2/en active Active
-
2016
- 2016-04-20 US US15/133,435 patent/US9459815B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06187113A (en) * | 1992-12-22 | 1994-07-08 | Nissin Electric Co Ltd | Print server |
JPH11249840A (en) * | 1998-02-26 | 1999-09-17 | Brother Ind Ltd | System and method for printing and recording medium recorded with print processing program |
JP2005209145A (en) * | 2003-12-22 | 2005-08-04 | Canon Software Inc | Bidirectional communication network device management apparatus, network device management method, program, and recording medium |
Non-Patent Citations (4)
Title |
---|
CSND200302369001; Linux magazine 編集部: '最強のファイルサーバを作る' Linux magazine 第4巻 第11号, 20021101, 42〜45,64〜67頁, 株式会社アスキー * |
CSND200401546006; たかはし もとのぶ: 'Services for UNIX 3.5日本語版によるWindowsとUNIXの連携' UNIX USER 第13巻 第4号, 20040401, 44〜53頁, ソフトバンクパブリッシング株式会社 * |
JPN6013022375; Linux magazine 編集部: '最強のファイルサーバを作る' Linux magazine 第4巻 第11号, 20021101, 42〜45,64〜67頁, 株式会社アスキー * |
JPN6013048973; たかはし もとのぶ: 'Services for UNIX 3.5日本語版によるWindowsとUNIXの連携' UNIX USER 第13巻 第4号, 20040401, 44〜53頁, ソフトバンクパブリッシング株式会社 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10419413B2 (en) | 2012-04-30 | 2019-09-17 | General Electric Company | Systems and methods for secure operation of an industrial controller |
Also Published As
Publication number | Publication date |
---|---|
US20160231965A1 (en) | 2016-08-11 |
US8699059B2 (en) | 2014-04-15 |
US9459815B2 (en) | 2016-10-04 |
JP5427014B2 (en) | 2014-02-26 |
US20140043644A1 (en) | 2014-02-13 |
US9350884B2 (en) | 2016-05-24 |
US20110149342A1 (en) | 2011-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9459815B2 (en) | Communication apparatus and method of controlling the same | |
JP4811486B2 (en) | Program, information processing system, and information processing apparatus | |
US9389815B2 (en) | Control device | |
US9055172B2 (en) | Communication apparatus, method for controlling the same, storage medium, and printing apparatus | |
JP2008072427A (en) | Image forming device, client/server type information processing system, and information processing method | |
CN102236536A (en) | Print control device, print control method and monitoring method | |
JP2008200943A (en) | Image forming apparatus | |
US20160004482A1 (en) | Printing system, image processing apparatus, information processing apparatus, information processing method, and program | |
JP6525532B2 (en) | INFORMATION PROCESSING APPARATUS, CONTROL METHOD FOR INFORMATION PROCESSING APPARATUS, AND PROGRAM | |
JP2009023208A (en) | Image forming device and method for controlling image forming device | |
JP2007312088A (en) | Operation request receiving apparatus, program, recording medium, method for controlling operation request receiving apparatus, communication system, and method for operating communication system | |
JP2011128904A (en) | Information processing apparatus, method thereof, and program | |
JP2006185251A (en) | Information processor for controlling printer object, printer object control method, and program | |
JP2010069681A (en) | Printing system and method for controlling the same | |
JP2011164713A (en) | Information processing apparatus, control method, and program | |
US10154168B2 (en) | Information processing apparatus and method | |
JP5734397B2 (en) | Communication device and control method thereof | |
JP2014014985A (en) | Job processing apparatus, job management method, and program | |
JP4720171B2 (en) | Printer host, printer status information display program, and printer status information display method in printer host | |
JP2006133892A (en) | Printer host and printer state display program | |
JP2009272770A (en) | Multi-function apparatus, and method of restricting use of multi-function apparatus | |
JP2016019100A (en) | Image formation apparatus, control method of image formation apparatus, and program | |
JP2004215164A (en) | Device, method and program for controlling external equipment | |
JP2014010694A (en) | Print management device, print management system, control method, and program | |
JP2010252079A (en) | Job registration of image forming device, and high-speed start of the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121213 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121213 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130408 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20130408 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20130422 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130513 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130703 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131004 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131015 |
|
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: 20131101 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131129 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5427014 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |