It means end of story. i.e. it's what you typed (on the typewriter) to indicate there weren't any more pages which isn't necessarily obvious with strict inverted pyramid writing. No one seems too clear on the origins AFAIK although a leading theory is that it came from a telegraph standard.
It's three exes (XXX) written as Arabic numerals (though they were never Roman numerals to begin with). "XXX" is an easily-identified marker; "30" is just cargo cult stuff.
https://en.m.wikipedia.org/wiki/%E2%80%9330%E2%80%93