Hallo zusammen
Ich bin mir nicht sicher wie ich einen Drucker welcher an einem Debian 4.0 Server angeschlossen ist (via USB) freigeben muss, damit alle im Netzwerk darauf ausdrucken können. Kann mich da jemand Schritt für Schritt ranführen? Ich habe CUPS schon installiert und so wie es aussieht hat die Treiber Installation auch funktioniert, da ich schon eine Testseite ausdrucken konnte. Besten Dank!
Drucker im Netzwerk freigeben mit SAMBA
-
- Beiträge: 546
- Registriert: 16.12.2004 09:58:27
- Wohnort: Leipzig
Hallo dinosaur,
da gibt es verschieden Möglichkeiten. Drucken über IPP (Cups) oder über Samba.
Über Cups ist es relativ einfach. Du musst gegebenenfalls die Zugriffsreche in /etc/cups/cupsd.conf anpassen.
192.168.1.0 natürlich auf dein Netzwerk anpassen.
Dann kannst Du an den Clients zb Windows unter Drucker hinzufügen auf "Mit einen Compu ter im Internet oder Intranet verbinden" Dort dann bei "URL : http://name.oder.ip.deines.cupsserver:631/druckername" eintragen. Und es sollte drucken.
Grüße Jörg
da gibt es verschieden Möglichkeiten. Drucken über IPP (Cups) oder über Samba.
Über Cups ist es relativ einfach. Du musst gegebenenfalls die Zugriffsreche in /etc/cups/cupsd.conf anpassen.
Code: Alles auswählen
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.0/255.255.255.0
Dann kannst Du an den Clients zb Windows unter Drucker hinzufügen auf "Mit einen Compu ter im Internet oder Intranet verbinden" Dort dann bei "URL : http://name.oder.ip.deines.cupsserver:631/druckername" eintragen. Und es sollte drucken.
Grüße Jörg
Hi, danke für die Antwort...
Mach ich das so richtig? wenn ich dies so konfiguriere kann ich zwar den drucker hinzufügen, doch beim status in WinXP steht "Access denied, unable to connect".
Mach ich das so richtig? wenn ich dies so konfiguriere kann ich zwar den drucker hinzufügen, doch beim status in WinXP steht "Access denied, unable to connect".
Code: Alles auswählen
#
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel warning
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen 192.168.1.7:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow from @LOCAL
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow from 127.0.0.1
Allow from 192.168.1.*/255.255.255.0
</Location>
# Restrict access to the admin pages...
<Location /admin>
Encryption Required
Order allow,deny
Allow from 127.0.0.1
Allow from 192.168.1.*/255.255.255.0
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow from 127.0.0.1
Allow from 192.168.1.*/255.255.255.0
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an adminstrator to authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
#
#
# Printcap: the name of the printcap file. Default is /etc/printcap.
# Leave blank to disable printcap file generation.
#
Printcap /var/run/cups/printcap
#
# PrintcapFormat: the format of the printcap file, currently either
# BSD or Solaris. The default is "BSD".
#
#PrintcapFormat BSD
#PrintcapFormat Solaris
#
# PrintcapGUI: the name of the GUI options panel program to associate
# with print queues under IRIX. The default is "/usr/bin/glpoptions"
# from ESP Print Pro.
#
# This option is only used under IRIX; the options panel program
# must accept the "-d printer" and "-o options" options and write
# the selected printer options back to stdout on completion.
#
#PrintcapGUI /usr/bin/glpoptions
Zuletzt geändert von dinosaur am 06.09.2007 12:34:12, insgesamt 1-mal geändert.
so, ich hab noch in der smb.conf folgende zwei einträge abgeändert:
nun klappts!
aber drucke ich nun doch via samba oder direkt auf cups?
danke, gruss D
Code: Alles auswählen
printing = cups
printcap name = cups
aber drucke ich nun doch via samba oder direkt auf cups?
danke, gruss D