Make printpagenumber optional