[thelist] Printer Friendly Version

martin burns martin at members.evolt.org
Wed Dec 27 05:23:35 CST 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 03:23 27/12/00, Jodi Short wrote:
>Can anyone give some advice as to creating a page to
>be printer friendly.  The info displayed on the
>website looks good but the printed version wraps to
>consecutive pages.  Is there a code telling it to
>print a certain way including removing the
>navigational codes?

Yes there are, but not in a cross-browser way.

There's also a CSS property:
page-break: before
to control where page breaks should come.

A useful way is to have a version (as we do on the site)
which wraps a different template around the same
content automatically. I'm working on an XSSI solution
for this:
http://www.easyweb.co.uk/test/print2.html
http://www.easyweb.co.uk/test/print2.html?printable

You must remember, though, that text on a printable
version of the page must be specified in points, not
pixels - some printers have been known to interpret
px settings too literally. 10px text on a 1200dpi printer
is going to be very, very small.

Cheers
Martin

________________
Martin Burns, Content Management Consultant
tel: +44 (0)774 063 9985
http://www.evolt.org/user/MartinB/32/evolt.org
http://www.easyweb.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
Comment: PGP Key ID: 0xA835CCCB

iQA/AwUBOkm8D3HoHnCoNczLEQKO0wCfcxTfrwUONFDHqSxQZmHs4a9PSH4An30p
YjYktA9kgTWL0D/gTdOSqLmD
=LK+K
-----END PGP SIGNATURE-----





More information about the thelist mailing list