Wikipedia provides excellent information on the IPO process. I've provided a small excerpt as well as the link.
Pricing of IPO
The process of determining an optimal price usually involves the underwriters ("syndicate" arranging share purchase commitments from leading institutional investors.