Is it feasible to print on a website?

  node.js, question

Is our project an employee internal management system, and then there is a need to print a document, and then I want to say, is there any way to directly click print and then determine whether the printer is connected, and if so, print the document directly, can this be done? Or is it to click print to download the file directly, then open the file through word and print it again, after all, it is a website … so please be a great god and provide some ideas!

Of course, the simplest thing iswindow.print()Yes, a print window will pop up. As for whether to connect or not, it should be done by the browser.