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

-- 
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