--- Manuel McLure <[EMAIL PROTECTED]> wrote:
> On Sunday 29 January 2006 10:54, maxim wexler wrote: > > > > One option to solve this is to emerge unix2dos > and > > > use the following command > > > line: > > > > > > unix2dos filetoprint.txt | lp -l > > > > After removing and re-installing cups and > installing > > unix2dos got this: > > > > [EMAIL PROTECTED] ~ $ unix2dos environment | lpr -l > > unix2dos: converting file environment to DOS > format > > ... > > unix2dos: problems converting file environment > > lpr: error - scheduler not responding! > > > > I was sure it was because I had neglected to go to > > localhost631 first but > > trying to open the page in firefox got "connection > > refused" error. > > > > Only thing that comes to mind is that when I did > > emerge -pv cups it said some file(can't recall > which) > > was being blocked by xpdf which I don't use so I > > removed it and cups went in OK. Long shot. After a reboot was able to log on to localhost631 -- one down ? to go > > Sounds like cups wasn't started - does > "/etc/init.d/cups restart" show any > errors? No, it started alright. > > The command line to unix2dos may need to be > > unix2dos <environment | lpr -l > > or > > cat environment | unix2dos | lpr -l > Same response, the printer makes some noise and the trouble light starts to blink. Then silence. This time nothing at all is printed. Nothing in the log: I [30/Jan/2006:14:45:15 -0700] Adding start banner page "none" to job 22. I [30/Jan/2006:14:45:15 -0700] Adding end banner page "none" to job 22. I [30/Jan/2006:14:45:15 -0700] Job 22 queued on 'deskjet' by 'heathen'. I [30/Jan/2006:14:45:15 -0700] Started backend /usr/lib/cups/backend/parallel (PID 5844) for job 22. and for a test page: sarawak heathen # tail /var/log/cups/error* I [30/Jan/2006:14:52:27 -0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=5866) I [30/Jan/2006:14:52:31 -0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=5867) I [30/Jan/2006:14:52:31 -0700] Adding start banner page "none" to job 23. I [30/Jan/2006:14:52:31 -0700] Adding end banner page "none" to job 23. I [30/Jan/2006:14:52:31 -0700] Job 23 queued on 'deskjet' by 'root'. I [30/Jan/2006:14:52:31 -0700] Started filter /usr/lib/cups/filter/pstops (PID 5868) for job 23. I [30/Jan/2006:14:52:31 -0700] Started filter /usr/lib/cups/filter/foomatic-rip (PID 5869) for job 23. I [30/Jan/2006:14:52:31 -0700] Started backend /usr/lib/cups/backend/parallel (PID 5870) for job 23. E [30/Jan/2006:14:52:31 -0700] PID 5869 stopped with status 3! I [30/Jan/2006:14:52:31 -0700] Hint: Try setting the LogLevel to "debug" to find out more. ditto, nothing prints Oh, and changing debug level in cupsd.conf doesn't have any effect. I saved the file; do I have to logout and in again? To be cont'd... -max __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list