Patent ID: 8477337

Claim:
A printer to be connected with a portable device, the printer comprising: a processor; and memory storing computer-readable instructions that, when executed, cause the processor to provide: a data receiving unit that receives data that is printable by the printer; a sending processing unit configured to execute a sending process of sending the received data to the portable device for displaying by the portable device; a print processing unit configured to execute a print process that causes printing of the received data at the printer itself; a specifying unit that specifies a type of the received data as being a text type or an image type, and further specifies a data size of the received data if the specified type of the received data is the image type; and a process controller unit that controls the sending processing unit and the print processing unit, wherein: in a case that the received data is of the text type, the process controller unit controls the sending processing unit to execute the sending process of sending the text type received data to the portable device for displaying by the portable device, and in a case that the type of the received data specified by the specifying unit is the image type, the specifying unit further specifies the data size of the received data, in a case that the specified data size of the image type received data is equal to or smaller than a predetermined data size, the process controller unit controls the sending processing unit to execute the sending process of sending the image type received data to the portable device for displaying by the portable device, and in a case that the specified data size of the image type received data is larger than the predetermined data size, the process controller unit controls the print processing unit to execute the print process that causes printing of the received data at the printer itself.