JP2002229748A - Printer control method and method - Google Patents
Printer control method and methodInfo
- Publication number
- JP2002229748A JP2002229748A JP2001384052A JP2001384052A JP2002229748A JP 2002229748 A JP2002229748 A JP 2002229748A JP 2001384052 A JP2001384052 A JP 2001384052A JP 2001384052 A JP2001384052 A JP 2001384052A JP 2002229748 A JP2002229748 A JP 2002229748A
- Authority
- JP
- Japan
- Prior art keywords
- printer
- setting
- item name
- capability
- setting value
- 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
- 238000000034 method Methods 0.000 title claims description 13
- 230000004044 response Effects 0.000 claims description 6
- 239000003973 paint Substances 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 235000011962 puddings Nutrition 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Abstract
(57)【要約】
【課題】 種々のプリンタを一つのプリンタドライバで
制御できるようにする。
【解決手段】 ホストコンピュータ上のプリンタドライ
バは、プリンタのもつユーザ操作可能な設定項目と設定
値の全てをプリンタに問い合せ、プリンタから通知され
た設定項目と設定値を設定画面に表示する。続いて、プ
リンタドライバは、設定画面上でユーザが選択した設定
値に従ってプリンタを制御する。
(57) [Summary] To enable various printers to be controlled by one printer driver. A printer driver on a host computer inquires of a printer about all of the user-operable setting items and setting values of the printer, and displays the setting items and setting values notified from the printer on a setting screen. Subsequently, the printer driver controls the printer according to the setting values selected by the user on the setting screen.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、プリンタを利用す
るホスト装置がプリンタを制御するためのプリンタ制御
方式に関わり、典型的にはプリンタドライバと呼ばれる
コンピュータプログラムにより実現される機能に関わる
ものである。[0001] 1. Field of the Invention [0002] The present invention relates to a printer control method for controlling a printer by a host device using the printer, and typically to a function realized by a computer program called a printer driver. .
【0002】[0002]
【従来の技術】従来のプリンタドライバは、プリンタの
各機種に1対1に対応して用意されており、該当機種の
プリンタのもつ全能力を予め知っていて、それに適合さ
せてGUI(グラフィックユーザインタフェース)の機
能やプリンタ制御の機能などが固定的に設計されてい
る。2. Description of the Related Art A conventional printer driver is prepared for each type of printer on a one-to-one basis, and knows in advance all the capabilities of a printer of a corresponding model, and adapts it to a GUI (graphic user interface). Interface) and printer control functions are fixedly designed.
【0003】[0003]
【発明が解決しようとする課題】従って、プリンタを買
い換えたような場合、プリンタドライバも丸ごと交換し
なければならない。また、ネットワークにおいてネット
ワーク上に存在する種々の機種のプリンタを利用するに
は、それら全機種のプリンタドライバをホストコンピュ
ータに予めインストールしておき、利用の都度に具体的
なプリンタ機種に対応したプリンタドライバを選択しな
ければならない。Therefore, when the printer is replaced by another, the printer driver must be replaced entirely. In order to use various types of printers existing on a network in a network, printer drivers of all the models are installed in a host computer in advance, and a printer driver corresponding to a specific printer model is used every time the printer is used. You have to choose.
【0004】そこで、本発明の目的は、能力の異なる複
数種のプリンタを一つのプリンドライバで制御できるよ
うにするためのプリンタ制御方式を提供することにあ
る。It is an object of the present invention to provide a printer control method for controlling a plurality of types of printers having different capabilities with a single pudding driver.
【0005】[0005]
【課題を解決するための手段】本発明に従うプリンタ制
御方式は、プリンタに対し前記プリンタのもつ能力の問
合せを行う問い合せ手段と、その問い合せに対してプリ
ンタから返送されるプリンタの能力を示す通知文を受け
る受信手段と、その通知文により示されるプリンタの能
力に基づいて、ユーザが印刷の設定を行うための設定画
面を作成して表示する表示手段と、その設定画面に対し
てユーザが行った設定に基づいてプリンタを制御する制
御手段とを備え、通知文が、プリンタの能力を表したテ
キストデータを含んでおり、上記表示手段が、そのテキ
ストデータを用いて上記設定画面を作成し表示する。According to the present invention, there is provided a printer control system comprising: an inquiry means for inquiring a printer about the capability of the printer; and a notification message indicating the capability of the printer returned from the printer in response to the inquiry. Receiving means, a display means for creating and displaying a setting screen for the user to make print settings based on the capability of the printer indicated by the notification message, and a display means for performing the setting on the setting screen by the user. Control means for controlling the printer based on the setting, wherein the notification includes text data representing the capability of the printer, and the display means creates and displays the setting screen using the text data. .
【0006】好適な実施形態では、上記設定画面のひな
型が更に備えられる。この場合、上記通知文が、プリン
タのもつユーザ操作可能な設定項目名と設定値とを表し
たテキストデータを含み、ひな型は、初期的にそれぞれ
空欄である項目名欄と設定値欄とを含み、問い合せ手段
が、プリンタに対して設定項目名と設定値とを問い合
せ、受信手段が、設定項目名と設定値とを表したテキス
トデータ含む通知文を受信し、表示手段が、その通知文
に含まれるテキストデータに基づいて、その通知文が示
す設定項目名と設定値とをひな型の項目名欄と設定値欄
とにそれぞれ入れ込むことにより、上記設定画面を作成
して表示する。In a preferred embodiment, a model of the setting screen is further provided. In this case, the notification includes text data indicating a setting item name and a setting value of the printer which can be operated by the user, and the template includes an item name column and a setting value column which are initially blank. Inquiring means inquires the setting item name and setting value to the printer, receiving means receives a notification message including text data representing the setting item name and setting value, and displaying means displays the notification message in the notification message. The setting screen is created and displayed by inserting the setting item name and the setting value indicated by the notification text into the template item name field and the setting value field, respectively, based on the included text data.
【0007】好適な実施形態では、通知文が示すプリン
タの能力を記憶する記憶手段が更に備えられ、制御手段
が、その記憶手段に記憶されているプリンタの能力に基
づいてプリンタを制御する。更に好適な実施形態では、
プリンタがネットワーク上に存在する場合、記憶手段
が、プリンタの能力をプリンタのネットワークアドレス
と対応づけて記憶する。[0007] In a preferred embodiment, there is further provided storage means for storing the capability of the printer indicated by the notification message, and the control means controls the printer based on the capability of the printer stored in the storage means. In a further preferred embodiment,
When the printer exists on the network, the storage unit stores the capability of the printer in association with the network address of the printer.
【0008】本発明のプリンタ制御方式は、典型的には
コンピュータによるプログラムの実行により実施するこ
とができるが、そのプログラムはディスク型ストレージ
や半導体メモリのようにプログラムを固定的に担持する
記録媒体や、通信ネットワークのようにプログラムを流
動的に担持する記録媒体のいずれからでもコンピュータ
にインストールすることができる。The printer control method of the present invention can be typically implemented by executing a program by a computer. The program may be implemented by a recording medium such as a disk-type storage or a semiconductor memory, which fixedly holds the program. The program can be installed in the computer from any recording medium that carries the program fluidly, such as a communication network.
【0009】[0009]
【発明の実施の形態】以下、本発明の実施の形態につい
て図を参照して説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0010】図1は本発明の一実施形態が機能するコン
ピュータシステムの概略構成図である。FIG. 1 is a schematic configuration diagram of a computer system in which an embodiment of the present invention functions.
【0011】図1において、例えばインターネット1の
ような通信ネットワークを通じて、あるホストコンピュ
ータ2が1台以上のプリンタ3と通信可能である。ホス
トコンピュータ2には、図示しないがプリンタドライバ
がインストールされている。そのプリンタドライバは、
使用するプリンタの機種を限定しない汎用的なものであ
って、特定のプリンタ3の能力を当初から認識してはい
ない。In FIG. 1, a certain host computer 2 can communicate with one or more printers 3 through a communication network such as the Internet 1. Although not shown, a printer driver is installed in the host computer 2. The printer driver is
It is a general-purpose printer that does not limit the type of printer used, and does not recognize the capability of a specific printer 3 from the beginning.
【0012】このプリンタドライバは、呼び出される
と、ユーザがマウス、キーボード等の入力装置を用いて
プリンタに対し種々の設定項目を選択入力するためのド
ライバ設定画面4(具体例は図4参照)を表示する。表
示された設定画面4の構成は使用するプリンタの能力に
適合したものである。しかし、このプリンタドライバは
当初は使用する特定プリンタの能力を知らないので、設
定画面4を作成するための図2に示すような設定画面4
のひな型(つまり、枠組だけ)の情報を当初から有して
いる。When this printer driver is called, a driver setting screen 4 (see FIG. 4 for a specific example) for allowing the user to select and input various setting items to the printer using an input device such as a mouse and a keyboard. indicate. The configuration of the displayed setting screen 4 is adapted to the capability of the printer to be used. However, since this printer driver does not initially know the capability of the specific printer to be used, the setting screen 4 shown in FIG.
Has information of the model (that is, only the framework) from the beginning.
【0013】図2中の空欄5は項目名欄であり、ここに
は設定項目名、例えば、「RESOLUTION」(解
像度)、「PAINT」(印刷色)、「PAPERSI
ZE」(紙サイズ)、「ORIENTATION」(用
紙方向)等が表示されることになる。A blank column 5 in FIG. 2 is an item name column, in which a setting item name, for example, "RESOLUTION" (resolution), "PAINT" (print color), "PAPERSI"
“ZE” (paper size), “ORIENTATION” (paper direction) and the like are displayed.
【0014】空欄6、7は設定値欄であって、項目名欄
5に表示された特定の設定項目に関してユーザが選択入
力できる具体的な設定値、例えば、「RESOLUTI
ON」に関しては「600」dpiや「300」dpi
などの具体的な解像度値、「PAINT」に関しては
「COLOR」(カラー印刷)や「MONO」(白黒印
刷)、「PAPERSIZE」に関しては「A3」、
「B4」、「A4」、「LTR」(レター)などの具体
的な紙サイズ値、「ORIENTATION」に関して
は「LAND」(横向き)や「PORT」(縦向き)が
表示されることになる。図2では便宜上2つの設定値欄
6、7しか図示してないが、設定値欄の個数は固定的で
はなく、表示すべき具体的な設定値の個数に合せて増減
される。各設定値欄6、7にはラジオボタン10、11
が付属している。ラジオボタン10、11の一つをクリ
ックすると、そこに黒丸が表示され、対応する設定値を
選択したことになる。Blank columns 6 and 7 are setting value columns, and specific setting values that can be selected and input by the user with respect to a specific setting item displayed in the item name column 5, for example, “RESOLUTI”.
For "ON", "600" dpi or "300" dpi
For example, "COLOR" (color printing) or "MONO" (black and white printing) for "PAINT", "A3" for "PAPERSIZE",
Specific paper size values such as “B4”, “A4”, and “LTR” (letter), and “LAND” (horizontal) and “PORT” (vertical) are displayed for “ORIENTATION”. Although only two setting value columns 6 and 7 are shown in FIG. 2 for convenience, the number of setting value columns is not fixed and is increased or decreased according to the number of specific setting values to be displayed. Radio buttons 10 and 11 are provided in the setting value columns 6 and 7, respectively.
Comes with. When one of the radio buttons 10 and 11 is clicked, a black circle is displayed there, indicating that the corresponding setting value has been selected.
【0015】設定画面4の個数も設定項目の数に合せて
自動的に増減される。複数の設定画面4は図示のように
重ねて表示されるので、最前面の設定画面4だけを見る
ことができる。各設定画面4には互いに異なる位置にタ
グ9が付いていて、このタグ9にもその設定画面4の設
定項目名が表示されることになる。よって、複数の設定
画面4のタグ9は全体として、このプリンタドライバで
設定できる項目の一覧表となる。タグ9の一つをクリッ
クすると、そのタグ9の設定画面4が最前面に現れる。The number of setting screens 4 is automatically increased or decreased according to the number of setting items. Since the plurality of setting screens 4 are displayed in an overlapping manner as shown, only the foremost setting screen 4 can be viewed. Each setting screen 4 has a tag 9 at a different position, and the setting item name of the setting screen 4 is also displayed on the tag 9. Therefore, the tags 9 on the plurality of setting screens 4 are a list of items that can be set by the printer driver as a whole. When one of the tags 9 is clicked, the setting screen 4 of the tag 9 appears on the foreground.
【0016】OKボタン8は、これをクリックすること
により、設定画面4で選択入力された設定値が確定す
る。When the OK button 8 is clicked, the set value selected and input on the setting screen 4 is determined.
【0017】ホストコンピュータ2のプリンタドライバ
は、使用するプリンタが特定されると、その特定のプリ
ンタに接続してその全能力(具体的には、ユーザが操作
可能な設定項目名とその設定値可変範囲の全て)を調査
し、その調査結果に基づいてその特定されたプリンタに
適合したドライバとして動作する。図3はその処理の手
順を示す。尚、能力調査は使用プリンタが特定される都
度に行ってもよいし、或は、調査結果をプリンタドライ
バが記憶して後の同じプリンタに対する制御に利用する
ことにより、新しく導入されたプリンタに対してのみ調
査を行うようにしてもよい。When the printer driver to be used is specified, the printer driver of the host computer 2 connects to the specific printer and has all its capabilities (specifically, the setting item names operable by the user and the setting value variable). All of the range), and based on the result of the search, operate as a driver suitable for the specified printer. FIG. 3 shows the procedure of the processing. The capability check may be performed each time the printer to be used is specified, or the result of the check may be stored in the printer driver and used for control of the same printer later, so that the newly installed printer may be used. Only the survey may be conducted.
【0018】図3に示すように、ホストコンピュータ2
のプリンタドライバは、起動されると、ユーザから使用
プリンタ3の特定情報(例えばIPアドレス)を入力さ
れ、そして、その特定されたプリンタ3に対して、イン
ターネット1を通じ例えばSMTPプロトコルによる電
子メールを送ってそのプリンタ3の設定項目名と設定値
可変範囲の全てを知らせるように要求する(S10)。
この電子メールの本文には、例えば、次のようなコマン
ドが記述される。As shown in FIG. 3, the host computer 2
When the printer driver is activated, the user inputs specific information (for example, an IP address) of the printer 3 to be used, and sends an e-mail to the specified printer 3 through the Internet 1 by, for example, the SMTP protocol. Then, a request is made to notify the printer 3 of the setting item name and the entire setting value variable range (S10).
In the body of the e-mail, for example, the following command is described.
【0019】@JCL INQUIRE ALL RA
NGE<LF>ここに、「@JCL」は所定のジョブ制
御言語(Job Control Language)のコマンドであること
を意味する接頭辞であり、「INQUIRE」は問い合
せコマンドであることを意味するコマンドコードであ
り、「ALL RANGE」は問い合せの対象が全ての
設定項目名と設定値可変範囲であることを意味するパラ
メータである。[0019] JCL INQUIRE ALL RA
NGE <LF> Here, “@JCL” is a prefix meaning that it is a command of a predetermined job control language (Job Control Language), and “INQUIRE” is a command code meaning that it is an inquiry command. Yes, “ALL RANGE” is a parameter that means that the target of inquiry is all setting item names and setting value variable ranges.
【0020】なお、この調査で用いるプロトコルはSM
TPに限定するものではなく、TELENET等他の使
用可能なプロトコルも全て適用範囲内であり、インター
ネット1におけるTCP/IPプロトコル体系内に含ま
れる使用可能なプロトコルのいずれでもよい。また、イ
ンターネット1以外の別の通信手段を通じてホストコン
ピュータ2とプリンタ3とが通信する場合は、その通信
手段に適合したプロトコルを用いることは言うまでもな
い。The protocol used in this investigation is SM
The present invention is not limited to the TP, and all other usable protocols such as TELNET are within the applicable range, and any of the usable protocols included in the TCP / IP protocol system on the Internet 1 may be used. When the host computer 2 and the printer 3 communicate with each other through another communication means other than the Internet 1, it goes without saying that a protocol suitable for the communication means is used.
【0021】ホストコンピュータ2からの上記問い合せ
コマンドを受け取ったプリンタ3は、自分の全設定項目
名と設定可変範囲を示す設定値ファイルを電子メールで
ホストコンピュータ2に返送する(S11)。設定値フ
ァイルには例えば次のような本文が含まれている。The printer 3 that has received the inquiry command from the host computer 2 sends back to the host computer 2 by e-mail a setting value file indicating its own setting item names and setting variable ranges (S11). The setting value file includes, for example, the following text.
【0022】 @JCL ANSWER ALL RANGE<LF> @JCL RANGE RESOLUTION=600
/300<LF> @JCL RANGE PAINT=COLOR/MO
NO<LF> @JCL RANGE PAPERSIZE=A4/L
TR<LF> @JCL RANGE ORIENTATION=LA
ND/PORT<LF> ・ ・ ・ <FF>ここに、「ANSWER ALL RANG
E」とは問い合せコマンド「INQUIRE ALL
RANGE」に対する回答であることを意味するメッセ
ージであり、これに後続するメッセージが具体的な設定
項目名と設定可変範囲の通知文である。各通知文におけ
る「RANGE」は具体的な設定項目名と設定値可変範
囲を通知する旨のコマンドコードであり、この後に
「“設定項目”=“設定値1”/“設定値2”/…」と
いう形式の具体的な設定項目名と設定値可変範囲を示す
パラメータが続く。このパラメータでは、具体的な設定
項目名と設定値可変範囲がテキストコードで表現されて
いる。@JCL ANSWER ALL RANGE <LF> @JCL RANGE RESOLUTION = 600
/ 300 <LF> @JCL RANGE PAINT = COLOR / MO
NO <LF> @JCL RANGE PAPERSIZE = A4 / L
TR <LF> @JCL RANGE ORIENTATION = LA
ND / PORT <LF>---<FF> where "ANSWER ALL RANG"
"E" means the inquiry command "INQUIRE ALL
This message means that the message is a response to "RANGE", and the message following the message is a specific setting item name and a notification message of the setting variable range. "RANGE" in each notification statement is a command code for notifying a specific setting item name and a setting value variable range, followed by "" setting item "=" setting value 1 "/" setting value 2 "/ ... "Followed by a parameter indicating a specific setting item name and a setting value variable range. In this parameter, a specific setting item name and a setting value variable range are represented by a text code.
【0023】ホストコンピュータ2のプリンタドライバ
はプリンタ3から全ての設定項目名と設定値可変範囲を
入手したら、その全データをプリンタ3の能力データと
してホストコンピュータ2内のハードディスク等の不揮
発性記憶装置に登録し保存する(S12)。このとき、
後に同じプリンタ3を再度使用するときに一旦登録した
能力データを流用できるよう、その能力データはそのプ
リンタ3の識別(例えばIPアドレス)と対応させて登
録・保存する。When the printer driver of the host computer 2 obtains all the setting item names and the setting value variable ranges from the printer 3, the entire data is stored in a non-volatile storage device such as a hard disk in the host computer 2 as capability data of the printer 3. Register and save (S12). At this time,
When the same printer 3 is used again later, the registered capability data is registered and stored in association with the identification (for example, IP address) of the printer 3 so that the registered capability data can be used.
【0024】続いて、プリンタ3から受信した設定項目
名と設定値(つまり、上記各通知文のテキストコードで
表現されたパラメータの文字フォント)を、予め保有し
ている図2に示したドライバ設定画面のひな型の決めら
れた欄に各項目別に埋め込んで(つまり、“設定項目
名”は欄5とタグ9に、“設定値1”は欄6に、“設定
値2”は欄7に、…のように埋め込んで)ドライバ設定
画面を完成させ、これをホストコンピュータ2のディス
プレイ装置に表示する(S13)。表示された設定画面
の一例を図4(a)に示す。図4(a)では、今最前面
にある設定画面には、項目名欄5に「PAINT」が表
示され、1つ目の設定値欄6には「COLOR」が、2
つ目の設定値欄7には「MONO」が表示されている。
尚、図4(b)に示すように、1つの設定画面上に複数
の設定項目を表示したものを作成することもできる。重
ねられた設定画面の各タグ9にも、図示してないが、各
表示画面の設定項目名が表示される。ユーザが所望の設
定項目のタグをクリックすれば(S17)、その設定項
目の設定画面が最前面に表示される。Subsequently, the setting item name and the setting value (that is, the character font of the parameter expressed by the text code of each notification message) received from the printer 3 are stored in the driver setting shown in FIG. Each item is embedded in the column of the screen model determined (that is, "setting item name" is in column 5 and tag 9, "setting value 1" is in column 6, "setting value 2" is in column 7, The driver setting screen is completed (embedded like...) And is displayed on the display device of the host computer 2 (S13). FIG. 4A shows an example of the displayed setting screen. In FIG. 4A, “PAINT” is displayed in the item name column 5 on the setting screen now in the foreground, and “COLOR” is displayed in the first setting value column 6 as 2
“MONO” is displayed in the third set value column 7.
In addition, as shown in FIG. 4B, a display in which a plurality of setting items are displayed on one setting screen can be created. Although not shown, the setting item name of each display screen is also displayed on each tag 9 of the superposed setting screen. When the user clicks a tag of a desired setting item (S17), a setting screen of the setting item is displayed on the foreground.
【0025】また、このときに、ユーザの設定対象では
ない隠れたプリンタ能力(例えばメモリ容量や、CPU
の種類など)や現在のプリンタステータス(例えば、現
在セットされている用紙のサイズ、用紙の有無、インク
やトナーの有無など)も問い合せて、それらの情報を総
合的に判断して、形式的には選択できるようでもは実際
には選択できない設定値(例えば、高解像度600dp
iでカラー印刷を選択した場合、プリンタの実質能力で
は紙サイズがA3、B4の大判紙を選択すると印刷不可
能な場合における紙サイズ値「A3」や「B4」)も判
断して、そのような設定値を薄色に表示することによ
り、選択不可能であることを警告するといった処理も併
せて行ってもよい。At this time, hidden printer capabilities (eg, memory capacity, CPU
Type, etc.) and the current printer status (for example, the size of the currently loaded paper, the presence or absence of paper, the presence or absence of ink and toner, etc.), and comprehensively determine the information and formally Is a setting value that can be selected but cannot actually be selected (for example, high resolution 600 dp
When the color printing is selected in i, the paper size values "A3" and "B4" in the case where printing is not possible when large-size paper of A3 or B4 is selected are determined according to the actual capacity of the printer. A process of warning that selection is not possible by displaying a simple set value in a light color may also be performed.
【0026】表示された設定画面上でユーザが所望の設
定値のラジオボタンをクリックすれば、その設定値が選
択されて、選択された設定値のラジオボタンに黒丸マー
クが表示される(S14)。When the user clicks a desired setting value radio button on the displayed setting screen, the setting value is selected, and a black circle mark is displayed on the selected setting value radio button (S14). .
【0027】設定画面上でユーザがOKボタン8を押す
と(S15)、プリンタドライバは、設定画面上で現在
選択されている全ての設定値をプリンタ3に設定するた
めの設定コマンドを作成する(S15)。When the user presses the OK button 8 on the setting screen (S15), the printer driver creates a setting command for setting all the setting values currently selected on the setting screen to the printer 3 (S15). S15).
【0028】例えば、図4(b)に示すように設定値が
選択されていた場合、その設定コマンドは、 @JCL SET RESOLUTION=600<L
F> @JCL SET PAINT=COLOR<LF> @JCL SET PAPERSIZE=A4<LF> となる。ここに、「SET」は設定を命じるコマンドコ
ードであり、この後に具体的な設定内容を示す「“設定
すべき項目名”=“設定すべき値”」という形式のパラ
メータが続く。For example, when a setting value is selected as shown in FIG. 4B, the setting command is: JCL SET RESOLUTION = 600 <L
F> @JCL SET PAINT = COLOR <LF> @JCL SET PAPERSIZE = A4 <LF> Here, “SET” is a command code for instructing the setting, followed by a parameter in the form of ““ item name to be set ”=“ value to be set ”” indicating specific setting contents.
【0029】続いて、プリンタドライバは、作成した全
設定値の設定コマンドを電子メールでプリンタ3へ送信
する(S18)。プリンタ3はその設定コマンドに従っ
て自機の設定を行う(S19)。こうして印刷準備が完
了する。その後、プリンタドライバはユーザからの印刷
要求に応答してプリンタ3に印刷データを送信し、プリ
ンタ3を印刷データを受けて、先の設定に従った印刷を
実行する。Subsequently, the printer driver sends the created setting command of all the setting values to the printer 3 by e-mail (S18). The printer 3 sets its own device according to the setting command (S19). Thus, the printing preparation is completed. Thereafter, the printer driver transmits print data to the printer 3 in response to a print request from the user, receives the print data from the printer 3, and executes printing in accordance with the above settings.
【0030】尚、同じプリンタ3を再度使用して印刷を
行う場合には、図3に示す処理を最初から再度実行して
もよいし、或は、ステップS10、S12を省略し、既
に登録してある能力データを流用してステップS13へ
進むようにしてもよい。When printing is performed using the same printer 3 again, the processing shown in FIG. 3 may be executed again from the beginning, or steps S10 and S12 may be omitted, and the registration may be performed. The process may proceed to step S13 using the existing capability data.
【0031】以上説明した実施形態によれば、ホストコ
ンピュータ2にインストールした1つのプリンタドライ
バで、能力の異なる種々のプリンタを制御することがで
きる。また、ネットワーク上でアドレスからその存在が
分かっていても、実際の仕様能力が不明なプリンタの全
設定値や設定可変範囲を事前に知ることができるので、
ネットワーク上に多数存在するプリンタの性能を把握し
て大判の精細カラー印刷に適しているプリンタ、印字速
度が早くテキスト文書の大量プリントに向いているプリ
ンタ、というふうに能力に応じた最適な使い方をするこ
ともでき、それにより無駄を省き機器の使用効率を向上
させることができる。According to the embodiment described above, one printer driver installed in the host computer 2 can control various printers having different capabilities. In addition, even if the existence is known from the address on the network, the actual setting capability of the printer whose unknown specification capability is unknown can be known in advance, so that all setting values and setting variable ranges can be known.
The best use depending on the ability, such as a printer that is suitable for large-format fine color printing by grasping the performance of many printers existing on the network and a printer that is fast and suitable for large volume printing of text documents. This can reduce waste and improve the use efficiency of the device.
【0032】また、本実施形態では、空欄内に項目名や
設定値を入れ込める書換え自由なパターン化された設定
画面のひな型をプリンタドライバが保持するようにし
て、特定のプリンタからテキストコードで通知される項
目名や設定値の文字フォントをそのひな型に填め込んで
特定のプリンタに合った設定画面を作成するようにして
いるので、プリンタドライバの使用上の自由度が大幅に
拡大する。例えば、現在世界で使用されているプリンタ
で用いられる国語には12ケ国語位があり、従来はプリ
ンタだけでなく、プリンタドライバもユーザの使用する
国語に対応する(つまり、設定画面上の項目名や設定値
を使用国語で表示する)よう設計しておく必要があっ
た。これに対し、本実施形態のプリンタドライバでは、
設定画面のひな型にプリンタから通知されたテキストコ
ードの項目名や設定値の文字フォントを入れ込んで表示
するため、自動的にプリンタの使用する国語で項目名や
設定値を表示することになる。従って、プリンタさえ使
用国語に対応していれば、プリンタドライバは自動的に
使用国語に対応することになる。また、複数の国語が使
用される環境でも、一つのプリンタドライバがどの国語
にも自動的にする対応することができる。Also, in the present embodiment, the printer driver holds a template of a freely rewritable patterned setting screen in which item names and setting values can be entered in blanks, and a specific printer notifies the user with a text code. The character font of the item name or setting value to be inserted is inserted into the model to create a setting screen suitable for a specific printer, so that the degree of freedom in using the printer driver is greatly expanded. For example, there are about 12 national languages used in printers currently used in the world. Conventionally, not only the printer but also the printer driver corresponds to the language used by the user (that is, the item name on the setting screen). And setting values are displayed in the language of use). On the other hand, in the printer driver of the present embodiment,
Since the item name of the text code notified from the printer and the character font of the setting value are inserted into the template of the setting screen and displayed, the item name and the setting value are automatically displayed in the language used by the printer. Therefore, if even the printer supports the language of use, the printer driver automatically supports the language of use. Further, even in an environment where a plurality of languages are used, one printer driver can automatically cope with any language.
【0033】また、プリンタドライバがプリンタの能力
に応じて柔軟に設定画面を変更することによって、更
に、同じプリンタであっても時々の状態によって設定画
面の表示を変えることも可能である。例えば、本来は6
種類の紙サイズが印字可能なプリンタであっても、用紙
トレイにはA3とA4の2種類の用紙しかなければ、ド
ライバ設定画面ではA3とA4しか選択できない表示に
したり、或は、カラープリンタであってもシアン等のカ
ラーインクが切れていて、黒インクしか入っていない状
態では、白黒印刷しか受け付けない設定画面表示にする
ことなどが可能である。Further, the printer driver flexibly changes the setting screen according to the capability of the printer, so that the display of the setting screen can be changed depending on the status of the same printer. For example, originally 6
Even if the printer is capable of printing various types of paper sizes, if the paper tray has only two types of paper, A3 and A4, the driver setting screen displays only A3 and A4. Even if there is a color ink such as cyan running out and containing only black ink, it is possible to display a setting screen that accepts only black and white printing.
【0034】本発明は、上述した実施形態のみに限定さ
れるものではなく、他の種々の形態でも実施することが
できるものである。The present invention is not limited to the above-described embodiment, but can be implemented in other various forms.
【図1】本発明の一実施形態が機能するコンピュータシ
ステムの構成図である。FIG. 1 is a configuration diagram of a computer system in which an embodiment of the present invention functions.
【図2】ドライバ設定画面のひな型の例を示す図であ
る。FIG. 2 is a diagram illustrating an example of a model of a driver setting screen.
【図3】ホストコンピュータのプリンタドライバが行う
プリンタ能力調査処理のフローチャートである。FIG. 3 is a flowchart of a printer capability check process performed by a printer driver of a host computer.
【図4】表示されたドライバ設定画面の具体例を示す図
である。FIG. 4 is a diagram showing a specific example of a displayed driver setting screen.
1 インターネット 2 ホストコンピュータ 3 プリンタ 4 ドライバ設定画面 5 設定項目欄 6 第1の設定値欄 7 第2の設定値欄 8 OKボタン 9 タグ 1 Internet 2 Host computer 3 Printer 4 Driver setting screen 5 Setting item field 6 First setting value field 7 Second setting value field 8 OK button 9 Tag
Claims (8)
の問合せを行う問い合せ手段と、 前記問い合せに対して前記プリンタから返送される前記
プリンタの能力を示す通知文を受ける受信手段と、 前記通知文により示される前記プリンタの能力に基づい
て、ユーザが印刷の設定を行うための設定画面を作成し
て表示する表示手段と、 前記設定画面に対して前記ユーザが行った設定に基づい
て前記プリンタを制御する制御手段とを備え、 前記通知文が、前記プリンタの能力を表したテキストデ
ータを含んでおり、 前記表示手段が、前記テキストデータを用いて前記設定
画面を作成し表示するプリンタ制御方式。An inquiry unit for inquiring a printer about the capability of the printer; a receiving unit for receiving a notification message indicating the capability of the printer returned from the printer in response to the inquiry; Display means for creating and displaying a setting screen for a user to make print settings based on the indicated capability of the printer, and controlling the printer based on the settings made by the user on the setting screen A printer control system, wherein the notification message includes text data representing the capability of the printer, and the display unit creates and displays the setting screen using the text data.
定項目名と設定値とを表したテキストデータを含み、 前記ひな型は、初期的にそれぞれ空欄である項目名欄と
設定値欄とを含み、 前記問い合せ手段が、前記プリンタに対して前記設定項
目名と前記設定値とを問い合せ、 前記受信手段が、前記設定項目名と前記設定値とを表し
たテキストデータ含む前記通知文を受信し、 前記表示手段が、前記通知文に含まれる前記テキストデ
ータに基づいて、前記通知文が示す前記設定項目名と前
記設定値とを前記ひな型の前記項目名欄と前記設定値欄
とにそれぞれ入れ込むことにより、前記設定画面を作成
して表示する請求項1記載のプリンタ制御方式。2. The apparatus according to claim 2, further comprising: a model of the setting screen, wherein the notification includes text data representing a setting item name and a setting value of the printer which can be operated by a user. Including an item name column and a setting value column that are blank, the inquiry means inquires the printer about the setting item name and the setting value, and the receiving means, the setting item name and the setting value, Receiving the notification text including the text data representing, the display means, based on the text data included in the notification text, the setting item name and the setting value indicated by the notification text, the model of the 2. The printer control method according to claim 1, wherein the setting screen is created and displayed by inserting the setting screen into an item name column and the setting value column.
記憶する記憶手段を更に有し、 前記制御手段が、前記記憶手段に記憶されている前記プ
リンタの能力に基づいて前記プリンタを制御する請求項
1記載のプリンタ制御方式。3. The printer according to claim 1, further comprising a storage unit configured to store the capability of the printer indicated by the notification message, wherein the control unit controls the printer based on the capability of the printer stored in the storage unit. Item 2. The printer control method according to Item 1.
る場合、前記記憶手段が、前記プリンタの能力を前記プ
リンタのネットワークアドレスと対応づけて記憶する請
求項3記載のプリンタ制御方式。4. The printer control method according to claim 3, wherein when the printer exists on a network, the storage unit stores the capability of the printer in association with a network address of the printer.
の問合せを行う問い合せステップと、 前記問い合せに対して前記プリンタから返送される前記
プリンタの能力を示す通知文を受ける受信ステップと、 前記通知文により示される前記プリンタの能力に基づい
て、ユーザが印刷の設定を行うための設定画面を作成し
て表示する表示ステップと、 前記設定画面に対して前記ユーザが行った設定に基づい
て前記プリンタを制御する制御ステップとを有し、 前記通知文が、前記プリンタの能力を表したテキストデ
ータを含んでおり、 前記表示ステップが、前記テキストデータを用いて前記
設定画面を作成し表示するプリンタ制御方法。5. An inquiry step for inquiring a printer about the capability of the printer; a receiving step of receiving a notification message indicating the capability of the printer returned from the printer in response to the inquiry; A display step of creating and displaying a setting screen for a user to make print settings based on the indicated capability of the printer; and controlling the printer based on the settings made by the user on the setting screen. And a control step for performing the setting, wherein the notification message includes text data representing the capability of the printer, and the displaying step creates and displays the setting screen using the text data.
ザ操作可能な設定項目名と設定値とを表したテキストデ
ータを含み、 前記問い合せステップが、前記プリンタに対して前記設
定項目名と前記設定値とを問い合せ、 前記受信ステップが、前記設定項目名と前記設定値とを
表したテキストデータ含む前記通知文を受信し、 前記表示ステップが、初期的にそれぞれ空欄である項目
名欄と設定値欄とを含んだ前記設定画面のひな型と、前
記通知文に含まれる前記テキストデータとに基づいて、
前記通知文が示す前記設定項目名と前記設定値とを前記
ひな型の前記項目名欄と前記設定値欄とにそれぞれ入れ
込むことにより、前記設定画面を作成して表示する請求
項5記載のプリンタ制御方法。6. The printer according to claim 1, wherein the notification includes text data indicating a setting item name and a setting value of the printer which can be operated by the user, and the querying step includes the setting item name and the setting for the printer. Inquiring for a value, the receiving step receives the notification message including text data representing the setting item name and the setting value, and the display step includes an item name column and a setting value, each of which is initially blank. Based on the model of the setting screen including a field and the text data included in the notification text,
6. The printer according to claim 5, wherein the setting screen is created and displayed by inserting the setting item name and the setting value indicated by the notification text into the item name column and the setting value column of the template, respectively. Control method.
の問合せを行う問い合せステップと、 前記問い合せに対して前記プリンタから返送される前記
プリンタの能力を示す通知文を受ける受信ステップと、 前記通知文により示される前記プリンタの能力に基づい
て、ユーザが印刷の設定を行うための設定画面を作成し
て表示する表示ステップと、 前記設定画面に対して前記ユーザが行った設定に基づい
て前記プリンタを制御する制御ステップとをコンピュー
タに実行させるためのプログラムを記録したコンピュー
タ読み取り可能な記録媒体であって、 前記通知文が、前記プリンタの能力を表したテキストデ
ータを含んでおり、前記表示ステップが、前記テキスト
データを用いて前記設定画面を作成し表示する前記記録
媒体。7. An inquiry step of inquiring a printer about the capability of the printer; a receiving step of receiving a notification message indicating the capability of the printer returned from the printer in response to the inquiry; A display step of creating and displaying a setting screen for a user to make print settings based on the indicated capability of the printer; and controlling the printer based on the settings made by the user on the setting screen. And a computer-readable recording medium that records a program for causing a computer to execute the control step, wherein the notification includes text data representing the capability of the printer, and the display step includes: The recording medium for creating and displaying the setting screen using text data.
ザ操作可能な設定項目名と設定値とを表したテキストデ
ータを含み、 前記問い合せステップが、前記プリンタに対して前記設
定項目名と前記設定値とを問い合せ、 前記受信ステップが、前記設定項目名と前記設定値とを
表したテキストデータ含む前記通知文を受信し、 前記表示ステップが、初期的にそれぞれ空欄である項目
名欄と設定値欄とを含んだ前記設定画面のひな型と、前
記通知文に含まれる前記テキストデータとに基づいて、
前記通知文が示す前記設定項目名と前記設定値とを前記
ひな型の前記項目名欄と前記設定値欄とにそれぞれ入れ
込むことにより、前記設定画面を作成して表示する請求
項7記載の記録媒体。8. The printer according to claim 1, wherein the notification includes text data representing a setting item name and a setting value of the printer which can be operated by a user. Inquiring for a value, the receiving step receives the notification message including text data representing the setting item name and the setting value, and the display step includes an item name column and a setting value, each of which is initially blank. Based on the model of the setting screen including a field and the text data included in the notification text,
The recording according to claim 7, wherein the setting screen is created and displayed by inserting the setting item name and the setting value indicated by the notification text into the item name column and the setting value column of the template, respectively. Medium.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001384052A JP3573129B2 (en) | 2001-12-18 | 2001-12-18 | Printer control method and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001384052A JP3573129B2 (en) | 2001-12-18 | 2001-12-18 | Printer control method and method |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9216125A Division JPH1165780A (en) | 1997-08-11 | 1997-08-11 | Printer control method and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002229748A true JP2002229748A (en) | 2002-08-16 |
| JP3573129B2 JP3573129B2 (en) | 2004-10-06 |
Family
ID=19187690
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001384052A Expired - Fee Related JP3573129B2 (en) | 2001-12-18 | 2001-12-18 | Printer control method and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3573129B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8213033B2 (en) | 2003-12-15 | 2012-07-03 | Samsung Electronics Co., Ltd. | Common driver application device and method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08286854A (en) * | 1995-04-19 | 1996-11-01 | Fuji Xerox Co Ltd | Print command device |
| JPH08331293A (en) * | 1995-06-01 | 1996-12-13 | Fuji Xerox Co Ltd | Picture input interface device for image forming device |
-
2001
- 2001-12-18 JP JP2001384052A patent/JP3573129B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08286854A (en) * | 1995-04-19 | 1996-11-01 | Fuji Xerox Co Ltd | Print command device |
| JPH08331293A (en) * | 1995-06-01 | 1996-12-13 | Fuji Xerox Co Ltd | Picture input interface device for image forming device |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8213033B2 (en) | 2003-12-15 | 2012-07-03 | Samsung Electronics Co., Ltd. | Common driver application device and method |
| US8860991B2 (en) | 2003-12-15 | 2014-10-14 | Samsung Electronics Co., Ltd. | Common driver application device and method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3573129B2 (en) | 2004-10-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH1165780A (en) | Printer control method and method | |
| US8773687B2 (en) | Driverless architecture for printing systems | |
| JP7433940B2 (en) | Information processing device, printing device, control method and program for the information processing device | |
| US8446613B2 (en) | Information processing apparatus and method and program of controlling the same | |
| US9323487B2 (en) | Providing an integrated, feature oriented ad-hoc printing device selection system for mobile client devices | |
| US9104359B2 (en) | Providing an integrated, feature oriented ad-hoc printing device selection system for mobile client devices | |
| US8773675B2 (en) | Providing an integrated, feature oriented printer selection system | |
| US8605316B2 (en) | Information processing apparatus and control method thereof, and storage medium | |
| US20150172483A1 (en) | Information processing apparatus, information processing method, and program | |
| US20250190154A1 (en) | Information processing apparatus, method for controlling information processing apparatus, and storage medium | |
| JP2019040564A (en) | Printer driver and information processing apparatus | |
| US20090002741A1 (en) | Information processing apparatus, information processing method, recording medium, and program | |
| JP2016177432A (en) | Program, information processing apparatus, storage medium, and screen creation method | |
| JP7422462B2 (en) | Programs and information processing devices | |
| US8856637B2 (en) | Applying borders to each page in N-up printing | |
| KR20210098333A (en) | Server system, and printing apparatus that communicates with server system | |
| JP3573129B2 (en) | Printer control method and method | |
| JP2008077487A (en) | Driver installation control method, driver installation program, drive control method, driver program, program storage medium, and terminal device | |
| JP2019174951A (en) | Application program | |
| US9529557B2 (en) | Apparatus and method for determining restriction avoidance processing, and computer-readable storage medium for computer program | |
| JP2009053735A (en) | Image transmission device, image transmission system, and image transmission method | |
| US20090323099A1 (en) | Printing method and printer driver providing user interface for generating output files | |
| US20240329890A1 (en) | Information processing apparatus and method of controlling the same, and storage medium | |
| JP2008077228A (en) | Installation program for printer driver and installation method for printer driver | |
| JP2022156461A (en) | Printers and computer programs for printers |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 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: 20040608 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040621 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080709 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090709 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100709 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110709 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110709 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120709 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120709 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130709 Year of fee payment: 9 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |