Problem when printing header

I have paragraph in header with box line under it. When I print page, the line is in the text under header, not under paragraf in header. On print preview everything is OK

Which O/S, LO version, file format, and printer protocol (PS, PDF) are you using?