Printing from within JavaScript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bentley

    Printing from within JavaScript


    I need to print a browser page and configure the print dialog settings. 
    I am using the JavaScript window object with the print method
    (window.print() ).  From what I understand and have read in order to
    programmaticall y change options print dialog I must create an Active-X
    object that will configure the print dialog (I only ne an IE solution). 
    My guess is that this is a security feature.  Is there a way
    to do this from within JavaScript (VB script would probably be similar) ?

    I have searched this news group and this seems to be a standard answer,
    but was wondering if any one else had any insight into the problem.

    Thanks
  • Martin Honnen

    #2
    Re: Printing from within JavaScript



    bentley wrote:
    [color=blue]
    > I need to print a browser page and configure the print dialog settings.
    > I am using the JavaScript window object with the print method
    > (window.print() ). From what I understand and have read in order to
    > programmaticall y change options print dialog I must create an Active-X
    > object that will configure the print dialog (I only ne an IE solution).
    > My guess is that this is a security feature. Is there a way
    > to do this from within JavaScript (VB script would probably be similar) ?
    >
    > I have searched this news group and this seems to be a standard answer,
    > but was wondering if any one else had any insight into the problem.[/color]

    Have a look at the FAQ for a link to an Active X solution for IE/Win:

    --

    Martin Honnen


    Comment

    • William Morris

      #3
      Re: Printing from within JavaScript


      "bentley" <bentley@attbi. com> wrote in message
      news:pan.2004.0 5.10.15.22.22.5 32786@attbi.com ...[color=blue]
      >
      > I need to print a browser page and configure the print dialog settings.
      > I am using the JavaScript window object with the print method
      > (window.print() ). From what I understand and have read in order to
      > programmaticall y change options print dialog I must create an Active-X
      > object that will configure the print dialog (I only ne an IE solution).
      > My guess is that this is a security feature. Is there a way
      > to do this from within JavaScript (VB script would probably be similar) ?
      >
      > I have searched this news group and this seems to be a standard answer,
      > but was wondering if any one else had any insight into the problem.
      >
      > Thanks[/color]

      Have a go with ScriptX from Meadroid (www.meadroid.com). It probably covers
      everything you need to do. NAYY


      Comment

      Working...