Samba Printer werkt niet

Pagina: 1
Acties:

  • arnova
  • Registratie: Augustus 2001
  • Laatst online: 17-08 10:27

arnova

weet veel, maar niet alles

Topicstarter
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?

ESP Controlled PvBoiler https://github.com/arnova/pvboiler


Verwijderd

Als je handmatig die commando's opgeeft om te printen dan doet hij het wel?

  • arnova
  • Registratie: Augustus 2001
  • Laatst online: 17-08 10:27

arnova

weet veel, maar niet alles

Topicstarter
Yep, dat werkt wel. Ik heb overigens al gevonden waarom het niet werkt, komt *WEER* eens door die kut drivers van HP. Ik heb nu de MS driver gebruikt en nu is het probleem opgelost behalve dan dat Windows zegt dat ie GEEN toegang heeft tot mijn printers (Access denied) terwijl het dus wel werkt :?

ESP Controlled PvBoiler https://github.com/arnova/pvboiler