|
> I recently put an app in production and was forced > to provide instructions to users that they had to > manually switch to landscape mode before > printing. How stupid is that? It's not only a problem with Internet Explorer. Other browsers have the same problem. Developers need the ability to set page properties (portrait/landscape, margins, headers, footers) in advance through JavaScript, before calling the window.print() method. Otherwise default settings, or settings performed by users while in page preview mode may cause the HTML page to print outside the currently defined boundaries. Based on articles at the MSDN library, Internet Explorer page settings can be controlled through an ActiveX interface, but evidently not via JavaScript. If browsers were able to support page setup via script, it seems to me that HTML would be great for stylized portrait and landscape printing. Nathan Andelin __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.