This paper presents a new method for five lines in one image to self-calibrate. The first group lines are three lines which are parallel to each other and the second group lines are two lines which are parallel to each other. At the same time, the first group lines are perpendicular to the second group lines. Line configurations for self-calibration of this method are new. In addition, the solution process of this method is also different from traditional self-calibration method. It is linear and stable. This paper presents the realization process of this method of self-calibration. The experimental results show this method works well.