Printing to a client printer from a web app

后端 未结 4 1213
走了就别回头了
走了就别回头了 2020-11-27 07:29

If I have a printer hooked directly to a pc (a kiosk with a printer), how would I go about creating the ability for a web page (.net web app) to print a jpg to the kiosks pr

4条回答
  •  萌比男神i
    2020-11-27 08:17

    This has been asked several times already, and the result is always that you can't do it via normal web technologies (HTML + Javascript). The best you can do is open the print dialog, and that is by design. What you can do since you control the kiosks is create some kind of browser extension (like a flash object, .Net hosted control, java applet, etc) and make that available to your page, so that it handles the printing part for you.

提交回复
热议问题