Star LC24-20II

From FVue

Jump to: navigation, search

Contents

Problem

Can't get my Star LC24-20II matrix printer working on full speed. It prints every line twice and waits one second before printing the next line?

Solution

Found a manual on http://www.star-micronics.co.jp/eng/dl/dl01_02.htm which tells in Standard/Epson mode, the printer operates like the Epson LQ-860/850, but still the same slow behaviour in Linux. But the Star can also operate in IBM mode like the IBM Proprinter X24E/24P,PS/1.

Right now I'm satisfied using the `lp' command family to send a raw document to the printer, utilizing the matrix printer's full speed:

lpr -l
lpstat
cancel

To format a text document:

   # 66 lines fit on a 12" paper
   # 64 lines fit on an A4 paper
recode utf-8..ibm-pc..ibm437 < foo.txt | fmt -w 80 -s | pr -o 8 -f -l 64 -t | lpr -l

Journal

20080820

I receive the error:

recode: Ambiguous output in step `UTF-8..ISO-10646-UCS-2'

This is caused by the input file containing input character `ellipsis' (… or &#2026;). This character isn't available in ASCII or the IBM437 character set so recode errors. Solution is to use iconv which does a better job of 'downgrading' UTF-8 to ASCII: ellipsis is converted to three dots by specifying the //TRANSLIT option:

 iconv foo.txt -f utf-8 -t ibm437//translit

20090601

http://www.linuxprinting.org/show_printer.cgi?recnum=Star-LC24_20
Says recommended driver is lq850
Personal tools
Google