Skip to content

JS打印-如何进行横向打印

css - Landscape printing from HTML - Stack Overflow

css
<style type="text/css" media="print">
    @media print{
	    @page {
		    size: landscape
	    }
	}
</style>
<style type="text/css" media="print">
    @media print{
	    @page {
		    size: landscape
	    }
	}
</style>