RE: window.print ()

Jonathan Chetwynd wrote ...

> ps do we have guidelines or examples about printing? ie how to 
> reformat, or even just ensure that a page fits a given format.
> any resources or example links appreciated.

Some years ago we did a project for the University of Oxford Admin section
(see www.admin.ox.ac.uk). In brief, printed pages had:

1) Fonts changed to serif
2) The navigation bar removed
3) The Search form at the top of the page removed
4) A University of Oxford graphic inserted at the top of the page (in the
screen version, it is part of the LH navigation bar)
5) E-mail addresses in the page footer explicitly printed
6) The URL of the page explicitly printed in the footer

We missed a trick at the time; as in subsequent projects I would also get
the current time added by the server, so people know when it was printed.

For "modern browsers" (basically IE4 onwards, Opera, Netscape 6 onwards)
this was done using a print-specific stylesheet. There was no "Print page"
link - my view is that where possible, printing from a web browser should be
like printing from any other application, for example CTRL-P or File > Print
or whatever. For "old browsers" (primarily Netscape 4), there was a specific
PHP print script that did the ame re-formatting, and a "print page" link.

Anyway, this was my take on what should and shouldn't be included, and it
seemed to be quite well recieved at the time.

	Tom



"Internet Communications are not necessarily secure, and therefore Salisbury
District Council does not accept legal responsibility for the contents
of this message. Any views or opinions presented are those of the author and
do not necessarily represent those of Salisbury District Council.
Anyone replying by email to the author of this message (or emailing anyone
else, using the "@salisbury.gov.uk" address), is advised that such emails
may be read by persons other than the intended recipient"

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Received on Thursday, 22 May 2003 06:40:50 UTC