I'm trying to generate a multi page pdf. One per record. I'm using div for precise positioning. The result is good for a single record. But if I loop over multiple records (see below) the page break has an odd behaviour.It chops at the beginning of the each page and prints everything on the last one . If I don't use the page break, everything is printed on the first page. What am I missing ?