Start G-code
----
G31
SAVE_LAST_FILE
SAVE_VARIABLE VARIABLE=was_interrupted VALUE=True
START_PRINT T_EXTRUDER=[nozzle_temperature_initial_layer] T_BED=[bed_temperature_initial_layer_single]
----
End G-code
----
SAVE_VARIABLE VARIABLE=was_interrupted VALUE=False
clear_last_file
G31
END_PRINT
----
Before Layer Change
-----
;BEFORE_LAYER_CHANGE
;[layer_z]
LOG_Z
G92 E0
-----