print from IE question...

  • Started
  • Last post
  • 1 Response
  • JesterFX

    hi all, i have a print button on a website that prints out a ticket. when you click on the print link it displays the windows xp print dialogue box (like when you go to file>print). is there a way i can bypass this, so when a user clicks print it will just prints the ticket? its an internal project, so i know what printer to use to print the ticket.
    cheers
    - Jester fester

  • zombiewoof0

    I really dont' see the issue with a print dialog box appearing. It's what people expect.

    But there is a way to do it using VB and JavaScrip, as well as an Active X controller...but, they will have to download the controller...and the whole thing is considered a security nightmare. You may catch a lot of heat running a setup like this. I was asked to do this and spent many hours proving to the powers that be that this is a bad idea and a nightmre to configure across platforms.

    But if you still want to do it,
    Here is a relevant thread.

    http://www.tek-tips.com/viewthre…