Ik heb iets heel raars met samba 2.2.3a op mijn RH Linux 7.1 machine. Ik heb 2 printers geexporteerd staan zodat ik ze op mijn Windows 2000 machine kan gebruiken. Mijn HP Laserjet 4 doet het prima maar mijn HP Deskjet 2000c kleurenprinter dus niet (Windows zegt "Unable to connect to printer. Access denied". Mijn smb.conf voor mijn printers ziet er als volgt uit:
[hplj4]
path = /var/spool/lpd/samba
# --- do not use the Samba default path = /tmp
comment = HP LJ 4M PS
print ok = yes
print command = /usr/bin/lpr -Phplj4 -r %s
lpq command = /usr/bin/lpq -Phplj4
lprm command = /usr/bin/lprm -Phplj4 %j
lppause command = /usr/sbin/lpc hold hplj4 %j
lpresume command = /usr/sbin/lpc release hplj4 %j
queuepause command = /usr/sbin/lpc -Phplj4 stop
queueresume command = /usr/sbin/lpc -Phplj4 start
browseable = no
guest ok = yes
read only = yes
create mode = 0700
[color]
path = /var/spool/lpd/samba
# --- do not use the Samba default path = /tmp
comment = HP DJ 2000c
print ok = yes
print command = /usr/bin/lpr -Pcolor -r %s
lpq command = /usr/bin/lpq -Pcolor
lprm command = /usr/bin/lprm -Pcolor %j
lppause command = /usr/sbin/lpc hold color %j
lpresume command = /usr/sbin/lpc release color %j
queuepause command = /usr/sbin/lpc -Pcolor stop
queueresume command = /usr/sbin/lpc -Pcolor start
browseable = no
guest ok = yes
read only = yes
create mode = 0700
Iemand enig idee hoe dit komt?
[hplj4]
path = /var/spool/lpd/samba
# --- do not use the Samba default path = /tmp
comment = HP LJ 4M PS
print ok = yes
print command = /usr/bin/lpr -Phplj4 -r %s
lpq command = /usr/bin/lpq -Phplj4
lprm command = /usr/bin/lprm -Phplj4 %j
lppause command = /usr/sbin/lpc hold hplj4 %j
lpresume command = /usr/sbin/lpc release hplj4 %j
queuepause command = /usr/sbin/lpc -Phplj4 stop
queueresume command = /usr/sbin/lpc -Phplj4 start
browseable = no
guest ok = yes
read only = yes
create mode = 0700
[color]
path = /var/spool/lpd/samba
# --- do not use the Samba default path = /tmp
comment = HP DJ 2000c
print ok = yes
print command = /usr/bin/lpr -Pcolor -r %s
lpq command = /usr/bin/lpq -Pcolor
lprm command = /usr/bin/lprm -Pcolor %j
lppause command = /usr/sbin/lpc hold color %j
lpresume command = /usr/sbin/lpc release color %j
queuepause command = /usr/sbin/lpc -Pcolor stop
queueresume command = /usr/sbin/lpc -Pcolor start
browseable = no
guest ok = yes
read only = yes
create mode = 0700
Iemand enig idee hoe dit komt?
ESP Controlled PvBoiler https://github.com/arnova/pvboiler