;Start GCode begin
;M104=print temp, M140 = bed temp, 109 = print temp wait, 190 = bed temp wait
M140 S{material_bed_temperature_layer_0} ;Start heating bed
M104 S{material_print_temperature_layer_0} ;Start heating extruder
G28 ;Home
G90 ;absolute positioning
G1 X-10 Y-10 F3000
G1 Z0 F1800
M190 S{material_bed_temperature_layer_0} ;Wait for bed to reach temp before proceeding
M109 S{material_print_temperature_layer_0} ;Wait for extruder to reach temp before proceeding
;Prime the extruder
G92 E0
G1 E20 F200
G92 E0
;Start GCode end
And the End GCode
;End GCode begin
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G90 ;absolute positioning
;Retract the filament
G92 E0
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z330 E-1 F3000 ;move Z up a bit and retract filament even more
G1 X0 F3000 ;move X to min endstops, so the head is out of the way
G1 Y350 F3000 ;so the head is out of the way and Plate is moved forward
G28 X0 Y0
M84
;End GCode end
It’s pretty much the same, except it warms the print head and bed at the same time, instead of waiting for the bed to warm before warming the print head.