using @page with media print css code example
Example: print media css
@media print {
/* styling goes here */
.example {
display: none;
}
}
@media print {
/* styling goes here */
.example {
display: none;
}
}