START
G21;(metric values)
G90;(absolute positioning)
M82;(set extruder to absolute mode)
M107;(start with the fan off)
G28;(Home the printer)
M420 S1;(Restore auto leveling)
G92 E0;(Reset the extruder to 0)
G0 Z5 E5 F500;(Move up and prime the nozzle)
G0 X3 Z0;(Move to the edge of the printable area)
G1 Y60 E8 F500;(Draw a priming/wiping line to the rear)
G1 X4;(Move a little closer to the print area)
G1 Y10 E16 F500;(draw more priming/wiping)
G1 E15 F250;(Small retract)
G92 E0;(Zero the extruder)
END
M190 S0;(Turn off Heatbed)
G91;(Relative Positioning)
G1 Z10;(Raise Z 10mm)
G28 X0 Y0;(Move X/Y to min endstops, so the head is out of the way)
G92 E10;(Set extruder to 10)
G1 E7 F200;(Retract 3mm)
M104 S0;(Turn off Extruder)
G4 S300;(Pause 5 minutes)
M107;(Turn off part fan)
M84;(Turn off stepper motors)
G90;(Absolute positioning)