A remote controller for exchanging information using infrared rays requests the direct transmission of a user interface (UI) to a device to be controlled, such as a printer or a facsimile machine, or the indirect transmission through another device that is connected to the device that is to be controlled.