在 Azure 上安装 XPS 文档编写器

发布于 2025-01-04 01:25:39 字数 385 浏览 5 评论 0原文

因此,我在 Azure 上有一个 Windows Server 2008 虚拟机,我需要安装 XPS Document writer。问题是后台处理程序未启动。当我尝试启动后台打印程序时,出现 1058 错误。我尝试从后台处理程序中清除打印机、删除注册表项、启动 RPCSS 服务,但仍然没有任何结果。如果我尝试安装打印机,则会收到一条错误消息,指出后台打印程序未启动。我尝试安装新硬件,从 Windows\system32\spool\tools\Microsoft XPS Document Writer 选择 XPS 驱动程序,但驱动程序安装失败。 我在 Goolge 上搜索,发现可以使用 DISM 工具启用 XPS 文档编写器,但机器没有。

有人有什么想法吗?

PS XPS 文档查看器已启用...但这就是查看器

So i have a Windows Server 2008 virtual machine on Azure, and I need to install the XPS Document writer. The problem is that the spooler is not started. When I try to start the spooler i get the 1058 error. I tried clearing the printers from the spooler, removing registry keys, starting RPCSS service, still nothing. If I try to install a printer i get an error stating that the spooler is not started. I tried to install new hardware, I selected the XPS driver from Windows\system32\spool\tools\Microsoft XPS Document Writer but i get a driver install failure.
I searched on Goolge and i found out that you can enable XPS document writer with the DISM tool but the machine does not have it.

Does anyone have any ideas?

P.S. XPS document viewer is enabled...but that`s the viewer

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我也只是我 2025-01-11 01:25:39

不能只使用.NET 来创建XPS 文档吗?
如何创建 XPS 文档?

(非常快速地搜索该... )

然后将文档存储在 Blob 存储中,以便在本地持久保存并可访问它们以进行本地打印(REST 或 Mgmt API)?

我不明白您对 Azure 上的 XPS 文档编写器和触摸驱动程序的要求,这在无状态计算机中听起来不合适吗?

Can you not just use .NET to create the XPS document?
How to create an XPS document?

(Very quick search for that...)

Then store your documents in blob storage so they are persisted and accessible on-premises for printing locally (REST or Mgmt API)?

I don't understand your requirement for XPS document writer on Azure and touching drivers, doesnt sounds right in a stateless machine?

三人与歌 2025-01-11 01:25:39

看来我已经整理好了。我不太确定我做了什么,因为我尝试了很多事情,但重新启动后,后台打印程序启动,XPS Document Writer 已安装并设置为默认值。我在某个地方发现,在第一次启动 Microsoft 在 Azure 上提供的虚拟机时,默认情况下不会启动打印机后台处理程序,因此也许简单地重新启动 VM 就可以解决问题。

感谢您的帮助!

此致!

It appears that I've sorted it. I`m not exactly sure what I have done since I've tried many things but after a restart the spooler was started and the XPS Document Writer was installed and set to default. I found somewhere that on the first start of the virtual machine provided by Microsoft on Azure the printer spooler is not started by default, so maybe a simple reboot of the VM could do the trick.

Thanks for all the help!

Best regards!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文