modify IE page setup through ASP

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

    modify IE page setup through ASP

    Hi,

    I would like to modify IE page setup before printing the window.

    But i want to do it without opening the FILE-> Page Setup window...
    In fact, i would like to remove the header and footer of pages
    beforeprinting them...but i want to do it using asp or vbscript and without
    any end user action.

    How can i do this ?

    thx,
    Maileen


  • Ray at

    #2
    Re: modify IE page setup through ASP

    This cannot be done with ASP. These are browser options only. And afaIk,
    client-side code cannot change the header and footer settings either.

    Ray at work

    "Maileen" <novalid@email. com> wrote in message
    news:uMJ42TPZEH A.716@TK2MSFTNG P11.phx.gbl...[color=blue]
    > Hi,
    >
    > I would like to modify IE page setup before printing the window.
    >
    > But i want to do it without opening the FILE-> Page Setup window...
    > In fact, i would like to remove the header and footer of pages
    > beforeprinting them...but i want to do it using asp or vbscript and
    > without
    > any end user action.
    >
    > How can i do this ?
    >
    > thx,
    > Maileen
    >
    >[/color]


    Comment

    • Aaron [SQL Server MVP]

      #3
      Re: modify IE page setup through ASP

      No, you can't do this from ASP. Printing happens on the client, not on the
      server.


      --
      Please contact this domain's administrator as their DNS Made Easy services have expired.

      (Reverse address to reply.)




      "Maileen" <novalid@email. com> wrote in message
      news:uMJ42TPZEH A.716@TK2MSFTNG P11.phx.gbl...[color=blue]
      > Hi,
      >
      > I would like to modify IE page setup before printing the window.
      >
      > But i want to do it without opening the FILE-> Page Setup window...
      > In fact, i would like to remove the header and footer of pages
      > beforeprinting them...but i want to do it using asp or vbscript and[/color]
      without[color=blue]
      > any end user action.
      >
      > How can i do this ?
      >
      > thx,
      > Maileen
      >
      >[/color]


      Comment

      Working...