Patent ID: 8243310

Claim:
An image forming device configured to receive print data from a client via a network and process the print data, comprising: a processor comprising: a print request receiving unit configured to receive a print request transmitted by the client with a protocol through a port of the image forming device; a protocol specifying unit configured to specify a kind of the protocol used in the transmission of the print request; a destination information determining unit configured to determine destination information representing a destination to which the print data are to be sent, based on the protocol of the kind specified by the protocol specifying unit; a destination information sending unit configured to send the destination information to the client with the protocol of the specified kind; a port number specifying unit configured to specify a port number of the port for receiving the print request therethrough; and a port number determining unit configured to determine a port number of a port for receiving the print data therethrough based on the port number specified by the port number specifying unit; wherein the destination information determining unit includes a port number adding unit configured to incorporate the port number determined by the port number determining unit into the destination information determined by the destination information determining unit; wherein the port number determining unit determines a port number different from the port number of the port for receiving the print request therethrough as the port number of the port for receiving the print data therethrough; wherein the processor further comprises a print process executing unit configured to execute a print process for waiting for a connection to be established with the port number determined by the port number determining unit so as to receive the print data from the client; wherein the processor further comprises a first processing unit and a second processing unit the first processing unit comprising the print request receiving unit the protocol specifying unit, the destination information determining unit, the destination information sending unit, the port number specifying unit and the port number determining unit, and the second processing unit comprising the print process executing unit; wherein the second processing unit is configured to be launched by the first processing unit in response to the destination information determining unit determining the destination information, the second processing unit being further configured to receive the print data sent to the destination represented by the destination information; and wherein the port number determining unit determines a port number of a port that is not being used, as a port number of a port for receiving the print data from the client.