Drucken über Netzwerk
Angelika Morre
angelika.morre at gmx.de
Mo Jun 26 22:04:14 CEST 2006
Am Montag, den 26.06.2006, 20:17 +0200 schrieb Jan-Benedict Glaw:
>
> Äh... Wie sieht jetzt Dein Setup genau aus? Welche Rechner, wo hängt
> der Drucker, wie ist der angeschlossen, wie sieht die cupsd.conf auf
> allen beteiligten Maschinen aus und wie die printers.conf?
>
> MfG, JBG
>
Also der Laserdrucker hängt per USB an dem PC (Suse 9.3). Dann gibt es
noch 2 Laptops (mit Ubuntu Breezy und Drapper), die jeweils per Wlan
drucken. Vor dem Upgrade von Breezy auf Dapper ging dies auch. Der
Breezy Laptop kann weiterhin drucken.
cupsd.conf vom Breezy Laptop:
ConfigFilePerm 0600
DefaultCharset notused
LogLevel info
Printcap /var/run/cups/printcap
RunAsUser No
Listen 127.0.0.1:631
Include cupsd-browsing.conf
BrowseAddress @LOCAL
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
<Location /jobs>
AuthType Basic
AuthClass User
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
cupsd.conf vom Dapper Laptop
LogLevel warning
SystemGroup lpadmin
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location />
Order allow,deny
Allow localhost
Allow From 127.0.0.1
Allow From 192.168.2.2
Allow @LOCAL
</Location>
<Location /admin>
Order allow,deny
Allow localhost
</Location>
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>
<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 Ge t-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 Disa ble-Printer Pause-Printer-After-Current-Job
Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer
Restart-Printer Shutdown-Printer Startup-Pri nter Promote-Job
Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Ad d-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>
Include /etc/cups/cups.d/ports.conf
Include /etc/cups/cups.d/browse.conf
cupsd.conf vom Suse 9.3 PC
LogLevel info
Printcap /etc/cups/printcap
User lp
Group lp
RunAsUser Yes
Port 631
BrowseAllow @LOCAL
BrowseDeny All
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From @LOCAL
</Location>
<Location /admin>
#
AuthType BasicDigest
AuthClass Group
AuthGroupName sys
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
printers.conf vom Breezy Laptop:
<DefaultPrinter ML-1510>
Info ML-1510
DeviceURI ipp://192.168.2.2:631/printers/Samsung_ml1510_700
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer postscript-color-printer-(rev3)>
Info postscript-color-printer-(rev3)
DeviceURI cups-pdf:/
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
printers.conf vom Dapper Laptop:
<Printer ML-1510>
Info ML-1510
Location
DeviceURI ipp://192.168.2.2:631/printers/samsung_ml1510_700
State Idle
StateTime 1151343283
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer ML-1510-1>
Info ML-1510-1
DeviceURI usb://Samsung/ML-1510_700
State Idle
StateTime 1151255931
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer Stylus-C20UX>
Info Stylus-C20UX
DeviceURI ipp://192.168.2.2:631/printers/Epson_Stylus_C20UX
State Stopped
StateMessage /usr/lib/cups/backend/ipp failed
StateTime 1151339428
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
printers.conf vom Suse 9.3 PC:
<Printer Epson_Stylus_C20UX>
Info
Location usb://Epson/C20UX
DeviceURI usb://EPSON/Stylus%20C20
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<DefaultPrinter samsung_ml1510_700>
Info Samsung ML-1510_700
Location USB-Drucker auf //Samsung/ML-1510_700
DeviceURI usb://Samsung/ML-1510_700
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
Gruß
Angelika