Prusa Slicer

Start G-code: — 2020.08.30

G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
M104 S[first_layer_temperature]; set extruder temp
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F[travel_speed] ;move the platform down 15mm
G92 E0 ; zero the extruded length
M109 S[first_layer_temperature]; wait for extruder temp
G1 F200 E15 ; extrude 15mm of feed stock
G92 E0 ; zero the extruded length again
G1 F[travel_speed]
M117 Printing...
G5

End G-Code: — 2020.08.30

M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M84 ; disable motors
M107 ; Fan Off
G91 ;relative positioning
G1 E-1 F3600 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 F2000 ;move Z up a bit
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
; G1 Y180 F2000
M84 ;steppers off
G90 ; absolute positioning
G0 Z200 F2000 ; move bed down
M84 ;steppers off
M300 P300 S4000 ; End Tone

Changelog