JP4428374B2 - User interface program, input support method, and information terminal device - Google Patents

User interface program, input support method, and information terminal device Download PDF

Info

Publication number
JP4428374B2
JP4428374B2 JP2006264201A JP2006264201A JP4428374B2 JP 4428374 B2 JP4428374 B2 JP 4428374B2 JP 2006264201 A JP2006264201 A JP 2006264201A JP 2006264201 A JP2006264201 A JP 2006264201A JP 4428374 B2 JP4428374 B2 JP 4428374B2
Authority
JP
Japan
Prior art keywords
setting
peripheral device
command
setting item
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006264201A
Other languages
Japanese (ja)
Other versions
JP2008084069A (en
Inventor
智美 若園
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2006264201A priority Critical patent/JP4428374B2/en
Publication of JP2008084069A publication Critical patent/JP2008084069A/en
Application granted granted Critical
Publication of JP4428374B2 publication Critical patent/JP4428374B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Digital Computer Display Output (AREA)

Description

本発明は、コンピュータに接続された周辺機器の動作設定をユーザがコンピュータから行うことができるユーザインタフェイスプログラム、コンピュータに接続された周辺機器の動作設定のためのユーザによるコンピュータへの入力作業を支援する入力支援方法、及び、周辺機器の動作設定をユーザが行うことが可能な情報端末装置に関する。   The present invention provides a user interface program that allows a user to perform operation settings of peripheral devices connected to a computer from the computer, and supports user input operations to the computer for operation settings of peripheral devices connected to the computer The present invention relates to an input support method and an information terminal device that allows a user to set operation settings of peripheral devices.

近年、ネットワークに接続されたプリンタやファクシミリ、記憶装置などの周辺機器の各種設定を、パソコンなどの情報処理装置からネットワークを介して行うことができる。
ユーザは、周辺機器ごと(もしくは機種ごと)に用意されたユーザインタフェイスプログラムにより情報処理装置上で表示される画面を見ながら、設定項目ごとに所望の設定値を入力し、周辺機器へその設定を反映させる。以下、ユーザインタフェイスプログラムが表示する周辺機器の設定用の画面を単にユーザインタフェイスと称する場合がある。
In recent years, various settings of peripheral devices such as printers, facsimiles, and storage devices connected to a network can be performed from an information processing apparatus such as a personal computer via the network.
The user inputs a desired setting value for each setting item while viewing a screen displayed on the information processing apparatus by a user interface program prepared for each peripheral device (or each model), and sets the setting to the peripheral device. Reflect. Hereinafter, the peripheral device setting screen displayed by the user interface program may be simply referred to as a user interface.

また、ネットワークには、例えばプリンタとして、モノクロプリンタ、カラープリンタ、及び、印刷機能やファクシミリ機能を備えたデジタル複合機などが接続される場合がある。係る場合、上記のように各種設定が可能なユーザインタフェイスプログラムは、プリンタの機種ごとに用意されている。つまり、異なる機種のプリンタではユーザインタフェイスプログラムにより表示される画面は異なる場合がある。
そのため、複数の印刷装置に対し共通のユーザインタフェイスを提供し、ユーザの利便性向上を図る技術が特許文献1に開示されている。
特許文献1には、各プリンタに共通するワンタッチ印刷ボタンを備えたユーザインタフェイスが開示されている。このユーザインタフェイスでは、各プリンタに共通する設定項目については、同一の設定値が設定される。ユーザは、プリンタの機種を選択した後にワンタッチ印刷ボタンを押すと、選択したプリンタで印刷することができる。
In addition, for example, a monochrome printer, a color printer, and a digital multifunction machine having a printing function or a facsimile function may be connected to the network as a printer. In such a case, a user interface program capable of various settings as described above is prepared for each printer model. In other words, different printer models may display different screens depending on the user interface program.
For this reason, Patent Document 1 discloses a technique for providing a common user interface to a plurality of printing apparatuses and improving user convenience.
Patent Document 1 discloses a user interface including a one-touch print button common to each printer. In this user interface, the same setting values are set for the setting items common to each printer. When the user presses the one-touch print button after selecting the printer model, the user can print with the selected printer.

特開2003−99220JP 2003-99220 A

異なる機種のプリンタに対して共通のユーザインタフェイスを用意するには、情報端末装置にインストールされるユーザインタフェイスプログラムが、ネットワークを介して接続されているプリンタの設定項目を特定する必要がある。
その特定方法として、ネットワークに接続されたプリンタの機種が判明したら、そのプリンタのドライバプログラムから設定項目を取得することが考えられる。
しかしながら、ドライバプログラムが取得できない環境下であったり、例えドライバプログラムを取得したとしても、そのドライバプログラムが他のプログラムに対して設定項目を通知する機能を有さない場合では、プリンタの設定項目を特定することができなかった。
本発明は上記の課題に鑑みてなされたものであり、周辺機器やそのドライバが設定項目を通知する機能を有さなくても、その周辺機器の設定項目を特定することが可能であるとともに、異なる機種の周辺機器が存在した場合でも共通のユーザインタフェイスを表示できる技術を提供することにある。
In order to prepare a common user interface for different types of printers, a user interface program installed in an information terminal device needs to specify setting items of printers connected via a network.
As a specific method, if the model of the printer connected to the network is found, it is conceivable to acquire setting items from the driver program of the printer.
However, if the driver program cannot be obtained or if the driver program does not have a function for notifying other programs of the setting item even if the driver program is obtained, the setting item of the printer is Could not be identified.
The present invention has been made in view of the above problems, and it is possible to specify the setting item of the peripheral device even if the peripheral device or its driver does not have a function of notifying the setting item. The object is to provide a technology capable of displaying a common user interface even when peripheral devices of different models exist.

プリンタなどの周辺機器の各種設定をネットワークを介して情報端末装置から行う場合、情報端末装置から周辺機器へ設定を指示する設定コマンドを送信する。周辺機器には、設定コマンドを受信し、解析し、設定コマンドに基づいて所定の設定を実行する状態設定手段が備えられている。状態設定手段の中には、受信した設定コマンドに基づく処理(即ち、設定を行う処理)の実行に成功したか否かの応答を情報端末装置へ返信する機能を有するものが多い。周辺機器が設定コマンドを解析できない場合(或いは設定コマンドに基づく処理の実行に成功しなかった場合)に、その旨を情報端末装置側に通知するためである。以下では、周辺機器が、情報端末装置によって送信された設定コマンドを解析してその設定コマンドに基づいた処理の実行に成功したことを単に「設定コマンドの実行に成功する」或いは「設定コマンドを受け付ける」と称する場合がある。即ち、周辺機器は、情報端末装置によって送信された設定コマンドの実行に成功したか否か(設定コマンドを受け付けたか否か)の応答を情報端末装置へ返す機能を有するものが多い。
本発明は、既存の周辺機器が、情報端末装置から送られる設定コマンドの実行に成功したか否かの応答を返信する機能を備えていることに着目する。そのため、情報端末装置に予め複数の周辺機器の設定項目を集めた集合(以下では設定項目セットと称する場合がある)のデータを記憶させておく。即ち、設定項目セットには、接続された周辺機器が設定可能な項目が含まれるが、その周辺機器が設定できない項目も含まれている。そこでユーザインタフェイスプログラムは、設定項目セット内の各設定項目の設定を指示する設定コマンドを送信する。周辺機器から設定コマンドの実行に成功したとの返答が返ってきた場合には、送信した設定コマンドが指定した設定項目はその周辺機器が設定可能な設定項目であることが判明する。他方、周辺機器から設定コマンドの実行に成功しなかったとの返答が返ってきた場合には、送信した設定コマンドが指定した設定項目はその周辺機器が対応していない設定項目であることが判明する。周辺機器から実行に成功したとの応答が返ってきた設定コマンドが示す設定項目を集めれば、その周辺機器が設定可能な項目を特定することができる。
本発明は、情報端末装置に予め複数の周辺機器の設定項目を集めた設定項目の集合(設定項目セット)のデータを記憶させておくとともに、情報端末装置に接続された周辺機器が情報端末装置から送信された設定コマンドの実行に成功したか否かの応答を返すことを利用して、設定項目セットの中から情報端末装置に接続された周辺機器が設定可能な設定項目を抽出する。そうすることで、自らの設定可能項目に関する情報を発信しない周辺機器であっても、周辺機器と接続された情報端末装置において、その周辺機器設定可能な項目を特定することができる。
本発明は、周辺機器が有している、情報端末装置から送信された設定コマンドの実行に成功したか否かを情報端末装置へ通知する機能を、周辺機器の設定可能項目を特定するために利用するという発想に基づいている。
When various settings of a peripheral device such as a printer are performed from the information terminal device via the network, a setting command for instructing the setting is transmitted from the information terminal device to the peripheral device. The peripheral device includes a state setting unit that receives and analyzes a setting command and executes a predetermined setting based on the setting command. Many of the state setting means have a function of returning a response indicating whether or not the processing based on the received setting command (that is, processing for setting) has been successfully performed to the information terminal device. This is because when the peripheral device cannot analyze the setting command (or when the processing based on the setting command has not been successfully executed), the information terminal device side is notified accordingly. Hereinafter, the fact that the peripheral device has successfully executed the processing based on the setting command by analyzing the setting command transmitted by the information terminal device is simply “successfully executed the setting command” or “accepts the setting command. May be called. That is, many peripheral devices have a function of returning to the information terminal device whether or not the setting command transmitted by the information terminal device has been successfully executed (whether or not the setting command has been accepted).
The present invention focuses on the fact that an existing peripheral device has a function of returning a response as to whether or not the setting command sent from the information terminal device has been successfully executed. For this reason, data of a collection of setting items of a plurality of peripheral devices (hereinafter sometimes referred to as a setting item set) is stored in the information terminal device in advance. That is, the setting item set includes items for which the connected peripheral device can be set, but also includes items for which the peripheral device cannot be set. Therefore, the user interface program transmits a setting command for instructing setting of each setting item in the setting item set. When a response indicating that the setting command has been successfully executed is returned from the peripheral device, it is determined that the setting item specified by the transmitted setting command is a setting item that can be set by the peripheral device. On the other hand, if a response indicating that the setting command has not been successfully executed is returned from the peripheral device, the setting item specified by the transmitted setting command is found to be a setting item that is not supported by the peripheral device. . By collecting the setting items indicated by the setting command that returns a response that the execution was successful from the peripheral device, the items that can be set by the peripheral device can be identified.
The present invention stores data of a set of setting items (setting item set) in which setting items of a plurality of peripheral devices are collected in advance in the information terminal device, and the peripheral device connected to the information terminal device is the information terminal device. A setting item that can be set by the peripheral device connected to the information terminal device is extracted from the setting item set by using a response indicating whether or not the setting command transmitted from has been successfully executed. By doing so, even in a peripheral device that does not transmit information related to its own settable items, it is possible to specify items that can be set in the peripheral device in the information terminal device connected to the peripheral device.
The present invention provides a function of notifying an information terminal device of whether or not a setting command transmitted from an information terminal device has been successfully possessed by the peripheral device, in order to identify a configurable item of the peripheral device Based on the idea of using.

本発明は、コンピュータに接続された周辺機器の動作設定をユーザがコンピュータから行うことが可能なユーザインタフェイスプログラムに具現化できる。このプログラムはコンピュータに次の工程を実行させる。
(1)複数の周辺機器の設定項目を集めた設定項目の集合のデータから設定項目を取り出し、取り出した設定項目ごとに、その設定項目の設定を指示する設定コマンドを周辺機器へ送信する設定コマンド送信工程。
(2)設定コマンドに対する周辺機器の応答を受信し、その応答から周辺機器が設定コマンドを受け付けたか否かを判定する判定工程。
(3)判定工程によって周辺機器が受け付けたと判定された設定コマンドが示す設定項目を記憶する設定項目記憶工程。
(4)設定項目記憶工程によって記憶された設定項目の設定値をユーザが入力するための入力画面を表示する表示工程。
The present invention can be embodied in a user interface program that allows a user to perform operation settings of peripheral devices connected to a computer from the computer. This program causes the computer to execute the following steps.
(1) A setting command that extracts a setting item from data of a set of setting items obtained by collecting setting items of a plurality of peripheral devices, and transmits a setting command for instructing setting of the setting item to the peripheral device for each extracted setting item Transmission process.
(2) A determination step of receiving a response from the peripheral device to the setting command and determining from the response whether the peripheral device has received the setting command.
(3) A setting item storage step for storing the setting item indicated by the setting command determined to be received by the peripheral device in the determination step.
(4) A display step of displaying an input screen for the user to input a setting value of the setting item stored in the setting item storage step.

設定項目の集合(設定項目セット)のデータは、ユーザインタフェイスプログラムと一体化されていてもよいし、別個のデータとして用意されていてもよい。設定項目セットのデータは、ユーザインタフェイスプログラムが利用できる状態にあればどこに記憶されていても良いからである。また、情報端末装置に記憶させる代わりに情報端末装置と通信可能に接続された他の機器(例えばサーバ)に記憶させてもよい。
設定項目セットには、特定種類の周辺機器(例えばプリンタ)について、特定の一機種の設定項目だけでなく、複数機種の設定項目が含まれている。
ユーザインタフェイスプログラムは、設定コマンド送信工程によって、設定項目セットから取り出した各設定項目について、その設定項目の設定を周辺機器に指示する設定コマンドを情報端末装置から送信する。
設定コマンドを受信した周辺機器は、その設定コマンドの実行に成功したか否かの応答を情報端末装置へ返す。ユーザインタフェイスプログラムは、周辺機器から設定コマンドの実行に成功した旨の応答を受信した場合には、その設定コマンドは周辺機器が受け付けたと判定する。周辺機器が受け付けたと判定された設定コマンドが示す設定項目を記憶する。こうして、設定項目の集合内の各設定項目について、その周辺機器が受け付けた設定項目だけを抽出して記憶できる。ユーザインタフェイスプログラムは、記憶した設定項目について、ユーザが設定値を入力するための入力画面をコンピュータに表示する。
Data of a set of setting items (setting item set) may be integrated with the user interface program, or may be prepared as separate data. This is because the setting item set data may be stored anywhere as long as the user interface program is available. Moreover, you may memorize | store in another apparatus (for example, server) connected so that communication with the information terminal device was possible instead of memorize | storing in an information terminal device.
The setting item set includes setting items for a plurality of models as well as a setting item for a specific model for a specific type of peripheral device (for example, a printer).
The user interface program transmits a setting command for instructing the peripheral device to set the setting item for each setting item extracted from the setting item set in the setting command transmission step from the information terminal device.
The peripheral device that has received the setting command returns a response indicating whether or not the setting command has been successfully executed to the information terminal device. When the user interface program receives a response indicating that the setting command has been successfully executed from the peripheral device, the user interface program determines that the setting command has been received by the peripheral device. A setting item indicated by a setting command determined to be received by the peripheral device is stored. In this way, for each setting item in the set of setting items, only the setting items accepted by the peripheral device can be extracted and stored. The user interface program displays on the computer an input screen for the user to input setting values for the stored setting items.

上記のユーザインタフェイスプログラムによれば、設定項目の情報を発信する機能を有さない周辺機器であっても、その周辺機器が設定可能な設定項目を特定することができる。そして、ユーザが周辺機器の設定を行なう情報端末装置のディスプレイに、特定された設定項目の設定値をユーザが入力するための画面(ユーザインタフェイス)を表示することができる。即ち、上記のユーザインタフェイスプログラムによれば、設定項目の情報を発信する機能を有さない機種を含め、周辺機器の機種によらずに共通のユーザインタフェイスを提供することができる。   According to the above user interface program, it is possible to specify a setting item that can be set by the peripheral device even if the peripheral device does not have a function of transmitting information on the setting item. And the screen (user interface) for a user to input the setting value of the specified setting item can be displayed on the display of the information terminal device which a user sets peripheral equipment. That is, according to the above user interface program, it is possible to provide a common user interface regardless of the peripheral device model, including models that do not have the function of transmitting setting item information.

設定項目の集合(設定項目セット)のデータには、その集合内の各設定項目に対応する設定値の候補が含まれていることが好ましい。このとき、設定コマンド送信工程は、設定項目セットに含まれている候補中の設定値を指定して、設定項目の設定を指示する設定コマンドを周辺機器へ送信する。設定項目記憶工程は、周辺機器が受け付けたと判定された設定コマンドによって指示された設定値(設定コマンド中に指定した設定値)を記憶する。表示工程は、設定項目記憶工程によって記憶された設定値をユーザが選択的に入力可能に表示する。
周辺機器の設定項目の中には、設定値が選択的であるものがある。例えば、プリンタにおける給紙トレイがトレイ1とトレイ2と手差しトレイのいずれかから選択する場合である。設定値が選択的である場合、前述の設定項目と同様に、設定値も予め前記設定項目セットの中に用意しておくことで、周辺機器の機種が不明であっても、その周辺機器が設定可能な設定値を特定することができる。特定した設定値をユーザが選択的に入力可能に表示することによって、設定値の入力作業に対するユーザの負担を軽減することができる。
The data of the set of setting items (setting item set) preferably includes setting value candidates corresponding to the setting items in the set. At this time, the setting command transmission step specifies a setting value in the candidate included in the setting item set, and transmits a setting command for instructing setting of the setting item to the peripheral device. The setting item storage step stores a setting value (setting value specified in the setting command) indicated by the setting command determined to be received by the peripheral device. The display step displays the setting value stored in the setting item storage step so that the user can selectively input the setting value.
Some setting items of peripheral devices have selective setting values. For example, this is a case where the paper feed tray in the printer is selected from any one of tray 1, tray 2, and manual feed tray. If the setting value is selective, as in the case of the setting item described above, the setting value is also prepared in the setting item set in advance, so that even if the peripheral device model is unknown, the peripheral device A settable setting value can be specified. By displaying the specified set value so that the user can selectively input it, it is possible to reduce the burden on the user for the input operation of the set value.

上述したように本発明のユーザインタフェイスプログラムは、ネットワークを介して接続された周辺機器に対して、機種によらずに共通のユーザインタフェイスを提供することができる。そこで、ネットワークに異なる機種の複数の周辺機器が接続されている場合には、本発明を拡張することによって、その複数の周辺機器に共通する設定項目については、ひとつのユーザインタフェイスから同時に所望の設定値を設定することができる。上記の拡張とは、上記したユーザインタフェイスプログラムにさらに次の特徴を加えることである。即ち、設定コマンド送信工程と判定工程と設定項目記憶工程を、コンピュータに接続された複数の周辺機器ごとに繰り返し実行する。表示工程は、設定項目記憶工程で記憶された設定項目から複数の周辺機器に共通する設定項目を抽出して表示する。さらに上記のユーザインタフェイスプログラムは、コンピュータに、表示工程によって表示された共通設定項目の設定値がユーザによって入力されたときに、入力された設定値を指定して共通設定項目の設定を指示する設定コマンドを複数の周辺機器へ送信する設定コマンド多重送信工程を実行させる。ここでいう「多重送信工程」とは、例えば、前述の設定コマンド送信工程と同様の設定コマンドの送信を、複数の周辺機器に対して順次実行する工程でよい。   As described above, the user interface program of the present invention can provide a common user interface to peripheral devices connected via a network regardless of the model. Therefore, when a plurality of peripheral devices of different models are connected to the network, the present invention is expanded so that setting items common to the plurality of peripheral devices can be simultaneously set from a single user interface. A set value can be set. The above-mentioned extension is to add the following features to the above-described user interface program. That is, the setting command transmission step, the determination step, and the setting item storage step are repeatedly executed for each of a plurality of peripheral devices connected to the computer. In the display step, setting items common to a plurality of peripheral devices are extracted from the setting items stored in the setting item storing step and displayed. Furthermore, the above-described user interface program instructs the computer to set the common setting item by specifying the input setting value when the setting value of the common setting item displayed by the display process is input by the user. A setting command multiplex transmission process for transmitting a setting command to a plurality of peripheral devices is executed. Here, the “multiplex transmission step” may be a step of sequentially executing transmission of setting commands similar to the above-described setting command transmission step to a plurality of peripheral devices.

上記のユーザインタフェイスプログラムにおける設定コマンド送信工程は、周辺機器が受け付ける設定項目を判別するために、設定項目セット内の設定項目ごとに設定コマンドを周辺機器に対して送信する。いわばこのときの設定コマンドの送信は、周辺機器がその設定コマンドを受け付けるか否かを判別するための試行である。従ってこのとき送信する設定コマンドに対しては、周辺機器は実際にその設定コマンドを実行する必要はない。そこで、周辺機器が、設定コマンドを受け付けるか否かの応答を返すが設定コマンドを実行しないダミーモードに指定するダミーモードの機能を有しているならば、設定コマンド送信工程に先立って周辺機器をダミーモードに変更しておくことが好ましい。そうすることで、周辺機器の設定を実際に変更することなく、ユーザインタフェイスプログラムが設定コマンドの試行を行なうことができる。設定コマンドの試行の前後で周辺機器の設定が変更されることを防止できる。
さらに、ネットワークに接続されている周辺機器であるから、設定コマンドを試行している間にも、他の情報処理装置がこの周辺機器を利用する場合がある。係る場合、ダミーモードに設定されていれば、他の情報処理装置からのジョブを今まで設定されていた設定状態でそのジョブを処理することができ、設定コマンドを試行している情報処理装置も適切に周辺機器が設定コマンドを受け付けたか否かを判断することができる。
なお、周辺機器をダミーモードに変更することができる場合には、ユーザインタフェイスプログラムは、設定項目記憶工程に続いて、ダミーモードを解除するダミーモード解除コマンドを周辺機器へ送信するダミーモード解除コマンド送信工程を実行することが好ましい。
In the setting command transmission step in the user interface program, a setting command is transmitted to the peripheral device for each setting item in the setting item set in order to determine the setting items accepted by the peripheral device. In other words, the transmission of the setting command at this time is an attempt to determine whether or not the peripheral device accepts the setting command. Therefore, the peripheral device does not need to actually execute the setting command for the setting command transmitted at this time. Therefore, if the peripheral device has a function of a dummy mode that returns a response indicating whether or not to accept the setting command but designates a dummy mode that does not execute the setting command, the peripheral device is set prior to the setting command transmission step. It is preferable to change to the dummy mode. By doing so, the user interface program can try the setting command without actually changing the setting of the peripheral device. It is possible to prevent the peripheral device settings from being changed before and after the setting command is attempted.
Further, since the peripheral device is connected to the network, another information processing apparatus may use the peripheral device while trying the setting command. In this case, if the dummy mode is set, jobs from other information processing apparatuses can be processed in the setting state that has been set up to now, and the information processing apparatus that is trying the setting command also It can be determined whether or not the peripheral device has properly received the setting command.
If the peripheral device can be changed to the dummy mode, the user interface program transmits a dummy mode release command for releasing the dummy mode to the peripheral device following the setting item storing step. It is preferable to perform a transmission process.

上記は、本発明をユーザインタフェイスプログラムとして具現化した例を説明したが、本発明の技術思想は、コンピュータに接続された周辺機器の動作設定のためのユーザによるコンピュータへの入力作業を支援する入力支援方法、及び、周辺機器の動作設定をユーザが行うことが可能な情報端末装置に具現化することもできる。本発明を具現化した入力支援方法と情報端末装置は、上記説明したユーザインタフェイスプログラムと同様の機能を果すものである。   The above has described an example in which the present invention is embodied as a user interface program. However, the technical idea of the present invention supports a user's input operation to the computer for operation setting of peripheral devices connected to the computer. The input support method and the operation setting of the peripheral device can be embodied in an information terminal device that can be performed by the user. The input support method and information terminal device embodying the present invention perform the same functions as the above-described user interface program.

本発明によれば、周辺機器やそのドライバが設定項目を通知する機能を有さなくても、その周辺機器が設定可能な設定項目を特定することができる。そして、ユーザが周辺機器の設定を行なう情報端末装置のディスプレイに、特定された設定項目の設定値をユーザが入力するための画面(ユーザインタフェイス)を表示することができる。即ち、本発明によれば、設定項目の情報を発信する機能を有さない機種を含め、周辺機器の機種によらずに共通のユーザインタフェイスを提供することができる。   According to the present invention, it is possible to specify setting items that can be set by the peripheral device even if the peripheral device or its driver does not have a function of notifying the setting item. And the screen (user interface) for a user to input the setting value of the specified setting item can be displayed on the display of the information terminal device which a user sets peripheral equipment. That is, according to the present invention, it is possible to provide a common user interface regardless of the peripheral device model, including a model that does not have a function of transmitting setting item information.

図面を参照して本発明の実施例を説明する。図1に複数の端末(端末1:102と端末2:104)と複数のプリンタ(PRN1:106とPRN2:108)が接続されたネットワーク図である。以下では、プリンタをPRN1(又はPRN2)と称することがある。
端末1にはキーボード114とディスプレイ116が接続されている。端末1は、CPU110と記憶装置112を備える。
記憶装置112には、設定項目セットのデータとユーザインタフェイスプログラム(以下、UIプログラムと称する)が記憶されている。UIプログラムは、ユーザが端末1からPRN1又はPRN2に対して種々の設定(例えば印刷用紙のサイズの設定など)を行なうためのプログラムである。このUIプログラムが、本発明に係るユーザインタフェイスプログラムである。設定項目セットのデータは、UIプログラムによって、ネットワークを介してUIプログラムの供給会社のホームページからダウンロードされたものである。UIプログラムは定期的・自動的に(或いはユーザの指示によって)供給会社のホームページへアクセスし、最新の設定項目セットをダウンロードする。或いは設定項目セットのデータは、ユーザによって、UIプログラムを実行する前に予めネットワークを介してUIプログラムの供給会社のホームページからダウンロードされてもよい。即ち、設定項目セットは、UIプログラムが利用できる状態にあればよい。図1の記憶装置112内に記されているPRN1設定項目のデータとPRN2設定項目のデータは、UIプログラムが作成するデータである。設定項目セット、PRN1設定項目、及びPRN2設定項目のデータの夫々については後述する。
なお、端末2にもキーボードとディスプレイが接続されており、CPUと記憶装置を備えているが図示を省略している。また、端末2は端末1と同様の機能を有する。以下では、端末1を例にして説明する。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a network diagram in which a plurality of terminals (terminal 1: 102 and terminal 2: 104) and a plurality of printers (PRN1: 106 and PRN2: 108) are connected. Hereinafter, the printer may be referred to as PRN1 (or PRN2).
A keyboard 114 and a display 116 are connected to the terminal 1. The terminal 1 includes a CPU 110 and a storage device 112.
The storage device 112 stores setting item set data and a user interface program (hereinafter referred to as a UI program). The UI program is a program for the user to make various settings (for example, setting the size of the printing paper) from the terminal 1 to the PRN1 or PRN2. This UI program is a user interface program according to the present invention. The setting item set data is downloaded from the home page of the supplier company of the UI program via the network by the UI program. The UI program accesses the homepage of the supplier company periodically and automatically (or according to the user's instruction), and downloads the latest setting item set. Alternatively, the setting item set data may be downloaded in advance from the homepage of the supplier company of the UI program via the network before the user executes the UI program. That is, the setting item set only needs to be in a state where the UI program can be used. The data of the PRN1 setting item and the data of the PRN2 setting item described in the storage device 112 in FIG. 1 are data created by the UI program. The data of the setting item set, the PRN1 setting item, and the PRN2 setting item will be described later.
Note that a keyboard and a display are also connected to the terminal 2 and includes a CPU and a storage device, but are not shown. The terminal 2 has the same function as the terminal 1. Hereinafter, the terminal 1 will be described as an example.

端末1のユーザは、端末1のキーボード114を操作して、ネットワーク上のプリンタ(PRN1又はPRN2)を利用することができる。端末1のユーザは、PRN1又はPRN2を利用する前に、利用するプリンタに対して種々の設定を行なう必要がある。ユーザは、UIプログラムを介してプリンタの設定を行なう。   The user of the terminal 1 can use the printer (PRN1 or PRN2) on the network by operating the keyboard 114 of the terminal 1. Before using the PRN1 or PRN2, the user of the terminal 1 needs to make various settings for the printer to be used. The user performs printer settings via the UI program.

記憶装置112に記憶された設定項目セットは、複数の周辺機器の設定項目を集めた設定項目の集合であり、プリンタの機種に関わり無く、設定できる可能性のある設定項目と、夫々の設定項目に対して設定できる可能性のある設定値を集めたデータである。換言すれば、設定項目セットは、設定項目の候補と夫々の設定項目に対する設定値の候補を集めたデータである。
設定項目セットの内容の一例を図2に示す。設定項目の候補には、「給紙トレイ」、「用紙の向き」、「パワーセーブ時間」、及び「IPアドレス自動設定」がある。
「給紙トレイ」の設定項目に対しては、「トレイ1」、「トレイ2」、及び「手差トレイ」という設定値の候補がある。さらに「トレイ1」という設定値の候補に対してはさらに用紙サイズとして「A4」、「A3」、及び「レターサイズ」という設定値候補がある。即ち、「給紙トレイ」という設定項目は、第1階層の設定値(「トレイ1」等)と、さらにその次の第2階層の設定値(「A4」など)というように、階層構造をなしている。
また、「給紙トレイ」という設定項目に対して設定し得る値は「トレイ1」、「トレイ2」又は「手差トレイ」のいずれかであり、ユーザはこれらのうちから選択的に設定することになる。同様に、「トレイ1」という第1階層の設定値に対しては、「A4」、「A3」又は「レターサイズ」のいずれかから選択的に設定するようになっている。「用紙の向き」、「パワーセーブ時間」「IPアドレス自動取得」についても、選択的に設定するようになっている。
なお、図2において「−」が記されている欄は、該当する設定値がないことを表している。また、図2は設定項目と設定値の一例であり、さらに他の設定項目や設定値が設定項目セット内に存在してもかまわない。
また、図2に例示する設定項目や設定値は、UIプログラムとプリンタの双方が解読できる方式で取得・設定が行える。例えば、周辺機器の管理・制御に用いられるSNMP(Simple Network Management Protocol)プロトコルを使って通信することができる。
The setting item set stored in the storage device 112 is a set of setting items obtained by collecting setting items of a plurality of peripheral devices. The setting items that can be set regardless of the printer model and the respective setting items. This is a collection of setting values that can be set for. In other words, the setting item set is data in which setting item candidates and setting value candidates for each setting item are collected.
An example of the contents of the setting item set is shown in FIG. The setting item candidates include “paper feed tray”, “paper orientation”, “power save time”, and “IP address automatic setting”.
For the setting item of “paper feed tray”, there are setting value candidates “tray 1”, “tray 2”, and “manual feed tray”. Furthermore, for the setting value candidate “tray 1”, there are setting value candidates “A4”, “A3”, and “letter size” as paper sizes. That is, the setting item “paper tray” has a hierarchical structure such as a setting value of the first layer (such as “tray 1”) and a setting value of the next second layer (such as “A4”). There is no.
The value that can be set for the setting item “paper feed tray” is any one of “tray 1”, “tray 2”, or “manual feed tray”, and the user selectively sets from these. It will be. Similarly, the setting value of “tray 1” in the first layer is selectively set from any one of “A4”, “A3”, and “letter size”. The “paper orientation”, “power save time”, and “IP address automatic acquisition” are also selectively set.
In FIG. 2, the column with “-” indicates that there is no corresponding set value. FIG. 2 is an example of setting items and setting values, and other setting items and setting values may exist in the setting item set.
Also, the setting items and setting values illustrated in FIG. 2 can be obtained and set by a method that can be decoded by both the UI program and the printer. For example, communication can be performed using an SNMP (Simple Network Management Protocol) protocol used for management and control of peripheral devices.

個々のプリンタは、図2の設定項目セットの中のいくつかの設定項目のみが設定可能であり、残りの設定項目は設定することができない。設定できる項目はプリンタの機種によって異なる。また、機種によって設定可能な設定値とそうでない設定値もある。そこで、本実施例のUIプログラムは、ネットワークに接続されたプリンタに対して図2に例示した設定項目セットに記述されている各設定項目の設定を試みる。即ち、設定項目セット内の設定項目ごとに設定を指示する設定コマンドを端末1からプリンタへ送信する。送信された設定コマンドの実行に成功したとの応答がプリンタから返ってくれば、その設定項目はそのプリンタにとって設定可能な設定項目であることが判明する。逆に、送信された設定コマンドの実行に成功しなかったとの応答がプリンタから返ってくれば、その設定項目はそのプリンタにとって設定不可能な設定項目であることが判明する。即ち、UIプログラムが、個々のプリンタについて設定可能な設定項目を特定することができる。   Each printer can set only some setting items in the setting item set of FIG. 2, and cannot set the remaining setting items. Items that can be set differ depending on the printer model. There are also setting values that can be set depending on the model and setting values that are not. Therefore, the UI program of this embodiment attempts to set each setting item described in the setting item set illustrated in FIG. 2 for the printer connected to the network. That is, a setting command for instructing setting for each setting item in the setting item set is transmitted from the terminal 1 to the printer. If a response that the execution of the transmitted setting command is successful is returned from the printer, it is determined that the setting item is a setting item that can be set for the printer. On the other hand, if a response that the execution of the transmitted setting command was not successful is returned from the printer, it is determined that the setting item is a setting item that cannot be set for the printer. That is, the UI program can specify setting items that can be set for each printer.

図3は、UIプログラムがプリンタの設定項目を特定する処理のフローチャート図である。
本実施例のUIプログラムは、ネットワークに新たなプリンタが接続されているか定期的にネットワークを監視している。ネットワーク上に新たに接続されたプリンタが発見されると図3に示す処理が開始される。なお、図3に示す処理は、ユーザによって起動されてもよい。
FIG. 3 is a flowchart of processing in which the UI program specifies printer setting items.
The UI program of this embodiment regularly monitors the network to see if a new printer is connected to the network. When a newly connected printer is found on the network, the process shown in FIG. 3 is started. Note that the process shown in FIG. 3 may be started by the user.

UIプログラムはまずステップS200で、新たなプリンタに対してダミーモードに指定するダミーモード指定コマンドを送信する。ダミーモードとは、設定コマンドを受け付けるか否かの応答を返すが設定コマンドを実行しないという動作モードをいう。そのようなダミーモードに対応しているプリンタもあれば、対応していないプリンタもある。   In step S200, the UI program first transmits a dummy mode designation command for designating a dummy mode to a new printer. The dummy mode refers to an operation mode in which a response indicating whether to accept a setting command is returned but the setting command is not executed. Some printers support such a dummy mode, and some do not.

ステップS200で新たに接続されたプリンタに対してダミーモード指定コマンドを送信したUIプログラムは、そのプリンタからの応答を待つ。
一般のプリンタは、複数の状態設定手段を備えているが、その中には、情報端末装置が送信した設定コマンドに対して、その設定コマンドに基づく周辺機器自身の設定処理が成功したか否かの応答を返すように構成されているものがある。ここでは、状態設定手段が設定に成功したか否かの応答を返すように構成されているものを用いる。また、状態設定に正常に成功したことをデータ送信元に示す応答をACK(ACKnowledgement:肯定応答)と称する。なお、状態設定が成功しなかったときの応答はNACK(Negative ACKnowledgement:否定応答)と称する。
プリンタからの応答がACKの場合には(S202:YES)、そのプリンタがダミーモードに対応しており、ダミーモード指定コマンドによってダミーモードに設定されたことを示す。一方、プリンタがダミーモードに対応していない場合には、プリンタはNACKを返す。即ち、UIプログラムはACKを受信しないことが判明する(ステップS202:NO)。
The UI program that has transmitted the dummy mode designation command to the newly connected printer in step S200 waits for a response from the printer.
A general printer includes a plurality of status setting means. Among them, whether or not the setting process of the peripheral device itself based on the setting command is successful with respect to the setting command transmitted by the information terminal device. Some are configured to return a response. Here, the state setting means is configured to return a response indicating whether the setting is successful. In addition, a response indicating to the data transmission source that the state setting has been successfully completed is referred to as ACK (ACKnowledgement). The response when the state setting is not successful is referred to as NACK (Negative ACKnowledgement).
If the response from the printer is ACK (S202: YES), it indicates that the printer is compatible with the dummy mode and has been set to the dummy mode by the dummy mode designation command. On the other hand, if the printer does not support the dummy mode, the printer returns NACK. That is, it is found that the UI program does not receive ACK (step S202: NO).

ダミーモード指定コマンドに対してプリンタがACKを返した場合(ステップS202:YES)について説明する。
UIプログラムは次に、設定項目セットのデータにアクセスし、設定項目セットからひとつの設定項目を取り出す。そして取り出した設定項目の設定を指示する設定コマンドを新たに接続されたプリンタへ送信する(ステップS204)。このとき、設定項目セット内で設定項目に対して設定値が記述されている場合にはその設定値を指定して設定コマンドを送信する。例えば、図2に示す設定項目セットでは、「給紙トレイ」という設定項目に対して「トレイ1」と「A4」という設定値が記述されている。そこでUIプログラムは、新たに接続されたプリンタに対して、「給紙トレイ(設定項目)をトレイ1(設定値1)に設定し、そのトレイ1にはA4サイズの用紙(設定項目2)が格納されていると設定せよ」という内容の設定コマンドを送信する。UIプログラムは、ステップS204で設定コマンドを送信した後にプリンタからの応答を待つ。UIプログラムは、プリンタからの応答がACKであるか否かをステップS206で判定する。この設定コマンドに対してプリンタがACKで応答した場合(ステップS206:YES)、その設定コマンドに記述された設定項目と設定値を記憶する(ステップS208)。一方、設定コマンドに対してプリンがNACKで応答した場合(即ち、UIプログラムがACKを受信しなかった場合)(ステップS206:NO)、その設定コマンドに記述された設定項目と設定値は記憶しない。
A case where the printer returns ACK in response to the dummy mode designation command (step S202: YES) will be described.
Next, the UI program accesses the data of the setting item set and retrieves one setting item from the setting item set. Then, a setting command for instructing setting of the extracted setting item is transmitted to the newly connected printer (step S204). At this time, if a setting value is described for the setting item in the setting item set, the setting value is specified and a setting command is transmitted. For example, in the setting item set shown in FIG. 2, setting values “tray 1” and “A4” are described for the setting item “paper feed tray”. Therefore, the UI program sets “paper feed tray (setting item) to tray 1 (setting value 1) for the newly connected printer, and A4 size paper (setting item 2) is placed in the tray 1. Send a setting command that says “Set if stored.” The UI program waits for a response from the printer after transmitting the setting command in step S204. In step S206, the UI program determines whether the response from the printer is ACK. When the printer responds with an ACK to this setting command (step S206: YES), the setting items and setting values described in the setting command are stored (step S208). On the other hand, when the pudding responds with NACK to the setting command (that is, when the UI program does not receive ACK) (step S206: NO), the setting items and setting values described in the setting command are not stored. .

設定項目が選択的な設定値を有しない場合には、予め決められた値を指定してその設定項目の設定を指示する設定コマンドを送信する。例えば図2には、「パワーセーブ時間」という設定項目の設定値の欄に(10)minという値が仮に入力されている。この(10)は、任意に設定できる値であるがデフォルト値として10minutes(分)が入力されていることを示している。UIは、このデフォルト値である10を設定値に指定して設定項目「パワーセーブ時間」の設定を指示する設定コマンドを送信する。   If the setting item does not have a selective setting value, a predetermined value is designated and a setting command for instructing setting of the setting item is transmitted. For example, in FIG. 2, a value of (10) min is temporarily input in the setting value field of the setting item “power save time”. This (10) is a value that can be arbitrarily set, but indicates that 10 minutes (minutes) is input as a default value. The UI transmits a setting command instructing setting of the setting item “power save time” by designating the default value of 10 as a setting value.

UIプログラムは、ステップS204、S206、及びS208の処理を設定項目セット内の全ての設定項目について繰り返す(ステップS210)。なお、ひとつの設定項目について複数の設定値がある場合には、同一の設定項目に対して夫々の設定値を指定する設定コマンドを送信する。例えば図2に示す設定項目セットでは、上述した「給紙トレイ」という設定項目に対して「トレイ1」という設定値の他に「トレイ2」及び「手差トレイ」という設定値が存在する。UIプログラムは、これらの夫々の設定値を指定して「給紙トレイ」という設定項目の設定を指示する設定コマンドを送信する。   The UI program repeats the processing of steps S204, S206, and S208 for all setting items in the setting item set (step S210). If there are a plurality of setting values for one setting item, a setting command for designating each setting value for the same setting item is transmitted. For example, in the setting item set shown in FIG. 2, there are setting values “tray 2” and “manual tray” in addition to the setting value “tray 1” for the setting item “paper tray” described above. The UI program designates each of these setting values and transmits a setting command for instructing setting of a setting item “paper feed tray”.

図3に破線で囲った処理群(ステップS204、S206、S208、及びS210)をまとめて「設定項目特定処理」と称する。設定項目特定処理が終了すると、新たに接続されたプリンタが設定可能な設定項目及び設定値がステップS208によって記憶される。即ち、UIプログラムは、新たに接続されたプリンタが設定可能な設定項目と設定値を特定することができる。   The processing group (steps S204, S206, S208, and S210) surrounded by a broken line in FIG. 3 is collectively referred to as “setting item specifying processing”. When the setting item specifying process is completed, setting items and setting values that can be set by the newly connected printer are stored in step S208. That is, the UI program can specify setting items and setting values that can be set by the newly connected printer.

設定項目セット内の全ての設定項目(及び全ての設定値)について設定コマンドの送信が終了したら、ステップS212に進み、そのプリンタに対してダミーモードを解除するダミーモード解除コマンドを送信して処理を終了する。   When transmission of the setting command is completed for all setting items (and all setting values) in the setting item set, the process proceeds to step S212, and a dummy mode cancel command for canceling the dummy mode is transmitted to the printer for processing. finish.

ステップS202に戻り、プリンタがダミーモードに対応していない場合、即ち、ステップS202の判断がNOの場合には、ステップS214とS216を実行して処理を終了する。ステップS214に記した設定項目特定処理は、図3の破線で囲った「設定項目特定処理」と同じ処理である。
プリンタがダミーモードに対応している場合(ステップS202:YES)には、設定項目特定処理を行なってもプリンタの実際の設定は変更されない。しかしプリンタがダミーモードに対応していない場合(ステップS202:NO)には、設定項目特定処理を実行すると、プリンタの設定が変更されてしまう。そこで、ステップS216で、プリンタの設定を適切な設定に戻す。具体的には設定項目特定処理によって特定された設定項目について、適切な設定値を指定して設定コマンドをプリンタへ送信する。ここで、「適切な設定値」は、予め決められた設定値(デフォルトの設定値)でよい。或いは、既に設定項目に所定の設定値が設定されている他のプリンタがあり、新たに接続されたプリンタの設定項目と同じ設定項目が他のプリンタに存在する場合には、他のプリンタにおいて設定されている設定値を新たなプリンタに対して設定してもよい。即ち、他のプリンタに対する設定値を新たなプリンタの設定値にコピーしてもよい。
Returning to step S202, if the printer does not support the dummy mode, that is, if the determination in step S202 is NO, steps S214 and S216 are executed and the process is terminated. The setting item specifying process described in step S214 is the same process as the “setting item specifying process” surrounded by a broken line in FIG.
If the printer is compatible with the dummy mode (step S202: YES), the actual setting of the printer is not changed even if the setting item specifying process is performed. However, if the printer does not support the dummy mode (step S202: NO), the setting of the printer is changed when the setting item specifying process is executed. In step S216, the printer setting is returned to an appropriate setting. Specifically, with respect to the setting item specified by the setting item specifying process, an appropriate setting value is specified and a setting command is transmitted to the printer. Here, the “appropriate setting value” may be a predetermined setting value (default setting value). Alternatively, when there is another printer in which a predetermined setting value is already set in the setting item and the same setting item as the setting item of the newly connected printer exists in the other printer, the setting is performed in the other printer. The set value may be set for a new printer. That is, the setting values for other printers may be copied to the new printer setting values.

図1に示すPRN1に対して端末1が図3に示す処理を実行した場合を説明する。端末1にインストールされたUIプログラムは、図2に示す設定項目セット内の設定項目と設定値を指定して設定コマンドをPRN1へ送信する。PRN1からACKの応答があった設定コマンドのみをPRN1の設定項目として記憶装置112に記憶する。PRN1に対して設定項目特定処理を実行した結果として得られるPRN1の設定項目の例を図4に例示する。
理解しやすいように、図4には、図2と同じ表を示す。但し、PRN1がACKで応答しなかった設定コマンドが示す設定項目(或いは設定値)には斜線を引いてある。例えば図4では、「トレイ1」の欄の「A4」及び「A3」の欄には斜線が引いていないが、「レターサイズ」の欄には斜線が引いてある。これは、次の結果を示している。「給紙トレイ(設定項目)をトレイ1(設定値1)に設定し、そのトレイ1にはA4サイズの用紙(設定項目2)が格納されていると設定せよ」という設定コマンド、及び「給紙トレイ(設定項目)をトレイ1(設定値1)に設定し、そのトレイ1にはA3サイズの用紙(設定項目2)が格納されていると設定せよ」という設定コマンドに対してPRN1はACKで応答したが、「給紙トレイ(設定項目)をトレイ1(設定値1)に設定し、そのトレイ1にはレターサイズの用紙(設定項目2)が格納されていると設定せよ」という設定コマンドに対してはACKで応答しないことを示している。同様に、図4では「トレイ2」の欄に斜線が引いてある。これは、PRN1が「トレイ2」を指定した設定コマンドに対してACKで応答しなかったことを示している。即ち、PRN1は、「トレイ2」という設定に対応していないことを示している。図4における他の斜線も同様の意味である。即ち、図4において斜線のない欄が、PRN1が設定可能な設定項目(及び設定値)である。このようにしてUIプログラムはPRN1が設定可能な設定項目(及び設定値)を特定することができる。なお、図1の記憶装置112内に示す「PRN1設定項目」が、図4に示すデータに対応する。
A case where the terminal 1 executes the process shown in FIG. 3 for the PRN 1 shown in FIG. 1 will be described. The UI program installed in the terminal 1 designates setting items and setting values in the setting item set shown in FIG. 2 and transmits a setting command to the PRN 1. Only the setting command for which an ACK response is received from the PRN 1 is stored in the storage device 112 as the setting item of the PRN 1. An example of setting items of PRN1 obtained as a result of executing the setting item specifying process for PRN1 is illustrated in FIG.
For ease of understanding, FIG. 4 shows the same table as FIG. However, the setting item (or setting value) indicated by the setting command for which PRN1 did not respond with ACK is shaded. For example, in FIG. 4, the “A4” and “A3” columns in the “Tray 1” column are not hatched, but the “Letter Size” column is hatched. This shows the following results. A setting command “Set paper feed tray (setting item) to tray 1 (setting value 1) and set A4 size paper (setting item 2) in that tray 1”, and “feed In response to the setting command “Set paper tray (setting item) to tray 1 (setting value 1) and store A3 size paper (setting item 2) in that tray 1”, PRN1 receives ACK. Is set to “Set paper feed tray (setting item) to tray 1 (setting value 1) and set letter-size paper (setting item 2) in that tray 1”. It indicates that no response is made to the command with ACK. Similarly, in FIG. 4, the “Tray 2” column is hatched. This indicates that PRN 1 did not respond with an ACK to the setting command specifying “tray 2”. That is, PRN1 indicates that the setting “tray 2” is not supported. The other diagonal lines in FIG. 4 have the same meaning. That is, in FIG. 4, the non-hatched column is a setting item (and setting value) that can be set for PRN1. In this way, the UI program can specify setting items (and setting values) that can be set by the PRN 1. The “PRN1 setting item” shown in the storage device 112 of FIG. 1 corresponds to the data shown in FIG.

PRN1が設定可能な設定項目及び設定値を特定したUIプログラムは、ユーザからの指示により、ユーザがPRN1の設定を行うための画面(ユーザインタフェイス)を端末1のディスプレイ116に表示する。図5は、PRN1に対する設定項目の入力用のユーザインタフェイス(画面)である。この画面はPRN1の設定可能項目を特定したUIプログラムによって表示される。
図5の画面において、例えば「給紙トレイ」という設定項目に対して実線の四角で囲った欄に「トレイ1」と表示されている。この実線の四角で囲った欄が「給紙トレイ」という設定項目に対して設定されている設定値を示している。図5において破線の四角で囲った欄は、ユーザが選択的に入力できる選択肢を示している。例えば、「給紙トレイ」の設定項目については、現在の設定値が「トレイ1」であるが、この設定値の他に「手差トレイ」という設定値が選択可能であることを示している。具体的には例えば、「トレイ1」と「手差トレイ」がプルダウンメニューから選択できるようになっている。これは、図4に示したように、PRN1は「給紙トレイ」という設定項目に対して「トレイ1」と「手差トレイ」という設定値が設定可能であることが前述した設定項目特定処理によって判明していること対応している。同様に、図4に示すPRN1の設定可能項目が全て図5に示す画面上に表示されている。なお、任意の値が設定可能である「パワーセーブ時間」の設定項目については、デフォルト値「10」が表示されている。
The UI program specifying the setting items and setting values that can be set by the PRN 1 displays a screen (user interface) for the user to set the PRN 1 on the display 116 of the terminal 1 in accordance with an instruction from the user. FIG. 5 shows a user interface (screen) for inputting setting items for PRN1. This screen is displayed by the UI program that identifies the settable items of PRN1.
In the screen of FIG. 5, for example, “tray 1” is displayed in a box surrounded by a solid line for the setting item “paper feed tray”. A box surrounded by a solid square indicates a setting value set for the setting item “paper feed tray”. In FIG. 5, a box surrounded by a broken-line square indicates options that the user can selectively input. For example, for the setting item of “paper feed tray”, the current setting value is “tray 1”, but in addition to this setting value, a setting value of “manual tray” can be selected. . Specifically, for example, “tray 1” and “manual feed tray” can be selected from a pull-down menu. As shown in FIG. 4, the setting item specifying process described above that PRN1 can set the setting values “tray 1” and “manual tray” for the setting item “paper feed tray”. It corresponds to what is known by. Similarly, all the settable items of PRN1 shown in FIG. 4 are displayed on the screen shown in FIG. Note that a default value “10” is displayed for the setting item of “power save time” for which an arbitrary value can be set.

本実施例のUIプログラムは、プリンタの機種によらずにプリンタの設定項目と設定値を特定できる。従って、ひとつのUIプログラムで複数のプリンタに対して設定を行なうことができる。この特徴を利用すると、複数のプリンタに共通する設定項目に対しては、設定値を一度入力するだけで、夫々のプリンタに同じ設定値を設定することができる。
例えば、UIプログラムは、上述した設定項目特定処理を図1のPRN2に対しても実行する。これにより、例えば図6に例示するPRN2の設定項目が作成される。なお、図1の記憶装置112内に示す「PRN2設定項目」が、図6に示すデータに対応する。
UIプログラムは、PRN1の設定項目とPRN2の設定項目を参照して、両者に共通する設定項目(場合によっては設定値)を特定する。図4と図6を比較して得られる両者に共通する設定項目と設定値を図7に示す。図7において、斜線が引かれていない欄が、PRN1とPRN2で共通する設定項目(或いは設定値)を示す。UIプログラムは、ユーザからの指示に基づいて図7に示す共通設定項目について設定値の入力を行なうための画面を表示する。共通設定項目の入力画面の例を図8に示す。図8における実線の四角で囲った欄と破線の四角で囲った欄の意味は図5と同様である。ユーザは、図8に例示した画面から、PRN1とPRN2の共通設定項目の設定値を入力する。UIプログラムは、入力された設定値を指定する設定コマンドをPRN1とPRN2へ送信する(多重送信工程)。そうすることで、ユーザは設定値を1回入力することで、PRN1とPRN2の複数のプリンタに対して所望の設定値を設定させることができる。
The UI program of this embodiment can specify printer setting items and setting values regardless of the printer model. Therefore, settings can be made for a plurality of printers with a single UI program. By using this feature, the same setting value can be set for each printer by inputting the setting value once for the setting items common to a plurality of printers.
For example, the UI program also executes the setting item specifying process described above for the PRN 2 in FIG. Thereby, for example, the setting items of PRN2 illustrated in FIG. 6 are created. The “PRN2 setting item” shown in the storage device 112 of FIG. 1 corresponds to the data shown in FIG.
The UI program refers to the setting item of PRN1 and the setting item of PRN2, and specifies a setting item (a setting value in some cases) common to both. FIG. 7 shows setting items and setting values common to both obtained by comparing FIG. 4 and FIG. In FIG. 7, the non-hatched column indicates the setting items (or setting values) common to PRN1 and PRN2. The UI program displays a screen for inputting setting values for the common setting items shown in FIG. 7 based on an instruction from the user. An example of an input screen for common setting items is shown in FIG. The meanings of the columns enclosed by the solid squares in FIG. 8 and the columns enclosed by the dashed squares are the same as those in FIG. The user inputs setting values of common setting items of PRN1 and PRN2 from the screen illustrated in FIG. The UI program transmits a setting command for specifying the input setting value to PRN1 and PRN2 (multiplex transmission step). By doing so, the user can set desired setting values for a plurality of printers PRN1 and PRN2 by inputting the setting values once.

なお、図8に示すように、プリンタ名の欄は「共通」の他に「PRN1」と「PRN2」が選択可能となっている。ユーザが「PRN1」を選択すると、画面が切り替わり、共通設定項目以外でPRN1が設定可能な設定項目に対して設定値を入力する画面となる。同様に「PRN2」を選択すると、共通設定項目以外でPRN2が設定可能な設定項目に対して設定値を入力する画面となる。
このように、本実施例のUIプログラムは、複数のプリンタに対して共用できるユーザインタフェイスを提供する。従来のように、複数のプリンタに対して個別のユーザインタフェイスを使用する必要がない。新たなプリンタがネットワークに接続されてもユーザは慣れたユーザインタフェイスを介して新たなプリンタの設定を行なうことができる。
As shown in FIG. 8, “PRN1” and “PRN2” can be selected in addition to “common” in the printer name column. When the user selects “PRN1”, the screen is switched to a screen for inputting setting values for setting items that can set PRN1 other than the common setting items. Similarly, when “PRN2” is selected, a screen for inputting setting values for setting items other than the common setting items for which PRN2 can be set is displayed.
As described above, the UI program of this embodiment provides a user interface that can be shared by a plurality of printers. There is no need to use separate user interfaces for a plurality of printers as in the prior art. Even if a new printer is connected to the network, the user can set a new printer through a familiar user interface.

図3のステップS206の処理では、プリンタがACKで応答したか否かを判定した。プリンタがACK又はNACKの応答を返す機能を有していれば、UIプログラムはプリンタからNACK応答を受信することで、ACK応答でないことを判定できる。プリンタがACK応答は返すがNACK応答は返さないという機能を有する場合には、UIプログラムはステップS204で設定コマンドを送信したのち、所定時間だけプリンタからのACK応答を待ち、その所定時間内にACK応答を受信しなかった場合に、プリンタはACKで応答しなかったと判定して次のステップへ移行すればよい。また逆に、プリンタがNACK応答は返すがACK応答は返さないという機能を有する場合には、UIプログラムはステップS204で設定コマンドを送信したのち、所定時間だけプリンタからのNACK応答を待ち、その所定時間内にNACK応答を受信しなかった場合に、プリンタはACKで応答したと判定して次のステップへ移行すればよい。   In the process of step S206 in FIG. 3, it is determined whether or not the printer has responded with an ACK. If the printer has a function of returning an ACK or NACK response, the UI program can determine that it is not an ACK response by receiving the NACK response from the printer. If the printer has a function of returning an ACK response but not a NACK response, the UI program transmits a setting command in step S204, waits for an ACK response from the printer for a predetermined time, and then receives an ACK within the predetermined time. If no response is received, the printer may determine that it did not respond with ACK and proceed to the next step. Conversely, if the printer has a function of returning a NACK response but not an ACK response, the UI program transmits a setting command in step S204, and then waits for a NACK response from the printer for a predetermined time. If a NACK response is not received within the time, the printer may determine that it has responded with an ACK and proceed to the next step.

図3に示したフローチャート図において、設定コマンドを送信するステップS204の処理が請求項の「設定コマンド送信工程」に相当する。設定コマンドを送信したUIプログラムが、そのコマンドに対してプリンタがACKで応答するか否かを判定するステップS206の処理が請求項の「判定工程」に相当する。プリンタがACKで応答したときに、設定コマンドが指定した設定項目(或いは設定値)を記憶するステップS208の処理が請求項の「設定項目記憶工程」に相当する。
また、UIプログラムが図5や図8に例示する画面を端末1のディスプレイ116に表示する処理が請求項の「表示工程」に相当する。
なお、UIプログラムは、図2に示す設定項目セットを、UIプログラムのホームページ等からダウンロードして端末1に記憶させる処理を実行してもよい。
In the flowchart shown in FIG. 3, the process of step S204 for transmitting a setting command corresponds to a “setting command transmission step” in the claims. The process of step S206 in which the UI program that has transmitted the setting command determines whether or not the printer responds with an ACK to the command corresponds to the “determination step” in the claims. When the printer responds with ACK, the process of step S208 for storing the setting item (or setting value) designated by the setting command corresponds to the “setting item storing step” in the claims.
Further, the process in which the UI program displays the screen illustrated in FIGS. 5 and 8 on the display 116 of the terminal 1 corresponds to a “display process” in the claims.
Note that the UI program may execute processing for downloading the setting item set shown in FIG. 2 from the home page of the UI program and storing the setting item set in the terminal 1.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。
例えば、設定項目セットは、ダウンロードされる構成になっているが、ユーザが自ら設定項目セットに設定項目を追加できるようにしておいてもよい。
本発明に係るUIプログラムは、プリンタ以外の周辺機器(例えば複合機やデジタルカメラ)にも適用可能である。また、本発明は、実施例におけるUIプログラムを実装した専用の情報端末装置としても具現化してもよい。
また、本発明の具体例では、情報端末装置(コンピュータ)とネットワーク接続された周辺機器を例示したが、情報端末装置と周辺機器は通信可能に接続されていればどのような形態で接続されていてもよい。例えばUSBケーブルなどでローカル接続されていてもよく、或いはLANやWANで接続されていてもよい。また、接続は有線であっても無線であってもよい。
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。
Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above.
For example, the setting item set is configured to be downloaded, but the user may be able to add the setting item to the setting item set.
The UI program according to the present invention can also be applied to peripheral devices other than printers (for example, multifunction peripherals and digital cameras). In addition, the present invention may be embodied as a dedicated information terminal device in which the UI program in the embodiment is installed.
Further, in the specific example of the present invention, the peripheral device connected to the information terminal device (computer) and the network is illustrated, but the information terminal device and the peripheral device are connected in any form as long as they are connected to be communicable. May be. For example, it may be connected locally by a USB cable or the like, or may be connected by LAN or WAN. The connection may be wired or wireless.
The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.

図1は、情報端末とプリンタのネットワーク接続図である。FIG. 1 is a network connection diagram of an information terminal and a printer. 図2は、ユーザインタフェイスプログラムの処理のフローチャート図である。FIG. 2 is a flowchart of user interface program processing. 図3は、設定項目セットの一例を示す図である。FIG. 3 is a diagram illustrating an example of a setting item set. 図4は、PRN1について特定した設定項目を説明する図である。FIG. 4 is a diagram for explaining the setting items specified for PRN1. 図5は、ユーザインタフェイス画面の一例を示す図である。FIG. 5 is a diagram illustrating an example of a user interface screen. 図6は、PRN2について特定した設定項目を説明する図である。FIG. 6 is a diagram illustrating the setting items specified for PRN2. 図7は、PRN1とPRN2に共通する設定項目を示す図である。FIG. 7 is a diagram illustrating setting items common to PRN1 and PRN2. 図8は、ユーザインタフェイス画面の他の例を示す図である。FIG. 8 is a diagram illustrating another example of the user interface screen.

符号の説明Explanation of symbols

100:ネットワーク
102、104:端末
106、108:プリンタ
110:CPU
112:記憶装置
114:キーボード
116:ディスプレイ
100: Network 102, 104: Terminal 106, 108: Printer 110: CPU
112: Storage device 114: Keyboard 116: Display

Claims (6)

コンピュータと通信可能に接続された周辺機器の動作設定をユーザがコンピュータから行うことが可能なユーザインタフェイスプログラムであり、コンピュータに、
複数の周辺機器の設定項目を集めた設定項目の集合のデータから設定項目を取り出し、取り出した設定項目ごとに、その設定項目の設定を指示する設定コマンドを周辺機器へ送信する設定コマンド送信工程と、
設定コマンドに対する周辺機器の応答を受信し、その応答から周辺機器が設定コマンドを受け付けたか否かを判定する判定工程と、
判定工程によって周辺機器が受け付けたと判定された設定コマンドが示す設定項目を記憶する設定項目記憶工程と、
設定項目記憶工程によって記憶された設定項目の設定値をユーザが入力するための入力画面を表示する表示工程と、
を実行させることを特徴とするユーザインタフェイスプログラム。
A user interface program that allows a user to perform operation settings of a peripheral device communicatively connected to a computer from the computer.
A setting command transmission step of extracting a setting item from data of a set of setting items obtained by collecting setting items of a plurality of peripheral devices and transmitting a setting command for instructing setting of the setting item to the peripheral device for each of the extracted setting items; ,
A determination step of receiving a peripheral device response to the setting command and determining whether the peripheral device has received the setting command from the response;
A setting item storage step for storing a setting item indicated by the setting command determined to be received by the peripheral device in the determination step;
A display step for displaying an input screen for the user to input a setting value of the setting item stored by the setting item storage step;
A user interface program characterized by causing
設定項目の集合のデータには、その集合内の各設定項目に対応する設定値の候補が含まれており、
設定コマンド送信工程は、候補中の設定値を指定して、設定項目の設定を指示する設定コマンドを周辺機器へ送信し、
設定項目記憶工程は、周辺機器が受け付けたと判定された設定コマンドによって指示された設定値を記憶し、
表示工程は、設定項目記憶工程によって記憶された設定値をユーザが選択的に入力可能に表示することを特徴とする請求項1のユーザインタフェイスプログラム。
The data of the set of setting items includes setting value candidates corresponding to the setting items in the set,
In the setting command transmission step, a setting value in the candidate is designated, and a setting command instructing setting of the setting item is transmitted to the peripheral device
The setting item storage step stores the setting value instructed by the setting command determined to be received by the peripheral device,
The user interface program according to claim 1, wherein the display step displays the setting value stored in the setting item storage step so that the user can selectively input the setting value.
設定コマンド送信工程と判定工程と設定項目記憶工程は、コンピュータと通信可能に接続された複数の周辺機器ごとに実行され、
表示工程は、設定項目記憶工程で記憶された設定項目から複数の周辺機器に共通する設定項目を抽出して表示し、
コンピュータに、表示工程によって表示された共通設定項目の設定値がユーザによって入力されたときに、入力された設定値を指定して共通設定項目の設定を指示する設定コマンドを複数の周辺機器へ送信する設定コマンド多重送信工程を実行させることを特徴とする請求項1又は2のユーザインタフェイスプログラム。
The setting command transmission step, the determination step, and the setting item storage step are executed for each of a plurality of peripheral devices that are communicably connected to the computer.
The display step extracts and displays setting items common to a plurality of peripheral devices from the setting items stored in the setting item storage step,
When the setting value of the common setting item displayed by the display process is input to the computer, the setting command for specifying the setting value and instructing the setting of the common setting item is transmitted to a plurality of peripheral devices. 3. The user interface program according to claim 1, wherein a setting command multiplex transmission step is executed.
コンピュータに、
設定コマンド送信工程に先立って、周辺機器を、設定コマンドを受け付けるか否かの応答を返すが設定コマンドを実行しないダミーモードに指定するダミーモード指定コマンドを周辺機器へ送信するダミーモード指定コマンド送信工程と、
設定項目記憶工程に続いて、ダミーモードを解除するダミーモード解除コマンドを周辺機器へ送信するダミーモード解除コマンド送信工程と、
を実行させることを特徴とする請求項1から3のいずれか1項に記載のユーザインタフェイスプログラム。
On the computer,
Prior to the setting command transmission step, a dummy mode specification command transmission step for transmitting a dummy mode specification command for specifying a dummy mode in which the peripheral device returns a response as to whether or not to accept the setting command but does not execute the setting command to the peripheral device. When,
Subsequent to the setting item storage step, a dummy mode release command transmission step for transmitting a dummy mode release command for releasing the dummy mode to the peripheral device,
The user interface program according to claim 1, wherein the user interface program is executed.
コンピュータと通信可能に接続された周辺機器の動作設定のためのユーザによるコンピュータへの入力作業を支援する方法であり、
複数の周辺機器の設定項目を集めた設定項目の集合のデータから設定項目を取り出し、取り出した設定項目ごとに、その設定項目の設定を指示する設定コマンドを周辺機器へ送信する設定コマンド送信工程と、
設定コマンドに対する周辺機器の応答を受信し、その応答から周辺機器が設定コマンドを受け付けたか否かを判定する判定工程と、
判定工程によって周辺機器が受け付けたと判定された設定コマンドが示す設定項目を記憶する設定項目記憶工程と、
設定項目記憶工程によって記憶された設定項目の設定値をユーザが入力するための入力画面を表示する表示工程と、
を含むことを特徴とする入力支援方法。
A method for supporting an input operation to a computer by a user for operation setting of a peripheral device communicably connected to the computer,
A setting command transmission step of extracting a setting item from data of a set of setting items obtained by collecting setting items of a plurality of peripheral devices and transmitting a setting command for instructing setting of the setting item to the peripheral device for each of the extracted setting items; ,
A determination step of receiving a peripheral device response to the setting command and determining whether the peripheral device has received the setting command from the response;
A setting item storage step for storing a setting item indicated by the setting command determined to be received by the peripheral device in the determination step;
A display step for displaying an input screen for the user to input a setting value of the setting item stored by the setting item storage step;
An input support method comprising:
周辺機器と通信可能に接続されており、周辺機器の動作設定をユーザが行うことが可能な情報端末装置であり、
複数の周辺機器の設定項目を集めた設定項目の集合のデータから設定項目を取り出し、取り出した設定項目ごとに、その設定項目の設定を指示する設定コマンドを周辺機器へ送信する設定コマンド送信手段と、
設定コマンドに対する周辺機器の応答を受信し、その応答から周辺機器が設定コマンドを受け付けたか否かを判定する判定手段と、
判定手段によって周辺機器が受け付けたと判定された設定コマンドが示す設定項目を記憶する設定項目記憶手段と、
設定項目記憶手段によって記憶された設定項目の設定値をユーザが入力するための入力画面を表示する表示手段と、
を含むことを特徴とする情報端末装置。
An information terminal device that is communicably connected to a peripheral device and that allows the user to set operation settings of the peripheral device.
A setting command transmitting means for extracting a setting item from data of a set of setting items obtained by collecting setting items of a plurality of peripheral devices and transmitting a setting command for instructing setting of the setting item to the peripheral device for each extracted setting item; ,
A determination unit that receives a response from the peripheral device to the setting command and determines whether the peripheral device has received the setting command from the response;
A setting item storage means for storing a setting item indicated by the setting command determined to be received by the peripheral device by the determination means;
Display means for displaying an input screen for the user to input setting values of the setting items stored by the setting item storage means;
An information terminal device comprising:
JP2006264201A 2006-09-28 2006-09-28 User interface program, input support method, and information terminal device Active JP4428374B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006264201A JP4428374B2 (en) 2006-09-28 2006-09-28 User interface program, input support method, and information terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006264201A JP4428374B2 (en) 2006-09-28 2006-09-28 User interface program, input support method, and information terminal device

Publications (2)

Publication Number Publication Date
JP2008084069A JP2008084069A (en) 2008-04-10
JP4428374B2 true JP4428374B2 (en) 2010-03-10

Family

ID=39354875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006264201A Active JP4428374B2 (en) 2006-09-28 2006-09-28 User interface program, input support method, and information terminal device

Country Status (1)

Country Link
JP (1) JP4428374B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4775725B2 (en) * 2009-04-15 2011-09-21 コニカミノルタビジネステクノロジーズ株式会社 Output instruction apparatus and output instruction program
JP5909993B2 (en) * 2011-10-28 2016-04-27 富士ゼロックス株式会社 Print control system and program
JP5756775B2 (en) * 2012-03-23 2015-07-29 株式会社ゼンリンデータコム Mobile device

Also Published As

Publication number Publication date
JP2008084069A (en) 2008-04-10

Similar Documents

Publication Publication Date Title
US9069504B2 (en) Printing apparatus and method for increasing storage area
US10067724B2 (en) Image forming apparatus with selectable service configuration, image forming system including same, and method for selective image formation
US8947720B2 (en) Communication terminal device, communication control method, and non-transitory computer-readable medium storing communication control program
US8619292B2 (en) Terminal device for printing data from the internet
US20140078549A1 (en) Image forming apparatus with display
JP5929399B2 (en) Information providing apparatus, information providing system, and program
JP6168771B2 (en) Information processing apparatus and information processing method
JP6238711B2 (en) Printing apparatus, printing control method, and program
JP6108868B2 (en) Printing apparatus, printing apparatus control method, and program
JP2012113701A (en) Repeating device, repeating system, and repeating method
JP6155851B2 (en) Display program and display device
JP2012008860A (en) Image forming apparatus, print control method, and program
JP5910348B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
US20150088986A1 (en) Information processing apparatus, and control method and storage medium therefor
JP4428374B2 (en) User interface program, input support method, and information terminal device
JP6575271B2 (en) Mobile terminal, program, and communication system
JP6403642B2 (en) Image forming system
JP6589343B2 (en) Information processing apparatus and program
JP2006302117A (en) Printing system
JP2003259074A (en) Image processing apparatus, image processing content setting program, and image processing system
JP4529643B2 (en) Image forming system
JP6266157B2 (en) Control method and program
JP6598622B2 (en) Image forming apparatus, information processing method, and program
JP2020004148A (en) Application program for portable terminal and portable terminal
JP6204277B2 (en) Image forming system and print output method using box function

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091112

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121225

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4428374

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091207

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131225

Year of fee payment: 4