generates a .pdf format report