Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Posts
    160
    Thanks
    0
    Thanked 0 Times in 0 Posts

    print document/report on the web

    The print small script (<input type="button" value="Print this page" onClick="window.print()">) open the printer selection window. How can I avoid that step so the printout will be sent directly to the default one and is it possible to also automatically fit the printout to page size?

    Thanks,

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No, you can't send the doc straight to the printer that I'm aware of.

    Fit to size? Perhaps, but that would depend on 1) How your page is currently coded and 2) what is being printed
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •