Just had a quick look and it automatically and detects many source
code types, including Pascal and PHP, and it certainly displays my
sources using some colouring.
I have not tried re-formatting as I already do that in the IDE, nor
have I tried printing as I don't have a colour printer.