Added print page functionality. The print option prints a formatted document