PS2PDF is a script which convert Post Script format document into PDF format. To install PS2PDF in Linux Centos, install Ghostscript which bundle with the package.
# yum install ghostscript
After installation, verify that PS2PDF is available in your server.
# which ps2pdf /usr/bin/ps2pdf
For more info on PS2PDF usage, just do man ps2pdf