Add class for forcing page breaks when printing

Replaces #6321, Implements #6215