Quick Question Need Help

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

    Quick Question Need Help

    Hi,

    I wrote an application that generates reports. It then presents a page where
    I click a button [javascript:prin t()] to open the print page. However, I
    have a fixed printer and would like to know how to print to the default
    printer without me clicking anything. So the page will just load up and
    print. Or when I click a button. I just don't want the select printer screen
    to pop up. Much similar to clicking the print button on top of the address
    bar in Internet Explorer.

    Thanks,
    Eric


  • Ray Costanzo [MVP]

    #2
    Re: Quick Question Need Help

    This is not ASP related. But, so you know, without the use of a client-side
    ActiveX control, you cannot do what you want to do. If a Web page had the
    ability to automatically print without any user intervention, this would not
    be a good thing.

    Ray at work

    "Eric Wang" <ericwang90@gma il.com> wrote in message
    news:%23Ed$uKQs EHA.3324@TK2MSF TNGP15.phx.gbl. ..[color=blue]
    > Hi,
    >
    > I wrote an application that generates reports. It then presents a page
    > where
    > I click a button [javascript:prin t()] to open the print page. However, I
    > have a fixed printer and would like to know how to print to the default
    > printer without me clicking anything. So the page will just load up and
    > print. Or when I click a button. I just don't want the select printer
    > screen
    > to pop up. Much similar to clicking the print button on top of the address
    > bar in Internet Explorer.
    >
    > Thanks,
    > Eric
    >
    >[/color]


    Comment

    Working...