Add print and page setup functionality to the query result page.