I want to be able to click a button and print the output , but I want the program to stop at the end of this output. A long time ago I had a dot matrix printer and this did it automatically unfortunately that printer is long gone.
I want to print output then, when I print again the output should go to the next line and so on like this:
This is the first line of output
This is the second line of output