oilfriedghost
02-26-2003, 09:30 AM
Is there a way to change certain print options when print() is called in a page? Are there any parameters/arguments that can be sent to print() ? e.g. Printing one page in Landscape and another in Portrait without having the user change their browser's print options.
Thanks.
With CSS you can:
<style type="text/css">
@page {size: 8.5in 11in landscape; margin: 0.5in}
</style>
oilfriedghost
02-26-2003, 10:31 AM
Thanks Pyro. I looked up the CSS2 @Page property and tried it a few ways, but unsuccessful in altering the print orientation. If I set it to landscape, when the print dialog box comes up, will the print orientation options change accordingly? Mine do not, but I guess that is irrelevant if my actual prints' orientation did not change either. -Btw, I'm testing the print jobs using Adobe's pdf writer; significant?
Thanks.