Single Images

You can take the framebuffer and write it to disk by using
render <filename>
or you can also hit the 9 key.

Image Sequences

You can write out an entire scene with animations out to an image sequence using this set of commands:
timeline set 0
render set 1