A communication device (101,201) capable of wireless LAN communication, comprising: connection means configured to wirelessly connect the communication device to a first other communication device, the communication device configured to operate as a device which establishes a wireless network, P2P Group Owner, or as a device which takes part in an established network, P2P Client; receiving means configured to receive a request for print processing using wireless communication from a second other communication device different from the first other communication device, while the communication device is connected to the first other communication device by the connection means; first determining means configured to determine whether print processing is performed with the first other communication device in a case where the request for the print processing is received by the receiving means; second determining means configured to determine whether the communication device is configured to operate as a device which has established a wireless network or as a device which takes part in a wireless network; charactrised in that responding means configured to transmit a response indicating that print processing is performable in response to the request received by the receiving means in a case where the first determining means determines that the print processing is not performed, or in a case where the first determining means determines that the print processing is performed and the second determining means determines that the communication device is configured to operate as a P2P Group Owner and wherein the responding means is further configured to not transmit a response indicating that print processing is performable to the request received by the receiving means in a case where the first determining means determines that the print processing is performed and the second determining means determines that the communication device is configured to operate as a P2P Client. connection means configured to wirelessly connect the communication device to a first other communication device, the communication device configured to operate as a device which establishes a wireless network, P2P Group Owner, or as a device which takes part in an established network, P2P Client; receiving means configured to receive a request for print processing using wireless communication from a second other communication device different from the first other communication device, while the communication device is connected to the first other communication device by the connection means; first determining means configured to determine whether print processing is performed with the first other communication device in a case where the request for the print processing is received by the receiving means; second determining means configured to determine whether the communication device is configured to operate as a device which has established a wireless network or as a device which takes part in a wireless network; charactrised in that responding means configured to transmit a response indicating that print processing is performable in response to the request received by the receiving means in a case where the first determining means determines that the print processing is not performed, or in a case where the first determining means determines that the print processing is performed and the second determining means determines that the communication device is configured to operate as a P2P Group Owner and wherein the responding means is further configured to not transmit a response indicating that print processing is performable to the request received by the receiving means in a case where the first determining means determines that the print processing is performed and the second determining means determines that the communication device is configured to operate as a P2P Client.