Results 1 to 2 of 2

Thread: Printing (javascript)

  1. #1

    Thread Starter
    Fanatic Member simonm's Avatar
    Join Date
    Sep 2000
    Location
    Devon, England
    Posts
    796

    Printing (javascript)

    I want a button on a web page to make the browser print the contents of the current window.

    Now, the following code does this:
    Code:
    window.print()
    The problem, however, is that it pops up the print dialog box and defaults to portrait view.

    I would like to print immediately (with no dialog) to the default printer and in landscape view. I haven't found anyway of doing this yet.

    Does anybody know how?
    Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment.

  2. #2
    Lively Member
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    96

    Re: Printing (javascript)

    it can't be done.. windows takes care of this.
    http://www.raketje.com coming..............soon................

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