Scanning main scanning lines which are spaced apart from one another in the sub-scanning direction