[Samba] samba 2.2.9 - strange printing problem
kurt weiss
maillists at kwnet.at
Fri Jan 7 12:15:20 GMT 2005
we're using samba 2.2.9 as PDC. (w2k/wxp as clients)
following strange lines i found in smbd.log:
... smbd/service.c:make_connection(252) notebook01 (192.168.10.29)
could'nt find service lpb8-a4-ra
the strange thing is:
the service is named "lpb8-a4-raw"
also the same with the other printers:
service "hpusb" -> "hpus"
service "pdfplotter" -> "pdfplotte"
service "pdfprinter" -> "pdfprinte"
samba is reading the services from etc/printcap.
etc/printcap:
===================================================================
hpusb|lp1|hpusb|hpusb:\
:lp=/dev/usblp0:\
:sd=/var/spool/lpd/cdj970-a4-raw-hp970:\
:lf=/var/spool/lpd/cdj970-a4-raw-hp970/log:\
:af=/var/spool/lpd/cdj970-a4-raw-hp970/acct:\
:la@:mx#0:\
:tr=:cl:sh:sf:
canon|lp2|lbp8-a4-raw|lbp8 a4 raw:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/lbp8-a4-raw:\
:lf=/var/spool/lpd/lbp8-a4-raw/log:\
:af=/var/spool/lpd/lbp8-a4-raw/acct:\
:la@:mx#0:\
:tr=:cl:sh:sf:
===================================================================
relevant parts of smb.conf:
===================================================================
...
printing = lprng
printcap name = /etc/printcap
load printers = yes
...
[printers]
printer admin = @edv
comment = All Printers
browseable = no
printable = yes
public = yes
read only = no
create mode = 0666
path = /tmp
use client driver = yes
[pdfprinter]
printer admin = @edv
comment = Drucker fuer PDF files
browsable = yes
path = /tmp
printable = yes
writable = no
guest ok = yes
force user = nobody
print command = /var/kwnet/pdf/pdfprint %s %U
lpq command =
lprm command =
use client driver = yes
[pdfplotter]
printer admin = @edv
comment = Plotter fuer PDF files
browsable = yes
path = /tmp
printable = yes
writable = no
guest ok = yes
force user = nobody
print command = /var/kwnet/pdf/pdfprint %s %U
lpq command =
lprm command =
use client driver = yes
More information about the samba
mailing list