A recording start position is obtained effectively with high precision and in a short time. A recording method for recording on a recording medium, includes the steps of: positioning a sensor in a one edge side in a movement direction of the sensor; carrying the recording medium in a predetermined direction up to a detection position where the sensor detects the recording medium; after bringing the sensor in a state in which the sensor does not detect the recording medium, moving the sensor toward another edge side opposite to the one edge side until the sensor detects the recording medium; and if the sensor detects the recording medium: obtaining a leading distance by which an upper edge of the other edge side, being one of an upper right edge and an upper left edge of the recording medium, leads an upper edge of the one edge side based on a carrying distance of the recording medium that is necessary for the sensor that has been brought into the state in which the sensor does not detect the recording medium to again detect the upper edge of the recording medium at the one edge side and a movement distance of when the sensor has moved from the one edge side to a position at which the sensor detects the recording medium; and carrying the recording medium by an amount that corresponds to the leading distance.
An image-recording device includes a conveying portion, a carriage, a recording head, a sensor, and an edge-detecting portion. The carriage reciprocates along a scanning direction. The recording head is supported on the carriage. The sensor is supported on the carriage at a position shifted from the recording head in the scanning direction and upstream of the recording head in the conveying direction, the sensor being capable of detecting presence of the recording medium. The edge-detecting portion controls the sensor to detect at least one of a leading edge and a trailing edge of a recording medium.