Blog Post
RobertHaggerty-
2 years agoCommunity Member
Got it to work, but even on landscape certificate only prints about 40% size. Is there a way to set it to maximize print area on page?
- KatarzynaHar2362 years agoCommunity MemberI have the same
- MehmetAcar-05ef2 years agoCommunity MemberI love template a lot, but I have the same issue. Thank you, Sarah
- MichelleKearns2 years agoCommunity MemberGreat template! Just wondering if there is a solution/work-around so that it prints full page. Thank you!
- RothaBearng2 months agoCommunity Memberi know this is a year old,
But try this:
try this java code as a trigger for the print:
var styles = `
@media print {
body, * { visibility: hidden; }
html, body { overflow: hidden; transform: translateZ(0); }
#slide {
transform: scale(1) !important; # Adjusted scale to 1 (no zoom)
}
#wrapper {
transform: scale(1) !important;
}
#slide,
#wrapper {
width: 100% !important;
height: 100% !important;
overflow: visible !important;
}
#frame {
overflow: visible !important;
}
.slide-transition-container {
overflow: visible !important;
}
@page {
size: A4 landscape;
max-height: 99%;
max-width: 99%;
}
.slide-container, .slide-container * {
visibility: visible !important;
margin-top: 0px !important;
margin-left: 0px !important;
}
#outline-panel {
display: none !important;
}
}
`;
var stylesheet = document.createElement('style');
stylesheet.type = 'text/css';
stylesheet.innerText = styles;
document.head.appendChild(stylesheet);
window.print();