From owner-freebsd-questions@FreeBSD.ORG Sat Jul 8 16:43:49 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 D56AF16A4E1 for ; Sat, 8 Jul 2006 16:43:49 +0000 (UTC) (envelope-from iqgrande@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5949D43D49 for ; Sat, 8 Jul 2006 16:43:49 +0000 (GMT) (envelope-from iqgrande@gmail.com) Received: by wr-out-0506.google.com with SMTP id 67so477065wri for ; Sat, 08 Jul 2006 09:43:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=KZ407sEkIpURbxPeJHplc30xfwRKyRuiCmTot8cv7+60mTOZ5h2n+b0EkAyZoNDHYxrcKg1ogb12g6rJIJGqwtYxZ86Ak5t8mWs5kSja3dDv5JumxLqmaMLIT68x39AyRjUhT5GYsUaSSj6Sjgrk6M3T6wk1jfTFX6i4oQ+qTSk= Received: by 10.54.143.5 with SMTP id q5mr2944920wrd; Sat, 08 Jul 2006 09:43:48 -0700 (PDT) Received: from ?192.168.0.5? ( [67.191.189.255]) by mx.gmail.com with ESMTP id g7sm2838447wra.2006.07.08.09.43.47; Sat, 08 Jul 2006 09:43:48 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <60F058F5-E2AD-4BB5-80E3-DAFC3C47C62B@gmail.com> Content-Transfer-Encoding: 7bit From: Anthony Agelastos Date: Sat, 8 Jul 2006 12:43:45 -0400 To: FreeBSD Questions X-Mailer: Apple Mail (2.752.2) Cc: asa@agava.com, sigsegv@radiotube.org Subject: Re: CUPS, USB printers & "Permission Denied" 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: Sat, 08 Jul 2006 16:43:50 -0000 On Jun 29, 2006, at 6:51 PM, Jan-Espen Pettersen wrote: > > >> I just tried /dev/unltp0 and I have the same issues. Basically, I >> killed all of the jobs, made your change, submitted a test page, >> watched as nothing happened (it didn't display any messages in the >> web >> interface), did a /usr/local/etc/rc.d/cupsd restart, killed the test >> page, then resubmitted one, and then it mentioned the USB busy will >> retry in 30 seconds line. I reattached my error_log for today's >> activities. >> >> I will be on the road for the better part of a week, so I will try to >> help out as much as I can given the circumstances. Thank you everyone >> for your assistance with this. >> >> > > I found that the usb backend stalled here before actually doing any > work. Before I've done any actual debugging of the backend, I suspect > that it is being blocked on a status read attempt, though this is only > my current guess. > > Here is a workaround: > > In printers.conf () you will probably find a line like this: > > DeviceURI usb:/dev/ulpt0 > > change usb: to file:, so that it looks something like this: > > DeviceURI file:/dev/ulpt0 > > Then restart cups. Cups will not read any status information from the > printer, but at least it can print. Be warned about unknown side > effects. :) > > Jan-Espen Pettersen > > > I did this fix and it enabled the local server that has the printer connected to it to print (a test page anyways) however, when I try to print to the printer through the network via my MacBook Pro (which worked before), I get the message in the CUPS Web Interface: "/usr/local/libexec/cups/filter/foomatic-rip failed" Basically, I have the same problem reported in the one-message-thread "Can't print to CUPS from Macintosh". Does anyone have any ideas? The FreeBSD community has my appreciation for all of its help on this matter. Based on the number of problems associated with this issue (there's this thread, the aforementioned Mac thread, and the "cups 1.2 - no output" thread), would it be worthwhile to create a new Port named cups-devel (keeping the 1.2.x codebase) and downgrade the existing cups to the latest 1.1.x version until the bugs have been ironed out on the 1.2.x branch (or at least adding an entry to /usr/ports/ UPDATING to warn those updating)? Would 1.2.1 fix these issues (that is the current stable version whereas FreeBSD's CUPS is at 1.2.0), or perhaps the 1.3svn branch? I am unsure where the current problems lay (on the CUPS side, on how it is installed in the FreeBSD environment, or on the FreeBSD environment itself). Earlier in this thread, the issues were primarily related with permissions (since, it was mentioned, CUPS is trying to run with a more reasonable set of permissions instead of via 'root'), but now they appear to be configuration specific. I am willing to try whatever is proposed to help the developers get past these issues.