Adding page numbers and running head to a pdf file I have several documents that I need to combine into a single pdf. I know that I can do this with Preview. However, it would be really nice if I could add page numbers to the resulting pdf, as well as headers and/or footers on each page.

Is this possible using pre-installed or freely available software on OS X? (Just being able to add page numbers would be great; being able to add a header as well would be perfect.)

I'm using Mountain Lion in case that makes a difference.
I used iLovePDF's on-line tool to add the page numbers to a non-sensitive document. 

https://www.ilovepdf.com/add_pdf_page_number

I say "non-sensitive" because you have to upload the source material, and then download the result, so in theory they could do something with the original. However, I can't find anything that says iLovePDF isn't safe.

iLovePDF have several other PDF tools: https://www.ilovepdf.com/

An alternative is to download PDFPen from the App store or here:

https://smilesoftware.com/pdfpen

Though I've not tried this tool, I have heard good things.