Jmol

Generating images with labels

open console using right-click-> console

Then type the below commands

Background white

select all

set labelalignment center

color label black

font label 56 monospaced


#for element and atomic number

label %a

write image 3600 2000 "test.png"


#for element symbol only

label %e

# for atomic number only

label %i



OR

Use the File -> Export to save it either PDF or JPG according to your needs