差異處
這裏顯示兩個版本的差異處。
兩邊的前次修訂版 前次修改 下次修改 | 前次修改 | ||
tech:cpus_tips [2007/12/14 15:07] – jonathan | tech:cpus_tips [2009/03/03 01:04] (目前版本) – jonathan | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== 使用 CUPS + SAMBA 分享網路印表機問題 ====== | ||
+ | 在 CentOS 5 上面很容易就可以將主機端印表機分享出來給 Windows 的 Client 端當網路印表機使用.. 主要是透過 cups 與 samba 兩個模組來達成. 當然也會面對一些技術的問題, | ||
+ | |||
+ | ===== - CentOS 由 5 升級到 5.1 之後就無法列印 ===== | ||
+ | * 經過 / | ||
+ | < | ||
+ | lpr: Unsupported format ' | ||
+ | </ | ||
+ | * 再到 /etc/cpus/ 內以 octet 當關鍵字 grep 發現有兩個檔案和 octet 有關 | ||
+ | < | ||
+ | [root@pd920 cups]# grep octet * | ||
+ | mime.convs:# | ||
+ | mime.convs:# | ||
+ | mime.types:# | ||
+ | mime.types: | ||
+ | </ | ||
+ | * 將 mime.convs 內的 application/ | ||
+ | <code |h / | ||
+ | : | ||
+ | # Raw filter... | ||
+ | # | ||
+ | # Uncomment the following filter and the application/ | ||
+ | # in mime.types to allow printing of arbitrary files without the -oraw | ||
+ | # option. | ||
+ | # | ||
+ | |||
+ | application/ | ||
+ | |||
+ | # | ||
+ | # End of "$Id: mime.convs, | ||
+ | : | ||
+ | </ | ||
+ | * 如果還是不能列印(可能 log 都沒出現紀錄), | ||
+ | |||
+ | {{tag> |