--- "Manuel A. McLure" <[EMAIL PROTECTED]> wrote:
> On Monday 23 January 2006 07:20 pm, maxim wexler > wrote: > > This time the printer whirred to life printed the > > first line of text across the very top of the > paper > > then quit with the orange error light blinking. > BTW, > > this is a DeskJet 612C using the hpijs driver. > > What I expect is happening is that the text file has > only linefeeds (\n or > ASCII 0x0a) instead of carriage return/linefeed > (\r\n or ASCII 0x0d 0x0a) so > the head is never getting the command to go back to > the start of the line and > the line length "overflows." This is one reason why > "raw printing" can be a > problem. What you really want is a queue that merely > replaces \n with \r\n > instead of a true raw queue. CUPS does not seem to > provide this, instead > preferring to convert to postscript and then to > raster. Personally I don't > see this as a problem, but your needs are probably > different than mine. > > 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. > > -- > 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 > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list