/* Initially hide the .prient-table */

.prient-table {
    visibility: hidden;
    position: absolute;
    top: 0;
}


/* When printing, make the .prient-table visible and hide the rest of the body */

@media print {
    @page {
        size: A4;
    }
    .prient-table {
        visibility: visible;
        width: 100%;
        position: relative;
        margin-top: -50px;
    }
    .prient-barcode {
        visibility: visible;
        width: 100%;
        position: absolute;
        top: 0;
    }
    body {
        visibility: hidden;
    }
}