This reduces the burden on the user. [0122] When the print data is received by the printer 121 via any means other than e-mail as shown in FIG. 32, the e-mail address detection program stored in the ROM 107 detects the e-mail address and request information included in the command data appended to the print data.