[Samba] Adding a cups printer driver
stefan at st-petersen.de
Wed Jun 15 20:14:34 GMT 2005
Am Mittwoch, 15. Juni 2005 18:47 schrieb Tomasz Chmielewski:
> Stefan Petersen schrieb:
> > Hello,
> > I have desperately tried to make samba able to share the printer with a
> > Win98SE client. First I tried cupsaddsmb, but that failed.
> > Do somebody have an idea?
> using cupsaddsmb is the easiest.
> perhaps if you could describe why it failed (what command do you use,
> what postscript drivers you have etc.), we could help you.
thanks for your quick reply.
These are the drivers. They are the Adobe Postscript Drivers.
The files reside in /usr/share/cups/drivers.
coruscant ~ # ls -la /usr/share/cups/drivers
drwxr-xr-x 2 root root 240 5. Jun 17:33 .
drwxr-xr-x 10 root root 248 5. Jun 13:01 ..
-rw-r--r-- 1 root root 575573 11. Jul 2000 Adfonts.mfm
-rw-r--r-- 1 root root 1297280 23. Apr 2002 Adobeps4.drv
-rw-r--r-- 1 root root 233348 23. Apr 2002 Adobeps4.hlp
-rw-r--r-- 1 root root 13493 23. Apr 2002 defprtr2.ppd
-rw-r--r-- 1 root root 118128 23. Apr 2002 Iconlib.dll
-rw-r--r-- 1 root root 57344 11. Jul 2000 Psmon.dll
The command for cupsaddsmb was:
cupsaddsmb -H coruscant -U root -h coruscant -v PagePro8L
Password for root required to access coruscant via SAMBA:
Running command: rpcclient coruscant -N -U'root%xxxx' -c 'setdriver PagePro8L
added interface ip=192.168.1.20 bcast=192.168.1.255 nmask=255.255.255.0
Succesfully set PagePro8L to driver PagePro8L.
But unfortuanately the directory of /etc/samba/drivers, as set in smb.conf is
empty. I can browse the printer on the Win98 client, but it still asks for
the driver. As far as I know it should get the drivers from the server,
Then I have tried to add the printer manually, to see where the problem is
located. The result of this try was the content of the first posting.
So I have no idea how to succeed.
More information about the samba