Yes, 3d printers run on Gcode, but there are many more parameters specified in printing than cnc. xyz movement of course, but also temperature, acceleration, line height/width, speed, part fan cooling, extruder fan cooling, limiting movements to within printed areas, the list goes on and on...