Forum How do I...?

add a horizontal line between two elements only when they are on the same page

esef
I want to add a horizontal line as a spacer between two elements.

I have a working solution based on prince discarding margins, but that works only with forced breaks.

How can I do that with breaks that prince adds?

See attachment for example rendering.
  1. spacer.png61.5 kB