Community discussion forum

print without dialog box

  • 1 year 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

  • 1 year 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).

We'd love to hear what you think! Submit ideas or give us feedback