First, add a print $ share to samba to store the windows Driver. In the same way, the driver is installed on a windows Internet neighbor shared printer.
[Print $]
Comment = Printer Drivers
Path =/var/lib/samba/printers
Browseable = yes
Read only = yes
Guest OK = no
Copy some necessary files in windows to/usr/share/cups/drivers/, some of which are in the cups-windows package, and others need to be manually copied under windows XP, as listed below:
-Rw-r -- 1 root 803 01-15 :38 cups6.inf
-Rw-r -- 1 root 72 01-15 :38 cups6.ini
-Rw-r -- 1 root 12568 01-15 11: 38 cupsps6.
-Rw-r -- 1 root 13672 01-15 :38 cupsui6.dll
-Rw-r -- 1 root 728576 01-15 14:04 ps5ui. dll
-Rw-r -- 1 root 543232 01-15 14:03 pscript5.dll
-Rw-r -- 1 root 14787 01-15 pscript. hlp
-Rw-r -- 1 root 1060548 01-15 pscript. ntf
Finally, you only need to run cupsaddsmb-H localhost-U user printer1-v to add a windows Driver for the printer.
- Detailed configuration steps for Samba under Solaris 10
- Samba 3.2 release and download
- SAMBA implements file sharing between Solaris and Windows