是否有可能从Azure的工人打印? [英] Is it possible to print from an Azure worker?

查看:123
本文介绍了是否有可能从Azure的工人打印?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的情况,我会存储在Azure的Blob存储的文件。我希望能够利用这些并打印,当用户请求。

In my scenario, I will have documents stored in Azure blob storage. I'd like to be able to take those and print them when a user requests.

安装程序将是这个样子:

The setup will look something like this:

     Azure
      |
_____________
|     |     |
B1    B2    B3

这里,每个'B'是建筑。当从一个Web应用程序B2的用户点击打印文档,辅助角色将揭开序幕逻辑打印到B2指定的打印机。

Where each 'B' is a building. When a user from B2 clicks on a web app to print a document, the worker role will kick off logic to print to the designated printer in B2.

我已经设置了我的工人干其他的任务,但我不知道从哪里开始寻求建立打印。是这样的可能吗?

I've already set up my workers for other tasks, but I'm not sure where to start looking to set up printing. Is something like this possible?

我想那里是出于安全考虑,尽可能少的用户交互成为可能。

I would like there to be as little user interaction as possible for security purposes.

推荐答案

答案很简单,第为了辅助角色虚拟机打印文档,它需要连接到一台打印机。如何将你的工作者角色连接到打印机?尽你所能代替的是有用户通过您的web应用程序下载他们的本地计算机上的文档和从那里打印。

Simple answer is No. In order for a Worker Role VM to print a document, it needs to connect to a printer. How will your worker role connect to a printer? What you could instead is have the user download the document through your web app on their local computer and print it from there.

这篇关于是否有可能从Azure的工人打印?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆