Member Since: Apr 24, 2008
Location: West of Paris
Mac Specs: MacBookPro, OS 10.9.4, iMac, OS 10.9.4, iPhone iOS 10.7.2, iPad iOS 10.7.2
05-01-2008, 08:12 PM
On the website, we want to have "screen view" for viewing and "print view" for printing.
In the past and when floated objects are located on the webpage, we prepare a pdf file for that.
When no floated objects appear on the page, we want to use instead as "print view" an html view of the same page (same.html file) to reduce work and footprint on the hosting server. In other words, the "print view" is a reliable screen view of what will be printed if we print the "print view" page using the printer
The way the site is programmed today, two stylesheets exist: a standard one for screen viewing called "styles.css" and a special one for print called styles_print.css"
The print view is accessed throug a copy of the original html file "original.html" called original_print.html" and containing a link modified to point to "styles_print.css"
Example page: see <http://tinyurl.com/59m7ar