Hi all<br>

<br>

I have Sharp Printer Model AR-161, to it A print server is connected to it's parallel port. <br>

i have Redhat Enterprise Linux 4 Enterprise Server with cups installed.
i want to configure Print queue/ or make my Linux system as Print
server and configure samba <br>

so that my windows clients can give print through the Linux system<br>

<br>

I have configured CUPS like following  <a href="http://localhost:631/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://localhost:631</a><br>

Add new Printer -> <br>

Name: netprinter<br>

Location: Office<br>

Description: Sharp AR-161<br>

<br>

Device: APP Socket/ HP Jetdirect<br>

DEVICE URI : <a>socket://192.168.129.101:9100</a> ( <a href="http://192.168.129.101/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.129.101</a> is the ip
configured to print server connected to the Sharp Printer)<br>

model- Sharp<br>

Tried with the following drivers but i am unable to print<br>

Sharp AR-161 foomatic/hpij5(en)<br>

Sharp AR-161 foomatic/lj4dith(en)<br>

Sharp AR-161 foomatic/lj5gray(en)<br>

Sharp AR-161 foomatic/ljet4(en)<br>

Sharp AR-160 PS 1.1 (en)<br>

Sharp AR-161 foomatic + lj5gray (en)<br>

Sharp AR-161 foomatic + lj5mono (en)<br>

Sharp AR-161 foomatic + ljet4 (en)<br>

Sharp AR-161 foomatic + pxlmono (en)<br>

<br>

i tried with all the drivers available but still i am unable to print<br>

i tried with command line lpadmin -p netprint -v <a>socket://192.168.129.101:9100</a> -m sharp-ar-161-pxlmono.ppd -E <br>

/usr/bin/enable netprinter<br>

/usr/sbin/accept netprinter<br>
but still unable to print<br>
<br>
my cupsd.conf file <br>
####################################################################################<br>
#<br>
# "$Id: <a href="http://cupsd.conf.in">cupsd.conf.in</a>,v 1.16 2004/08/18 17:53:47 mike Exp $"<br>
#<br>
#   Sample configuration file for the Common UNIX Printing System (CUPS)<br>
#   scheduler.<br>
#<br>
#   Copyright 1997-2004 by Easy Software Products, all rights reserved.<br>
#<br>
#   These coded instructions, statements, and computer programs are the<br>
#   property of Easy Software Products and are protected by Federal<br>
#   copyright law.  Distribution and use rights are outlined in the file<br>
#   "LICENSE.txt" which should have been included with this file.  If this<br>
#   file is missing or damaged please contact Easy Software Products<br>
#   at:<br>
#<br>
#       Attn: CUPS Licensing Information<br>
#       Easy Software Products<br>
#       44141 Airport View Drive, Suite 204<br>
#       Hollywood, Maryland 20636 USA<br>
#<br>
#       Voice: (301) 373-9600<br>
#       EMail: <a href="mailto:cups-info@cups.org">cups-info@cups.org</a><br>
#         WWW: <a href="http://www.cups.org">http://www.cups.org</a><br>
#<br>
<br>
########################################################################<br>
#                                                                     
#<br>
# This is the CUPS configuration file.  If you are familiar with       #<br>
# Apache or any of the other popular web servers, we've followed the   #<br>
# same format.  Any configuration variable used here has the same      #<br>
# semantics as the corresponding variable in Apache.  If we need       #<br>
# different functionality then a different name is used to avoid       #<br>
#
confusion...                                                        
#<br>
#                                                                     
#<br>
########################################################################<br>
<br>
<br>
########<br>
######## Server Identity<br>
########<br>
<br>
#<br>
# ServerName: the hostname of your server, as advertised to the world.<br>
# By default CUPS will use the hostname of the system.<br>
#<br>
# To set the default server used by clients, see the client.conf file.<br>
#<br>
<br>
#ServerName <a href="http://myhost.domain.com">myhost.domain.com</a><br>
<br>
#<br>
# ServerAdmin: the email address to send all complaints/problems to.<br>
# By default CUPS will use "root@hostname".<br>
#<br>
<br>
#ServerAdmin <a href="mailto:root@your.domain.com">root@your.domain.com</a><br>
<br>
<br>
########<br>
######## Server Options<br>
########<br>
<br>
#<br>
# AccessLog: the access log file; if this does not start with a leading /<br>
# then it is assumed to be relative to ServerRoot.  By default set to<br>
# "/var/log/cups/access_log"<br>
#<br>
# You can also use the special name "syslog" to send the output to the<br>
# syslog file or daemon.<br>
#<br>
<br>
#AccessLog /var/log/cups/access_log<br>
<br>
#<br>
# Classification: the classification level of the server.  If set, this<br>
# classification is displayed on all pages, and raw printing is disabled.<br>
# The default is the empty string.<br>
#<br>
<br>
#Classification classified<br>
#Classification confidential<br>
#Classification secret<br>
#Classification topsecret<br>
#Classification unclassified<br>
<br>
#<br>
# ClassifyOverride: whether to allow users to override the classification<br>
# on printouts. If enabled, users can limit banner pages to before or<br>
# after the job, and can change the classification of a job, but cannot<br>
# completely eliminate the classification or banners.<br>
#<br>
# The default is off.<br>
#<br>
<br>
#ClassifyOverride off<br>
<br>
#<br>
# DataDir: the root directory for the CUPS data files.<br>
# By default "/usr/share/cups".<br>
#<br>
<br>
#DataDir /usr/share/cups<br>
<br>
#<br>
# DefaultCharset: the default character set to use. If not specified,<br>
# defaults to "utf-8".  Note that this can also be overridden in<br>
# HTML documents...<br>
#<br>
<br>
#DefaultCharset utf-8<br>
<br>
#<br>
# DefaultLanguage: the default language if not specified by the browser.<br>
# If not specified, the current locale is used.<br>
#<br>
<br>
#DefaultLanguage en<br>
<br>
#<br>
# DocumentRoot: the root directory for HTTP documents that are served.<br>
# By default "/usr/share/doc/cups-1.1.22".<br>
#<br>
<br>
#DocumentRoot /usr/share/doc/cups-1.1.22<br>
<br>
#<br>
# ErrorLog: the error log file; if this does not start with a leading /<br>
# then it is assumed to be relative to ServerRoot.  By default set to<br>
# "/var/log/cups/error_log"<br>
#<br>
# You can also use the special name "syslog" to send the output to the<br>
# syslog file or daemon.<br>
#<br>
<br>
#ErrorLog /var/log/cups/error_log<br>
<br>
# LogFilePerm: determines the file mode to set log files to.<br>
#<br>
<br>
LogFilePerm 0600<br>
<br>
#<br>
# FileDevice: determines whether the scheduler will allow new printers<br>
# to be added using device URIs of the form "file:/foo/bar". The default<br>
# is not to allow file devices due to the potential security vulnerability<br>
# and due to the fact that file devices do not support raw printing.<br>
#<br>
<br>
#FileDevice No<br>
<br>
<br>
#<br>
# FontPath: the path to locate all font files (currently only for pstoraster)<br>
# By default "/usr/share/cups/fonts".<br>
#<br>
<br>
#FontPath /usr/share/cups/fonts<br>
<br>
#<br>
# LogLevel: controls the number of messages logged to the ErrorLog<br>
# file and can be one of the following:<br>
#<br>
#     debug2    Log everything.<br>
#     debug    Log almost everything.<br>
#     info      Log all requests and state changes.<br>
#     warn      Log errors and warnings.<br>
#     error     Log only errors.<br>
#     none      Log nothing.<br>
#<br>
MaxLogSize 2000000000<br>
<br>
LogLevel info<br>
<br>
#<br>
# MaxLogSize: controls the maximum size of each log file before they are<br>
# rotated.  Defaults to 1048576 (1MB).  Set to 0 to disable log rotating.<br>
#<br>
<br>
#MaxLogSize 0<br>
<br>
#<br>
# PageLog: the page log file; if this does not start with a leading /<br>
# then it is assumed to be relative to ServerRoot.  By default set to<br>
# "/var/log/cups/page_log"<br>
#<br>
# You can also use the special name "syslog" to send the output to the<br>
# syslog file or daemon.<br>
#<br>
<br>
#PageLog /var/log/cups/page_log<br>
<br>
#<br>
# PreserveJobHistory: whether or not to preserve the job history after a<br>
# job is completed, cancelled, or stopped.  Default is Yes.<br>
#<br>
<br>
#PreserveJobHistory Yes<br>
<br>
#<br>
# PreserveJobFiles: whether or not to preserve the job files after a<br>
# job is completed, cancelled, or stopped.  Default is No.<br>
#<br>
<br>
#PreserveJobFiles No<br>
<br>
#<br>
# AutoPurgeJobs: automatically purge jobs when not needed for quotas.<br>
# Default is No.<br>
#<br>
<br>
#AutoPurgeJobs No<br>
<br>
#<br>
# MaxCopies: maximum number of copies that a user can request. Default is<br>
# 100.<br>
#<br>
<br>
#MaxCopies 100<br>
<br>
#<br>
# MaxJobs: maximum number of jobs to keep in memory (active and completed.)<br>
# Default is 500; the value 0 is used for no limit.<br>
#<br>
<br>
#MaxJobs 500<br>
<br>
#<br>
# MaxJobsPerPrinter: maximum number of active jobs per printer. The default<br>
# is 0 for no limit.<br>
#<br>
<br>
#MaxJobsPerPrinter 0<br>
<br>
#<br>
# MaxJobsPerUser: maximum number of active jobs per user. The default<br>
# is 0 for no limit.<br>
#<br>
<br>
#MaxJobsPerUser 0<br>
<br>
#<br>
# MaxPrinterHistory: controls the maximum number of history collections<br>
# in the printer-state-history attribute.  Set to 0 to disable history<br>
# data.<br>
#<br>
<br>
#MaxPrinterHistory 10<br>
<br>
#<br>
# Printcap: the name of the printcap file.  Default is /etc/printcap.<br>
# Leave blank to disable printcap file generation.<br>
#<br>
<br>
Printcap /etc/printcap<br>
<br>
#<br>
# PrintcapFormat: the format of the printcap file, currently either<br>
# BSD or Solaris.  The default is "BSD".<br>
#<br>
<br>
#PrintcapFormat BSD<br>
#PrintcapFormat Solaris<br>
<br>
#<br>
# PrintcapGUI: the name of the GUI options panel program to associate<br>
# with print queues under IRIX.  The default is "/usr/bin/glpoptions"<br>
# from ESP Print Pro.<br>
#<br>
# This option is only used under IRIX; the options panel program<br>
# must accept the "-d printer" and "-o options" options and write<br>
# the selected printer options back to stdout on completion.<br>
#<br>
<br>
#PrintcapGUI /usr/bin/glpoptions<br>
<br>
#<br>
# RequestRoot: the directory where request files are stored.<br>
# By default "/var/spool/cups".<br>
#<br>
<br>
#RequestRoot /var/spool/cups<br>
<br>
#<br>
# RemoteRoot: the name of the user assigned to unauthenticated accesses<br>
# from remote systems.  By default "remroot".<br>
#<br>
<br>
#RemoteRoot remroot<br>
<br>
#<br>
# ServerBin: the root directory for the scheduler executables.<br>
# By default "/usr/lib/cups".<br>
#<br>
<br>
#ServerBin /usr/lib/cups<br>
<br>
#<br>
# ServerRoot: the root directory for the scheduler.<br>
# By default "/etc/cups".<br>
#<br>
<br>
#ServerRoot /etc/cups<br>
<br>
<br>
#<br>
# ServerTokens: specifies what information in provided in the Server<br>
# header of HTTP responses. The default is Minor.<br>
#<br>
# ServerTokens None<br>
# ServerTokens ProductOnly       CUPS<br>
# ServerTokens Major             CUPS/1<br>
# ServerTokens Minor             CUPS/1.1<br>
# ServerTokens Minimal           CUPS/1.1.22rc1<br>
# ServerTokens
OS               
CUPS/1.1.22rc1 (uname)<br>
# ServerTokens Full              CUPS/1.1.22rc1 (uname) IPP/1.1<br>
#<br>
<br>
#ServerTokens Minor<br>
<br>
<br>
########<br>
######## Fax Support<br>
########<br>
<br>
#<br>
# FaxRetryLimit: the number of times a fax job is retried.<br>
# The default is 5 times.<br>
#<br>
<br>
#FaxRetryLimit 5<br>
<br>
#<br>
# FaxRetryInterval: the number of seconds between fax job retries.<br>
# The default is 300 seconds/5 minutes.<br>
#<br>
<br>
#FaxRetryInterval 300<br>
<br>
<br>
########<br>
######## Encryption Support<br>
########<br>
<br>
#<br>
# ServerCertificate: the file to read containing the server's certificate.<br>
# Defaults to "/etc/cups/ssl/server.crt".<br>
#<br>
<br>
#ServerCertificate /etc/cups/ssl/server.crt<br>
<br>
#<br>
# ServerKey: the file to read containing the server's key.<br>
# Defaults to "/etc/cups/ssl/server.key".<br>
#<br>
<br>
#ServerKey /etc/cups/ssl/server.key<br>
<br>
<br>
########<br>
######## Filter Options<br>
########<br>
<br>
#<br>
# User/Group: the user and group the server runs under.  Normally this<br>
# must be lp and sys, however you can configure things for another<br>
# user or group as needed.<br>
#<br>
# Note: the server must be run initially as root to support the<br>
# default IPP port of 631.  It changes users whenever an external<br>
# program is run, or if the RunAsUser directive is specified...<br>
#<br>
<br>
#User lp<br>
#Group sys<br>
<br>
#<br>
# RIPCache: the amount of memory that each RIP should use to cache<br>
# bitmaps.  The value can be any real number followed by "k" for<br>
# kilobytes, "m" for megabytes, "g" for gigabytes, or "t" for tiles<br>
# (1 tile = 256x256 pixels.)  Defaults to "8m" (8 megabytes).<br>
#<br>
<br>
#RIPCache 8m<br>
<br>
#<br>
# TempDir: the directory to put temporary files in.  This directory must be<br>
# writable by the user defined above!  Defaults to "/var/spool/cups/tmp" or<br>
# the value of the TMPDIR environment variable.<br>
#<br>
<br>
#TempDir /var/spool/cups/tmp<br>
<br>
#<br>
# FilterLimit: sets the maximum cost of all job filters that can be run<br>
# at the same time.  A limit of 0 means no limit.  A typical job may need<br>
# a filter limit of at least 200; limits less than the minimum required<br>
# by a job force a single job to be printed at any time.<br>
#<br>
# The default limit is 0 (unlimited).<br>
#<br>
<br>
#FilterLimit 0<br>
<br>
########<br>
######## Network Options<br>
########<br>
<br>
#<br>
# Ports/addresses that we listen to.  The default port 631 is reserved<br>
# for the Internet Printing Protocol (IPP) and is what we use here.<br>
#<br>
# You can have multiple Port/Listen lines to listen to more than one<br>
# port or address, or to restrict access:<br>
#<br>
#    Port 80<br>
#    Port 631<br>
#    Listen hostname<br>
#    Listen hostname:80<br>
#    Listen hostname:631<br>
#    Listen <a href="http://1.2.3.4">1.2.3.4</a><br>
#    Listen <a href="http://1.2.3.4:631">1.2.3.4:631</a><br>
# <br>
# NOTE: Unfortunately, most web browsers don't support TLS or HTTP Upgrades<br>
# for encryption.  If you want to support web-based encryption you'll<br>
# probably need to listen on port 443 (the "https" port...)<br>
#<br>
# NOTE 2: In order for the command-line and web interfaces to work, you<br>
# must have at least one Port or Listen line that allows access from the<br>
# local loopback address (localhost).<br>
#<br>
<br>
#Port 80<br>
#Port 443<br>
<br>
#<br>
# HostNameLookups: whether or not to do lookups on IP addresses to get a<br>
# fully-qualified hostname.  This defaults to Off for performance reasons...<br>
#<br>
<br>
#HostNameLookups On<br>
<br>
#<br>
# KeepAlive: whether or not to support the Keep-Alive connection<br>
# option.  Default is on.<br>
#<br>
<br>
#KeepAlive On<br>
<br>
#<br>
# KeepAliveTimeout: the timeout before Keep-Alive connections are<br>
# automatically closed.  Default is 60 seconds.<br>
#<br>
<br>
#KeepAliveTimeout 60<br>
<br>
#<br>
# MaxClients: controls the maximum number of simultaneous clients that<br>
# will be handled.  Defaults to 100.<br>
#<br>
<br>
#MaxClients 100<br>
<br>
#<br>
# MaxClientsPerHost: controls the maximum number of simultaneous clients that<br>
# will be handled from a specific host.  Defaults to 10 or 1/10th of the<br>
# MaxClients setting, whichever is larger.  A value of 0 specifies the<br>
# automatic (10 or 1/10th) setting.<br>
#<br>
<br>
#MaxClientsPerHost 0<br>
<br>
#<br>
# MaxRequestSize: controls the maximum size of HTTP requests and print files.<br>
# Set to 0 to disable this feature (defaults to 0.)<br>
#<br>
<br>
#MaxRequestSize 0<br>
<br>
#<br>
# Timeout: the timeout before requests time out.  Default is 300 seconds.<br>
#<br>
<br>
#Timeout 300<br>
<br>
<br>
########<br>
######## Browsing Options<br>
########<br>
<br>
#<br>
# Browsing: whether or not to broadcast and/or listen for CUPS printer<br>
# information on the network.  Enabled by default.<br>
#<br>
<br>
#Browsing On<br>
<br>
#<br>
# BrowseProtocols: which protocols to use for browsing.  Can be<br>
# any of the following separated by whitespace and/or commas:<br>
#<br>
#     all  - Use all supported protocols.<br>
#     cups - Use the CUPS browse protocol.<br>
#     slp  - Use the SLPv2 protocol.<br>
#<br>
# The default is "cups".<br>
#<br>
# NOTE: If you choose to use SLPv2, it is *strongly* recommended that<br>
#       you have at least one SLP Directory Agent (DA) on your<br>
#       network.  Otherwise, browse updates can take several seconds,<br>
#       during which the scheduler will not respond to client<br>
#       requests.<br>
#<br>
<br>
#BrowseProtocols cups<br>
<br>
#<br>
# BrowseAddress: specifies a broadcast address to be used.  By<br>
# default browsing information is not sent!<br>
#<br>
# Note: HP-UX does not properly handle broadcast unless you have a<br>
# Class A, B, C, or D netmask (i.e. no CIDR support).<br>
#<br>
# Note: Using the "global" broadcast address (<a href="http://255.255.255.255">255.255.255.255</a>) will<br>
# activate a Linux demand-dial link with the default configuration.<br>
# If you have a LAN as well as the dial-up link, use the LAN's<br>
# broadcast address.<br>
#<br>
# The @LOCAL address broadcasts to all non point-to-point interfaces.<br>
# For example, if you have a LAN and a dial-up link, @LOCAL would<br>
# send printer updates to the LAN but not to the dial-up link.<br>
# Similarly, the @IF(name) address sends to the named network<br>
# interface, e.g. @IF(eth0) under Linux.  Interfaces are refreshed<br>
# automatically (no more than once every 60 seconds), so they can<br>
# be used on dynamically-configured interfaces, e.g. PPP, 802.11, etc.<br>
#<br>
<br>
#BrowseAddress x.y.z.255<br>
#BrowseAddress x.y.255.255<br>
#BrowseAddress x.255.255.255<br>
#BrowseAddress <a href="http://255.255.255.255">255.255.255.255</a><br>
#BrowseAddress @LOCAL<br>
#BrowseAddress @IF(name)<br>
<br>
#<br>
# BrowseShortNames: whether or not to use "short" names for remote printers<br>
# when possible (e.g. "printer" instead of "printer@host".)  Enabled by<br>
# default.<br>
#<br>
<br>
#BrowseShortNames Yes<br>
<br>
#<br>
# BrowseAllow: specifies an address mask to allow for incoming browser<br>
# packets. The default is to allow packets from all addresses.<br>
#<br>
# BrowseDeny: specifies an address mask to deny for incoming browser<br>
# packets. The default is to deny packets from no addresses.<br>
#<br>
# Both "BrowseAllow" and "BrowseDeny" accept the following notations for<br>
# addresses:<br>
#<br>
#     All<br>
#     None<br>
#     *.domain.com<br>
#     .domain.com<br>
#     <a href="http://host.domain.com">host.domain.com</a><br>
#     nnn.*<br>
#     nnn.nnn.*<br>
#     nnn.nnn.nnn.*<br>
#     nnn.nnn.nnn.nnn<br>
#     nnn.nnn.nnn.nnn/mm<br>
#     nnn.nnn.nnn.nnn/mmm.mmm.mmm.mmm<br>
#     @LOCAL<br>
#     @IF(name)<br>
#<br>
# The hostname/domainname restrictions only work if you have turned hostname<br>
# lookups on!<br>
#<br>
<br>
#BrowseAllow address<br>
#BrowseDeny address<br>
<br>
#<br>
# BrowseInterval: the time between browsing updates in seconds.  Default<br>
# is 30 seconds.<br>
#<br>
# Note that browsing information is sent whenever a printer's state changes<br>
# as well, so this represents the maximum time between updates.<br>
#<br>
# Set this to 0 to disable outgoing broadcasts so your local printers are<br>
# not advertised but you can still see printers on other hosts.<br>
#<br>
<br>
#BrowseInterval 30<br>
<br>
#<br>
# BrowseOrder: specifies the order of BrowseAllow/BrowseDeny comparisons.<br>
#<br>
<br>
#BrowseOrder allow,deny<br>
#BrowseOrder deny,allow<br>
<br>
#<br>
# BrowsePoll: poll the named server(s) for printers<br>
#<br>
<br>
#BrowsePoll address:port<br>
<br>
#<br>
# BrowsePort: the port used for UDP broadcasts.  By default this is<br>
# the IPP port; if you change this you need to do it on all servers.<br>
# Only one BrowsePort is recognized.<br>
#<br>
<br>
#BrowsePort 631<br>
<br>
#<br>
# BrowseRelay: relay browser packets from one address/network to another.<br>
#<br>
<br>
#BrowseRelay source-address destination-address<br>
#BrowseRelay @IF(src) @IF(dst)<br>
<br>
#<br>
# BrowseTimeout: the timeout for network printers - if we don't<br>
# get an update within this time the printer will be removed<br>
# from the printer list.  This number definitely should not be<br>
# less the BrowseInterval value for obvious reasons.  Defaults<br>
# to 300 seconds.<br>
#<br>
<br>
#BrowseTimeout 300<br>
<br>
#<br>
# ImplicitClasses: whether or not to use implicit classes.<br>
#<br>
# Printer classes can be specified explicitly in the classes.conf<br>
# file, implicitly based upon the printers available on the LAN, or<br>
# both.<br>
#<br>
# When ImplicitClasses is On, printers on the LAN with the same name<br>
# (e.g. Acme-LaserPrint-1000) will be put into a class with the same<br>
# name. This allows you to setup multiple redundant queues on a LAN<br>
# without a lot of administrative difficulties.  If a user sends a<br>
# job to Acme-LaserPrint-1000, the job will go to the first available<br>
# queue.<br>
#<br>
# Enabled by default.<br>
#<br>
<br>
#ImplicitClasses On<br>
<br>
#<br>
# ImplicitAnyClasses: whether or not to create "AnyPrinter" implicit<br>
# classes.<br>
#<br>
# When ImplicitAnyClasses is On and a local queue of the same name<br>
# exists, e.g. "printer", "printer@server1", "printer@server1", then<br>
# an implicit class called "Anyprinter" is created instead.<br>
#<br>
# When ImplicitAnyClasses is Off, implicit classes are not created<br>
# when there is a local queue of the same name.<br>
#<br>
# Disabled by default.<br>
#<br>
<br>
#ImplicitAnyCLasses Off<br>
<br>
#<br>
# HideImplicitMembers: whether or not to show the members of an<br>
# implicit class.<br>
#<br>
# When HideImplicitMembers is On, any remote printers that are<br>
# part of an implicit class are hidden from the user, who will<br>
# then only see a single queue even though many queues will be<br>
# supporting the implicit class.<br>
#<br>
# Enabled by default.<br>
#<br>
<br>
#HideImplicitMembers On<br>
<br>
<br>
########<br>
######## Security Options<br>
########<br>
<br>
#<br>
# SystemGroup: the group name for "System" (printer administration)<br>
# access.  The default varies depending on the operating system, but<br>
# will be "sys", "system", or "root" (checked for in that order.)<br>
#<br>
<br>
#SystemGroup sys<br>
<br>
#<br>
# RootCertDuration: How frequently the root certificate is regenerated.<br>
# Defaults to 300 seconds.<br>
#<br>
<br>
#RootCertDuration 300<br>
<br>
#<br>
# Access permissions for each directory served by the scheduler.<br>
# Locations are relative to DocumentRoot...<br>
#<br>
# AuthType: the authorization to use:<br>
#<br>
#    None   - Perform no authentication<br>
#    Basic  - Perform authentication using the HTTP Basic method.<br>
#    Digest - Perform authentication using the HTTP Digest method.<br>
#<br>
#    (Note: local certificate authentication can be substituted by<br>
#           the client for Basic or Digest when connecting to the<br>
#           localhost interface)<br>
#<br>
# AuthClass: the authorization class; currently only "Anonymous", "User",<br>
# "System" (valid user belonging to group SystemGroup), and "Group"<br>
# (valid user belonging to the specified group) are supported.<br>
#<br>
# AuthGroupName: the group name for "Group" authorization.<br>
#<br>
# Order: the order of Allow/Deny processing.<br>
#<br>
# Allow: allows access from the specified hostname, domain, IP address,<br>
# network, or interface.<br>
#<br>
# Deny: denies access from the specified hostname, domain, IP address,<br>
# network, or interface.<br>
#<br>
# Both "Allow" and "Deny" accept the following notations for addresses:<br>
#<br>
#     All<br>
#     None<br>
#     *.domain.com<br>
#     .domain.com<br>
#     <a href="http://host.domain.com">host.domain.com</a><br>
#     nnn.*<br>
#     nnn.nnn.*<br>
#     nnn.nnn.nnn.*<br>
#     nnn.nnn.nnn.nnn<br>
#     nnn.nnn.nnn.nnn/mm<br>
#     nnn.nnn.nnn.nnn/mmm.mmm.mmm.mmm<br>
#     @LOCAL<br>
#     @IF(name)<br>
#<br>
# The host and domain address require that you enable hostname lookups<br>
# with "HostNameLookups On" above.<br>
#<br>
# The @LOCAL address allows or denies from all non point-to-point<br>
# interfaces.  For example, if you have a LAN and a dial-up link,<br>
# @LOCAL could allow connections from the LAN but not from the dial-up<br>
# link.  Similarly, the @IF(name) address allows or denies from the<br>
# named network interface, e.g. @IF(eth0) under Linux.  Interfaces are<br>
# refreshed automatically (no more than once every 60 seconds), so<br>
# they can be used on dynamically-configured interfaces, e.g. PPP,<br>
# 802.11, etc.<br>
#<br>
# Encryption: whether or not to use encryption; this depends on having<br>
# the OpenSSL library linked into the CUPS library and scheduler.<br>
#<br>
# Possible values:<br>
#<br>
#     Always       - Always use encryption (SSL)<br>
#     Never        - Never use encryption<br>
#     Required     - Use TLS encryption upgrade<br>
#     IfRequested  - Use encryption if the server requests it<br>
#<br>
# The default value is "IfRequested".<br>
#<br>
<br>
<Location /><br>
Order Deny,Allow<br>
Deny From All<br>
Allow From <a href="http://127.0.0.1">127.0.0.1</a><br>
</Location><br>
<br>
#<Location /classes><br>
#<br>
# You may wish to limit access to printers and classes, either with Allow<br>
# and Deny lines, or by requiring a username and password.<br>
#<br>
#</Location><br>
<br>
#<Location /classes/name><br>
#<br>
# You may wish to limit access to printers and classes, either with Allow<br>
# and Deny lines, or by requiring a username and password.<br>
#<br>
#</Location><br>
<br>
#<Location /jobs><br>
#<br>
# You may wish to limit access to job operations, either with Allow<br>
# and Deny lines, or by requiring a username and password.<br>
#<br>
#</Location><br>
<br>
#<Location /printers><br>
#<br>
# You may wish to limit access to printers and classes, either with Allow<br>
# and Deny lines, or by requiring a username and password.<br>
#<br>
#</Location><br>
<br>
#<Location /printers/name><br>
#<br>
# You may wish to limit access to printers and classes, either with Allow<br>
# and Deny lines, or by requiring a username and password.<br>
#<br>
<br>
## Anonymous access (default)<br>
#AuthType None<br>
<br>
## Require a username and password (Basic authentication)<br>
#AuthType Basic<br>
#AuthClass User<br>
<br>
## Require a username and password (Digest/MD5 authentication)<br>
#AuthType Digest<br>
#AuthClass User<br>
<br>
## Restrict access to local domain<br>
#Order Deny,Allow<br>
#Deny From All<br>
#Allow From .mydomain.com<br>
#</Location><br>
<br>
<Location /admin><br>
#<br>
# You definitely will want to limit access to the administration functions.<br>
# The default configuration requires a local connection from a user who<br>
# is a member of the system group to do any admin tasks.  You can change<br>
# the group name using the SystemGroup directive.<br>
#<br>
<br>
AuthType Basic<br>
AuthClass System<br>
<br>
## Restrict access to local domain<br>
Order Deny,Allow<br>
Deny From All<br>
Allow From <a href="http://127.0.0.1">127.0.0.1</a><br>
Allow From <a href="http://192.168.129.0">192.168.129.0</a><br>
<br>
#Encryption Required<br>
</Location><br>
<br>
#<br>
# End of "$Id: <a href="http://cupsd.conf.in">cupsd.conf.in</a>,v 1.16 2004/08/18 17:53:47 mike Exp $".<br>
#<br>
# Lines below are automatically generated - DO NOT EDIT<br>
Browsing On<br>
BrowseProtocols cups<br>
BrowseOrder Deny,Allow<br>
BrowseAllow from @LOCAL<br>
Listen <a href="http://127.0.0.1:631">127.0.0.1:631</a><br>
Listen <a href="http://192.168.129.20:631">192.168.129.20:631</a><br>
###################################################################################<br>
my printcap file is <br>
#######################################################################################<br>
# This file was automatically generated by cupsd(8) from the<br>
# /etc/cups/printers.conf file.  All changes to this file<br>
# will be lost.<br>
netprinter|netprinter:rm=msdpl.com:rp=netprinter:<br>
######################################################################################<br>

<br>

but still i am unable to print..<br>

<br>

am i missing any thing <br>

please guide me <br>

<br>

<br>

Regards<br>

Niranjan<br>