From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 01:03:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C44F16A4DE for ; Tue, 11 Jul 2006 01:03:32 +0000 (UTC) (envelope-from micahjon@ywave.com) Received: from relay2.av-mx.com (relay2.av-mx.com [137.118.16.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10EC743D45 for ; Tue, 11 Jul 2006 01:03:31 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.62] (HELO mx1.av-mx.com) by relay2.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 325699804 for freebsd-questions@freebsd.org; Mon, 10 Jul 2006 21:03:31 -0400 Received: (qmail 8500 invoked from network); 11 Jul 2006 01:03:30 -0000 Received: from dsl20226.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.107.226) by 0 with SMTP; 11 Jul 2006 01:03:30 -0000 X-CLIENT-IP: 216.227.107.226 X-CLIENT-HOST: dsl20226.ywave.com Message-ID: <44B2F8E0.9030708@ywave.com> Date: Mon, 10 Jul 2006 18:03:28 -0700 From: Micah User-Agent: Thunderbird 1.5.0.4 (X11/20060611) MIME-Version: 1.0 To: "E. J. Cerejo" References: <20060710214612.49227.qmail@web61012.mail.yahoo.com> In-Reply-To: <20060710214612.49227.qmail@web61012.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: CUPS Woes Woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 01:03:32 -0000 E. J. Cerejo wrote: > > > */Micah /* 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