cups setting for sharing to windows

edit the /etc/cups/cupsd.conf into this

#
# “$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $”
#
# 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 “warn” to “debug”
# for troubleshooting…
LogLevel warn

# Administrator user group…
SystemGroup sys root

# Only listen for connections from the local machine.
#Listen localhost:631
Listen *:631
Listen /var/run/cups/cups.sock

Port 631

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols
#ini ditambah sendiri
BrowseAddress @LOCAL

# Default authentication type, when authentication is required…
DefaultAuthType Basic

# Restrict access to the server…

Order allow,deny
#ini ditambah sesuai www.linuxforum.us.intelitxt.com
Allow From 192.168.1.*
Allow From 127.0.0.1
Allow From localhost.localdomain
Allow all

#ini ditambah sendiri

AuthType None
Order Deny,Allow
Deny From None
Allow From All

# Restrict access to the admin pages…

# Encryption Required
Order allow,deny
Allow @LOCAL

# Restrict access to configuration files…

AuthType Default
Require user @SYSTEM
Order allow,deny

# Set the default printer/job policies…

# Job-related operations must be done by the owner or an administrator…

Require user @OWNER @SYSTEM
Order deny,allow

# All administration operations require an administrator to authenticate…

AuthType Default
Require user @SYSTEM
Order deny,allow

# All printer operations require a printer operator to authenticate…

AuthType Default
Require user @SYSTEM
Order deny,allow

# Only the owner or an administrator can cancel or authenticate a job…

Require user @OWNER @SYSTEM
Order deny,allow

Order deny,allow

# Set the authenticated printer/job policies…

# Job-related operations must be done by the owner or an administrator…

AuthType Default
Order deny,allow

AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow

# All administration operations require an administrator to authenticate…

AuthType Default
Require user @SYSTEM
Order deny,allow

# All printer operations require a printer operator to authenticate…

AuthType Default
Require user @SYSTEM
Order deny,allow

# Only the owner or an administrator can cancel or authenticate a job…

AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow

AuthType Default
Order deny,allow

#
# End of “$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $”.
#

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.