How do you print accented characters on an Epson FX-890 printer and retain the printer control sequences?

397 Views Asked by At

I have a text document created by a C# program that has accented Spanish characters in it ("ñ", for example), as well as printer control characters. I am trying to print the document to an Epson FX-890 printer (we must use a tractor feed printer as we need to create multi-copy documents due to government regulations in the countries these files will be printed in). In my text editor (I'm using EditPlus) the character shows properly with character code F1. If I print directly from my text editor the character shows properly, but my printer control characters are also simply printed, not acted upon. If I copy the file to the printer (from a cmd window (Windows 10)) the printer control characters are acted upon, but the "ñ" shows as plus over minus in one character set (chosen with the printer control characters), or an italicized "q" in the only available other character set.

So, I'm looking for ideas on how to resolve this issue and have the printer control characters acted upon and the accented characters print properly. Here is the initial control string I am sending ("[esc]" being the x1B escape code):

[esc]@ - Resets printer

[esc]x1 - Print quality NLQ

[esc]p0 - Italics Off

[esc]5 - Pitch 12

[esc]M - 6 Lines per inch

[esc]2 - Carriage return

0

There are 0 best solutions below