簡體   English   中英

以編程方式添加打印機 Windows 8

[英]Add printer Windows 8 programmatically

我正在使用虛擬打印機,但一直在安裝打印機。 安裝由 InnoSetup 完成

[run] Filename : rundll32.exe; Parameters: "printui.dll, PrintUIEntry /if /f ""{app}\ghostscript\ghostpdf.inf"" /r ""TitusVirtualPrinter:"" /m ""Ghostscript PDF"" /b ""Virtual Printer""  /u /Y "; StatusMsg: Installing PS Printer for Ghostscript; Description: Ghostscript PS Printer; Flags: waituntilterminated shellexec; 

該行完美運行,該程序安裝在 Windows 7 系統(Pro 32 和 64 位)上,但不能安裝在 Windows 8 上。我沒有任何錯誤消息。

會不會和這個一樣:

http://www.jenovarain.com/2012/12/ghostscript-printer-on-windows-8-64-bit/

也許他們在那篇文章中與您的問題相關的關鍵信息是

您需要選擇選項 #7“禁用驅動程序簽名強制”

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM