Hi

Pretty much every slicer out there has a section for gcode to send when the printer is started and when it is stopped. It is well worth looking into *what* should best be in those sections. You can do all sorts of cute things (wipe the print head at start, move the part out of the way at end) with them. There is often a bit of fine tuning in terms of what goes first or last in the file.

Bob