[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
再拷贝一些windows下必要的文件到/usr/share/cups/drivers/,其中一部分在cups-windows包中,其余需要到windows XP下自行拷贝,罗列如下:
-rw-r--r-- 1 root root 803 01-15 11:38 cups6.inf
-rw-r--r-- 1 root root 72 01-15 11:38 cups6.ini
-rw-r--r-- 1 root root 12568 01-15 11:38 cupsps6.dll
-rw-r--r-- 1 root root 13672 01-15 11:38 cupsui6.dll
-rw-r--r-- 1 root root 728576 01-15 14:04 ps5ui.dll
-rw-r--r-- 1 root root 543232 01-15 14:03 pscript5.dll
-rw-r--r-- 1 root root 14787 01-15 14:05 pscript.hlp
-rw-r--r-- 1 root root 1060548 01-15 14:05 pscript.ntf
***只需要运行cupsaddsmb -H localhost -U user printer1 -v即可为打印机添加windows驱动。
【编辑推荐】