37 users online (1 members and 36 guests)  


  Results 1 to 2 of 2

Related

  1. Replies: 1
  2. Replies: 0
  3. Replies: 7
  4. Replies: 5
  5. Automatically Re-loading a page...?    Forum: HTML Forum
    Replies: 16
  1. #1
    jjasper's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2002
    Posts
    3

    Want to automatically print

    Hi,
    I have a page that I want to have printed out right after it loads up in the browser. I understand that the printer dialog pops up but that is OK.

    How do I do this?


    Thank-You

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi there.

    Try putting this @ the bottom of your page -

    Code:
    <script language="JavaScript">
    <!--
    window.print();
    //-->
    </script>
    That should do it.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread