Community discussion forum

print without dialog box

  • 6 months ago

     

    Hi Developer's

    how to print without dialog box in javascript? i have a print button in my aspx page. when i click the print button it will show the print dialog box. how to print directly from my page using javascript?

     help me !

    Advance Thanks

     A.Franco

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 6 months ago

    You can't do something like this. Not in JavaScript nor in any other programming languages (AFAIK). I think that's because the printer's driver is acting like a bridge between the application and the printer, so you cannot print a document without having the dialog box.

    hth.

     

Post a reply

Enter your message below

Sign in or Join us (it's free).