範例印表機為HP Deskjet 1180c。
1. 找到共享印表機所在電腦的IP
192.168.0.2
2. 使用smbclient找出該IP所共享的資源
smbclient --list 192.168.0.2
Sharename Type Comment
-------------- ------- -----------
HP1180 Printer hp deskjet 1180c printer
3. 在CUPS中加入新印表機,設定完印表機名稱之後要選擇Device,這時候選擇"Windows Printer via SAMBA"
4. 在Device URL中輸入:smb://192.168.0.2/HP1180
5. 選擇HP Deskjet 9300的驅動程式安裝 [2]
6. 設定完成,可以列印測試頁了 :-)
Reference:
[1] http://www.faqs.org/docs/Linux-mini/Debian-and-Windows-Shared-Printing.html#netprint
[2] http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_1180C
No comments:
Post a Comment