Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Print: Meta for Print page

Tags:

html

css

printing

I use this meta to show my desktop version in mobile.

<meta name="viewport" content="width=1220">

Now I want this to be rendered in print too. When I want to print the page, in portrait version my screen is cutted of. Is there a meta for this in print? How can I zoom out my page for print too?

Related question for mobile is here RWD: Show Desktop version in mobile minified, without horizontal scroll

like image 667
FrontDev Avatar asked Mar 15 '15 17:03

FrontDev


1 Answers

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

    @page { size : portrait }
    @page rotated { size : landscape }

stackoverflow -landscape printing from html

tutorialspoint - css paged media

like image 79
CreativeCreator Avatar answered Oct 16 '22 13:10

CreativeCreator