Hello,
If you wish to exclude certain elements from printing, you can use the CSS @media rule:
1/ Define the 'screen-only' class in your style sheet.
// CSS
@media print {
.screen-only { display:none }
}
2/ Set the screen-only class on the elements you wish to exclude from printing, for example
<div class="screen-only" id="menu">...</div>
...
<div class="screen-only" id="footer">...</div>
3/ Enable printing of the print version of the page with the usePrintMedia() API function. A PHP example:
$client->usePrintMedia(True);