Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gentoo rebuild, cups won't work
Date: Sat, 02 Feb 2008 18:31:30
Message-Id: 9acccfe50802021031p6390fc11y3e484244a80be477@mail.gmail.com
In Reply to: Re: [gentoo-user] gentoo rebuild, cups won't work by Kevin O'Gorman
1 On Feb 2, 2008 10:18 AM, Kevin O'Gorman <kogorman@×××××.com> wrote:
2
3 > On Feb 1, 2008 2:26 AM, Dale <dalek1967@×××××××××.net> wrote:
4 >
5 > > Dave Jones wrote:
6 > > > Hi Kevin
7 > > >
8 > > > Kevin O'Gorman wrote on 27/01/08 19:58:
9 > > >
10 > > >> I've installed cups and hplip. I cannot follow the Gentoo printing
11 > > >> guide, because that worthy document requires me to add hplip to the
12 > > >> default runlevel, but hplip does not put anything in /etc/init.d. My
13 > > >> printer is an old HP Laserjet 4M, which I usually run as a Postscrpt
14 > > >> printer.
15 > > >>
16 > > >
17 > > >
18 > > >> What have I missed?
19 > > >>
20 > > >
21 > > > Run hp-setup
22 > > >
23 > > > You'll probably need to rework your cups config files if you've
24 > > retained
25 > > > them from the broken install. hp-setup should enable local printing
26 > > OK.
27 > > >
28 > > > /etc/init.d/hplip is no longer necessary with recent hplip ebuilds.
29 > > >
30 > > > Cheers, Dave
31 > > >
32 > >
33 > > And if it still gives you problems, delete /etc/cups then reemerge
34 > > cups. I had to do that last part too.
35 > >
36 > > Dale
37 > >
38 >
39 > The problem is that my printer is on the LPT port (/dev/lp0), and hp-setup
40 > does
41 > not find it. In fact it has an option for LPT printers, but it is greyed
42 > out.
43 >
44 > The printer is really there: I can print by "cat printme >/dev/lp0" with a
45 > suitably formed "printme" file (lines need CR, file ends with ^L^D).
46 >
47 > ++ kevin
48
49
50 Hmmm. Digging slightly deeper, I found the /usr/bin/hp-probe program. It
51 lets me
52 specifically request a probe of LPT, but finds nothing there. The printer
53 remains
54 attached. I'm even more deeply stumped than before.
55
56 ++ kevin
57
58
59
60 --
61 Kevin O'Gorman, PhD

Replies

Subject Author
Re: [gentoo-user] gentoo rebuild, cups won't work Dave Jones <Dave.Jones@××××××.nl>