Ik heb dus een probleem met printen, en het lukt me zelf niet om het te verhelpen. Ik heb het vermoeden dat samba naar de verkeerde poort weg schrijft, want als ik [linux]echo "test" > /dev/lp0 uitvoer, gebeurt er niks, terwijl het commando [linux]echo "test" > /dev/lp1 uitvoer, er wel response geeft. Ik denk dus dat ik alleen dat hoef te veranderen, maar HOE? Kan je het pad opgeven in samba? Ik gebruik SWAT en ook in de advanced view kan ik niet echt ontdekken waar ik het in kan stellen.
Mijn smb.conf
--------------------------------------
# Samba config file created using SWAT
# from 192.168.0.2 (192.168.0.2)
# Date: 1996/06/30 14:19:18
# Global parameters
[global]
client code page = 866
workgroup = HOME
server string = Freesco
interfaces = 192.168.0.1/24
security = SHARE
encrypt passwords = Yes
log file = /mnt/router/packages/samba/var/samba.%m
max log size = 5
read raw = No
read size = 8192
socket options = TCP_NODELAY IPTOS_LOWDELAY
wins proxy = Yes
guest ok = Yes
hosts allow = 10. 127. 192.168.
[www]
comment = Public WWW Area
path = /www
read only = No
[private]
comment = non-public directory
path = /private
read only = No
hosts allow = 192.168.
[wwa]
path = /wwa
read only = No
hosts allow = 192.168.
[HP2000C]
comment = hp2000c printer
path = /tmp
hosts allow = 192.168.
status = No
printable = Yes
print command = lpr -s -r -P%p %s
use client driver = Yes
default devmode = Yes
browseable = No
---------------------------------------------
iemand een idee?
Mijn smb.conf
--------------------------------------
# Samba config file created using SWAT
# from 192.168.0.2 (192.168.0.2)
# Date: 1996/06/30 14:19:18
# Global parameters
[global]
client code page = 866
workgroup = HOME
server string = Freesco
interfaces = 192.168.0.1/24
security = SHARE
encrypt passwords = Yes
log file = /mnt/router/packages/samba/var/samba.%m
max log size = 5
read raw = No
read size = 8192
socket options = TCP_NODELAY IPTOS_LOWDELAY
wins proxy = Yes
guest ok = Yes
hosts allow = 10. 127. 192.168.
[www]
comment = Public WWW Area
path = /www
read only = No
[private]
comment = non-public directory
path = /private
read only = No
hosts allow = 192.168.
[wwa]
path = /wwa
read only = No
hosts allow = 192.168.
[HP2000C]
comment = hp2000c printer
path = /tmp
hosts allow = 192.168.
status = No
printable = Yes
print command = lpr -s -r -P%p %s
use client driver = Yes
default devmode = Yes
browseable = No
---------------------------------------------
iemand een idee?