Repetier Modify configuration to your like, load a model and go to slicer tab, select config and hit slice. Then the gcode gets generated.