Results 1 to 4 of 4

Thread: Having a "Print this page" option

  1. #1

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619
    How can i print the page of my html or how can i direct it to a file to print? for example i have a word document for that html to print?

    If a post has helped you then Please Rate it!

  2. #2
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    you can't print files using html, javascript etc. only the browser can. Usually when you see a link that says 'print this page' it just takes you to a more prnter friendly page, without the images, and unnecissary links and navigation stuff.

  3. #3

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619
    how can i direct it to print the printer frendly page? for example i have a word document ready for print?

    what tags or codes should i use?

    If a post has helped you then Please Rate it!

  4. #4
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    i would just have the browser use the default font, and not use any images or anything. Basically just this:

    Code:
    <html>
    <head>
    <title>Your Title</title>
    </head>
    <body>
    
    Print thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint thisPrint this
    
    </body>
    </html>

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

Posting Permissions

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



Click Here to Expand Forum to Full Width