implementing printing page