y2kbug at ms25.hinet.net
Sat Apr 17 03:54:57 PDT 2004
On Thu, 15 Apr 2004 10:51:30 -0700
"Derrick Ryalls" <freebsd at fbsdsolutions.com> wrote:
> 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
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 at 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 at 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
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.
More information about the freebsd-questions