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