@media print{
    a:after,
    #header,
    #footer,
    .main-menu-block,
    #panel{
        display: none;
    }
}