[go: up one dir, main page]

JP2008152691A - Information processing apparatus, printing apparatus, and network printing system - Google Patents

Information processing apparatus, printing apparatus, and network printing system Download PDF

Info

Publication number
JP2008152691A
JP2008152691A JP2006342211A JP2006342211A JP2008152691A JP 2008152691 A JP2008152691 A JP 2008152691A JP 2006342211 A JP2006342211 A JP 2006342211A JP 2006342211 A JP2006342211 A JP 2006342211A JP 2008152691 A JP2008152691 A JP 2008152691A
Authority
JP
Japan
Prior art keywords
printing
network
information
printer
destination
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.)
Pending
Application number
JP2006342211A
Other languages
Japanese (ja)
Inventor
Yuichi Niwa
雄一 丹羽
Katsumi Shimokawa
勝己 下川
Hiroki Matsuura
宏樹 松浦
Masahiro Ogawa
昌宏 小川
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 JP2006342211A priority Critical patent/JP2008152691A/en
Publication of JP2008152691A publication Critical patent/JP2008152691A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

【課題】 ネットワーク上の印刷装置に印刷させるための使い勝手を向上させる。
【解決手段】 クライアントPC1のプリンタドライバ30は、ネットワーク上の印刷先に指定したプリンタのUIDとIPアドレスとを含むプリンタ情報を保持し、印刷先に指定したプリンタへ印刷データを送る際、上記保持されたIPアドレスのプリンタにUIDを問い合わせて取得し、その取得したUIDと上記保持しているUIDとが一致するか否かを判断し、一致したときは、上記IPアドレスに基づいて印刷先のプリンタへ印刷データを送信して印刷させ、一致しないと判断したときは、ネットワークから上記保持されたUIDを持つプリンタを検索し、そのプリンタの現在のIPアドレスを取得し、そのIPアドレスに基づいて印刷先のプリンタへ印刷データを送信して印刷させる。
【選択図】 図1
PROBLEM TO BE SOLVED: To improve usability for printing on a printing apparatus on a network.
A printer driver 30 of a client PC 1 holds printer information including a printer UID and an IP address designated as a printing destination on a network, and holds the above information when sending print data to the printer designated as the printing destination. The printer of the IP address obtained is inquired and acquired, and it is determined whether or not the acquired UID matches the held UID. If they match, the print destination is determined based on the IP address. When print data is sent to the printer for printing and it is determined that they do not match, the printer having the held UID is searched from the network, the current IP address of the printer is obtained, and the printer is based on the IP address. Print data is sent to the destination printer for printing.
[Selection] Figure 1

Description

この発明は、パーソナルコンピュータを含む情報処理装置と印刷装置とネットワーク印刷システムに関する。   The present invention relates to an information processing apparatus including a personal computer, a printing apparatus, and a network printing system.

ネットワーク印刷システムにおいては、プリンタに固定IPアドレスを設定しない場合、DHCPやAutoIPの機能により、プリンタの電源投入時に自動的にIPアドレスを設定するようにしている。
上記DHCPは、ネットワーク上のDHCPサーバにより、ネットワーク上の一時的に接続する各プリンタ(クライアントPCも含む)にIPアドレスなどの必要な情報を自動的に割り当てるプロトコルである。
また、上記AutoIPは、DHCPなどで自動的にIPアドレスを取得する事に失敗した場合、所定のアドレス空間から任意のIPアドレスを取得して、ARPブロードキャストを行い、どのプリンタも使っていない場合にそのアドレスを使うようにするプロトコルである。
In a network printing system, when a fixed IP address is not set for a printer, an IP address is automatically set when the printer is turned on by a DHCP or AutoIP function.
The DHCP is a protocol for automatically assigning necessary information such as an IP address to each printer (including a client PC) temporarily connected on the network by a DHCP server on the network.
In addition, when AutoIP fails to automatically obtain an IP address by DHCP or the like, it acquires an arbitrary IP address from a predetermined address space, performs ARP broadcast, and no printer is used. It is a protocol that uses that address.

PC側の設定では、PC側にプリンタをインストールする際に、プリンタとの通信方法をIPアドレスで設定することが多い。
その場合、プリンタの電源を再度投入する際に、DHCPやAutoIPの機能で設定する新しいプリンタのIPアドレスが、以前のIPアドレスとは異なってしまう可能性があり、そのような場合、PCからネットワークを介してプリンタに印刷させることができなくなる。
In the setting on the PC side, when a printer is installed on the PC side, the communication method with the printer is often set with an IP address.
In that case, when the printer is turned on again, the IP address of the new printer set by the DHCP or AutoIP function may be different from the previous IP address. The printer cannot be printed via the printer.

従来、プリンタが公開鍵証明書とこれに対応する秘密鍵とを保有し、ドキュメントサーバ、もしくはユーザクライアントからの要求に応じて公開鍵証明書に基づくプリンタ認証を行うネットワーク印刷システム(例えば、特許文献1参照)があった。
しかし、このようなネットワーク印刷システムでは、使用するプリンタが所望のプリンタであることは保障できるが、そのプリンタのアドレスが変わってしまった場合は、所望のプリンタで印刷することはできなくなる。
2. Description of the Related Art Conventionally, a printer that has a public key certificate and a private key corresponding to the public key certificate and performs printer authentication based on the public key certificate in response to a request from a document server or a user client (for example, Patent Literature 1).
However, in such a network printing system, it can be ensured that the printer to be used is the desired printer, but if the address of the printer has changed, printing cannot be performed with the desired printer.

そこで、プリンタがネットワーク上に送出した新プリンタアドレスの取得要求信号を検出してサーバとプリンタ間での新アドレス付与作業を監視すると共に、新アドレス付与作業の過程でプリンタに付与された新プリンタアドレスを取得し、その新プリンタアドレスと、記憶している旧プリンタアドレスとを比較し、その比較結果に基づいてプリンタのアドレスを新プリンタアドレスに変換して当該プリンタアドレスを記憶することにより、DHCPにより付与されたネットワーク上のプリンタのアドレスが変更された場合、クライアントコンピュータが保持している当該プリンタのアドレスを、変更後のアドレスに自動的に一致させるプリンタアドレス管理を行うネットワーク印刷システム(例えば、特許文献2参照)が提案されている。
特開2002−259108号公報 特開2000−222149号公報
Therefore, a new printer address acquisition request signal sent from the printer to the network is detected to monitor the new address assignment work between the server and the printer, and the new printer address assigned to the printer in the course of the new address assignment work. DHCP is obtained by comparing the new printer address with the stored old printer address, converting the printer address to the new printer address based on the comparison result, and storing the printer address. A network printing system that performs printer address management (for example, patents) that automatically matches the address of the printer held by the client computer with the changed address when the address of the assigned printer on the network is changed Document 2) has been proposed.
JP 2002-259108 A JP 2000-222149 A

しかしながら、上述した従来のネットワーク印刷システムでは、DHCPではなく、AutoIPでプリンタのアドレスが設定される場合、ネットワーク上に新アドレス付与作業が流れないため、変更後のアドレスに自動的に一致させることができなくなるという問題があった。
また、近年のセキュリティ意識の高まりのため、ネットワークを流れる1対1の通信を、その部外者が監視することはできないネットワーク構成があり、このような環境でも、プリンタのアドレスが変わってしまった場合は、所望のプリンタで印刷することはできなくなるという問題があった。
この発明は上記の点に鑑みてなされたものであり、ネットワーク上の印刷装置に印刷させるための使い勝手を向上させることを目的とする。
However, in the above-described conventional network printing system, when the printer address is set by AutoIP instead of DHCP, a new address assignment operation does not flow on the network, so that the address after the change can be automatically matched. There was a problem that it was impossible.
In addition, due to the recent increase in security awareness, there is a network configuration in which one-to-one communication that flows through the network cannot be monitored by outsiders. Even in such an environment, the printer address has changed. In such a case, there is a problem that printing cannot be performed with a desired printer.
The present invention has been made in view of the above points, and an object of the present invention is to improve usability for printing on a printing apparatus on a network.

この発明は上記の目的を達成するため、次の情報処理装置と印刷装置とネットワーク印刷システムを提供する。
(1)ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記ネットワークから上記保持された識別情報を持つ印刷装置を検索する手段を備えた情報処理装置。
In order to achieve the above object, the present invention provides the following information processing apparatus, printing apparatus, and network printing system.
(1) means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network, and when the print data is sent to the printing device designated as the printing destination, The means for inquiring the identification information to the printing apparatus of the destination information, the means for judging whether or not the identification information acquired by the inquiry by the means matches the held identification information, and the means for judging that they do not match An information processing apparatus comprising means for searching for a printing apparatus having the held identification information from the network.

(2)上記のような情報処理装置において、上記印刷装置を検索する手段は、上記保持された宛先情報に基づいて得られた上記ネットワーク上の全ての装置の宛先情報にそれぞれ問い合わせて、上記ネットワークから上記保持された識別情報を持つ印刷装置を検索する手段である情報処理装置。 (2) In the information processing apparatus as described above, the means for searching for the printing apparatus inquires the destination information of all the apparatuses on the network obtained based on the held destination information, and An information processing apparatus which is a means for searching for a printing apparatus having the held identification information.

(3)ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報と、上記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバの宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記保持された宛先情報のDDNSサーバに上記保持されたホスト名に関連付けられている宛先情報を問い合わせて取得することにより、上記ネットワークから上記保持された識別情報を持つ印刷装置を検索する手段を備えた情報処理装置。 (3) Holds printing device information including identification information and destination information of a printing device designated as a printing destination on the network, and DDNS server destination information stored in association with the destination information and host name of the printing device. Means for inquiring identification information from the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination, the identification information obtained by the inquiry by the means, and the held identification Means for determining whether or not the information matches, and when it is determined that the information does not match, the DDNS server of the held destination information is inquired about the destination information associated with the held host name. An information processing apparatus comprising means for retrieving a printing apparatus having the held identification information from the network by acquiring the information.

(4)上記のような情報処理装置において、上記印刷先に指定した印刷装置に、その印刷装置のホスト名とそのホスト名と宛先情報とを関連付けて記憶するDDNSサーバの宛先情報とを問い合わせて取得する手段を設けた情報処理装置。 (4) In the information processing apparatus as described above, the printing apparatus designated as the printing destination is inquired about the host name of the printing apparatus and the destination information of the DDNS server that stores the host name and destination information in association with each other. An information processing apparatus provided with means for acquiring.

(5)ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記取得した識別情報の印刷装置に、上記ネットワークから上記保持された識別情報を持つ印刷装置を検索するように依頼する手段を備えた情報処理装置。 (5) means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network, and when the print data is sent to the printing device designated as the printing destination, The means for inquiring the identification information to the printing apparatus of the destination information, the means for judging whether or not the identification information acquired by the inquiry by the means matches the held identification information, and the means for judging that they do not match An information processing apparatus comprising means for requesting the printing apparatus for the acquired identification information to search the printing apparatus having the held identification information from the network.

(6)ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記取得した識別情報の印刷装置に、上記ネットワーク上の上記保持された識別情報を持つ印刷装置へ上記印刷データを転送するように依頼して上記印刷データを送信する手段を備えた情報処理装置。 (6) Means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network, and when the print data is sent to the printing device designated as the printing destination, The means for inquiring the identification information to the printing apparatus of the destination information, the means for judging whether or not the identification information acquired by the inquiry by the means matches the held identification information, and the means for judging that they do not match Information processing means having a means for requesting the printing apparatus for the acquired identification information to transfer the print data to the printing apparatus having the held identification information on the network and transmitting the print data apparatus.

(7)ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記取得した識別情報の印刷装置に、上記ネットワーク上の指定した宛先情報の印刷装置へ上記印刷データを転送するように依頼して上記印刷データを送信する手段を備えた情報処理装置。 (7) means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network, and when the print data is sent to the printing device designated as the printing destination, The means for inquiring the identification information to the printing apparatus of the destination information, the means for judging whether or not the identification information acquired by the inquiry by the means matches the held identification information, and the means for judging that they do not match An information processing apparatus comprising means for requesting the printing apparatus for the acquired identification information to transfer the print data to the printing apparatus for the specified destination information on the network and transmitting the print data.

(8)ネットワーク上の印刷装置と通信する手段と、その手段による通信によって上記印刷装置に識別番号を問い合わせる手段と、その手段による問い合わせに応答して送られてきた上記印刷装置の識別番号と上記印刷装置の宛先情報とを対応させて保持する手段を備えた情報処理装置。 (8) Means for communicating with the printing apparatus on the network, means for inquiring the identification number to the printing apparatus by communication by the means, the identification number of the printing apparatus sent in response to the inquiry by the means, and the above An information processing apparatus comprising means for holding destination information of a printing apparatus in association with each other.

(9)ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、上記情報処理装置から指定された識別情報を持つ印刷装置を検索するように依頼されたとき、上記ネットワークから上記指定された識別情報を持つ印刷装置を検索する手段を備えた印刷装置。 (9) When a printing apparatus that prints print data sent from an information processing apparatus on a network and is requested to search for a printing apparatus having identification information designated by the information processing apparatus, the network A printing apparatus comprising means for searching for a printing apparatus having the specified identification information from.

(10)上記のような印刷装置において、上記印刷装置を検索する手段は、上記ネットワーク上の全ての装置の宛先情報にそれぞれ問い合わせて、上記ネットワークから上記指定された識別情報を持つ印刷装置を検索する手段である印刷装置。 (10) In the printing apparatus as described above, the means for searching for the printing apparatus inquires the destination information of all the apparatuses on the network and searches the printing apparatus having the specified identification information from the network. A printing apparatus which is means for

(11)上記のような印刷装置において、上記印刷装置を検索する手段は、上記ネットワーク上の全ての装置にマルチキャストで問い合わせて、上記ネットワークから上記指定された識別情報を持つ印刷装置を検索する手段である印刷装置。 (11) In the printing apparatus as described above, the means for searching for the printing apparatus inquires all the apparatuses on the network by multicast and searches for the printing apparatus having the specified identification information from the network. Is a printing device.

(12)ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、上記ネットワーク上の上記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、上記情報処理装置から指定されたホスト名の印刷装置を検索するように依頼されたとき、上記DDNSサーバに上記指定されたホスト名に関連付けられている宛先情報を問い合わせて取得することにより、上記ネットワークから上記指定されたホスト名の印刷装置を検索する手段を備えた印刷装置。 (12) A printing apparatus that prints print data sent from an information processing apparatus on a network, and includes a DDNS server that stores destination information and a host name of the printing apparatus on the network in association with each other. When the processing device requests to search for a printing device with the specified host name, the DDNS server inquires and acquires the destination information associated with the specified host name, thereby obtaining the above-mentioned information from the network. A printing apparatus comprising means for retrieving a printing apparatus having a specified host name.

(13)ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、上記情報処理装置から指定された識別情報を持つ印刷装置へ印刷データを転送するように依頼されて印刷データを受信したとき、上記ネットワークから上記指定された識別情報を持つ印刷装置を検索する手段と、その手段によって検索された印刷装置に、印刷を依頼して上記受信した印刷データを転送する手段を備えた印刷装置。 (13) A printing apparatus that prints print data sent from an information processing apparatus on a network, and is requested to transfer the print data from the information processing apparatus to a printing apparatus having specified identification information. Means for searching for a printing apparatus having the specified identification information from the network when data is received, and means for requesting printing to the printing apparatus searched by the means and transferring the received print data; Equipped printing device.

(14)上記のような印刷装置において、上記印刷装置を検索する手段は、上記ネットワーク上の全ての装置の宛先情報にそれぞれ問い合わせて、上記ネットワークから上記指定された識別情報を持つ印刷装置を検索する手段である印刷装置。 (14) In the printing apparatus as described above, the means for searching for the printing apparatus inquires the destination information of all the apparatuses on the network and searches the printing apparatus having the specified identification information from the network. A printing apparatus which is means for

(15)上記のような印刷装置において、上記印刷装置を検索する手段は、上記ネットワーク上の全ての装置にマルチキャストで問い合わせて、上記ネットワークから上記指定された識別情報を持つ印刷装置を検索する手段である印刷装置。 (15) In the printing apparatus as described above, the means for searching for the printing apparatus inquires all the apparatuses on the network by multicast, and searches for the printing apparatus having the specified identification information from the network. Is a printing device.

(16)ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、上記情報処理装置から指定された宛先情報の印刷装置へ印刷データを転送するように依頼されて印刷データを受信したとき、上記ネットワーク上の上記指定された宛先情報の印刷装置に、印刷を依頼して上記受信した印刷データを転送する手段を備えた印刷装置。 (16) A printing apparatus that prints print data sent from an information processing apparatus on a network, and is requested to transfer the print data from the information processing apparatus to a printing apparatus having destination information designated by the information processing apparatus. A printing apparatus comprising: means for requesting printing to the printing apparatus having the designated destination information on the network and transferring the received print data when the print data is received.

(17)ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、上記ネットワーク上の上記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、前回起動したときに使用した宛先情報を保持する手段と、起動時に自装置の宛先情報を取得する手段と、上記DDNSサーバによるDDNSが有効か否かを判断する手段と、上記取得した宛先情報が、上記保持している宛先情報と異なり、且つ上記DDNSが有効でないと判断された場合、それ以降、外部からの印刷データを全て受信拒否する手段を備えた印刷装置。 (17) A printing apparatus that prints print data sent from an information processing apparatus on a network, and includes a DDNS server that stores destination information of the printing apparatus on the network in association with a host name, and is activated last time Means for holding the destination information used at the time of activation, means for acquiring the destination information of the own device at the time of startup, means for determining whether or not DDNS by the DDNS server is valid, and the acquired destination information A printing apparatus comprising means for rejecting reception of all external print data when it is determined that the DDNS is not valid, unlike the stored destination information.

(18)ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、上記ネットワーク上の上記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、前回起動したときに使用した宛先情報を保持する手段と、起動時に自装置の宛先情報を取得する手段と、上記DDNSサーバによるDDNSが有効か否かを判断する手段と、上記取得した宛先情報が、上記保持している宛先情報と異なり、且つ上記DDNSが有効でないと判断された場合、それ以降、外部から印刷データを受け付けたとき、その印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージを透かし印刷する手段を備えた印刷装置。 (18) A printing apparatus that prints print data sent from an information processing apparatus on a network, and includes a DDNS server that stores the destination information and the host name of the printing apparatus on the network in association with each other. Means for holding the destination information used at the time of activation, means for acquiring the destination information of the own device at the time of startup, means for determining whether or not DDNS by the DDNS server is valid, and the acquired destination information If it is determined that the DDNS is different from the stored destination information and the above DDNS is not valid, after that, when print data is received from the outside, only the first page of the print data is printed. A printing apparatus comprising means for watermark printing a warning message.

(19)上記のような印刷装置において、上記印刷する手段に、上記最初の1ページを予め指定された倍率に縮小して印刷する手段を設けた印刷装置。 (19) In the printing apparatus as described above, the printing means is provided with means for reducing the first page to a predetermined magnification and printing.

(20)ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、上記ネットワーク上の上記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、前回起動したときに使用した宛先情報を保持する手段と、起動時に自装置の宛先情報を取得する手段と、上記DDNSサーバによるDDNSが有効か否かを判断する手段と、上記取得した宛先情報が、上記保持している宛先情報と異なり、且つ上記DDNSが有効でないと判断された場合、それ以降、外部から受信した印刷データを全て記憶して保持し、警告メッセージを出力する手段と、上記保持された印刷データの印刷が指示されたときに印刷を実行する手段を備えた印刷装置。 (20) A printing apparatus that prints print data sent from an information processing apparatus on a network, and includes a DDNS server that stores the destination information and host name of the printing apparatus on the network in association with each other, and is started last time Means for holding the destination information used at the time of activation, means for acquiring the destination information of the own device at the time of startup, means for determining whether or not DDNS by the DDNS server is valid, and the acquired destination information When it is determined that the DDNS is different from the held destination information and the DDNS is not valid, all the print data received from the outside is stored and held, and a warning message is output. A printing apparatus comprising means for executing printing when printing of print data is instructed.

(21)上記のような印刷装置において、上記受信した印刷データを保持したときからの経過時間が予め設定した時間を超えたとき、上記保持した印刷データを削除する手段を設けた印刷装置。 (21) In the printing apparatus as described above, a printing apparatus provided with means for deleting the held print data when an elapsed time from when the received print data is held exceeds a preset time.

(22)ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、上記情報処理装置に、上記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記ネットワークから上記保持された識別情報を持つ印刷装置を検索する手段とを設け、上記印刷装置に、上記情報処理装置からの問い合わせに対して自装置の識別情報を応答する手段を設けたネットワーク印刷システム。 (22) A network printing system that prints print data sent from an information processing apparatus on a network by using the printing apparatus, and the identification information and destination information of the printing apparatus designated as the printing destination on the network by the information processing apparatus Means for holding the printing device information including: means for inquiring identification information to the printing device of the held destination information when sending print data to the printing device designated as the printing destination; Means for determining whether or not the identified identification information matches the held identification information, and means for searching for a printing apparatus having the retained identification information from the network when it is determined by the means that the identification information does not match And a means for responding to the inquiry from the information processing apparatus with the identification information of the self apparatus. Network printing system.

(23)ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、上記ネットワーク上の上記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、上記印刷装置は、自装置の宛先情報が変更されたとき、上記DDNSサーバに変更後の宛先情報を通知する手段を有し、上記DDNSサーバは、上記印刷装置から変更後の宛先情報が通知されると、上記印刷装置のホスト名と関連付けた宛先情報を上記変更後の宛先情報に更新する手段を有し、上記情報処理装置に、上記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報と上記DDNSサーバの宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記保持された宛先情報のDDNSサーバに上記保持されたホスト名に関連付けられている宛先情報を問い合わせて取得することにより、上記ネットワークから上記保持された識別情報を持つ印刷装置を検索する手段とを設け、上記印刷装置に、上記情報処理装置からの問い合わせに対して自装置の識別情報を応答する手段を設けたネットワーク印刷システム。 (23) A network printing system that prints print data sent from an information processing apparatus on a network by a printing apparatus, and includes a DDNS server that stores destination information and a host name of the printing apparatus on the network in association with each other. The printing apparatus has means for notifying the DDNS server of the changed destination information when the destination information of the own apparatus is changed, and the DDNS server notifies the changed destination information from the printing apparatus. The address information associated with the host name of the printing apparatus is updated to the changed destination information, and the information processing apparatus has the identification information of the printing apparatus designated as the printing destination on the network. Means for holding printing device information including destination information and destination information of the DDNS server, and sending print data to the printing device designated as the printing destination. Means for inquiring identification information from the printing apparatus for the held destination information, means for determining whether or not the identification information obtained by the inquiry by the means matches the held identification information, and the means When it is determined that the addresses do not match, the DNS server of the held destination information is inquired for the destination information associated with the held host name, and has the held identification information from the network. A network printing system provided with a means for searching for a printing apparatus, and provided with means for responding to the inquiry from the information processing apparatus in response to an inquiry from the information processing apparatus.

(24)ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、上記情報処理装置に、上記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記取得した識別情報の印刷装置に、上記ネットワークから上記保持された識別情報を持つ印刷装置を検索するように依頼する手段を設け、上記印刷装置に、上記情報処理装置から指定された識別情報を持つ印刷装置を検索するように依頼されたとき、上記ネットワークから上記指定された識別情報を持つ印刷装置を検索する手段を設けたネットワーク印刷システム。 (24) A network printing system that prints print data sent from an information processing apparatus on a network by using the printing apparatus, and the identification information and destination information of the printing apparatus designated as the printing destination on the network by the information processing apparatus Means for holding the printing device information including: means for inquiring identification information to the printing device of the held destination information when sending print data to the printing device designated as the printing destination; Means for determining whether or not the identified identification information matches the held identification information, and when the means determines that the identification information does not match, the acquired identification information is stored in the printing device from the network. Means for requesting a search for a printing apparatus having identification information is provided, and the printing apparatus is designated by the information processing apparatus. When asked to look for a printing apparatus having the identification information, the network printing system having a means for retrieving a print device having the identification information above specified from the network.

(25)ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、上記ネットワーク上の上記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、上記印刷装置は、自装置の宛先情報が変更されたとき、上記DDNSサーバに変更後の宛先情報を通知する手段を有し、上記DDNSサーバは、上記印刷装置から変更後の宛先情報が通知されると、上記印刷装置のホスト名と関連付けた宛先情報を上記変更後の宛先情報に更新する手段を有し、上記情報処理装置に、上記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記取得した識別情報の印刷装置に、上記ネットワークから上記保持された識別情報を持つ印刷装置を検索するように依頼する手段を設け、上記印刷装置に、上記情報処理装置から指定されたホスト名の印刷装置を検索するように依頼されたとき、上記DDNSサーバに上記指定されたホスト名に関連付けられている宛先情報を問い合わせて取得することにより、上記ネットワークから上記指定されたホスト名の印刷装置を検索する手段を設けたネットワーク印刷システム。 (25) A network printing system for printing print data sent from an information processing device on a network by a printing device, comprising a DDNS server for storing destination information and a host name of the printing device on the network in association with each other. The printing apparatus has means for notifying the DDNS server of the changed destination information when the destination information of the own apparatus is changed, and the DDNS server notifies the changed destination information from the printing apparatus. The address information associated with the host name of the printing apparatus is updated to the changed destination information, and the information processing apparatus has the identification information of the printing apparatus designated as the printing destination on the network. Means for holding the printing device information including the destination information, and when sending print data to the printing device designated as the printing destination, A means for inquiring identification information to the printing apparatus, a means for determining whether the identification information acquired by the inquiry by the means matches the held identification information, and the means for determining that the identification information does not match, Means for requesting the printing apparatus of the acquired identification information to search the printing apparatus having the held identification information from the network is provided, and printing of the host name designated by the information processing apparatus is provided on the printing apparatus. When a request is made to search for a device, the DDNS server is searched for destination information associated with the specified host name to obtain a printing device with the specified host name from the network. Network printing system provided with means for

(26)ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、上記情報処理装置に、ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記取得した識別情報の印刷装置に、上記ネットワーク上の上記保持された識別情報を持つ印刷装置へ上記印刷データを転送するように依頼して上記印刷データを送信する手段を設け、上記印刷装置に、上記情報処理装置から指定された識別情報を持つ印刷装置へ印刷データを転送するように依頼されて印刷データを受信したとき、上記ネットワークから上記指定された識別情報を持つ印刷装置を検索する手段と、その手段によって検索された印刷装置に、印刷を依頼して上記受信した印刷データを転送する手段を設けたネットワーク印刷システム。 (26) A network printing system that prints print data sent from an information processing apparatus on a network by using the printing apparatus, the identification information and destination information of a printing apparatus designated as a printing destination on the network being sent to the information processing apparatus. Obtained when the print data is sent to the printing apparatus designated as the printing destination, the inquiry means for identifying information to the printing apparatus of the held destination information, and the inquiry by the means. Means for determining whether or not the identification information and the held identification information match, and when it is determined that the identification information does not match, the printing device of the acquired identification information is held in the network on the network There is provided means for requesting transfer of the print data to a printing apparatus having identification information, and transmitting the print data. When the print data is requested by the information processing device to be transferred to the printing device having the specified identification information and the print data is received, the printing device having the specified identification information is searched from the network. And a network printing system provided with means for requesting printing to the printing apparatus searched by the means and transferring the received print data.

(27)ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、上記ネットワーク上の上記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、上記情報処理装置に、上記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、上記印刷先に指定した印刷装置へ印刷データを送る際、上記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、その手段による問い合わせによって取得した識別情報と上記保持された識別情報とが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記取得した識別情報の印刷装置に、警告透かし印刷機能を有するか否かを問い合わせる手段と、その手段による問い合わせに対して警告透かし印刷機能を有するとの応答があった場合、警告透かし印刷機能による印刷の実行指示が入力されたとき、上記取得した識別情報の印刷装置に、警告透かし印刷機能による印刷を要求して上記印刷データを送信する手段を設け、上記印刷装置に、前回起動したときに使用した宛先情報を保持する手段と、起動時に自装置の宛先情報を取得する手段と、上記DDNSサーバによるDDNSが有効か否かを判断する手段と、上記取得した宛先情報が、上記保持している宛先情報と異なり、且つ上記DDNSが有効でないと判断された場合、それ以降、外部から印刷データを受け付けたとき、その印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージを透かし印刷する手段と、上記情報処理装置からの問い合わせに対して警告透かし印刷機能を有することを応答する手段と、上記情報処理装置からの警告透かし印刷機能による印刷の要求と共に印刷データを受信したとき、上記印刷する手段によって上記受信した印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージを透かし印刷させる手段を設けたネットワーク印刷システム。 (27) A network printing system for printing print data sent from an information processing apparatus on a network by a printing apparatus, comprising a DDNS server for storing destination information and a host name of the printing apparatus on the network in association with each other. Means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network, and sending print data to the printing device designated as the printing destination. Means for inquiring identification information from the printing apparatus for the held destination information, means for determining whether the identification information acquired by the inquiry by the means matches the held identification information, and the means When it is determined that they do not match, an inquiry is made as to whether or not the printing apparatus for the acquired identification information has a warning watermark printing function. And when an instruction to execute printing by the warning watermark printing function is input to the printing apparatus for the acquired identification information, Means for requesting printing by the warning watermark printing function and transmitting the print data are provided, and means for holding destination information used when the printing apparatus was last activated in the printing apparatus, and acquiring the destination information of the own apparatus at the time of activation. Means, a means for determining whether or not DDNS by the DDNS server is valid, and if the acquired destination information is different from the held destination information and the DDNS is not valid, and thereafter When print data is accepted from outside, only the first page of the print data is printed, and a warning message is watermarked on that page. Means for responding to an inquiry from the information processing apparatus, a means for responding that the warning watermark printing function is provided, and when print data is received together with a print request by the warning watermark printing function from the information processing apparatus, A network printing system provided with means for printing only the first page of the received print data by means for printing, and further causing a warning message to be watermark-printed on the page.

この発明による情報処理装置と印刷装置とネットワーク印刷システムは、ネットワーク上の印刷装置に印刷させるための使い勝手を向上させることができる。   The information processing apparatus, the printing apparatus, and the network printing system according to the present invention can improve the usability for causing the printing apparatus on the network to print.

以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
〔実施例〕
図1は、この発明の一実施例であるネットワーク印刷システムの構成を示すブロック図である。
このネットワーク印刷システムは、ネットワーク上でクライアントPCから送った印刷データをプリンタで印刷するシステムであり、複数の異なるセグメントのローカルネットワークからなり、1つの大きなネットワークを形成している。図中には、第1ネットワーク10と第2ネットワーク11の2つだけ示し、その他のセグメントのネットワークは図示を省略している。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
〔Example〕
FIG. 1 is a block diagram showing the configuration of a network printing system according to an embodiment of the present invention.
This network printing system is a system that prints print data sent from a client PC on a network by a printer, and is composed of a plurality of local networks of different segments to form one large network. In the figure, only the first network 10 and the second network 11 are shown, and the other network segments are not shown.

第1ネットワーク10と第2ネットワーク11は、別セグメントのネットワークであり、ルータ3を介して通信可能に接続されている。また、その他の図示を省略した各ネットワークもルータ(又はハブ)等を介して互いに通信可能に接続されている。
したがって、このネットワーク印刷システム内では、接続されている装置間でのデータのやり取りが可能である。
The first network 10 and the second network 11 are networks of different segments, and are connected via the router 3 so as to be communicable. Further, other networks not shown are also connected to each other via a router (or hub) or the like so as to communicate with each other.
Therefore, in this network printing system, data can be exchanged between connected devices.

第1ネットワーク10には、クライアントPC1,2を含む複数台のクライアントPCと、プリンタ6,7を含む複数台の印刷装置であるプリンタが通信可能に接続されている。また、第2ネットワーク11には、図示を省略したが、同じく複数台のクライアントPCと、同じくプリンタ8,9を含む複数台のプリンタが通信可能に接続されており、DDNSサーバ4と、DHCPサーバ5も接続されている。   A plurality of client PCs including client PCs 1 and 2 and a printer which is a plurality of printing apparatuses including printers 6 and 7 are communicably connected to the first network 10. Although not shown, the second network 11 is also connected to a plurality of client PCs and a plurality of printers including the printers 8 and 9 in a communicable manner. The DNS server 4 and the DHCP server 5 is also connected.

このネットワーク印刷システムの各ネットワークに接続されているクライアントPC,プリンタを含む全装置は、電源が投入されてネットワークとの通信が可能になったとき、図示を省略したDNSサーバによって管理されるIPアドレスが割り当てられる。このIPアドレスを宛先情報として、各装置間でデータのやり取りが可能になる。このIPアドレスは、予め固定で割り当てられていなければ、起動の度に異なるIPアドレスが割り当てられる場合がある。   All devices including client PCs and printers connected to each network of this network printing system are IP addresses managed by a DNS server (not shown) when power is turned on and communication with the network becomes possible. Is assigned. Using this IP address as destination information, data can be exchanged between the devices. If this IP address is not fixedly assigned in advance, a different IP address may be assigned each time the computer is activated.

上記プリンタ6〜9には、それぞれ異なる識別番号(UID)が割り当てられており、それぞれのメモリに保持している。このUIDはネットワーク内で固定された情報であり、起動の度に変更されることはない。   Different identification numbers (UIDs) are assigned to the printers 6 to 9 and are stored in their respective memories. This UID is information fixed in the network and is not changed at every activation.

上記UIDは、プリンタ6〜9をそれぞれ明確に区別することができる文字列や番号列等の情報である。
例えば、製品名とシリアル番号をつなげた文字列やPOSIX準拠OSで生成することができるID命名規約のユニバーサルユニークID(Universally Unique ID:UUID)による情報、ベリサイン(VeriSign)株式会社(いずれも登録商標)などの企業が発行する証明書、イーサネット(Ethernet:登録商標)のMACアドレスを使うことが可能である。
The UID is information such as a character string or a number string that can clearly distinguish the printers 6 to 9.
For example, a character string connecting a product name and a serial number, or a universal unique ID (Universal Unique ID: UUID) of an ID naming convention that can be generated by a POSIX-compliant OS, VeriSign, Inc. (both registered trademarks) ) Or a certificate issued by a company such as Ethernet or Ethernet (registered trademark) MAC address can be used.

なお、クライアントPC側が、UIDを単なる文字列の集まりとして処理する場合、プリンタ側では上記UUID,ベリサイン株式会社の発行する証明書,MACアドレスのいずれのIDを使用してもよい。
この実施例では、簡便性及び広く普通に使われている値として、MACアドレスが適している。
When the client PC processes the UID as a collection of simple character strings, any ID of the UUID, a certificate issued by VeriSign Inc., or a MAC address may be used on the printer side.
In this embodiment, a MAC address is suitable as a simple and widely used value.

図2は、図1に示すクライアントPC1の内部構成を示す機能ブロック図である。
なお、上記クライアントPC2と、その他の図示を省略したクライアントPCも、このクライアントPC1と同じ内部構成を有するので、それらについての説明は省略する。
クライアントPC1は、パーソナルコンピュータを含む情報処理装置であり、キーボード,マウスを含む入力装置20と、CRT,LCDを含む表示装置21と、ハードディスク装置(HDD)を含む記憶装置(以下「HDD」と記す)22と、CPU,ROM及びRAMからなるマイクロコンピュータによって実現される制御装置23と、プリンタを含む各種の装置を接続してパラレルでデータをやり取りするパラレルインタフェース(I/F)24、プリンタを含む各種の装置を接続してUSBでデータをやり取りするUSBI/F25、プリンタを含む各種の装置を接続してネットワークを介してデータをやり取りするネットワークI/F26の各種のインタフェースを備えている。
FIG. 2 is a functional block diagram showing the internal configuration of the client PC 1 shown in FIG.
Note that the client PC 2 and other client PCs not shown in the figure have the same internal configuration as the client PC 1, so description thereof will be omitted.
The client PC 1 is an information processing device including a personal computer. The client PC 1 is an input device 20 including a keyboard and a mouse, a display device 21 including a CRT and an LCD, and a storage device (hereinafter referred to as “HDD”) including a hard disk device (HDD). ) 22, a control device 23 implemented by a microcomputer comprising a CPU, ROM and RAM, a parallel interface (I / F) 24 for connecting various devices including a printer and exchanging data in parallel, and a printer Various interfaces of a USB I / F 25 that connects various devices and exchanges data via USB and a network I / F 26 that connects various devices including a printer and exchanges data via a network are provided.

制御装置23は、このクライアントPC1で実行する文書作成アプリケーションソフトウェアや表計算アプリケーションソフトウェアを含む各種のアプリケーションソフトウェア27を記憶し、クライアントPC1のユーザによる入力装置20からの指示により、アプリケーションソフトウェア27の文書作成機能によって印刷する文書データを作成する。その作成した文書データについて、ネットワーク上のプリンタを使った印刷が必要になった時、その文書データを作成したアプリケーションソフトウェア27を実行して印刷を開始し、アプリケーションソフトウェア27は、文書データの描画情報をスプーラ28へ送る。   The control device 23 stores various application software 27 including document creation application software and spreadsheet application software executed on the client PC 1, and creates a document for the application software 27 according to an instruction from the input device 20 by the user of the client PC 1. Create document data to be printed by function. When the created document data needs to be printed using a printer on the network, the application software 27 that created the document data is executed to start printing, and the application software 27 starts drawing information of the document data. To the spooler 28.

スプーラ28では、ネットワーク上のプリンタの識別情報(UID)を含む各種情報であるプリンタ情報を保持し、プリンタドライバ30がプリンタ通信部29を用いて、この発明に係る印刷先プリンタの検索処理、ネットワーク上の他のプリンタへの印刷先プリンタの検索依頼処理と、ネットワーク上の他のプリンタへの印刷先プリンタへの印刷転送依頼処理を含む制御処理を実行し、アプリケーションソフトウェア27から受け取った文書データの描画情報から、印刷先のプリンタが解釈し、実際の印刷画像を生成するために必要な情報のコマンドであるプリンタ用印刷データ(以下「印刷データ」という)を作成し、プリンタ通信部29とネットワークI/F26を経由して、印刷先あるいは依頼先のプリンタへ印刷データを送る。なお、パラレルI/F24又はUSBI/F25に直接に接続されたプリンタへは、パラレルI/F24又はUSBI/F25を経由して印刷データを送り、通常の直接印刷を行う。   The spooler 28 holds printer information which is various information including identification information (UID) of the printer on the network, and the printer driver 30 uses the printer communication unit 29 to search for the destination printer according to the present invention. A control process including a search request process for a print destination printer to another printer on the above and a print transfer request process to a print destination printer to another printer on the network is executed, and the document data received from the application software 27 is processed. Printer data (hereinafter referred to as “print data”), which is a command of information necessary for generating an actual print image, is generated from the drawing information by the printer at the printing destination, and the printer communication unit 29 and the network Via the I / F 26, print data is sent to the printer of the print destination or the request destination. Note that print data is sent to the printer directly connected to the parallel I / F 24 or USB I / F 25 via the parallel I / F 24 or USB I / F 25 to perform normal direct printing.

各クライアントPC1,2が保持するプリンタ情報は、次の表1のようになる。
このプリンタ情報には、プリンタ6〜9のプリンタ名、IPアドレス、ホスト名、UID、DDNSサーバのIPアドレス、サブネットの情報が記録される。
各クライアントPC1,2は、このプリンタ情報に基づいて印刷先のプリンタのIPアドレス、UID等を参照する。
このプリンタ情報において、PRN_Dの場合のDDNSとサブネットは0.0.0.0になっており、これらの値がプリンタから取得できなかったことを示す。
例えば、PRN_Eの場合、ホスト名とUIDが空欄になっているが、これは、これらの値がプリンタから取得できなかったことを示す。
The printer information held by each of the client PCs 1 and 2 is as shown in Table 1 below.
In this printer information, printer names, IP addresses, host names, UIDs, IP addresses of DDNS servers, and subnet information of the printers 6 to 9 are recorded.
Each of the client PCs 1 and 2 refers to the IP address, UID, etc. of the printer as the printing destination based on this printer information.
In this printer information, the DDNS and subnet for PRN_D are 0.0.0.0, indicating that these values could not be acquired from the printer.
For example, in the case of PRN_E, the host name and UID are blank, which indicates that these values could not be acquired from the printer.

Figure 2008152691
Figure 2008152691

一方、プリンタ6〜9は、レーザ方式のカラープリンタを含む各種の印刷装置であり、CPU,ROM及びRAMからなるマイクロコンピュータによって実現される制御部と、公知の印刷機能に係る構成部とを有する。   On the other hand, the printers 6 to 9 are various printing apparatuses including a laser type color printer, and include a control unit realized by a microcomputer including a CPU, a ROM, and a RAM, and a configuration unit related to a known printing function. .

プリンタ6〜9は、受信した印刷データを解釈し、その解釈に従って描画メモリに画像を形成し、その画像を用紙などのメディアに形成することにより、印刷を実現する。
なお、プリンタがページプリンタの場合、1ページ分のデータを描画メモリに展開してから印刷を開始し、非ページプリンタの場合は、規定のライン数の描画ができてから、印刷を開始する。
The printers 6 to 9 interpret the received print data, form an image in a drawing memory according to the interpretation, and form the image on a medium such as paper, thereby realizing printing.
Note that if the printer is a page printer, printing is started after the data for one page is expanded in the drawing memory. If the printer is a non-page printer, printing is started after a specified number of lines can be drawn.

また、プリンタ6〜9は、それぞれの制御部により、クライアントPC1,2又は他のプリンタから受信した印刷データに基づく印刷処理と、クライアントPC1,2から依頼されたプリンタの検索処理と、その検索したプリンタへの印刷依頼処理と、自プリンタが所定条件に合致した時に印刷データの受信を拒否する処理と、印刷時の透かし印刷と縮小印刷と、外部から受信した印刷データを蓄積してその中から指示された印刷データのみを印刷する処理と、印刷データの削除処理を含むこの発明に係る各種の制御処理を行う。
さらに、プリンタ6〜9の制御部は、自装置のIPアドレスが変更されたとき、DDNSサーバ4に変更後のIPアドレスを通知する手段の機能を果たす。
In addition, the printers 6 to 9 perform the printing process based on the print data received from the client PCs 1 and 2 or another printer, the printer search process requested by the client PCs 1 and 2, and the search by the respective control units. Print request processing to the printer, processing to reject the reception of print data when the printer meets a predetermined condition, watermark printing and reduced printing at the time of printing, print data received from the outside and accumulated Various control processes according to the present invention including a process of printing only the instructed print data and a print data deletion process are performed.
Further, the control units of the printers 6 to 9 function as means for notifying the DDNS server 4 of the changed IP address when the IP address of the own device is changed.

ダイナミック・ドメイン・ネーム・サービス(Dynamic Domain Name Service:DDNS)サーバ(DDNSサーバ)4は、CPU,ROM及びRAMからなるマイクロコンピュータによって実現される制御部を有し、各プリンタ6〜9と図示を省略した全てのプリンタのIPアドレスとホスト名(Host name)とを関連付けて記憶している。また、上記制御部が、各プリンタ6〜9から変更後のIPアドレスが通知されると、そのプリンタのホスト名と関連付けたIPアドレスを上記変更後のIPアドレスに更新する手段の機能を果たす。   A dynamic domain name service (DDNS) server (DDNS server) 4 includes a control unit realized by a microcomputer including a CPU, a ROM, and a RAM. All the omitted printer IP addresses and host names are stored in association with each other. When the changed IP address is notified from each of the printers 6 to 9, the control unit functions as a means for updating the IP address associated with the printer host name to the changed IP address.

DHCPサーバ5は、CPU,ROM及びRAMからなるマイクロコンピュータによって実現される制御部を有し、ゲートウェイサーバやDNSサーバのIPアドレスや、サブネットマスク、クライアントPCに割り当ててもよいIPアドレスの範囲などが設定されており、アクセスしてきたクライアントPCにこれらの情報を提供する。   The DHCP server 5 includes a control unit realized by a microcomputer including a CPU, a ROM, and a RAM. The IP address of a gateway server or DNS server, a subnet mask, a range of IP addresses that may be assigned to a client PC, and the like. The information is set and provided to the accessing client PC.

(1)実施例1
実施例1のネットワーク印刷システムでは、クライアントPCが印刷時、印刷先のプリンタとして指定したプリンタのIPアドレスが変っているか否かを調べて、変っているときには、そのプリンタのIPアドレスを検索して印刷を行う場合の構成と処理について説明する。
(1) Example 1
In the network printing system according to the first embodiment, when the client PC performs printing, it is checked whether the IP address of the printer designated as the printing destination printer has changed. If so, the IP address of the printer is searched. A configuration and processing when printing is described.

そこで、実施例1では、クライアントPC1,2のプリンタ通信部29とプリンタドライバ30が、ネットワーク上の印刷先に指定したプリンタのUIDとIPアドレスとを含むプリンタ情報(印刷装置情報)を保持するプリンタ情報保持手段と、上記印刷先に指定したプリンタへ印刷データを送る際、上記保持されたIPアドレス(宛先情報)のプリンタにUID(識別情報)を問い合わせる識別情報問合手段と、その手段による問い合わせによって取得したUIDと上記保持されたUIDとが一致するか否かを判断する判断手段と、その手段によって一致しないと判断したとき、上記ネットワークから上記保持されたUIDを持つプリンタを検索する印刷装置検索手段の機能を果たす。
また、プリンタ6〜9の制御部は、クライアントPC1,2からの問い合わせに対して自装置のUIDを応答する手段の機能を果たす。
Therefore, in the first embodiment, the printer communication unit 29 and the printer driver 30 of the client PCs 1 and 2 hold the printer information (printing device information) including the printer UID and IP address designated as the printing destination on the network. Information holding means, identification information inquiry means for inquiring UID (identification information) to the printer of the held IP address (destination information) when sending print data to the printer designated as the printing destination, and inquiry by the means Determining means for determining whether or not the UID acquired by the method matches the held UID, and a printing apparatus for searching for a printer having the held UID from the network when it is determined by the means that the UID does not match Serves as search means.
In addition, the control units of the printers 6 to 9 function as means for responding to the inquiry from the client PCs 1 and 2 with the UID of the own apparatus.

次に、クライアントPC1がプリンタ6によって印刷する場合の処理を説明する。
クライアントPC2を含むその他のクライアントPCがプリンタ6を含む他のプリンタで印刷する場合も同じ処理なので、その説明は省略する。
図3は、実施例1のネットワーク印刷システムにおけるクライアントPC1の印刷時の処理を示すフローチャート図である。
クライアントPC1は、印刷先としてプリンタ6への印刷が指示されると、ステップ(図中「S」で示す)1で、プリンタドライバが、アプリケーションソフトウェアから印刷開始命令を受信し、アプリケーションソフトウェアから描画情報(描画命令)を受け取り、その描画情報を印刷先のプリンタが解釈可能な命令、すなわち印刷データに変換してスプーラに蓄積する。
Next, processing when the client PC 1 performs printing with the printer 6 will be described.
Since the same processing is performed when other client PCs including the client PC 2 perform printing with other printers including the printer 6, the description thereof is omitted.
FIG. 3 is a flowchart illustrating processing at the time of printing by the client PC 1 in the network printing system according to the first embodiment.
When the client PC 1 is instructed to print to the printer 6 as a printing destination, in step (indicated by “S” in the figure) 1, the printer driver receives a print start command from the application software, and draws information from the application software. (Drawing command) is received, and the drawing information is converted into a command that can be interpreted by the printer of the printing destination, that is, print data, and stored in the spooler.

ステップ2で、プリンタドライバが、印刷データの蓄積がある程度できたとき、プリンタ通信部により、予め印刷先のプリンタの宛先情報として記憶しているIPアドレスに基づいて、そのプリンタに対してネットワーク上のUIDを問い合わせる。
すなわち、クライアントPC1は、自装置内に保持されているプリンタ6のIPアドレスに基づいてネットワーク上のそのIPアドレスに対してUIDを問い合わせる。
ここで、プリンタ6のIPアドレスが変っていなければ、上記UIDの問い合わせはプリンタ6に届くが、IPアドレスが変っていれば他のプリンタ又は装置に上記UIDの問い合わせが届くことになる。
したがって、プリンタ6のIPアドレスが変っていなければ、プリンタ6からのUIDが返信されてくるが、変っていれば、他のプリンタからのUIDが返信されてくる。
In step 2, when the printer driver has accumulated the print data to some extent, the printer communication unit is connected to the printer on the network based on the IP address previously stored as the destination information of the printer of the print destination. Queries the UID.
That is, the client PC 1 inquires of the IP address on the network for the UID based on the IP address of the printer 6 held in its own apparatus.
If the IP address of the printer 6 has not changed, the UID inquiry reaches the printer 6, but if the IP address has changed, the UID inquiry reaches another printer or apparatus.
Therefore, if the IP address of the printer 6 has not changed, the UID from the printer 6 is returned, but if it has changed, the UID from another printer is returned.

また、プリンタの電源が入っていない場合やセキュリティ上の理由でネットワーク上の一部の通信が禁止されている場合などの原因により、このUID問い合わせが相手先に届かずに返信が得られないで失敗になる可能性がある。
そこで、ステップ3で、プリンタドライバが、UID取得が成功したか否かを判断し、UID取得が成功したと判断したらステップ4へ進み、UID取得に成功しなかった(UID取得に失敗)と判断したら、ステップ8へ進む。
Also, due to reasons such as when the printer is not turned on or when some communication on the network is prohibited for security reasons, this UID inquiry will not reach the other party and a reply will not be obtained. Possible failure.
Therefore, in step 3, the printer driver determines whether or not the UID acquisition has succeeded. If it is determined that the UID acquisition has been successful, the process proceeds to step 4 to determine that the UID acquisition has not succeeded (the UID acquisition has failed). Then, go to Step 8.

ステップ4では、プリンタドライバが、プリンタ情報を参照し、印刷先に指定したプリンタのUIDが記録して保持されているか否かを判断し、そのUIDが保持されていると判断したら、ステップ5へ進む。
ステップ5では、プリンタドライバが、今回取得したUIDと保持されているUIDが一致するか否かを判断し、一致する場合は、印刷先に指定したプリンタのIPアドレスに変更がないことが分かるので、ステップ6へ進む。
ステップ6では、プリンタドライバがプリンタ通信部によって、プリンタ情報に保持しているIPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 4, the printer driver refers to the printer information to determine whether the printer UID designated as the printing destination is recorded and held. If it is determined that the UID is held, the process proceeds to step 5. move on.
In step 5, the printer driver determines whether or not the currently acquired UID matches the held UID. If they match, it can be seen that there is no change in the IP address of the printer designated as the print destination. , Go to Step 6.
In step 6, the printer driver executes print processing by sending print data to the printer of the printing destination based on the IP address held in the printer information by the printer communication unit, and this print processing is ended. .

一方、ステップ4でUIDが保持されていないと判断したら、ステップ7へ進む。ステップ7では、プリンタドライバが、プリンタ情報の印刷先に指定したプリンタのIPアドレスに今回取得したUIDを対応させて記録して保存し、ステップ6へ進む。
ステップ6では、プリンタドライバがプリンタ通信部によって、上記IPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
On the other hand, if it is determined in step 4 that the UID is not held, the process proceeds to step 7. In step 7, the printer driver records and stores the UID acquired this time in correspondence with the IP address of the printer designated as the printer destination of the printer information, and proceeds to step 6.
In step 6, the printer driver executes print processing for sending print data to the printer of the print destination based on the IP address by the printer communication unit and printing the print data, and the print processing is terminated.

また、ステップ5で今回取得したUIDと保持しているUIDが一致しないと判断したら、印刷先のプリンタのIPアドレスが以前とは変わっているので、ステップ9へ進む。
ステップ9では、制御装置が、「今回印刷先に指定されたプリンタの宛先情報が以前とは異なっているが、そのまま異なるプリンタで強制印刷するか、それとも前回使用したUIDのプリンタを検索するか」の指示を促すメッセージを表示装置の画面に表示し、ステップ10へ進む。
If it is determined in step 5 that the UID acquired this time does not match the held UID, the IP address of the printer at the print destination has changed from the previous one, and the process proceeds to step 9.
In step 9, the control device determines whether the destination information of the printer designated as the printing destination this time is different from the previous one, but forcibly print with a different printer as it is, or search for a printer with the UID used last time. A message prompting the instruction is displayed on the screen of the display device, and the process proceeds to Step 10.

ステップ10では、プリンタドライバが、ユーザが強制印刷を指示したか否かを判断し、ユーザによって強制印刷が指示されたと判断したら、ステップ6へ進み、指示されなかったと判断したら、ステップ11へ進む。
ステップ6では、プリンタドライバがプリンタ通信部によって、上記IPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 10, the printer driver determines whether or not the user has instructed forced printing. If it is determined that the user has instructed forced printing, the process proceeds to step 6, and if it has not been instructed, the process proceeds to step 11.
In step 6, the printer driver executes print processing for sending print data to the printer of the print destination based on the IP address by the printer communication unit and printing the print data, and the print processing is terminated.

一方、ステップ11では、プリンタドライバが、入力装置からユーザによる印刷先のプリンタの現在のIPアドレスを検索する指示が入力されたか否かを判断し、ユーザによって検索しないとの選択入力があった場合、印刷は実施せずに印刷データを破棄して印刷処理を終了し、検索の指示入力があった場合、ステップ12へ進む。
ステップ12では、プリンタドライバがプリンタ通信部によって、印刷先のプリンタの現在のIPアドレスを検索するプリンタの検索処理を実行し、ステップ13へ進む。
On the other hand, in step 11, the printer driver determines whether or not an instruction to search the current IP address of the printer to be printed by the user is input from the input device, and when the user inputs to select not to search If printing is not performed and the print data is discarded and the printing process is terminated, and a search instruction is input, the process proceeds to step 12.
In step 12, the printer driver executes a printer search process for searching for the current IP address of the printer to be printed by the printer communication unit, and the process proceeds to step 13.

ステップ13では、プリンタドライバが、印刷先のプリンタの現在のIPアドレスの検索に成功したか否かを判断し、成功しなければ(検索に失敗したら)、ステップ11へ戻って、再度、ユーザに検索するか否かを問い合せ、成功したら、ステップ6へ進む。
ステップ6では、プリンタドライバがプリンタ通信部によって、検索に成功したIPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
ステップ8では、制御装置が、プリンタのUIDを確認できないことと、それでも印刷を継続するか否かを問い合せるメッセージを表示装置の画面に表示し、ステップ10へ進み、上述の処理を実行する。
In step 13, the printer driver determines whether or not the current IP address of the printing destination printer has been successfully searched. If the printer driver has not succeeded (if the search has failed), the process returns to step 11 and the user is again asked. An inquiry is made as to whether to search, and if successful, the process proceeds to step 6.
In step 6, the printer driver executes print processing by sending print data to the printer of the print destination based on the IP address that has been successfully searched by the printer communication unit, and this print processing is terminated.
In step 8, the control device displays a message on the screen of the display device asking whether the printer UID cannot be confirmed and whether or not to continue printing, and proceeds to step 10 to execute the above-described processing.

なお、上記ステップ1の処理と上記ステップ2の処理の実行順を入れ替えてもよい。
また、上記ステップ4の判断処理を、UIDの取得処理前に実行し、前回のUIDが記録されてないと判断した場合はUIDの取得処理を実施しないようにしてもよい。
Note that the execution order of the process of step 1 and the process of step 2 may be interchanged.
Further, the determination process of step 4 may be executed before the UID acquisition process, and if it is determined that the previous UID is not recorded, the UID acquisition process may not be performed.

クライアントPC1は、プリンタからサブネット情報も取得している場合、そのサブネットの範囲だけにプリンタの検索範囲を限定することが可能である。
また、クライアントPC1が保持しているサブネットが次の(A)(B)(C)のルールで求められるサブネットより狭い場合、クライアントPC1が保持しているサブネットに検索範囲を限定することも可能である。
When the client PC 1 has also acquired subnet information from the printer, the printer search range can be limited to only the range of the subnet.
Further, when the subnet held by the client PC 1 is narrower than the subnet determined by the following rules (A), (B), and (C), it is possible to limit the search range to the subnet held by the client PC 1. is there.

(A)1.0.0.1−126.255.255.254:最初の数字は変更せず、2番目と3番目の数字は0から255まで変化させ、4番目の数字は0から254まで変化させる。
(B)128.1.0.1−191.254.255.254:最初と2番目の数字は変更せず、3番目の数字は0から255まで変化させ、4番目の数字は0から254まで変化させる。
(C)192.0.1.1−233.255.254.254:最初と2番目と3番目の数字は変更せず、4番目の数字は0から254まで変化させる。
(A) 1.0.0.1-126.255.255.254: The first number is not changed, the second and third numbers are changed from 0 to 255, and the fourth number is 0 to 254. To change.
(B) 128.0.1.1-191.254.255.254: The first and second numbers are not changed, the third number is changed from 0 to 255, and the fourth number is 0 to 254. To change.
(C) 192.0.1.1-233.255.254.254: The first, second, and third numbers are not changed, and the fourth number is changed from 0 to 254.

このネットワーク印刷システムでは、クライアントPC側に登録したネットワーク上のプリンタのIPアドレスが、そのプリンタの再起動時には別のプリンタにアサインされてしまって、当初のIPアドレスから他のIPアドレスに変化していた場合でも、上記登録したプリンタに印刷させることができる。   In this network printing system, the IP address of the printer on the network registered on the client PC side is assigned to another printer when the printer is restarted, and changes from the original IP address to another IP address. Even in the case of printing, it can be printed on the registered printer.

(2)実施例2
実施例2のネットワーク印刷システムでは、上述のクライアントPCにおけるプリンタ検索処理として、検索したいプリンタが以前存在していたネットワークのIPアドレスに逐一UIDを問い合せて検索する場合の構成と処理について説明する。
そこで、実施例2では、クライアントPC1,2のプリンタ通信部29とプリンタドライバ30が、プリンタを検索する手段として、上記保持されたUIDに基づいて得られたネットワーク上の全ての装置のIPアドレス(プリンタが存在しているネットワークセグメントの全ての装置のIPアドレス)にそれぞれ問い合わせて、ネットワークから上記保持されたUIDを持つプリンタを検索する手段の機能も果たす。
(2) Example 2
In the network printing system according to the second embodiment, as the printer search process in the client PC described above, a configuration and process in the case where a search is performed by querying the IP address of the network where the printer to be searched previously existed one by one will be described.
Therefore, in the second embodiment, the printer communication unit 29 and the printer driver 30 of the client PCs 1 and 2 use the IP addresses (all of the devices on the network obtained based on the held UID as a means for searching for a printer ( It also functions as a means for searching for a printer having the held UID from the network by inquiring each of the IP addresses of all devices in the network segment where the printer exists.

次に、クライアントPC1がプリンタ6の現在のIPアドレスを検索する処理を説明し、その他の処理は上述と同じなのでその説明を省略する。また、このプリンタ検索処理を含む印刷時の処理は、クライアントPC2を含む他のクライアントPCでも同じなので、その説明は省略する。
図4は、図1に示すネットワーク印刷システムのクライアントPC1のプリンタ検索処理を示すフローチャート図である。
クライアントPC1は、上記プリンタの検索処理時、ステップ21で、プリンタドライバが、プリンタ情報を参照し、印刷先のプリンタのIPアドレスからプリンタ検索範囲のIPアドレスを計算して求め、ステップ22へ進む。
Next, a process in which the client PC 1 searches for the current IP address of the printer 6 will be described. Since the other processes are the same as described above, a description thereof will be omitted. Further, the printing process including the printer search process is the same for the other client PCs including the client PC 2, and a description thereof will be omitted.
FIG. 4 is a flowchart showing printer search processing of the client PC 1 in the network printing system shown in FIG.
When the printer PC searches for the printer, in step 21, the printer driver refers to the printer information, calculates the IP address of the printer search range from the IP address of the printer at the print destination, and proceeds to step 22.

ステップ22では、プリンタドライバが、プリンタ検索IPアドレスの初期化処理により、上記プリンタ検索範囲のIPアドレスの中から先頭のIPアドレスを、最初に問い合わせるネットワーク上の問い合わせ先のIPアドレスに設定し、ステップ23へ進む。
ステップ23では、プリンタドライバがプリンタ通信部により、上記設定したIPアドレスにプリンタのUIDを問い合わせ、ステップ24へ進む。
ステップ24では、プリンタドライバが、UID取得が成功したか否かを判断し、UID取得が成功したと判断したらステップ28へ進み、UID取得に成功しなかった(UID取得に失敗)と判断したら、ステップ25へ進む。
ステップ25では、プリンタドライバが、プリンタ検索範囲で次の検索すべきIPアドレスが有るか否かを判断し、有ればステップ27へ進み、無ければステップ26へ進む。
In step 22, the printer driver sets the head IP address from among the IP addresses in the printer search range to the IP address of the inquiry destination on the network to be inquired first by the initialization process of the printer search IP address. Proceed to 23.
In step 23, the printer driver inquires the printer UID to the set IP address through the printer communication unit, and proceeds to step 24.
In step 24, the printer driver determines whether or not the UID acquisition is successful. If the printer driver determines that the UID acquisition is successful, the process proceeds to step 28. If the printer driver determines that the UID acquisition is not successful (failed to acquire the UID), Proceed to step 25.
In step 25, the printer driver determines whether or not there is an IP address to be searched next in the printer search range. If there is, the process proceeds to step 27, and if not, the process proceeds to step 26.

ステップ26では、プリンタドライバが検索失敗と判断し、この処理を終了する。
ステップ27では、プリンタドライバが、次の検索すべきIPアドレスを設定し、ステップ23へ戻って、上述と同じようにUIDを問い合わせる。
一方、ステップ28では、プリンタドライバが、今回取得したのは所望のUID(保持しているUIDと同じ)か否かを判断し、所望のUID(保持しているUIDと同じ)なら、ステップ29で検索成功と判断し、この処理を終了し、所望のUID(保持しているUIDと同じ)ではないなら、ステップ27で次の検索すべきIPアドレスを設定し、ステップ23へ戻って、上述と同じようにUIDを問い合わせる。
In step 26, the printer driver determines that the search has failed, and the process ends.
In step 27, the printer driver sets the next IP address to be searched, returns to step 23, and inquires the UID in the same manner as described above.
On the other hand, in step 28, it is determined whether or not the printer driver has acquired the desired UID (same as the stored UID). If it is the desired UID (same as the stored UID), step 29 If it is determined that the search is successful, the process is terminated, and if it is not the desired UID (same as the stored UID), the next IP address to be searched is set in step 27, the process returns to step 23, and Query the UID in the same way as

このようにして、プリンタドライバ30は、印刷先に指定したプリンタのIPアドレスを含むプリンタ検索範囲のIPアドレス(印刷先のプリンタが接続しているネットワークセグメント上の全プリンタのIPアドレス範囲)を計算し、そのプリンタ検索範囲の各IPアドレスに1つずつUID問合せ命令を送り、印刷先のプリンタとUIDが一致するプリンタのIPアドレスを検索する。   In this way, the printer driver 30 calculates the IP address of the printer search range including the IP address of the printer designated as the printing destination (the IP address range of all printers on the network segment to which the printing destination printer is connected). Then, one UID inquiry command is sent to each IP address in the printer search range to search for an IP address of a printer whose UID matches the printer to be printed.

このネットワーク印刷システムでは、プリンタのIPアドレスが変化しても、可能性のあるアドレスをすべて調査することにより、適切な識別番号を持つプリンタを発見し、所望するプリンタで印刷することができる。
このネットワーク印刷システムでは、印刷先のプリンタのIPアドレスが変化しても、そのIPアドレスが割り当てられているプリンタが属するネットワークセグメント内の全IPアドレスに逐一問い合わせることにより、印刷先のプリンタの現在のIPアドレスを見つけて印刷させることができる。
In this network printing system, even if the IP address of a printer changes, a printer having an appropriate identification number can be found by examining all possible addresses and can be printed by a desired printer.
In this network printing system, even if the IP address of the printer at the print destination changes, the current IP address of the printer at the print destination is inquired one by one from all IP addresses in the network segment to which the printer to which the IP address is assigned belongs. IP address can be found and printed.

(3)実施例3
実施例3のネットワーク印刷システムでは、クライアントPCが印刷時、印刷先のプリンタとして指定したプリンタのIPアドレスが変っているか否かを調べて、変っているときには、そのプリンタのIPアドレスをDDNSサーバ4に問い合わせて検索して印刷を行う場合の構成と処理について説明する。
(3) Example 3
In the network printing system according to the third embodiment, when the client PC performs printing, it is checked whether or not the IP address of the printer designated as the printing destination printer has changed. If so, the IP address of the printer is set to the DDNS server 4. The configuration and processing in the case of performing an inquiry by searching for printing will be described.

そこで、実施例3では、クライアントPC1,2のプリンタ通信部29とプリンタドライバ30が、ネットワーク上の印刷先に指定したプリンタのUIDとIPアドレスと、プリンタのIPアドレスとホスト名とを関連付けて記憶するDDNSサーバのIPアドレスとを含むプリンタ情報(印刷装置情報)を保持するプリンタ情報保持手段と、上記印刷先に指定したプリンタへ印刷データを送る際、上記保持されたIPアドレスのプリンタにUIDを問い合わせるUID問合手段の機能を果たす。   Therefore, in the third embodiment, the printer communication unit 29 and the printer driver 30 of the client PCs 1 and 2 store the printer UID and IP address designated as the print destination on the network, the printer IP address, and the host name in association with each other. A printer information holding means for holding printer information (printing apparatus information) including the IP address of the DDNS server to be sent, and when sending print data to the printer designated as the printing destination, a UID is assigned to the printer of the held IP address. It functions as a UID inquiry means for making an inquiry.

また、上記UID問合手段による問い合わせによって取得したUIDと上記保持されたUIDとが一致するか否かを判断する判断手段と、その手段によって一致しないと判断したとき、上記保持されたIPアドレスのDDNSサーバに上記保持されたホスト名に関連付けられているIPアドレスを問い合わせて取得することにより、上記ネットワークから上記保持されたUIDを持つプリンタを検索するプリンタ検索手段の機能を果たす。
さらに、上記印刷先に指定したプリンタに、そのプリンタのホスト名とそのホスト名とIPアドレスとを関連付けて記憶するDDNSサーバ4のIPアドレスとを問い合わせて取得する手段の機能も果たす。
In addition, when the UID acquired by the inquiry by the UID inquiry means and the held UID match, and when it is determined that the UID does not match, the holding IP address By inquiring and obtaining an IP address associated with the held host name from the DDNS server, it functions as a printer search means for searching for a printer having the held UID from the network.
Further, it also functions as a means for inquiring and obtaining the printer specified as the printing destination from the printer DNS name of the DDNS server 4 that stores the printer host name and the host name in association with the IP address.

次に、クライアントPC1がプリンタ6によって印刷する場合の処理を説明する。
クライアントPC2を含むその他のクライアントPCがプリンタ6を含む他のプリンタで印刷する場合も同じ処理なので、その説明は省略する。
図5は、実施例3のネットワーク印刷システムにおけるクライアントPC1の印刷時の処理を示すフローチャート図である。
クライアントPC1は、印刷先としてプリンタ6への印刷が指示されると、ステップ31で、プリンタドライバが、アプリケーションソフトウェアから印刷開始命令を受信し、アプリケーションソフトウェアから描画情報(描画命令)を受け取り、その描画情報を印刷先のプリンタが解釈可能な命令、すなわち印刷データに変換してスプーラに蓄積する。
Next, processing when the client PC 1 performs printing with the printer 6 will be described.
Since the same processing is performed when other client PCs including the client PC 2 perform printing with other printers including the printer 6, the description thereof is omitted.
FIG. 5 is a flowchart illustrating processing at the time of printing by the client PC 1 in the network printing system according to the third embodiment.
When the client PC 1 is instructed to print to the printer 6 as a printing destination, in step 31, the printer driver receives a print start command from the application software, receives drawing information (drawing command) from the application software, and draws the drawing. The information is converted into a command that can be interpreted by the printer at the print destination, that is, print data, and stored in the spooler.

ステップ32で、プリンタドライバが、印刷データの蓄積がある程度できたとき、プリンタ通信部により、予め印刷先のプリンタの宛先情報として記憶しているIPアドレスに基づいて、そのプリンタに対してネットワーク上のUIDを問い合わせる。
すなわち、クライアントPC1は、自装置内に保持されているプリンタ6のIPアドレスに基づいてネットワーク上のそのIPアドレスに対してUIDを問い合わせる。
ここで、プリンタ6のIPアドレスが変っていなければ、上記UIDの問い合わせはプリンタ6に届くが、IPアドレスが変っていれば他のプリンタ又は装置に上記UIDの問い合わせが届くことになる。
したがって、プリンタ6のIPアドレスが変っていなければ、プリンタ6からのUIDが返信されてくるが、変っていれば、他のプリンタからのUIDが返信されてくる。
In step 32, when the printer driver is able to accumulate print data to some extent, the printer communication unit is connected to the printer on the network based on the IP address stored in advance as destination information of the printer of the print destination. Queries the UID.
That is, the client PC 1 inquires of the IP address on the network for the UID based on the IP address of the printer 6 held in its own apparatus.
If the IP address of the printer 6 has not changed, the UID inquiry reaches the printer 6, but if the IP address has changed, the UID inquiry reaches another printer or apparatus.
Therefore, if the IP address of the printer 6 has not changed, the UID from the printer 6 is returned, but if it has changed, the UID from another printer is returned.

また、プリンタの電源が入っていない場合やセキュリティ上の理由でネットワーク上の一部の通信が禁止されている場合などの原因により、このUID問い合わせが相手先に届かずに返信が得られないで失敗になる可能性がある。
そこで、ステップ33で、プリンタドライバが、UID取得が成功したか否かを判断し、UID取得が成功したと判断したらステップ34へ進み、UID取得に成功しなかった(UID取得に失敗)と判断したら、ステップ40へ進む。
Also, due to reasons such as when the printer is not turned on or when some communication on the network is prohibited for security reasons, this UID inquiry will not reach the other party and a reply will not be obtained. Possible failure.
Therefore, in step 33, the printer driver determines whether or not the UID acquisition has succeeded. If it is determined that the UID acquisition has succeeded, the process proceeds to step 34, where it is determined that the UID acquisition has not succeeded (UID acquisition failed). Then, go to Step 40.

ステップ34では、プリンタドライバが、プリンタ情報を参照し、印刷先に指定したプリンタのUIDが記録して保持されているか否かを判断し、そのUIDが保持されていると判断したら、ステップ35へ進む。
ステップ35では、プリンタドライバが、今回取得したUIDと保持されているUIDが一致するか否かを判断し、一致する場合は、印刷先に指定したプリンタのIPアドレスに変更がないことが分かるので、ステップ36へ進む。
ステップ36では、プリンタドライバがプリンタ通信部によって、プリンタ情報に保持しているIPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 34, the printer driver refers to the printer information to determine whether the printer UID designated as the printing destination is recorded and held. If it is determined that the UID is held, the process proceeds to step 35. move on.
In step 35, the printer driver determines whether or not the currently acquired UID matches the held UID. If they match, it can be seen that there is no change in the IP address of the printer designated as the print destination. , Go to Step 36.
In step 36, the printer driver executes print processing by sending print data to the printer of the print destination based on the IP address held in the printer information by the printer communication unit, and this print processing is terminated. .

一方、ステップ34でUIDが保持されていないと判断したら、ステップ37へ進む。
ステップ37では、プリンタドライバが、プリンタ情報の印刷先に指定したプリンタのIPアドレスに今回取得したUIDを対応させて記録して保存し、ステップ38へ進む。
ステップ38では、プリンタドライバがプリンタ通信部によって、今回取得したUIDのプリンタからDDNSサーバのIPアドレスを取得して、プリンタ情報の今回取得したUIDのプリンタに対応させて保存し、ステップ39へ進む。
On the other hand, if it is determined in step 34 that the UID is not held, the process proceeds to step 37.
In step 37, the printer driver records and stores the UID acquired this time in correspondence with the IP address of the printer designated as the printer destination of the printer information, and proceeds to step 38.
In step 38, the printer driver acquires the IP address of the DDNS server from the printer with the UID acquired this time by the printer communication unit, stores it in correspondence with the printer with the UID acquired this time in the printer information, and proceeds to step 39.

ステップ39では、プリンタドライバがプリンタ通信部によって、今回取得したUIDのプリンタからホスト名を取得して、プリンタ情報の今回取得したUIDのプリンタに対応させて保存し、ステップ36へ進む。
ステップ36では、プリンタドライバがプリンタ通信部によって、上記IPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 39, the printer driver acquires the host name from the printer with the UID acquired this time by the printer communication unit, stores it in correspondence with the printer with the UID acquired this time in the printer information, and proceeds to step 36.
In step 36, the printer driver executes a print process for sending print data to the printer of the print destination based on the IP address by the printer communication unit and printing the print data, and the print process is terminated.

また、ステップ35で今回取得したUIDと保持しているUIDが一致しないと判断したら、印刷先のプリンタのIPアドレスが以前とは変わっているので、ステップ41へ進む。
ステップ41では、制御装置が、「今回印刷先に指定されたプリンタの宛先情報が以前とは異なっているが、そのまま異なるプリンタで強制印刷するか、それとも前回使用したUIDのプリンタを検索するか」の指示を促すメッセージを表示装置の画面に表示し、ステップ42へ進む。
If it is determined in step 35 that the UID acquired this time and the held UID do not match, the IP address of the printer at the print destination has changed from before, and the process proceeds to step 41.
In step 41, the control device determines whether the destination information of the printer designated as the printing destination this time is different from the previous one, but whether to forcibly print with a different printer as it is, or to search for a printer with the UID used last time. A message prompting the instruction is displayed on the screen of the display device, and the process proceeds to step 42.

ステップ42では、プリンタドライバが、ユーザが強制印刷を指示したか否かを判断し、ユーザによって強制印刷が指示されたと判断したら、ステップ36へ進み、指示されなかったと判断したら、ステップ43へ進む。
ステップ36では、プリンタドライバがプリンタ通信部によって、上記IPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 42, the printer driver determines whether or not the user has instructed forced printing. If it is determined that the user has instructed forced printing, the process proceeds to step 36, and if it has not been instructed, the process proceeds to step 43.
In step 36, the printer driver executes a print process for sending print data to the printer of the print destination based on the IP address by the printer communication unit and printing the print data, and the print process is terminated.

一方、ステップ43では、プリンタドライバが、入力装置からユーザによる印刷先のプリンタの現在のIPアドレスを検索する指示が入力されたか否かを判断し、ユーザによって検索しないとの選択入力があった場合、印刷は実施せずに印刷データを破棄して印刷処理を終了し、検索の指示入力があった場合、ステップ44へ進む。
ステップ44では、プリンタドライバがプリンタ通信部によって、DDNSサーバに問い合わせてホスト名に該当するIPアドレスを取得し、印刷先のプリンタの現在のIPアドレスを検索するプリンタの検索処理を実行し、ステップ45へ進む。
On the other hand, in step 43, the printer driver determines whether or not an instruction for searching for the current IP address of the printer to be printed by the user has been input from the input device, and if the user inputs to select not to search If the search instruction is input without discarding the print data without printing, the process proceeds to step 44.
In step 44, the printer driver uses the printer communication unit to inquire the DDNS server to obtain the IP address corresponding to the host name, and executes a printer search process for searching for the current IP address of the printer at the print destination. Proceed to

ステップ45では、プリンタドライバが、印刷先のプリンタの現在のIPアドレスの検索に成功したか否かを判断し、成功しなければ(検索に失敗したら)、ステップ43へ戻って、再度、ユーザに検索するか否かを問い合せ、成功したら、ステップ36へ進む。
ステップ36では、プリンタドライバがプリンタ通信部によって、検索に成功したIPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
ステップ40では、制御装置が、プリンタのUIDを確認できないことと、それでも印刷を継続するか否かを問い合せるメッセージを表示装置の画面に表示し、ステップ42へ進み、上述の処理を実行する。
In step 45, the printer driver determines whether or not the current IP address of the printer to be printed has been successfully searched. If not successful (if the search has failed), the process returns to step 43 and again asks the user. An inquiry is made as to whether to search, and if successful, the process proceeds to step 36.
In step 36, the printer driver uses the printer communication unit to execute print processing for sending print data to the printer at the print destination based on the IP address that has been successfully searched, and the print processing is terminated.
In step 40, the control device displays a message on the screen of the display device asking whether the printer UID cannot be confirmed and whether or not to continue printing, and proceeds to step 42 to execute the above-described processing.

なお、上記ステップ31の処理と上記ステップ32の処理の実行順を入れ替えてもよい。また、上記ステップ34の判断処理を、UIDの取得処理前に実行し、印刷先として指定されたプリンタのUIDが自装置内に記録されてないと判断した場合はUIDの取得処理を実施しないようにしてもよい。   Note that the execution order of the process of step 31 and the process of step 32 may be interchanged. The determination process in step 34 is executed before the UID acquisition process, and if it is determined that the printer UID specified as the print destination is not recorded in the own apparatus, the UID acquisition process is not performed. It may be.

このようにして、プリンタドライバ30がプリンタのUID取得に成功した場合、引き続き、プリンタからDDNSサーバのIPアドレスとプリンタのホスト名を取得し、そのプリンタと関連付けて保存しておくことにより、プリンタのIPアドレスをDNSで調査することが可能になる。   In this way, when the printer driver 30 succeeds in acquiring the printer UID, it continuously acquires the IP address of the DDNS server and the host name of the printer from the printer and stores them in association with the printer. It becomes possible to check the IP address by DNS.

図6は、実施例3のクライアントPC1におけるプリンタ検索処理を示すフローチャート図である。
クライアントPC1は、DDNSサーバ4を用いたプリンタ検索処理を次のように行う。まず、ステップ51で、プリンタドライバがプリンタ通信部によって、DDNSサーバにプリンタのホスト名に対応するIPアドレスを問い合わせ、ステップ52へ進む。
FIG. 6 is a flowchart illustrating printer search processing in the client PC 1 according to the third embodiment.
The client PC 1 performs printer search processing using the DDNS server 4 as follows. First, in step 51, the printer driver inquires of the DDNS server about the IP address corresponding to the host name of the printer through the printer communication unit, and proceeds to step 52.

ステップ52では、プリンタドライバが、DDNSサーバからのIPアドレスの取得に成功したか否かを判断し、成功したら、ステップ53へ進み、成功しなければ、ステップ57へ進む。
ステップ53では、プリンタドライバがプリンタ通信部によって、取得したIPアドレスにプリンタのUIDを問い合わせ、ステップ54へ進む。
ステップ54では、プリンタドライバがUID取得が成功したか否かを判断し、UID取得が成功したと判断したらステップ55へ進み、UID取得に成功しなかった(UID取得に失敗)と判断したら、ステップ57へ進む。
In step 52, the printer driver determines whether or not acquisition of the IP address from the DDNS server is successful. If successful, the process proceeds to step 53. If not successful, the process proceeds to step 57.
In step 53, the printer driver inquires the printer UID for the acquired IP address through the printer communication unit, and proceeds to step 54.
In step 54, the printer driver determines whether or not the UID acquisition is successful. If it is determined that the UID acquisition is successful, the process proceeds to step 55. If it is determined that the UID acquisition is not successful (the UID acquisition is unsuccessful), Proceed to 57.

ステップ55では、プリンタドライバが、今回取得したUIDと保持しているUIDとが一致するか否かを判断し、一致すれば、ステップ56へ進み、一致しなければ、ステップ57へ進む。
ステップ56では、プリンタドライバが検索成功と判断し、この処理を終了する。この場合、印刷先のプリンタのIPアドレスは、ステップ51の処理での問い合わせで得られたIPアドレスであり、クライアントPC1はこのIPアドレスへ印刷データを送信して印刷をさせる。
ステップ57では、プリンタドライバが検索失敗と判断し、この処理を終了する。
In step 55, the printer driver determines whether or not the UID acquired this time matches the held UID. If they match, the process proceeds to step 56. If they do not match, the process proceeds to step 57.
In step 56, the printer driver determines that the search is successful, and the process ends. In this case, the IP address of the printer that is the printing destination is the IP address obtained by the inquiry in the process of step 51, and the client PC 1 transmits the print data to this IP address for printing.
In step 57, the printer driver determines that the search has failed, and the process ends.

このようにして、プリンタと関連付けられているDDNSサーバ4に、ホスト名のIPアドレスを問い合わせて入手することができる。
すなわち、DDNSサーバ4にIPアドレス問い合わせコマンドを送り、その返答からIPアドレスを入手する。
そして、そのIPアドレスに対して、UID問い合わせ命令を送り、それで取得したUIDが、以前保管したUIDと同じであれば、検索に成功したことになり、UIDが異なれば、検索に失敗したことになる。
このネットワーク印刷システムでは、印刷先のプリンタのIPアドレスが変化しても、DDNSサーバに問い合わせることにより、現在のIPアドレスを見つけて印刷させることができる。
In this way, it is possible to inquire and obtain the IP address of the host name from the DDNS server 4 associated with the printer.
That is, an IP address inquiry command is sent to the DDNS server 4 and the IP address is obtained from the response.
Then, a UID inquiry command is sent to the IP address, and if the obtained UID is the same as the previously stored UID, the search has succeeded. If the UID is different, the search has failed. Become.
In this network printing system, even if the IP address of the printer of the printing destination changes, the current IP address can be found and printed by making an inquiry to the DDNS server.

(4)請求項4
実施例4のネットワーク印刷システムでは、クライアントPCが印刷時、印刷先のプリンタとして指定したプリンタのIPアドレスが変っているか否かを調べて、変っているときには、印刷先のプリンタとして保持しているIPアドレスが割り当てられているプリンタへ印刷先のプリンタの検索を依頼し、その依頼されたプリンタがクライアントPCから示された印刷先のプリンタのIPアドレスを検索してクライアントPCへ返信する場合の構成と処理について説明する。
(4) Claim 4
In the network printing system according to the fourth embodiment, when the client PC performs printing, it is checked whether or not the IP address of the printer designated as the printing destination printer has changed, and if it has changed, it is retained as the printing destination printer. Configuration in which a printer to which an IP address is assigned is requested to search for a printing destination printer, and the requested printer searches the IP address of the printing destination printer indicated by the client PC and returns it to the client PC The process will be described.

そこで、実施例4では、クライアントPC1,2のプリンタ通信部29とプリンタドライバ30が、ネットワーク上の印刷先に指定したプリンタのUIDとIPアドレス)とを含むプリンタ情報を保持するプリンタ情報保持手段と、上記印刷先に指定したプリンタへ印刷データを送る際、上記保持されたIPアドレスのプリンタにUIDを問い合わせるUID問合手段と、その手段による問い合わせによって取得したUIDと上記保持されたUIDとが一致するか否かを判断する判断手段と、その手段によって一致しないと判断したとき、上記取得したUIDのプリンタに、上記ネットワークから上記保持されたUIDを持つプリンタを検索するように依頼する検索依頼手段の機能を果たす。   Therefore, in the fourth embodiment, the printer communication unit 29 and the printer driver 30 of the client PCs 1 and 2 have printer information holding means for holding printer information including the printer UID and IP address designated as the printing destination on the network. When sending print data to the printer designated as the printing destination, the UID inquiry means for inquiring the UID to the printer of the held IP address, and the UID acquired by the inquiry by the means match the held UID. A determination means for determining whether or not to perform, and a search request means for requesting the printer having the acquired UID to search for the printer having the held UID from the network when it is determined that they do not match. Fulfills the function.

また、プリンタ6〜9は、ネットワーク上でクライアントPC1,2から送られた印刷データを印刷する印刷装置であって、制御部が、クライアントPC1,2から指定されたUIDを持つプリンタを検索するように依頼されたとき、上記ネットワークから上記指定されたUIDを持つプリンタを検索するプリンタ検索手段の機能を果たす。
また、上記プリンタ検索手段として、上記ネットワーク上の全ての装置のIPアドレス(ネットワークセグメントの全ての装置のIPアドレス)にそれぞれ問い合わせて、上記ネットワークから上記指定されたUIDを持つプリンタを検索する手段の機能を果たす。
The printers 6 to 9 are printing apparatuses that print the print data sent from the client PCs 1 and 2 on the network, and the control unit searches for a printer having the UID specified by the client PCs 1 and 2. When requested by the user, it functions as a printer search means for searching for a printer having the designated UID from the network.
Further, as the printer search means, a means for searching for a printer having the specified UID from the network by inquiring the IP addresses of all devices on the network (IP addresses of all devices in the network segment). Fulfills the function.

次に、クライアントPC1がプリンタ6で印刷するためにプリンタ7に検索を依頼する場合の印刷処理を説明する。
クライアントPC2を含むその他のクライアントPCがプリンタ6を含む他のプリンタで印刷する場合も同じ処理なので、その説明は省略する。
Next, a printing process when the client PC 1 requests a search from the printer 7 for printing by the printer 6 will be described.
Since the same processing is performed when other client PCs including the client PC 2 perform printing with other printers including the printer 6, the description thereof is omitted.

図7は、実施例4のネットワーク印刷システムにおけるクライアントPC1の印刷時の処理を示すフローチャート図である。
クライアントPC1は、印刷先としてプリンタ6への印刷が指示されると、ステップ61で、プリンタドライバが、アプリケーションソフトウェアから印刷開始命令を受信し、アプリケーションソフトウェアから描画情報(描画命令)を受け取り、その描画情報を印刷先のプリンタが解釈可能な命令、すなわち印刷データに変換してスプーラに蓄積する。
FIG. 7 is a flowchart illustrating processing during printing of the client PC 1 in the network printing system according to the fourth embodiment.
When the client PC 1 is instructed to print to the printer 6 as a printing destination, in step 61, the printer driver receives a print start command from the application software, receives drawing information (drawing command) from the application software, and draws the drawing. The information is converted into a command that can be interpreted by the printer at the print destination, that is, print data, and stored in the spooler.

ステップ62で、プリンタドライバが、印刷データの蓄積がある程度できたとき、プリンタ通信部により、予め印刷先のプリンタの宛先情報として記憶しているIPアドレスに基づいて、そのプリンタに対してネットワーク上のUIDを問い合わせる。
すなわち、クライアントPC1は、自装置内に保持されているプリンタ6のIPアドレスに基づいてネットワーク上のそのIPアドレスに対してUIDを問い合わせる。
ここで、プリンタ6のIPアドレスが変っていなければ、上記UIDの問い合わせはプリンタ6に届くが、IPアドレスが変っていれば他のプリンタ又は装置に上記UIDの問い合わせが届くことになる。
したがって、プリンタ6のIPアドレスが変っていなければ、プリンタ6からのUIDが返信されてくるが、変っていれば、他のプリンタからのUIDが返信されてくる。
In step 62, when the printer driver has accumulated the print data to some extent, the printer communication unit is connected to the printer on the network based on the IP address previously stored as the destination information of the printer of the print destination. Queries the UID.
That is, the client PC 1 inquires of the IP address on the network for the UID based on the IP address of the printer 6 held in its own apparatus.
If the IP address of the printer 6 has not changed, the UID inquiry reaches the printer 6, but if the IP address has changed, the UID inquiry reaches another printer or apparatus.
Therefore, if the IP address of the printer 6 has not changed, the UID from the printer 6 is returned, but if it has changed, the UID from another printer is returned.

また、プリンタの電源が入っていない場合やセキュリティ上の理由でネットワーク上の一部の通信が禁止されている場合などの原因により、このUID問い合わせが相手先に届かずに返信が得られないで失敗になる可能性がある。
そこで、ステップ63で、プリンタドライバが、UID取得が成功したか否かを判断し、UID取得が成功したと判断したらステップ64へ進み、UID取得に成功しなかった(UID取得に失敗)と判断したら、ステップ70へ進む。
Also, due to reasons such as when the printer is not turned on or when some communication on the network is prohibited for security reasons, this UID inquiry will not reach the other party and a reply will not be obtained. Possible failure.
Therefore, in step 63, the printer driver determines whether or not the UID acquisition has succeeded. If it is determined that the UID acquisition has succeeded, the process proceeds to step 64, where it is determined that the UID acquisition has not succeeded (UID acquisition failed). Then, go to step 70.

ステップ64では、プリンタドライバが、プリンタ情報を参照し、印刷先に指定したプリンタのUIDが記録して保持されているか否かを判断し、そのUIDが保持されていると判断したら、ステップ65へ進む。
ステップ65では、プリンタドライバが、今回取得したUIDと保持されているUIDが一致するか否かを判断し、一致する場合は、印刷先に指定したプリンタのIPアドレスに変更がないことが分かるので、ステップ66へ進む。
ステップ66では、プリンタドライバがプリンタ通信部によって、プリンタ情報に保持しているIPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 64, the printer driver refers to the printer information to determine whether the printer UID designated as the printing destination is recorded and held. If it is determined that the UID is held, the process proceeds to step 65. move on.
In step 65, the printer driver determines whether or not the UID acquired this time matches the held UID. If they match, it can be seen that there is no change in the IP address of the printer designated as the print destination. , Go to Step 66.
In step 66, the printer driver executes print processing by sending print data to the printer of the print destination based on the IP address held in the printer information by the printer communication unit, and this print processing is terminated. .

一方、ステップ64でUIDが保持されていないと判断したら、ステップ67へ進む。
ステップ67では、プリンタドライバが、プリンタ情報の印刷先に指定したプリンタのIPアドレスに今回取得したUIDを対応させて記録して保存し、ステップ68へ進む。
ステップ68では、プリンタドライバがプリンタ通信部によって、今回取得したUIDのプリンタからDDNSサーバのIPアドレスを取得して、プリンタ情報の今回取得したUIDのプリンタに対応させて保存し、ステップ69へ進む。
On the other hand, if it is determined in step 64 that the UID is not held, the process proceeds to step 67.
In step 67, the printer driver records and stores the UID acquired this time in correspondence with the IP address of the printer designated as the printer destination of the printer information, and proceeds to step 68.
In step 68, the printer driver acquires the IP address of the DDNS server from the printer with the UID acquired this time by the printer communication unit, stores it in correspondence with the printer with the UID acquired this time in the printer information, and proceeds to step 69.

ステップ69では、プリンタドライバがプリンタ通信部によって、今回取得したUIDのプリンタからホスト名を取得して、プリンタ情報の今回取得したUIDのプリンタに対応させて保存し、ステップ66へ進む。
ステップ66では、プリンタドライバがプリンタ通信部によって、上記IPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 69, the printer driver acquires the host name from the printer with the UID acquired this time by the printer communication unit, stores it in correspondence with the printer with the UID acquired this time in the printer information, and proceeds to step 66.
In step 66, the printer driver uses the printer communication unit to execute print processing for transmitting print data to the printer of the print destination based on the IP address and printing, and the print processing is terminated.

また、ステップ65で今回取得したUIDと保持しているUIDが一致しないと判断したら、印刷先のプリンタのIPアドレスが以前とは変わっているので、ステップ71へ進む。
ステップ71では、制御装置が、「今回印刷先に指定されたプリンタの宛先情報が以前とは異なっているが、そのまま異なるプリンタで強制印刷するか、それとも前回使用したUIDのプリンタの検索を依頼するか」の指示を促すメッセージを表示装置の画面に表示し、ステップ72へ進む。
If it is determined in step 65 that the currently acquired UID and the held UID do not match, the process proceeds to step 71 because the IP address of the printer at the print destination has changed from before.
In step 71, the control device indicates that “the destination information of the printer designated as the printing destination this time is different from the previous one, but forcibly prints with a different printer as it is, or requests a search for a printer with the UID used last time. A message prompting the instruction “?” Is displayed on the screen of the display device, and the process proceeds to step 72.

ステップ72では、プリンタドライバが、ユーザが強制印刷を指示したか否かを判断し、ユーザによって強制印刷が指示されたと判断したら、ステップ66へ進み、指示されなかったと判断したら、ステップ73へ進む。
ステップ66では、プリンタドライバがプリンタ通信部によって、上記IPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 72, the printer driver determines whether or not the user has instructed forced printing. If it is determined that the user has instructed forced printing, the process proceeds to step 66, and if it has not been instructed, the process proceeds to step 73.
In step 66, the printer driver uses the printer communication unit to execute print processing for transmitting print data to the printer of the print destination based on the IP address and printing, and the print processing is terminated.

一方、ステップ73では、プリンタドライバが、入力装置からユーザによる印刷先のプリンタの現在のIPアドレスの検索を依頼する指示が入力されたか否かを判断し、ユーザによって検索しないとの選択入力があった場合、印刷は実施せずに印刷データを破棄して印刷処理を終了し、検索依頼の指示入力があった場合、ステップ74へ進む。
ステップ74では、プリンタドライバがプリンタ通信部によって、上記UIDを問い合わせたプリンタに、印刷先のプリンタの現在のIPアドレスの検索を依頼するプリンタの検索依頼処理を実行し、ステップ75へ進む。
On the other hand, in step 73, the printer driver determines whether or not an instruction for requesting a search for the current IP address of the printer to be printed by the user has been input from the input device, and the user inputs a selection not to search. If printing is not performed, the print data is discarded and the printing process is terminated. If a search request instruction is input, the process proceeds to step 74.
In step 74, the printer driver executes a printer search request process for requesting the printer that has inquired about the UID to search for the current IP address of the printer of the print destination by the printer communication unit.

クライアントPC1は、上述した処理によって取得したUIDと印刷先のプリンタとして保管しているUIDが一致しなかった場合、そのUIDの問い合わせ先のプリンタに対して、印刷先のプリンタのUIDを持つプリンタのIPアドレスを検索するように依頼するコマンド(命令)を送る。
例えば、印刷先のプリンタ6の現在のIPアドレスが変っており、そのIPアドレスが現在はプリンタ7に割り当てられている場合、クライアントPC1はプリンタ7に対して上記コマンドを送信する。
If the UID acquired by the above-described processing does not match the UID stored as the printer of the printing destination, the client PC 1 determines the printer having the UID of the printer of the printing destination with respect to the printer as the inquiry destination of the UID. Send a command requesting to search for IP address.
For example, when the current IP address of the printer 6 as the printing destination has changed and the IP address is currently assigned to the printer 7, the client PC 1 transmits the command to the printer 7.

そのコマンドには、パラメータとして、検索するUIDを含めている。
プリンタ7は、このコマンドを受け取ると、そのコマンド内に含まれるUIDに基づいて上述した実施例1〜4で示したようなクライアントPC1によるプリンタ検索処理を実行して、ネットワーク上からプリンタ6の現在のIPアドレスを検索し、検索に成功したら、そのIPアドレスと共に検索成功の情報をクライアントPC1へ返信し、発見できなかった場合は検索失敗の情報を返信する。
The command includes a UID to be searched as a parameter.
Upon receiving this command, the printer 7 executes the printer search process by the client PC 1 as described in the first to fourth embodiments based on the UID included in the command, and the current state of the printer 6 from the network. If the search is successful, the search success information is returned to the client PC 1 together with the IP address. If the IP address is not found, the search failure information is returned.

ステップ75では、プリンタドライバが、検索を依頼したプリンタからの検索結果の返信情報に基づいて、印刷先のプリンタの現在のIPアドレスの検索に成功したか否かを判断し、成功しなければ(検索に失敗したら)、ステップ73へ戻って、再度、ユーザに検索を依頼するか否かを問い合せ、成功したら、ステップ66へ進む。
ステップ66では、プリンタドライバがプリンタ通信部によって、依頼先のプリンタから受け取った検索に成功したIPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
ステップ70では、制御装置が、プリンタのUIDを確認できないことと、それでも印刷を継続するか否かを問い合せるメッセージを表示装置の画面に表示し、ステップ72へ進み、上述の処理を実行する。
In step 75, the printer driver determines whether or not the current IP address of the printing destination printer has been successfully searched based on the return information of the search result from the printer that requested the search. If the search is unsuccessful), the process returns to step 73 to inquire again whether or not the user is requested to perform the search.
In step 66, the printer driver executes print processing by sending print data to the print destination printer for printing based on the IP address received from the request destination printer by the printer communication unit. The process ends.
In step 70, the control device displays a message on the screen of the display device asking whether the printer UID cannot be confirmed and whether or not to continue printing, and proceeds to step 72 to execute the above-described processing.

なお、上記ステップ61の処理と上記ステップ62の処理の実行順を入れ替えてもよい。また、上記ステップ64の判断処理を、UIDの取得処理前に実行し、印刷先として指定されたプリンタのUIDが自装置内に記録されてないと判断した場合はUIDの取得処理を実施しないようにしてもよい。   Note that the execution order of the process of step 61 and the process of step 62 may be interchanged. The determination process in step 64 is executed before the UID acquisition process. If it is determined that the printer UID specified as the printing destination is not recorded in the own apparatus, the UID acquisition process is not performed. It may be.

このネットワーク印刷システムでは、印刷先のプリンタのIPアドレスが変化している場合には、ネットワーク内のプリンタに検索を依頼し、そのプリンタがネットワークセグメント内で所望のプリンタを検索するので、少ないネットワーク通信で所望のプリンタを発見して印刷させることができる。   In this network printing system, when the IP address of the printer at the printing destination has changed, the printer in the network is requested to search, and the printer searches for the desired printer in the network segment. With this, a desired printer can be found and printed.

(5)実施例5
実施例5のネットワーク印刷システムでは、上述のプリンタにおけるプリンタ検索処理として、ネットワークに対してマルチキャストで印刷先のプリンタのIPアドレスを検索する場合の構成と処理について説明する。
そこで、実施例5では、プリンタ6〜9の制御部が、ネットワーク上の全ての装置にマルチキャスト(ローカルネットワークセグメントの全ての装置のIPアドレスにIPマルチキャスト)で問い合わせて、上記ネットワークから上記指定されたUIDを持つプリンタを検索するプリンタ検索手段の機能を果たす。
(5) Example 5
In the network printing system according to the fifth embodiment, the configuration and processing in the case of searching for the IP address of the printer of the printing destination by multicast to the network will be described as the printer searching processing in the printer described above.
Therefore, in the fifth embodiment, the control units of the printers 6 to 9 inquire all the devices on the network by multicast (IP multicast to the IP addresses of all the devices in the local network segment) and specify the above from the network. It functions as a printer search means for searching for a printer having a UID.

上述の処理において、プリンタ7側では、クライアントPC1から印刷先のプリンタ6のIPアドレスの検索依頼があったとき、rfc2908に規定されているように、ネットワークに対してIPマルチキャストを使ってプリンタ6を検索することが可能である。
次に、プリンタ7がプリンタ6の現在のIPアドレスを検索してクライアントPC1へ報告する処理を説明し、その他の処理は上述と同じなのでその説明を省略する。また、このプリンタ検索処理を含む印刷時の処理は、プリンタ6,8,9を含む他のプリンタでも同じなので、その説明は省略する。
In the above-described processing, when the printer 7 requests the IP address of the printer 6 to be printed from the client PC 1, the printer 6 is connected to the network using IP multicast as defined in rfc 2908. It is possible to search.
Next, the process in which the printer 7 retrieves the current IP address of the printer 6 and reports it to the client PC 1 will be described. The other processes are the same as described above, and the description thereof will be omitted. Further, the printing process including the printer search process is the same for the other printers including the printers 6, 8, and 9, and a description thereof will be omitted.

図8は、図1に示すネットワーク印刷システムのプリンタ7における実施例5に係るプリンタ検索処理を示すフローチャート図である。
プリンタ7の制御部は、ステップ81でネットワークへIPマルチキャストでUID問合せコマンドを、自プリンタが所属している第1ネットワーク内に送信し、回答を待つ。
ステップ82で予め決められた返信待ち時間が終了したか否かを判断し、返信待ち時間が終了してタイムアウトした場合、ステップ87で検索失敗と判定し、ステップ86で検索依頼元のクライアントPCへ検索結果として失敗メッセージを送信し、この処理を終了する。
FIG. 8 is a flowchart showing printer search processing according to the fifth embodiment in the printer 7 of the network printing system shown in FIG.
In step 81, the control unit of the printer 7 transmits a UID inquiry command to the network by IP multicast in the first network to which the printer belongs, and waits for a reply.
In step 82, it is determined whether or not the predetermined reply waiting time has ended. If the reply waiting time has ended and timed out, it is determined in step 87 that the search has failed, and in step 86 the search request source client PC is reached. A failure message is transmitted as a search result, and this process ends.

一方、ステップ82の判断で返信待ち時間が終了する前に、ステップ83でUID問い合わせコマンドに対する返信を受信してUIDを取得すると、ステップ84で今回取得したUIDとクライアントPCから指定されたUIDとが一致するか否かを判断し、一致しなければ、ステップ82へ戻って上述の処理を繰り返し、一致したら、ステップ85で検索成功と判定し、ステップ86で検索結果として今回取得したUIDとクライアントPCから指定されたUIDとが一致したプリンタから取得したIPアドレスをクライアントPC(図中「PC」と略して記す)に返送し、この処理を終了する。   On the other hand, if the reply to the UID inquiry command is received and the UID is acquired in step 83 before the reply waiting time ends in the determination of step 82, the UID acquired this time in step 84 and the UID specified from the client PC are obtained. It is determined whether or not they match. If they do not match, the process returns to step 82 and the above-described processing is repeated. The IP address acquired from the printer whose ID matches with the UID is returned to the client PC (abbreviated as “PC” in the figure), and the process is terminated.

クライアントPC1は、プリンタ7から検索結果のIPアドレスを受け取ると、そのIPアドレスのプリンタからUIDを取得して、所望のプリンタのUIDと一致することを確認し、一致する場合は、そのプリンタ6へ印刷データを送信して印刷させる。
プリンタ7側での検索が失敗、プリンタ7から返信されたUIDが所望のUIDとは異なっていた場合は、印刷をキャンセルする。
When the client PC 1 receives the IP address of the search result from the printer 7, the client PC 1 acquires the UID from the printer of the IP address, confirms that it matches the UID of the desired printer, and if it matches, to the printer 6. Send print data to print.
If the search on the printer 7 side fails and the UID returned from the printer 7 is different from the desired UID, printing is canceled.

このネットワーク印刷システムでは、印刷先のプリンタのIPアドレスが変化している場合には、ネットワーク内のプリンタに検索を依頼し、そのプリンタがネットワークセグメント内でIPマルチキャストを用いて所望のプリンタを検索するので、少ないネットワーク通信で所望のプリンタを発見して印刷させることができる。   In this network printing system, when the IP address of the printer of the printing destination has changed, the printer in the network is requested to search, and the printer searches for a desired printer using IP multicast in the network segment. Therefore, a desired printer can be found and printed with less network communication.

(6)実施例6
実施例6のネットワーク印刷システムでは、上述のプリンタにおけるプリンタ検索処理として、DDNSサーバ4に問い合わせて印刷先のプリンタのIPアドレスを検索する場合の構成と処理について説明する。
そこで、実施例6では、プリンタ6〜9の制御部が、クライアントPC1,2から指定されたホスト名のプリンタを検索するように依頼されたとき、DDNSサーバ4に上記指定されたホスト名に関連付けられているIPアドレスを問い合わせて取得することにより、上記ネットワークから上記指定されたホスト名のプリンタを検索するプリンタ検索手段の機能を果たす。
(6) Example 6
In the network printing system according to the sixth embodiment, as the printer search process in the above-described printer, a configuration and process in the case where the DDNS server 4 is inquired to search for the IP address of the printer to be printed will be described.
Therefore, in the sixth embodiment, when the control units of the printers 6 to 9 are requested to search for a printer having the specified host name from the client PCs 1 and 2, the DDNS server 4 associates the printer with the specified host name. By inquiring and obtaining the IP address that has been specified, it functions as a printer search means for searching for a printer with the specified host name from the network.

次に、プリンタ7がDDNSサーバ4に問い合わせてプリンタ6の現在のIPアドレスを検索してクライアントPC1へ報告する処理を説明し、その他の処理は上述と同じなのでその説明を省略する。また、このプリンタ検索処理を含む印刷時の処理は、プリンタ6,8,9を含む他のプリンタでも同じなので、その説明は省略する。
図9は、実施例6のプリンタ7におけるプリンタ検索処理を示すフローチャート図である。
プリンタ7の制御部は、DDNSサーバ4を用いたプリンタ検索処理を次のように行う。まず、ステップ91で、DDNSサーバにプリンタのホスト名に対応するIPアドレスを問い合わせ、ステップ92へ進む。
Next, a process in which the printer 7 makes an inquiry to the DDNS server 4 to search for the current IP address of the printer 6 and reports it to the client PC 1 will be described. Since the other processes are the same as described above, a description thereof will be omitted. Further, the printing process including the printer search process is the same for the other printers including the printers 6, 8, and 9, and a description thereof will be omitted.
FIG. 9 is a flowchart illustrating printer search processing in the printer 7 according to the sixth embodiment.
The control unit of the printer 7 performs printer search processing using the DDNS server 4 as follows. First, in step 91, the DDNS server is inquired of the IP address corresponding to the printer host name, and the process proceeds to step 92.

ステップ92では、DDNSサーバからのIPアドレスの取得に成功したか否かを判断し、成功したら、ステップ93へ進み、成功しなければ、ステップ98へ進む。
ステップ93では、取得したIPアドレスにプリンタのUIDを問い合わせ、ステップ94へ進む。
ステップ94では、UID取得が成功したか否かを判断し、UID取得が成功したと判断したらステップ95へ進み、UID取得に成功しなかった(UID取得に失敗)と判断したら、ステップ98へ進む。
ステップ95では、今回取得したUIDとクライアントPCから指定されたUIDとが一致するか否かを判断し、一致すれば、ステップ96へ進み、一致しなければ、ステップ98へ進む。
In step 92, it is determined whether or not the acquisition of the IP address from the DDNS server is successful. If successful, the process proceeds to step 93. If not successful, the process proceeds to step 98.
In step 93, the printer UID is inquired of the acquired IP address, and the process proceeds to step 94.
In step 94, it is determined whether or not the UID acquisition is successful. If it is determined that the UID acquisition is successful, the process proceeds to step 95. If it is determined that the UID acquisition is not successful (the UID acquisition is unsuccessful), the process proceeds to step 98. .
In step 95, it is determined whether or not the UID acquired this time matches the UID specified from the client PC. If they match, the process proceeds to step 96, and if they do not match, the process proceeds to step 98.

ステップ96では、検索成功と判断し、ステップ97で検索結果として今回取得したUIDとクライアントPCから指定されたUIDとが一致したプリンタから取得したIPアドレスと共に検索成功の情報をクライアントPCに返送し、この処理を終了する。
クライアントPC1はこのIPアドレスへ印刷データを送信して印刷をさせる。
ステップ98では、プリンタドライバが検索失敗と判断し、ステップ97で検索結果として検索失敗の情報をクライアントPC(図中「PC」と略して記す)に返送し、この処理を終了する。
このようにして、DDNSサーバ4にプリンタ6のホスト名でそのIPアドレスを問い合わせるコマンドを送り、その返答からプリンタ6のIPアドレスを入手することができる。
In step 96, it is determined that the search is successful, and the search success information is returned to the client PC together with the IP address acquired from the printer in which the UID acquired this time as the search result in step 97 and the UID specified from the client PC match. This process ends.
The client PC 1 transmits print data to this IP address to cause printing.
In step 98, the printer driver determines that the search has failed, and in step 97, the search failure information is returned to the client PC (abbreviated as “PC” in the figure) as the search result, and this process is terminated.
In this way, a command for inquiring the IP address of the host name of the printer 6 can be sent to the DDNS server 4 and the IP address of the printer 6 can be obtained from the response.

そして、そのIPアドレスに対して、UID問い合わせ命令を送り、それで取得したUIDが、クライアントPCから指定されたUIDと同じであれば、検索に成功したことになり、UIDが異なれば、検索に失敗したことになる。
このネットワーク印刷システムでは、印刷先のプリンタのIPアドレスが変化しても、クライアントPCから依頼されたプリンタが、DDNSサーバに問い合わせることにより、印刷先のプリンタの現在のIPアドレスを見つけてクライアントPCへ知らせるので、少ないネットワーク通信で所望のプリンタを発見して印刷させることができる。
Then, a UID inquiry command is sent to the IP address, and if the obtained UID is the same as the UID specified from the client PC, the search is successful. If the UID is different, the search fails. It will be done.
In this network printing system, even if the IP address of the printer at the printing destination changes, the printer requested from the client PC makes an inquiry to the DDNS server to find the current IP address of the printer at the printing destination and send it to the client PC. Thus, a desired printer can be found and printed with less network communication.

(7)実施例7
実施例7のネットワーク印刷システムでは、クライアントPCが印刷時、印刷先のプリンタとして指定したプリンタのIPアドレスが変っているか否かを調べて、変っているときには、印刷先のプリンタとして保持しているIPアドレスが割り当てられているプリンタに、印刷先のプリンタへの印刷データの転送依頼と共に印刷データを送り、その依頼されたプリンタが印刷先のプリンタへ印刷データを転送して印刷させる場合の構成と処理について説明する。
(7) Example 7
In the network printing system of the seventh embodiment, when the client PC performs printing, it is checked whether the IP address of the printer designated as the printing destination printer has changed, and if it has changed, it is retained as the printing destination printer. Configuration in which print data is sent to a printer to which an IP address is assigned together with a print data transfer request to the print destination printer, and the requested printer transfers the print data to the print destination printer for printing. Processing will be described.

そこで、実施例7では、クライアントPC1,2のプリンタ通信部29とプリンタドライバ30が、ネットワーク上の印刷先に指定したプリンタのUIDとIPアドレスとを含むプリンタ情報を保持するプリンタ情報保持手段と、上記印刷先に指定したプリンタへ印刷データを送る際、上記保持されたIPアドレスのプリンタにUIDを問い合わせるUID問合手段と、その手段による問い合わせによって取得したUIDと上記保持されたUIDとが一致するか否かを判断する判断手段と、その手段によって一致しないと判断したとき、上記取得したUIDのプリンタに、上記ネットワーク上の上記保持されたUIDを持つプリンタ又は上記保持されたIPアドレスのプリンタへ上記印刷データを転送するように依頼して上記印刷データを送信する送信手段の機能を果たす。   Therefore, in the seventh embodiment, the printer communication unit 29 and the printer driver 30 of the client PCs 1 and 2 have printer information holding means for holding printer information including the printer UID and IP address designated as the printing destination on the network, When sending print data to the printer designated as the printing destination, the UID inquiry means for inquiring the UID to the printer of the held IP address, and the UID acquired by the inquiry by the means match the held UID. A determination unit for determining whether or not the two match each other, and the printer having the acquired UID on the network or the printer having the stored IP address is transferred to the printer having the acquired UID. Request to transfer the print data and send the print data. It performs the function of transmitting means for.

また、各プリンタ6〜9の制御部が、クライアントPC1,2から指定されたUIDを持つプリンタ、又はクライアントPC1,2から指定されたIPアドレスのプリンタへ印刷データを転送するように依頼されて印刷データを受信したとき、上記ネットワークから上記指定されたUIDを持つプリンタ又は上記指定されたIPアドレスのプリンタを検索するプリンタ検索手段と、その手段によって検索されたプリンタに、印刷を依頼して上記受信した印刷データを転送する転送手段の機能を果たす。   Further, the control unit of each of the printers 6 to 9 is requested to transfer the print data to the printer having the UID designated by the client PCs 1 and 2 or the printer having the designated IP address from the client PCs 1 and 2 for printing. When data is received, a printer search means for searching for a printer having the specified UID or the printer with the specified IP address from the network, and requesting the printer searched by the means to print and receiving the data It functions as a transfer means for transferring the print data.

さらに、上記プリンタ検索手段として、上記ネットワーク上の全ての装置のIPアドレス(ネットワークセグメントの全ての装置のIPアドレス)にそれぞれ問い合わせて、上記ネットワークから上記指定されたUIDを持つプリンタを検索する手段、または、上記ネットワーク上の全ての装置にマルチキャスト(ローカルネットワークセグメントの全ての装置のIPアドレスにIPマルチキャスト)で問い合わせて、上記ネットワークから上記指定されたUIDを持つプリンタを検索する手段の機能を果たす。   Further, as the printer search means, a means for inquiring each of the IP addresses of all devices on the network (IP addresses of all devices in the network segment) and searching for a printer having the specified UID from the network, Alternatively, it functions as a means for inquiring all devices on the network by multicast (IP multicast to the IP addresses of all devices in the local network segment) and searching for a printer having the specified UID from the network.

次に、クライアントPC1がプリンタ7に、プリンタ6を検索して印刷データを転送するように依頼すると共にその印刷データを送信し、プリンタ7がプリンタ6へ印刷データを転送して印刷させる場合の処理を説明する。
クライアントPC2を含むその他のクライアントPCがプリンタ6を含む他のプリンタで印刷する場合も同じ処理なので、その説明は省略する。また、プリンタ7におけるプリンタ検索と転送処理は、プリンタ6,8,9を含む他のプリンタでも同じなので、その説明は省略する。
Next, when the client PC 1 requests the printer 7 to search the printer 6 and transfer the print data, and transmits the print data, the printer 7 transfers the print data to the printer 6 for printing. Will be explained.
Since the same processing is performed when other client PCs including the client PC 2 perform printing with other printers including the printer 6, the description thereof is omitted. The printer search and transfer process in the printer 7 is the same for the other printers including the printers 6, 8, and 9, and a description thereof will be omitted.

図10は、実施例7のネットワーク印刷システムにおけるクライアントPC1の印刷時の処理を示すフローチャート図である。
クライアントPC1は、印刷先としてプリンタ6への印刷が指示されると、ステップ101で、プリンタドライバが、アプリケーションソフトウェアから印刷開始命令を受信し、アプリケーションソフトウェアから描画情報(描画命令)を受け取り、その描画情報を印刷先のプリンタが解釈可能な命令、すなわち印刷データに変換してスプーラに蓄積する。
FIG. 10 is a flowchart illustrating processing during printing of the client PC 1 in the network printing system according to the seventh embodiment.
When the client PC 1 is instructed to print to the printer 6 as a printing destination, in step 101, the printer driver receives a print start command from the application software, receives drawing information (drawing command) from the application software, and draws the drawing. The information is converted into a command that can be interpreted by the printer at the print destination, that is, print data, and stored in the spooler.

ステップ102で、プリンタドライバが、印刷データの蓄積がある程度できたとき、プリンタ通信部により、予め印刷先のプリンタの宛先情報として記憶しているIPアドレスに基づいて、そのプリンタに対してネットワーク上のUIDを問い合わせる。
すなわち、クライアントPC1は、自装置内に保持されているプリンタ6のIPアドレスに基づいてネットワーク上のそのIPアドレスに対してUIDを問い合わせる。
ここで、プリンタ6のIPアドレスが変っていなければ、上記UIDの問い合わせはプリンタ6に届くが、IPアドレスが変っていれば他のプリンタ又は装置に上記UIDの問い合わせが届くことになる。
したがって、プリンタ6のIPアドレスが変っていなければ、プリンタ6からのUIDが返信されてくるが、変っていれば、他のプリンタからのUIDが返信されてくる。
In step 102, when the printer driver has accumulated the print data to some extent, the printer communication unit is connected to the printer on the network based on the IP address stored in advance as the destination information of the printer of the print destination. Queries the UID.
That is, the client PC 1 inquires of the IP address on the network for the UID based on the IP address of the printer 6 held in its own apparatus.
If the IP address of the printer 6 has not changed, the UID inquiry reaches the printer 6, but if the IP address has changed, the UID inquiry reaches another printer or apparatus.
Therefore, if the IP address of the printer 6 has not changed, the UID from the printer 6 is returned, but if it has changed, the UID from another printer is returned.

また、プリンタの電源が入っていない場合やセキュリティ上の理由でネットワーク上の一部の通信が禁止されている場合などの原因により、このUID問い合わせが相手先に届かずに返信が得られないで失敗になる可能性がある。
そこで、ステップ103で、プリンタドライバが、UID取得が成功したか否かを判断し、UID取得が成功したと判断したらステップ104へ進み、UID取得に成功しなかった(UID取得に失敗)と判断したら、ステップ110へ進む。
Also, due to reasons such as when the printer is not turned on or when some communication on the network is prohibited for security reasons, this UID inquiry will not reach the other party and a reply will not be obtained. Possible failure.
Therefore, in step 103, the printer driver determines whether or not the UID acquisition has succeeded. If it is determined that the UID acquisition has been successful, the process proceeds to step 104, where it is determined that the UID acquisition has not succeeded (UID acquisition failed). Then, go to Step 110.

ステップ104では、プリンタドライバが、プリンタ情報を参照し、印刷先に指定したプリンタのUIDが記録して保持されているか否かを判断し、そのUIDが保持されていると判断したら、ステップ105へ進む。
ステップ105では、プリンタドライバが、今回取得したUIDと保持されているUIDが一致するか否かを判断し、一致する場合は、印刷先に指定したプリンタのIPアドレスに変更がないことが分かるので、ステップ106へ進む。
ステップ106では、プリンタドライバがプリンタ通信部によって、プリンタ情報に保持しているIPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 104, the printer driver refers to the printer information to determine whether or not the printer UID designated as the printing destination is recorded and held. If it is determined that the UID is held, the process proceeds to step 105. move on.
In step 105, the printer driver determines whether or not the currently acquired UID matches the held UID. If they match, it can be seen that there is no change in the IP address of the printer designated as the print destination. , Go to Step 106.
In step 106, the printer driver uses the printer communication unit to execute print processing for sending print data to the printer of the print destination based on the IP address held in the printer information, and this print processing is terminated. .

一方、ステップ104でUIDが保持されていないと判断したら、ステップ107へ進む。
ステップ107では、プリンタドライバが、プリンタ情報の印刷先に指定したプリンタのIPアドレスに今回取得したUIDを対応させて記録して保存し、ステップ108へ進む。
ステップ108では、プリンタドライバがプリンタ通信部によって、今回取得したUIDのプリンタからDDNSサーバのIPアドレスを取得して、プリンタ情報の今回取得したUIDのプリンタに対応させて保存し、ステップ109へ進む。
On the other hand, if it is determined in step 104 that the UID is not held, the process proceeds to step 107.
In step 107, the printer driver records and stores the UID acquired this time in correspondence with the IP address of the printer designated as the printer information printing destination, and proceeds to step 108.
In step 108, the printer driver acquires the IP address of the DDNS server from the printer with the UID acquired this time by the printer communication unit, stores it in correspondence with the printer with the UID acquired this time in the printer information, and proceeds to step 109.

ステップ109では、プリンタドライバがプリンタ通信部によって、今回取得したUIDのプリンタからホスト名を取得して、プリンタ情報の今回取得したUIDのプリンタに対応させて保存し、ステップ106へ進む。
ステップ106では、プリンタドライバがプリンタ通信部によって、上記IPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 109, the printer driver acquires the host name from the printer with the UID acquired this time by the printer communication unit, stores it in correspondence with the printer with the UID acquired this time in the printer information, and proceeds to step 106.
In step 106, the printer driver uses the printer communication unit to execute print processing for transmitting print data to the printer of the print destination based on the IP address, and printing is terminated.

また、ステップ105で今回取得したUIDと保持しているUIDが一致しないと判断したら、印刷先のプリンタのIPアドレスが以前とは変わっているので、ステップ111へ進む。
ステップ111では、制御装置が、「今回印刷先に指定されたプリンタの宛先情報が以前とは異なっているが、そのまま異なるプリンタで強制印刷するか、それとも転送印刷を依頼するか」の指示を促すメッセージを表示装置の画面に表示し、ステップ112へ進む。
If it is determined in step 105 that the currently acquired UID does not match the held UID, the IP address of the printer at the print destination has changed from the previous one, and the process proceeds to step 111.
In step 111, the control device prompts an instruction “whether the destination information of the printer designated as the print destination this time is different from the previous one, but forcibly print with a different printer as it is or request transfer printing”. The message is displayed on the screen of the display device, and the process proceeds to step 112.

ステップ112では、プリンタドライバが、ユーザが強制印刷を指示したか否かを判断し、ユーザによって強制印刷が指示されたと判断したら、ステップ106へ進み、指示されなかったと判断したら、ステップ113へ進む。
ステップ106では、プリンタドライバがプリンタ通信部によって、上記IPアドレスに基づいて、印刷先のプリンタへ印刷データを送信して印刷させる印刷処理を実行し、この印刷処理を終了する。
In step 112, the printer driver determines whether or not the user has instructed forced printing. If it is determined that the user has instructed forced printing, the process proceeds to step 106, and if it has not been instructed, the process proceeds to step 113.
In step 106, the printer driver uses the printer communication unit to execute print processing for transmitting print data to the printer of the print destination based on the IP address, and printing is terminated.

一方、ステップ113では、プリンタドライバが、入力装置からユーザによる転送印刷依頼指示が入力されたか否かを判断し、ユーザによって転送印刷依頼しないとの選択入力があった場合、印刷は実施せずに印刷データを破棄して印刷処理を終了し、転送印刷依頼の指示入力があった場合、ステップ114へ進む。
ステップ114では、プリンタドライバがプリンタ通信部によって、UIDの取得に成功したプリンタへ転送印刷依頼とその印刷データを送信する転送印刷依頼処理を実行し、この処理を終了する。
ステップ110では、制御装置が、プリンタのUIDを確認できないことと、それでも印刷を継続するか否かを問い合せるメッセージを表示装置の画面に表示し、ステップ112へ進み、上述の処理を実行する。
On the other hand, in step 113, the printer driver determines whether or not a transfer print request instruction by the user has been input from the input device. If there is a selection input not to request transfer print by the user, printing is not performed. If the print data is discarded and the print process is terminated, and if there is a transfer print request instruction input, the routine proceeds to step 114.
In step 114, the printer driver executes a transfer print request process for transmitting the transfer print request and its print data to the printer that has successfully obtained the UID by the printer communication unit, and the process ends.
In step 110, the control device displays a message on the screen of the display device asking whether the printer UID cannot be confirmed and whether or not to continue printing, and proceeds to step 112 to execute the above-described processing.

なお、上記ステップ101の処理と上記ステップ102の処理の実行順を入れ替えてもよい。また、上記ステップ104の判断処理を、UIDの取得処理前に実行し、印刷先として指定されたプリンタのUIDが自装置内に記録されてないと判断した場合はUIDの取得処理を実施しないようにしてもよい。   Note that the execution order of the process of step 101 and the process of step 102 may be interchanged. Further, the determination process in step 104 is executed before the UID acquisition process. If it is determined that the printer UID specified as the print destination is not recorded in the own apparatus, the UID acquisition process is not performed. It may be.

図11は、クライアントPC1における転送印刷依頼処理を示すフローチャート図である。
同図の(a)は、転送先のプリンタのUIDを指定して転送印刷を依頼する場合の処理を示しており、クライアントPC1のプリンタドライバ30は、先頭にターゲットプリンタ(印刷先のプリンタ)のUIDを付加した印刷データを作成し、プリンタ通信部29によって、その印刷データを、転送印刷依頼先のプリンタ(UIDの取得に成功したプリンタ)へ送信する。
FIG. 11 is a flowchart showing the transfer print request process in the client PC 1.
(A) of the figure shows the processing when the transfer printer is requested by designating the UID of the transfer destination printer. The printer driver 30 of the client PC 1 starts with the target printer (print destination printer). Print data to which a UID is added is created, and the printer communication unit 29 transmits the print data to a transfer print request destination printer (a printer that has successfully obtained a UID).

また、同図の(b)は、転送先のプリンタのIPアドレスを指定して転送印刷を依頼する場合の処理を示しており、クライアントPC1のプリンタドライバ30は、先頭にターゲットプリンタ(印刷先のプリンタ)のIPアドレスを付加した印刷データを作成し、プリンタ通信部29によって、その印刷データを、転送印刷依頼先のプリンタ(UIDの取得に成功したプリンタ)へ送信する。
上述の処理において、クライアントPC1が、転送印刷依頼先のプリンタ7へ、ターゲットプリンタのIPアドレスを指定するコマンドを送ってから印刷データを送信してもよいし、あるいはターゲットプリンタのUIDを指定するコマンドを送ってから印刷データを送信してもよい。
Further, (b) in the figure shows a process in the case of requesting transfer printing by specifying the IP address of the transfer destination printer. The printer driver 30 of the client PC 1 starts with the target printer (print destination). The printer communication unit 29 creates the print data to which the IP address of the printer) is added, and transmits the print data to the transfer print request destination printer (the printer that has successfully obtained the UID).
In the above-described processing, the client PC 1 may send print data after sending a command for designating the IP address of the target printer to the printer 7 as the transfer print request destination, or a command for designating the UID of the target printer The print data may be sent after sending.

図12は、実施例7のプリンタ7における転送印刷処理を示すフローチャート図である。
プリンタ7の制御部は、ステップ121でクライアントPCから印刷データを受信すると、その印刷データの先頭を参照し、ステップ122へ進む。
ステップ122では、参照した先頭のデータがIPアドレスかUIDかを判断し、UIDなら、ステップ123へ進み、IPアドレスなら、ステップ127へ進む。
ステップ123では、クライアントPCから指定されたUIDに該当するプリンタのIPアドレスを検索し、ステップ124へ進む。
このプリンタのIPアドレスの検索は、上述したいずれかのプリンタ検索処理と同様に行うと良いので、その詳細な説明を省略する。
FIG. 12 is a flowchart illustrating transfer printing processing in the printer 7 according to the seventh embodiment.
When the control unit of the printer 7 receives print data from the client PC in step 121, the control unit refers to the head of the print data and proceeds to step 122.
In step 122, it is determined whether the head data referred to is an IP address or a UID. If it is a UID, the process proceeds to step 123. If it is an IP address, the process proceeds to step 127.
In step 123, the printer IP address corresponding to the UID designated by the client PC is searched, and the process proceeds to step 124.
The search for the IP address of the printer may be performed in the same manner as any of the printer search processes described above, and thus detailed description thereof is omitted.

ステップ124では、印刷先のプリンタのIPアドレスの検索が成功したか否かを判断し、成功しなければステップ126へ進み、成功したらステップ125へ進む。
ステップ125では、検索したIPアドレスのプリンタへ、クライアントPCから受信した印刷データを転送して印刷を依頼し、ステップ126へ進む。
ステップ127では、クライアントPCから指定されたIPアドレスのプリンタへ、クライアントPCから受信した印刷データを転送して印刷を依頼し、ステップ126へ進む。
ステップ126では、クライアントPCへ印刷が成功したか失敗したかの結果報告を送信し、この処理を終了する。
In step 124, it is determined whether or not the search for the IP address of the printer of the printing destination has succeeded. If not successful, the process proceeds to step 126. If successful, the process proceeds to step 125.
In step 125, the print data received from the client PC is transferred to the printer with the searched IP address to request printing, and the process proceeds to step 126.
In step 127, the print data received from the client PC is transferred to the printer having the designated IP address from the client PC to request printing, and the process proceeds to step 126.
In step 126, a result report indicating whether printing has succeeded or failed is transmitted to the client PC, and this processing is terminated.

このネットワーク印刷システムでは、印刷先のプリンタのIPアドレスが変化しても、他のプリンタに所望のプリンタで印刷するように転送印刷を依頼できるので、ファイアウォール等のために直接通信できないような場合でもクライアントPCが所望するプリンタで印刷することができる。   In this network printing system, even if the IP address of the printer at the print destination changes, transfer printing can be requested to print to the other printer with the desired printer. The client PC can print with a desired printer.

(8)実施例8
実施例8のネットワーク印刷システムでは、ネットワーク上の各プリンタが起動時に自装置に割り当てられたIPアドレスが前回と異なるか否かをチェックし、そのチェック結果に基づいて自装置の以後の処理を決定する場合の構成と処理について説明する。
(8) Example 8
In the network printing system according to the eighth embodiment, each printer on the network checks whether or not the IP address assigned to the own device is different from the previous time when starting up, and determines the subsequent processing of the own device based on the check result. The configuration and processing in this case will be described.

そこで、実施例8では、プリンタ6〜9は、ネットワーク上でクライアントPC1,2から送られた印刷データを印刷する印刷装置であって、その各制御部が、前回起動したときに使用したIPアドレスを保持する手段と、起動時に自装置のIPアドレスをDHCP、AutoIP等で取得する手段と、ネットワーク上のプリンタのIPアドレスとホスト名とを関連付けて記憶するDDNSサーバによるDDNSが有効か否かを判断する手段と、上記取得したIPアドレスが、上記保持しているIPアドレスと異なり、且つ上記DDNSが有効でないと判断された場合、それ以降、外部からの印刷データを全て受信拒否する手段の機能を果たす。   Therefore, in the eighth embodiment, the printers 6 to 9 are printing apparatuses that print the print data sent from the client PCs 1 and 2 on the network, and each control unit uses the IP address that was used when it was last activated. Whether or not DDNS by the DDNS server that stores the IP address and host name of the printer on the network in association with each other is valid. A function of means for judging and means for rejecting reception of all external print data after that when the acquired IP address is different from the held IP address and the DDNS is judged to be invalid Fulfill.

次に、各プリンタ6〜9が、それぞれ起動時に行う動作設定の処理について説明する。
図13は、実施例8のプリンタ6〜9の起動時の処理を示すフローチャート図である。
プリンタ6〜9の制御部は、それぞれの起動時、ステップ131で自プリンタに割り当てられたIPアドレスが固定か否かを判断し、固定ならステップ138へ進み、固定でなければステップ132へ進む。
ステップ138では、固定である場合には、不用意にIPアドレスが変更されてしまう現象が発生しないため、通常の起動処理の動作を継続して実施し、この処理を終了する。
Next, an operation setting process performed by each of the printers 6 to 9 at startup will be described.
FIG. 13 is a flowchart illustrating processing when the printers 6 to 9 according to the eighth embodiment are activated.
The control units of the printers 6 to 9 determine whether or not the IP address assigned to the printer in step 131 is fixed at the time of activation. If the IP address is fixed, the control unit proceeds to step 138. If not, the control unit proceeds to step 132.
In step 138, if it is fixed, the phenomenon that the IP address is inadvertently changed does not occur. Therefore, the normal startup process is continued, and this process ends.

一方、ステップ132では、IPアドレスが固定ではなければ、自装置のIPアドレスをDHCP又はAutoIPで動的に取得し、ステップ133へ進む。
ステップ133では、前回使用したIPアドレスを自プリンタ内に記録しているか否かを判断し、記録していなければステップ137へ進み、記録していればステップ134へ進む。
ステップ137では、今回取得したIPアドレスを自プリンタ内に記憶して保持し、ステップ138へ進む。
On the other hand, in step 132, if the IP address is not fixed, the IP address of the own apparatus is dynamically acquired by DHCP or AutoIP, and the process proceeds to step 133.
In step 133, it is determined whether or not the IP address used last time is recorded in the printer. If not, the process proceeds to step 137. If it is recorded, the process proceeds to step 134.
In step 137, the IP address acquired this time is stored and held in the own printer, and the process proceeds to step 138.

ステップ134では、今回取得したIPアドレスは、前回使用したIPアドレス(自プリンタ内に保持しているIPアドレス)と同じか否かを判断し、同じなら、ステップ138へ進み、異なるなら、ステップ135へ進む。
ステップ135では、DDNSサーバによるDDNSが有効か否かを判断し、有効なら、ステップ138へ進み、無効なら、ステップ136へ進む。
ステップ136では、自プリンタを印刷データ拒否モードに移行させ、これ以降、外部からの印刷データを全て受信拒否して起動し、この処理を終了する。
そして、クライアントPC又は他のプリンタでは、印刷データの受信が拒否されると、そのプリンタでの印刷を中止する。
In step 134, it is determined whether or not the IP address acquired this time is the same as the IP address used last time (IP address held in the own printer). If the IP address is the same, the process proceeds to step 138. Proceed to
In step 135, it is determined whether or not DDNS by the DDNS server is valid. If valid, the process proceeds to step 138. If invalid, the process proceeds to step 136.
In step 136, the printer is shifted to the print data rejection mode, and thereafter, all print data from outside is rejected and activated, and this process is terminated.
When the client PC or another printer refuses to receive the print data, printing on the printer is stopped.

このネットワーク印刷システムでは、プリンタ側で、ユーザの想定外のIPアドレスに自動設定されてしまって、IPアドレスが変化し、かつ、ユーザがその変化を外部から知る方法がない場合には、起動時に自動的に印刷データ受信拒否モードにし、外部からの印刷依頼を受けないようにするので、ユーザが所望するプリンタとは異なるプリンタで誤って印刷されることを防ぐことができる。
なお、ここでは、上述の処理をプリンタが起動したときに行うようにしたが、ネットワーク設定が変更された場合に実施するようにしてもよい。
In this network printing system, when the printer side automatically sets an IP address that is not expected by the user, the IP address changes and there is no way for the user to know the change from the outside, Since the print data reception refusal mode is automatically set and no external print request is received, it is possible to prevent erroneous printing from a printer different from the printer desired by the user.
Here, the above-described processing is performed when the printer is activated, but may be performed when the network setting is changed.

(9)実施例9
実施例9のネットワーク印刷システムでは、ネットワーク上の各プリンタが起動時に自装置に割り当てられたIPアドレスが前回と異なるか否かをチェックし、そのチェック結果に基づいて自装置の以後の処理を決定する場合の他の構成と処理について説明する。
上述のように、プリンタ側の処理において、起動時に動的にIPアドレスを取得して、IPアドレスが前回と異なり、DDNSが有効になっていない場合に、まったく印刷しないのではなく、印刷データの1ページ目のみを印刷するようにしてもよい。
(9) Example 9
In the network printing system according to the ninth embodiment, each printer on the network checks whether or not the IP address assigned to the own device is different from the previous time when the printer is started, and determines subsequent processing of the own device based on the check result. Another configuration and processing in the case of performing will be described.
As described above, in the process on the printer side, when the IP address is dynamically acquired at the time of startup and the IP address is different from the previous time and DDNS is not enabled, the print data is not printed at all. Only the first page may be printed.

そこで、実施例9では、プリンタ6〜9は、ネットワーク上でクライアントPC1,2から送られた印刷データを印刷する印刷装置であって、その各制御部が、前回起動したときに使用したIPアドレスを保持する手段と、起動時に自装置のIPアドレスをDHCP、AutoIP等で取得する手段と、ネットワーク上のプリンタのIPアドレスとホスト名とを関連付けて記憶するDDNSサーバによるDDNSが有効か否かを判断する手段と、上記取得したIPアドレスが、上記保持しているIPアドレスと異なり、且つ上記DDNSが有効でないと判断された場合、それ以降、外部から印刷データを受け付けたとき、その印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージ(例えば「アドレスが以前と違います」)を透かし印刷する警告透かし印刷手段の機能を果たす。   Therefore, in the ninth embodiment, the printers 6 to 9 are printing apparatuses that print the print data sent from the client PCs 1 and 2 on the network, and each control unit uses the IP address that was used when it was last activated. Whether or not DDNS by the DDNS server that stores the IP address and host name of the printer on the network in association with each other is valid. If it is determined that the acquired IP address is different from the held IP address and the DDNS is not valid, when the print data is received from the outside, the print data Print only the first page and then a warning message on that page (for example, “The address is different from the previous one. Performs the function of a warning watermark printing means that watermark printing ").

次に、各プリンタ6〜9が、それぞれ起動時に行う動作設定の処理について説明する。
図14は、実施例9のプリンタ6〜9の起動時の処理を示すフローチャート図である。
プリンタ6〜9の制御部は、それぞれの起動時、ステップ141で自プリンタに割り当てられたIPアドレスが固定か否かを判断し、固定ならステップ148へ進み、固定でなければステップ142へ進む。
ステップ148では、固定である場合には、不用意にIPアドレスが変更されてしまう現象が発生しないため、通常の起動処理の動作を継続して実施し、この処理を終了する。
Next, an operation setting process performed by each of the printers 6 to 9 at startup will be described.
FIG. 14 is a flowchart illustrating processing when the printers 6 to 9 according to the ninth embodiment are activated.
The control unit of each of the printers 6 to 9 determines whether or not the IP address assigned to the printer in step 141 is fixed at the time of activation. If the IP address is fixed, the control unit proceeds to step 148. If not, the control unit proceeds to step 142.
In step 148, if it is fixed, the phenomenon that the IP address is inadvertently changed does not occur. Therefore, the normal startup process is continued, and this process ends.

一方、ステップ142では、IPアドレスが固定ではなければ、自装置のIPアドレスをDHCP又はAutoIPで動的に取得し、ステップ143へ進む。
ステップ143では、前回使用したIPアドレスを自プリンタ内に記録しているか否かを判断し、記録していなければステップ147へ進み、記録していればステップ144へ進む。
ステップ147では、今回取得したIPアドレスを自プリンタ内に記憶して保持し、ステップ148へ進む。
On the other hand, in step 142, if the IP address is not fixed, the IP address of the own apparatus is dynamically acquired by DHCP or AutoIP, and the process proceeds to step 143.
In step 143, it is determined whether or not the IP address used last time is recorded in the printer. If not, the process proceeds to step 147. If recorded, the process proceeds to step 144.
In step 147, the IP address acquired this time is stored and held in the own printer, and the process proceeds to step 148.

ステップ144では、今回取得したIPアドレスは、前回使用したIPアドレス(自プリンタ内に保持しているIPアドレス)と同じか否かを判断し、同じなら、ステップ148へ進み、異なるなら、ステップ145へ進む。
ステップ145では、DDNSサーバによるDDNSが有効か否かを判断し、有効なら、ステップ148へ進み、無効なら、ステップ146へ進む。
ステップ146では、自プリンタを警告透かし印刷モードに移行させ、この処理を終了する。
In step 144, it is determined whether or not the IP address acquired this time is the same as the IP address used last time (the IP address held in the own printer). If the IP address is the same, the process proceeds to step 148. Proceed to
In step 145, it is determined whether or not DDNS by the DDNS server is valid. If valid, the process proceeds to step 148, and if invalid, the process proceeds to step 146.
In step 146, the printer is shifted to the warning watermark printing mode, and this process is terminated.

プリンタ6〜9は、それぞれの制御部が、上記警告透かし印刷モードを設定すると、それ以降、外部から印刷データを受け付けたとき、その印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージ(例えば「アドレスが以前と違います」)を透かし印刷する。   When the respective control units set the warning watermark printing mode, the printers 6 to 9 print only the first page of the print data when the print data is received from the outside thereafter. Print a warning message (for example, “address is different from before”).

図15は、図1に示すプリンタ6〜9における警告透かし印刷処理を示すフローチャート図である。
プリンタ6〜9の制御部は、自プリンタが警告透かし印刷モードに設定されているとき、クライアントPC1,2又は他のプリンタから印刷データを受信すると、ステップ151でメモリの描画エリアに印刷データの1ページ目の画像を描画(つまり、受け取った印刷データの最初のページのみを描画メモリに形成)し、ステップ152へ進む。
FIG. 15 is a flowchart showing warning watermark printing processing in the printers 6 to 9 shown in FIG.
When the control unit of the printers 6 to 9 receives print data from the client PCs 1 and 2 or another printer when the printer is set to the warning watermark printing mode, in step 151, the control unit 1 sets the print data 1 in the memory drawing area. The image of the page is drawn (that is, only the first page of the received print data is formed in the drawing memory), and the process proceeds to step 152.

ステップ152では、1ページ目の画像を描画した描画エリア内に所定のメッセージ、例えば、「IPアドレスが変わっています。このプリンタが適切か否かを、ご確認ください」という趣旨のメッセージを透かし画像として重ね合わせるように描画し、ステップ153へ進む。
ステップ153では、描画エリアの画像を用紙を含む記録メディアに印刷し、印刷データの残りのページのデータは破棄し、この処理を終了する。
そして、クライアントPC又は他のプリンタでは、印刷データの受信が拒否されると、そのプリンタでの印刷を中止する。
In step 152, a predetermined message in the drawing area in which the image of the first page is drawn, for example, a message indicating that “the IP address has been changed. Check if this printer is appropriate” is displayed as a watermark image. As shown in FIG.
In step 153, the image in the drawing area is printed on a recording medium including paper, the remaining page data of the print data is discarded, and the process is terminated.
When the client PC or another printer refuses to receive the print data, printing on the printer is stopped.

このネットワーク印刷システムでは、プリンタ側で、ユーザの想定外のIPアドレスに自動設定されてしまって、IPアドレスが変化し、かつ、ユーザがその変化を外部から知る方法がない場合には、起動時に自動的に警告透かし印刷モードにし、それ以降は、外部から印刷データを受け取ると、その1ページだけを印刷し、かつそのページ内に警告メッセージを透かし印刷するので、ユーザに対して誤った印刷がネットワーク上のどのプリンタで実際に印刷されたかを知らせることができ、かつ、印刷データ全体を誤ったプリンタで印刷することを防ぐことができる。
なお、ここでは、上述の処理をプリンタが起動したときに行うようにしたが、ネットワーク設定が変更された場合に実施するようにしてもよい。
In this network printing system, when the printer side automatically sets an IP address that is not expected by the user, the IP address changes and there is no way for the user to know the change from the outside, The warning watermark printing mode is automatically set. After that, when print data is received from the outside, only one page is printed, and a warning message is watermark-printed in the page, so that an erroneous printing can be performed for the user. It is possible to notify which printer on the network has actually printed, and to prevent the entire print data from being printed by the wrong printer.
Here, the above-described processing is performed when the printer is activated, but may be performed when the network setting is changed.

(10)実施例10
実施例10のネットワーク印刷システムでは、上述の各プリンタの動作において、警告透かし印刷時に1ページの画像を所定の倍率に縮小して印刷する場合の構成と処理について説明する。
そこで、実施例10では、プリンタ6〜9の制御部は、上記最初の1ページを予め指定された倍率に縮小して印刷する警告透かし縮小印刷手段の機能も果たす。
(10) Example 10
In the network printing system according to the tenth embodiment, the configuration and processing in the case of printing each of the above-described printers by reducing the image of one page to a predetermined magnification during warning watermark printing will be described.
Therefore, in the tenth embodiment, the control units of the printers 6 to 9 also function as a warning watermark reduction printing unit that prints the first page by reducing it to a predetermined magnification.

次に、各プリンタ6〜9が、それぞれ起動時に行う動作設定の処理について説明する。
この実施例10のプリンタ6〜9では、図14とほぼ同じ処理を実行するが、そのステップ146において、警告透かし縮小印刷モードに移行させる処理を行う点が異なる。
Next, an operation setting process performed by each of the printers 6 to 9 at startup will be described.
The printers 6 to 9 of the tenth embodiment execute almost the same processing as that in FIG. 14 except that in step 146, processing for shifting to the warning watermark reduction printing mode is performed.

図16は、図1に示すプリンタ6〜9における警告透かし縮小印刷処理を示すフローチャート図である。
プリンタ6〜9の制御部は、自プリンタが警告透かし印刷モードに設定されているとき、クライアントPC1,2又は他のプリンタから印刷データを受信すると、ステップ161でメモリの描画エリアに印刷データの1ページ目の画像を所定の倍率に縮小して描画(つまり、受け取った印刷データの最初のページのみを縮小して描画メモリに形成)し、ステップ162へ進む。
FIG. 16 is a flowchart showing warning watermark reduction printing processing in the printers 6 to 9 shown in FIG.
When the control unit of the printers 6 to 9 receives print data from the client PCs 1 and 2 or another printer when the printer is set to the warning watermark printing mode, in step 161, the control unit 1 of the print data is stored in the drawing area of the memory. The image of the page is reduced to a predetermined magnification and drawn (that is, only the first page of the received print data is reduced and formed in the drawing memory), and the process proceeds to step 162.

ステップ162では、1ページ目の画像を描画した描画エリア内に所定のメッセージ、例えば、「IPアドレスが変わっています。このプリンタが適切か否かを、ご確認ください」という趣旨のメッセージを透かし画像として重ね合わせるように描画し、ステップ163へ進む。
このように、印刷データの最初のページのみを描画メモリに形成する際に、イメージサイズを通常の文字が読めないように画像を縮小する。それ以降の警告は通常と同じ等倍で印刷する。
In step 162, a predetermined message in the drawing area in which the image of the first page is drawn, for example, a message indicating that “the IP address has been changed. Check if this printer is appropriate” is displayed as a watermark image. As shown in FIG.
In this way, when only the first page of print data is formed in the drawing memory, the image is reduced so that normal characters cannot be read. Subsequent warnings are printed at the same normal size.

ステップ163では、描画エリアの画像を用紙を含む記録メディアに印刷し、印刷データの残りのページのデータは破棄し、この処理を終了する。
そして、クライアントPC又は他のプリンタでは、印刷データの受信が拒否されると、そのプリンタでの印刷を中止する。
このようにして、最初のページの機密情報などが間違ったプリンタに印刷されるのを防ぐために、最初のページの文字や画像が判別し難いように、1/8や1/16や1/32のように所定の倍率に縮小して印刷するとよい。
In step 163, the image in the drawing area is printed on a recording medium including paper, the remaining page data of the print data is discarded, and the process is terminated.
When the client PC or another printer refuses to receive the print data, printing on the printer is stopped.
In this way, in order to prevent confidential information on the first page from being printed on the wrong printer, 1/8, 1/16, or 1/32 so that characters and images on the first page are difficult to distinguish. As described above, the image may be printed after being reduced to a predetermined magnification.

このネットワークプリンタでは、プリンタ側で、ユーザの想定外のIPアドレスに自動設定されてしまって、IPアドレスが変化し、かつ、ユーザがその変化を外部から知る方法がない場合には、起動時に自動的に警告透かし縮小印刷モードにし、それ以降は、外部から印刷データを受け取ると、その1ページだけの画像を縮小し、かつそのページ内に警告メッセージを透かし印刷するので、もし、そのプリンタが所望外のプリンタであっても、ユーザが確認できるようにすると共に、そのページに記載された情報の内容の流出を最小限に抑えることができる。   In this network printer, if the printer automatically sets an IP address that is not expected by the user, the IP address changes, and there is no way for the user to know the change from the outside, the network printer automatically After that, when the print mode is set to the warning watermark reduction print mode and the print data is received from the outside, the image of only one page is reduced and the warning message is watermark-printed in the page. Even if it is an external printer, it is possible for the user to check, and the outflow of the contents of information described on the page can be minimized.

(11)実施例11
実施例11のネットワーク印刷システムでは、クライアントPC側から、上述の警告透かし印刷機能又は警告透かし縮小印刷機能を備えたプリンタに対して警告透かし印刷又は警告透かし縮小印刷を実行させるか否かを指示できるようにする場合の構成と処理について説明する。
(11) Example 11
In the network printing system according to the eleventh embodiment, the client PC can instruct whether to execute warning watermark printing or warning watermark reduced printing for a printer having the warning watermark printing function or the warning watermark reduced printing function. The configuration and processing in the case of doing so will be described.

そこで、実施例11では、クライアントPC1,2のプリンタドライバ30とプリンタ通信部29が、ネットワーク上の印刷先に指定したプリンタのUIDとIPアドレスとを含むプリンタ情報を保持する手段と、印刷先に指定したプリンタへ印刷データを送る際、上記保持されたIPアドレスのプリンタにUIDを問い合わせる手段と、その手段による問い合わせによって取得したUIDと上記保持されたUIDとが一致するか否かを判断する手段と、その手段によって一致しないと判断したとき、上記取得したUIDのプリンタに、警告透かし印刷機能を有するか否かを問い合わせる手段と、その手段による問い合わせに対して警告透かし印刷機能を有するとの応答があった場合、警告透かし印刷機能による印刷の実行指示が入力されたとき、上記取得したUIDのプリンタに、警告透かし印刷機能による印刷を要求して上記印刷データを送信する手段の機能を果たす。   Therefore, in the eleventh embodiment, the printer driver 30 and the printer communication unit 29 of the client PCs 1 and 2 have means for holding printer information including the printer UID and IP address designated as the print destination on the network, and the print destination. When sending print data to a designated printer, means for inquiring the UID of the printer having the held IP address, and means for determining whether the UID acquired by the inquiry by the means matches the held UID. And means for inquiring whether or not the acquired UID printer has a warning watermark printing function, and a response indicating that the warning watermark printing function is provided in response to the inquiry by the means If there is, an instruction to execute printing by the warning watermark printing function has been input Come, the printer of the acquired UID, and requests printing by warning watermark printing function serves means for transmitting the print data.

また、プリンタ6〜9の制御部が、前回起動したときに使用したIPアドレスを保持する手段と、起動時に自装置のIPアドレスをDHCP、AutoIP等で取得する手段と、上記ネットワーク上のプリンタのIPアドレスとホスト名とを関連付けて記憶するDDNSサーバによるDDNSが有効か否かを判断する手段と、上記取得したIPアドレスが、上記保持しているIPアドレスと異なり、且つ上記DDNSが有効でないと判断された場合、それ以降、外部から印刷データを受け付けたとき、その印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージ(例えば「アドレスが以前と違います」)を透かし印刷する警告透かし印刷手段と、上記クライアントPCからの問い合わせに対して警告透かし印刷機能を有することを応答する手段と、上記クライアントPCからの警告透かし印刷機能による印刷の要求と共に印刷データを受信したとき、上記警告透かし印刷手段によって上記受信した印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージ(例えば「アドレスが以前と違います」)を透かし印刷する警告透かし印刷手段の機能を果たす。   In addition, the control unit of the printers 6 to 9 holds means for holding the IP address used when it was last activated, means for acquiring the IP address of its own device by DHCP, AutoIP, etc. at the time of activation, and the printers on the network Means for determining whether or not DDNS by the DDNS server that stores the IP address and the host name in association with each other and the acquired IP address are different from the held IP address, and the DDNS is not valid. If it is determined, when print data is accepted from outside, only the first page of the print data is printed, and a warning message (for example, “address is different from the previous”) is printed on that page. Warning watermark printing means, and a warning watermark printing function in response to an inquiry from the client PC. When the print data is received together with the means for responding to the request and the print request by the warning watermark print function from the client PC, only the first page of the received print data is printed by the warning watermark print means, Further, it functions as a warning watermark printing means for watermark printing a warning message (for example, “address is different from the previous”) on the page.

図17は、実施例11のクライアントPC1における印刷時の処理を示すフローチャート図である。
この処理は、上述したクライアントPC1の印刷時の処理において、取得したUIDと保持しているUIDが異なる場合に実施する。
クライアントPC1は、ステップ171で、プリンタドライバがプリンタ通信部により、UIDを取得したプリンタに警告透かし印刷機能が有るか否かを問い合わせ、その応答を取得し、ステップ172へ進む。
ステップ172では、プリンタドライバが、プリンタからの応答に基づいて警告透かし印刷機能が有るか否かを判断し、無ければ、そのままこの処理を終了し、有れば、ステップ173へ進む。
FIG. 17 is a flowchart illustrating processing during printing in the client PC 1 according to the eleventh embodiment.
This processing is performed when the acquired UID and the held UID are different in the above-described processing at the time of printing by the client PC 1.
In step 171, the client PC 1 inquires whether the printer driver has the warning watermark printing function in the printer communication unit by using the printer communication unit, acquires the response, and proceeds to step 172.
In step 172, the printer driver determines whether or not there is a warning watermark printing function based on the response from the printer. If there is not, the process ends. If there is, the process proceeds to step 173.

ステップ173では、プリンタドライバが、このクライアントPCのユーザにプリンタに対して警告透かし印刷をさせるか否かの指示入力を促し、ステップ174へ進む。
ステップ174では、プリンタドライバが、ユーザから警告透かし印刷機能による印刷の実行入力が有ったか否かを判断し、無ければ、そのままこの処理を終了し、有れば、ステップ175へ進む。
ステップ175では、プリンタドライバがプリンタ通信部により、プリンタへ警告透かし印刷コマンドを送信し、ステップ175へ進む。
ステップ175では、プリンタドライバがプリンタ通信部により、プリンタへ印刷データを送信し、この処理を終了する。
In step 173, the printer driver prompts the user of this client PC to input an instruction as to whether or not to print the warning watermark on the printer, and the process proceeds to step 174.
In step 174, the printer driver determines whether or not there has been a print execution input by the warning watermark printing function from the user. If there is not, the process ends. If there is, the process proceeds to step 175.
In step 175, the printer driver transmits a warning watermark print command to the printer through the printer communication unit, and the process proceeds to step 175.
In step 175, the printer driver transmits print data to the printer through the printer communication unit, and the process ends.

また、上述の処理において、プリンタに、警告透かし縮小印刷機能の有無も問い合わせ、警告透かし印刷機能と警告透かし縮小印刷機能を有するプリンタに対しては、そのいずれかを選択入力できるようにすると良い。
例えば、クライアントPC1の表示装置21に、警告透かし印刷させるか否かをユーザに問い合せる画面を表示する。
例えば、表示装置21の画面に、「通常通り印刷」「警告透かし印刷(1ページだけ)」「本文は縮小し、警告透かし印刷」「キャンセル」などの選択肢を表示すると良い。
このようにして、クライアントPC1側からプリンタの警告透かし印刷機能又は警告透かし縮小印刷機能による印刷の実行を選択することができる。
In the above-described processing, the printer is also inquired about the presence or absence of the warning watermark reduction printing function, and it is preferable that either one of the warning watermark printing function and the warning watermark reduction printing function can be selected and input.
For example, a screen is displayed on the display device 21 of the client PC 1 to inquire the user whether or not warning watermark printing is to be performed.
For example, options such as “print as usual”, “warning watermark printing (only one page)”, “reduced text, warning watermark printing”, and “cancel” may be displayed on the screen of the display device 21.
In this way, execution of printing by the warning watermark printing function or warning watermark reduction printing function of the printer can be selected from the client PC 1 side.

一方、プリンタ側では、クライアントPC1から通常印刷コマンドを受け取ると、通常の印刷を実行し、警告透かし印刷コマンド(又は警告透かし縮小印刷コマンド)を受け取ると、図15で説明した警告透かし印刷、あるいは、図16で説明した警告透かし縮小印刷を実行する。
このネットワーク印刷システムでは、ユーザの想定外のIPアドレスに自動設定されてしまって、プリンタのIPアドレスが変化した場合、そのプリンタで警告透かし印刷を実施するか否かをユーザが選択することができる。
On the other hand, on the printer side, when a normal print command is received from the client PC 1, normal printing is executed, and when a warning watermark print command (or warning watermark reduced print command) is received, the warning watermark printing described in FIG. The warning watermark reduced printing described in FIG. 16 is executed.
In this network printing system, when the IP address of the printer changes because the IP address is not set by the user, the user can select whether or not to perform warning watermark printing on the printer. .

(12)実施例12
実施例12のネットワーク印刷システムでは、ネットワーク上の各プリンタが起動時に自装置に割り当てられたIPアドレスが前回と異なるか否かをチェックし、異なる場合には、それ以降に送信される印刷データを受信して蓄積し、印刷の指示があったものだけを印刷する場合の構成と処理について説明する。
(12) Example 12
In the network printing system of the twelfth embodiment, each printer on the network checks whether or not the IP address assigned to itself is different from the previous one at the time of startup. A configuration and processing in the case of receiving and storing and printing only those for which printing has been instructed will be described.

そこで、実施例12では、プリンタ6〜9は、ネットワーク上でクライアントPC1,2から送られた印刷データを印刷する印刷装置であって、その各制御部が、前回起動したときに使用したIPアドレスを保持する手段と、起動時に自装置のIPアドレスをDHCP、AutoIP等で取得する手段と、上記ネットワーク上のプリンタのIPアドレスとホスト名とを関連付けて記憶するDDNSサーバによるDDNSが有効か否かを判断する手段と、上記取得したIPアドレスが、上記保持しているIPアドレスと異なり、且つ上記DDNSが有効でないと判断された場合、それ以降、外部から受信した印刷データを全て記憶して保持し、警告メッセージを出力する手段と、上記保持された印刷データの(タイトルの一覧を表示し、)印刷が指示されたときに印刷を実行する手段の機能を果たす。   Therefore, in the twelfth embodiment, the printers 6 to 9 are printing apparatuses that print the print data sent from the client PCs 1 and 2 on the network, and the IP addresses used when the respective control units were activated last time. Whether or not DDNS by the DDNS server that stores the IP address and host name of the printer on the network in association with each other is valid. If the acquired IP address is different from the held IP address and the DDNS is not valid, all the print data received from the outside is stored and held thereafter. And a means for outputting a warning message and printing of the held print data (displaying a list of titles) Functions of means for performing the printing when instructed.

また、上記受信した印刷データを保持したときからの経過時間が予め設定した時間を超えたとき、上記保持した印刷データを削除する手段の機能も果たす。
ここで、図1では、図示を省略したが、プリンタ6〜9は、印刷データを蓄積するための大容量の記憶装置(HDD)を備えているものとする。
In addition, when the elapsed time from when the received print data is held exceeds a preset time, it also functions as means for deleting the held print data.
Here, although not shown in FIG. 1, it is assumed that the printers 6 to 9 include a large-capacity storage device (HDD) for storing print data.

図18は、実施例12におけるプリンタ6〜9の印刷データ蓄積処理を示すフローチャート図である。
プリンタ6〜9の制御部は、上述のように、起動時に自プリンタに割り当てられたIPアドレスが前回と異なるか否かをチェックし、異なる場合には、それ以降に送信される印刷データを受信して蓄積するモードに移行した場合、クライアントPC1,2又は他のプリンタから印刷データが送信されてきたとき、ステップ181で、印刷データを受信し、ステップ182で、その印刷データの制御ファイルを作成し、HDDに記憶し、ステップ183で、その制御ファイルに関連付けて印刷データをHDDに記憶し、この処理を終了する。
FIG. 18 is a flowchart illustrating print data accumulation processing of the printers 6 to 9 according to the twelfth embodiment.
As described above, the control unit of the printers 6 to 9 checks whether or not the IP address assigned to the printer at the time of startup is different from the previous one, and if it is different, receives the print data transmitted thereafter. If the print data is transmitted from the client PC 1, 2 or another printer when the mode is shifted to the storage mode, the print data is received in step 181 and a control file for the print data is created in step 182. In step 183, the print data is stored in the HDD in association with the control file, and the process ends.

例えば、印刷データを受け取ったプリンタは、その印刷データの一意のジョブ番号を決め、その番号をファイル名とする制御ファイルに、ジョブ番号、ジョブ名、ジョブ受付時間を保存する。   For example, a printer that has received print data determines a unique job number for the print data, and stores the job number, job name, and job reception time in a control file that uses that number as the file name.

制御ファイルの例:(0001.ctl)
<Stored Job>
<job name>0001</job name>
<job submit time>12:34</job submit time>
</Stored Job>
Example of control file: (0001.ctl)
<Stored Job>
<Job name> 0001 </ job name>
<Job submit time> 12:34 </ job submit time>
</ Stored Job>

この場合、印刷データ自体が0001.datというファイル名で保存される。
まず、印刷データのタイトルを印刷データから抽出し、制御ファイルに記録する。
そして、ジョブを受け付けた時刻を制御ファイルに記録する。
続いて、残りの印刷データをHDDに保存する。
In this case, the print data itself is 0001. It is saved with the file name dat.
First, the title of the print data is extracted from the print data and recorded in the control file.
The time when the job is received is recorded in the control file.
Subsequently, the remaining print data is stored in the HDD.

次に、印刷データ蓄積後の処理について説明する。
HDDに印刷データのジョブを蓄積していることをユーザに知らせるために、プリンタ6〜9の制御部は、例えば、1分間に1度程度の頻度で、HDDに蓄積された印刷ジョブの処理をユーザに促す画面を表示する。
図19は、実施例12のネットワーク印刷システムにおけるプリンタ6〜9の表示処理を示すフローチャート図である。
プリンタ6〜9の制御部は、ステップ191で印刷ジョブリストが有るか否かを判断し、無ければこの処理を終了するが、有れば、ステップ192で印刷ジョブリストに印刷ジョブがエントリ(印刷データが蓄積)されているか否かを判断し、エントリされていなければこの処理を終了し、エントリされていれば、ステップ193で印刷ジョブが有ることを示すメッセージを表示し、この処理を終了する。
Next, the processing after storing print data will be described.
In order to notify the user that the print data job is stored in the HDD, the control unit of the printers 6 to 9 processes the print job stored in the HDD at a frequency of about once per minute, for example. Displays a screen prompting the user.
FIG. 19 is a flowchart illustrating display processing of the printers 6 to 9 in the network printing system according to the twelfth embodiment.
The control unit of the printers 6 to 9 determines whether or not there is a print job list in step 191. If there is no print job list, the process ends. If there is, the print job is entered (printed) in the print job list in step 192. It is determined whether or not data has been stored. If it has not been entered, this process ends. If it has been entered, a message indicating that there is a print job is displayed in step 193, and this process ends. .

このようにして、上述した印刷データ受信拒否モードのように印刷データを拒否してしまうのではなく、送られる印刷データはHDDのような大容量不揮発性記憶装置に保持し、そのような印刷データをHDDに保持していることを操作パネルに表示することで、ユーザの判断を待つようにすることができる。   Thus, instead of rejecting the print data as in the print data reception rejection mode described above, the print data to be sent is held in a large-capacity nonvolatile storage device such as an HDD, and such print data Can be displayed on the operation panel to wait for the user's judgment.

次に、プリンタ6〜9では、印刷ジョブ(印刷データ)を蓄積すると、例えば、1分間に1度程度の頻度で、HDDに蓄積された印刷ジョブが放置されてしまわないように、上述の表示によってユーザに処理を促し、ユーザから印刷の指示が有れば、その印刷ジョブの印刷を実行し、蓄積から予め設定した時間が経過した場合には削除するようにするとよい。   Next, in the printers 6 to 9, when the print job (print data) is accumulated, for example, the above display is performed so that the print job accumulated in the HDD is not left at a frequency of about once per minute. The user is prompted to perform the process, and if there is a print instruction from the user, the print job is printed, and when a preset time has elapsed from the accumulation, the print job may be deleted.

図20は、実施例12のネットワーク印刷システムにおけるプリンタ6〜9の印刷データ蓄積後の処理を示すフローチャート図である。
プリンタ6〜9の制御部は、ステップ201で、印刷ジョブリストが有るか否かを判断し、無ければこの処理を終了し、有ればステップ202へ進む。
ステップ202では、印刷ジョブリストに印刷ジョブがエントリされているか否かを判断し、エントリされてなければ、この処理を終了し、エントリされていれば、ステップ203へ進む。
ステップ203では、エントリされている印刷ジョブの制御ファイルの印刷ジョブ受付時刻から経過時間を求め、ステップ204へ進む。
FIG. 20 is a flowchart illustrating processing after the print data accumulation of the printers 6 to 9 in the network printing system according to the twelfth embodiment.
The control unit of the printers 6 to 9 determines in step 201 whether or not there is a print job list. If there is no print job list, the process ends, and if there is, the process proceeds to step 202.
In step 202, it is determined whether or not a print job has been entered in the print job list. If it has not been entered, this process ends. If it has been entered, the process proceeds to step 203.
In step 203, the elapsed time is obtained from the print job reception time of the control file of the entered print job, and the process proceeds to step 204.

ステップ204では、経過時間が予め設定した時間を超えたか否かを判断し、超えてなければステップ207へ進み、超えていたら、ステップ205へ進む。
ステップ205では、HDDからその印刷ジョブの制御データと印刷データを削除し、ステップ206で印刷ジョブリストから削除し、ステップ207へ進む。
ステップ207では、印刷ジョブリストに次のエントリが有るか否かを判断し、有ればステップ203へ戻って上述の処理を繰り返し、なければ、この処理を終了する。
In step 204, it is determined whether or not the elapsed time exceeds a preset time. If not, the process proceeds to step 207. If it has exceeded, the process proceeds to step 205.
In step 205, the control data and print data of the print job are deleted from the HDD, deleted from the print job list in step 206, and the process proceeds to step 207.
In step 207, it is determined whether or not the next entry exists in the print job list. If there is, the process returns to step 203 and the above processing is repeated. If not, this processing ends.

つまり、印刷ジョブリストが空の場合は、そのまま終了し、印刷ジョブリストに印刷ジョブがエントリされている場合、そのエントリされている印刷ジョブにポインタを合わせ、その印刷ジョブの制御ファイルの<job submit time>の印刷ジョブ受付時刻と、プリントに搭載しているリアルタイムクロック(Real Time Clock:RTC)による現在時刻とから経過時間を求め、その経過時間が予め設定した規定のタイムアウト時間を過ぎている場合、この印刷ジョブの印刷データと制御ファイルの両方をHDDから削除する   In other words, if the print job list is empty, the process is terminated. If a print job is entered in the print job list, the pointer is set to the entered print job, and <job submit of the control file of the print job is set. When the elapsed time is obtained from the print job reception time of time> and the current time based on the real time clock (RTC) installed in the print, and the elapsed time exceeds a preset time-out time Delete both the print data and control file for this print job from the HDD

このネットワーク印刷システムでは、ユーザの想定外のIPアドレスに自動設定されてしまって、IPアドレスが変化し、かつ、ユーザがその変化を外部から知る方法がない場合には、プリンタ側で印刷データが蓄積されて保持され、かつ、パネルなどに警告を表示し、ユーザが印刷を開始してもよいことを確認するまで印刷を開始しないので、誤ったプリンタで印刷することを防ぐことができる。
また、上記保持された印刷データも所定の経過時間が過ぎたら自動的に削除されるので、ユーザがそのプリンタを見つけられない場合には、プリンタが操作待ちで停止したままになることを防ぐことができる。
In this network printing system, if the IP address changes automatically and the IP address changes and there is no way for the user to know the change from the outside, the print data is not printed on the printer side. Since printing is not started until it is stored and held and a warning is displayed on the panel or the like and it is confirmed that the user may start printing, it is possible to prevent printing with an incorrect printer.
Also, since the held print data is automatically deleted after a predetermined elapsed time, if the user cannot find the printer, the printer is prevented from being stopped waiting for operation. Can do.

(13)実施例13
実施例13のネットワーク印刷システムでは、上述した各実施例において、クライアントPCがプリンタドライバを最初に設定する際の処理とその構成について説明する。
この実施例13では、クライアントPC1,2のプリンタドライバ30とプリンタ通信部29が、ネットワーク上のプリンタと通信する通信手段と、その手段による通信によって上記プリンタにUIDを問い合わせるUID問合手段と、その手段による問い合わせに応答して送られてきた上記プリンタのUIDと上記プリンタのIPアドレスとを対応させて保持する保持手段の機能を果たす。
(13) Example 13
In the network printing system according to the thirteenth embodiment, a process and a configuration when the client PC first sets a printer driver in each of the above-described embodiments will be described.
In the thirteenth embodiment, the printer driver 30 and the printer communication unit 29 of the client PCs 1 and 2 communicate with a printer on the network, a UID inquiry unit that inquires of the printer about the UID through communication by the unit, It fulfills the function of holding means for holding the UID of the printer sent in response to the inquiry from the means and the IP address of the printer in association with each other.

上述した各実施例において、クライアントPC1,2側のプリンタドライバ30が、印刷する際に、プリンタ通信部29により、印刷先のプリンタのUIDが前回のUIDと同じか否かを確認するが、プリンタドライバ30を最初に設定する際には、印刷しなくてもUIDを設定するほうが望ましい。
このような設定を実現する、クライアントPC1,2上で実行するインストーラの処理について説明する。
In each of the above-described embodiments, when the printer driver 30 on the client PC 1 or 2 side performs printing, the printer communication unit 29 checks whether the printer UID of the printing destination printer is the same as the previous UID. When setting the driver 30 for the first time, it is preferable to set the UID without printing.
The installer process executed on the client PCs 1 and 2 for realizing such settings will be described.

図21は、実施例13のネットワーク印刷システムにおけるクライアントPCのプリンタドライバのインストーラの処理を示すフローチャートである。
まず、クライアントPC1の制御装置は、ステップ211でプリンタ制御ファイル、つまりプリンタドライバを構成するファイルを、オペレーティングシステムに適した配置にコピーするインストールを実行し、ステップ212へ進む。
ステップ212では、プリンタ設定情報を、オペレーティングシステムに適した設定データベース(DB)に登録し、ステップ213へ進む。
このプリンタ設定情報には、プリンタのIPアドレスやプリンタのオプション構成などの設定情報が含まれる。
FIG. 21 is a flowchart illustrating the printer driver installer process of the client PC in the network printing system according to the thirteenth embodiment.
First, in step 211, the control device of the client PC 1 executes an installation for copying a printer control file, that is, a file constituting the printer driver, to an arrangement suitable for the operating system, and proceeds to step 212.
In step 212, printer setting information is registered in a setting database (DB) suitable for the operating system, and the process proceeds to step 213.
The printer setting information includes setting information such as a printer IP address and a printer option configuration.

ここまでの通常の設定動作を完了したあとで、ステップ213で、プリンタにUIDを問い合わせるUID問い合わせ命令を送り、ステップ214へ進む。
ステップ214では、UID取得に成功したか否かを判断し、UID問い合わせ先のプリンタからUIDが返信され、UID取得に成功したら、ステップ215へ進み、UIDが何らかの理由で返信されない場合は、UID取得に失敗したと判断し、UID情報は登録しないでこの処理を終了する。
ステップ215では、システムの設定DBに、プリンタ設定情報として、上記取得したUIDを登録し、ステップ216へ進む。
ステップ216では、その他のインストール処理を実行し、この処理を終了する。
After completing the normal setting operation so far, in step 213, a UID inquiry command for inquiring the UID is sent to the printer, and the process proceeds to step 214.
In step 214, it is determined whether or not the UID acquisition has succeeded, and the UID is returned from the printer as the UID inquiry destination. If the UID acquisition is successful, the process proceeds to step 215. If the UID is not returned for some reason, the UID acquisition is performed. This process is terminated without registering the UID information.
In step 215, the acquired UID is registered as printer setting information in the system setting DB, and the process proceeds to step 216.
In step 216, other installation processing is executed, and this processing ends.

なお、上述の処理において、制御ファイルのコピー、プリンタ設定情報の登録、UIDの登録の順番はどのような順番でもよい。
また、プリンタにはUIDだけを問い合せるのではなく、DDNSアドレス、ホスト名、ネットマスク等の情報も問い合せて取得するようにすると良い。
このようにして、クライアントPCにおいて、プリンタの初期設定時にそのプリンタに必ず接続し、そのプリンタのプリンタ識別情報を保管するので、その後の印刷時に、接続先プリンタが所望のプリンタか否かを確認することができる。
In the above-described processing, the order of copying the control file, registering the printer setting information, and registering the UID may be any order.
Further, it is preferable that the printer not only inquire about the UID but also inquire about and acquire information such as the DDNS address, host name, and netmask.
In this way, the client PC always connects to the printer at the time of initial setting of the printer and stores the printer identification information of the printer, so at the time of subsequent printing, it is confirmed whether or not the connection destination printer is the desired printer. be able to.

上記各実施例で示した各手段について、その各手段をコンピュータに実行させるための手順からなるプログラムにすれば、クライアントPCとプリンタに対して、上述した各手段の実行による機能を実現させることができる。   If each means shown in each of the above embodiments is a program comprising a procedure for causing a computer to execute each means, the client PC and the printer can realize the function by executing each means described above. it can.

この発明による情報処理装置は、デスクトップパソコン,ノートブックパソコン等のパーソナルコンピュータにおいても適用することができる。また、この発明による印刷装置は、ファクシミリ装置、複写機、複合機においても適用することができる。さらに、この発明によるネットワーク印刷システムは、ネットワーク環境の印刷機能を備えた装置と情報処理装置で構成されるクライアントサーバシステム全般に適用することができる。   The information processing apparatus according to the present invention can also be applied to personal computers such as desktop personal computers and notebook personal computers. The printing apparatus according to the present invention can also be applied to a facsimile machine, a copying machine, and a multifunction machine. Furthermore, the network printing system according to the present invention can be applied to all client server systems including an apparatus having a network environment printing function and an information processing apparatus.

この発明の一実施例であるネットワーク印刷システムの構成を示すブロック図である。1 is a block diagram showing a configuration of a network printing system according to an embodiment of the present invention. 図1に示すクライアントPC1の内部構成を示す機能ブロック図である。It is a functional block diagram which shows the internal structure of client PC1 shown in FIG. 実施例1のネットワーク印刷システムにおけるクライアントPC1の印刷時の処理を示すフローチャート図である。FIG. 6 is a flowchart illustrating processing at the time of printing by the client PC 1 in the network printing system according to the first embodiment. 図1に示すネットワーク印刷システムのクライアントPC1のプリンタ検索処理を示すフローチャート図である。It is a flowchart figure which shows the printer search process of client PC1 of the network printing system shown in FIG.

実施例3のネットワーク印刷システムにおけるクライアントPC1の印刷時の処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating processing at the time of printing by the client PC 1 in the network printing system according to the third embodiment. 実施例3のクライアントPC1におけるプリンタ検索処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating printer search processing in the client PC 1 according to the third embodiment. 実施例4のネットワーク印刷システムにおけるクライアントPC1の印刷時の処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating processing at the time of printing of the client PC 1 in the network printing system according to the fourth embodiment.

図1に示すネットワーク印刷システムのプリンタ7における実施例5に係るプリンタ検索処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating printer search processing according to the fifth embodiment in the printer 7 of the network printing system illustrated in FIG. 1. 実施例6のプリンタ7におけるプリンタ検索処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating printer search processing in a printer according to a sixth embodiment. 実施例7のネットワーク印刷システムにおけるクライアントPC1の印刷時の処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating processing at the time of printing by a client PC 1 in the network printing system according to the seventh embodiment.

図1に示すクライアントPC1における転送印刷依頼処理を示すフローチャート図である。It is a flowchart figure which shows the transfer printing request process in the client PC1 shown in FIG. 実施例7のプリンタ7における転送印刷処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating transfer printing processing in a printer according to a seventh embodiment. 実施例8のプリンタ6〜9の起動時の処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating processing at the time of activation of printers 6 to 9 according to an eighth embodiment. 実施例9のプリンタ6〜9の起動時の処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating processing at the time of activation of printers 6 to 9 according to a ninth embodiment.

図1に示すプリンタ6〜9における警告透かし印刷処理を示すフローチャート図である。It is a flowchart figure which shows the warning watermark printing process in the printers 6-9 shown in FIG. 図1に示すプリンタ6〜9における警告透かし縮小印刷処理を示すフローチャート図である。It is a flowchart figure which shows the warning watermark reduction printing process in the printers 6-9 shown in FIG. 実施例11のクライアントPC1における印刷時の処理を示すフローチャート図である。FIG. 20 is a flowchart illustrating processing at the time of printing in the client PC 1 according to the eleventh embodiment.

実施例12におけるプリンタ6〜9の印刷データ蓄積処理を示すフローチャート図である。FIG. 20 is a flowchart illustrating print data accumulation processing of printers 6 to 9 in Embodiment 12. 実施例12のネットワーク印刷システムにおけるプリンタ6〜9の表示処理を示すフローチャート図である。FIG. 20 is a flowchart illustrating display processing of printers 6 to 9 in the network printing system according to the twelfth embodiment.

実施例12のネットワーク印刷システムにおけるプリンタ6〜9の印刷データ蓄積後の処理を示すフローチャート図である。FIG. 20 is a flowchart illustrating processing after print data is accumulated in printers 6 to 9 in the network printing system according to the twelfth embodiment. 実施例13のネットワーク印刷システムにおけるクライアントPCのプリンタドライバのインストーラの処理を示すフローチャートである。FIG. 25 is a flowchart illustrating processing of a printer driver installer of a client PC in the network printing system according to the thirteenth embodiment.

符号の説明Explanation of symbols

1,2:クライアントPC 3:ルータ 4:DDNSサーバ 5:DHCPサーバ 6〜9:プリンタ 10:第1ネットワーク 11:第2ネットワーク 20:入力装置 21:表示装置 22:記憶装置 23:制御装置 24:パラレルI/F 25:USBI/F 26:ネットワークI/F 27:アプリケーションソフトウェア 28:スプーラ 29:プリンタ通信部 30:プリンタドライバ 1, 2: Client PC 3: Router 4: DDNS server 5: DHCP server 6-9: Printer 10: First network 11: Second network 20: Input device 21: Display device 22: Storage device 23: Control device 24: Parallel I / F 25: USB I / F 26: Network I / F 27: Application software 28: Spooler 29: Printer communication unit 30: Printer driver

Claims (27)

ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記ネットワークから前記保持された識別情報を持つ印刷装置を検索する手段とを備えたことを特徴とする情報処理装置。
Means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
An information processing apparatus comprising: means for searching for a printing apparatus having the held identification information from the network when the means determines that they do not match.
前記印刷装置を検索する手段は、前記保持された宛先情報に基づいて得られた前記ネットワーク上の全ての装置の宛先情報にそれぞれ問い合わせて、前記ネットワークから前記保持された識別情報を持つ印刷装置を検索する手段であることを特徴とする請求項1記載の情報処理装置。   The means for searching for the printing device inquires of the destination information of all devices on the network obtained based on the held destination information, and finds the printing device having the held identification information from the network. The information processing apparatus according to claim 1, wherein the information processing apparatus is a search unit. ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報と、前記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバの宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記保持された宛先情報のDDNSサーバに前記保持されたホスト名に関連付けられている宛先情報を問い合わせて取得することにより、前記ネットワークから前記保持された識別情報を持つ印刷装置を検索する手段とを備えたことを特徴とする情報処理装置。
Means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network, and destination information of a DDNS server that stores the destination information and host name of the printing device in association with each other;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
When it is determined by the means that they do not match, the DNS server of the held destination information is inquired for and acquired the destination information associated with the held host name, so that the held identification information is obtained from the network. An information processing apparatus comprising: means for searching for a printing apparatus having
前記印刷先に指定した印刷装置に、該印刷装置のホスト名と該ホスト名と宛先情報とを関連付けて記憶するDDNSサーバの宛先情報とを問い合わせて取得する手段を設けたことを特徴とする請求項3記載の情報処理装置。   The printing apparatus designated as the printing destination is provided with means for inquiring and acquiring the host name of the printing apparatus and the destination information of the DDNS server that stores the host name and destination information in association with each other. Item 4. The information processing apparatus according to Item 3. ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記取得した識別情報の印刷装置に、前記ネットワークから前記保持された識別情報を持つ印刷装置を検索するように依頼する手段とを備えたことを特徴とする情報処理装置。
Means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
And means for requesting the printing apparatus having the acquired identification information to search for the printing apparatus having the held identification information from the network when it is determined by the means that they do not match. Information processing device.
ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記取得した識別情報の印刷装置に、前記ネットワーク上の前記保持された識別情報を持つ印刷装置へ前記印刷データを転送するように依頼して前記印刷データを送信する手段とを備えたことを特徴とする情報処理装置。
Means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
When it is determined by the means that they do not match, the printing apparatus having the acquired identification information is requested to transfer the printing data to the printing apparatus having the held identification information on the network. An information processing apparatus comprising: means for transmitting.
ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記取得した識別情報の印刷装置に、前記ネットワーク上の指定した宛先情報の印刷装置へ前記印刷データを転送するように依頼して前記印刷データを送信する手段とを備えたことを特徴とする情報処理装置。
Means for holding printing device information including identification information and destination information of a printing device designated as a printing destination on the network;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
Means for requesting the printing apparatus of the acquired identification information to transfer the print data to the printing apparatus of the designated destination information on the network when the means determines that they do not match; An information processing apparatus comprising:
ネットワーク上の印刷装置と通信する手段と、
該手段による通信によって前記印刷装置に識別番号を問い合わせる手段と、
該手段による問い合わせに応答して送られてきた前記印刷装置の識別番号と前記印刷装置の宛先情報とを対応させて保持する手段とを備えたことを特徴とする情報処理装置。
Means for communicating with a printing device on a network;
Means for querying the printing apparatus for an identification number by communication by the means;
An information processing apparatus comprising: means for holding the identification number of the printing apparatus sent in response to the inquiry by the means and the destination information of the printing apparatus in association with each other.
ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、
前記情報処理装置から指定された識別情報を持つ印刷装置を検索するように依頼されたとき、前記ネットワークから前記指定された識別情報を持つ印刷装置を検索する手段とを備えたことを特徴とする印刷装置。
A printing device that prints print data sent from an information processing device on a network,
And a means for searching for a printing device having the specified identification information from the network when requested to search for a printing device having the specified identification information from the information processing device. Printing device.
前記印刷装置を検索する手段は、前記ネットワーク上の全ての装置の宛先情報にそれぞれ問い合わせて、前記ネットワークから前記指定された識別情報を持つ印刷装置を検索する手段であることを特徴とする請求項9記載の印刷装置。   The means for searching for the printing apparatus is means for searching for a printing apparatus having the specified identification information from the network by inquiring destination information of all apparatuses on the network. The printing apparatus according to 9. 前記印刷装置を検索する手段は、前記ネットワーク上の全ての装置にマルチキャストで問い合わせて、前記ネットワークから前記指定された識別情報を持つ印刷装置を検索する手段であることを特徴とする請求項9記載の印刷装置。   10. The means for searching for the printing device is a means for searching for a printing device having the specified identification information from the network by inquiring all devices on the network by multicast. Printing device. ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、
前記ネットワーク上の前記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、
前記情報処理装置から指定されたホスト名の印刷装置を検索するように依頼されたとき、前記DDNSサーバに前記指定されたホスト名に関連付けられている宛先情報を問い合わせて取得することにより、前記ネットワークから前記指定されたホスト名の印刷装置を検索する手段とを備えたことを特徴とする印刷装置。
A printing device that prints print data sent from an information processing device on a network,
A DDNS server for storing the destination information and the host name of the printing apparatus on the network in association with each other;
When the information processing apparatus is requested to search for a printing apparatus having a designated host name, the network is obtained by inquiring and obtaining destination information associated with the designated host name from the DDNS server. And a means for retrieving a printing apparatus having the designated host name from the printing apparatus.
ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、
前記情報処理装置から指定された識別情報を持つ印刷装置へ印刷データを転送するように依頼されて印刷データを受信したとき、前記ネットワークから前記指定された識別情報を持つ印刷装置を検索する手段と、
該手段によって検索された印刷装置に、印刷を依頼して前記受信した印刷データを転送する手段とを備えたことを特徴とする印刷装置。
A printing device that prints print data sent from an information processing device on a network,
Means for searching for a printing device having the specified identification information from the network when the print data is received from the information processing device when requested to transfer the print data to the printing device having the specified identification information; ,
A printing apparatus comprising: a printing apparatus searched by the means for requesting printing and transferring the received print data.
前記印刷装置を検索する手段は、前記ネットワーク上の全ての装置の宛先情報にそれぞれ問い合わせて、前記ネットワークから前記指定された識別情報を持つ印刷装置を検索する手段であることを特徴とする請求項13記載の印刷装置。   The means for searching for the printing apparatus is means for searching for a printing apparatus having the specified identification information from the network by inquiring destination information of all apparatuses on the network. 13. The printing apparatus according to 13. 前記印刷装置を検索する手段は、前記ネットワーク上の全ての装置にマルチキャストで問い合わせて、前記ネットワークから前記指定された識別情報を持つ印刷装置を検索する手段であることを特徴とする請求項13記載の印刷装置。   14. The means for searching for the printing device is a means for searching for a printing device having the specified identification information from the network by inquiring all devices on the network by multicast. Printing device. ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、
前記情報処理装置から指定された宛先情報の印刷装置へ印刷データを転送するように依頼されて印刷データを受信したとき、前記ネットワーク上の前記指定された宛先情報の印刷装置に、印刷を依頼して前記受信した印刷データを転送する手段とを備えたことを特徴とする印刷装置。
A printing device that prints print data sent from an information processing device on a network,
When the print data is received from the information processing apparatus when the print data is requested to be transferred to the printing apparatus having the designated destination information, the printing apparatus having the designated destination information on the network is requested to print. And a means for transferring the received print data.
ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、
前記ネットワーク上の前記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、
前回起動したときに使用した宛先情報を保持する手段と、
起動時に自装置の宛先情報を取得する手段と、
前記DDNSサーバによるDDNSが有効か否かを判断する手段と、
前記取得した宛先情報が、前記保持している宛先情報と異なり、且つ前記DDNSが有効でないと判断された場合、それ以降、外部からの印刷データを全て受信拒否する手段とを備えたことを特徴とする印刷装置。
A printing device that prints print data sent from an information processing device on a network,
A DDNS server for storing the destination information and the host name of the printing apparatus on the network in association with each other;
Means to retain the destination information used when it was last started;
Means for acquiring address information of the own device at the time of startup;
Means for determining whether or not DDNS by the DDNS server is valid;
And means for rejecting reception of all external print data thereafter when the acquired destination information is different from the stored destination information and the DDNS is determined to be invalid. A printing device.
ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、
前記ネットワーク上の前記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、
前回起動したときに使用した宛先情報を保持する手段と、
起動時に自装置の宛先情報を取得する手段と、
前記DDNSサーバによるDDNSが有効か否かを判断する手段と、
前記取得した宛先情報が、前記保持している宛先情報と異なり、且つ前記DDNSが有効でないと判断された場合、それ以降、外部から印刷データを受け付けたとき、その印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージを透かし印刷する手段とを備えたことを特徴とする印刷装置。
A printing device that prints print data sent from an information processing device on a network,
A DDNS server for storing the destination information and the host name of the printing apparatus on the network in association with each other;
Means to retain the destination information used when it was last started;
Means for acquiring address information of the own device at the time of startup;
Means for determining whether or not DDNS by the DDNS server is valid;
When it is determined that the acquired destination information is different from the held destination information and the DDNS is not valid, only when the print data is received from outside, only the first page of the print data is received. And a means for watermark printing a warning message on the page.
前記印刷する手段に、前記最初の1ページを予め指定された倍率に縮小して印刷する手段を設けたことを特徴とする請求項18記載の印刷装置。   19. The printing apparatus according to claim 18, wherein the printing means is provided with a means for printing the first page by reducing it to a predetermined magnification. ネットワーク上で情報処理装置から送られた印刷データを印刷する印刷装置であって、
前記ネットワーク上の前記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、
前回起動したときに使用した宛先情報を保持する手段と、
起動時に自装置の宛先情報を取得する手段と、
前記DDNSサーバによるDDNSが有効か否かを判断する手段と、
前記取得した宛先情報が、前記保持している宛先情報と異なり、且つ前記DDNSが有効でないと判断された場合、それ以降、外部から受信した印刷データを全て記憶して保持し、警告メッセージを出力する手段と、
前記保持された印刷データの印刷が指示されたときに印刷を実行する手段とを備えたことを特徴とする印刷装置。
A printing device that prints print data sent from an information processing device on a network,
A DDNS server for storing the destination information and the host name of the printing apparatus on the network in association with each other;
Means to retain the destination information used when it was last started;
Means for acquiring address information of the own device at the time of startup;
Means for determining whether or not DDNS by the DDNS server is valid;
If it is determined that the acquired destination information is different from the stored destination information and the DDNS is not valid, all the print data received from the outside is stored and held thereafter, and a warning message is output. Means to
A printing apparatus comprising: means for executing printing when printing of the held print data is instructed.
前記受信した印刷データを保持したときからの経過時間が予め設定した時間を超えたとき、前記保持した印刷データを削除する手段を設けたことを特徴とする請求項20記載の印刷装置。   21. The printing apparatus according to claim 20, further comprising means for deleting the held print data when an elapsed time from when the received print data is held exceeds a preset time. ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、
前記情報処理装置に、前記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記ネットワークから前記保持された識別情報を持つ印刷装置を検索する手段とを設け、
前記印刷装置に、前記情報処理装置からの問い合わせに対して自装置の識別情報を応答する手段を設けたことを特徴とするネットワーク印刷システム。
A network printing system for printing print data sent from an information processing device on a network by a printing device,
Means for holding printing apparatus information including identification information and destination information of a printing apparatus designated as a printing destination on the network in the information processing apparatus;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
Means for searching for a printing apparatus having the held identification information from the network when it is determined by the means that they do not match,
A network printing system, characterized in that the printing apparatus is provided with means for responding identification information of its own apparatus to an inquiry from the information processing apparatus.
ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、
前記ネットワーク上の前記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、
前記印刷装置は、自装置の宛先情報が変更されたとき、前記DDNSサーバに変更後の宛先情報を通知する手段を有し、
前記DDNSサーバは、前記印刷装置から変更後の宛先情報が通知されると、前記印刷装置のホスト名と関連付けた宛先情報を前記変更後の宛先情報に更新する手段を有し、
前記情報処理装置に、前記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報と前記DDNSサーバの宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記保持された宛先情報のDDNSサーバに前記保持されたホスト名に関連付けられている宛先情報を問い合わせて取得することにより、前記ネットワークから前記保持された識別情報を持つ印刷装置を検索する手段とを設け、
前記印刷装置に、前記情報処理装置からの問い合わせに対して自装置の識別情報を応答する手段を設けたことを特徴とするネットワーク印刷システム。
A network printing system for printing print data sent from an information processing device on a network by a printing device,
A DDNS server for storing the destination information and the host name of the printing apparatus on the network in association with each other;
The printing apparatus has means for notifying the DDNS server of the changed destination information when the destination information of the own apparatus is changed,
The DDNS server has means for updating the destination information associated with the host name of the printing apparatus to the changed destination information when the changed destination information is notified from the printing apparatus.
Means for holding, in the information processing apparatus, printing apparatus information including identification information of a printing apparatus designated as a printing destination on the network, destination information, and destination information of the DDNS server;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
When it is determined by the means that they do not match, the DNS server of the held destination information is inquired for and acquired the destination information associated with the held host name, so that the held identification information is obtained from the network. Means for searching for a printing device having
A network printing system, characterized in that the printing apparatus is provided with means for responding identification information of its own apparatus to an inquiry from the information processing apparatus.
ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、
前記情報処理装置に、前記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記取得した識別情報の印刷装置に、前記ネットワークから前記保持された識別情報を持つ印刷装置を検索するように依頼する手段とを設け、
前記印刷装置に、前記情報処理装置から指定された識別情報を持つ印刷装置を検索するように依頼されたとき、前記ネットワークから前記指定された識別情報を持つ印刷装置を検索する手段を設けたことを特徴とするネットワーク印刷システム。
A network printing system for printing print data sent from an information processing device on a network by a printing device,
Means for holding printing apparatus information including identification information and destination information of a printing apparatus designated as a printing destination on the network in the information processing apparatus;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
Means for requesting the printing apparatus of the acquired identification information to search for a printing apparatus having the held identification information from the network when it is determined that the means does not match;
When the printing apparatus is requested to search for a printing apparatus having the specified identification information from the information processing apparatus, means for searching the printing apparatus having the specified identification information from the network is provided. A network printing system.
ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、
前記ネットワーク上の前記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、
前記印刷装置は、自装置の宛先情報が変更されたとき、前記DDNSサーバに変更後の宛先情報を通知する手段を有し、
前記DDNSサーバは、前記印刷装置から変更後の宛先情報が通知されると、前記印刷装置のホスト名と関連付けた宛先情報を前記変更後の宛先情報に更新する手段を有し、
前記情報処理装置に、前記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記取得した識別情報の印刷装置に、前記ネットワークから前記保持された識別情報を持つ印刷装置を検索するように依頼する手段とを設け、
前記印刷装置に、前記情報処理装置から指定されたホスト名の印刷装置を検索するように依頼されたとき、前記DDNSサーバに前記指定されたホスト名に関連付けられている宛先情報を問い合わせて取得することにより、前記ネットワークから前記指定されたホスト名の印刷装置を検索する手段を設けたことを特徴とするネットワーク印刷システム。
A network printing system for printing print data sent from an information processing device on a network by a printing device,
A DDNS server for storing the destination information and the host name of the printing apparatus on the network in association with each other;
The printing apparatus has means for notifying the DDNS server of the changed destination information when the destination information of the own apparatus is changed,
The DDNS server has means for updating the destination information associated with the host name of the printing apparatus to the changed destination information when the changed destination information is notified from the printing apparatus.
Means for holding printing apparatus information including identification information and destination information of a printing apparatus designated as a printing destination on the network in the information processing apparatus;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
Means for requesting the printing apparatus of the acquired identification information to search for a printing apparatus having the held identification information from the network when it is determined that the means does not match;
When the information processing apparatus requests the printing apparatus to search for a printing apparatus having a specified host name, the DDNS server is inquired and acquires destination information associated with the specified host name. Accordingly, a network printing system comprising means for searching the printing apparatus having the designated host name from the network.
ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、
前記情報処理装置に、ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記取得した識別情報の印刷装置に、前記ネットワーク上の前記保持された識別情報を持つ印刷装置へ前記印刷データを転送するように依頼して前記印刷データを送信する手段とを設け、
前記印刷装置に、前記情報処理装置から指定された識別情報を持つ印刷装置へ印刷データを転送するように依頼されて印刷データを受信したとき、前記ネットワークから前記指定された識別情報を持つ印刷装置を検索する手段と、
該手段によって検索された印刷装置に、印刷を依頼して前記受信した印刷データを転送する手段とを設けたことを特徴とするネットワーク印刷システム。
A network printing system for printing print data sent from an information processing device on a network by a printing device,
Means for holding, in the information processing apparatus, printing apparatus information including identification information and destination information of a printing apparatus designated as a printing destination on a network;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
When it is determined by the means that they do not match, the printing apparatus having the acquired identification information is requested to transfer the printing data to the printing apparatus having the held identification information on the network. Means for transmitting,
A printing apparatus having the specified identification information from the network when the printing apparatus is requested to transfer the print data from the information processing apparatus to the printing apparatus having the specified identification information and receives the print data. A means of searching for,
A network printing system, comprising: a printing apparatus searched by the means; and a means for requesting printing and transferring the received print data.
ネットワーク上で情報処理装置から送った印刷データを印刷装置で印刷するネットワーク印刷システムであって、
前記ネットワーク上の前記印刷装置の宛先情報とホスト名とを関連付けて記憶するDDNSサーバを備え、
前記情報処理装置に、前記ネットワーク上の印刷先に指定した印刷装置の識別情報と宛先情報とを含む印刷装置情報を保持する手段と、
前記印刷先に指定した印刷装置へ印刷データを送る際、前記保持された宛先情報の印刷装置に識別情報を問い合わせる手段と、
該手段による問い合わせによって取得した識別情報と前記保持された識別情報とが一致するか否かを判断する手段と、
該手段によって一致しないと判断したとき、前記取得した識別情報の印刷装置に、警告透かし印刷機能を有するか否かを問い合わせる手段と、
該手段による問い合わせに対して警告透かし印刷機能を有するとの応答があった場合、警告透かし印刷機能による印刷の実行指示が入力されたとき、前記取得した識別情報の印刷装置に、警告透かし印刷機能による印刷を要求して前記印刷データを送信する手段とを設け、
前記印刷装置に、前回起動したときに使用した宛先情報を保持する手段と、
起動時に自装置の宛先情報を取得する手段と、
前記DDNSサーバによるDDNSが有効か否かを判断する手段と、
前記取得した宛先情報が、前記保持している宛先情報と異なり、且つ前記DDNSが有効でないと判断された場合、それ以降、外部から印刷データを受け付けたとき、その印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージを透かし印刷する手段と、
前記情報処理装置からの問い合わせに対して警告透かし印刷機能を有することを応答する手段と、
前記情報処理装置からの警告透かし印刷機能による印刷の要求と共に印刷データを受信したとき、前記印刷する手段によって前記受信した印刷データの最初の1ページだけを印刷し、さらにそのページに警告メッセージを透かし印刷させる手段とを設けたことを特徴とするネットワーク印刷システム。
A network printing system for printing print data sent from an information processing device on a network by a printing device,
A DDNS server for storing the destination information and the host name of the printing apparatus on the network in association with each other;
Means for holding printing apparatus information including identification information and destination information of a printing apparatus designated as a printing destination on the network in the information processing apparatus;
Means for inquiring identification information to the printing apparatus of the held destination information when sending print data to the printing apparatus designated as the printing destination;
Means for determining whether or not the identification information acquired by the inquiry by the means matches the held identification information;
Means for inquiring whether or not the acquired identification information printing apparatus has a warning watermark printing function when it is determined by the means that they do not match;
When there is a response to the inquiry by the means that the warning watermark printing function is provided, when a print execution instruction by the warning watermark printing function is input, the warning watermark printing function is added to the acquired identification information printing device. And a means for requesting printing by means of transmitting the print data,
Means for holding destination information used when it was last activated in the printing apparatus;
Means for acquiring the address information of the own device at startup;
Means for determining whether or not DDNS by the DDNS server is valid;
When it is determined that the acquired destination information is different from the held destination information and the DDNS is not valid, only when the print data is received from the outside thereafter, only the first page of the print data is received. Means for printing a watermark on the page and a warning message on the page,
A means for responding to an inquiry from the information processing apparatus having a warning watermark printing function;
When print data is received together with a print request by the warning watermark printing function from the information processing apparatus, only the first page of the received print data is printed by the printing means, and a warning message is watermarked on the page. A network printing system comprising a printing unit.
JP2006342211A 2006-12-20 2006-12-20 Information processing apparatus, printing apparatus, and network printing system Pending JP2008152691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006342211A JP2008152691A (en) 2006-12-20 2006-12-20 Information processing apparatus, printing apparatus, and network printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006342211A JP2008152691A (en) 2006-12-20 2006-12-20 Information processing apparatus, printing apparatus, and network printing system

Publications (1)

Publication Number Publication Date
JP2008152691A true JP2008152691A (en) 2008-07-03

Family

ID=39654773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006342211A Pending JP2008152691A (en) 2006-12-20 2006-12-20 Information processing apparatus, printing apparatus, and network printing system

Country Status (1)

Country Link
JP (1) JP2008152691A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218417A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd Information processor and information processing system
JP2010250706A (en) * 2009-04-17 2010-11-04 Canon Inc Printing system and method for creating user interface screen of printer driver executed in printing system
JP2011044009A (en) * 2009-08-21 2011-03-03 Fuji Xerox Co Ltd Image forming system, image terminal device and program for the same
JP2011076165A (en) * 2009-09-29 2011-04-14 Brother Industries Ltd Terminal and computer program
JP2014013618A (en) * 2013-10-08 2014-01-23 Ricoh Co Ltd Information processing apparatus and information processing system
JP5585683B1 (en) * 2013-05-01 2014-09-10 富士ゼロックス株式会社 Terminal device, program, and information processing system
JP2015053076A (en) * 2014-11-11 2015-03-19 富士ゼロックス株式会社 Image forming system, image terminal equipment, and program
JP2015176236A (en) * 2014-03-13 2015-10-05 キヤノン株式会社 Information processing device and method
JP2016049669A (en) * 2014-08-29 2016-04-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus and image forming system
JP2016110306A (en) * 2014-12-04 2016-06-20 株式会社日立製作所 Printer management system
JP2018005346A (en) * 2016-06-28 2018-01-11 コニカミノルタ株式会社 Printer driver program
JP2021016139A (en) * 2019-07-16 2021-02-12 キヤノン株式会社 Printing device, control method thereof, and program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218417A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd Information processor and information processing system
JP2010250706A (en) * 2009-04-17 2010-11-04 Canon Inc Printing system and method for creating user interface screen of printer driver executed in printing system
JP2011044009A (en) * 2009-08-21 2011-03-03 Fuji Xerox Co Ltd Image forming system, image terminal device and program for the same
JP2011076165A (en) * 2009-09-29 2011-04-14 Brother Industries Ltd Terminal and computer program
JP5585683B1 (en) * 2013-05-01 2014-09-10 富士ゼロックス株式会社 Terminal device, program, and information processing system
JP2014013618A (en) * 2013-10-08 2014-01-23 Ricoh Co Ltd Information processing apparatus and information processing system
JP2015176236A (en) * 2014-03-13 2015-10-05 キヤノン株式会社 Information processing device and method
JP2016049669A (en) * 2014-08-29 2016-04-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus and image forming system
JP2015053076A (en) * 2014-11-11 2015-03-19 富士ゼロックス株式会社 Image forming system, image terminal equipment, and program
JP2016110306A (en) * 2014-12-04 2016-06-20 株式会社日立製作所 Printer management system
JP2018005346A (en) * 2016-06-28 2018-01-11 コニカミノルタ株式会社 Printer driver program
JP2021016139A (en) * 2019-07-16 2021-02-12 キヤノン株式会社 Printing device, control method thereof, and program
JP7341765B2 (en) 2019-07-16 2023-09-11 キヤノン株式会社 Printing device, its control method and program

Similar Documents

Publication Publication Date Title
US8233179B2 (en) Print management system including management of storage status of print data
JP4101140B2 (en) Image processing apparatus, image processing system, name registration method, name registration program, and recording medium
US8570582B2 (en) Image forming apparatus, image forming apparatus utilization system, and method for generating image data
JP2010055609A (en) Composite machine, method of machine processable job operation, and medium
US8599442B2 (en) Image processing apparatus utilization system and image processing apparatus utilization method for an image processing apparatus utilization system including image processing apparatuses, a scenario generation unit, a scenario storing unit, and an image delivery unit that are connected via a network
JP2008152691A (en) Information processing apparatus, printing apparatus, and network printing system
US9930216B2 (en) Printing system, computer readable recording medium stored with printing device search program, and computer readable recording medium stored with printing device control program for acquiring and displaying information without requiring client terminal authentication
US20110279856A1 (en) Information processing apparatus, cooperative function setting control method, and storage medium
US8738728B2 (en) Information processing apparatus that identifies transmission source, and control method and storage medium therefor
US8773695B2 (en) Data communication apparatus and method of controlling the same
US11681486B2 (en) Information processing apparatus, method of controlling the same, and recording medium for setting a default printing apparatus
US20010029551A1 (en) Server, device, client, information processing method of server, information processing method of device, information processing method of client, information processing program, and memory medium
JP4537326B2 (en) Image processing apparatus and image processing apparatus control method
JP2009069873A (en) Network device system, network device, program, information processing method
JP6998150B2 (en) IPP Scan Directory Service
JP6579013B2 (en) Information processing system, information processing apparatus, information processing method, and program
JP4869033B2 (en) Network device, network device management apparatus, network device control method, network device management method, program, and storage medium
US9667815B2 (en) Information processing system, information processing device, and information processing method
JP7585005B2 (en) Information processing device, image processing device, and method and program for controlling the information processing device
JP2019171829A (en) Image formation apparatus, job acquisition method and printing system
JP4416220B2 (en) Information processing apparatus, information processing method, and computer-readable storage medium
JP2003150348A (en) Print service device
JP4101142B2 (en) Image processing apparatus, image processing system, name registration method, name registration program, and recording medium
JP5439852B2 (en) DEVICE MANAGEMENT DEVICE, DEVICE MANAGEMENT SYSTEM, DEVICE MANAGEMENT METHOD, DEVICE MANAGEMENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP4165340B2 (en) Information processing device