Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 18:03:28 -0700
From:      Micah <micahjon@ywave.com>
To:        "E. J. Cerejo" <edu07643@yahoo.com.br>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: CUPS Woes Woes
Message-ID:  <44B2F8E0.9030708@ywave.com>
In-Reply-To: <20060710214612.49227.qmail@web61012.mail.yahoo.com>
References:  <20060710214612.49227.qmail@web61012.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
E. J. Cerejo wrote:
> 
> 
> */Micah <micahjon@ywave.com>/* escreveu:
> 
>     E. J. Cerejo wrote:
>      > This is weird, I configure a printer and I'm able to print a test
>     page and I then close the browser and try to print and I get a quick
>     popup window saying "Starting with CUPS" but nothing happens it
>     won't print. I Open firefox again and go back to printer
>     administration and the printer I just configured is not there, so I
>     configure it again giving it the same name and when I try to print a
>     test page it gives me this error: "Quota limit reached" and printer
>     disappears again from the printer management page again. Now if I
>     configure another printer with a different name it will print a test
>     page but if I try to print from another application it will not
>     print I just get that same popup window saying "Starting with cups"
>     and if I close firefox and then go back there again the printer is
>     not there. I'm running the latest cups on the ports tree 1.2.0 and
>     FBSD6.1.
>      >
>      > My printers.conf file looks like this
>      >
>      >
>      > Info HP Officejet 4315
>      > Location home
>      > DeviceURI usb:/dev/unlpt0
>      > State Idle
>      > StateTime 1152564753
>      > Accepting Yes
>      > Shared Yes
>      > JobSheets none none
>      > QuotaPeriod 0
>      > PageLimit 0
>      > KLimit 0
>      > AllowUser webdude
>      > OpPolicy default
>      > ErrorPolicy stop-printer
>      >
>      >
>      > My rc.conf file kind looks like this:
>      >
>      > hpiod_enable="YES"
>      > hpssd_enable="YES"
>      > cupsd_enable="YES"
>      > devfs_system_ruleset="system"
>      >
>      > My devfs.rules file looks like this:
>      >
>      > # HP drivers rules
>      > #
>      > [system=10]
>      > add path 'ugen*' group operator
>      > add path 'ugen*' mode 0660
>      > add path 'unlpt*' mode 0660 group cups
>      > add path 'ulpt*' mode 0660 group cups
>      >
>      >
>      >
>      >
>      >
>      > EJC
>      > www.only7bucks.com
> 
>     Could you check /var/logs/cups/error_log for errors? A quick 'grep "^E"
>     error_log' will show just the errors, but not what's going on around it.
> 
>     - Micah
> 
> 
> Here's today's errors:
> 
> E [10/Jul/2006:16:12:21 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:12:23 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:12:23 -0400] CUPS-Add-Modify-Printer 
> server-error-internal-error: Unable to copy PPD file!
> E [10/Jul/2006:16:12:54 -0400] Print-Job client-error-not-possible: 
> Quota limit reached.
> E [10/Jul/2006:16:13:07 -0400] CUPS-Delete-Printer: Unauthorized
> E [10/Jul/2006:16:13:07 -0400] Unable to save printers.conf - No such 
> file or directory
> E [10/Jul/2006:16:13:07 -0400] Unable to restore printers.conf - No such 
> file or directory
> E [10/Jul/2006:16:44:31 -0400] CUPS-Get-Printers client-error-not-found: 
> No destinations added.
> E [10/Jul/2006:16:44:35 -0400] CUPS-Get-Default client-error-not-found: 
> No default printer
> E [10/Jul/2006:16:44:35 -0400] CUPS-Get-Printers client-error-not-found: 
> No destinations added.
> E [10/Jul/2006:16:44:38 -0400] CUPS-Get-Printers client-error-not-found: 
> No destinations added.
> E [10/Jul/2006:16:45:18 -0400] CUPS-Get-Default client-error-not-found: 
> No default printer
> E [10/Jul/2006:16:45:18 -0400] CUPS-Get-Classes client-error-not-found: 
> No destinations added.
> E [10/Jul/2006:16:45:20 -0400] CUPS-Get-Printers client-error-not-found: 
> No destinations added.
> E [10/Jul/2006:16:46:28 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:46:30 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:47:36 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:47:41 -0400] CUPS-Get-Default client-error-not-found: 
> No default printer
> E [10/Jul/2006:16:47:47 -0400] CUPS-Set-Default: Unauthorized
> E [10/Jul/2006:16:47:49 -0400] CUPS-Set-Default: Unauthorized
> E [10/Jul/2006:16:50:40 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:50:40 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:50:57 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:55:46 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:56:08 -0400] CUPS-Add-Modify-Printer: Unauthorized
> E [10/Jul/2006:16:56:32 -0400] CUPS-Add-Modify-Printer: Unauthorized
> 
> my printers.conf file is in /usr/local/etc/cups, is this the correct 
> directory for it?
> 
> 
> EJC
> www.only7bucks.com

/usr/local/etc/cups is where mine is.

I'm not seeing anything in the errors that stands out - but I'm not an 
expert.  You might try changing loglevel to debug in cupsd.conf, 
restarting cups, and then trying to print. You should get more messages 
in error_log that may help. The messages that appear both before and 
after the actual errors might be helpful in diagnosing the problem.


HTH,
Micah



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44B2F8E0.9030708>