i am Roger Li

為何Win 7 經常無故無法列印到網絡印表機?

公司最近換了一批Windows 7 的電腦,不定期某些電腦會突然無法使用任何network printer。沒有任何先兆,user 可能正在列印Word doc, Excel xls, pdf 甚至web-based 的application。 

出事後在printer 的內容>連接埠>"列印到下列連接埠。文件將會列印到第一個可用的選取連接埠(P)" 下方會全空白。
究竟如何處理這症狀呢? 一個臨時的解決方法是把"Print Spooler"服務重新啟動。
但隨着越來越多電腦使用Windows7,沒有 Admin Right 的Users 又不可自行restart print spooler,經常要為user 重啟spooler 的確廢時失事。於是努力google 找solution 。

遇到問題的電腦共通點如下:
使用Windows 7 企業版
經print server (Windows Server 2003)列印文件到網絡印表機
過往使用Windows XP 未曾出現些問題
皇天不負有心人,最後找到以下forum:
其中一位John Dickson 提到:
Starting in Windows Vista and in Windows 7 we introduced Asynchronous RPC which speeds up communication to a Windows 2008/2008R2 Server. Windows Server 2003 doesn't support this new protocol and when Windows 7 tries to communicate using Async RPC, this is most likely causing the temporary loss of communication.

解決方法是修改Registry Key 或者把print server 換成Windows Server 2008以上以支援Asynchronous RPC.:
HKLMSoftwarePoliciesMicrosoftWindows NTPrintersEnabledProtocols
Type: DWORD
Data: 6

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *