Patent ID: 8465120

Claim:
An electronic device, comprising: a carriage conveyance mechanism configured to convey a carriage in a main scanning direction; a sheet conveyance mechanism configured to convey a sheet in a sub scanning direction that intersects the main scanning direction; and a controller configured to control operations of the electronic device and including: a failure detecting portion configured to detect a conveyance failure of the carriage; a position detecting portion configured to detect a position of the carriage on a carriage conveyance path through which the carriage is conveyed by the carriage conveyance mechanism; a conveyance start position storage portion configured to store, on the basis of a result of detection by the position detecting portion, a conveyance start position of the carriage at a time when the carriage conveyance mechanism starts to convey the carriage at a standstill in the main scanning direction; a failure occurrence position identifying portion configured to identify, on the basis of a result of detection by the position detecting portion, a failure occurrence position that is a position of the carriage at a time when the failure detecting portion detects the conveyance failure; an outer-edge position identifying portion configured to identify a position of an outer edge of a sheet passing area which is an area in the carriage conveyance path and which faces an area in which the sheet conveyed by the sheet conveyance mechanism in the sub scanning direction passes; and a jam judging portion configured to judge whether or not the conveyance failure detected by the failure detecting portion is due to a jam of the sheet, wherein the jam judging portion is configured to judge that the conveyance failure detected by the failure detecting portion is due to the jam where the outer-edge position identified by the outer-edge position identifying portion is present between the conveyance start position stored by the conveyance start position storage portion and the failure occurrence position identified by the failure occurrence position identifying portion.