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.

Sounds like cups wasn't started - does "/etc/init.d/cups restart" show any 
errors?

The command line to unix2dos may need to be

  unix2dos <environment | lpr -l

or

  cat environment | unix2dos | lpr -l

-- 
Manuel A. McLure KE6TAW <[EMAIL PROTECTED]> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list

Reply via email to