KR20140130855A - Printing device connected to a printer by a network and method for controlling the same - Google Patents

Printing device connected to a printer by a network and method for controlling the same Download PDF

Info

Publication number
KR20140130855A
KR20140130855A KR1020130049343A KR20130049343A KR20140130855A KR 20140130855 A KR20140130855 A KR 20140130855A KR 1020130049343 A KR1020130049343 A KR 1020130049343A KR 20130049343 A KR20130049343 A KR 20130049343A KR 20140130855 A KR20140130855 A KR 20140130855A
Authority
KR
South Korea
Prior art keywords
printer
address
computing device
communication connection
network
Prior art date
Application number
KR1020130049343A
Other languages
Korean (ko)
Inventor
구순자
Original Assignee
엘지전자 주식회사
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 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020130049343A priority Critical patent/KR20140130855A/en
Publication of KR20140130855A publication Critical patent/KR20140130855A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1205Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • G06F3/1231Device related settings, e.g. IP address, Name, Identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1236Connection management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1286Remote printer device, e.g. being remote from client or server via local network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1293Printer information exchange with computer
    • G06F3/1294Status or feedback related to information exchange

Abstract

Disclosed are a computing device connected to a printer with a network and a control method thereof. The control method of the computing device according to an embodiment of the present invention comprises the steps of: receiving a first command which selects printing to a first printer in a user interface; generating printing data in a data generation unit when the first command is received; attempting communication connection to a first IP address of the first printer; and searching a second IP address of the first printer when the communication connection to the first IP address fails.

Description

PRINTING DEVICE CONNECTED TO A PRINTER BY A NETWORK AND METHOD FOR CONTROLLING THE SAME BACKGROUND OF THE INVENTION 1. Field of the Invention < RTI ID = 0.0 >

BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computing device and a control method thereof connected to a printer via a network, and more particularly, to a computing device and a control method thereof for transmitting print data to a network-connected printer.

A plurality of computers can share one printer or a plurality of printers via a network such as a LAN (Local Area Network). Each printer is assigned an IP address. The computer connects the communication to the IP address assigned to the printer and transmits printing data to the printer. The printer forms an image based on the printing data and performs printing.

On the other hand, if the IP address assigned to the printer is changed, a printing error occurs because a communication connection can not be made to the IP address before the change. In this case, there is a problem that the user must go through a troublesome procedure of finding the changed IP address of the printer and then adding the printer port to the changed IP address or directly changing the port information of the printer with the changed IP address.

According to an aspect of the present invention, there is provided a computing device capable of searching for a changed IP address and transmitting print data to a retrieved IP address when the IP address of the printer is changed, and a control method thereof.

According to another aspect of the present invention, there is provided a computing device capable of searching for a changed IP address and resetting a retrieved IP address to port information of a printer when the IP address of the printer is changed, and a control method thereof.

According to another aspect of the present invention, there is provided a computing device capable of performing printing using another printer in the same network when an IP address of the printer is changed, and a control method thereof.

A control method of a computing device according to an embodiment of the present invention includes the steps of: receiving, in a user interface, a first command for selecting printing to a first printer; and, when the first command is received, The method comprising the steps of: generating print data; attempting a communication connection to a first IP address of the first printer; and, when a communication connection to the first IP address fails, .

The method of controlling a computing device according to an embodiment of the present invention includes resetting the searched second IP address to port information of the first printer, attempting to establish a communication connection with the reset second IP address, Transmitting the print data to the first printer when the communication connection to the second IP address is successful, and terminating the communication connection to the second IP address.

The method of controlling a computing device according to one embodiment of the present invention includes the steps of: attempting to establish a communication connection to the searched second IP address; and when the communication connection to the second IP address is successful, And terminating a communication connection to the second IP address.

The method of controlling a computing device according to the embodiment may further include the steps of: receiving, in the user interface, a second command for resetting the second IP address to port information of the first printer; , Resetting the second IP address to port information of the first printer.

Wherein retrieving the second IP address of the first printer comprises receiving network information from at least one printer connected to the same network as the computing device, And may include a MAC address and an IP address.

The step of searching for the second IP address of the first printer may further include the step of matching the MAC address of the first printer stored in the storage unit with the MAC address of the received network information, And receiving a third command for selecting printing to the second printer.

The method of controlling a computing device according to one embodiment of the present invention includes: attempting to establish a communication connection to an IP address of the second printer when the third command is received; The method may further include transmitting the print data to the second printer and terminating a communication connection to the IP address of the second printer.

The step of searching for the second IP address of the first printer may use a UDP (User Datagram Protocol) transmission method.

The method of controlling a computing device according to the embodiment may further include multicasting the retrieved second IP address to at least one other computing device connected to the same network as the computing device.

A computing device according to an embodiment of the present invention includes a user interface for receiving a command, a data generator for generating printing data in accordance with the received command, a network interface for communicating with the at least one printer, A storage unit for storing network information of each of the at least one printer, a first IP address of a first printer previously stored in the storage unit, and a communication link to the detached first IP address, Retrieves the second IP address of the first printer, resets the port information of the first printer to the retrieved second IP address, and transmits the print data to the first printer through the network interface And a control unit for controlling the control unit.

The network information may include a MAC address and an IP address for each of the at least one printer.

According to the computing device and the control method thereof according to the present invention, when the IP address of the printer is changed, the user directly obtains the changed IP address and searches for the changed IP address without changing the port information and transmits the print data to the retrieved IP address Or by resetting the port information of the printer, the convenience of the user can be maximized.

In addition, according to the computing device and the control method thereof according to the present invention, when the IP address of the printer is changed, the convenience of the user can be maximized by performing a printing operation using another printer in the same network.

In addition, according to the computing device and the control method thereof according to the present invention, when the IP address of the printer is changed, the changed IP address is rediscovered in another computing device by multicasting the changed IP address to another computing device in the same network You can avoid troublesome procedures.

1 is a schematic diagram of an overall system according to an embodiment of the present invention.
2 is a functional block diagram of a computing device according to an embodiment of the invention.
3 is a functional block diagram of a printer according to an embodiment of the present invention.
4 is a flow chart illustrating an embodiment of a method of controlling a computing device that transmits print data to a networked printer in accordance with the present invention.
5 is a diagram illustrating an example of a graphical user interface for informing a user of a port information change of a printer according to an embodiment of the present invention.
6 is a flow chart illustrating another embodiment of a method of controlling a computing device that transmits print data to a networked printer in accordance with the present invention.
7 is a diagram illustrating an example of a graphic user interface for notifying a change of port information of a printer according to an embodiment of the present invention.
8 is an illustration of an example of a graphical user interface for selecting transmission of a changed IP address of a printer to another computing device in the same network in accordance with an embodiment of the present invention.
9 is a flowchart illustrating an example of retrieving a changed IP address of a printer according to an embodiment of the present invention.
10 is a diagram illustrating an example of a graphical user interface for receiving a third command according to an embodiment of the present invention.

Hereinafter, the present invention will be described in more detail with reference to the drawings. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and accompanying drawings, but the present invention is not limited to or limited by the embodiments.

As used herein, terms used in the present invention are selected from general terms that are widely used in the present invention while taking into account the functions of the present invention, but these may vary depending on the intention or custom of a person skilled in the art or the emergence of new technologies. In addition, in certain cases, there may be a term arbitrarily selected by the applicant, in which case the meaning thereof will be described in the description of the corresponding invention. Accordingly, it is intended that the terminology used herein should be interpreted relative to the actual meaning of the term rather than the nomenclature, and its scope throughout this specification.

The suffix "module" and "part" for components used in the following description may be used interchangeably.

1 is a schematic diagram of an overall system according to an embodiment of the present invention.

Referring to FIG. 1, an overall system according to an embodiment of the present invention includes at least one computing device 100A, 100B and at least one printer 200A, 200B. Each of the computing devices 100A and 100B shares at least one printer 200A or 200B through a network such as a LAN (Local Area Network). May also be networked between the computing devices 100A and 100B.

The computing device 100A may be referred to as the first computing device 100A, and the computing device 100B may be referred to as the second computing device 100B. And, at least one computing device 100A, 100B may be collectively referred to as a computing device 100. The computing device 100 includes a personal computer, a notebook, a personal digital assistant (PDA), a cellular phone, and the like.

Similarly, the printer 200A can be referred to as a first printer 200A and the printer 200B can be referred to as a second printer 200B. At least one of the printers 200A and 200B may be collectively referred to as a printer 200. [ The printer 200 includes a scanner, a facsimile, a multifunction device, and the like, which forms an image based on printing data received from the computing device 100 and performs printing.

2 is a functional block diagram of a computing device according to an embodiment of the invention. It should be noted that FIG. 2 is one embodiment for explaining the present invention, and it is within the scope of the present invention to delete some configuration modules or add new configuration modules according to needs of those skilled in the art.

2, a computing device 100 according to an exemplary embodiment of the present invention includes a first user interface 110, a first control unit 120, a first network interface 130, a data generation unit 140, A first storage unit 150, and a first display unit 160.

The user can select whether or not to print, print options, and other printing related functions through the first user interface 110. The first user interface 110 may be implemented as a mouse, a keyboard, a keypad, or the like, or may be implemented as an apparatus that simultaneously performs input and output operations such as a touch pad. Also, the first user interface 110 may be implemented in the form of a graphical user interface (GUI) displayed on the first display unit 160.

The data generating unit 140 generates printing data in a form that the printer 200 can process when the first user interface 110 receives a command for selecting a print job from the user.

The first storage unit 150 stores network information of the printer 200 connected to the computing device 100. The network information of the printer 200 may include a name, a MAC address, an IP address, a subnet mask, and the like of the printer 200. When the computing device 100 is connected to a plurality of printers 200 through a network, network information for each of the plurality of printers 200 is stored in the first storage unit 150. In addition, the first storage unit 150 stores data to be printed. The first storage unit 150 may be implemented not only as a storage medium in the computing device 100, but also as an external storage medium, a USB memory, and the like.

The first network interface 130 provides an interface for connecting the computing device 100 with a wired / wireless network including the Internet network. The first network interface 130 may transmit or receive data with the printer 200, other computing devices 100, or other electronic devices over the network. The first network interface 130 may include a parallel port, a serial port, a wireless port, etc. for connecting the computing device 100 to an external device. The first network interface 130 receives the print data from the data generator 140 and transmits the received print data to the printer 200.

The first control unit 120 controls operations of the first user interface 110, the first network interface 130, the data generation unit 140, the first storage unit 150, and the first display unit 160 .

The first control unit 120 controls the printer 200 to transmit the print data to the printer 200 through the first network interface 130 when the print command is received from the first user interface 110. [

Specifically, the first control unit 120 detects the IP address previously stored in the first storage unit 150 with respect to the printer 200 to perform printing, and transmits the detected IP address to the printer 200 through the first network interface 130 Attempts to establish a communication connection to the first IP address. If the communication connection to the first IP address is successful, the first network interface 130 controls the printer 200 to transmit print data. If the IP address of the printer 200 is changed and the communication connection fails, the changed IP address of the printer 200 is searched. The retrieval of the changed IP address can be performed by receiving the network information from the printer 200 through the first network interface 130. [ This will be described in detail later with reference to FIG. 4 to FIG.

The first display unit 160 may display a graphical user interface (GUI) that allows a user to select whether to print, print options, and other printing related functions.

3 is a functional block diagram of a printer according to an embodiment of the present invention. However, FIG. 3 is one embodiment for explaining the present invention, and it is within the scope of the present invention to delete some configuration modules or add new configuration modules according to needs of those skilled in the art.

3, the printer 200 according to an exemplary embodiment of the present invention includes a second storage unit 210, a second control unit 220, a second network interface 230, a data processing unit 240, And a display unit 250.

The second storage unit 210 stores network information of the printer 200 itself. The network information of the printer 200 may include a name, a MAC address, an IP address, a subnet mask, and the like of the printer 200. The second storage unit 210 may be implemented not only as a storage medium in the printer 200 but also as an external storage medium such as a USB memory.

The second network interface 230 provides an interface for connecting the printer 200 to a wired / wireless network including the Internet network. The second network interface 230 may transmit or receive data with the computing device 100, another printer 200, or other electronic device via the network. When the printer 200 is connected to a plurality of computing devices 100, a plurality of computing devices 100 are sharing the printer 200. [

The data processing unit 240 images the print data received from the computing device 100 via the second network interface 230. [

The second display unit 250 may display a current state of the printer 200 or a graphical user interface including a menu or an icon so that the user can select the function of the printer 200. [

The second control unit 220 controls operations of the second storage unit 210, the second network interface 230, the data processing unit 240, and the second display unit 250. The second control unit 220 detects network information of the printer 200 stored in the second storage unit 210 and controls the network information to be transferred to the computing device 100 through the second network interface 230 do.

4 is a flow chart illustrating an embodiment of a method of controlling a computing device that transmits print data to a networked printer in accordance with the present invention. It is also possible to perform supplemental analysis of Fig. 4 with reference to the description of Figs.

Referring to FIG. 4, the computing device 100 according to an embodiment of the present invention receives a first command for selecting printing to the first printer 200A in the first user interface 110 (S410).

When the first command is received, the data generating unit 140 generates print data in a form that the printer 200 can process (S415). The first control unit 120 controls the data generation unit 140 to generate print data upon receipt of the first command. The generated print data is transmitted to the first network interface 130.

The first network interface 130 attempts to establish a communication connection with the first IP address of the first printer 200A (S420). The first IP address is included in the network information of the first printer 200A previously stored in the first storage unit 150 and is set as the port information of the first printer 200A.

The first control unit 120 determines whether communication is established with the first IP address at step S425. If the communication connection to the first IP address fails, the first control unit 120 searches for a second IP address of the first printer 200A (S430). When the IP address of the first printer 200A is changed, the communication connection to the first IP address fails, so that the changed IP address of the first printer 200A is searched. The pre-change IP address of the first printer 200A is referred to as a first IP address, and the changed IP address is referred to as a second IP address.

Specifically, the computing device 100 may request the first printer 200A of the changed IP address. The first printer 200A detects its own second IP address stored in the second storage 210 according to the request of the computing device 100 and transmits the second IP address of the second And transmits the IP address to the computing device 100. The computing device 100 then receives the second IP address via the first network interface 130. [ At this time, data transmission / reception between the computing device 100 and the first printer 200A may be performed using a transmission method such as UDP (User Datagram Protocol) and TCP (Transmission Control Protocol).

When the second IP address of the first printer 200A is received, the received second IP address may be stored in the first storage unit 150. [

The searched second IP address is reset to the port information of the first printer 200A (S435). Then, the first network interface 130 attempts to establish a communication connection with the second IP address (S440).

If the communication connection to the second IP address is successful, the first network interface 130 transmits the print data to the first printer 200A (S445), and ends the communication connection to the second IP address (S450).

The first printer 200A receives the print data through the second network interface 230 and the data processing unit 240 implements the print data by imaging the print data.

If the communication connection to the first IP address is succeeded (S425, S455) as a result of determining that the communication is connected to the first IP address, since the IP address of the first printer 200A is not changed, You do not have to. Accordingly, when the communication to the first IP address is connected, the print data is transmitted to the first printer 200A (S460).

In the past, if the IP address of the printer selected for printing has changed and the communication connection fails, the printing job has been terminated due to a printing error. The user then had to go through a cumbersome process of finding out the changed IP address of the printer and adding the port to the changed IP address or resetting the printer's port information.

However, according to the embodiment of the present invention, when the IP address of the printer selected for printing is changed, the computing device searches for the changed IP address and connects the communication to the retrieved IP address, Convenience can be increased. Especially, when the printer is set as a dynamic IP, the convenience of the user can be maximized.

5 is a diagram illustrating an example of a graphical user interface for informing a user of a port information change of a printer according to an embodiment of the present invention.

5, when the port information of the first printer 200A is changed from the first IP address 168.128.1.99 to the second IP address 168.128.1.100 in step S435 of FIG. 4 A graphical user interface 501 indicating that the change has been made can be displayed. When the user selects the continue print button 510 or the close window menu 520, the graphic user interface 501 is removed from the first display unit 160, and the next step S440 is performed .

5, the graphical user interface 501 is not displayed in step S435 of FIG. 4, and after step S450 of FIG. 4, the first printer 200A A graphical user interface 502 indicating that the port information has been changed from the first IP address 168.128.1.99 to the second IP address 168.128.1.100 may be displayed. The user can remove the graphic user interface 502 from the first display unit 160 by selecting a window close button 530 or a window close menu 540. [

Whether the graphic user interfaces 501 and 502 are displayed or not may vary depending on the environment setting. If the user is not interested in changing specific IP information, the graphical user interface 501, 502 may be configured not to be displayed.

6 is a flow chart illustrating another embodiment of a method of controlling a computing device that transmits print data to a networked printer in accordance with the present invention. It is also possible to perform supplemental analysis of FIG. 6 with reference to the description of FIG. 1 to FIG.

Referring to FIG. 6, the computing device 100 according to another embodiment of the present invention receives, at the first user interface 110, a first command for selecting printing to the first printer 200A (S610).

When the first command is received, the data generating unit 140 generates print data in a form that the printer 200 can process (S615).

The first network interface 130 attempts to establish a communication connection with the first IP address of the first printer 200A (S620). The first IP address is included in the network information of the first printer 200A previously stored in the first storage unit 150 and is set as the port information of the first printer 200A.

The first controller 120 determines whether communication is established with the first IP address in operation S625 and if the communication connection to the first IP address fails, the first controller 200A searches for a second IP address of the first printer 200A (S630).

Specifically, the computing device 100 may request the first printer 200A of the changed IP address. The first printer 200A detects its own second IP address stored in the second storage 210 according to the request of the computing device 100 and transmits the second IP address of the second And transmits the IP address to the computing device 100. The computing device 100 then receives the second IP address via the first network interface 130. [ At this time, data transmission / reception between the computing device 100 and the first printer 200A may be performed using a UDP (User Datagram Protocol) transmission method.

When the second IP address of the first printer 200A is received, the received second IP address may be stored in the first storage unit 150. [

The first network interface 130 attempts to establish a communication connection with the second IP address (S635). If the communication connection to the second IP address is successful, the first network interface 130 transmits the print data to the first printer 200A (S640). When transmission of the print data to the first printer 200A is completed, the communication connection to the second IP address is terminated.

The first printer 200A receives the print data through the second network interface 230 and the data processing unit 240 implements the print data by imaging the print data.

Meanwhile, in the first user interface 110, the computing device 100 receives a second command for resetting the second IP address to the port information of the first printer 100A (S645).

When the second command is received, the second IP address is reset to the port information of the first printer 200A. Thus, when the user subsequently receives a first command to select printing to the first printer 200A, the computing device 100 will attempt to establish a communication connection with the second IP address.

7 is a diagram illustrating an example of a graphic user interface for notifying a change of port information of a printer according to an embodiment of the present invention.

Referring to FIG. 7A, in step S645 of FIG. 6, the computing device 100 may display a graphical user interface 701 for receiving the second command. When the user selects the OK button 710, the second IP address is reset to the port information of the first printer 200A.

When the second IP address is reset to the port information of the first printer 200A, a graphical user interface 702 for notifying the change of the port information of the printer may be displayed as shown in FIG. 7B. The user can remove the graphic user interface 702 from the first display unit 160 by selecting the window close button 740 or the window close menu 750. [

In the graphic user interface 701 shown in FIG. 7A, when the user selects the cancel button 720 or the window close menu 730, the port information of the first printer 200A is not changed. Accordingly, when the first IP address is still set to the port information of the first printer 200A, when printing is performed using the first printer 200A, the changed IP address of the first printer 200A The search process will be performed again.

Referring again to FIG. 6, if it is determined that communication is established with the first IP address (S625, S655), the IP address of the first printer 200A is not changed It is not necessary to search for the changed IP address. Accordingly, when the communication to the first IP address is connected, the print data is transmitted to the first printer 200A (S660).

According to an embodiment, the computing device 100 may send the changed IP address of the printer 200 to another computing device 100 in the same network. A plurality of computing devices 100 connected by the same network are provided with a monitoring program for monitoring their statuses. And transmits and receives information packets between the computing devices 100 through the first network interface 130 while the monitoring program is executed. The information packet includes IP information of the printer 200 that the computing devices 100 share. Such an information packet can be transmitted and received by unicasting, multicasting, broadcasting, or the like.

For example, if the first computing device 100A knows that the IP address of the first printer 200 has been changed from the first IP address to the second IP address, 2 computing device < RTI ID = 0.0 > 100B. ≪ / RTI > The transmission of the second IP address may be performed upon receipt of the second IP address from the first printer 200A in the search of the second IP address of the first printer 200A, Or at any time after the search. The transmission of the second IP address may be made concurrently with the printing related operation of the first computing device 100A or other operations.

8 is an illustration of an example of a graphical user interface for selecting transmission of a changed IP address of a printer to another computing device in the same network in accordance with an embodiment of the present invention.

Referring to FIG. 8, the first control unit 120 of the computing device 100 may control the graphic user interface 800 to be displayed through the first display unit 160.

The user clicks the selection item 810 to select a computing device to which to transmit the second IP address of the first printer 200A. Then, when the OK button 820 is selected, the second IP address of the first printer 200A is transmitted to another computing device 100 in the same network. Accordingly, when the first command for selecting printing to the first printer 200A is received, the computing devices 100 receiving the second IP address search for the changed IP address of the first printer 200A It is possible to directly attempt to establish a communication connection with the second IP address without performing the step of performing the above step.

9 is a flowchart illustrating an example of retrieving a changed IP address of a printer according to an embodiment of the present invention. The steps shown in FIG. 9 may be performed in step S430 of FIG. 4 or step S630 of FIG.

Referring to FIG. 9, the computing device 100 according to an exemplary embodiment of the present invention receives network information from at least one printer 200 connected to the same network (S910). The first network interface 130 receives the network information of the printer 200 from the second network interface 230 of the printer 200. That is, the computing device 100 not only receives network information from the selected first printer 200A but also receives network information from the other printer 200 when another printer 200 connected to the same network exists can do. At this time, the received network information includes a MAC address and an IP address for each of the printers 200. [ At this time, data transmission / reception between the computing device 100 and the printer 200 can be performed using a transmission method such as UDP (User Datagram Protocol) and TCP (Transmission Control Protocol).

When the network information is received, the first controller 120 of the computing device 100 transmits the MAC address previously stored in the first storage unit 150 to the selected first printer 200A and the MAC address The addresses are compared (S920).

As a result of the comparison, if the MAC address previously stored in the first storage unit 150 and the MAC address in the received network information are the same for the selected first printer 200A, the received network information is transmitted to the first printer 200A, The IP address in the received network information becomes the second IP address of the first printer 200A. Therefore, the flow returns to step S435 of FIG. 4 or step S635 of FIG. 6, and subsequent steps may be performed.

As a result of comparison, if the MAC address previously stored in the first storage unit 150 and the MAC address in the received network information are the same for the selected first printer 200A, the printer connected to the same network as the computing device 100 The printer 200 connected to the same network as the computing device 100 may receive the network information from the first printer 200A only when the first printer 200A exists in the first printer 200A, The present invention can also be applied to a case where at least one network other than the network 200A is present and a plurality of pieces of network information are received.

If the MAC address previously stored in the first storage unit 150 is different from the MAC address in the received network information for the selected first printer 200A as a result of the comparison, (Step S930). The third command is a command to select the printing to the printer 200B. If the MAC address previously stored in the first storage unit 150 is different from the MAC address in the received network information for the selected first printer 200A, the received network information is stored in the network information of the first printer 200A . The second printer 200B is a printer that matches the MAC address in the received network information.

The step S930 of receiving the third command may not receive the network information from the first printer 200A because the selected first printer 200A can not be used at present and may not receive the network information from the same network as the computing device 100 The network information may be received only from another printer 200 connected to the network. That is, if the user fails to establish a communication connection with the first printer 200A, the user can select another alternative printer 200 connected to the same network and finish the print job. At this time, when there are a plurality of different printers 200 matching the network information received by the computing device 100, a command for selecting one of the plurality of printers 200 to be printed to the printer 200 It may correspond to the third command.

10 is a diagram illustrating an example of a graphical user interface for receiving a third command according to an embodiment of the present invention.

Referring to FIG. 10, in step S930 of FIG. 9, the computing device 100 may display a graphical user interface 900 for receiving the third command.

The graphical user interface 900 may include the name, status, and IP address of the printers 200 connected to the same network as the computing device 100. The printers 200 are printers 200 that match the network information received in step S910 of FIG.

When the user selects the expand button 910, a list of printers 200 associated with the computing device 100 appears. In FIG. 10, the user selects the second printer 200 as an example.

The computing device 100 receives the third command by selection of an OK button 920. [ When the user selects the cancel button 930 or the window close menu 940, the print job is interrupted.

9, when the third command for selecting printing to the second printer 200B is received, the computing device 100 transmits the IP address of the second printer 200B to the IP address of the second printer 200B in the received network information Communication connection is attempted (S940). If the third command is received, step S940 of FIG. 9 is performed without returning to the step after the second IP address search shown in FIG. 4 or FIG.

The first network interface 130 transmits the print data to the second printer 200B (S950), and the second printer 200B transmits the print data to the second printer 200B The communication connection to the IP address of the terminal is terminated (S960).

The second printer 200B receives the print data through the second network interface 230 and implements the print by imaging the print data in the data processing unit 240. [

The apparatus and the control method according to embodiments of the present invention may be implemented in other embodiments by combining the above-described drawings and drawings or by combining matters obvious to those skilled in the art, which also belong to the scope of the present invention.

Meanwhile, the method of operating the electronic device of the present invention can be implemented as a code that can be read by a processor on a recording medium readable by the processor included in the electronic device. The processor-readable recording medium includes all kinds of recording apparatuses in which data that can be read by the processor is stored. Examples of the recording medium readable by the processor include a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like, and may also be embodied in the form of a carrier wave such as transmission over the Internet do. In addition, the processor-readable recording medium may be distributed over network-connected computer systems so that code readable by the processor in a distributed fashion can be stored and executed.

While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the present invention.

100: computing device 110: first user interface
120: first control unit 130: first network interface
140: Data generation unit 150: First storage unit
160: first display unit 200: printer
210: second storage unit 220:
230: second network interface unit 240: data processing unit
250: second display portion

Claims (11)

A control method of a computing device for transmitting printing data to a networked printer,
Receiving, at the user interface, a first command for selecting printing to the first printer;
Generating print data in the data generation unit when the first command is received;
Attempting a communication connection to a first IP address of the first printer; And,
Searching for a second IP address of the first printer when a communication connection to the first IP address fails;
≪ / RTI >
The method according to claim 1,
Resetting the searched second IP address to port information of the first printer;
Attempting a communication connection to the reset second IP address;
Transmitting the print data to the first printer when a communication connection to the second IP address is successful;
Terminating a communication connection to the second IP address;
Further comprising the steps of:
The method according to claim 1,
Attempting a communication connection to the searched second IP address;
Transmitting the print data to the first printer when a communication connection to the second IP address is successful;
Terminating a communication connection to the second IP address;
Further comprising the steps of:
The method of claim 3,
Receiving, at the user interface, a second command for resetting the second IP address to port information of the first printer;
Resetting the second IP address to port information of the first printer when the second command is received;
Further comprising the steps of:
The method according to claim 1,
Wherein the step of retrieving the second IP address of the first printer comprises:
Receiving network information from at least one printer connected to the same network as the computing device,
Wherein the network information includes a MAC address and an IP address for each of the at least one printer.
6. The method of claim 5,
Wherein the step of retrieving the second IP address of the first printer comprises:
If the MAC address of the first printer previously stored in the storage unit is different from the MAC address in the received network information, a third command for selecting printing to a second printer matching the MAC address in the received network information is received ;
Further comprising the steps of:
The method according to claim 6,
If the third command is received, attempting to establish a communication connection to the IP address of the second printer;
Transmitting the print data to the second printer when a communication connection to the IP address of the second printer is succeeded;
Ending a communication connection to an IP address of the second printer;
Further comprising the steps of:
6. The method of claim 5,
Wherein the step of retrieving the second IP address of the first printer uses a UDP (User Datagram Protocol) transmission method.
The method according to claim 1,
Multicasting the retrieved second IP address to at least one other computing device connected to the same network as the computing device;
Further comprising the steps of:
CLAIMS What is claimed is: 1. A computing device connected over a network with at least one printer,
A user interface for receiving a command;
A data generating unit generating printing data according to the received command;
A network interface in communication with the at least one printer;
A storage unit for storing network information of each of the at least one printer;
A first IP address of a first printer previously stored in the storage unit; a second IP address of the first printer when a communication connection to the detached first IP address fails; And resetting port information of the first printer to a second IP address and transmitting the print data to the first printer via the network interface.
11. The method of claim 10,
Wherein the network information includes a MAC address and an IP address for each of the at least one printer.
KR1020130049343A 2013-05-02 2013-05-02 Printing device connected to a printer by a network and method for controlling the same KR20140130855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130049343A KR20140130855A (en) 2013-05-02 2013-05-02 Printing device connected to a printer by a network and method for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130049343A KR20140130855A (en) 2013-05-02 2013-05-02 Printing device connected to a printer by a network and method for controlling the same

Publications (1)

Publication Number Publication Date
KR20140130855A true KR20140130855A (en) 2014-11-12

Family

ID=52452487

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130049343A KR20140130855A (en) 2013-05-02 2013-05-02 Printing device connected to a printer by a network and method for controlling the same

Country Status (1)

Country Link
KR (1) KR20140130855A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3770746A1 (en) * 2019-07-26 2021-01-27 Canon Kabushiki Kaisha Information processing apparatus, and control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3770746A1 (en) * 2019-07-26 2021-01-27 Canon Kabushiki Kaisha Information processing apparatus, and control method
CN112306430A (en) * 2019-07-26 2021-02-02 佳能株式会社 Information processing apparatus and control method
US11416190B2 (en) 2019-07-26 2022-08-16 Canon Kabushiki Kaisha Information processing apparatus, control method, and non-transitory computer-readable storage medium storing program
CN112306430B (en) * 2019-07-26 2024-02-13 佳能株式会社 Information processing apparatus, control method, and computer program

Similar Documents

Publication Publication Date Title
US10667303B2 (en) Communication apparatus and control method thereof
US8788594B2 (en) Data processing apparatus and data processing system
CN105306768B (en) Information processing unit and its control method
US7827235B2 (en) Service providing system, service providing method, and program of the same
JP5714849B2 (en) System and method for communicating with a network of printers using a mobile device
JP6152767B2 (en) Function execution equipment and portable devices
US20120019864A1 (en) Method and arrangement for detecting printers, a corresponding computer program, and a corresponding computer-readable storage medium
US20150181054A1 (en) Execution instructing apparatus, execution instructing method, and storage medium
US9055172B2 (en) Communication apparatus, method for controlling the same, storage medium, and printing apparatus
EP3291509B1 (en) Information processing device and non-transitory recording medium
US20150052235A1 (en) Information processing apparatus and method for controlling the same
JP6560559B2 (en) Information processing apparatus, information processing apparatus control method, and program
US8762558B2 (en) Communication system, server, communication method, and storage medium
JP5929107B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
JP2015153225A (en) Print instruction support device, printing system, and program
US8738728B2 (en) Information processing apparatus that identifies transmission source, and control method and storage medium therefor
JP2016045575A (en) Printing system, information processor, control method of information processor, and program
US20110164615A1 (en) Device search apparatus and method, and device search server, device search system, and storage medium
JP2018186395A (en) Program and portable terminal
US20210336924A1 (en) Device management apparatus, device management system, and device management method
US8761615B2 (en) Image forming apparatus, host device and print controlling method
JP5725707B2 (en) Information processing apparatus, information processing apparatus control method, and program
KR20140130855A (en) Printing device connected to a printer by a network and method for controlling the same
JP4877127B2 (en) Print client and printer search method.
JP6119187B2 (en) Management device, address information management program, and address information management system

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination