Reputation: 1
I'm working on an invoice print feature for my website. The header height is over 320px, and it appears only on the first page but does not repeat on every page when printing. However, when I reduce the header height below 290px, it repeats correctly on every printed page.
I've tried various solutions to fix this issue, but nothing has worked so far.
Does anyone know how to solve this problem? Any help would be appreciated!
Thanks!
I am using React-to-print,
Expected: the header should appear consistently at the top of every printed page, regardless of its height.
Actual: with a header height over 320px, the header only appears on the first page, whereas lowering the height below 290px causes it to repeat as expected.
Upvotes: -7
Views: 34