JP2003280851A - Network printer system - Google Patents

Network printer system

Info

Publication number
JP2003280851A
JP2003280851A JP2002079784A JP2002079784A JP2003280851A JP 2003280851 A JP2003280851 A JP 2003280851A JP 2002079784 A JP2002079784 A JP 2002079784A JP 2002079784 A JP2002079784 A JP 2002079784A JP 2003280851 A JP2003280851 A JP 2003280851A
Authority
JP
Japan
Prior art keywords
printer
subnet
unit
personal computer
registered
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
Application number
JP2002079784A
Other languages
Japanese (ja)
Other versions
JP4027696B2 (en
Inventor
Hisashi Ishihara
久士 石原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002079784A priority Critical patent/JP4027696B2/en
Publication of JP2003280851A publication Critical patent/JP2003280851A/en
Application granted granted Critical
Publication of JP4027696B2 publication Critical patent/JP4027696B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network printer system for preventing the increase of any unnecessary printer by making it clear that a printer has been already prepared on a personal computer. <P>SOLUTION: This network printer system is constituted of a printer registering part 1 for registering a printer on a personal computer, a sub-net detecting part 2 for obtaining a sub-net from an IP address and a sub-net mask, a table control part 3 for registering the printer registered by the printer registering part 1 and the sub-net obtained by the sub-net detecting part 2, and for retrieving the printer from the sub-net, a table 4 for storing the sub-net and the printer by the table control part 3, a noticing part 5 for noticing whether or not any printer available on the sub-net is present, a printer changing part 6 for changing the printer to be normally used by an OS, a print control part 7 for executing print processing in response to a request from a user, and for noticing the start of print, and a start detecting part 8 for noticing that the personal computer is started. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークプリ
ンタ・システムに関し、さらに詳しくは、複数異なるサ
ブネットに接続したプリンタを使用する方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network printer system, and more particularly to a method of using a printer connected to a plurality of different subnets.

【0002】[0002]

【従来の技術】近年、ノート型パーソナルコンピュータ
を持ち歩き、移動する人が増えている。そして、移動し
た先から近くのプリンタへ印刷する場合、その場の管理
者に依頼して、プリンタのインターネットプロトコル・
アドレスやホスト名等を聞き、パーソナルコンピュータ
上へのプリンタの作成(つまり、プリンタドライバソフ
トを導入し、ポートを作成すること)して接続する。ま
た、何度か同じ場所へ行ったにもかかわらず、以前接続
したことを忘れて、同じパーソナルコンピュータ上に、
また同じプリンタを作成してしまうことがある。
2. Description of the Related Art In recent years, an increasing number of people carry and carry notebook type personal computers. If you want to print from the moved destination to a nearby printer, ask the administrator on the spot and
Listen to the address, host name, etc., create a printer on the personal computer (that is, install printer driver software, create a port), and connect. Also, even though I went to the same place several times, I forgot that I was connected before and on the same personal computer,
Also, the same printer may be created.

【0003】[0003]

【発明が解決しようとする課題】前記のように、同じパ
ーソナルコンピュータ上に、複数の同じプリンタを作成
すると、不要なプリンタがパーソナルコンピュータ上に
増えることになる。本発明は、かかる課題に鑑み、移動
した先でネットワークプリンタを使用する場合、すでに
パーソナルコンピュータ上にプリンタを作成したことが
ある場合は、そのことがわかるようにし、不要なプリン
タが増えないようにしたネットワークプリンタ・システ
ムを提供することを目的とする。
As described above, if a plurality of the same printers are created on the same personal computer, unnecessary printers will increase on the personal computer. In view of the above problems, the present invention makes it possible to understand the case where a network printer is used at a destination to which a printer has already been created, and to prevent an unnecessary number of printers from increasing. The purpose of the present invention is to provide a network printer system.

【0004】[0004]

【課題を解決するための手段】本発明はかかる課題を解
決するために、請求項1は、パーソナルコンピュータ上
のプリンタを登録するプリンタ登録部と、インターネッ
ト・プロトコル・アドレスとサブネットマスクからサブ
ネットを取得するサブネット検出部と、テーブルへ前記
プリンタ登録部により登録されたプリンタと前記サブネ
ット検出部により取得されたサブネットを登録すると共
に、該サブネットからプリンタを検索するテーブル制御
部と、該テーブル制御部により前記サブネットとプリン
タを格納するテーブルと、前記サブネット上で使用可能
なプリンタが存在するか否かを通知する通知部と、OS
が通常使用するプリンタを変更するプリンタ変更部と、
ユーザからの要求により印刷処理を行い、また印刷開始
を通知する印刷制御部と、パーソナルコンピュータが起
動されたことを通知する起動検知部と、を備え、パーソ
ナルコンピュータ上のプリンタを登録する場合、前記プ
リンタ登録部は前記テーブル制御部に対してプリンタの
登録情報を伝え、該登録情報を受けた前記テーブル制御
部は前記サブネット検出部からサブネットを取得して、
前記登録情報と前記サブネットを前記テーブルに格納す
ることを特徴とする。インターネット・プロトコル・ア
ドレス(以下、IPアドレスと記す)は、ネットワーク
・アドレス部とホスト・アドレス部の2つに分けられ、
区分け方法によってクラスA〜Dの4つのクラスが定義
されている。また、IPアドレスは32ビットで構成さ
れるため、その数に限界があり、このアドレスの不足を
補うために考えられたのがサブネットマスクという概念
である。これは、IPアドレスを複数のサブネットに分
割して、複数のプライベート・ネットワークに対応でき
るようにしたものである。本発明ではパーソナルコンピ
ュータ上にこのサブネットを検出するサブネット検出部
を設け、そこで取得されたサブネットとプリンタ登録部
により登録されたプリンタをテーブルに格納しておく。
かかる発明によれば、パーソナルコンピュータ上のプリ
ンタを登録する場合、プリンタ登録部はテーブル制御部
に対して登録するプリンタの登録情報を伝え、この登録
情報を受けたテーブル制御部は、サブネット検出部から
サブネットを取得して、登録情報とこのサブネットを自
分のメモリ(テーブル)に格納することにより、再度同
じプリンタを使用する場合、確実に同じサブネットに接
続されたプリンタと接続することができる。
In order to solve the above problems, the present invention provides a printer registration unit for registering a printer on a personal computer, and a subnet from an Internet protocol address and a subnet mask. A subnet detection unit, a table control unit for registering the printer registered by the printer registration unit and the subnet acquired by the subnet detection unit in a table, and a printer search from the subnet, and the table control unit for A table that stores subnets and printers, a notification unit that notifies whether there are available printers on the subnet, and an OS
Printer change section that changes the printer that is normally used by
When a printer on a personal computer is registered, the printer includes a print control unit that performs a print process according to a request from a user, and that notifies the start of printing, and an activation detection unit that notifies that the personal computer has been activated. The printer registration unit transmits the registration information of the printer to the table control unit, and the table control unit receiving the registration information acquires the subnet from the subnet detection unit,
The registration information and the subnet are stored in the table. The Internet Protocol address (hereinafter referred to as IP address) is divided into two parts, a network address part and a host address part.
Four classes A to D are defined according to the classification method. Further, since the IP address is composed of 32 bits, there is a limit to the number, and the concept of the subnet mask has been considered in order to make up for this lack of address. This is to divide an IP address into a plurality of subnets so that a plurality of private networks can be supported. In the present invention, a subnet detection unit for detecting this subnet is provided on the personal computer, and the subnet acquired by the subnet detection unit and the printer registered by the printer registration unit are stored in the table.
According to this invention, when registering the printer on the personal computer, the printer registration unit transmits the registration information of the printer to be registered to the table control unit, and the table control unit receiving this registration information causes the subnet detection unit to receive the registration information. By acquiring the subnet and storing the registration information and this subnet in its own memory (table), when the same printer is used again, it is possible to surely connect to the printer connected to the same subnet.

【0005】請求項2は、前記サブネットで登録したプ
リンタを検索する場合、パーソナルコンピュータの起動
時に、前記テーブル制御部により前記サブネット検出部
からサブネットを取得すると共に、前記テーブルを検索
して前記サブネットに該当するプリンタを検索すること
も本発明の有効な手段である。携帯用のパーソナルコン
ピュータを移動先のネットワークプリンタに接続して印
刷する場合、一度そのプリンタを使用していれば、携帯
用のパーソナルコンピュータを起動した時に、以前のプ
リンタに自動的に接続できれば便利である。そのために
は、携帯用のパーソナルコンピュータ内のテーブルにサ
ブネットとそのサブネットに対応したプリンタを記憶し
ておくことにより可能となる。かかる技術手段によれ
ば、サブネットで登録したプリンタを検索する場合、パ
ーソナルコンピュータの起動時に、テーブル制御部によ
りサブネット検出部からサブネットを取得すると共に、
パーソナルコンピュータ内のテーブルを検索してサブネ
ットに該当するプリンタを検索するので、パーソナルコ
ンピュータを起動するだけで自動的に所望のプリンタを
アクセスすることができる。
According to a second aspect of the present invention, when a printer registered in the subnet is searched for, the table control unit acquires the subnet from the subnet detection unit when the personal computer is started, and the table is searched for in the subnet. Searching for a corresponding printer is also an effective means of the present invention. If you want to connect a portable personal computer to a destination network printer for printing, once you have used the printer, it would be convenient if the portable personal computer could be automatically connected to the previous printer when it was started up. is there. This can be done by storing a subnet and a printer corresponding to the subnet in a table in a portable personal computer. According to this technical means, when searching for a registered printer in the subnet, the table control unit acquires the subnet from the subnet detection unit when the personal computer is started, and
Since the printer corresponding to the subnet is searched by searching the table in the personal computer, the desired printer can be automatically accessed only by starting the personal computer.

【0006】請求項3は、前記テーブルには、前記テー
ブル制御部により取得されたサブネットと、該サブネッ
トに該当するプリンタの登録情報が対応付けられて格納
されていることも本発明の有効な手段である。テーブル
にはサブネットとプリンタの登録情報が格納されてい
る。従って、サブネットと対応するプリンタの登録情報
を同じアドレスか、若しくは対応付けられて格納してお
けば、サブネットを検出するだけで、プリンタが検索で
き、制御をより簡略化することができる。かかる技術手
段によれば、パーソナルコンピュータ内のテーブルに
は、テーブル制御部により取得されたサブネットと、こ
のサブネットに該当するプリンタの登録情報が対応付け
られて格納されているので、制御をより簡略化すること
ができる。請求項4は、前記サブネットで登録したプリ
ンタを検索した結果、前記テーブルに使用可能なプリン
タが登録済みの場合、前記プリンタ変更部は既に通常使
用するプリンタとして登録されているプリンタを、前記
テーブルに登録されたプリンタに変更することも本発明
の有効な手段である。Windows(登録商標)など
のOSでは、複数プリンタを登録してある中で、1つの
プリンタのみ通常使用のプリンタとして、優先順位を高
く設定することができる。従って、通常使用のプリンタ
として登録すれば、起動時に必ずそのプリンタが指定さ
れる。そこで、プリンタ変更部により、テーブルに登録
されたプリンタを通常使用のプリンタとして置き換えれ
ば、それを実現することができる。かかる技術手段によ
れば、サブネットで登録したプリンタを検索した結果、
パーソナルコンピュータ内のテーブルに使用可能なプリ
ンタが登録済みの場合、プリンタ変更部により、既に通
常使用するプリンタとして登録されているプリンタ置き
換えるので、テーブルに登録したプリンタを通常使用す
るプリンタとして使用することができる。
According to a third aspect of the present invention, the table stores the subnet acquired by the table control unit and the registration information of the printer corresponding to the subnet in association with each other. Is. The table stores registration information of subnets and printers. Therefore, if the registration information of the printer corresponding to the subnet is stored at the same address or in association with each other, the printer can be searched only by detecting the subnet, and the control can be further simplified. According to this technical means, since the subnet acquired by the table control unit and the registration information of the printer corresponding to this subnet are stored in the table in the personal computer in association with each other, the control is further simplified. can do. According to a fourth aspect of the present invention, when a printer registered in the subnet is searched and a usable printer is already registered in the table, the printer changing unit stores in the table a printer that is already registered as a normally used printer. Changing to a registered printer is also an effective means of the present invention. In an OS such as Windows (registered trademark), while a plurality of printers are registered, only one printer can be set to a high priority as a normally used printer. Therefore, if the printer is registered as a normally used printer, that printer is always specified at the time of startup. Therefore, if the printer changing unit replaces the printer registered in the table as a printer for normal use, that can be realized. According to such technical means, as a result of searching for the registered printer in the subnet,
If a printer that can be used in the table in the personal computer is already registered, the printer change unit replaces the printer that is already registered as the printer that is normally used. Therefore, the printer registered in the table can be used as the printer that is normally used. it can.

【0007】[0007]

【発明の実施の形態】以下、本発明を図に示した実施形
態を用いて詳細に説明する。但し、この実施形態に記載
される構成要素、種類、組み合わせ、形状、その相対配
置などは特定的な記載がない限り、この発明の範囲をそ
れのみに限定する主旨ではなく単なる説明例に過ぎな
い。図1は、本発明の実施形態に係るパーソナルコンピ
ュータの構成を表すブロック図である。この構成は、パ
ーソナルコンピュータ上のプリンタを登録するプリンタ
登録部1と、IPアドレスとサブネットマスクからサブ
ネットを取得するサブネット検出部2と、テーブルへ前
記プリンタ登録部1により登録されたプリンタと前記サ
ブネット検出部2により取得されたサブネットを登録、
及びこのサブネットからプリンタを検索するテーブル制
御部3と、このテーブル制御部3によりサブネットとプ
リンタを格納するテーブル4と、サブネット上で使用可
能なプリンタが存在するか否かを通知する通知部5と、
OSが通常使用するプリンタを変更するプリンタ変更部
6と、ユーザからの要求により印刷処理を行い、また印
刷開始を通知する印刷制御部7と、パーソナルコンピュ
ータが起動されたことを通知する起動検知部8から構成
されている。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described in detail below with reference to the embodiments shown in the drawings. However, the constituent elements, types, combinations, shapes, relative arrangements, and the like described in this embodiment are merely explanatory examples, not the gist of limiting the scope of the present invention thereto, unless specifically stated. . FIG. 1 is a block diagram showing the configuration of a personal computer according to the embodiment of the present invention. This configuration has a printer registration unit 1 that registers a printer on a personal computer, a subnet detection unit 2 that acquires a subnet from an IP address and a subnet mask, a printer registered by the printer registration unit 1 in a table, and the subnet detection unit. Register the subnet acquired by Part 2,
And a table control unit 3 for searching a printer from this subnet, a table 4 for storing the subnet and the printer by the table control unit 3, and a notification unit 5 for notifying whether or not there is a printer available on the subnet. ,
A printer changing unit 6 that changes the printer normally used by the OS, a print control unit 7 that performs print processing according to a request from the user, and that notifies the start of printing, and a start detection unit that notifies that the personal computer has been started. It is composed of 8.

【0008】この構成の動作を説明する前に、図5、図
6によりIPアドレスとサブネットの概念について説明
しておく。TCP/IP(Transmission Control Protoc
ol/Internet Protocol)環境では、通信相手を特定して
通信を行う必要がある。そこで重要となるのが、コンピ
ュータやネットワークに対するアドレスの考え方であ
る。TCP/IPは、全世界を統一したアドレス体系で
接続するプロトコルであり、その基本となるのがIPア
ドレス体系である。このIPアドレスのアドレス長は、
図5(a)に示すように、32ビット構成であり、32
ビットのIPアドレスはネットワーク・アドレスとホス
ト・アドレスとに区分される。つまり、インターネット
の世界ではネットワークに接続されたコンピュータは、
必ずネットワーク・アドレスとホスト・アドレスを持っ
ており、それによって所在が特定される。図5(b)
は、32ビットのIPアドレスを8ビットずつ4つに分
割した例を示しており、例えば、2進数で(10000
011)21、(01001000)22、(0001
1010)23、(10110000)24に分割さ
れ、8ビットの2進数を10進数に変換すると図5
(c)のように(13110)25、(7210)2
6、(2610)27、(17610)28となり、通
常のアドレスの表現例として図5(d)のように(13
1.72.26.176)と表現される。
Before explaining the operation of this configuration, the concept of IP address and subnet will be described with reference to FIGS. TCP / IP (Transmission Control Protocol)
In the ol / Internet Protocol) environment, it is necessary to specify the communication partner and communicate. What is important here is the concept of addresses for computers and networks. TCP / IP is a protocol for connecting the world with a unified address system, and the IP address system is the basis thereof. The address length of this IP address is
As shown in FIG. 5A, the 32-bit configuration
The bit IP address is divided into a network address and a host address. So, in the world of the Internet, a computer connected to a network
It always has a network address and a host address, which identifies its whereabouts. Figure 5 (b)
Shows an example in which a 32-bit IP address is divided into four 8 bits each, and for example, a binary number (10000
011) 21, (01001000) 22, (0001
1010) 23 and (1010000) 24, and an 8-bit binary number is converted into a decimal number.
As in (c), (131 10 ) 25, (72 10 ) 2
6, (26 10 ) 27, and (176 10 ) 28, and as an example of expressing a normal address, as shown in FIG.
1.72.26.176).

【0009】しかし、IPアドレスは、インターネット
上のホストのアドレスを規定するが、図5のように現在
のプロトコルであるIPバージョン4では32ビット
(約43億個)しかない。これでは明らかにIPアドレ
スが枯渇してしまうため、図6に示すように、1つのI
Pアドレスを複数のサブネットワークに分割して、複数
のプライベート・ネットワークに対応できるようにす
る。例えば、図6(a)で、クラスBのホスト・アドレ
ス部32は16ビットであるが、サブネットワーク部3
1として4ビットを割り当てると、ホストアドレス部3
2は12ビットに減少するが、図6(d)に示すように
ルータで分けた複数の異なるサブネットワーク16個を
新たに構築することができる。つまり、図6(d)のよ
うにサブネットワーク部31の4ビットにより、サブネ
ットワークが(1)から(16)まで16個構築でき、各サブ
ネットワーク内は、ホストアドレス部32により409
6個のホストが接続可能となる。例えば、サブネットワ
ーク(1)は、(129.129.1.α)のネットワー
クアドレスが設定でき、αが1〜4096まで設定でき
る。以下、同様にしてサブネットワーク(16)まで同じよ
うにネットワークアドレスが設定可能となる。図2は、
本発明の実施形態のテーブルの構成を示す図である。こ
のテーブルの構成は、ネットマスクとそれに対応するプ
リンタが登録されており、ネットマスク1からnまでが
順次プリンタ1からnに対応付けられている。
However, although the IP address defines the address of a host on the Internet, IP version 4, which is the current protocol as shown in FIG. 5, has only 32 bits (about 4.3 billion). This obviously exhausts the IP address, so as shown in FIG.
Divide the P-address into multiple subnetworks to accommodate multiple private networks. For example, in FIG. 6A, the class B host address part 32 has 16 bits, but the sub-network part 3
If 4 bits are assigned as 1, the host address part 3
Although 2 is reduced to 12 bits, 16 different sub-networks divided by routers can be newly constructed as shown in FIG. 6 (d). That is, as shown in FIG. 6D, 16 sub-networks (1) to (16) can be constructed by 4 bits of the sub-network unit 31, and each sub-network has 409 by the host address unit 32.
Six hosts can be connected. For example, for the sub-network (1), a network address of (129.129.1.α) can be set, and α can be set from 1 to 4096. In the same manner, network addresses can be similarly set up to the sub-network (16). Figure 2
It is a figure which shows the structure of the table of embodiment of this invention. In the configuration of this table, netmasks and corresponding printers are registered, and netmasks 1 to n are sequentially associated with printers 1 to n.

【0010】次に、請求項の順に図3と図4のフローチ
ャートを参照しながら動作について説明する。請求項1
の発明では、パーソナルコンピュータはTCP/IP上
でネットワークプリンタへ印刷する場合、IPアドレス
が必要になる。また、サブネットマスクも必要になる。
そして、ノート型パーソナルコンピュータを使用する場
合は、DHCP(Dynamic Host Configuration Protoco
l)環境が多いので、IPアドレスとサブネットマスク
からサブネットを覚えておく。サブネットはIPアドレ
スとサブネットマスクのAND条件で求まる。そして、
パーソナルコンピュータ上のプリンタを登録する場合
(S1)、プリンタ登録部1はテーブル制御部3に対し
てプリンタの登録情報を伝え、この登録情報を受けたテ
ーブル制御部3は、サブネット検出部2からサブネット
を取得して(S2)、登録情報とサブネットをテーブル
4に格納する(S3)。これにより、次回同じサブネッ
ト上で印刷するときには、テーブル4上から、そのサブ
ネットで登録したプリンタを検索できる。以上のよう
に、IPアドレスは、ネットワーク・アドレス部とホス
ト・アドレス部の2つに分けられ、区分け方法によって
クラスA〜Dの4つのクラスが定義されている。また、
IPアドレスは32ビットで構成されるため、その数に
限界があり、このアドレスの不足を補うために考えられ
たのがサブネットマスクという概念である。これは、I
Pアドレスを複数のサブネットに分割して、複数のプラ
イベート・ネットワークに対応できるようにしたもので
ある。本発明ではパーソナルコンピュータ上にこのサブ
ネットを検出するサブネット検出部2を設け、そこで取
得されたサブネットとプリンタ登録部1により登録され
たプリンタをテーブルに格納しておく。これにより、再
度同じプリンタを使用する場合、確実に同じサブネット
に接続されたプリンタと接続することができる。
Next, the operation will be described with reference to the flowcharts of FIGS. 3 and 4 in the order of the claims. Claim 1
In the invention described above, the personal computer needs an IP address when printing to a network printer on TCP / IP. You also need a subnet mask.
When using a notebook personal computer, DHCP (Dynamic Host Configuration Protocol)
l) There are many environments, so remember the subnet from the IP address and subnet mask. The subnet is obtained by the AND condition of the IP address and the subnet mask. And
When registering the printer on the personal computer (S1), the printer registration unit 1 transmits the registration information of the printer to the table control unit 3, and the table control unit 3 receiving this registration information causes the subnet detection unit 2 to send the subnet information. Is acquired (S2), and the registration information and subnet are stored in the table 4 (S3). As a result, when printing is performed on the same subnet next time, it is possible to search the printer registered on the subnet from the table 4 on the table 4. As described above, the IP address is divided into the network address part and the host address part, and four classes A to D are defined according to the classification method. Also,
Since the IP address is composed of 32 bits, there is a limit to the number, and the concept of the subnet mask was conceived to make up for this lack of address. This is I
The P address is divided into a plurality of subnets so that it can support a plurality of private networks. In the present invention, a subnet detection unit 2 for detecting this subnet is provided on the personal computer, and the subnet acquired by the subnet detection unit 2 and the printer registered by the printer registration unit 1 are stored in a table. As a result, when the same printer is used again, it can be surely connected to the printer connected to the same subnet.

【0011】請求項2の発明では、サブネットで登録し
たプリンタを検索する場合、パーソナルコンピュータの
起動時に(S5)、テーブル制御部3によりサブネット
検出部2からサブネットを取得すると共に(S6)、テ
ーブルを検索してサブネットに該当するプリンタを検索
する(S7)。携帯用のパーソナルコンピュータを移動
先のネットワークプリンタに接続して印刷する場合、一
度そのプリンタを使用していれば、携帯用のパーソナル
コンピュータを起動した時に、以前のプリンタに自動的
に接続できれば便利である。そのためには、携帯用のパ
ーソナルコンピュータ内のテーブル4(図2)にサブネ
ット40とそのサブネットに対応したプリンタ41を記
憶しておくことにより可能となる。請求項3の発明で
は、テーブル4には、テーブル制御部3により取得され
たサブネットと、このサブネットに該当するプリンタの
登録情報が、図2のように対応付けられて格納されてい
る。従って、サブネットと対応するプリンタの登録情報
を同じアドレスか、若しくは対応付けられて格納してお
けば、サブネットを検出するだけで、プリンタが検索で
き、制御をより簡略化することができる。請求項4の発
明では、サブネットで登録したプリンタを検索した結
果、テーブル4に使用可能なプリンタが登録済みの場合
(S8)、プリンタ変更部6は既に通常使用するプリン
タとして登録されているプリンタを、テーブル4に登録
されたプリンタに変更する(S12)。このように、W
indows(登録商標)などのOSでは、複数プリン
タを登録してある中で、1つのプリンタのみ通常使用の
プリンタとして、優先順位を高く設定することができ
る。従って、通常使用のプリンタとして登録すれば、起
動時に必ずそのプリンタが指定される。そこで、プリン
タ変更部6により、テーブル4に登録されたプリンタを
通常使用のプリンタとして置き換えれば、それを実現す
ることができる。
According to the second aspect of the present invention, when the registered printer is searched for in the subnet, the table control unit 3 acquires the subnet from the subnet detection unit 2 when the personal computer is started (S5) (S6), and the table is displayed. Then, the printer corresponding to the subnet is searched (S7). If you want to connect a portable personal computer to a destination network printer to print, and once you have used the printer, it would be convenient if the portable personal computer could be automatically connected to the previous printer when it was started up. is there. This can be achieved by storing the subnet 40 and the printer 41 corresponding to the subnet in the table 4 (FIG. 2) in the portable personal computer. According to the third aspect of the invention, the table 4 stores the subnet acquired by the table control unit 3 and the registration information of the printer corresponding to this subnet, as shown in FIG. Therefore, if the registration information of the printer corresponding to the subnet is stored at the same address or in association with each other, the printer can be searched only by detecting the subnet, and the control can be further simplified. According to the fourth aspect of the present invention, as a result of searching the printer registered in the subnet, if the usable printer is already registered in the table 4 (S8), the printer changing unit 6 selects the printer already registered as the normally used printer. , And change to the printer registered in Table 4 (S12). Thus, W
In an OS such as Windows (registered trademark), while a plurality of printers are registered, only one printer can be set to a high priority as a normally used printer. Therefore, if the printer is registered as a normally used printer, that printer is always specified at the time of startup. Therefore, if the printer registered in the table 4 is replaced by the printer changing unit 6 as a normally used printer, this can be realized.

【0012】[0012]

【発明の効果】以上記載のごとく請求項1の発明によれ
ば、パーソナルコンピュータ上のプリンタを登録する場
合、プリンタ登録部はテーブル制御部に対して登録する
プリンタの登録情報を伝え、この登録情報を受けたテー
ブル制御部は、サブネット検出部からサブネットを取得
して、登録情報とこのサブネットを自分のメモリ(テー
ブル)に格納することにより、再度同じプリンタを使用
する場合、確実に同じサブネットに接続されたプリンタ
と接続することができる。また請求項2では、サブネッ
トで登録したプリンタを検索する場合、パーソナルコン
ピュータの起動時に、テーブル制御部によりサブネット
検出部からサブネットを取得すると共に、パーソナルコ
ンピュータ内のテーブルを検索してサブネットに該当す
るプリンタを検索するので、パーソナルコンピュータを
起動するだけで自動的に所望のプリンタをアクセスする
ことができる。また請求項3では、パーソナルコンピュ
ータ内のテーブルには、テーブル制御部により取得され
たサブネットと、このサブネットに該当するプリンタの
登録情報が対応付けられて格納されているので、制御を
より簡略化することができる。また請求項4では、サブ
ネットで登録したプリンタを検索した結果、パーソナル
コンピュータ内のテーブルに使用可能なプリンタが登録
済みの場合、プリンタ変更部により、既に通常使用する
プリンタとして登録されているプリンタ置き換えるの
で、テーブルに登録したプリンタを通常使用するプリン
タとして使用することができる。
As described above, according to the first aspect of the invention, when registering the printer on the personal computer, the printer registration section transmits the registration information of the printer to be registered to the table control section, and the registration information. Upon receiving the subnet from the subnet detection unit, the table control unit stores the registration information and this subnet in its own memory (table), so that when the same printer is used again, the connection is surely made to the same subnet. Can be connected to the specified printer. Further, in claim 2, when the printer registered in the subnet is searched for, the table control unit acquires the subnet from the subnet detection unit when the personal computer is started, and the table in the personal computer is searched to find the printer corresponding to the subnet. The desired printer can be automatically accessed simply by starting the personal computer. Further, in claim 3, the table in the personal computer stores the subnet acquired by the table control unit and the registration information of the printer corresponding to this subnet in association with each other, so that the control is further simplified. be able to. Further, in claim 4, when a printer registered in the subnet is searched and an available printer is already registered in the table in the personal computer, the printer changing unit replaces the printer already registered as the normally used printer. The printer registered in the table can be used as a printer that is normally used.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施形態に係るパーソナルコンピュー
タの構成を表すブロック図である。
FIG. 1 is a block diagram showing a configuration of a personal computer according to an embodiment of the present invention.

【図2】本発明の実施形態のテーブルの構成を示す図で
ある。
FIG. 2 is a diagram showing a configuration of a table according to the embodiment of this invention.

【図3】本発明のプリンタ登録時の動作を表すフローチ
ャートである。
FIG. 3 is a flowchart showing an operation at the time of printer registration of the present invention.

【図4】本発明のプリンタを検索する動作を表すフロー
チャートである。
FIG. 4 is a flowchart showing an operation of searching for a printer of the present invention.

【図5】(a)は本発明のIPアドレスの構成を示す
図、(b)は8ビットに分割した図、(c)はそれを1
0進数で表現した図、(d)は通常のIPアドレスの表
現例を示す図である。
5A is a diagram showing a configuration of an IP address of the present invention, FIG. 5B is a diagram divided into 8 bits, and FIG.
FIG. 3 is a diagram expressed in a 0-ary number, and (d) is a diagram showing a typical IP address representation example.

【図6】(a)は本発明のIPアドレスの構成を示す図
であり、(b)はビット構成を表す図であり、(c)は
ネットワーク・アドレスの一例を示す図であり、(d)
はサブネットワーク部の構成を説明する図である。
6A is a diagram showing a configuration of an IP address of the present invention, FIG. 6B is a diagram showing a bit configuration, FIG. 6C is a diagram showing an example of a network address, and FIG. )
FIG. 3 is a diagram illustrating a configuration of a sub network unit.

【符号の説明】[Explanation of symbols]

1 プリンタ登録部、2 サブネット検出部、3 テー
ブル制御部、4 テーブル、5 通知部、6 プリンタ
変更部、7 印刷制御部、8 起動検知部
1 printer registration unit, 2 subnet detection unit, 3 table control unit, 4 table, 5 notification unit, 6 printer change unit, 7 print control unit, 8 startup detection unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 パーソナルコンピュータ上のプリンタを
登録するプリンタ登録部と、インターネット・プロトコ
ル・アドレスとサブネットマスクからサブネットを取得
するサブネット検出部と、テーブルへ前記プリンタ登録
部により登録されたプリンタと前記サブネット検出部に
より取得されたサブネットを登録すると共に、該サブネ
ットからプリンタを検索するテーブル制御部と、該テー
ブル制御部により前記サブネットとプリンタを格納する
テーブルと、前記サブネット上で使用可能なプリンタが
存在するか否かを通知する通知部と、OSが通常使用す
るプリンタを変更するプリンタ変更部と、ユーザからの
要求により印刷処理を行い、また印刷開始を通知する印
刷制御部と、パーソナルコンピュータが起動されたこと
を通知する起動検知部と、を備え、 パーソナルコンピュータ上のプリンタを登録する場合、
前記プリンタ登録部は前記テーブル制御部に対してプリ
ンタの登録情報を伝え、該登録情報を受けた前記テーブ
ル制御部は前記サブネット検出部からサブネットを取得
して、前記登録情報と前記サブネットを前記テーブルに
格納することを特徴とするネットワークプリンタ・シス
テム。
1. A printer registration unit that registers a printer on a personal computer, a subnet detection unit that acquires a subnet from an Internet protocol address and a subnet mask, a printer registered in the table by the printer registration unit, and the subnet. There is a table control unit that registers the subnet acquired by the detection unit and searches for a printer from the subnet, a table that stores the subnet and the printer by the table control unit, and a printer that can be used on the subnet. A notifying unit for notifying whether or not the printer is normally used by the OS, a printer changing unit for changing the printer normally used by the OS, a print controlling unit for performing print processing according to a request from the user, and notifying the start of printing, and a personal computer is activated. Start detection to notify that Part, and when registering a printer on a personal computer,
The printer registration unit transmits the registration information of the printer to the table control unit, and the table control unit that has received the registration information acquires the subnet from the subnet detection unit and stores the registration information and the subnet in the table. A network printer system characterized by being stored in.
【請求項2】 前記サブネットで登録したプリンタを検
索する場合、パーソナルコンピュータの起動時に、前記
テーブル制御部により前記サブネット検出部からサブネ
ットを取得すると共に、前記テーブルを検索して前記サ
ブネットに該当するプリンタを検索することを特徴とす
る請求項1に記載のネットワークプリンタ・システム。
2. When searching for a printer registered in the subnet, the table control unit acquires the subnet from the subnet detection unit when the personal computer is started, and the printer corresponding to the subnet is searched by searching the table. 2. The network printer system according to claim 1, wherein:
【請求項3】 前記テーブルには、前記テーブル制御部
により取得されたサブネットと該サブネットに該当する
プリンタの登録情報が対応付けられて格納されているこ
とを特徴とする請求項1又は2に記載のネットワークプ
リンタ・システム。
3. The table stores the subnet acquired by the table control unit and the registration information of the printer corresponding to the subnet in association with each other. Network printer system.
【請求項4】 前記サブネットで登録したプリンタを検
索した結果、前記テーブルに使用可能なプリンタが登録
済みの場合、前記プリンタ変更部は、既に通常使用する
プリンタとして登録されているプリンタを、前記テーブ
ルに登録されたプリンタに変更することを特徴とする請
求項1に記載のネットワークプリンタ・システム。
4. When a printer registered in the subnet is searched and a usable printer is already registered in the table, the printer changing unit selects a printer already registered as a normally used printer from the table. The network printer system according to claim 1, wherein the printer is changed to a printer registered in.
JP2002079784A 2002-03-20 2002-03-20 Network printer system Expired - Fee Related JP4027696B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002079784A JP4027696B2 (en) 2002-03-20 2002-03-20 Network printer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002079784A JP4027696B2 (en) 2002-03-20 2002-03-20 Network printer system

Publications (2)

Publication Number Publication Date
JP2003280851A true JP2003280851A (en) 2003-10-02
JP4027696B2 JP4027696B2 (en) 2007-12-26

Family

ID=29229081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002079784A Expired - Fee Related JP4027696B2 (en) 2002-03-20 2002-03-20 Network printer system

Country Status (1)

Country Link
JP (1) JP4027696B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005228093A (en) * 2004-02-13 2005-08-25 Fuji Xerox Co Ltd Method and device for managing driver, and program
JP2008197773A (en) * 2007-02-09 2008-08-28 Brother Ind Ltd Printer connection setting program and information terminal
JP2010527052A (en) * 2007-04-13 2010-08-05 アマデウス エス.アー.エス. Method and apparatus for managing printing devices in a local area network
US7949733B2 (en) 2004-02-02 2011-05-24 Fuji Xerox Co., Ltd. Driver management method, driver management apparatus, and driver management program
JP2012098821A (en) * 2010-10-29 2012-05-24 Brother Ind Ltd Device control program and device
US8208153B2 (en) 2006-04-21 2012-06-26 Konica Minolta Business Technologies, Inc. Image processing apparatus, function offering method and computer program product
JP2013073469A (en) * 2011-09-28 2013-04-22 Brother Ind Ltd Information processing program, information processing apparatus, information processing method, and information processing system
JP2013097769A (en) * 2011-11-07 2013-05-20 Brother Ind Ltd Information processing program, information processor and control method of information processor
JP2013196668A (en) * 2012-03-23 2013-09-30 Ricoh Co Ltd Information processing device, output control program, and output system
JP2015001963A (en) * 2013-06-18 2015-01-05 ブラザー工業株式会社 Information processing program, information processing apparatus, and control method of information processing apparatus
KR20150002169A (en) * 2013-06-28 2015-01-07 주식회사 우리은행 Method of providing financial transactions and server performing the same
JP2016201001A (en) * 2015-04-10 2016-12-01 コニカミノルタ株式会社 Printer driver program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7949733B2 (en) 2004-02-02 2011-05-24 Fuji Xerox Co., Ltd. Driver management method, driver management apparatus, and driver management program
JP2005228093A (en) * 2004-02-13 2005-08-25 Fuji Xerox Co Ltd Method and device for managing driver, and program
US8208153B2 (en) 2006-04-21 2012-06-26 Konica Minolta Business Technologies, Inc. Image processing apparatus, function offering method and computer program product
JP2008197773A (en) * 2007-02-09 2008-08-28 Brother Ind Ltd Printer connection setting program and information terminal
JP2010527052A (en) * 2007-04-13 2010-08-05 アマデウス エス.アー.エス. Method and apparatus for managing printing devices in a local area network
JP2012098821A (en) * 2010-10-29 2012-05-24 Brother Ind Ltd Device control program and device
JP2013073469A (en) * 2011-09-28 2013-04-22 Brother Ind Ltd Information processing program, information processing apparatus, information processing method, and information processing system
JP2013097769A (en) * 2011-11-07 2013-05-20 Brother Ind Ltd Information processing program, information processor and control method of information processor
JP2013196668A (en) * 2012-03-23 2013-09-30 Ricoh Co Ltd Information processing device, output control program, and output system
JP2015001963A (en) * 2013-06-18 2015-01-05 ブラザー工業株式会社 Information processing program, information processing apparatus, and control method of information processing apparatus
KR20150002169A (en) * 2013-06-28 2015-01-07 주식회사 우리은행 Method of providing financial transactions and server performing the same
KR102001534B1 (en) * 2013-06-28 2019-07-18 주식회사 우리은행 Method of providing financial transactions and server performing the same
JP2016201001A (en) * 2015-04-10 2016-12-01 コニカミノルタ株式会社 Printer driver program

Also Published As

Publication number Publication date
JP4027696B2 (en) 2007-12-26

Similar Documents

Publication Publication Date Title
US8266324B2 (en) Domain specific domain name service
US20070253377A1 (en) Apparatus and method for name resolution in an aggregation of mobile networks
US9515988B2 (en) Device and method for split DNS communications
EP3171556B1 (en) Method and apparatus for setting network rule entry
US20030069992A1 (en) Resolving host name data
JP6542993B2 (en) Method and gateway for obtaining a route based on a request
JP2002368763A (en) Network system, server unit and client unit, and method and program for providing network ip address
JP5820106B2 (en) Communication apparatus and control method thereof
JP2003280851A (en) Network printer system
US20130332586A1 (en) Providing ipv6 connectivity through shared external interfaces on electronic devices
JP2008033693A (en) Communication control device, data processor, and control method
JPWO2005029783A1 (en) Automatic switching of network settings
US7711801B2 (en) DHCP client/server device and method of providing DHCP server services on a network
JP4186733B2 (en) Communication system, terminal, and address generation method
JP2009284410A (en) Information processing apparatus, method for controlling thereof and computer program
JP2003110594A (en) Ip address notifying method and method for connecting terminal
JP2003283546A (en) Wireless mobile router
JP2019057906A (en) Information processing apparatus and information processing program
JP2007272340A (en) Network device management method and device
US8145764B2 (en) Network sharing method without conflict
JP5413940B2 (en) Thin client network, thin client, unauthorized connection prevention device, operation method thereof, and recording medium
US20030046428A1 (en) Method for generating domain name for device intermittently connected to fixed network
JP3507760B2 (en) ARP table fixing system and ARP table fixing method
JP2004266870A (en) Parameter setting system
JP2004240906A (en) Method of finding out transfer destination terminal in session transfer, and communication system for realizing it

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070402

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071010

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131019

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees