fix printing bug

the printout produced by Firefox was always a single page before