Printing to a client printer from a web app

后端 未结 4 1237
走了就别回头了
走了就别回头了 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条回答
  •  情书的邮戳
    2020-11-27 08:08

    The other comments cover a scenario where you want to print on the computer of the web browser.

    However, if you want to print to a printer connected to the web server (ie, the machine running the web application), you can use regular C# printing with the following twist: http://support.microsoft.com/kb/184291/

    In my context, my kiosk runs both the web server and the web browser, so that solved my problem.

提交回复
热议问题