Print functionality implemented in one page view