PDA

View Full Version : Got a blank page instead of the print version



dpremote
09-19-2006, 05:08 PM
1) Script Title:
Alternate document for printing

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

3) Describe problem:
I printed the web page as instructed. I got a blank page instead of the printed version document. I am running on Win XP SP2, IE6, and Office 2003.

Twey
09-19-2006, 05:22 PM
This "script" is rubbish. It's only still there because ddadmin doesn't want to break any links. It's strongly suggested to use a CSS printing stylesheet instead.

dpremote
09-20-2006, 02:07 PM
I looked at the CSS printing stylesheet. Most of the examples I saw were how to strip off ads and menu items and just print the contents. I did not see a way to print a Word or PDF document.

Twey
09-20-2006, 04:38 PM
This is not possible, and indeed shouldn't be, since the browser might not know how to handle a PDF or a Microsoft Office document. You can use a stylesheet to style your page however you'd have the PDF or word-processing document, though.