I read an article one time that helped me understand why programmers do not have access to printer settings via _javascript_.  The printer settings are considered to be a part of the browser preferences.  The opinion is that each user should be allowed to control how pages are printed.  Thus, allowing a web site to change the page orientation is viewed (by some) as taking control of the browser away from the user.

Matt



"nandelin" <[EMAIL PROTECTED]>
Sent by: [email protected]

02/02/2006 04:30 PM

Please respond to
[email protected]

To
[email protected]
cc
Subject
[Easy400Group] Re: _javascript_ question





It was my understanding that @page is not supported by Mozilla.

I wish browsers had better support for setting print options using
_javascript_.  It seems like programmers are essentially relegated to
showing a prompt of instructions for the user (to manually set print
options), prior to printing the page (or report).

Nathan Andelin


> You can do this with a Style Sheet:
>  
> http://www.webdeveloper.com/forum/archive/index.php/t-5371.html
>  
> <style type="text/css">
> <!-- > @page { size: landscape; }
> -->
> </style>







Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/








SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer How to format your computer How to format computer


YAHOO! GROUPS LINKS




Reply via email to