Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2004 17:13:34 +0800
From:      Robert Storey <y2kbug@ms25.hinet.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: CUPS
Message-ID:  <20040417171334.07b6e023.y2kbug@ms25.hinet.net>
In-Reply-To: <A99A5AC30F74624388EE5F757BA58A20D7A2E2@RED-MSG-50.redmond.corp.microsoft.com>
References:  <407EAD79.30506@daleco.biz> <A99A5AC30F74624388EE5F757BA58A20D7A2E2@RED-MSG-50.redmond.corp.microsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Apr 2004 10:51:30 -0700
"Derrick Ryalls" <freebsd@fbsdsolutions.com> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500

All comments are welcome.

best regards,
Robert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040417171334.07b6e023.y2kbug>