好久沒有在Linux中工作了,雖然覺得Linux是編程最好的環境,但桌面總是沒有Windows好用。
近日開始在Ubuntu 8.04中建立Apache Web Server and MySQL database,發現這個桌面系統完全可以代替Windows了,操作相當方便,很多以前都支持不好的硬件現在都比較好的支持了。只有安裝打印機費了些曲折,下面記錄一下安裝過程:
1、在Xerox網站搜索自己想要的打印機驅動程序(http://www.support.xerox.com/),我的是Phaser 4510n,選擇Linux CUPS Printing Package。下載後,解壓縮,安裝可以參考裡面的Readme.txt。
2、建立CUPS manufacturer (model) folder:
mkdir /usr/share/cups/model
並拷貝解壓縮的特定型號驅動型號ppd文件到此目錄。
( 可能可以直接COPY到已經存在的xerox目錄/usr/share/ppd/splix/xerox就可以?)
3、 重起cups服務:
killall -HUP cupsd
/etc/init.d/cupsys restart
4、用firefox打開http://127.0.0.1:631/ CUP管理窗口,Administration->Add printer-> Input the name and description.
5、Select [Appsocket / HP JetDirect] from the Device menu, Click [Continue], Type socket://10.135.104.x(IP), Click [Continue],Select the printer model from the Model section. The a "printer has been added successfully' message will be displayed.
6、 在打印機的Configure設置相關的選項,如default pape為A4等,重復其它設置項。後打印測試頁,over!