Wow, Michael Abrash's graphics programming black book is available here
http://www.gamedev.net/page/resources/_/reference/programming/140/283/graphics-programming-black-book-r1698
gs
-
q
-
sPAPERSIZE
=
letter
-
dNOPAUSE
-
dBATCH
-
sDEVICE
=
pdfwrite
-
sOutputFile
=
output.pdf file1.pdf file2.pdf file3.pdf [...]