Operator: X Y lineto
This operator adds a line into the path. The line is from the current point to the point X Y. After the line is added to the path, the current point is set to X Y.
Example:

%! newpath 72 360 moveto 216 360 lineto stroke showpage
The PostScript programming language is designed to describe the layout of graphics and text on the printed page. This website provides online utilities that show examples in actual practice.
Operator: X Y lineto
This operator adds a line into the path. The line is from the current point to the point X Y. After the line is added to the path, the current point is set to X Y.
Example:

%! newpath 72 360 moveto 216 360 lineto stroke showpage