How to convert a pdf file into a text file? Is there an easy way to extract plain text from a pdf file?

On *nix systems I used to have a command ps2ascii that would do the job, but it seems that this command is not installed by default on my Mac.

What would be the easiest way to extract text from a pdf file or, alternatively, how to get ps2ascii on my system?
ps2ascii is a part of Ghostscript, which can be installed on Mac OS X (and it might already be by default from the factory).