Here are the start codes I’m using with Cura / Ultimaker 2:
;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
;print time: {print_time}
;Filament used: {filament_amount}m {filament_weight}g
;Filament cost: {filament_cost}
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 ;Home all
G1 F12000 X5 Y10 ;move hotend to front left
M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
M109 S{print_temperature} ;Uncomment to add your own temperature line
;M190 S70 ;add your own bed temperature line
;M109 S245 ;add your own temperature line
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E5 ;extrude 5mm of feed stock FAST
G1 F50 E15 ;extrude 15mm of feed stock SLOW
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
;put printing message on LCD screen
M117 Printing…
Here are the end codes:
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G28 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
;{profile_string}
Just make sure you change your CURA setup to be a “Reprap” machine, not an Ultimaker.
NOTE: These codes were adapted from the following website:
I just changed it so that the temperature settings are taken from the Cura print settings and not hard-coded into the above Gcode.