Hejsa
Jeg er igang med at sætte en Linux (Samba) print-server op på arbejdet, og
har også fået det meste til at virke. Men nu står jeg med et meget underligt
problem.
Jeg har fået installeret 6 printere med automatisk download af drivere til
en Windows klient. De 4 af dem virker perfekt, og Windows suger filerne over
lynhurtigt. De to sidste er sat op fuldstændig på samme måde, men af endnu
ukendte årsager, vil Windows ikke trække filerne fra Linux serveren.
Jeg bruger Samba 2.2 og det gamle driver-download system med make_printerdef
og printer.def filer.
Det er printerne "cow074" og "cow075" som ikke vil hente driverne fra
printer.def filen, og jeg kan simpelthen ikke fatte hvorfor. Nedenfor er en
kopi af smb.conf, printers.def og printcap.
Nogen der kan sige mig hvad jeg har sat forkert, siden kun nogle af
printerne virker med driver-download?
Med venlig hilsen
Frank Nørvig
*************************************************
Min smb.conf ser således ud:
*************************************************
[global]
#Network settings
workgroup = WILSON
netbios name = coc182
server string = Wilson CPH test print server
local master = no
os level = 0
domain master = no
preferred master = no
#Advanced network settings
wins support = no
wins server = 172.16.1.200
dns proxy = no
#Logfile settings
log file = /usr/local/samba/var/log.%m
max log size = 100
#Security settings
security = share
encrypt passwords = yes
unix password sync = yes
#Performance settings
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=4096 SO_RCVBUF=4096
#Printer settings
load printers = no
printing = lpr
print command = /usr/bin/lpr -P%p %s -r
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
lpq cache time = 60
change notify timeout = 10
printer driver file = /usr/local/samba/printers.def
#============================ Share Definitions
==============================
[public]
comment = Wilson Public
path = /home/public
writable = yes
browsable = yes
public = yes
[printer$]
path = /usr/local/samba/printers
public = yes
writable = no
browsable = yes
[cow020]
comment = Bogholderi
path = /var/spool/samba/lpd/cow020
browsable = yes
printable = yes
public = yes
writable = no
create mode = 0700
printer driver = HP LaserJet 5/5M PostScript
printer driver location = \\%H\PRINTER$
[cow033]
comment = Import/Export Printer
path = /var/spool/samba/lpd/cow033
browsable = yes
printable = yes
public = yes
writable = no
create mode = 0700
printer driver = HP LaserJet 5/5M PostScript
printer driver location = \\%H\PRINTER$
[cow034]
comment = Sea Printer
path = /var/spool/samba/lpd/cow034
browsable = yes
printable = yes
public = yes
writable = no
create mode = 0700
printer driver = HP LaserJet 4/4M Plus PS
printer driver location = \\%H\PRINTER$
[cow074]
comment = Sales Printer
path = /var/spool/samba/lpd/cow074
browsable = yes
printable = yes
public = yes
writable = no
create mode = 0700
printer driver = HP LaserJet 4050 Series PS
printer driver location = \\%H\PRINTER$
[cow075]
comment = Export Copy
path = /var/spool/samba/lpd/cow075
browsable = yes
printable = yes
public = yes
writable = no
create mode = 0700
printer driver = RICOH Aficio 551 PS
printer driver location = \\%H\PRINTER$
[cow089]
comment = IT Printer
path = /var/spool/samba/lpd/cow089
browsable = yes
printable = yes
public = yes
writable = no
create mode = 0700
printer driver = HP LaserJet 4/4M Plus PS
printer driver location = \\%H\PRINTER$
*************************************************
Min printer.def ser således ud: (mellemrum mellem linierne er lavet for syns
skyld)
*************************************************
HP LaserJet 4050 Series PS:PSCRIPT.DRV:HP4050_4.PPD:PSCRIPT.HLP:HP LaserJet
5 Language
Monitor:RAW:HPDCMON.DLL,HP4050_4.PPD,PSCRIPT.HLP,PSCRIPT.INI,ICONLIB.DLL,FON
TS.MFM,PSCRIPT.DRV
HP LaserJet 4/4M Plus PS:HPBPCLA.DRV:HPBPCLA.DRV:HPBPCLA.HLP:HP LaserJet 5
Language
Monitor:RAW:HPTABS16.DLL,HPDCMON.DLL,HPBPCLA.DRV,HPBPCLA.HLP,HPBPCLA1.DLL,HP
BPCLA2.DLL,HPBPCLA3.DLL,HPBPCLA4.DLL,HPBPCLA5.DLL,HPBPCLA6.DLL,HPBPCLA6.HLP
HP LaserJet 5/5M
PostScript:ADOBEPS4.DRV:HPLJ5M_4.PPD:ADOBEPS4.HLP:PostScript Language
Monitor:RAW:HPLJ5M_4.ppd,adobeps4.drv,adobeps4.hlp,pscript.ini ,psmon.dll
,iconlib.dll ,fonts.mfm
RICOH Aficio 551
PS:ADOBEPS4.DRV:RICNH553.PPD:ADOBEPS4.HLP:PSMON.DLL:RAW:RICNH553.PPD,RICNH55
3.DLL,RICTI16.DLL,ADOBEPS4.DRV,ADOBEPS4.HLP,DEFPRTR2.PPD,DEFPRTR3.PPD,ADFONT
S.MFM,PSCRIPT.INI,ICONLIB.DLL,PSMON.DLL,RICTI16.DLL
*************************************************
Min printcap ser således ud:
*************************************************
# /etc/printcap
#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.
##PRINTTOOL3## REMOTE TEXT 300x300 a4 {} TextPrinter Default {}
cow013:\
:sd=/var/spool/lpd/cow013:\
:mx#0:\
:sh:\
:rm=172.16.1.13:\
:rp=:\
:if=/var/spool/lpd/cow013/filter:
##PRINTTOOL3## REMOTE TEXT 300x300 a4 {} TextPrinter Default {}
cow020:\
:sd=/var/spool/lpd/cow020:\
:mx#0:\
:sh:\
:rm=172.16.1.20:\
:rp=:\
:if=/var/spool/lpd/cow020/filter:
##PRINTTOOL3## REMOTE TEXT 300x300 a4 {} TextPrinter Default {}
cow033:\
:sd=/var/spool/lpd/cow033:\
:mx#0:\
:sh:\
:rm=172.16.1.33:\
:rp=:\
:if=/var/spool/lpd/cow033/filter:
##PRINTTOOL3## REMOTE TEXT 300x300 a4 {} TextPrinter Default {}
cow034:\
:sd=/var/spool/lpd/cow034:\
:mx#0:\
:sh:\
:rm=172.16.1.34:\
:rp=:\
:if=/var/spool/lpd/cow034/filter:
##PRINTTOOL3## REMOTE TEXT 300x300 a4 {} TextPrinter Default {}
cow045:\
:sd=/var/spool/lpd/cow045:\
:mx#0:\
:sh:\
:rm=172.16.1.45:\
:rp=:\
:if=/var/spool/lpd/cow045/filter:
##PRINTTOOL3## REMOTE TEXT 300x300 a4 {} TextPrinter Default {}
cow074:\
:sd=/var/spool/lpd/cow074:\
:mx#0:\
:sh:\
:rm=172.16.1.74:\
:rp=:\
:if=/var/spool/lpd/cow074/filter:
##PRINTTOOL3## REMOTE TEXT 300x300 a4 {} TextPrinter Default {}
cow075:\
:sd=/var/spool/lpd/cow075:\
:mx#0:\
:sh:\
:rm=172.16.1.75:\
:rp=:\
:if=/var/spool/lpd/cow075/filter:
##PRINTTOOL3## REMOTE POSTSCRIPT 300x300 a4 {} PostScript Default {}
cow089:\
:sd=/var/spool/lpd/cow089:\
:mx#0:\
:sh:\
:rm=172.16.1.89:\
:rp=:\
:if=/var/spool/lpd/cow089/filter:
|