PC Review


Reply
Thread Tools Rate Thread

Changing the character set of an Epson LX-300+

 
 
kyuuketsuki@linuxmail.org
Guest
Posts: n/a
 
      20th Oct 2005
I got a Dot matrix Epson LX-300+ which default character set is
American ASCII. However, I need to print text in French on it, coded in
Latin1 ( ISO 8859-1 ). The manual of this printer is very poor about
technical informations. However, it clearly states that this Epson
supports Latin1 character set. The 2 pages control code section lets me
know that this printer supports IBM 2380 Plus emulation, and the
instruction ESC [ T

Therefore, I tried to set character set by feeding IBM control code to
the printer:
ESC [ T 4 0 0 0 n1 n2 where n1 and n2 was set to french charset

I sent the control code by this way on command line:
printf "\x1B\x5B\x54\x04\x00\x00\x00\x21\x8F" > /dev/lp0
The printer output this:
T!A0 ( en fait, ça n'est pas un 0 mais un teta grec )
And if I feed after Latin1 encoded text, it still prints in american
ASCII

I tried some variations I found on the web with less 0..
printf "\x1B\x5B\x54\x04\x21\x8F" > /dev/lp0
printf "\x1B\x5B\x54\x04\x00\x21\x8F" > /dev/lp0
printf "\x1B\x5B\x54\x04\x00\x00\x21\x8F" > /dev/lp0
printf "\x1B\x5B\x54\x04\x00\x00\x00\x21\x8F" > /dev/lp0
Still, printer outputs garbage after this command, and still is in
ASCII

I tried many many other charsets codes ( the last 2 bytes ) and I even
tried with \x1B\x58\x54 since I found a website having that wrong hexa
form of the control code. But it doesn't work.
For those who would wonder on the method of feeding the codes to the
printer, it works perfectly with epson control codes and the printer
obeys any Epson command fed by "printf > /dev/lp0"

I wonder if there is not some control code to send to switch the
printer in IBM proprinter emulation mode, but I cannot lay my hand on
it.
Does anyone have an idea what I could try to activate ISO-8859-1
charset?
I really lack an exhaustive reference of all the Epson and IBM
proprinter control codes. If you have a link, please let me know.

Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion for changing one character using VBA Brad Microsoft Excel Programming 2 3rd Jun 2008 02:14 PM
Changing a space to a character Jay Weston Microsoft C# .NET 4 12th Dec 2005 01:38 PM
Changing character size in IE. How? Fred Freeware 3 14th Jan 2005 12:25 PM
changing the character set =?Utf-8?B?aWxveg==?= Microsoft Outlook Discussion 0 21st Sep 2004 08:13 PM
Changing Character Entered Ricky W. Hunt Microsoft VB .NET 4 8th Jul 2004 01:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:14 PM.