JP2007140957A - Print control unit - Google Patents

Print control unit Download PDF

Info

Publication number
JP2007140957A
JP2007140957A JP2005334509A JP2005334509A JP2007140957A JP 2007140957 A JP2007140957 A JP 2007140957A JP 2005334509 A JP2005334509 A JP 2005334509A JP 2005334509 A JP2005334509 A JP 2005334509A JP 2007140957 A JP2007140957 A JP 2007140957A
Authority
JP
Japan
Prior art keywords
printer
address
print control
printing
mac address
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.)
Withdrawn
Application number
JP2005334509A
Other languages
Japanese (ja)
Inventor
Hiroshi Okubo
洋志 大久保
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005334509A priority Critical patent/JP2007140957A/en
Publication of JP2007140957A publication Critical patent/JP2007140957A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To allow print without changing the port setting of a printer driver, which is set in a user's PC when IP address setting is changed by a third person. <P>SOLUTION: MAC address information of a printer is preserved in installing the driver. Based on the information, the IP address of the printer with the IP address changed therein is detected when the subsequent print is performed, so that the print is enabled by automatically setting the IP address. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、プリンタドライバをインストールする際にプリンタのMACアドレス情報を取得し、そのMACアドレス情報をある場所に格納しておき、仮に第三者のユーザがプリンタのIPアドレスを変更したことによって、プリンタドライバから印刷が出来なくなった場合等においてもユーザが手動でポートの変更しなくてもインストール時に管理されているプリンタのMACアドレス情報を基にIPアドレスが変更されたプリンタのIPアドレスを取得して自動的にそのプリンタへの印刷や情報取得を可能にするための印刷制御装置に関するものでもある。   The present invention acquires the MAC address information of the printer when installing the printer driver, stores the MAC address information in a certain location, and if a third party user changes the IP address of the printer, Even when printing from the printer driver is disabled, the IP address of the printer whose IP address has been changed is acquired based on the MAC address information of the printer managed at the time of installation without the user having to manually change the port. The present invention also relates to a print control apparatus for automatically enabling printing to the printer and information acquisition.

従来第三者がプリンタのIPアドレスを変更した場合においては、ユーザが手動でポートの変更を行う必要があった。また、従来技術においては、IPアドレスをDHCPに設定していた場合には、変更されたアドレスをDHCPサーバに問い合わせることで解決できていた。   Conventionally, when a third party changed the IP address of a printer, the user had to change the port manually. In the prior art, when the IP address is set to DHCP, it can be solved by inquiring the changed address to the DHCP server.

従来の技術でプリンタドライバのポートを自動的に変更する処理には、DHCPサーバを利用したものがある(例えば、特許文献1参照。)。また、通信環境を容易にすることに配慮しているものがある(例えば、特許文献2参照。)。
特開2001−326656号公報 特開2004−074458号公報
A process for automatically changing the port of a printer driver according to a conventional technique uses a DHCP server (see, for example, Patent Document 1). In addition, there is one that considers making the communication environment easy (see, for example, Patent Document 2).
JP 2001-326656 A JP 2004-074458 A

然しながら、上述の従来例では、DHCPサーバがない場合の固定IPアドレスが設定されている場合においては、変更されたプリンタのIPアドレスを取得し、自動的にそのIPアドレスで印刷を可能にすることができなかった。また、ユーザが手動でポートの設定を変更しなければならない課題もある。   However, in the above-described conventional example, when a fixed IP address is set when there is no DHCP server, the IP address of the changed printer is acquired and printing can be automatically performed using the IP address. I could not. There is also a problem that the user must manually change the port settings.

本発明は、下記構成を備えることにより上記課題を解決できるものである。   This invention can solve the said subject by providing the following structure.

(1)ネットワーク環境において、あるユーザがデバイスのネットワークアドレス(IPアドレス等)を変更したことによって、今まで印刷や双方向通信が可能だったプリンタドライバが使用できなくなる状況(通信ができなくなったこと)を検知する検知手段を備えることを特徴とする印刷制御装置。   (1) In a network environment, when a user changes the network address (IP address, etc.) of a device, the printer driver that has been capable of printing and bidirectional communication can no longer be used (communication is no longer possible) A printing control apparatus comprising a detecting means for detecting ().

(2)前記記載の印刷制御装置において、通信不可となったプリンタドライバのポートを以前使用していたプリンタのMACアドレス情報を基にIPアドレスが変更されたプリンタを検出し、自動的に通信可能なポートに切り替えて印刷や情報取得を可能にするポートの自動切り替え処理手段を備えることを特徴とする印刷制御装置。   (2) In the print control device described above, the printer whose IP address has been changed based on the MAC address information of the printer that previously used the port of the printer driver that became unable to communicate can be detected and automatically communicated A printing control apparatus comprising an automatic port switching processing unit that enables printing and information acquisition by switching to a different port.

(3)前記請求項1又は、請求項2記載の印刷制御装置において、プリンタドライバインストール時にプリンタのMACアドレス情報を取得する取得手段とそのプリンタのMACアドレス情報を格納する格納手段を備えることを特徴とする印刷制御装置。   (3) The print control apparatus according to claim 1 or 2, further comprising an acquisition unit that acquires the MAC address information of the printer when the printer driver is installed, and a storage unit that stores the MAC address information of the printer. The printing control device.

本発明は、DHCPサーバがない場合の固定IPアドレスが設定されている場合においてもプリンタのMACアドレス情報をもとに変更されたプリンタのIPアドレスを取得し、自動的にそのIPアドレスで印刷を可能とすることで、プリンタドライバのポート設定をユーザが手動でポートの設定を変更しなければならないユーザの操作を軽減できることになる。   Even when a fixed IP address is set when there is no DHCP server, the present invention acquires the changed printer IP address based on the MAC address information of the printer, and automatically prints with the IP address. By making it possible, it is possible to reduce a user's operation that requires the user to manually change the port setting of the printer driver.

以下、図面を参照して本発明の実施の形態を説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1における符号1は、装置全体の制御を行う制御部で、マイクロプロセッサなどの中央演算処理装置(以下、CPUという)や各種I/Oポートを備え、各部に制御信号やデータ信号などを出力したり、後述の各部からの制御信号やデータ信号を入力して制御を行っている。符号2は、図2に示す手順のプログラム、システムプログラムやマネージャプログラムおよびその他のアプリケーションプログラム等や文字フォント及び辞書などを記憶する読み出し専用メモリ(ROM)である。符号3は、外部に増設された読み出し専用メモリ(外部ROM)4からロードされたアプリケーションプログラムや文書情報などを記憶する読み書き可能なメモリ(RAM)である。符号5は、文書情報や各種コマンドなどを入力するキーボード6を制御するキーボード制御装置(以下、KBCという)である。符号7は、例えば、液晶などを利用した平面または略平面の表示領域を有するフラットパネルなどの表示装置(表示手段;以下、CRTという)8を制御する表示制御装置(以下、CRTCという)である。符号9は、外部記憶装置としてのフレキシブルディスク駆動装置(以下、FDDという)10やハードディスク駆動装置(以下、HDDという)11を制御する周辺装置制御装置(以下、PKCという)である。なお、上記FDD10または、HDD11に図2に示す手順のプログラムを記憶させてもよい。符号12は、ヘッドを用いて画像形成を行うプリント装置(以下、PRTという)である。このPRT12は、本発明の印刷制御装置の一部を構成する要素である。符号13は、マウス等のポインティングデバイス(以下、PDという)であり、上記CRT8上の表示を選択的に指示するのに用いることができる。かかる特定手段と上述の表示手段とは、スピード印刷を選定する選定手段を構成する。   Reference numeral 1 in FIG. 1 denotes a control unit that controls the entire apparatus, which includes a central processing unit (hereinafter referred to as a CPU) such as a microprocessor and various I / O ports, and outputs control signals and data signals to each unit. In addition, control is performed by inputting control signals and data signals from various parts described later. Reference numeral 2 denotes a read-only memory (ROM) for storing a program of the procedure shown in FIG. 2, a system program, a manager program, other application programs, a character font, a dictionary, and the like. Reference numeral 3 denotes a readable / writable memory (RAM) that stores application programs, document information, and the like loaded from a read-only memory (external ROM) 4 that is added to the outside. Reference numeral 5 denotes a keyboard control device (hereinafter referred to as KBC) that controls the keyboard 6 for inputting document information and various commands. Reference numeral 7 denotes a display control device (hereinafter referred to as CRTC) that controls a display device (display means; hereinafter referred to as CRT) 8 such as a flat panel having a flat or substantially flat display area using liquid crystal or the like. . Reference numeral 9 denotes a peripheral device controller (hereinafter referred to as PKC) that controls a flexible disk drive (hereinafter referred to as FDD) 10 and a hard disk drive (hereinafter referred to as HDD) 11 as an external storage device. Note that the program of the procedure shown in FIG. 2 may be stored in the FDD 10 or the HDD 11. Reference numeral 12 denotes a printing apparatus (hereinafter referred to as PRT) that forms an image using a head. This PRT 12 is an element constituting a part of the print control apparatus of the present invention. Reference numeral 13 denotes a pointing device (hereinafter referred to as PD) such as a mouse, which can be used for selectively instructing display on the CRT 8. The specifying unit and the display unit described above constitute a selection unit that selects speed printing.

図1に示した印刷制御装置においては、ROM2、PRT12、HDD11あるいは、RAM3上にプログラムが存在しており、制御部1がシステムバス14を通じて逐次プログラムを読み出しながら目的の処理を行うように設定されている。   In the print control apparatus shown in FIG. 1, a program exists on the ROM 2, PRT 12, HDD 11, or RAM 3, and the control unit 1 is set to perform a desired process while sequentially reading the program through the system bus 14. ing.

次に図2(a)は、ネットワーク接続されているプリンタとPCが通信可能であることを示すブロック図であり、図2(b)は、ネットワーク接続されているプリンタ1のIPアドレスを変更した際に通信不可となったことを示すブロック図である。また、本発明によれば、例えば、PCやプリンタのIPアドレスが全て変わるような(引越し作業等)場合においても(サブネットが変わる場合など)、PCのアドレス解決が行えていれば印刷を可能にできることになる。   Next, FIG. 2A is a block diagram showing that the printer connected to the network and the PC can communicate with each other, and FIG. 2B changes the IP address of the printer 1 connected to the network. It is the block diagram which shows that communication became impossible at the time. Further, according to the present invention, for example, even when the IP addresses of PCs and printers all change (moving work etc.) (such as when the subnet changes), printing can be performed if the PC address resolution can be performed. It will be possible.

次に図3〜図5の処理工程を示すフローチャートを用いて、目的の印刷処理手順、作用などを説明する。   Next, with reference to flowcharts showing the processing steps of FIGS.

図3は、プリンタドライバをインストールする際の一連動作を示すフローチャート図であり、プリンタドライバインストール時にステップ311において、ネットワークに接続されているプリンタの検索処理を行う。次にステップ312において検索されたプリンタの中からユーザがどのプリンタのドライバをインストールするか選択を行い、そのプリンタのドライバをインストールする処理を示す。ステップ313において、ステップ311で取得したプリンタのMACアドレス情報とIPアドレス情報を格納しておき、その情報を基に印刷を可能にする。   FIG. 3 is a flowchart showing a series of operations when installing the printer driver. In step 311, the printer connected to the network is searched for when the printer driver is installed. Next, processing for selecting a printer driver to be installed by the user from the printers searched in step 312 and installing the printer driver is shown. In step 313, the printer MAC address information and IP address information acquired in step 311 are stored, and printing is enabled based on the information.

図4は、実際にユーザが印刷を行った際のPCの内部での動作処理を示すフローチャート図である。ステップ411において、印刷を行う前に実際にユニキャストに通信による双方向通信可能かどうか判断する。仮に通信可能である場合は、印刷可能と判断できるため、ステップ416に進み従来通りに対象プリンタへデータを送信する。仮に通信不可と判断された場合は、ステップ412に進み、ステップ313で格納しておいた情報を取得する。次にステップ413においてステップ412で取得したMACアドレス情報を基に全機種に対してデータを送信し、プリンタから返答を待つ。仮にIPアドレスが変わった場合には、そのプリンタは、PCに対して切り替わったIPアドレスとMACアドレスをPCに対して返却することになる。例えば、図2に示すようにユーザがプリンタのIPアドレスを変更した場合やDHCPサーバにより自動でIPアドレスを割り当てていて、DHCPサーバからIPアドレスがリースされた場合もこのようなケースにあたる。また、PCやプリンタのIPアドレスが全て変わるような(引越し作業等)場合においても(サブネットが変わる場合など)同じ事が言える。ステップ414では、ステップ413において、プリンタから取得したデータを基にIPアドレスを取得する。ステップ415では、ステップ414において取得したIPアドレスを設定する。ステップ416では、プリンタにデータを送信する。   FIG. 4 is a flowchart showing an operation process inside the PC when the user actually performs printing. In step 411, it is determined whether or not bi-directional communication by unicast communication is actually possible before printing. If communication is possible, it can be determined that printing is possible, and the process proceeds to step 416, where data is transmitted to the target printer as before. If it is determined that communication is impossible, the process proceeds to step 412 and the information stored in step 313 is acquired. In step 413, data is transmitted to all models based on the MAC address information acquired in step 412, and a response from the printer is awaited. If the IP address changes, the printer returns the IP address and MAC address switched to the PC to the PC. For example, as shown in FIG. 2, the case where the user changes the IP address of the printer, or when the IP address is automatically assigned by the DHCP server and the IP address is leased from the DHCP server, is also the case. The same can be said when the IP addresses of PCs and printers all change (moving work etc.) (when the subnet changes). In step 414, an IP address is acquired based on the data acquired from the printer in step 413. In step 415, the IP address acquired in step 414 is set. In step 416, data is transmitted to the printer.

図5は、ステップ413での対象プリンタの検出処理を詳細に示すフローチャート図であり、ステップ511では、ユニキャスト通信できない状態においても(未設定状態のデバイス等)プリンタの検出が行えるパケットを送信することを示す。ステップ512では、プリンタからのデータを受信処理することを示す。ステップ513は、ステップ512で受信したデータからIPアドレス情報やMACアドレス情報を抽出する処理を示し、ステップ414と同等の処理であることを示す。以上列挙した処理により、プリンタのIPアドレスがどのような値に変わっていても、ユーザが手動でIPアドレスを変更する必要はなくなり、自動的にユーザが送信したいプリンタへの印刷が実現できることになる。   FIG. 5 is a flowchart showing in detail the target printer detection process in step 413. In step 511, a packet capable of detecting the printer is transmitted even in a state where unicast communication is not possible (such as an unconfigured device). It shows that. In step 512, reception processing of data from the printer is indicated. Step 513 shows processing for extracting IP address information and MAC address information from the data received in step 512, and shows that the processing is equivalent to step 414. With the processes listed above, it is not necessary for the user to manually change the IP address regardless of the value of the IP address of the printer, and printing to the printer that the user wants to send can be realized automatically. .

本発明の印刷制御装置の一実施形態を示すブロック図である。1 is a block diagram illustrating an embodiment of a print control apparatus of the present invention. IPアドレスを変更した際に通信不可になる状況を示すブロック図である。It is a block diagram which shows the condition where communication becomes impossible when an IP address is changed. プリンタドライバをインストールする際の一連動作を示すフローチャート図である。FIG. 9 is a flowchart illustrating a series of operations when installing a printer driver. 印刷処理が行われた際の動作処理を示すフローチャート図である。It is a flowchart figure which shows the operation | movement process at the time of a printing process being performed. 対象プリンタの検出処理を示すフローチャート図である。It is a flowchart figure which shows the detection process of the object printer.

符号の説明Explanation of symbols

1 制御部(ヘッド制御手段)
2 ROM
3 RAM
4 外部ROM
5 キーボード制御装置
6 キーボード(特定手段)
7 表示制御装置
8 表示装置(表示手段)
9 周辺装置制御装置
10 フレキシブルディスク
11 ハードディスク
12 プリント装置
13 ポインティングデバイス
1 Control unit (head control means)
2 ROM
3 RAM
4 External ROM
5 Keyboard control device 6 Keyboard (specific means)
7 Display control device 8 Display device (display means)
9 Peripheral device control device 10 Flexible disk 11 Hard disk 12 Printing device 13 Pointing device

Claims (3)

ネットワーク環境において、デバイスのネットワークアドレスが変わったことによって、今まで印刷や双方向通信が可能だったプリンタドライバが使用できなくなる状況で通信ができなくなることを検知する検知手段を備えることを特徴とする印刷制御装置。   In the network environment, there is provided a detecting means for detecting that communication cannot be performed in a situation where the printer driver that has been capable of printing and bidirectional communication becomes unavailable due to a change in the network address of the device. Print control device. 請求項1に記載の印刷制御装置において、通信不可となったプリンタドライバのポートを以前使用していたプリンタのMACアドレス情報を基に、IPアドレスが変更されたプリンタを検出し、自動的に通信可能なポートにきりかえて印刷や情報取得を可能にするポートの自動切り替え処理手段を備えることを特徴とする印刷制御装置。   2. The print control apparatus according to claim 1, wherein a printer whose IP address has been changed is detected and automatically communicated based on the MAC address information of the printer that previously used the port of the printer driver that has become unable to communicate. A print control apparatus comprising a port automatic switching processing means that enables printing and information acquisition in place of possible ports. 前記請求項1又は、請求項2に記載の印刷制御装置において、プリンタドライバインストール時にプリンタのMACアドレス情報を取得する取得手段とそのプリンタのMACアドレス情報を格納する格納手段を備えることを特徴とする印刷制御装置。   3. The print control apparatus according to claim 1, further comprising an acquisition unit that acquires the printer MAC address information and a storage unit that stores the printer MAC address information when the printer driver is installed. Print control device.
JP2005334509A 2005-11-18 2005-11-18 Print control unit Withdrawn JP2007140957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005334509A JP2007140957A (en) 2005-11-18 2005-11-18 Print control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005334509A JP2007140957A (en) 2005-11-18 2005-11-18 Print control unit

Publications (1)

Publication Number Publication Date
JP2007140957A true JP2007140957A (en) 2007-06-07

Family

ID=38203725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005334509A Withdrawn JP2007140957A (en) 2005-11-18 2005-11-18 Print control unit

Country Status (1)

Country Link
JP (1) JP2007140957A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009099093A (en) * 2007-10-19 2009-05-07 Brother Ind Ltd Management program, information processor and information processing system
JP2011076165A (en) * 2009-09-29 2011-04-14 Brother Industries Ltd Terminal and computer program
US8531689B2 (en) 2009-12-17 2013-09-10 Murata Machinery Ltd. Image forming device
CN112187964A (en) * 2020-08-31 2021-01-05 北京三快在线科技有限公司 IP address modification method and device, electronic equipment and computer readable medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009099093A (en) * 2007-10-19 2009-05-07 Brother Ind Ltd Management program, information processor and information processing system
JP2011076165A (en) * 2009-09-29 2011-04-14 Brother Industries Ltd Terminal and computer program
US8605299B2 (en) 2009-09-29 2013-12-10 Brother Kogyo Kabushiki Kaisha Terminal and computer program
US8531689B2 (en) 2009-12-17 2013-09-10 Murata Machinery Ltd. Image forming device
CN112187964A (en) * 2020-08-31 2021-01-05 北京三快在线科技有限公司 IP address modification method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
US7619765B2 (en) Client server system, information processing apparatus and control method therefor, and program for executing the control method
JP2005100270A (en) Printing control program and printer
US20110138081A1 (en) Network-connected apparatus and network connection method
US20120002222A1 (en) Control device
JP2006350437A (en) Print controller, print control system, print control method, print control program and recording medium
JP6108868B2 (en) Printing apparatus, printing apparatus control method, and program
JP2010186458A (en) Program, recording medium, and information processing apparatus
KR101315456B1 (en) Host apparatus connected to image forming apparatus, image forming system and modifying method of background for image forming apparatus
JP4886665B2 (en) Image forming apparatus, network printer system, and department management method for network printer system
JP7361848B2 (en) Printing control device, control method and program
JP2007140957A (en) Print control unit
JP2016224731A (en) Information processing apparatus, information processing method, and computer program
JP6882060B2 (en) Information processing device, driver installation method and program
JP3821138B2 (en) Port setting changing device, port setting changing control program, and port setting changing method
JP2011107892A (en) Information processing apparatus, method for controlling information processing apparatus, and computer program
US20110149342A1 (en) Communication apparatus and method of controlling the same
US8810817B2 (en) Storage medium in which information processing program is stored, information processing apparatus, and information processing system
JP6386741B2 (en) Information processing apparatus, control method, and program
JP2005267088A (en) Peripheral equipment driver, peripheral equipment controller and method for updating peripheral equipment driver
EP1936924A1 (en) Method of setting up port of network printing device automatically and network printing device thereof
JP2011107891A (en) Information processor, method for controlling the same, and computer program therefor
JP2003264556A (en) Device and program for setting address
JP2009099027A (en) Installation method, program and computer
US20200142652A1 (en) Image forming system, information processing device, and non-transitory computer-readable recording medium for information processing device
JP2016201001A (en) Printer driver program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090203