An image file imaged by a digital camera is stored in a memory card, and
the digital camera sets the number of prints for each image file
according to the digital print order format (DPOF) standard and records
the number as a printing information file in the memory card. When the
number of prints is set, an image file in which at least one frame is
designated for printing is determined to have a read-only file property
in order to prevent the image file from being erased against the
designation for printing. There is provided a mode for collectively
designating all frames for printing.