Patent ID: 8225996

Claim:
An electronic device comprising: a connection unit serving for connection of a card accepting device that outputs a card presence signal indicating that a card is inserted when the card in which user information necessary to use the electronic device is recorded has been inserted and ejects the card by an operation of a special operation key or control with the electronic device, the card accepting device further includes a data write processing unit that writes data to the card; a detection unit that receives via the connection unit the card presence signal outputted from the card accepting device and detects that the card has been inserted into the card accepting device; a notification unit that notifies that the card has been inserted into the card accepting device; an operation key; and a control unit that receives an operation of the operation key and executes a job of handling an image data, wherein the control unit executes a card insertion determination processing of determining whether the detection unit has detected that the card has been inserted into the card accepting device when the operation of the operation key is not received within a preset time after the job is completed, executes a card insertion notification processing of notifying with the notification unit that the card has been inserted into the card accepting device and a card ejection instruction processing of instructing the card accepting device to eject the card when it is determined that the detection unit has detected that the card has been inserted into the card accepting device and executes a usage prohibition data write instruction processing of writing usage prohibition data for prohibiting the use of the electronic device to the card with the card accepting device when it is determined based on the results of executing the card insertion determination processing that the detection unit has detected that the card has been inserted into the card accepting device.