Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »fndark« (28.08.2010, 07:20) aus folgendem Grund: Habe zwar nicht die Lösung gefunden die ich hier im Beitrag suchte, aber für mich selbhst eine gänzlich andere durch Netzwerkumbau gefunden.
Quellcode |
|
1 |
printcap name = cups |
Quellcode |
|
1 2 3 4 5 6 7 |
[printers] path = /var/spool/samba printable = yes browseable = yes public = yes printer name = hl2030 guest ok = yes |
Zitat
The [printers] section
This section works like [homes], but for printers.
If a [printers] section occurs in the configuration file, users are able to connect to any printer specified in the local host's printcap file.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
... Listen 192.168.178.21:631 ... ... Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL BrowseAllow all ... <Location /> Order allow,deny Allow From localhost Allow From 192.168.178.21/255.255.255.0 Allow @LOCAL </Location> <Location /admin> # Allow remote administration... Order allow,deny Allow From localhost Allow From 192.168.178.21/255.255.255.0 Allow @LOCAL </Location> <Location /admin/conf> # Allow remote access to the configuration files... AuthType Basic Require user @SYSTEM Order allow,deny Allow From localhost Allow From 192.168.178.21/255.255.255.0 Allow @LOCAL </Location> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
... [printers] comment=All Printers path=/var/spool/samba browseable=yes # to allow user 'guest account' to print. guest ok=yes writable=no printable=yes ... [HP_DeskJet_F2100] comment = This is the default Colour Printer path = /var/spool/samba browseable = yes public = yes guest ok = yes writable = no printable = yes printing=cups user client driver=yes ... |
Zitat
[2010/08/23 06:18:25, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2010/08/23 06:18:25, 0] lib/util_sock.c:1491(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.