A device is disclosed. A reader is adapted to optically read contents
described on a medium as an image and converting the image into image
data. A network interface is adapted to be connected to a network. A
communicator communicates data with a mating device through the network
interface in accordance with setting information of a prescribed
protocol. An acquirer acquires the setting information from the image
data. A setter sets the acquired setting information to the communicator.