From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 03:54:57 2004 Return-Path: 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 954DE16A4CE for ; Sat, 17 Apr 2004 03:54:57 -0700 (PDT) Received: from msr35.hinet.net (msr35.hinet.net [168.95.4.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FE7D43D49 for ; Sat, 17 Apr 2004 03:54:56 -0700 (PDT) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-7.dynamic.hinet.net [61.227.219.7]) by msr35.hinet.net (8.9.3/8.9.3) with SMTP id SAA16274 for ; Sat, 17 Apr 2004 18:54:53 +0800 (CST) Date: Sat, 17 Apr 2004 17:13:34 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040417171334.07b6e023.y2kbug@ms25.hinet.net> In-Reply-To: References: <407EAD79.30506@daleco.biz> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: CUPS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 10:54:57 -0000 On Thu, 15 Apr 2004 10:51:30 -0700 "Derrick Ryalls" wrote: > http://www.freebsddiary.org/cups.php > > I no longer use CUPS myself, but when I had it setup, I had to make sure the > system lp* files where chmod'ed to -x so that the CUPS version would be used > instead. The above link suggests moving /usr/local/bin before /usr/bin in > your path, but that just doesn't give me warm fuzzy feelings. Thanks for this suggestion, and thanks to the others who wrote back. Unfortunately, I still can't get any output from the printer, but a few interesting things have turned up. First off, I discovered that installing CUPS doesn't create /var/log/cups - you have to make that directory manually. OK, I did that, and now I have an error_log file, which has a few interesting lines of output: I [16/Apr/2004:15:55:35 +0800] Adding start banner page "none" to job 5. I [16/Apr/2004:15:55:35 +0800] Adding end banner page "none" to job 5. I [16/Apr/2004:15:55:35 +0800] Job 5 queued on 'Epson' by ''. E [16/Apr/2004:15:55:35 +0800] Unable to convert file 0 to printable format for job 5! I [16/Apr/2004:15:55:35 +0800] Hint: Do you have ESP Ghostscript installed? I [16/Apr/2004:15:55:35 +0800] Hint: Try setting the LogLevel to "debug". I [16/Apr/2004:17:24:11 +0800] Listening to 0:631 I [16/Apr/2004:17:24:11 +0800] Loaded configuration file "/usr/local/etc/cups/cu : I'm interested in the line that says: "Hint: Do you have ESP Ghostscript installed?" Well, I do have Ghostscript-gnu installed, which should be crucial (it has all gimp-print, which has all the printer drivers). I also installed cups-base and cups-lpr - I can't see anything else that needs to be installed. Everything looks like it should work, and netstat seems to agree that port 631 is ready and waiting: bob@sonic:~> netstat -an | more Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 *.631 *.* LISTEN tcp4 0 0 127.0.0.1.25 *.* LISTEN tcp4 0 0 *.22 *.* LISTEN tcp6 0 0 *.22 *.* LISTEN The one thing I see that has me confused - ifconfig now reports the existence of a plip0 device - is that correct? Could that be causing a conflict? After all, the printer is connected on my parallel port: bob@sonic:~> ifconfig vr0: flags=8843 mtu 1500 inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::20c:6eff:fe0a:ca02%vr0 prefixlen 64 scopeid 0x1 ether 00:0c:6e:0a:ca:02 media: Ethernet autoselect (none) status: no carrier plip0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 ppp0: flags=8010 mtu 1500 All comments are welcome. best regards, Robert