need a simple code for the following

Printable View