[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cups ist auf W95 Client nicht sichtbar (immer noch nicht)



Hi Gerhard!

On Mon, 25 Feb 2002, Gerhard Engler wrote:

> Hallo Mailingliste,
> 
> ich hatte das Thema schon einmal hier gemailt. Bisher habe ich jedoch
> noch nicht den entscheidenden Tipp gefunden.
> 
> Auf meinem Debian 3.0 (Woddy) rechner habe ich folgende Pakete
> installiert:
> 
> * cupsys (1.1.14-2)
> * cupsys-client (1.1.14-2)
> * cupsys-pstoraster (1.1.14-2)
> * cupsys-bsd (1.1.14-2)
> * libcupsys2 (1.1.14-2)
> * kdelibs3-cups (2.2.2-5)
> * samba (2.2.2-12)
> * samba-common (2.2.2-12)
> * samba-doc (2.2.2-12)

Bei mir (sid) sind es folgende:

* cupsys-driver-gimpprint (4.2.0-4)
* cupsys-bsd (1.1.14-2)
* cupsys-pstoraster (1.1.14-2)
* libcupsys2 (1.1.14-2)
* cupsys-client (1.1.14-2)
* cupsomatic-ppd (0.20010420-4)
* cupsys (1.1.14-2)
* kdelibs3-cups (4:2.2.2-11)
* samba (2.2.3a-1)
* samba-common (2.2.3a-1)
* samba-doc (2.2.3a-1)


> Auf Cups habe ich per Browser einen Drucker angefügt. Auf dem
> Debian-Rechner kann ich auch auf dem Drucker drucken.
> 
> In der /etc/smb/smb.conf habe ich bereits alle möglichen gemailten
> Kombinationen ausprobiert. Gem. der Cups-Dokumentation müßte allerdings
> 
> ...
> [global]
> printing = cups
> printcap name = cups
> 
> ausreichen.

Nicht ganz: laut http://localhost:901/swat/help/smb.conf.5.html

| If a [printers] section occurs in the configuration file, users are
| able to connect to any printer specified in the local host's printcap
| file.

Das heist Du musst noch eine [printers]-Section in deine
/etc/samba/smb.conf einfuegen. bei mir sieht das so aus:

| [global]
| 	printing = cups
|         load printers = Yes
|         printcap name = /etc/printcap.cups
|         print command = /usr/bin/lp -d%p -oraw %s; rm %s
|         lpq command = /usr/bin/lpstat -o%p
|         lprm command = /usr/bin/cancel %p-%j
|         queuepause command = /usr/bin/disable %p
|         queueresume command = /usr/bin/enable %p
| 
| [printers]
|         path = /var/spool/samba
|         guest ok = no
|         printable = yes

Und es funzt:

| markus@morgenda:~$ smbclient -L localhost
| added interface ip=192.168.88.2 bcast=192.168.88.255 nmask=255.255.255.0
| Password: 
| Domain=[MOBILE] OS=[Unix] Server=[Samba 2.2.3a-1 for Debian]
| 
|         Sharename      Type      Comment
|         ---------      ----      -------
|         PUBLIC         Disk      Some data -->
|         INCOMING       Disk      Some place to put your shit!!
|         IPC$           IPC       IPC Service (My Laptop (Samba 2.2.3a-1 for Debian))
|         ADMIN$         Disk      IPC Service (My Laptop (Samba 2.2.3a-1 for Debian))
|         deskjet        Printer   
|         markus         Disk      Home Directories
| 
|         Server               Comment
|         ---------            -------
|         DELL                 My Laptop (Samba 2.2.3a-1 for Debian)
|         LAPTOP               My Laptop (Samba 2.2.3a-1 for Debian)
|         MORGENDA             My Laptop (Samba 2.2.3a-1 for Debian)
| 
|         Workgroup            Master
|         ---------            -------
|         MOBILE               MORGENDA

Ach ja, ich habe die configuration von samba mittels swat
(http://localhost:901) erledigt. Ist ziemlich komfortabel ...

	Gruss Markus

-- 
[ markus hubig     ] [ mail: mhubig@web.de     ] [ debian/gnu linux (sid)  ]
[ vorholzstrasse 6 ] [ saft: markus@pot.ath.cx ] [ linux 2.4.17 i686       ]
[ 76131 karlsruhe  ] [ tele: +049 721 6657522  ] [ reg. Linux user #204961 ]

Attachment: pgpiwPTYyKcZ2.pgp
Description: PGP signature


Reply to: