function htmlPrinter(elem, { label = "Print", pageTitle, styles } = {}) {
const clickHandler = function () {
PHE.printElement(elem, { printMode: "popup", pageTitle, styles });
};
const button = Inputs.button(label, {
value: null,
reduce: clickHandler
});
return button;
}