Pdf functionality

PDF functionality is operational!!!