Printer friendly? (easy question)

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

Printer friendly? (easy question)

Post by Coco »

ok i managed to find this: viewtopic.php?t=7391

so now i know how to print a page...
but you see so often, 'printer friendly' pages
what is this? is it a set format/command? or is it just stuffing everything in a table with max width?
User avatar
m@ndio
Forum Regular
Posts: 163
Joined: Fri Jun 06, 2003 12:09 pm
Location: UK

Post by m@ndio »

I don't think there is a command for it... yea just use a different include file for the printer friendly pages or something...
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

...

Post by kettle_drum »

Printer friendly files just tend to mean they only include text and black and white, so that all printers can print them easily.
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

The "best practices" way to generate these nowadays is to include a media="print" stylesheet than can hide navigation bars and parts of the header and footer; as well as resetting fonts and margins for print instead of screen. http://www.alistapart.com has a very good article on this. When you use this method you don't have to maintain two seperate versions of the page as used to be done.
Post Reply