Patent ID: 8482761

Claim:
A printer comprising: a receiving device configured to receive a print job including print data and type information specifying a type of print medium; a housing portion configured to house a print medium that has not been printed; a print device configured to execute a print process that prints an image corresponding to the print data included in the received print job on the type of print medium specified by the type information included in the print job; a detecting device configured to detect whether the housing portion is housing the type of print medium specified by the type information included in the received print job; and a controller configured to control the print device based on information detected by the detecting device and information relating to whether the print process has been started, wherein, when a first print job is received and a second print job is received after the first print job, and the detecting device detects that the housing portion is not housing a type of print medium specified by type information included in the first print job, the controller is configured to: determine whether a print process based on the first print job has been started; when the print process based on the first print job has not been started, allow the print device to execute a print process based on the second print job before completion of the print process based on the first print job; and when the print process based on the first print job has been started, prohibit the print device from executing the print process based on the second print job before the completion of the print process based on the first print job.