Use slds-no-print if you want to hide something when printing.
slds-no-print
<template> <div class="slds-no-print">I am hidden when printing</div> </template>