PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba + Cups Druckproblem



linuxbaby
19.08.04, 16:54
Hallo
also das problem ist folgendes, ich kann von den windows-clients
nicht drucken, der druckauftrag wird gesandt, ich kann ihn unter
/var/spool/samba auch sehen.


tuxi:/var/lib/samba # ls -l /var/spool/samba/
insgesamt 4
drwxrwxrwx 2 root root 35 2004-08-19 16:40 .
drwxr-xr-x 14 root root 4096 2004-05-12 15:41 ..
-rw------- 1 root users 0 2004-08-19 16:40 smbprn.00000008.nntNdZ

aber es wird nichts gedruckt :(
tail /var/log/messages


Aug 19 16:40:50 tuxi smbd[14069]: [2004/08/19 15:40:50, 0] printing/print_cups.c:cups_queue_get(911)
Aug 19 16:40:50 tuxi smbd[14069]: Unable to get jobs for ipp://localhost/printers/hp5550 - client-error-not-found

hier mal meine relevanten teile aus der smb.conf


[global]
...
printing = cups
printcap name = /etc/cups/printcap
load printers = yes
....
[printers]
comment = All Printers
path = /var/spool/samba
printable = yes
create mask = 0600
browseable = no
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j

[print$]
comment = Freigabe fuer Druckertreiber
path = /var/lib/samba/drivers
write list = @ntadmin, root, mrnice, @ntuser, @ntclient, @smbadm
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = yes
read only = yes

[hp5550]
comment = HP Deskjet 5550
printer name = hp5550
path = /var/spool/samba
create mask = 0600
printable = yes
public = yes
browseable = yes
writeable = no
available = yes
print ok = yes

was habe ich wo vergessen ;)
vielen dank für eure hilfe!

gruß
linuxbaby

Fly
19.08.04, 21:32
[/code]
was habe ich wo vergessen ;)
vielen dank für eure hilfe!

gruß
linuxbaby

ja, da fehlt lp command. also der wichtigste befehl, der drucken soll! heisst glaube ich lpr oder so ....