OSM-Atlas is a PHP v5 script to generate a street atlas from OSM data. It creates a PDF file, with front & back covers, overview map, detailed map pages, and index pages. It is one of several approaches for getting OSM on Paper.
Source code is in the OSM Subversion repository at http://svn.openstreetmap.org/applications/rendering/osm-atlas/
Alternatively, source tarball and sample PDFs were available from its web site, but link leads to a parked spampage right now.