Fix newPage in printer