""",\r
#######################################################################################\r
'end.gcode': """;End GCode\r
-M104 S0 ;extruder heat off\r
+M104 S0 ;extruder heater off\r
+M140 S0 ;heated bed heater off (if you have it)\r
+\r
G91 ;relative positioning\r
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure\r
G1 Z+0.5 E-5 F{max_z_speed};move Z up a bit and retract filament even more\r
-G1 Z+10 F{max_z_speed} ;move Z up a bit more without retraction\r
+G1 Z+3 F{max_z_speed} ;move Z up a bit more without retraction\r
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way\r
+\r
M84 ;steppers off\r
G90 ;absolute positioning\r
""",\r