Disabling printer selection popup in asp.net RRS feed

  • Question

  • User1000028538 posted


    We have a application in ASP.NET using VB.NET in .NET framework 3.5, Application has been hosted on server. The application has a functionality of printing (used window.print()) but while printing on client side it opens printer selection popup rather than we need it should select a default printer and print goes directly without popup. kindly assist.

    Thank You.

    Wednesday, August 23, 2017 5:09 AM

All replies

  • User347430248 posted

    Hi amol.chikurt...,

    window.print() is a JavaScript method.

    JavaScript does not provide any functionality to select the default printer or disable the printer selection or suppress the printer selection popup.

    so it is not possible to fulfil your requirement using JavaScript.

    if we talk about work around then I find 2 links in which one user solve the issue using VB Script and in other thread user try to use Google Cloud Print Api.

    so if you are able to implement the other ideas then you can try to refer the links below.

    Select a printer and silently print

    Print directly from browser without print popup window



    Wednesday, August 23, 2017 8:11 AM