#printer {
    display: none;
}
@media print {
    @page {
        size: A4 landscape;
        margin: 0cm;
    }
    html, body {
        position: relative;
        height: auto;
        overflow: auto;
    }
    .publish-banner {
        display: none;
    }
    #printer {
        height: 100%;
        display:block;
    }
    .spread {
        margin: 0;
        border: initial;
        border-radius: initial;
        width: initial;
        min-height: initial;
        box-shadow: initial;
        background: initial;
        page-break-after: always;
        page-break-inside: avoid;
        height: 100%;
        float: left;
    }
    .spread div {
        width: 50%;
        height: 100%;
        background: red;
        float: left;
    }

    .spread div .left {
        text-align : right;
    }
    .spread img {
        max-width: 100%;
        max-height: 100%;
        vertical-align: middle;
    }
    .spread img.empty {
        width: 100%;
        height: 100%;
    }
    #wrapper {
        display: none;
    }
    #dialog {
        display: none;
    }
}
