print project source code to pdf

Dear all,

Is there a way to print all source code from a project directly to a pdf preferably with formatting? I found the reporting tool Clover for eclipse but it will not install correctly on nsight eclipse (CUDA7.5 running on Ubuntu 14.04).

I need to see the whole code on paper now. I know I can do this individually for each source file but there are too many now to do this every time I change code and I would prefer just one pdf so that I can view this on other devices readily.

Thanks in anticipation of your suggestions