View Full Version : Alternate Document For Printing

02-09-2009, 09:56 AM
1) Script Title: Alternate Document For Printing

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex9/printstyle.htm

3) Describe problem: Not a problem more of a question.

I have used this successfully for the team 2009 diary.


The script says you can use any type of file but when I originally used a Word document the body script was missing.
I found txt and htm files work OK.

Why? :confused:

02-09-2009, 02:25 PM
It really depends upon what the browser will do. This type of link is actually intended only to (according to standards):

tell search engines where to find the printed version

and in fact doesn't 'work' at all as an alternate print document in FF.

If you want an alternate document for printing, the better strategy is to use a print stylesheet, which works in all modern browsers. This may be used to alter the existing page to make it more printer friendly. It may even be used to print an entirely different section of the page than is seen on the user's screen.