Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Windows 10 上使用 Redmon 和 Ghostscript 打印到 pdf,为此我添加了一台新打印机(将驱动程序设置为 ghostpdf.inf)并添加了重定向端口(RPT1)。现在,当我配置此端口时,我收到错误窗口句柄无效,请检查图片。谢谢
好的,您需要管理员权限 - 使用 cmd 作为管理员使用命令编辑端口配置 - printui.dll PrintUIEntry /p /n "printer name"