使用 CUPS + SAMBA 分享網路印表機問題

在 CentOS 5 上面很容易就可以將主機端印表機分享出來給 Windows 的 Client 端當網路印表機使用.. 主要是透過 cups 與 samba 兩個模組來達成. 當然也會面對一些技術的問題, 所以以下將目前遇到的問題陸續整理下來.

- CentOS 由 5 升級到 5.1 之後就無法列印

lpr: Unsupported format 'application/octet-stream'!
[root@pd920 cups]# grep octet *
mime.convs:# Uncomment the following filter and the application/octet-stream type
mime.convs:#application/octet-stream     application/vnd.cups-raw        0       -
mime.types:# Uncomment the following type and the application/octet-stream
mime.types:application/octet-stream
/etc/cups/mime.convs
:
# Raw filter...
#
# Uncomment the following filter and the application/octet-stream type
# in mime.types to allow printing of arbitrary files without the -oraw
# option.
#
 
application/octet-stream        application/vnd.cups-raw        0       -
 
#
# End of "$Id: mime.convs,v 1.20 2004/02/25 20:14:51 mike Exp $".
: