Client printing format

Discussion in 'ASP General' started by JStrauss, Jul 17, 2004.

  1. JStrauss

    JStrauss Guest

    Hello,
    I have an ASP form to collect some data and then have the client print it
    out through their browser. I was wondering if there was any way to control
    and/or eliminate (from the server side) the additional text that gets
    printed on the page, such as:
    "page 1 of x" at the top of the page;
    The date at the bottom of the page;
    and the form name and path at the bottom of the page.

    Thanks,
    Joe
    JStrauss, Jul 17, 2004
    #1
    1. Advertising

  2. Not from ASP.
    http://www.aspfaq.com/2014

    --
    http://www.aspfaq.com/
    (Reverse address to reply.)





    "JStrauss" <> wrote in message
    news:OKsW$...
    > Hello,
    > I have an ASP form to collect some data and then have the client print it
    > out through their browser. I was wondering if there was any way to control
    > and/or eliminate (from the server side) the additional text that gets
    > printed on the page, such as:
    > "page 1 of x" at the top of the page;
    > The date at the bottom of the page;
    > and the form name and path at the bottom of the page.
    >
    > Thanks,
    > Joe
    >
    >
    Aaron [SQL Server MVP], Jul 17, 2004
    #2
    1. Advertising

  3. JStrauss

    JStrauss Guest

    Thanks for the leads. It looks like I will have to try a small script to
    open the print setup on the client every time.

    Thanks,
    Joe

    "Aaron [SQL Server MVP]" <> wrote in message
    news:...
    > Not from ASP.
    > http://www.aspfaq.com/2014
    >
    > --
    > http://www.aspfaq.com/
    > (Reverse address to reply.)
    >
    >
    >
    >
    >
    > "JStrauss" <> wrote in message
    > news:OKsW$...
    > > Hello,
    > > I have an ASP form to collect some data and then have the client print

    it
    > > out through their browser. I was wondering if there was any way to

    control
    > > and/or eliminate (from the server side) the additional text that gets
    > > printed on the page, such as:
    > > "page 1 of x" at the top of the page;
    > > The date at the bottom of the page;
    > > and the form name and path at the bottom of the page.
    > >
    > > Thanks,
    > > Joe
    > >
    > >

    >
    >
    JStrauss, Jul 17, 2004
    #3
  4. JStrauss

    Stan Scott Guest

    Joe,

    window.print() does the trick.

    Stan Scott
    New York City

    "JStrauss" <> wrote in message
    news:...
    > Thanks for the leads. It looks like I will have to try a small script to
    > open the print setup on the client every time.
    >
    > Thanks,
    > Joe
    >
    > "Aaron [SQL Server MVP]" <> wrote in message
    > news:...
    > > Not from ASP.
    > > http://www.aspfaq.com/2014
    > >
    > > --
    > > http://www.aspfaq.com/
    > > (Reverse address to reply.)
    > >
    > >
    > >
    > >
    > >
    > > "JStrauss" <> wrote in message
    > > news:OKsW$...
    > > > Hello,
    > > > I have an ASP form to collect some data and then have the client print

    > it
    > > > out through their browser. I was wondering if there was any way to

    > control
    > > > and/or eliminate (from the server side) the additional text that gets
    > > > printed on the page, such as:
    > > > "page 1 of x" at the top of the page;
    > > > The date at the bottom of the page;
    > > > and the form name and path at the bottom of the page.
    > > >
    > > > Thanks,
    > > > Joe
    > > >
    > > >

    > >
    > >

    >
    >
    Stan Scott, Jul 18, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon B
    Replies:
    7
    Views:
    7,500
    =?Utf-8?B?SmFzb25DaG9p?=
    Jan 30, 2006
  2. JustSomeGuy
    Replies:
    13
    Views:
    506
    msalters
    Dec 9, 2004
  3. iffy agbim
    Replies:
    1
    Views:
    105
    Mark Andrews
    May 24, 2004
  4. iffy agbim
    Replies:
    0
    Views:
    101
    iffy agbim
    May 21, 2004
Loading...

Share This Page