Printing Problems (2nd request)

Tom Ryan tomryan at camlaw.rutgers.edu
Thu Dec 16 16:01:34 UTC 2004


do you have a "servername" variable in client.conf?

if so, comment that out..

what does

lpstat -h localhost -a

show?

On Thu, 16 Dec 2004, Terry Polzin wrote:

> On Thursday 16 December 2004 10:49, Joseph McCrary wrote:
> > Please help. If I cannot fix this printing problem, I will have to
> > abandon Linux for the hated world of Windoze!!!
> >
> > Two weeks ago, I no longer could send a document to either printer. I've
> > got two printers connected, both of which used to work fine. One is a
> > Canon S600 connected to a USB port. The other is a HP LJ 6MP connected
> > through my local network. Both worked fine previously.
> >
> > Whenever I try to print from a program (e.g., Firefox), the only printer
> > available is the PostScript default. Previously, both printers were
> > listed, with the HP as the default printer.
> >
> > When I try to print a test page, I get this error:
> >
> > lpr: error - unable to print file: server-error-service-unavailable
> >
> > I'm running Core 3, and have done all of the updates. I downloaded and
> > installed the latest version of CUPS (1.1.22). That did not help.
> >
> > Here are the last few lines from cups.conf:
> >
> > # Encryption: whether or not to use encryption; this depends on having
> > # the OpenSSL library linked into the CUPS library and scheduler.
> > #
> > # Possible values:
> > #
> > #     Always       - Always use encryption (SSL)
> > #     Never        - Never use encryption
> > #     Required     - Use TLS encryption upgrade
> > #     IfRequested  - Use encryption if the server requests it
> > #
> > # The default value is "IfRequested".
> > #
> >
> > <Location />
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > </Location>
> >
> > #<Location /classes>
> > #
> > # You may wish to limit access to printers and classes, either with Allow
> > # and Deny lines, or by requiring a username and password.
> > #
> > #</Location>
> >
> > #<Location /classes/name>
> > #
> > # You may wish to limit access to printers and classes, either with Allow
> > # and Deny lines, or by requiring a username and password.
> > #
> > #</Location>
> >
> > #<Location /jobs>
> > #
> > # You may wish to limit access to job operations, either with Allow
> > # and Deny lines, or by requiring a username and password.
> > #
> > #</Location>
> >
> > #<Location /printers>
> > #
> > # You may wish to limit access to printers and classes, either with Allow
> > # and Deny lines, or by requiring a username and password.
> > #
> > #</Location>
> >
> > #<Location /printers/name>
> > #
> > # You may wish to limit access to printers and classes, either with Allow
> > # and Deny lines, or by requiring a username and password.
> > #
> >
> > ## Anonymous access (default)
> > #AuthType None
> >
> > ## Require a username and password (Basic authentication)
> > #AuthType Basic
> > #AuthClass User
> >
> > ## Require a username and password (Digest/MD5 authentication)
> > #AuthType Digest
> > #AuthClass User
> >
> > ## Restrict access to local domain
> > #Order Deny,Allow
> > #Deny From All
> > #Allow From .mydomain.com
> > #</Location>
> >
> > <Location /admin>
> > #
> > # You definitely will want to limit access to the administration functions.
> > # The default configuration requires a local connection from a user who
> > # is a member of the system group to do any admin tasks.  You can change
> > # the group name using the SystemGroup directive.
> > #
> >
> > AuthType Basic
> > AuthClass System
> >
> > ## Restrict access to local domain
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> >
> > #Encryption Required
> > </Location>
> >
> > #
> > # End of "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $".
> > #
> > <Location /printers/usblp0>
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > AuthType None
> > </Location>
> > <Location /printers/s600-4>
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > AuthType None
> > </Location>
> > # Lines below are automatically generated - DO NOT EDIT
> > <Location /printers/Canon>
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > AuthType None
> > Allow from All
> > </Location>
> > <Location /printers/HP>
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > AuthType None
> > Allow from All
> > </Location>
> > Browsing On
> > BrowseProtocols cups
> > BrowseOrder Deny,Allow
> > BrowseAllow from @LOCAL
> > BrowseAddress 255.255.255.255
> > Listen *:631
> >
> >
> > Please help.
> >
> > Joe
>
>
> OK lets start with the basics, is the cups daemon running?  Set to start at
> startup?
>        ps -ef | grep cups
>        /sbin/chkconfig --list cups
>
> If you do indeed see a cupsd in the output of the ps command, and runlevels
> 2345 are set to on the chkconfig output.  Then run system-config-printers and
> make sure that your printers are configured correctly.  Delete them and
> reconfigure if required.  Test print from the printer config.  Post the
> resutls.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>

_______________________________________________________________________
Tom Ryan                                            Voice: 856-225-6361
Consulting System Administrator                       Fax: 856-969-7900
Rutgers School of Law - Camden               IT Help Desk: 856-225-2343




More information about the fedora-list mailing list