STL files are very dumb. They require significant work to back annotate it to the point of having an intelligent STP file.

What is in the gcode, maybe, is a printer config information that generated the STL file. You can print the file but you may need to splice it into a known profile that your firmware will accept.