There are a few things you need to know if you want to paint a straight line in Photoshop. First, the pen needs to be at an angle so that it points down the paper. Second, the line needs to be long enough so that it covers the entire canvas. Third, make sure that the line is straight and not curved. Finally, make sure that the line is consistent throughout the image.