SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Printing in IE

  1. #1
    SitePoint Guru dale_burrell's Avatar
    Join Date
    Aug 2002
    Location
    Wellington, New Zealand
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Printing in IE

    Hi,

    Does anyone know how to acces print options in IE from within a script.

    Basically we want to be able to automatically print to different printers, different paper trays and different options (fold/staple...). Optimally the user won't have to do anything.

    Any suggestions...

    Dale

  2. #2
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    window.print() will bring the print dialog up.

    As for controlling the specifics of the print i think that is beyond javascript.

    Sorry i cant be more help

    vibes

  3. #3
    Hi there! Owen's Avatar
    Join Date
    Jan 2000
    Location
    CA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A very quick google search returned:
    http://msdn.microsoft.com/workshop/b.../reference.asp

    http://msdn.microsoft.com/library/de...intpreview.asp

    It's not exactly what you want... but you're getting closer. However, You definately cannot have them print by doing nothing--think of the security implications! (Though maybe using signed javascript (in NS/Moz) or signed Java applets would let you.)

    Owen

  4. #4
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe this?
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





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
  •