[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dot matrix printer unicode question

On Fri, Jul 31, 2009 at 04:22:51PM -0400, Jude DaShiell wrote:
> Could unicode be the reason my Panasonic KX-p1123 printer prints garbage  
> on sveral pages when I try printing out a 13 line long text file on Linux 
> and that same file gets printed perfectly when done with a real dos  
> computer?  

You are very unclear what you mean by "real dos computer".

Are you doing:

debian $ cat somefile.txt |lpr

dos>     cat somefile.txt > PRT:

or used some DOS full screen application to print via menu dialog.

(I forgot DOS device name for parport.)

> I have a printer queue set up which allows lpr and lp both to  
> print garbage last time a sighted person took a look dollar signs 
> question marks and very long lines of text were being printed.  

If you are using DOS full screen application to print via menu dialog,
text is processed to fit to printer protocol by your DOS application.

If you did not configure lpr right, data is directly sent to printer.
UTF-8 character makes this situation worse because printer assumes asii
with some escape sequence as expected input.  

I recommend you to use CUPS which set up printer eaily.  If you have
problem with some UTF-8 chracters, you need to convert text with a2ps
etc. to ps file.

> This is a grocery list with one item per line.

Please read following and CUPS documentation for more:



Reply to: