Gentoo Archives: gentoo-user

From: maxim wexler <blissfix@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CUPS -- fails better!
Date: Mon, 30 Jan 2006 22:09:15
Message-Id: 20060130220032.62394.qmail@web31710.mail.mud.yahoo.com
In Reply to: Re: [gentoo-user] CUPS -- fails better! by Manuel McLure
1 --- Manuel McLure <manuel@××××××.org> wrote:
2
3 > On Sunday 29 January 2006 10:54, maxim wexler wrote:
4 >
5 > > > One option to solve this is to emerge unix2dos
6 > and
7 > > > use the following command
8 > > > line:
9 > > >
10 > > > unix2dos filetoprint.txt | lp -l
11 > >
12 > > After removing and re-installing cups and
13 > installing
14 > > unix2dos got this:
15 > >
16 > > heathen@sarawak ~ $ unix2dos environment | lpr -l
17 > > unix2dos: converting file environment to DOS
18 > format
19 > > ...
20 > > unix2dos: problems converting file environment
21 > > lpr: error - scheduler not responding!
22 > >
23 > > I was sure it was because I had neglected to go to
24 > > localhost631 first but
25 > > trying to open the page in firefox got "connection
26 > > refused" error.
27 > >
28 > > Only thing that comes to mind is that when I did
29 > > emerge -pv cups it said some file(can't recall
30 > which)
31 > > was being blocked by xpdf which I don't use so I
32 > > removed it and cups went in OK. Long shot.
33
34 After a reboot was able to log on to localhost631 --
35 one down ? to go
36
37 >
38 > Sounds like cups wasn't started - does
39 > "/etc/init.d/cups restart" show any
40 > errors?
41
42 No, it started alright.
43
44 >
45 > The command line to unix2dos may need to be
46 >
47 > unix2dos <environment | lpr -l
48 >
49 > or
50 >
51 > cat environment | unix2dos | lpr -l
52 >
53 Same response, the printer makes some noise and the
54 trouble light starts to blink. Then silence. This time
55 nothing at all is printed.
56
57 Nothing in the log:
58
59 I [30/Jan/2006:14:45:15 -0700] Adding start banner
60 page "none" to job 22.
61 I [30/Jan/2006:14:45:15 -0700] Adding end banner page
62 "none" to job 22.
63 I [30/Jan/2006:14:45:15 -0700] Job 22 queued on
64 'deskjet' by 'heathen'.
65 I [30/Jan/2006:14:45:15 -0700] Started backend
66 /usr/lib/cups/backend/parallel (PID 5844) for job 22.
67
68 and for a test page:
69
70 sarawak heathen # tail /var/log/cups/error*
71 I [30/Jan/2006:14:52:27 -0700] Started
72 "/usr/lib/cups/cgi-bin/printers.cgi" (pid=5866)
73 I [30/Jan/2006:14:52:31 -0700] Started
74 "/usr/lib/cups/cgi-bin/printers.cgi" (pid=5867)
75 I [30/Jan/2006:14:52:31 -0700] Adding start banner
76 page "none" to job 23.
77 I [30/Jan/2006:14:52:31 -0700] Adding end banner page
78 "none" to job 23.
79 I [30/Jan/2006:14:52:31 -0700] Job 23 queued on
80 'deskjet' by 'root'.
81 I [30/Jan/2006:14:52:31 -0700] Started filter
82 /usr/lib/cups/filter/pstops (PID 5868) for job 23.
83 I [30/Jan/2006:14:52:31 -0700] Started filter
84 /usr/lib/cups/filter/foomatic-rip (PID 5869) for job
85 23.
86 I [30/Jan/2006:14:52:31 -0700] Started backend
87 /usr/lib/cups/backend/parallel (PID 5870) for job 23.
88 E [30/Jan/2006:14:52:31 -0700] PID 5869 stopped with
89 status 3!
90 I [30/Jan/2006:14:52:31 -0700] Hint: Try setting the
91 LogLevel to "debug" to find out more.
92
93 ditto, nothing prints
94
95 Oh, and changing debug level in cupsd.conf doesn't
96 have any effect. I saved the file; do I have to logout
97 and in again?
98
99 To be cont'd...
100
101 -max
102
103 __________________________________________________
104 Do You Yahoo!?
105 Tired of spam? Yahoo! Mail has the best spam protection around
106 http://mail.yahoo.com
107 --
108 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: CUPS -- fails better! Mick <michaelkintzios@××××××××.uk>
Re: [gentoo-user] CUPS -- fails better! Willie Wong <wwong@×××××××××.EDU>
[gentoo-user] Re: CUPS -- fails better! Harm Geerts <harmgeerts@××××.nl>