Reintroduce HBPRINTER's improvements removed by #647 while hunting bugs introduced after commit 10f80af and before https://github.com/oohg/core/commit/6c4a3ec88ca292419362a5d55fc585de1dc4b5b2