Results 1 to 4 of 4

Thread: Got a blank page instead of the print version

  1. #1
    Join Date
    Sep 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Got a blank page instead of the print version

    1) Script Title:
    Alternate document for printing

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...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.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Sep 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •