When I print the pdf the output doesn't consume the whole page of the legal paper. I open the pdf with Preview (a mac program to view pdfs) and the paper size and orientation are wrong. If I correct the paper and orientation it prints perfectly. If I just print the page it doesn't look normal and the data is squeezed to the side.

This is the css I am using

Code:
<style type="text/css">
p.breakhere {page-break-before:always;}
body {font-size:10pt;}
table.pdf, tr.pdf, th.pdf, td.pdf{border:1px solid black; border-spacing:0px;}
tr[valign=top] > td { vertical-align: top }
@page Legal { size: 8.5in 14in; }
@page { size: Legal landscape; }
@page { margin: .4in }
</style>
I tried changing
Code:
@page Legal { size: 8.5in 14in; }
@page { size: Legal landscape; }
to
@page US Legal { size: 8.5in 14in; }
@page { size: US Legal landscape; }
but made not difference

I also tried changing
Code:
@page Legal { size: 8.5in 14in; }
@page { size: Legal landscape; }
to
@page US-Legal { size: 8.5in 14in; }
@page { size: US-Legal landscape; }
but made not difference


Do you have any ideas?