Initial implementation of receipt in PDF format.

Though ugly now, but it is working.