Print html document from Windows Service without print dialog

后端 未结 5 968
青春惊慌失措
青春惊慌失措 2020-11-30 05:53

I am using a windows service and i want to print a .html page when the service will start. I am using this code and it\'s printing well. But a print dialog box come, how do

5条回答
  •  一整个雨季
    2020-11-30 06:31

    OLECMDEXECOPT_PROMPTUSER seems to force a prompt to the user to select printer and all associated stuff, which I am pretty sure is not allowed from a service. Can someone verify this?

提交回复
热议问题