Landscape Option Not Showing in Google Chrome Print Preview Options

Landscape Option Not Showing in Google Chrome Print Preview Options

epica45epica45 Posts: 2Questions: 1Answers: 0

Hi,

I am using datatables on laravel project. When i use print button or ctrl+p, landscape option not showing google chrome print preview. How can i show this option?

Thanks.

Answers

  • kthorngrenkthorngren Posts: 21,447Questions: 26Answers: 4,974
    edited February 2020

    I can select Landscape in Chrome:

    I used this example . Does it work for you?

    Sounds like its a problem with Chrome not Datatables. Are you able to see the Landscape option on other pages?

    Does it work in other browser's?

    Can you provide a link to a page showing the issue?

    Kevin

  • epica45epica45 Posts: 2Questions: 1Answers: 0
    edited February 2020

    Thanks I am solved with add style code between head tag

    @media print{
    @page {
    size: landscape;
    }
    }

This discussion has been closed.