In a marking device, by illuminating a laser beam onto an X-ray film which is a light-photosensitive heat-developing photosensitive material, an inner portion of a surface layer is melted, a cavity is formed, and a dot, which projects a surface out in a convex shape, is formed. At this time, an illumination time of the laser beam is controlled in order to control melting of the surface layer. In the marking device, when conveying of an X-ray film is stopped, oscillation of a laser oscillating tube is continued until a predetermined period of time elapses. When stoppage is for a short time, control is carried out such that marking can be started quickly.