Below is some startup g-code that will move the extruder to the front left corner, extrude a bunch of filament and then move towards the center, ensuring that your print will start with good filament flow.
;Sliced at: {day} {date} {time}
;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}
;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
;M109 S{print_temperature} ;Uncomment to add your own temperature line
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
;add the following to start code after G28 instruction
G1 Z10 F{travel_speed} ; move fast up to 10 mm above bed
;G30 Z+0.0 F1000 ; set bed height
;G0 Z5 ; lift nozzle up 5mm before print
;G1 Z15.0 F{travel_speed}
;G1 F{travel_speed} ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E25 ;extrude 25 mm of feed stock
G92 E0 ;zero the extruded length again
;G1 Z5.0 F{travel_speed}
G1 X20 Y20 Z0 E5 F{travel_speed} ;pull away from corner
G92 E0
; Put printing message on LCD screen
M117 Printing..
And, here is some end code that will move the bed with print to the front of the machine:
;End GCode
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
;G4 S240 ;sleep 240 seconds, temp goes to 35.
;M117 Bed cooled
G28 X0 ;move X/Y to min endstops, so the head is out of the way
G1 Y160 ;move bed to front
;G28 Z0 ;find bed Z0
;G1 X65 Z2 ;move nozzle up a bit, and to the correct X location
;G1 Y-160 ;push part off bed, make it about -160
M84 ;steppers off
G90 ;absolute positioning
;{profile_string}