This script is very much a workaround. The better way to make a single line print would be to program the toolpath itself. but, that would also involve sending custom gcode, which always carries the ...